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
723 aros_target_nostdinc_cflags
724 aros_target_nostartup_ldflags
725 aros_target_nix_ldflags
726 aros_target_detach_ldflags
727 aros_target_nostdlib_ldflags
757 aros_target_cc_includes
778 aros_target_strip_flags
785 aros_default_wbheight
792 aros_nesting_supervisor
802 ignore_undefined_symbols
806 ac_precious_vars
='build_alias
818 # Initialize some variables set by options.
820 ac_init_version
=false
821 # The variables have the same names as the options, with
822 # dashes changed to underlines.
830 program_transform_name
=s
,x
,x
,
838 # Installation directory options.
839 # These are left unexpanded so users can "make install exec_prefix=/foo"
840 # and all the variables that are supposed to be based on exec_prefix
841 # by default will actually change.
842 # Use braces instead of parens because sh, perl, etc. also accept them.
843 # (The list follows the same order as the GNU Coding Standards.)
844 bindir
='${exec_prefix}/bin'
845 sbindir
='${exec_prefix}/sbin'
846 libexecdir
='${exec_prefix}/libexec'
847 datarootdir
='${prefix}/share'
848 datadir
='${datarootdir}'
849 sysconfdir
='${prefix}/etc'
850 sharedstatedir
='${prefix}/com'
851 localstatedir
='${prefix}/var'
852 includedir
='${prefix}/include'
853 oldincludedir
='/usr/include'
854 docdir
='${datarootdir}/doc/${PACKAGE}'
855 infodir
='${datarootdir}/info'
860 libdir
='${exec_prefix}/lib'
861 localedir
='${datarootdir}/locale'
862 mandir
='${datarootdir}/man'
868 # If the previous option needs an argument, assign it.
869 if test -n "$ac_prev"; then
870 eval $ac_prev=\
$ac_option
876 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
880 # Accept the important Cygnus configure options, so we can diagnose typos.
882 case $ac_dashdash$ac_option in
886 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
888 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
891 -build |
--build |
--buil |
--bui |
--bu)
892 ac_prev
=build_alias
;;
893 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
894 build_alias
=$ac_optarg ;;
896 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
897 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
898 ac_prev
=cache_file
;;
899 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
900 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
901 cache_file
=$ac_optarg ;;
904 cache_file
=config.cache
;;
906 -datadir |
--datadir |
--datadi |
--datad)
908 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
909 datadir
=$ac_optarg ;;
911 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
912 |
--dataroo |
--dataro |
--datar)
913 ac_prev
=datarootdir
;;
914 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
915 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
916 datarootdir
=$ac_optarg ;;
918 -disable-* |
--disable-*)
919 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
920 # Reject names that are not valid shell variable names.
921 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
922 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
923 { (exit 1); exit 1; }; }
924 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
925 eval enable_
$ac_feature=no
;;
927 -docdir |
--docdir |
--docdi |
--doc |
--do)
929 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
932 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
934 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
937 -enable-* |
--enable-*)
938 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
939 # Reject names that are not valid shell variable names.
940 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
941 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
942 { (exit 1); exit 1; }; }
943 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
944 eval enable_
$ac_feature=\
$ac_optarg ;;
946 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
947 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
948 |
--exec |
--exe |
--ex)
949 ac_prev
=exec_prefix
;;
950 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
951 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
952 |
--exec=* |
--exe=* |
--ex=*)
953 exec_prefix
=$ac_optarg ;;
955 -gas |
--gas |
--ga |
--g)
956 # Obsolete; use --with-gas.
959 -help |
--help |
--hel |
--he |
-h)
961 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
962 ac_init_help
=recursive
;;
963 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
964 ac_init_help
=short
;;
966 -host |
--host |
--hos |
--ho)
967 ac_prev
=host_alias
;;
968 -host=* |
--host=* |
--hos=* |
--ho=*)
969 host_alias
=$ac_optarg ;;
971 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
973 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
975 htmldir
=$ac_optarg ;;
977 -includedir |
--includedir |
--includedi |
--included |
--include \
978 |
--includ |
--inclu |
--incl |
--inc)
979 ac_prev
=includedir
;;
980 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
981 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
982 includedir
=$ac_optarg ;;
984 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
986 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
987 infodir
=$ac_optarg ;;
989 -libdir |
--libdir |
--libdi |
--libd)
991 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
994 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
995 |
--libexe |
--libex |
--libe)
996 ac_prev
=libexecdir
;;
997 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
998 |
--libexe=* |
--libex=* |
--libe=*)
999 libexecdir
=$ac_optarg ;;
1001 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1002 ac_prev
=localedir
;;
1003 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1004 localedir
=$ac_optarg ;;
1006 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1007 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1008 ac_prev
=localstatedir
;;
1009 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1010 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1011 localstatedir
=$ac_optarg ;;
1013 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1015 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1016 mandir
=$ac_optarg ;;
1018 -nfp |
--nfp |
--nf)
1019 # Obsolete; use --without-fp.
1022 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1023 |
--no-cr |
--no-c |
-n)
1026 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1027 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1030 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1031 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1032 |
--oldin |
--oldi |
--old |
--ol |
--o)
1033 ac_prev
=oldincludedir
;;
1034 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1035 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1036 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1037 oldincludedir
=$ac_optarg ;;
1039 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1041 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1042 prefix
=$ac_optarg ;;
1044 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1045 |
--program-pre |
--program-pr |
--program-p)
1046 ac_prev
=program_prefix
;;
1047 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1048 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1049 program_prefix
=$ac_optarg ;;
1051 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1052 |
--program-suf |
--program-su |
--program-s)
1053 ac_prev
=program_suffix
;;
1054 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1055 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1056 program_suffix
=$ac_optarg ;;
1058 -program-transform-name |
--program-transform-name \
1059 |
--program-transform-nam |
--program-transform-na \
1060 |
--program-transform-n |
--program-transform- \
1061 |
--program-transform |
--program-transfor \
1062 |
--program-transfo |
--program-transf \
1063 |
--program-trans |
--program-tran \
1064 |
--progr-tra |
--program-tr |
--program-t)
1065 ac_prev
=program_transform_name
;;
1066 -program-transform-name=* |
--program-transform-name=* \
1067 |
--program-transform-nam=* |
--program-transform-na=* \
1068 |
--program-transform-n=* |
--program-transform-=* \
1069 |
--program-transform=* |
--program-transfor=* \
1070 |
--program-transfo=* |
--program-transf=* \
1071 |
--program-trans=* |
--program-tran=* \
1072 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1073 program_transform_name
=$ac_optarg ;;
1075 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1077 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1078 pdfdir
=$ac_optarg ;;
1080 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1082 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1085 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1086 |
-silent |
--silent |
--silen |
--sile |
--sil)
1089 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1091 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1093 sbindir
=$ac_optarg ;;
1095 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1096 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1097 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1099 ac_prev
=sharedstatedir
;;
1100 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1101 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1102 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1104 sharedstatedir
=$ac_optarg ;;
1106 -site |
--site |
--sit)
1108 -site=* |
--site=* |
--sit=*)
1111 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1113 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1114 srcdir
=$ac_optarg ;;
1116 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1117 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1118 ac_prev
=sysconfdir
;;
1119 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1120 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1121 sysconfdir
=$ac_optarg ;;
1123 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1124 ac_prev
=target_alias
;;
1125 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1126 target_alias
=$ac_optarg ;;
1128 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1131 -version |
--version |
--versio |
--versi |
--vers |
-V)
1132 ac_init_version
=: ;;
1135 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1136 # Reject names that are not valid shell variable names.
1137 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1138 { echo "$as_me: error: invalid package name: $ac_package" >&2
1139 { (exit 1); exit 1; }; }
1140 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1141 eval with_
$ac_package=\
$ac_optarg ;;
1143 -without-* |
--without-*)
1144 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1145 # Reject names that are not valid shell variable names.
1146 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1147 { echo "$as_me: error: invalid package name: $ac_package" >&2
1148 { (exit 1); exit 1; }; }
1149 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1150 eval with_
$ac_package=no
;;
1153 # Obsolete; use --with-x.
1156 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1157 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1158 ac_prev
=x_includes
;;
1159 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1160 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1161 x_includes
=$ac_optarg ;;
1163 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1164 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1165 ac_prev
=x_libraries
;;
1166 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1167 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1168 x_libraries
=$ac_optarg ;;
1170 -*) { echo "$as_me: error: unrecognized option: $ac_option
1171 Try \`$0 --help' for more information." >&2
1172 { (exit 1); exit 1; }; }
1176 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1179 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1180 { (exit 1); exit 1; }; }
1181 eval $ac_envvar=\
$ac_optarg
1182 export $ac_envvar ;;
1185 # FIXME: should be removed in autoconf 3.0.
1186 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1187 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1188 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1189 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1195 if test -n "$ac_prev"; then
1196 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1197 { echo "$as_me: error: missing argument to $ac_option" >&2
1198 { (exit 1); exit 1; }; }
1201 # Be sure to have absolute directory names.
1202 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1203 datadir sysconfdir sharedstatedir localstatedir includedir \
1204 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1205 libdir localedir mandir
1207 eval ac_val
=\$
$ac_var
1209 [\\/$
]* | ?
:[\\/]* ) continue;;
1210 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1212 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1213 { (exit 1); exit 1; }; }
1216 # There might be people who depend on the old broken behavior: `$host'
1217 # used to hold the argument of --host etc.
1218 # FIXME: To remove some day.
1221 target
=$target_alias
1223 # FIXME: To remove some day.
1224 if test "x$host_alias" != x
; then
1225 if test "x$build_alias" = x
; then
1226 cross_compiling
=maybe
1227 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1228 If a cross compiler is detected then cross compile mode will be used." >&2
1229 elif test "x$build_alias" != "x$host_alias"; then
1235 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1237 test "$silent" = yes && exec 6>/dev
/null
1240 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1241 ac_ls_di
=`ls -di .` &&
1242 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1243 { echo "$as_me: error: Working directory cannot be determined" >&2
1244 { (exit 1); exit 1; }; }
1245 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1246 { echo "$as_me: error: pwd does not report name of working directory" >&2
1247 { (exit 1); exit 1; }; }
1250 # Find the source files, if location was not specified.
1251 if test -z "$srcdir"; then
1252 ac_srcdir_defaulted
=yes
1253 # Try the directory containing this script, then the parent directory.
1254 ac_confdir
=`$as_dirname -- "$0" ||
1255 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1256 X"$0" : 'X\(//\)[^/]' \| \
1257 X"$0" : 'X\(//\)$' \| \
1258 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1260 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1278 if test ! -r "$srcdir/$ac_unique_file"; then
1282 ac_srcdir_defaulted
=no
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1285 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1286 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1287 { (exit 1); exit 1; }; }
1289 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1291 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1292 { (exit 1); exit 1; }; }
1294 # When building in place, set srcdir=.
1295 if test "$ac_abs_confdir" = "$ac_pwd"; then
1298 # Remove unnecessary trailing slashes from srcdir.
1299 # Double slashes in file names in object file debugging info
1300 # mess up M-x gdb in Emacs.
1302 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1304 for ac_var
in $ac_precious_vars; do
1305 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1306 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1307 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1308 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1312 # Report the --help message.
1314 if test "$ac_init_help" = "long"; then
1315 # Omit some internal or obsolete options to make the list less imposing.
1316 # This message is too long to be a string in the A/UX 3.1 sh.
1318 \`configure' configures this package to adapt to many kinds of systems.
1320 Usage: $0 [OPTION]... [VAR=VALUE]...
1322 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1323 VAR=VALUE. See below for descriptions of some of the useful variables.
1325 Defaults for the options are specified in brackets.
1328 -h, --help display this help and exit
1329 --help=short display options specific to this package
1330 --help=recursive display the short help of all the included packages
1331 -V, --version display version information and exit
1332 -q, --quiet, --silent do not print \`checking...' messages
1333 --cache-file=FILE cache test results in FILE [disabled]
1334 -C, --config-cache alias for \`--cache-file=config.cache'
1335 -n, --no-create do not create output files
1336 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1338 Installation directories:
1339 --prefix=PREFIX install architecture-independent files in PREFIX
1340 [$ac_default_prefix]
1341 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1344 By default, \`make install' will install all the files in
1345 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1346 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1347 for instance \`--prefix=\$HOME'.
1349 For better control, use the options below.
1351 Fine tuning of the installation directories:
1352 --bindir=DIR user executables [EPREFIX/bin]
1353 --sbindir=DIR system admin executables [EPREFIX/sbin]
1354 --libexecdir=DIR program executables [EPREFIX/libexec]
1355 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1356 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1357 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1358 --libdir=DIR object code libraries [EPREFIX/lib]
1359 --includedir=DIR C header files [PREFIX/include]
1360 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1361 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1362 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1363 --infodir=DIR info documentation [DATAROOTDIR/info]
1364 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1365 --mandir=DIR man documentation [DATAROOTDIR/man]
1366 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1367 --htmldir=DIR html documentation [DOCDIR]
1368 --dvidir=DIR dvi documentation [DOCDIR]
1369 --pdfdir=DIR pdf documentation [DOCDIR]
1370 --psdir=DIR ps documentation [DOCDIR]
1376 --x-includes=DIR X include files are
in DIR
1377 --x-libraries=DIR X library files are
in DIR
1380 --build=BUILD configure
for building on BUILD
[guessed
]
1381 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1385 if test -n "$ac_init_help"; then
1390 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1391 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1392 --enable-build-type=TYPE
1393 Select the build
type. Available types are
:
1394 personal
, nightly
, snapshot
, milestone
, release. Do
1395 NOT use this option unless you know what you are
1396 doing
! (default
=personal
)
1397 --enable-debug=list Enable different types of debug. Commas or
1398 whitespaces can be used to separate the items
in the
1399 list. Available types of debug are
: all
, none
,
1400 messages
, stack
, mungwall
, modules
, symbols. If no
1401 list is provided
then "all" is assumed.
1403 --enable-distcc Use distcc as a front end to the compiler
1405 --enable-ccache Use ccache as a front end to the compiler
1407 --enable-target-variant=NAME
1408 Enable a specific target variant
(default
=none
)
1409 --enable-includes=dir Alternative system include directory
1410 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1412 --enable-palm-debug-hack
1413 Enable palm debug output hack
in palm native
1415 --enable-nesting-supervisor
1416 Enable nesting supervisor support
in unix
1418 --enable-xshm-extension Enable X11 MIT-SHM extension
(default
=yes)
1419 --enable-vidmode-extension
1420 Enable X11 vidmode extension
(default
=yes)
1421 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1424 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1425 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1426 --with-x use the X Window System
1427 --with-optimization=FLAGS
1428 Use optimization flags FLAGS
(default
=-O2).
1429 --with-resolution=XRESxYRESxDEPTH
1430 Default resolution of the initial WorkbenchScreen
1431 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1433 Some influential environment variables
:
1434 CC C compiler
command
1435 CFLAGS C compiler flags
1436 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1437 nonstandard directory
<lib dir
>
1438 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1439 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1440 you have headers
in a nonstandard directory
<include dir
>
1442 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1444 Use these variables to override the choices made by
`configure' or to help
1445 it to find libraries and programs with nonstandard names/locations.
1451 if test "$ac_init_help" = "recursive"; then
1452 # If there are subdirs, report their specific --help.
1453 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1454 test -d "$ac_dir" || continue
1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1461 # A ".." for each directory in $ac_dir_suffix.
1462 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1463 case $ac_top_builddir_sub in
1464 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1465 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1468 ac_abs_top_builddir=$ac_pwd
1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1470 # for backward compatibility:
1471 ac_top_builddir=$ac_top_build_prefix
1474 .) # We are building in place.
1476 ac_top_srcdir=$ac_top_builddir_sub
1477 ac_abs_top_srcdir=$ac_pwd ;;
1478 [\\/]* | ?:[\\/]* ) # Absolute name.
1479 ac_srcdir=$srcdir$ac_dir_suffix;
1480 ac_top_srcdir=$srcdir
1481 ac_abs_top_srcdir=$srcdir ;;
1483 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1484 ac_top_srcdir=$ac_top_build_prefix$srcdir
1485 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1489 cd "$ac_dir" || { ac_status=$?; continue; }
1490 # Check for guested configure.
1491 if test -f "$ac_srcdir/configure.gnu"; then
1493 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1494 elif test -f "$ac_srcdir/configure"; then
1496 $SHELL "$ac_srcdir/configure" --help=recursive
1498 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1500 cd "$ac_pwd" || { ac_status=$?; break; }
1504 test -n "$ac_init_help" && exit $ac_status
1505 if $ac_init_version; then
1508 generated by GNU Autoconf 2.61
1510 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1511 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1512 This configure script is free software; the Free Software Foundation
1513 gives unlimited permission to copy, distribute and modify it.
1517 cat >config.log <<_ACEOF
1518 This file contains any messages produced by compilers while
1519 running configure, to aid debugging if configure makes a mistake.
1521 It was created by $as_me, which was
1522 generated by GNU Autoconf 2.61. Invocation command line was
1534 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1535 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1536 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1537 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1538 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1540 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1541 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1543 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1544 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1545 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1546 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1547 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1548 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1549 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1557 test -z "$as_dir" && as_dir=.
1558 echo "PATH: $as_dir"
1574 # Keep a trace of the command line.
1575 # Strip out --no-create and --no-recursion so they do not pile up.
1576 # Strip out --silent because we don't want to record it for future runs.
1577 # Also quote any args containing shell meta-characters.
1578 # Make two passes to allow for proper duplicate-argument suppression.
1582 ac_must_keep_next=false
1588 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1589 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1590 | -silent | --silent | --silen | --sile | --sil)
1593 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1596 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1598 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1599 if test $ac_must_keep_next = true; then
1600 ac_must_keep_next=false # Got value, back to normal.
1603 *=* | --config-cache | -C | -disable-* | --disable-* \
1604 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1605 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1606 | -with-* | --with-* | -without-* | --without-* | --x)
1607 case "$ac_configure_args0 " in
1608 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1611 -* ) ac_must_keep_next=true ;;
1614 ac_configure_args="$ac_configure_args '$ac_arg'"
1619 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1620 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1622 # When interrupted or exit'd, cleanup temporary files, and complete
1623 # config.log. We remove comments because anyway the quotes in there
1624 # would cause problems or look ugly.
1625 # WARNING: Use '\'' to represent an apostrophe within the trap.
1626 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1627 trap 'exit_status=$?
1628 # Save into config.log some information that might help in debugging.
1633 ## ---------------- ##
1634 ## Cache variables. ##
1635 ## ---------------- ##
1638 # The following way of writing the cache mishandles newlines in values,
1640 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1641 eval ac_val=\$$ac_var
1645 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1646 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1649 _ | IFS | as_nl) ;; #(
1650 *) $as_unset $ac_var ;;
1655 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1656 *${as_nl}ac_space=\ *)
1658 "s/'\''/'\''\\\\'\'''\''/g;
1659 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1662 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1670 ## ----------------- ##
1671 ## Output variables. ##
1672 ## ----------------- ##
1675 for ac_var in $ac_subst_vars
1677 eval ac_val=\$$ac_var
1679 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1681 echo "$ac_var='\''$ac_val'\''"
1685 if test -n "$ac_subst_files"; then
1687 ## ------------------- ##
1688 ## File substitutions. ##
1689 ## ------------------- ##
1692 for ac_var in $ac_subst_files
1694 eval ac_val=\$$ac_var
1696 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1698 echo "$ac_var='\''$ac_val'\''"
1703 if test -s confdefs.h; then
1713 test "$ac_signal" != 0 &&
1714 echo "$as_me: caught signal $ac_signal"
1715 echo "$as_me: exit $exit_status"
1717 rm -f core *.core core.conftest.* &&
1718 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1721 for ac_signal in 1 2 13 15; do
1722 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1726 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1727 rm -f -r conftest* confdefs.h
1729 # Predefined preprocessor variables.
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_NAME "$PACKAGE_NAME"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1741 cat >>confdefs.h <<_ACEOF
1742 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1746 cat >>confdefs.h <<_ACEOF
1747 #define PACKAGE_STRING "$PACKAGE_STRING"
1751 cat >>confdefs.h <<_ACEOF
1752 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1756 # Let the site file select an alternate cache file if it wants to.
1757 # Prefer explicitly selected file to automatically selected ones.
1758 if test -n "$CONFIG_SITE"; then
1759 set x "$CONFIG_SITE"
1760 elif test "x$prefix" != xNONE; then
1761 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1763 set x "$ac_default_prefix/share/config.site" \
1764 "$ac_default_prefix/etc/config.site"
1769 if test -r "$ac_site_file"; then
1770 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1771 echo "$as_me: loading site script $ac_site_file" >&6;}
1772 sed 's/^/| /' "$ac_site_file" >&5
1777 if test -r "$cache_file"; then
1778 # Some versions of bash will fail to source /dev/null (special
1779 # files actually), so we avoid doing that.
1780 if test -f "$cache_file"; then
1781 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1782 echo "$as_me: loading cache $cache_file" >&6;}
1784 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1785 *) . "./$cache_file";;
1789 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1790 echo "$as_me: creating cache $cache_file" >&6;}
1794 # Check that the precious variables saved in the cache have kept the same
1796 ac_cache_corrupted=false
1797 for ac_var in $ac_precious_vars; do
1798 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1799 eval ac_new_set=\$ac_env_${ac_var}_set
1800 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1801 eval ac_new_val=\$ac_env_${ac_var}_value
1802 case $ac_old_set,$ac_new_set in
1804 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1805 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1806 ac_cache_corrupted=: ;;
1808 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1809 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1810 ac_cache_corrupted=: ;;
1813 if test "x$ac_old_val" != "x$ac_new_val"; then
1814 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1815 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1816 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1817 echo "$as_me: former value
: $ac_old_val" >&2;}
1818 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1819 echo "$as_me: current value
: $ac_new_val" >&2;}
1820 ac_cache_corrupted=:
1823 # Pass precious variables to config.status.
1824 if test "$ac_new_set" = set; then
1826 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1827 *) ac_arg=$ac_var=$ac_new_val ;;
1829 case " $ac_configure_args " in
1830 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1831 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1835 if $ac_cache_corrupted; then
1836 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1837 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1838 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1839 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1840 { (exit 1); exit 1; }; }
1860 ac_cpp='$CPP $CPPFLAGS'
1861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1868 for ac_dir in scripts/autoconf "$srcdir"/scripts/autoconf; do
1869 if test -f "$ac_dir/install-sh"; then
1871 ac_install_sh="$ac_aux_dir/install-sh -c"
1873 elif test -f "$ac_dir/install.sh"; then
1875 ac_install_sh="$ac_aux_dir/install.sh -c"
1877 elif test -f "$ac_dir/shtool"; then
1879 ac_install_sh="$ac_aux_dir/shtool install -c"
1883 if test -z "$ac_aux_dir"; then
1884 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&5
1885 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf \"$srcdir\"/scripts/autoconf" >&2;}
1886 { (exit 1); exit 1; }; }
1889 # These three variables are undocumented and unsupported,
1890 # and are intended to be withdrawn in a future Autoconf release.
1891 # They can cause serious problems if a builder's source tree is in a directory
1892 # whose full name contains unusual characters.
1893 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1894 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1895 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1899 # Check what host we are running on.
1900 # If a target is not suggested, we use this one.
1901 # Note that what we call a target, Autoconf calls a host.
1902 # Make sure we can run config.sub.
1903 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1904 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1905 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1906 { (exit 1); exit 1; }; }
1908 { echo "$as_me:$LINENO: checking build system type" >&5
1909 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1910 if test "${ac_cv_build+set}" = set; then
1911 echo $ECHO_N "(cached) $ECHO_C" >&6
1913 ac_build_alias=$build_alias
1914 test "x$ac_build_alias" = x &&
1915 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1916 test "x$ac_build_alias" = x &&
1917 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1918 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1919 { (exit 1); exit 1; }; }
1920 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1921 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1922 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1923 { (exit 1); exit 1; }; }
1926 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1927 echo "${ECHO_T}$ac_cv_build" >&6; }
1928 case $ac_cv_build in
1930 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1931 echo "$as_me: error: invalid value of canonical build" >&2;}
1932 { (exit 1); exit 1; }; };;
1935 ac_save_IFS=$IFS; IFS='-'
1941 # Remember, the first character of IFS is used to create $*,
1942 # except with old shells:
1945 case $build_os in *\ *) build_os=`echo "$build_os" |
sed 's/ /-/g'`;; esac
1948 { echo "$as_me:$LINENO: checking host system type" >&5
1949 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1950 if test "${ac_cv_host+set}" = set; then
1951 echo $ECHO_N "(cached) $ECHO_C" >&6
1953 if test "x$host_alias" = x; then
1954 ac_cv_host=$ac_cv_build
1956 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1957 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1958 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1959 { (exit 1); exit 1; }; }
1963 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1964 echo "${ECHO_T}$ac_cv_host" >&6; }
1967 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1968 echo "$as_me: error: invalid value of canonical host" >&2;}
1969 { (exit 1); exit 1; }; };;
1972 ac_save_IFS=$IFS; IFS='-'
1978 # Remember, the first character of IFS is used to create $*,
1979 # except with old shells:
1982 case $host_os in *\ *) host_os=`echo "$host_os" |
sed 's/ /-/g'`;; esac
1986 # The AROS target is slightly different to the normal GNU style
1987 # format. We don't have the middle part, and we reverse the order
1988 # of the $(CPU) and $(OS) bits.
1990 # Don't strip the version of the target yet, it might be
1991 # useful on some systems.
1993 { echo "$as_me:$LINENO: checking for AROS style target" >&5
1994 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6; }
1996 if test "$target" = "NONE" ; then
1997 target=$host_os-$host_cpu
2000 if test "$target" = "" ; then
2001 target=$host_os-$host_cpu
2007 { echo "$as_me:$LINENO: result: $target" >&5
2008 echo "${ECHO_T}$target" >&6; }
2010 #don't know where else to put this...
2013 # Parse the target field into something useful.
2015 target_os=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2016 target_cpu=`echo $target |
sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2019 aros_default_wbwidth=800
2020 aros_default_wbheight=600
2021 aros_default_wbdepth=4
2024 # The first step is to find the host binaries.
2025 # Check for a compiler.
2027 ac_cpp='$CPP $CPPFLAGS'
2028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2031 if test -n "$ac_tool_prefix"; then
2032 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2033 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2036 if test "${ac_cv_prog_CC+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 if test -n "$CC"; then
2040 ac_cv_prog_CC="$CC" # Let the user override the test.
2042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 if test -n "$CC"; then
2061 { echo "$as_me:$LINENO: result: $CC" >&5
2062 echo "${ECHO_T}$CC" >&6; }
2064 { echo "$as_me:$LINENO: result: no" >&5
2065 echo "${ECHO_T}no" >&6; }
2070 if test -z "$ac_cv_prog_CC"; then
2072 # Extract the first word of "gcc", so it can be a program name with args.
2073 set dummy gcc; ac_word=$2
2074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2076 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2077 echo $ECHO_N "(cached) $ECHO_C" >&6
2079 if test -n "$ac_ct_CC"; then
2080 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2089 ac_cv_prog_ac_ct_CC="gcc"
2090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2099 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2100 if test -n "$ac_ct_CC"; then
2101 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2102 echo "${ECHO_T}$ac_ct_CC" >&6; }
2104 { echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6; }
2108 if test "x$ac_ct_CC" = x; then
2111 case $cross_compiling:$ac_tool_warned in
2113 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2114 whose name does not start with the host triplet. If you think this
2115 configuration is useful to you, please write to autoconf@gnu.org." >&5
2116 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2117 whose name does not start with the host triplet. If you think this
2118 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2119 ac_tool_warned=yes ;;
2127 if test -z "$CC"; then
2128 if test -n "$ac_tool_prefix"; then
2129 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2130 set dummy ${ac_tool_prefix}cc; ac_word=$2
2131 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2132 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2133 if test "${ac_cv_prog_CC+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 if test -n "$CC"; then
2137 ac_cv_prog_CC="$CC" # Let the user override the test.
2139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 test -z "$as_dir" && as_dir=.
2144 for ac_exec_ext in '' $ac_executable_extensions; do
2145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2146 ac_cv_prog_CC="${ac_tool_prefix}cc"
2147 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2157 if test -n "$CC"; then
2158 { echo "$as_me:$LINENO: result: $CC" >&5
2159 echo "${ECHO_T}$CC" >&6; }
2161 { echo "$as_me:$LINENO: result: no" >&5
2162 echo "${ECHO_T}no" >&6; }
2168 if test -z "$CC"; then
2169 # Extract the first word of "cc", so it can be a program name with args.
2170 set dummy cc; ac_word=$2
2171 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2172 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2173 if test "${ac_cv_prog_CC+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 if test -n "$CC"; then
2177 ac_cv_prog_CC="$CC" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2187 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2188 ac_prog_rejected=yes
2192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2199 if test $ac_prog_rejected = yes; then
2200 # We found a bogon in the path, so make sure we never use it.
2201 set dummy $ac_cv_prog_CC
2203 if test $# != 0; then
2204 # We chose a different compiler from the bogus one.
2205 # However, it has the same basename, so the bogon will be chosen
2206 # first if we set CC to just the basename; use the full file name.
2208 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2214 if test -n "$CC"; then
2215 { echo "$as_me:$LINENO: result: $CC" >&5
2216 echo "${ECHO_T}$CC" >&6; }
2218 { echo "$as_me:$LINENO: result: no" >&5
2219 echo "${ECHO_T}no" >&6; }
2224 if test -z "$CC"; then
2225 if test -n "$ac_tool_prefix"; then
2226 for ac_prog in cl.exe
2228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2232 if test "${ac_cv_prog_CC+set}" = set; then
2233 echo $ECHO_N "(cached) $ECHO_C" >&6
2235 if test -n "$CC"; then
2236 ac_cv_prog_CC="$CC" # Let the user override the test.
2238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2242 test -z "$as_dir" && as_dir=.
2243 for ac_exec_ext in '' $ac_executable_extensions; do
2244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2245 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2256 if test -n "$CC"; then
2257 { echo "$as_me:$LINENO: result: $CC" >&5
2258 echo "${ECHO_T}$CC" >&6; }
2260 { echo "$as_me:$LINENO: result: no" >&5
2261 echo "${ECHO_T}no" >&6; }
2265 test -n "$CC" && break
2268 if test -z "$CC"; then
2270 for ac_prog in cl.exe
2272 # Extract the first word of "$ac_prog", so it can be a program name with args.
2273 set dummy $ac_prog; ac_word=$2
2274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2276 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 if test -n "$ac_ct_CC"; then
2280 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2289 ac_cv_prog_ac_ct_CC="$ac_prog"
2290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2300 if test -n "$ac_ct_CC"; then
2301 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2302 echo "${ECHO_T}$ac_ct_CC" >&6; }
2304 { echo "$as_me:$LINENO: result: no" >&5
2305 echo "${ECHO_T}no" >&6; }
2309 test -n "$ac_ct_CC" && break
2312 if test "x$ac_ct_CC" = x; then
2315 case $cross_compiling:$ac_tool_warned in
2317 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2318 whose name does not start with the host triplet. If you think this
2319 configuration is useful to you, please write to autoconf@gnu.org." >&5
2320 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2321 whose name does not start with the host triplet. If you think this
2322 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2323 ac_tool_warned=yes ;;
2332 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2333 See \`config.log
' for more details." >&5
2334 echo "$as_me: error: no acceptable C compiler found in \$PATH
2335 See \`config.log' for more details.
" >&2;}
2336 { (exit 1); exit 1; }; }
2338 # Provide some information about the compiler.
2339 echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2340 ac_compiler=`set X $ac_compile; echo $2`
2341 { (ac_try="$ac_compiler --version >&5"
2343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2344 *) ac_try_echo=$ac_try;;
2346 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2347 (eval "$ac_compiler --version >&5") 2>&5
2349 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2350 (exit $ac_status); }
2351 { (ac_try="$ac_compiler -v >&5"
2353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2354 *) ac_try_echo=$ac_try;;
2356 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2357 (eval "$ac_compiler -v >&5") 2>&5
2359 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2360 (exit $ac_status); }
2361 { (ac_try="$ac_compiler -V >&5"
2363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2364 *) ac_try_echo=$ac_try;;
2366 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2367 (eval "$ac_compiler -V >&5") 2>&5
2369 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2370 (exit $ac_status); }
2372 cat >conftest.$ac_ext <<_ACEOF
2375 cat confdefs.h >>conftest.$ac_ext
2376 cat >>conftest.$ac_ext <<_ACEOF
2377 /* end confdefs.h. */
2387 ac_clean_files_save=$ac_clean_files
2388 ac_clean_files="$ac_clean_files a.out a.exe b.out
"
2389 # Try to create an executable without -o first, disregard a.out.
2390 # It will help us diagnose broken compilers, and finding out an intuition
2392 { echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2393 echo $ECHO_N "checking
for C compiler default output
file name...
$ECHO_C" >&6; }
2394 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2396 # List of possible output files, starting from the most likely.
2397 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2398 # only as a last resort. b.out is created by i960 compilers.
2399 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2401 # The IRIX 6 linker writes into existing files which may not be
2402 # executable, retaining their permissions. Remove them first so a
2403 # subsequent execution test works.
2405 for ac_file in $ac_files
2408 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2409 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2414 if { (ac_try="$ac_link_default"
2416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2417 *) ac_try_echo=$ac_try;;
2419 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2420 (eval "$ac_link_default") 2>&5
2422 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2423 (exit $ac_status); }; then
2424 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2425 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2426 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2427 # so that the user can short-circuit this test for compilers unknown to
2429 for ac_file in $ac_files ''
2431 test -f "$ac_file" || continue
2433 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2436 # We found the default executable, but exeext='' is most
2440 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2442 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2444 # We set ac_cv_exeext here because the later test for it is not
2445 # safe: cross compilers may not add the suffix if given an `-o'
2446 # argument, so we may need to know it at that point already.
2447 # Even if this section looks crufty: it has the advantage of
2454 test "$ac_cv_exeext" = no && ac_cv_exeext=
2460 { echo "$as_me:$LINENO: result
: $ac_file" >&5
2461 echo "${ECHO_T}$ac_file" >&6; }
2462 if test -z "$ac_file"; then
2463 echo "$as_me: failed program was
:" >&5
2464 sed 's/^/| /' conftest.$ac_ext >&5
2466 { { echo "$as_me:$LINENO: error
: C compiler cannot create executables
2467 See \
`config.log' for more details." >&5
2468 echo "$as_me: error: C compiler cannot create executables
2469 See \`config.log
' for more details." >&2;}
2470 { (exit 77); exit 77; }; }
2473 ac_exeext=$ac_cv_exeext
2475 # Check that the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='.
/$ac_file'
2483 { (case "(($ac_try" in
2484 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2485 *) ac_try_echo=$ac_try;;
2487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2488 (eval "$ac_try") 2>&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2494 if test "$cross_compiling" = maybe; then
2497 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2498 If you meant to cross compile, use \`--host'.
2499 See \
`config.log' for more details." >&5
2500 echo "$as_me: error: cannot run C compiled programs.
2501 If you meant to cross compile, use \`--host'.
2502 See \`config.log' for more details.
" >&2;}
2503 { (exit 1); exit 1; }; }
2507 { echo "$as_me:$LINENO: result
: yes" >&5
2508 echo "${ECHO_T}yes" >&6; }
2510 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2511 ac_clean_files=$ac_clean_files_save
2512 # Check that the compiler produces executables we can run. If not, either
2513 # the compiler is broken, or we cross compile.
2514 { echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2515 echo $ECHO_N "checking whether we are cross compiling...
$ECHO_C" >&6; }
2516 { echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2517 echo "${ECHO_T}$cross_compiling" >&6; }
2519 { echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2520 echo $ECHO_N "checking
for suffix of executables...
$ECHO_C" >&6; }
2521 if { (ac_try="$ac_link"
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2526 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2527 (eval "$ac_link") 2>&5
2529 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2530 (exit $ac_status); }; then
2531 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2532 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2533 # work properly (i.e., refer to `conftest.exe'), while it won't with
2535 for ac_file in conftest.exe conftest conftest.*; do
2536 test -f "$ac_file" || continue
2538 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2539 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2545 { { echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2546 See \
`config.log' for more details." >&5
2547 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2548 See \`config.log
' for more details." >&2;}
2549 { (exit 1); exit 1; }; }
2552 rm -f conftest$ac_cv_exeext
2553 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2554 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2556 rm -f conftest.$ac_ext
2557 EXEEXT=$ac_cv_exeext
2559 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2560 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2561 if test "${ac_cv_objext+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 cat >conftest.$ac_ext <<_ACEOF
2567 cat confdefs.h >>conftest.$ac_ext
2568 cat >>conftest.$ac_ext <<_ACEOF
2569 /* end confdefs.h. */
2579 rm -f conftest.o conftest.obj
2580 if { (ac_try="$ac_compile"
2582 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2583 *) ac_try_echo=$ac_try;;
2585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2586 (eval "$ac_compile") 2>&5
2588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2589 (exit $ac_status); }; then
2590 for ac_file in conftest.o conftest.obj conftest.*; do
2591 test -f "$ac_file" || continue;
2593 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2594 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2599 echo "$as_me: failed program was:" >&5
2600 sed 's
/^
/|
/' conftest.$ac_ext >&5
2602 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2603 See \`config.log' for more details.
" >&5
2604 echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2605 See \
`config.log' for more details." >&2;}
2606 { (exit 1); exit 1; }; }
2609 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2611 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2612 echo "${ECHO_T}$ac_cv_objext" >&6; }
2613 OBJEXT=$ac_cv_objext
2615 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2616 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2617 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 cat >conftest.$ac_ext <<_ACEOF
2623 cat confdefs.h >>conftest.$ac_ext
2624 cat >>conftest.$ac_ext <<_ACEOF
2625 /* end confdefs.h. */
2638 rm -f conftest.$ac_objext
2639 if { (ac_try="$ac_compile"
2641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2642 *) ac_try_echo
=$ac_try;;
2644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2645 (eval "$ac_compile") 2>conftest.er1
2647 grep -v '^ *+' conftest.er1
>conftest.err
2649 cat conftest.err
>&5
2650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2651 (exit $ac_status); } && {
2652 test -z "$ac_c_werror_flag" ||
2653 test ! -s conftest.err
2654 } && test -s conftest.
$ac_objext; then
2657 echo "$as_me: failed program was:" >&5
2658 sed 's/^/| /' conftest.
$ac_ext >&5
2663 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2664 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2667 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2668 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2669 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2670 ac_test_CFLAGS
=${CFLAGS+set}
2671 ac_save_CFLAGS
=$CFLAGS
2672 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2673 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2674 if test "${ac_cv_prog_cc_g+set}" = set; then
2675 echo $ECHO_N "(cached) $ECHO_C" >&6
2677 ac_save_c_werror_flag
=$ac_c_werror_flag
2678 ac_c_werror_flag
=yes
2681 cat >conftest.
$ac_ext <<_ACEOF
2684 cat confdefs.h
>>conftest.
$ac_ext
2685 cat >>conftest.
$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2696 rm -f conftest.
$ac_objext
2697 if { (ac_try
="$ac_compile"
2699 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2700 *) ac_try_echo=$ac_try;;
2702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2703 (eval "$ac_compile") 2>conftest.er1
2705 grep -v '^ *+' conftest.er1 >conftest.err
2707 cat conftest.err >&5
2708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2709 (exit $ac_status); } && {
2710 test -z "$ac_c_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest.$ac_objext; then
2715 echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2719 cat >conftest.$ac_ext <<_ACEOF
2722 cat confdefs.h >>conftest.$ac_ext
2723 cat >>conftest.$ac_ext <<_ACEOF
2724 /* end confdefs.h. */
2734 rm -f conftest.$ac_objext
2735 if { (ac_try="$ac_compile"
2737 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2738 *) ac_try_echo
=$ac_try;;
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_compile") 2>conftest.er1
2743 grep -v '^ *+' conftest.er1
>conftest.err
2745 cat conftest.err
>&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } && {
2748 test -z "$ac_c_werror_flag" ||
2749 test ! -s conftest.err
2750 } && test -s conftest.
$ac_objext; then
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.
$ac_ext >&5
2756 ac_c_werror_flag
=$ac_save_c_werror_flag
2758 cat >conftest.
$ac_ext <<_ACEOF
2761 cat confdefs.h
>>conftest.
$ac_ext
2762 cat >>conftest.
$ac_ext <<_ACEOF
2763 /* end confdefs.h. */
2773 rm -f conftest.
$ac_objext
2774 if { (ac_try
="$ac_compile"
2776 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_compile") 2>conftest.er1
2782 grep -v '^ *+' conftest.er1 >conftest.err
2784 cat conftest.err >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } && {
2787 test -z "$ac_c_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest.$ac_objext; then
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.$ac_ext >&5
2798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2805 ac_c_werror_flag=$ac_save_c_werror_flag
2807 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2808 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2809 if test "$ac_test_CFLAGS" = set; then
2810 CFLAGS=$ac_save_CFLAGS
2811 elif test $ac_cv_prog_cc_g = yes; then
2812 if test "$GCC" = yes; then
2818 if test "$GCC" = yes; then
2824 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2825 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2826 if test "${ac_cv_prog_cc_c89+set}" = set; then
2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 ac_cv_prog_cc_c89=no
2831 cat >conftest.$ac_ext <<_ACEOF
2834 cat confdefs.h >>conftest.$ac_ext
2835 cat >>conftest.$ac_ext <<_ACEOF
2836 /* end confdefs.h. */
2839 #include <sys/types.h>
2840 #include <sys/stat.h>
2841 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2842 struct buf { int x; };
2843 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2844 static char *e (p, i)
2850 static char *f (char * (*g) (char **, int), char **p, ...)
2855 s = g (p, va_arg (v,int));
2860 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2861 function prototypes and stuff, but not '\xHH' hex character constants.
2862 These don't provoke an error unfortunately, instead are silently treated
2863 as 'x'. The following induces an error, until -std is added to get
2864 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2865 array size at least. It's necessary to write '\x00'==0 to get something
2866 that's true only with -std. */
2867 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2869 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2870 inside strings and character constants. */
2872 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2874 int test (int i, double x);
2875 struct s1 {int (*f) (int a);};
2876 struct s2 {int (*f) (double a);};
2877 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2883 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2888 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2889 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2891 CC="$ac_save_CC $ac_arg"
2892 rm -f conftest.$ac_objext
2893 if { (ac_try="$ac_compile"
2895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2896 *) ac_try_echo
=$ac_try;;
2898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2899 (eval "$ac_compile") 2>conftest.er1
2901 grep -v '^ *+' conftest.er1
>conftest.err
2903 cat conftest.err
>&5
2904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2905 (exit $ac_status); } && {
2906 test -z "$ac_c_werror_flag" ||
2907 test ! -s conftest.err
2908 } && test -s conftest.
$ac_objext; then
2909 ac_cv_prog_cc_c89
=$ac_arg
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.
$ac_ext >&5
2917 rm -f core conftest.err conftest.
$ac_objext
2918 test "x$ac_cv_prog_cc_c89" != "xno" && break
2920 rm -f conftest.
$ac_ext
2925 case "x$ac_cv_prog_cc_c89" in
2927 { echo "$as_me:$LINENO: result: none needed" >&5
2928 echo "${ECHO_T}none needed" >&6; } ;;
2930 { echo "$as_me:$LINENO: result: unsupported" >&5
2931 echo "${ECHO_T}unsupported" >&6; } ;;
2933 CC
="$CC $ac_cv_prog_cc_c89"
2934 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2935 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2940 ac_cpp
='$CPP $CPPFLAGS'
2941 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2942 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2943 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2945 case $ac_cv_prog_cc_stdc in
2946 no
) ac_cv_prog_cc_c99
=no
; ac_cv_prog_cc_c89
=no
;;
2947 *) { echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
2948 echo $ECHO_N "checking for $CC option to accept ISO C99... $ECHO_C" >&6; }
2949 if test "${ac_cv_prog_cc_c99+set}" = set; then
2950 echo $ECHO_N "(cached) $ECHO_C" >&6
2952 ac_cv_prog_cc_c99
=no
2954 cat >conftest.
$ac_ext <<_ACEOF
2957 cat confdefs.h
>>conftest.
$ac_ext
2958 cat >>conftest.
$ac_ext <<_ACEOF
2959 /* end confdefs.h. */
2961 #include <stdbool.h>
2966 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2967 #define debug(...) fprintf (stderr, __VA_ARGS__)
2968 #define showlist(...) puts (#__VA_ARGS__)
2969 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2971 test_varargs_macros (void)
2976 debug ("X = %d\n", x);
2977 showlist (The first, second, and third items.);
2978 report (x>y, "x is %d but y is %d", x, y);
2981 // Check long long types.
2982 #define BIG64 18446744073709551615ull
2983 #define BIG32 4294967295ul
2984 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2986 your preprocessor is broken;
2990 your preprocessor is broken;
2992 static long long int bignum = -9223372036854775807LL;
2993 static unsigned long long int ubignum = BIG64;
2995 struct incomplete_array
3003 const wchar_t *name;
3007 typedef const char *ccp;
3010 test_restrict (ccp restrict text)
3012 // See if C++-style comments work.
3013 // Iterate through items via the restricted pointer.
3014 // Also check for declarations in for loops.
3015 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3020 // Check varargs and va_copy.
3022 test_varargs (const char *format, ...)
3025 va_start (args, format);
3027 va_copy (args_copy, args);
3038 str = va_arg (args_copy, const char *);
3041 number = va_arg (args_copy, int);
3044 fnumber = va_arg (args_copy, double);
3059 _Bool success = false;
3062 if (test_restrict ("String literal") == 0)
3064 char *restrict newvar = "Another string";
3067 test_varargs ("s, d' f .", "string", 65, 34.234);
3068 test_varargs_macros ();
3070 // Check flexible array members.
3071 struct incomplete_array *ia =
3072 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3074 for (int i = 0; i < ia->datasize; ++i)
3075 ia->data[i] = i * 1.234;
3077 // Check named initializers.
3078 struct named_init ni = {
3080 .name = L"Test wide string",
3081 .average = 543.34343,
3086 int dynamic_array[ni.number];
3087 dynamic_array[ni.number - 1] = 543;
3089 // work around unused variable warnings
3090 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3091 || dynamic_array[ni.number - 1] != 543);
3097 for ac_arg
in '' -std=gnu99
-c99 -qlanglvl=extc99
3099 CC
="$ac_save_CC $ac_arg"
3100 rm -f conftest.
$ac_objext
3101 if { (ac_try
="$ac_compile"
3103 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3104 *) ac_try_echo=$ac_try;;
3106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3107 (eval "$ac_compile") 2>conftest.er1
3109 grep -v '^ *+' conftest.er1 >conftest.err
3111 cat conftest.err >&5
3112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3113 (exit $ac_status); } && {
3114 test -z "$ac_c_werror_flag" ||
3115 test ! -s conftest.err
3116 } && test -s conftest.$ac_objext; then
3117 ac_cv_prog_cc_c99=$ac_arg
3119 echo "$as_me: failed program was:" >&5
3120 sed 's/^/| /' conftest.$ac_ext >&5
3125 rm -f core conftest.err conftest.$ac_objext
3126 test "x$ac_cv_prog_cc_c99" != "xno" && break
3128 rm -f conftest.$ac_ext
3133 case "x$ac_cv_prog_cc_c99" in
3135 { echo "$as_me:$LINENO: result: none needed" >&5
3136 echo "${ECHO_T}none needed" >&6; } ;;
3138 { echo "$as_me:$LINENO: result: unsupported" >&5
3139 echo "${ECHO_T}unsupported" >&6; } ;;
3141 CC="$CC $ac_cv_prog_cc_c99"
3142 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
3143 echo "${ECHO_T}$ac_cv_prog_cc_c99" >&6; } ;;
3145 if test "x$ac_cv_prog_cc_c99" != xno; then
3146 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3148 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3149 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3150 if test "${ac_cv_prog_cc_c89+set}" = set; then
3151 echo $ECHO_N "(cached) $ECHO_C" >&6
3153 ac_cv_prog_cc_c89=no
3155 cat >conftest.$ac_ext <<_ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3163 #include <sys/types.h>
3164 #include <sys/stat.h>
3165 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3166 struct buf { int x; };
3167 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3168 static char *e (p, i)
3174 static char *f (char * (*g) (char **, int), char **p, ...)
3179 s = g (p, va_arg (v,int));
3184 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3185 function prototypes and stuff, but not '\xHH' hex character constants.
3186 These don't provoke an error unfortunately, instead are silently treated
3187 as 'x'. The following induces an error, until -std is added to get
3188 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3189 array size at least. It's necessary to write '\x00'==0 to get something
3190 that's true only with -std. */
3191 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3193 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3194 inside strings and character constants. */
3196 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3198 int test (int i, double x);
3199 struct s1 {int (*f) (int a);};
3200 struct s2 {int (*f) (double a);};
3201 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3207 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3212 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3213 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3215 CC="$ac_save_CC $ac_arg"
3216 rm -f conftest.$ac_objext
3217 if { (ac_try="$ac_compile"
3219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3220 *) ac_try_echo
=$ac_try;;
3222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3223 (eval "$ac_compile") 2>conftest.er1
3225 grep -v '^ *+' conftest.er1
>conftest.err
3227 cat conftest.err
>&5
3228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3229 (exit $ac_status); } && {
3230 test -z "$ac_c_werror_flag" ||
3231 test ! -s conftest.err
3232 } && test -s conftest.
$ac_objext; then
3233 ac_cv_prog_cc_c89
=$ac_arg
3235 echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.
$ac_ext >&5
3241 rm -f core conftest.err conftest.
$ac_objext
3242 test "x$ac_cv_prog_cc_c89" != "xno" && break
3244 rm -f conftest.
$ac_ext
3249 case "x$ac_cv_prog_cc_c89" in
3251 { echo "$as_me:$LINENO: result: none needed" >&5
3252 echo "${ECHO_T}none needed" >&6; } ;;
3254 { echo "$as_me:$LINENO: result: unsupported" >&5
3255 echo "${ECHO_T}unsupported" >&6; } ;;
3257 CC
="$CC $ac_cv_prog_cc_c89"
3258 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3259 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3261 if test "x$ac_cv_prog_cc_c89" != xno
; then
3262 ac_cv_prog_cc_stdc
=$ac_cv_prog_cc_c89
3264 ac_cv_prog_cc_stdc
=no
3272 { echo "$as_me:$LINENO: checking for $CC option to accept ISO Standard C" >&5
3273 echo $ECHO_N "checking for $CC option to accept ISO Standard C... $ECHO_C" >&6; }
3274 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3278 case $ac_cv_prog_cc_stdc in
3279 no
) { echo "$as_me:$LINENO: result: unsupported" >&5
3280 echo "${ECHO_T}unsupported" >&6; } ;;
3281 '') { echo "$as_me:$LINENO: result: none needed" >&5
3282 echo "${ECHO_T}none needed" >&6; } ;;
3283 *) { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6; } ;;
3289 ac_cpp
='$CPP $CPPFLAGS'
3290 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3291 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3292 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3293 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3294 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
3295 # On Suns, sometimes $CPP names a directory.
3296 if test -n "$CPP" && test -d "$CPP"; then
3299 if test -z "$CPP"; then
3300 if test "${ac_cv_prog_CPP+set}" = set; then
3301 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 # Double quotes because CPP needs to be expanded
3304 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3307 for ac_c_preproc_warn_flag
in '' yes
3309 # Use a header file that comes with gcc, so configuring glibc
3310 # with a fresh cross-compiler works.
3311 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3312 # <limits.h> exists even on freestanding compilers.
3313 # On the NeXT, cc -E runs the code through the compiler's parser,
3314 # not just through cpp. "Syntax error" is here to catch this case.
3315 cat >conftest.
$ac_ext <<_ACEOF
3318 cat confdefs.h
>>conftest.
$ac_ext
3319 cat >>conftest.
$ac_ext <<_ACEOF
3320 /* end confdefs.h. */
3322 # include <limits.h>
3324 # include <assert.h>
3328 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3334 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3336 grep -v '^ *+' conftest.er1 >conftest.err
3338 cat conftest.err >&5
3339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3340 (exit $ac_status); } >/dev/null && {
3341 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3342 test ! -s conftest.err
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3349 # Broken: fails on valid input.
3353 rm -f conftest.err conftest.$ac_ext
3355 # OK, works on sane cases. Now check whether nonexistent headers
3356 # can be detected and how.
3357 cat >conftest.$ac_ext <<_ACEOF
3360 cat confdefs.h >>conftest.$ac_ext
3361 cat >>conftest.$ac_ext <<_ACEOF
3362 /* end confdefs.h. */
3363 #include <ac_nonexistent.h>
3365 if { (ac_try="$ac_cpp conftest.$ac_ext"
3367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3368 *) ac_try_echo
=$ac_try;;
3370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3373 grep -v '^ *+' conftest.er1
>conftest.err
3375 cat conftest.err
>&5
3376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3377 (exit $ac_status); } >/dev
/null
&& {
3378 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3379 test ! -s conftest.err
3381 # Broken: success on invalid input.
3384 echo "$as_me: failed program was:" >&5
3385 sed 's/^/| /' conftest.
$ac_ext >&5
3387 # Passes both tests.
3392 rm -f conftest.err conftest.
$ac_ext
3395 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3396 rm -f conftest.err conftest.
$ac_ext
3397 if $ac_preproc_ok; then
3409 { echo "$as_me:$LINENO: result: $CPP" >&5
3410 echo "${ECHO_T}$CPP" >&6; }
3412 for ac_c_preproc_warn_flag
in '' yes
3414 # Use a header file that comes with gcc, so configuring glibc
3415 # with a fresh cross-compiler works.
3416 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3417 # <limits.h> exists even on freestanding compilers.
3418 # On the NeXT, cc -E runs the code through the compiler's parser,
3419 # not just through cpp. "Syntax error" is here to catch this case.
3420 cat >conftest.
$ac_ext <<_ACEOF
3423 cat confdefs.h
>>conftest.
$ac_ext
3424 cat >>conftest.
$ac_ext <<_ACEOF
3425 /* end confdefs.h. */
3427 # include <limits.h>
3429 # include <assert.h>
3433 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3435 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3436 *) ac_try_echo=$ac_try;;
3438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3439 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3441 grep -v '^ *+' conftest.er1 >conftest.err
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } >/dev/null && {
3446 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3447 test ! -s conftest.err
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 # Broken: fails on valid input.
3458 rm -f conftest.err conftest.$ac_ext
3460 # OK, works on sane cases. Now check whether nonexistent headers
3461 # can be detected and how.
3462 cat >conftest.$ac_ext <<_ACEOF
3465 cat confdefs.h >>conftest.$ac_ext
3466 cat >>conftest.$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3468 #include <ac_nonexistent.h>
3470 if { (ac_try="$ac_cpp conftest.$ac_ext"
3472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3473 *) ac_try_echo
=$ac_try;;
3475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3476 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3478 grep -v '^ *+' conftest.er1
>conftest.err
3480 cat conftest.err
>&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); } >/dev
/null
&& {
3483 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3484 test ! -s conftest.err
3486 # Broken: success on invalid input.
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.
$ac_ext >&5
3492 # Passes both tests.
3497 rm -f conftest.err conftest.
$ac_ext
3500 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3501 rm -f conftest.err conftest.
$ac_ext
3502 if $ac_preproc_ok; then
3505 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3506 See \`config.log' for more details." >&5
3507 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3508 See \`config.log' for more details." >&2;}
3509 { (exit 1); exit 1; }; }
3513 ac_cpp
='$CPP $CPPFLAGS'
3514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3519 # Check for a compatible awk
3520 for ac_prog
in gawk nawk
3522 # Extract the first word of "$ac_prog", so it can be a program name with args.
3523 set dummy
$ac_prog; ac_word
=$2
3524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3526 if test "${ac_cv_prog_AWK+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 if test -n "$AWK"; then
3530 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir
=.
3537 for ac_exec_ext
in '' $ac_executable_extensions; do
3538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3539 ac_cv_prog_AWK
="$ac_prog"
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 if test -n "$AWK"; then
3551 { echo "$as_me:$LINENO: result: $AWK" >&5
3552 echo "${ECHO_T}$AWK" >&6; }
3554 { echo "$as_me:$LINENO: result: no" >&5
3555 echo "${ECHO_T}no" >&6; }
3559 test -n "$AWK" && break
3562 if test "$AWK" = ""; then
3563 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
3564 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
3565 { (exit 1); exit 1; }; }
3567 # Extract the first word of "mmake", so it can be a program name with args.
3568 set dummy mmake
; ac_word
=$2
3569 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3571 if test "${ac_cv_prog_MMAKE+set}" = set; then
3572 echo $ECHO_N "(cached) $ECHO_C" >&6
3574 if test -n "$MMAKE"; then
3575 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3581 test -z "$as_dir" && as_dir
=.
3582 for ac_exec_ext
in '' $ac_executable_extensions; do
3583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3584 ac_cv_prog_MMAKE
="mmake "
3585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 MMAKE
=$ac_cv_prog_MMAKE
3595 if test -n "$MMAKE"; then
3596 { echo "$as_me:$LINENO: result: $MMAKE" >&5
3597 echo "${ECHO_T}$MMAKE" >&6; }
3599 { echo "$as_me:$LINENO: result: no" >&5
3600 echo "${ECHO_T}no" >&6; }
3605 # Perform some default variable assignments. Note all of these will be
3606 # Regenerated from the script, so there is no need to cache them.
3609 if test "$GCC" = "yes"; then
3610 aros_gcc_ld
=`$CC -print-prog-name=ld`
3611 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3612 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3613 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3614 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3615 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3616 echo $ECHO_N "(cached) $ECHO_C" >&6
3618 case $aros_host_ld in
3620 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3623 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3624 for as_dir
in `dirname $aros_gcc_ld`
3627 test -z "$as_dir" && as_dir
=.
3628 for ac_exec_ext
in '' $ac_executable_extensions; do
3629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3630 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3641 aros_host_ld
=$ac_cv_path_aros_host_ld
3642 if test -n "$aros_host_ld"; then
3643 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3644 echo "${ECHO_T}$aros_host_ld" >&6; }
3646 { echo "$as_me:$LINENO: result: no" >&5
3647 echo "${ECHO_T}no" >&6; }
3652 if test "$aros_host_ld" = ""; then
3653 # Extract the first word of "ld", so it can be a program name with args.
3654 set dummy ld
; ac_word
=$2
3655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3657 if test "${ac_cv_path_aros_host_ld+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 case $aros_host_ld in
3662 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3669 test -z "$as_dir" && as_dir
=.
3670 for ac_exec_ext
in '' $ac_executable_extensions; do
3671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3672 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3673 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 aros_host_ld
=$ac_cv_path_aros_host_ld
3684 if test -n "$aros_host_ld"; then
3685 { echo "$as_me:$LINENO: result: $aros_host_ld" >&5
3686 echo "${ECHO_T}$aros_host_ld" >&6; }
3688 { echo "$as_me:$LINENO: result: no" >&5
3689 echo "${ECHO_T}no" >&6; }
3694 if test "$aros_host_ld" = ""; then
3695 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
3696 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
3697 { (exit 1); exit 1; }; }
3699 aros_host_make
="make"
3700 aros_host_cflags
=$CFLAGS
3701 aros_host_ldflags
=$LDFLAGS
3702 aros_host_debug
="-g -O0"
3703 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
3704 aros_host_mkargs
="--no-print-directory"
3705 aros_host_incl
="/usr/include"
3706 aros_host_exe_suffix
="$EXEEXT"
3707 aros_host_lib_suffix
=""
3709 for ac_prog
in aclocal aclocal19
3711 # Extract the first word of "$ac_prog", so it can be a program name with args.
3712 set dummy
$ac_prog; ac_word
=$2
3713 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3715 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3718 if test -n "$aros_host_aclocal"; then
3719 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3725 test -z "$as_dir" && as_dir
=.
3726 for ac_exec_ext
in '' $ac_executable_extensions; do
3727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3728 ac_cv_prog_aros_host_aclocal
="$ac_prog"
3729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3738 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
3739 if test -n "$aros_host_aclocal"; then
3740 { echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
3741 echo "${ECHO_T}$aros_host_aclocal" >&6; }
3743 { echo "$as_me:$LINENO: result: no" >&5
3744 echo "${ECHO_T}no" >&6; }
3748 test -n "$aros_host_aclocal" && break
3751 for ac_prog
in autoconf autoconf259 autoconf253
3753 # Extract the first word of "$ac_prog", so it can be a program name with args.
3754 set dummy
$ac_prog; ac_word
=$2
3755 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3757 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
3758 echo $ECHO_N "(cached) $ECHO_C" >&6
3760 if test -n "$aros_host_autoconf"; then
3761 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
3763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3767 test -z "$as_dir" && as_dir
=.
3768 for ac_exec_ext
in '' $ac_executable_extensions; do
3769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3770 ac_cv_prog_aros_host_autoconf
="$ac_prog"
3771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
3781 if test -n "$aros_host_autoconf"; then
3782 { echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
3783 echo "${ECHO_T}$aros_host_autoconf" >&6; }
3785 { echo "$as_me:$LINENO: result: no" >&5
3786 echo "${ECHO_T}no" >&6; }
3790 test -n "$aros_host_autoconf" && break
3793 for ac_prog
in autoheader autoheader259 autoheader253
3795 # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy
$ac_prog; ac_word
=$2
3797 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3799 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 if test -n "$aros_host_autoheader"; then
3803 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
3805 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir
=.
3810 for ac_exec_ext
in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 ac_cv_prog_aros_host_autoheader
="$ac_prog"
3813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
3823 if test -n "$aros_host_autoheader"; then
3824 { echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
3825 echo "${ECHO_T}$aros_host_autoheader" >&6; }
3827 { echo "$as_me:$LINENO: result: no" >&5
3828 echo "${ECHO_T}no" >&6; }
3832 test -n "$aros_host_autoheader" && break
3835 for ac_prog
in automake automake19
3837 # Extract the first word of "$ac_prog", so it can be a program name with args.
3838 set dummy
$ac_prog; ac_word
=$2
3839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3841 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 if test -n "$aros_host_automake"; then
3845 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
3847 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3851 test -z "$as_dir" && as_dir
=.
3852 for ac_exec_ext
in '' $ac_executable_extensions; do
3853 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3854 ac_cv_prog_aros_host_automake
="$ac_prog"
3855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3864 aros_host_automake
=$ac_cv_prog_aros_host_automake
3865 if test -n "$aros_host_automake"; then
3866 { echo "$as_me:$LINENO: result: $aros_host_automake" >&5
3867 echo "${ECHO_T}$aros_host_automake" >&6; }
3869 { echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6; }
3874 test -n "$aros_host_automake" && break
3878 case "$aros_host_cc" in
3880 aros_host_cc_pipe
="-pipe"
3883 aros_host_cc_pipe
=""
3886 aros_host_cc_pipe
=""
3890 aros_target_cc_includes
=""
3892 # This is the main host configuration section. It is where the host
3893 # can change the values of any variables it needs to change. We do
3894 # not look at anything that compiles to the target yet, we'll get
3899 aros_host_arch
="linux"
3900 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3903 aros_host_cpu
="i386"
3906 aros_host_cpu
="x86_64"
3909 aros_host_cpu
="m68k"
3915 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3916 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3917 aros_host_cpu
="$host_cpu"
3923 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3924 aros_host_make
="gmake"
3925 aros_host_arch
="freebsd"
3926 aros_host_cpu
="i386"
3928 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3933 aros_object_format
="elf_i386"
3937 aros_object_format
="elf_i386_fbsd"
3944 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3945 aros_host_arch
="darwin"
3948 aros_host_cpu
="i386"
3954 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3955 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3956 aros_host_cpu
="$host_cpu"
3960 aros_host_ldflags
="$aros_host_ldflags -liconv"
3965 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3966 aros_host_make
="gmake"
3967 aros_host_arch
="netbsd"
3970 aros_host_cpu
="i386"
3973 aros_host_cpu
="m68k"
3976 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3977 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3978 aros_host_cpu
="$host_cpu"
3981 aros_host_lib_suffix
=".0.0"
3985 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3986 aros_host_make
="gmake"
3987 aros_host_arch
="openbsd"
3990 aros_host_cpu
="i386"
3993 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3994 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3995 aros_host_cpu
="$host_cpu"
4001 aros_host_arch
="solaris"
4002 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4005 aros_host_cpu
="sparc"
4008 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4009 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4010 aros_host_cpu
="$host_cpu"
4016 aros_host_arch
="morphos"
4021 aros_host_arch
="amiga"
4026 TOUCH
="/gg/bin/touch"
4029 aros_host_cpu
="m68k"
4035 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4036 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4037 aros_host_cpu
="$host_cpu"
4043 aros_host_arch
="cygwin"
4044 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4047 aros_host_cpu
="i386"
4050 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4051 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4052 aros_host_cpu
="$host_cpu"
4057 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
4058 echo "$as_me: error: Unsupported host architecture $host" >&2;}
4059 { (exit 1); exit 1; }; }
4063 # Extract the first word of "ar", so it can be a program name with args.
4064 set dummy
ar; ac_word
=$2
4065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4067 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
4068 echo $ECHO_N "(cached) $ECHO_C" >&6
4070 if test -n "$aros_host_ar"; then
4071 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4077 test -z "$as_dir" && as_dir
=.
4078 for ac_exec_ext
in '' $ac_executable_extensions; do
4079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4080 ac_cv_prog_aros_host_ar
="ar cr"
4081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4090 aros_host_ar
=$ac_cv_prog_aros_host_ar
4091 if test -n "$aros_host_ar"; then
4092 { echo "$as_me:$LINENO: result: $aros_host_ar" >&5
4093 echo "${ECHO_T}$aros_host_ar" >&6; }
4095 { echo "$as_me:$LINENO: result: no" >&5
4096 echo "${ECHO_T}no" >&6; }
4100 if test "$aros_host_ar" = ""; then
4101 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
4102 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
4103 { (exit 1); exit 1; }; }
4105 # Extract the first word of "ranlib", so it can be a program name with args.
4106 set dummy ranlib
; ac_word
=$2
4107 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4109 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
4110 echo $ECHO_N "(cached) $ECHO_C" >&6
4112 if test -n "$aros_host_ranlib"; then
4113 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4119 test -z "$as_dir" && as_dir
=.
4120 for ac_exec_ext
in '' $ac_executable_extensions; do
4121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4122 ac_cv_prog_aros_host_ranlib
="ranlib "
4123 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4132 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4133 if test -n "$aros_host_ranlib"; then
4134 { echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
4135 echo "${ECHO_T}$aros_host_ranlib" >&6; }
4137 { echo "$as_me:$LINENO: result: no" >&5
4138 echo "${ECHO_T}no" >&6; }
4142 if test "$aros_host_ranlib" = ""; then
4143 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
4144 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
4145 { (exit 1); exit 1; }; }
4147 # Extract the first word of "strip", so it can be a program name with args.
4148 set dummy strip
; ac_word
=$2
4149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4151 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
4152 echo $ECHO_N "(cached) $ECHO_C" >&6
4154 if test -n "$aros_host_strip"; then
4155 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4161 test -z "$as_dir" && as_dir
=.
4162 for ac_exec_ext
in '' $ac_executable_extensions; do
4163 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4164 ac_cv_prog_aros_host_strip
="strip "
4165 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 aros_host_strip
=$ac_cv_prog_aros_host_strip
4175 if test -n "$aros_host_strip"; then
4176 { echo "$as_me:$LINENO: result: $aros_host_strip" >&5
4177 echo "${ECHO_T}$aros_host_strip" >&6; }
4179 { echo "$as_me:$LINENO: result: no" >&5
4180 echo "${ECHO_T}no" >&6; }
4184 if test "$aros_host_strip" = ""; then
4185 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
4186 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
4187 { (exit 1); exit 1; }; }
4190 # Extract the first word of "rm", so it can be a program name with args.
4191 set dummy
rm; ac_word
=$2
4192 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4194 if test "${ac_cv_prog_RM+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 if test -n "$RM"; then
4198 ac_cv_prog_RM
="$RM" # Let the user override the test.
4200 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4204 test -z "$as_dir" && as_dir
=.
4205 for ac_exec_ext
in '' $ac_executable_extensions; do
4206 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4207 ac_cv_prog_RM
="rm -rf"
4208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 if test -n "$RM"; then
4219 { echo "$as_me:$LINENO: result: $RM" >&5
4220 echo "${ECHO_T}$RM" >&6; }
4222 { echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6; }
4227 if test "$RM" = ""; then
4228 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
4229 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
4230 { (exit 1); exit 1; }; }
4232 # Extract the first word of "cp", so it can be a program name with args.
4233 set dummy
cp; ac_word
=$2
4234 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4236 if test "${ac_cv_prog_CP+set}" = set; then
4237 echo $ECHO_N "(cached) $ECHO_C" >&6
4239 if test -n "$CP"; then
4240 ac_cv_prog_CP
="$CP" # Let the user override the test.
4242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4246 test -z "$as_dir" && as_dir
=.
4247 for ac_exec_ext
in '' $ac_executable_extensions; do
4248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4260 if test -n "$CP"; then
4261 { echo "$as_me:$LINENO: result: $CP" >&5
4262 echo "${ECHO_T}$CP" >&6; }
4264 { echo "$as_me:$LINENO: result: no" >&5
4265 echo "${ECHO_T}no" >&6; }
4269 if test "$CP" = ""; then
4270 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
4271 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
4272 { (exit 1); exit 1; }; }
4274 # Extract the first word of "mv", so it can be a program name with args.
4275 set dummy
mv; ac_word
=$2
4276 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4277 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4278 if test "${ac_cv_prog_MV+set}" = set; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4281 if test -n "$MV"; then
4282 ac_cv_prog_MV
="$MV" # Let the user override the test.
4284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4288 test -z "$as_dir" && as_dir
=.
4289 for ac_exec_ext
in '' $ac_executable_extensions; do
4290 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4292 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4302 if test -n "$MV"; then
4303 { echo "$as_me:$LINENO: result: $MV" >&5
4304 echo "${ECHO_T}$MV" >&6; }
4306 { echo "$as_me:$LINENO: result: no" >&5
4307 echo "${ECHO_T}no" >&6; }
4311 if test "$MV" = ""; then
4312 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
4313 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
4314 { (exit 1); exit 1; }; }
4316 # Extract the first word of "echo", so it can be a program name with args.
4317 set dummy
echo; ac_word
=$2
4318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4320 if test "${ac_cv_prog_ECHO+set}" = set; then
4321 echo $ECHO_N "(cached) $ECHO_C" >&6
4323 if test -n "$ECHO"; then
4324 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4330 test -z "$as_dir" && as_dir
=.
4331 for ac_exec_ext
in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 ac_cv_prog_ECHO
="echo "
4334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4343 ECHO
=$ac_cv_prog_ECHO
4344 if test -n "$ECHO"; then
4345 { echo "$as_me:$LINENO: result: $ECHO" >&5
4346 echo "${ECHO_T}$ECHO" >&6; }
4348 { echo "$as_me:$LINENO: result: no" >&5
4349 echo "${ECHO_T}no" >&6; }
4353 if test "$ECHO" = ""; then
4354 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
4355 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
4356 { (exit 1); exit 1; }; }
4358 # Extract the first word of "mkdir", so it can be a program name with args.
4359 set dummy mkdir
; ac_word
=$2
4360 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4362 if test "${ac_cv_prog_MKDIR+set}" = set; then
4363 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 if test -n "$MKDIR"; then
4366 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4372 test -z "$as_dir" && as_dir
=.
4373 for ac_exec_ext
in '' $ac_executable_extensions; do
4374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4375 ac_cv_prog_MKDIR
="mkdir -p"
4376 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4385 MKDIR
=$ac_cv_prog_MKDIR
4386 if test -n "$MKDIR"; then
4387 { echo "$as_me:$LINENO: result: $MKDIR" >&5
4388 echo "${ECHO_T}$MKDIR" >&6; }
4390 { echo "$as_me:$LINENO: result: no" >&5
4391 echo "${ECHO_T}no" >&6; }
4395 if test "$MKDIR" = ""; then
4396 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
4397 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
4398 { (exit 1); exit 1; }; }
4400 # Extract the first word of "touch", so it can be a program name with args.
4401 set dummy
touch; ac_word
=$2
4402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4404 if test "${ac_cv_prog_TOUCH+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 if test -n "$TOUCH"; then
4408 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4414 test -z "$as_dir" && as_dir
=.
4415 for ac_exec_ext
in '' $ac_executable_extensions; do
4416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4417 ac_cv_prog_TOUCH
="touch "
4418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 TOUCH
=$ac_cv_prog_TOUCH
4428 if test -n "$TOUCH"; then
4429 { echo "$as_me:$LINENO: result: $TOUCH" >&5
4430 echo "${ECHO_T}$TOUCH" >&6; }
4432 { echo "$as_me:$LINENO: result: no" >&5
4433 echo "${ECHO_T}no" >&6; }
4437 if test "$TOUCH" = ""; then
4438 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
4439 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
4440 { (exit 1); exit 1; }; }
4442 # Extract the first word of "sort", so it can be a program name with args.
4443 set dummy
sort; ac_word
=$2
4444 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4446 if test "${ac_cv_prog_SORT+set}" = set; then
4447 echo $ECHO_N "(cached) $ECHO_C" >&6
4449 if test -n "$SORT"; then
4450 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir
=.
4457 for ac_exec_ext
in '' $ac_executable_extensions; do
4458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459 ac_cv_prog_SORT
="sort "
4460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 SORT
=$ac_cv_prog_SORT
4470 if test -n "$SORT"; then
4471 { echo "$as_me:$LINENO: result: $SORT" >&5
4472 echo "${ECHO_T}$SORT" >&6; }
4474 { echo "$as_me:$LINENO: result: no" >&5
4475 echo "${ECHO_T}no" >&6; }
4479 if test "$SORT" = ""; then
4480 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
4481 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
4482 { (exit 1); exit 1; }; }
4484 # Extract the first word of "uniq", so it can be a program name with args.
4485 set dummy
uniq; ac_word
=$2
4486 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4488 if test "${ac_cv_prog_UNIQ+set}" = set; then
4489 echo $ECHO_N "(cached) $ECHO_C" >&6
4491 if test -n "$UNIQ"; then
4492 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4501 ac_cv_prog_UNIQ
="uniq "
4502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 UNIQ
=$ac_cv_prog_UNIQ
4512 if test -n "$UNIQ"; then
4513 { echo "$as_me:$LINENO: result: $UNIQ" >&5
4514 echo "${ECHO_T}$UNIQ" >&6; }
4516 { echo "$as_me:$LINENO: result: no" >&5
4517 echo "${ECHO_T}no" >&6; }
4521 if test "$UNIQ" = ""; then
4522 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
4523 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
4524 { (exit 1); exit 1; }; }
4526 # Extract the first word of "true", so it can be a program name with args.
4527 set dummy true
; ac_word
=$2
4528 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4530 if test "${ac_cv_prog_NOP+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4533 if test -n "$NOP"; then
4534 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4536 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4540 test -z "$as_dir" && as_dir
=.
4541 for ac_exec_ext
in '' $ac_executable_extensions; do
4542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4543 ac_cv_prog_NOP
="true "
4544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4554 if test -n "$NOP"; then
4555 { echo "$as_me:$LINENO: result: $NOP" >&5
4556 echo "${ECHO_T}$NOP" >&6; }
4558 { echo "$as_me:$LINENO: result: no" >&5
4559 echo "${ECHO_T}no" >&6; }
4563 if test "$NOP" = ""; then
4564 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
4565 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
4566 { (exit 1); exit 1; }; }
4568 # Extract the first word of "cat", so it can be a program name with args.
4569 set dummy
cat; ac_word
=$2
4570 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4572 if test "${ac_cv_prog_CAT+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 if test -n "$CAT"; then
4576 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_CAT
="cat "
4586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4596 if test -n "$CAT"; then
4597 { echo "$as_me:$LINENO: result: $CAT" >&5
4598 echo "${ECHO_T}$CAT" >&6; }
4600 { echo "$as_me:$LINENO: result: no" >&5
4601 echo "${ECHO_T}no" >&6; }
4605 if test "$CAT" = ""; then
4606 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
4607 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
4608 { (exit 1); exit 1; }; }
4610 # Extract the first word of "bison", so it can be a program name with args.
4611 set dummy bison
; ac_word
=$2
4612 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4614 if test "${ac_cv_prog_BISON+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 if test -n "$BISON"; then
4618 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_BISON
="bison "
4628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 BISON
=$ac_cv_prog_BISON
4638 if test -n "$BISON"; then
4639 { echo "$as_me:$LINENO: result: $BISON" >&5
4640 echo "${ECHO_T}$BISON" >&6; }
4642 { echo "$as_me:$LINENO: result: no" >&5
4643 echo "${ECHO_T}no" >&6; }
4647 if test "$BISON" = ""; then
4648 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
4649 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
4650 { (exit 1); exit 1; }; }
4652 # Extract the first word of "flex", so it can be a program name with args.
4653 set dummy flex
; ac_word
=$2
4654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4656 if test "${ac_cv_prog_FLEX+set}" = set; then
4657 echo $ECHO_N "(cached) $ECHO_C" >&6
4659 if test -n "$FLEX"; then
4660 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4666 test -z "$as_dir" && as_dir
=.
4667 for ac_exec_ext
in '' $ac_executable_extensions; do
4668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4669 ac_cv_prog_FLEX
="flex "
4670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 FLEX
=$ac_cv_prog_FLEX
4680 if test -n "$FLEX"; then
4681 { echo "$as_me:$LINENO: result: $FLEX" >&5
4682 echo "${ECHO_T}$FLEX" >&6; }
4684 { echo "$as_me:$LINENO: result: no" >&5
4685 echo "${ECHO_T}no" >&6; }
4689 if test "$FLEX" = ""; then
4690 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
4691 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
4692 { (exit 1); exit 1; }; }
4694 # Extract the first word of "pngtopnm", so it can be a program name with args.
4695 set dummy pngtopnm
; ac_word
=$2
4696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4698 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
4699 echo $ECHO_N "(cached) $ECHO_C" >&6
4701 if test -n "$PNGTOPNM"; then
4702 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir
=.
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4711 ac_cv_prog_PNGTOPNM
="pngtopnm "
4712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4721 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
4722 if test -n "$PNGTOPNM"; then
4723 { echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
4724 echo "${ECHO_T}$PNGTOPNM" >&6; }
4726 { echo "$as_me:$LINENO: result: no" >&5
4727 echo "${ECHO_T}no" >&6; }
4731 if test "$PNGTOPNM" = ""; then
4732 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
4733 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
4734 { (exit 1); exit 1; }; }
4736 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
4737 set dummy ppmtoilbm
; ac_word
=$2
4738 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4740 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 if test -n "$PPMTOILBM"; then
4744 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir
=.
4751 for ac_exec_ext
in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
4754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
4764 if test -n "$PPMTOILBM"; then
4765 { echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
4766 echo "${ECHO_T}$PPMTOILBM" >&6; }
4768 { echo "$as_me:$LINENO: result: no" >&5
4769 echo "${ECHO_T}no" >&6; }
4773 if test "$PPMTOILBM" = ""; then
4774 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
4775 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
4776 { (exit 1); exit 1; }; }
4778 # Extract the first word of "sed", so it can be a program name with args.
4779 set dummy
sed; ac_word
=$2
4780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4782 if test "${ac_cv_prog_SED+set}" = set; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 if test -n "$SED"; then
4786 ac_cv_prog_SED
="$SED" # Let the user override the test.
4788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir
=.
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_SED
="sed "
4796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 if test -n "$SED"; then
4807 { echo "$as_me:$LINENO: result: $SED" >&5
4808 echo "${ECHO_T}$SED" >&6; }
4810 { echo "$as_me:$LINENO: result: no" >&5
4811 echo "${ECHO_T}no" >&6; }
4815 if test "$SED" = ""; then
4816 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
4817 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
4818 { (exit 1); exit 1; }; }
4820 # Extract the first word of "chmod", so it can be a program name with args.
4821 set dummy
chmod; ac_word
=$2
4822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4824 if test "${ac_cv_prog_CHMOD+set}" = set; then
4825 echo $ECHO_N "(cached) $ECHO_C" >&6
4827 if test -n "$CHMOD"; then
4828 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
4830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4834 test -z "$as_dir" && as_dir
=.
4835 for ac_exec_ext
in '' $ac_executable_extensions; do
4836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4837 ac_cv_prog_CHMOD
="chmod "
4838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4847 CHMOD
=$ac_cv_prog_CHMOD
4848 if test -n "$CHMOD"; then
4849 { echo "$as_me:$LINENO: result: $CHMOD" >&5
4850 echo "${ECHO_T}$CHMOD" >&6; }
4852 { echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6; }
4857 if test "$CHMOD" = ""; then
4858 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
4859 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
4860 { (exit 1); exit 1; }; }
4867 if test -n "$PYTHON"; then
4868 # If the user set $PYTHON, use it and don't search something else.
4869 { echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
4870 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6; }
4871 prog
="import sys, string
4872 # split strings by '.' and convert to numeric. Append some zeros
4873 # because we need at least 4 digits for the hex conversion.
4874 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4876 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4877 sys.exit(sys.hexversion < minverhex)"
4878 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
4879 ($PYTHON -c "$prog") >&5 2>&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; then
4883 { echo "$as_me:$LINENO: result: yes" >&5
4884 echo "${ECHO_T}yes" >&6; }
4886 { { echo "$as_me:$LINENO: error: too old" >&5
4887 echo "$as_me: error: too old" >&2;}
4888 { (exit 1); exit 1; }; }
4892 # Otherwise, try each interpreter until we find one that satisfies
4894 { echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
4895 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6; }
4896 if test "${am_cv_pathless_PYTHON+set}" = set; then
4897 echo $ECHO_N "(cached) $ECHO_C" >&6
4900 for am_cv_pathless_PYTHON
in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none
; do
4901 test "$am_cv_pathless_PYTHON" = none
&& break
4902 prog
="import sys, string
4903 # split strings by '.' and convert to numeric. Append some zeros
4904 # because we need at least 4 digits for the hex conversion.
4905 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
4907 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
4908 sys.exit(sys.hexversion < minverhex)"
4909 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
4910 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }; then
4919 { echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
4920 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6; }
4921 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
4922 if test "$am_cv_pathless_PYTHON" = none
; then
4925 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
4926 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
4927 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4929 if test "${ac_cv_path_PYTHON+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4944 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 PYTHON
=$ac_cv_path_PYTHON
4956 if test -n "$PYTHON"; then
4957 { echo "$as_me:$LINENO: result: $PYTHON" >&5
4958 echo "${ECHO_T}$PYTHON" >&6; }
4960 { echo "$as_me:$LINENO: result: no" >&5
4961 echo "${ECHO_T}no" >&6; }
4966 am_display_PYTHON
=$am_cv_pathless_PYTHON
4970 if test "$PYTHON" = :; then
4971 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
4972 echo "$as_me: error: no suitable Python interpreter found" >&2;}
4973 { (exit 1); exit 1; }; }
4977 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
4978 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }
4979 if test "${am_cv_python_version+set}" = set; then
4980 echo $ECHO_N "(cached) $ECHO_C" >&6
4982 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
4984 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
4985 echo "${ECHO_T}$am_cv_python_version" >&6; }
4986 PYTHON_VERSION
=$am_cv_python_version
4990 PYTHON_PREFIX
='${prefix}'
4992 PYTHON_EXEC_PREFIX
='${exec_prefix}'
4996 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
4997 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }
4998 if test "${am_cv_python_platform+set}" = set; then
4999 echo $ECHO_N "(cached) $ECHO_C" >&6
5001 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5003 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
5004 echo "${ECHO_T}$am_cv_python_platform" >&6; }
5005 PYTHON_PLATFORM
=$am_cv_python_platform
5010 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
5011 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }
5012 if test "${am_cv_python_pythondir+set}" = set; then
5013 echo $ECHO_N "(cached) $ECHO_C" >&6
5015 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5016 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5018 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
5019 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }
5020 pythondir
=$am_cv_python_pythondir
5024 pkgpythondir
=\
${pythondir}/$PACKAGE
5027 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
5028 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }
5029 if test "${am_cv_python_pyexecdir+set}" = set; then
5030 echo $ECHO_N "(cached) $ECHO_C" >&6
5032 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5033 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5035 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
5036 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }
5037 pyexecdir
=$am_cv_python_pyexecdir
5041 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5059 # Check for some includes for the X11 HIDD and the kernel
5062 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
5063 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
5064 if test "${ac_cv_path_GREP+set}" = set; then
5065 echo $ECHO_N "(cached) $ECHO_C" >&6
5067 # Extract the first word of "grep ggrep" to use in msg output
5068 if test -z "$GREP"; then
5069 set dummy
grep ggrep
; ac_prog_name
=$2
5070 if test "${ac_cv_path_GREP+set}" = set; then
5071 echo $ECHO_N "(cached) $ECHO_C" >&6
5073 ac_path_GREP_found
=false
5074 # Loop through the user's path and test for each of PROGNAME-LIST
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5076 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_prog
in grep ggrep
; do
5081 for ac_exec_ext
in '' $ac_executable_extensions; do
5082 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5083 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5084 # Check for GNU ac_path_GREP and select it if it is found.
5085 # Check for GNU $ac_path_GREP
5086 case `"$ac_path_GREP" --version 2>&1` in
5088 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5091 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5094 cat "conftest.in" "conftest.in" >"conftest.tmp"
5095 mv "conftest.tmp" "conftest.in"
5096 cp "conftest.in" "conftest.nl"
5097 echo 'GREP' >> "conftest.nl"
5098 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5099 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5100 ac_count
=`expr $ac_count + 1`
5101 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5102 # Best one so far, save it but keep looking for a better one
5103 ac_cv_path_GREP
="$ac_path_GREP"
5104 ac_path_GREP_max
=$ac_count
5106 # 10*(2^10) chars as input seems more than enough
5107 test $ac_count -gt 10 && break
5109 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5113 $ac_path_GREP_found && break 3
5123 GREP
="$ac_cv_path_GREP"
5124 if test -z "$GREP"; then
5125 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5126 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5127 { (exit 1); exit 1; }; }
5131 ac_cv_path_GREP
=$GREP
5136 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
5137 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
5138 GREP
="$ac_cv_path_GREP"
5141 { echo "$as_me:$LINENO: checking for egrep" >&5
5142 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
5143 if test "${ac_cv_path_EGREP+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5146 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5147 then ac_cv_path_EGREP
="$GREP -E"
5149 # Extract the first word of "egrep" to use in msg output
5150 if test -z "$EGREP"; then
5151 set dummy
egrep; ac_prog_name
=$2
5152 if test "${ac_cv_path_EGREP+set}" = set; then
5153 echo $ECHO_N "(cached) $ECHO_C" >&6
5155 ac_path_EGREP_found
=false
5156 # Loop through the user's path and test for each of PROGNAME-LIST
5157 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5158 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5161 test -z "$as_dir" && as_dir
=.
5162 for ac_prog
in egrep; do
5163 for ac_exec_ext
in '' $ac_executable_extensions; do
5164 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5165 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5166 # Check for GNU ac_path_EGREP and select it if it is found.
5167 # Check for GNU $ac_path_EGREP
5168 case `"$ac_path_EGREP" --version 2>&1` in
5170 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5173 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
5176 cat "conftest.in" "conftest.in" >"conftest.tmp"
5177 mv "conftest.tmp" "conftest.in"
5178 cp "conftest.in" "conftest.nl"
5179 echo 'EGREP' >> "conftest.nl"
5180 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5181 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5182 ac_count
=`expr $ac_count + 1`
5183 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5184 # Best one so far, save it but keep looking for a better one
5185 ac_cv_path_EGREP
="$ac_path_EGREP"
5186 ac_path_EGREP_max
=$ac_count
5188 # 10*(2^10) chars as input seems more than enough
5189 test $ac_count -gt 10 && break
5191 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5195 $ac_path_EGREP_found && break 3
5205 EGREP
="$ac_cv_path_EGREP"
5206 if test -z "$EGREP"; then
5207 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5208 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5209 { (exit 1); exit 1; }; }
5213 ac_cv_path_EGREP
=$EGREP
5219 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
5220 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
5221 EGREP
="$ac_cv_path_EGREP"
5224 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5225 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5226 if test "${ac_cv_header_stdc+set}" = set; then
5227 echo $ECHO_N "(cached) $ECHO_C" >&6
5229 cat >conftest.
$ac_ext <<_ACEOF
5232 cat confdefs.h
>>conftest.
$ac_ext
5233 cat >>conftest.
$ac_ext <<_ACEOF
5234 /* end confdefs.h. */
5248 rm -f conftest.
$ac_objext
5249 if { (ac_try
="$ac_compile"
5251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5252 *) ac_try_echo=$ac_try;;
5254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5255 (eval "$ac_compile") 2>conftest.er1
5257 grep -v '^ *+' conftest.er1 >conftest.err
5259 cat conftest.err >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); } && {
5262 test -z "$ac_c_werror_flag" ||
5263 test ! -s conftest.err
5264 } && test -s conftest.$ac_objext; then
5265 ac_cv_header_stdc=yes
5267 echo "$as_me: failed program was:" >&5
5268 sed 's/^/| /' conftest.$ac_ext >&5
5270 ac_cv_header_stdc=no
5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5275 if test $ac_cv_header_stdc = yes; then
5276 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5277 cat >conftest.$ac_ext <<_ACEOF
5280 cat confdefs.h >>conftest.$ac_ext
5281 cat >>conftest.$ac_ext <<_ACEOF
5282 /* end confdefs.h. */
5286 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5287 $EGREP "memchr" >/dev/null 2>&1; then
5290 ac_cv_header_stdc=no
5296 if test $ac_cv_header_stdc = yes; then
5297 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5298 cat >conftest.$ac_ext <<_ACEOF
5301 cat confdefs.h >>conftest.$ac_ext
5302 cat >>conftest.$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5308 $EGREP "free" >/dev/null 2>&1; then
5311 ac_cv_header_stdc=no
5317 if test $ac_cv_header_stdc = yes; then
5318 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5319 if test "$cross_compiling" = yes; then
5322 cat >conftest.$ac_ext <<_ACEOF
5325 cat confdefs.h >>conftest.$ac_ext
5326 cat >>conftest.$ac_ext <<_ACEOF
5327 /* end confdefs.h. */
5330 #if ((' ' & 0x0FF) == 0x020)
5331 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5332 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5334 # define ISLOWER(c) \
5335 (('a' <= (c) && (c) <= 'i') \
5336 || ('j' <= (c) && (c) <= 'r') \
5337 || ('s' <= (c) && (c) <= 'z'))
5338 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5341 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5346 for (i = 0; i < 256; i++)
5347 if (XOR (islower (i), ISLOWER (i))
5348 || toupper (i) != TOUPPER (i))
5353 rm -f conftest$ac_exeext
5354 if { (ac_try="$ac_link"
5356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5357 *) ac_try_echo
=$ac_try;;
5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5360 (eval "$ac_link") 2>&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5364 { (case "(($ac_try" in
5365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5366 *) ac_try_echo=$ac_try;;
5368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5369 (eval "$ac_try") 2>&5
5371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5372 (exit $ac_status); }; }; then
5375 echo "$as_me: program exited with status $ac_status" >&5
5376 echo "$as_me: failed program was:" >&5
5377 sed 's/^/| /' conftest.$ac_ext >&5
5380 ac_cv_header_stdc=no
5382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5388 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5389 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5390 if test $ac_cv_header_stdc = yes; then
5392 cat >>confdefs.h <<\_ACEOF
5393 #define STDC_HEADERS 1
5398 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5408 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5409 inttypes.h stdint.h unistd.h
5411 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5412 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5415 echo $ECHO_N "(cached) $ECHO_C" >&6
5417 cat >conftest.$ac_ext <<_ACEOF
5420 cat confdefs.h >>conftest.$ac_ext
5421 cat >>conftest.$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5423 $ac_includes_default
5425 #include <$ac_header>
5427 rm -f conftest.$ac_objext
5428 if { (ac_try="$ac_compile"
5430 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5431 *) ac_try_echo
=$ac_try;;
5433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5434 (eval "$ac_compile") 2>conftest.er1
5436 grep -v '^ *+' conftest.er1
>conftest.err
5438 cat conftest.err
>&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); } && {
5441 test -z "$ac_c_werror_flag" ||
5442 test ! -s conftest.err
5443 } && test -s conftest.
$ac_objext; then
5444 eval "$as_ac_Header=yes"
5446 echo "$as_me: failed program was:" >&5
5447 sed 's/^/| /' conftest.
$ac_ext >&5
5449 eval "$as_ac_Header=no"
5452 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5454 ac_res
=`eval echo '${'$as_ac_Header'}'`
5455 { echo "$as_me:$LINENO: result: $ac_res" >&5
5456 echo "${ECHO_T}$ac_res" >&6; }
5457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5458 cat >>confdefs.h
<<_ACEOF
5459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5476 for ac_header
in sys
/ipc.h sys
/shm.h \
5477 sys
/mmap.h sys
/mman.h sysexits.h \
5478 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5481 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5482 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5483 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5485 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5486 echo $ECHO_N "(cached) $ECHO_C" >&6
5488 ac_res
=`eval echo '${'$as_ac_Header'}'`
5489 { echo "$as_me:$LINENO: result: $ac_res" >&5
5490 echo "${ECHO_T}$ac_res" >&6; }
5492 # Is the header compilable?
5493 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5495 cat >conftest.
$ac_ext <<_ACEOF
5498 cat confdefs.h
>>conftest.
$ac_ext
5499 cat >>conftest.
$ac_ext <<_ACEOF
5500 /* end confdefs.h. */
5501 $ac_includes_default
5502 #include <$ac_header>
5504 rm -f conftest.
$ac_objext
5505 if { (ac_try
="$ac_compile"
5507 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5508 *) ac_try_echo=$ac_try;;
5510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5511 (eval "$ac_compile") 2>conftest.er1
5513 grep -v '^ *+' conftest.er1 >conftest.err
5515 cat conftest.err >&5
5516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5517 (exit $ac_status); } && {
5518 test -z "$ac_c_werror_flag" ||
5519 test ! -s conftest.err
5520 } && test -s conftest.$ac_objext; then
5521 ac_header_compiler=yes
5523 echo "$as_me: failed program was:" >&5
5524 sed 's/^/| /' conftest.$ac_ext >&5
5526 ac_header_compiler=no
5529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5530 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5531 echo "${ECHO_T}$ac_header_compiler" >&6; }
5533 # Is the header present?
5534 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5535 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5536 cat >conftest.$ac_ext <<_ACEOF
5539 cat confdefs.h >>conftest.$ac_ext
5540 cat >>conftest.$ac_ext <<_ACEOF
5541 /* end confdefs.h. */
5542 #include <$ac_header>
5544 if { (ac_try="$ac_cpp conftest.$ac_ext"
5546 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5547 *) ac_try_echo
=$ac_try;;
5549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5552 grep -v '^ *+' conftest.er1
>conftest.err
5554 cat conftest.err
>&5
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } >/dev
/null
&& {
5557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5558 test ! -s conftest.err
5560 ac_header_preproc
=yes
5562 echo "$as_me: failed program was:" >&5
5563 sed 's/^/| /' conftest.
$ac_ext >&5
5565 ac_header_preproc
=no
5568 rm -f conftest.err conftest.
$ac_ext
5569 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5570 echo "${ECHO_T}$ac_header_preproc" >&6; }
5572 # So? What about this header?
5573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5579 ac_header_preproc
=yes
5582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5599 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5600 echo $ECHO_N "(cached) $ECHO_C" >&6
5602 eval "$as_ac_Header=\$ac_header_preproc"
5604 ac_res
=`eval echo '${'$as_ac_Header'}'`
5605 { echo "$as_me:$LINENO: result: $ac_res" >&5
5606 echo "${ECHO_T}$ac_res" >&6; }
5609 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5610 cat >>confdefs.h
<<_ACEOF
5611 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5620 for ac_header
in sys
/mount.h
5622 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5623 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5625 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 cat >conftest.
$ac_ext <<_ACEOF
5631 cat confdefs.h
>>conftest.
$ac_ext
5632 cat >>conftest.
$ac_ext <<_ACEOF
5633 /* end confdefs.h. */
5634 #include <sys/param.h>
5636 #include <$ac_header>
5638 rm -f conftest.
$ac_objext
5639 if { (ac_try
="$ac_compile"
5641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5642 *) ac_try_echo=$ac_try;;
5644 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5645 (eval "$ac_compile") 2>conftest.er1
5647 grep -v '^ *+' conftest.er1 >conftest.err
5649 cat conftest.err >&5
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); } && {
5652 test -z "$ac_c_werror_flag" ||
5653 test ! -s conftest.err
5654 } && test -s conftest.$ac_objext; then
5655 eval "$as_ac_Header=yes"
5657 echo "$as_me: failed program was:" >&5
5658 sed 's/^/| /' conftest.$ac_ext >&5
5660 eval "$as_ac_Header=no"
5663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5665 ac_res=`eval echo '${'$as_ac_Header'}'`
5666 { echo "$as_me:$LINENO: result: $ac_res" >&5
5667 echo "${ECHO_T}$ac_res" >&6; }
5668 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5669 cat >>confdefs.h <<_ACEOF
5670 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
5684 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
5685 as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
5686 { echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
5687 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6; }
5688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 cat >conftest.$ac_ext <<_ACEOF
5694 cat confdefs.h >>conftest.$ac_ext
5695 cat >>conftest.$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5697 #include <sys/types.h>
5709 rm -f conftest.$ac_objext
5710 if { (ac_try="$ac_compile"
5712 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5713 *) ac_try_echo
=$ac_try;;
5715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5716 (eval "$ac_compile") 2>conftest.er1
5718 grep -v '^ *+' conftest.er1
>conftest.err
5720 cat conftest.err
>&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); } && {
5723 test -z "$ac_c_werror_flag" ||
5724 test ! -s conftest.err
5725 } && test -s conftest.
$ac_objext; then
5726 eval "$as_ac_Header=yes"
5728 echo "$as_me: failed program was:" >&5
5729 sed 's/^/| /' conftest.
$ac_ext >&5
5731 eval "$as_ac_Header=no"
5734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5736 ac_res
=`eval echo '${'$as_ac_Header'}'`
5737 { echo "$as_me:$LINENO: result: $ac_res" >&5
5738 echo "${ECHO_T}$ac_res" >&6; }
5739 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5740 cat >>confdefs.h
<<_ACEOF
5741 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5744 ac_header_dirent
=$ac_hdr; break
5748 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5749 if test $ac_header_dirent = dirent.h
; then
5750 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5751 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5752 if test "${ac_cv_search_opendir+set}" = set; then
5753 echo $ECHO_N "(cached) $ECHO_C" >&6
5755 ac_func_search_save_LIBS
=$LIBS
5756 cat >conftest.
$ac_ext <<_ACEOF
5759 cat confdefs.h
>>conftest.
$ac_ext
5760 cat >>conftest.
$ac_ext <<_ACEOF
5761 /* end confdefs.h. */
5763 /* Override any GCC internal prototype to avoid an error.
5764 Use char because int might match the return type of a GCC
5765 builtin and then its argument prototype would still apply. */
5778 for ac_lib
in '' dir
; do
5779 if test -z "$ac_lib"; then
5780 ac_res
="none required"
5783 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5785 rm -f conftest.
$ac_objext conftest
$ac_exeext
5786 if { (ac_try
="$ac_link"
5788 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5789 *) ac_try_echo=$ac_try;;
5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5792 (eval "$ac_link") 2>conftest.er1
5794 grep -v '^ *+' conftest.er1 >conftest.err
5796 cat conftest.err >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); } && {
5799 test -z "$ac_c_werror_flag" ||
5800 test ! -s conftest.err
5801 } && test -s conftest$ac_exeext &&
5802 $as_test_x conftest$ac_exeext; then
5803 ac_cv_search_opendir=$ac_res
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.$ac_ext >&5
5811 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5813 if test "${ac_cv_search_opendir+set}" = set; then
5817 if test "${ac_cv_search_opendir+set}" = set; then
5820 ac_cv_search_opendir=no
5823 LIBS=$ac_func_search_save_LIBS
5825 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5826 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5827 ac_res=$ac_cv_search_opendir
5828 if test "$ac_res" != no; then
5829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5834 { echo "$as_me:$LINENO: checking for library containing opendir" >&5
5835 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6; }
5836 if test "${ac_cv_search_opendir+set}" = set; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 ac_func_search_save_LIBS=$LIBS
5840 cat >conftest.$ac_ext <<_ACEOF
5843 cat confdefs.h >>conftest.$ac_ext
5844 cat >>conftest.$ac_ext <<_ACEOF
5845 /* end confdefs.h. */
5847 /* Override any GCC internal prototype to avoid an error.
5848 Use char because int might match the return type of a GCC
5849 builtin and then its argument prototype would still apply. */
5862 for ac_lib in '' x; do
5863 if test -z "$ac_lib"; then
5864 ac_res="none required"
5867 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5869 rm -f conftest.$ac_objext conftest$ac_exeext
5870 if { (ac_try="$ac_link"
5872 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5873 *) ac_try_echo
=$ac_try;;
5875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5876 (eval "$ac_link") 2>conftest.er1
5878 grep -v '^ *+' conftest.er1
>conftest.err
5880 cat conftest.err
>&5
5881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5882 (exit $ac_status); } && {
5883 test -z "$ac_c_werror_flag" ||
5884 test ! -s conftest.err
5885 } && test -s conftest
$ac_exeext &&
5886 $as_test_x conftest
$ac_exeext; then
5887 ac_cv_search_opendir
=$ac_res
5889 echo "$as_me: failed program was:" >&5
5890 sed 's/^/| /' conftest.
$ac_ext >&5
5895 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5897 if test "${ac_cv_search_opendir+set}" = set; then
5901 if test "${ac_cv_search_opendir+set}" = set; then
5904 ac_cv_search_opendir
=no
5907 LIBS
=$ac_func_search_save_LIBS
5909 { echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
5910 echo "${ECHO_T}$ac_cv_search_opendir" >&6; }
5911 ac_res
=$ac_cv_search_opendir
5912 if test "$ac_res" != no
; then
5913 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5919 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
5920 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
5921 if test "${ac_cv_header_stat_broken+set}" = set; then
5922 echo $ECHO_N "(cached) $ECHO_C" >&6
5924 cat >conftest.
$ac_ext <<_ACEOF
5927 cat confdefs.h
>>conftest.
$ac_ext
5928 cat >>conftest.
$ac_ext <<_ACEOF
5929 /* end confdefs.h. */
5930 #include <sys/types.h>
5931 #include <sys/stat.h>
5933 #if defined S_ISBLK && defined S_IFDIR
5934 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5937 #if defined S_ISBLK && defined S_IFCHR
5938 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5941 #if defined S_ISLNK && defined S_IFREG
5942 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5945 #if defined S_ISSOCK && defined S_IFREG
5946 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5950 rm -f conftest.
$ac_objext
5951 if { (ac_try
="$ac_compile"
5953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5954 *) ac_try_echo=$ac_try;;
5956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5957 (eval "$ac_compile") 2>conftest.er1
5959 grep -v '^ *+' conftest.er1 >conftest.err
5961 cat conftest.err >&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); } && {
5964 test -z "$ac_c_werror_flag" ||
5965 test ! -s conftest.err
5966 } && test -s conftest.$ac_objext; then
5967 ac_cv_header_stat_broken=no
5969 echo "$as_me: failed program was:" >&5
5970 sed 's/^/| /' conftest.$ac_ext >&5
5972 ac_cv_header_stat_broken=yes
5975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5977 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
5978 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
5979 if test $ac_cv_header_stat_broken = yes; then
5981 cat >>confdefs.h <<\_ACEOF
5982 #define STAT_MACROS_BROKEN 1
5987 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5988 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
5989 if test "${ac_cv_header_stdc+set}" = set; then
5990 echo $ECHO_N "(cached) $ECHO_C" >&6
5992 cat >conftest.$ac_ext <<_ACEOF
5995 cat confdefs.h >>conftest.$ac_ext
5996 cat >>conftest.$ac_ext <<_ACEOF
5997 /* end confdefs.h. */
6011 rm -f conftest.$ac_objext
6012 if { (ac_try="$ac_compile"
6014 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6015 *) ac_try_echo
=$ac_try;;
6017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6018 (eval "$ac_compile") 2>conftest.er1
6020 grep -v '^ *+' conftest.er1
>conftest.err
6022 cat conftest.err
>&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && {
6025 test -z "$ac_c_werror_flag" ||
6026 test ! -s conftest.err
6027 } && test -s conftest.
$ac_objext; then
6028 ac_cv_header_stdc
=yes
6030 echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.
$ac_ext >&5
6033 ac_cv_header_stdc
=no
6036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6038 if test $ac_cv_header_stdc = yes; then
6039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6040 cat >conftest.
$ac_ext <<_ACEOF
6043 cat confdefs.h
>>conftest.
$ac_ext
6044 cat >>conftest.
$ac_ext <<_ACEOF
6045 /* end confdefs.h. */
6049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6050 $EGREP "memchr" >/dev
/null
2>&1; then
6053 ac_cv_header_stdc
=no
6059 if test $ac_cv_header_stdc = yes; then
6060 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6061 cat >conftest.
$ac_ext <<_ACEOF
6064 cat confdefs.h
>>conftest.
$ac_ext
6065 cat >>conftest.
$ac_ext <<_ACEOF
6066 /* end confdefs.h. */
6070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6071 $EGREP "free" >/dev
/null
2>&1; then
6074 ac_cv_header_stdc
=no
6080 if test $ac_cv_header_stdc = yes; then
6081 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6082 if test "$cross_compiling" = yes; then
6085 cat >conftest.
$ac_ext <<_ACEOF
6088 cat confdefs.h
>>conftest.
$ac_ext
6089 cat >>conftest.
$ac_ext <<_ACEOF
6090 /* end confdefs.h. */
6093 #if ((' ' & 0x0FF) == 0x020)
6094 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6095 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6097 # define ISLOWER(c) \
6098 (('a' <= (c) && (c) <= 'i') \
6099 || ('j' <= (c) && (c) <= 'r') \
6100 || ('s' <= (c) && (c) <= 'z'))
6101 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6104 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6109 for (i = 0; i < 256; i++)
6110 if (XOR (islower (i), ISLOWER (i))
6111 || toupper (i) != TOUPPER (i))
6116 rm -f conftest
$ac_exeext
6117 if { (ac_try
="$ac_link"
6119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6120 *) ac_try_echo=$ac_try;;
6122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6123 (eval "$ac_link") 2>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6127 { (case "(($ac_try" in
6128 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6129 *) ac_try_echo
=$ac_try;;
6131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6132 (eval "$ac_try") 2>&5
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; }; then
6138 echo "$as_me: program exited with status $ac_status" >&5
6139 echo "$as_me: failed program was:" >&5
6140 sed 's/^/| /' conftest.
$ac_ext >&5
6143 ac_cv_header_stdc
=no
6145 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6151 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6152 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
6153 if test $ac_cv_header_stdc = yes; then
6155 cat >>confdefs.h
<<\_ACEOF
6156 #define STDC_HEADERS 1
6161 { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
6162 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
6163 if test "${ac_cv_header_sys_wait_h+set}" = set; then
6164 echo $ECHO_N "(cached) $ECHO_C" >&6
6166 cat >conftest.
$ac_ext <<_ACEOF
6169 cat confdefs.h
>>conftest.
$ac_ext
6170 cat >>conftest.
$ac_ext <<_ACEOF
6171 /* end confdefs.h. */
6172 #include <sys/types.h>
6173 #include <sys/wait.h>
6175 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6178 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6186 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6191 rm -f conftest.
$ac_objext
6192 if { (ac_try
="$ac_compile"
6194 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6195 *) ac_try_echo=$ac_try;;
6197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6198 (eval "$ac_compile") 2>conftest.er1
6200 grep -v '^ *+' conftest.er1 >conftest.err
6202 cat conftest.err >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); } && {
6205 test -z "$ac_c_werror_flag" ||
6206 test ! -s conftest.err
6207 } && test -s conftest.$ac_objext; then
6208 ac_cv_header_sys_wait_h=yes
6210 echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.$ac_ext >&5
6213 ac_cv_header_sys_wait_h=no
6216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6218 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
6219 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
6220 if test $ac_cv_header_sys_wait_h = yes; then
6222 cat >>confdefs.h <<\_ACEOF
6223 #define HAVE_SYS_WAIT_H 1
6228 { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
6229 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
6230 if test "${ac_cv_header_time+set}" = set; then
6231 echo $ECHO_N "(cached) $ECHO_C" >&6
6233 cat >conftest.$ac_ext <<_ACEOF
6236 cat confdefs.h >>conftest.$ac_ext
6237 cat >>conftest.$ac_ext <<_ACEOF
6238 /* end confdefs.h. */
6239 #include <sys/types.h>
6240 #include <sys/time.h>
6246 if ((struct tm *) 0)
6252 rm -f conftest.$ac_objext
6253 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
6261 grep -v '^ *+' conftest.er1
>conftest.err
6263 cat conftest.err
>&5
6264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6265 (exit $ac_status); } && {
6266 test -z "$ac_c_werror_flag" ||
6267 test ! -s conftest.err
6268 } && test -s conftest.
$ac_objext; then
6269 ac_cv_header_time
=yes
6271 echo "$as_me: failed program was:" >&5
6272 sed 's/^/| /' conftest.
$ac_ext >&5
6274 ac_cv_header_time
=no
6277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6279 { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
6280 echo "${ECHO_T}$ac_cv_header_time" >&6; }
6281 if test $ac_cv_header_time = yes; then
6283 cat >>confdefs.h
<<\_ACEOF
6284 #define TIME_WITH_SYS_TIME 1
6289 { echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
6290 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6; }
6291 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
6292 echo $ECHO_N "(cached) $ECHO_C" >&6
6294 cat >conftest.
$ac_ext <<_ACEOF
6297 cat confdefs.h
>>conftest.
$ac_ext
6298 cat >>conftest.
$ac_ext <<_ACEOF
6299 /* end confdefs.h. */
6300 $ac_includes_default
6304 static struct stat ac_aggr;
6305 if (ac_aggr.st_blksize)
6311 rm -f conftest.
$ac_objext
6312 if { (ac_try
="$ac_compile"
6314 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6315 *) ac_try_echo=$ac_try;;
6317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6318 (eval "$ac_compile") 2>conftest.er1
6320 grep -v '^ *+' conftest.er1 >conftest.err
6322 cat conftest.err >&5
6323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6324 (exit $ac_status); } && {
6325 test -z "$ac_c_werror_flag" ||
6326 test ! -s conftest.err
6327 } && test -s conftest.$ac_objext; then
6328 ac_cv_member_struct_stat_st_blksize=yes
6330 echo "$as_me: failed program was:" >&5
6331 sed 's/^/| /' conftest.$ac_ext >&5
6333 cat >conftest.$ac_ext <<_ACEOF
6336 cat confdefs.h >>conftest.$ac_ext
6337 cat >>conftest.$ac_ext <<_ACEOF
6338 /* end confdefs.h. */
6339 $ac_includes_default
6343 static struct stat ac_aggr;
6344 if (sizeof ac_aggr.st_blksize)
6350 rm -f conftest.$ac_objext
6351 if { (ac_try="$ac_compile"
6353 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6354 *) ac_try_echo
=$ac_try;;
6356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6357 (eval "$ac_compile") 2>conftest.er1
6359 grep -v '^ *+' conftest.er1
>conftest.err
6361 cat conftest.err
>&5
6362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6363 (exit $ac_status); } && {
6364 test -z "$ac_c_werror_flag" ||
6365 test ! -s conftest.err
6366 } && test -s conftest.
$ac_objext; then
6367 ac_cv_member_struct_stat_st_blksize
=yes
6369 echo "$as_me: failed program was:" >&5
6370 sed 's/^/| /' conftest.
$ac_ext >&5
6372 ac_cv_member_struct_stat_st_blksize
=no
6375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6380 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
6381 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6; }
6382 if test $ac_cv_member_struct_stat_st_blksize = yes; then
6384 cat >>confdefs.h
<<_ACEOF
6385 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6389 cat >>confdefs.h
<<\_ACEOF
6390 #define HAVE_ST_BLKSIZE 1
6396 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
6397 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
6398 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
6399 echo $ECHO_N "(cached) $ECHO_C" >&6
6401 cat >conftest.
$ac_ext <<_ACEOF
6404 cat confdefs.h
>>conftest.
$ac_ext
6405 cat >>conftest.
$ac_ext <<_ACEOF
6406 /* end confdefs.h. */
6407 $ac_includes_default
6411 static struct stat ac_aggr;
6412 if (ac_aggr.st_blocks)
6418 rm -f conftest.
$ac_objext
6419 if { (ac_try
="$ac_compile"
6421 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6422 *) ac_try_echo=$ac_try;;
6424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6425 (eval "$ac_compile") 2>conftest.er1
6427 grep -v '^ *+' conftest.er1 >conftest.err
6429 cat conftest.err >&5
6430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6431 (exit $ac_status); } && {
6432 test -z "$ac_c_werror_flag" ||
6433 test ! -s conftest.err
6434 } && test -s conftest.$ac_objext; then
6435 ac_cv_member_struct_stat_st_blocks=yes
6437 echo "$as_me: failed program was:" >&5
6438 sed 's/^/| /' conftest.$ac_ext >&5
6440 cat >conftest.$ac_ext <<_ACEOF
6443 cat confdefs.h >>conftest.$ac_ext
6444 cat >>conftest.$ac_ext <<_ACEOF
6445 /* end confdefs.h. */
6446 $ac_includes_default
6450 static struct stat ac_aggr;
6451 if (sizeof ac_aggr.st_blocks)
6457 rm -f conftest.$ac_objext
6458 if { (ac_try="$ac_compile"
6460 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6461 *) ac_try_echo
=$ac_try;;
6463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6464 (eval "$ac_compile") 2>conftest.er1
6466 grep -v '^ *+' conftest.er1
>conftest.err
6468 cat conftest.err
>&5
6469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6470 (exit $ac_status); } && {
6471 test -z "$ac_c_werror_flag" ||
6472 test ! -s conftest.err
6473 } && test -s conftest.
$ac_objext; then
6474 ac_cv_member_struct_stat_st_blocks
=yes
6476 echo "$as_me: failed program was:" >&5
6477 sed 's/^/| /' conftest.
$ac_ext >&5
6479 ac_cv_member_struct_stat_st_blocks
=no
6482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6485 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6487 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
6488 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
6489 if test $ac_cv_member_struct_stat_st_blocks = yes; then
6491 cat >>confdefs.h
<<_ACEOF
6492 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6496 cat >>confdefs.h
<<\_ACEOF
6497 #define HAVE_ST_BLOCKS 1
6501 case " $LIBOBJS " in
6502 *" fileblocks.$ac_objext "* ) ;;
6503 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6510 { echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
6511 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6; }
6512 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 cat >conftest.
$ac_ext <<_ACEOF
6518 cat confdefs.h
>>conftest.
$ac_ext
6519 cat >>conftest.
$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6521 $ac_includes_default
6525 static struct stat ac_aggr;
6526 if (ac_aggr.st_rdev)
6532 rm -f conftest.
$ac_objext
6533 if { (ac_try
="$ac_compile"
6535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6536 *) ac_try_echo=$ac_try;;
6538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6539 (eval "$ac_compile") 2>conftest.er1
6541 grep -v '^ *+' conftest.er1 >conftest.err
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } && {
6546 test -z "$ac_c_werror_flag" ||
6547 test ! -s conftest.err
6548 } && test -s conftest.$ac_objext; then
6549 ac_cv_member_struct_stat_st_rdev=yes
6551 echo "$as_me: failed program was:" >&5
6552 sed 's/^/| /' conftest.$ac_ext >&5
6554 cat >conftest.$ac_ext <<_ACEOF
6557 cat confdefs.h >>conftest.$ac_ext
6558 cat >>conftest.$ac_ext <<_ACEOF
6559 /* end confdefs.h. */
6560 $ac_includes_default
6564 static struct stat ac_aggr;
6565 if (sizeof ac_aggr.st_rdev)
6571 rm -f conftest.$ac_objext
6572 if { (ac_try="$ac_compile"
6574 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6575 *) ac_try_echo
=$ac_try;;
6577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6578 (eval "$ac_compile") 2>conftest.er1
6580 grep -v '^ *+' conftest.er1
>conftest.err
6582 cat conftest.err
>&5
6583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6584 (exit $ac_status); } && {
6585 test -z "$ac_c_werror_flag" ||
6586 test ! -s conftest.err
6587 } && test -s conftest.
$ac_objext; then
6588 ac_cv_member_struct_stat_st_rdev
=yes
6590 echo "$as_me: failed program was:" >&5
6591 sed 's/^/| /' conftest.
$ac_ext >&5
6593 ac_cv_member_struct_stat_st_rdev
=no
6596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6599 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6601 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
6602 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6; }
6603 if test $ac_cv_member_struct_stat_st_rdev = yes; then
6605 cat >>confdefs.h
<<_ACEOF
6606 #define HAVE_STRUCT_STAT_ST_RDEV 1
6610 cat >>confdefs.h
<<\_ACEOF
6611 #define HAVE_ST_RDEV 1
6617 { echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
6618 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6; }
6619 if test "${ac_cv_struct_tm+set}" = set; then
6620 echo $ECHO_N "(cached) $ECHO_C" >&6
6622 cat >conftest.
$ac_ext <<_ACEOF
6625 cat confdefs.h
>>conftest.
$ac_ext
6626 cat >>conftest.
$ac_ext <<_ACEOF
6627 /* end confdefs.h. */
6628 #include <sys/types.h>
6635 int *p = &tm.tm_sec;
6641 rm -f conftest.
$ac_objext
6642 if { (ac_try
="$ac_compile"
6644 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6645 *) ac_try_echo=$ac_try;;
6647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6648 (eval "$ac_compile") 2>conftest.er1
6650 grep -v '^ *+' conftest.er1 >conftest.err
6652 cat conftest.err >&5
6653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6654 (exit $ac_status); } && {
6655 test -z "$ac_c_werror_flag" ||
6656 test ! -s conftest.err
6657 } && test -s conftest.$ac_objext; then
6658 ac_cv_struct_tm=time.h
6660 echo "$as_me: failed program was:" >&5
6661 sed 's/^/| /' conftest.$ac_ext >&5
6663 ac_cv_struct_tm=sys/time.h
6666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6668 { echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
6669 echo "${ECHO_T}$ac_cv_struct_tm" >&6; }
6670 if test $ac_cv_struct_tm = sys/time.h; then
6672 cat >>confdefs.h <<\_ACEOF
6673 #define TM_IN_SYS_TIME 1
6678 { echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
6679 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6; }
6680 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
6681 echo $ECHO_N "(cached) $ECHO_C" >&6
6683 cat >conftest.$ac_ext <<_ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6689 #include <sys/types.h>
6690 #include <$ac_cv_struct_tm>
6696 static struct tm ac_aggr;
6697 if (ac_aggr.tm_zone)
6703 rm -f conftest.$ac_objext
6704 if { (ac_try="$ac_compile"
6706 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6707 *) ac_try_echo
=$ac_try;;
6709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6710 (eval "$ac_compile") 2>conftest.er1
6712 grep -v '^ *+' conftest.er1
>conftest.err
6714 cat conftest.err
>&5
6715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6716 (exit $ac_status); } && {
6717 test -z "$ac_c_werror_flag" ||
6718 test ! -s conftest.err
6719 } && test -s conftest.
$ac_objext; then
6720 ac_cv_member_struct_tm_tm_zone
=yes
6722 echo "$as_me: failed program was:" >&5
6723 sed 's/^/| /' conftest.
$ac_ext >&5
6725 cat >conftest.
$ac_ext <<_ACEOF
6728 cat confdefs.h
>>conftest.
$ac_ext
6729 cat >>conftest.
$ac_ext <<_ACEOF
6730 /* end confdefs.h. */
6731 #include <sys/types.h>
6732 #include <$ac_cv_struct_tm>
6738 static struct tm ac_aggr;
6739 if (sizeof ac_aggr.tm_zone)
6745 rm -f conftest.
$ac_objext
6746 if { (ac_try
="$ac_compile"
6748 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6749 *) ac_try_echo=$ac_try;;
6751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6752 (eval "$ac_compile") 2>conftest.er1
6754 grep -v '^ *+' conftest.er1 >conftest.err
6756 cat conftest.err >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } && {
6759 test -z "$ac_c_werror_flag" ||
6760 test ! -s conftest.err
6761 } && test -s conftest.$ac_objext; then
6762 ac_cv_member_struct_tm_tm_zone=yes
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.$ac_ext >&5
6767 ac_cv_member_struct_tm_tm_zone=no
6770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6775 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
6776 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6; }
6777 if test $ac_cv_member_struct_tm_tm_zone = yes; then
6779 cat >>confdefs.h <<_ACEOF
6780 #define HAVE_STRUCT_TM_TM_ZONE 1
6786 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6788 cat >>confdefs.h <<\_ACEOF
6789 #define HAVE_TM_ZONE 1
6793 { echo "$as_me:$LINENO: checking whether tzname is declared" >&5
6794 echo $ECHO_N "checking whether tzname is declared... $ECHO_C" >&6; }
6795 if test "${ac_cv_have_decl_tzname+set}" = set; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 cat >conftest.$ac_ext <<_ACEOF
6801 cat confdefs.h >>conftest.$ac_ext
6802 cat >>conftest.$ac_ext <<_ACEOF
6803 /* end confdefs.h. */
6817 rm -f conftest.$ac_objext
6818 if { (ac_try="$ac_compile"
6820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6821 *) ac_try_echo
=$ac_try;;
6823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6824 (eval "$ac_compile") 2>conftest.er1
6826 grep -v '^ *+' conftest.er1
>conftest.err
6828 cat conftest.err
>&5
6829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6830 (exit $ac_status); } && {
6831 test -z "$ac_c_werror_flag" ||
6832 test ! -s conftest.err
6833 } && test -s conftest.
$ac_objext; then
6834 ac_cv_have_decl_tzname
=yes
6836 echo "$as_me: failed program was:" >&5
6837 sed 's/^/| /' conftest.
$ac_ext >&5
6839 ac_cv_have_decl_tzname
=no
6842 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6844 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_tzname" >&5
6845 echo "${ECHO_T}$ac_cv_have_decl_tzname" >&6; }
6846 if test $ac_cv_have_decl_tzname = yes; then
6848 cat >>confdefs.h
<<_ACEOF
6849 #define HAVE_DECL_TZNAME 1
6854 cat >>confdefs.h
<<_ACEOF
6855 #define HAVE_DECL_TZNAME 0
6862 { echo "$as_me:$LINENO: checking for tzname" >&5
6863 echo $ECHO_N "checking for tzname... $ECHO_C" >&6; }
6864 if test "${ac_cv_var_tzname+set}" = set; then
6865 echo $ECHO_N "(cached) $ECHO_C" >&6
6867 cat >conftest.
$ac_ext <<_ACEOF
6870 cat confdefs.h
>>conftest.
$ac_ext
6871 cat >>conftest.
$ac_ext <<_ACEOF
6872 /* end confdefs.h. */
6874 #if !HAVE_DECL_TZNAME
6875 extern char *tzname[];
6881 return tzname[0][0];
6886 rm -f conftest.
$ac_objext conftest
$ac_exeext
6887 if { (ac_try
="$ac_link"
6889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6890 *) ac_try_echo=$ac_try;;
6892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893 (eval "$ac_link") 2>conftest.er1
6895 grep -v '^ *+' conftest.er1 >conftest.err
6897 cat conftest.err >&5
6898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6899 (exit $ac_status); } && {
6900 test -z "$ac_c_werror_flag" ||
6901 test ! -s conftest.err
6902 } && test -s conftest$ac_exeext &&
6903 $as_test_x conftest$ac_exeext; then
6904 ac_cv_var_tzname=yes
6906 echo "$as_me: failed program was:" >&5
6907 sed 's/^/| /' conftest.$ac_ext >&5
6912 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6913 conftest$ac_exeext conftest.$ac_ext
6915 { echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
6916 echo "${ECHO_T}$ac_cv_var_tzname" >&6; }
6917 if test $ac_cv_var_tzname = yes; then
6919 cat >>confdefs.h <<\_ACEOF
6920 #define HAVE_TZNAME 1
6926 { echo "$as_me:$LINENO: checking for off_t" >&5
6927 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
6928 if test "${ac_cv_type_off_t+set}" = set; then
6929 echo $ECHO_N "(cached) $ECHO_C" >&6
6931 cat >conftest.$ac_ext <<_ACEOF
6934 cat confdefs.h >>conftest.$ac_ext
6935 cat >>conftest.$ac_ext <<_ACEOF
6936 /* end confdefs.h. */
6937 $ac_includes_default
6938 typedef off_t ac__type_new_;
6942 if ((ac__type_new_ *) 0)
6944 if (sizeof (ac__type_new_))
6950 rm -f conftest.$ac_objext
6951 if { (ac_try="$ac_compile"
6953 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6954 *) ac_try_echo
=$ac_try;;
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_compile") 2>conftest.er1
6959 grep -v '^ *+' conftest.er1
>conftest.err
6961 cat conftest.err
>&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } && {
6964 test -z "$ac_c_werror_flag" ||
6965 test ! -s conftest.err
6966 } && test -s conftest.
$ac_objext; then
6967 ac_cv_type_off_t
=yes
6969 echo "$as_me: failed program was:" >&5
6970 sed 's/^/| /' conftest.
$ac_ext >&5
6975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6977 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6978 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
6979 if test $ac_cv_type_off_t = yes; then
6983 cat >>confdefs.h
<<_ACEOF
6984 #define off_t long int
6989 { echo "$as_me:$LINENO: checking for pid_t" >&5
6990 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
6991 if test "${ac_cv_type_pid_t+set}" = set; then
6992 echo $ECHO_N "(cached) $ECHO_C" >&6
6994 cat >conftest.
$ac_ext <<_ACEOF
6997 cat confdefs.h
>>conftest.
$ac_ext
6998 cat >>conftest.
$ac_ext <<_ACEOF
6999 /* end confdefs.h. */
7000 $ac_includes_default
7001 typedef pid_t ac__type_new_;
7005 if ((ac__type_new_ *) 0)
7007 if (sizeof (ac__type_new_))
7013 rm -f conftest.
$ac_objext
7014 if { (ac_try
="$ac_compile"
7016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7017 *) ac_try_echo=$ac_try;;
7019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7020 (eval "$ac_compile") 2>conftest.er1
7022 grep -v '^ *+' conftest.er1 >conftest.err
7024 cat conftest.err >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); } && {
7027 test -z "$ac_c_werror_flag" ||
7028 test ! -s conftest.err
7029 } && test -s conftest.$ac_objext; then
7030 ac_cv_type_pid_t=yes
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7040 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
7041 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
7042 if test $ac_cv_type_pid_t = yes; then
7046 cat >>confdefs.h <<_ACEOF
7052 { echo "$as_me:$LINENO: checking for size_t" >&5
7053 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
7054 if test "${ac_cv_type_size_t+set}" = set; then
7055 echo $ECHO_N "(cached) $ECHO_C" >&6
7057 cat >conftest.$ac_ext <<_ACEOF
7060 cat confdefs.h >>conftest.$ac_ext
7061 cat >>conftest.$ac_ext <<_ACEOF
7062 /* end confdefs.h. */
7063 $ac_includes_default
7064 typedef size_t ac__type_new_;
7068 if ((ac__type_new_ *) 0)
7070 if (sizeof (ac__type_new_))
7076 rm -f conftest.$ac_objext
7077 if { (ac_try="$ac_compile"
7079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7080 *) ac_try_echo
=$ac_try;;
7082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7083 (eval "$ac_compile") 2>conftest.er1
7085 grep -v '^ *+' conftest.er1
>conftest.err
7087 cat conftest.err
>&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); } && {
7090 test -z "$ac_c_werror_flag" ||
7091 test ! -s conftest.err
7092 } && test -s conftest.
$ac_objext; then
7093 ac_cv_type_size_t
=yes
7095 echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.
$ac_ext >&5
7098 ac_cv_type_size_t
=no
7101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7103 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
7104 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
7105 if test $ac_cv_type_size_t = yes; then
7109 cat >>confdefs.h
<<_ACEOF
7110 #define size_t unsigned int
7115 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
7116 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
7117 if test "${ac_cv_type_uid_t+set}" = set; then
7118 echo $ECHO_N "(cached) $ECHO_C" >&6
7120 cat >conftest.
$ac_ext <<_ACEOF
7123 cat confdefs.h
>>conftest.
$ac_ext
7124 cat >>conftest.
$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7126 #include <sys/types.h>
7129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7130 $EGREP "uid_t" >/dev
/null
2>&1; then
7131 ac_cv_type_uid_t
=yes
7138 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
7139 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
7140 if test $ac_cv_type_uid_t = no
; then
7142 cat >>confdefs.h
<<\_ACEOF
7147 cat >>confdefs.h
<<\_ACEOF
7154 { echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
7155 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6; }
7156 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
7157 echo $ECHO_N "(cached) $ECHO_C" >&6
7159 cat >conftest.
$ac_ext <<_ACEOF
7162 cat confdefs.h
>>conftest.
$ac_ext
7163 cat >>conftest.
$ac_ext <<_ACEOF
7164 /* end confdefs.h. */
7165 $ac_includes_default
7169 static struct tm ac_aggr;
7170 if (ac_aggr.tm_gmtoff)
7176 rm -f conftest.
$ac_objext
7177 if { (ac_try
="$ac_compile"
7179 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7180 *) ac_try_echo=$ac_try;;
7182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7183 (eval "$ac_compile") 2>conftest.er1
7185 grep -v '^ *+' conftest.er1 >conftest.err
7187 cat conftest.err >&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } && {
7190 test -z "$ac_c_werror_flag" ||
7191 test ! -s conftest.err
7192 } && test -s conftest.$ac_objext; then
7193 ac_cv_member_struct_tm_tm_gmtoff=yes
7195 echo "$as_me: failed program was:" >&5
7196 sed 's/^/| /' conftest.$ac_ext >&5
7198 cat >conftest.$ac_ext <<_ACEOF
7201 cat confdefs.h >>conftest.$ac_ext
7202 cat >>conftest.$ac_ext <<_ACEOF
7203 /* end confdefs.h. */
7204 $ac_includes_default
7208 static struct tm ac_aggr;
7209 if (sizeof ac_aggr.tm_gmtoff)
7215 rm -f conftest.$ac_objext
7216 if { (ac_try="$ac_compile"
7218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7219 *) ac_try_echo
=$ac_try;;
7221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7222 (eval "$ac_compile") 2>conftest.er1
7224 grep -v '^ *+' conftest.er1
>conftest.err
7226 cat conftest.err
>&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } && {
7229 test -z "$ac_c_werror_flag" ||
7230 test ! -s conftest.err
7231 } && test -s conftest.
$ac_objext; then
7232 ac_cv_member_struct_tm_tm_gmtoff
=yes
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.
$ac_ext >&5
7237 ac_cv_member_struct_tm_tm_gmtoff
=no
7240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7245 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
7246 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6; }
7247 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
7249 cat >>confdefs.h
<<_ACEOF
7250 #define HAVE_STRUCT_TM_TM_GMTOFF 1
7257 # Look for some functions
7272 for ac_func
in getpagesize kqueue statfs statvfs \
7273 clone kse_create rfork_thread thr_create sa_register \
7274 getcontext makecontext setcontext sigaltstack swapcontext
7276 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7277 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7279 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7280 echo $ECHO_N "(cached) $ECHO_C" >&6
7282 cat >conftest.
$ac_ext <<_ACEOF
7285 cat confdefs.h
>>conftest.
$ac_ext
7286 cat >>conftest.
$ac_ext <<_ACEOF
7287 /* end confdefs.h. */
7288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7290 #define $ac_func innocuous_$ac_func
7292 /* System header to define __stub macros and hopefully few prototypes,
7293 which can conflict with char $ac_func (); below.
7294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7295 <limits.h> exists even on freestanding compilers. */
7298 # include <limits.h>
7300 # include <assert.h>
7305 /* Override any GCC internal prototype to avoid an error.
7306 Use char because int might match the return type of a GCC
7307 builtin and then its argument prototype would still apply. */
7312 /* The GNU C library defines this for functions which it implements
7313 to always fail with ENOSYS. Some functions are actually named
7314 something starting with __ and the normal name is an alias. */
7315 #if defined __stub_$ac_func || defined __stub___$ac_func
7327 rm -f conftest.
$ac_objext conftest
$ac_exeext
7328 if { (ac_try
="$ac_link"
7330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7331 *) ac_try_echo=$ac_try;;
7333 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7334 (eval "$ac_link") 2>conftest.er1
7336 grep -v '^ *+' conftest.er1 >conftest.err
7338 cat conftest.err >&5
7339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7340 (exit $ac_status); } && {
7341 test -z "$ac_c_werror_flag" ||
7342 test ! -s conftest.err
7343 } && test -s conftest$ac_exeext &&
7344 $as_test_x conftest$ac_exeext; then
7345 eval "$as_ac_var=yes"
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.$ac_ext >&5
7350 eval "$as_ac_var=no"
7353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7354 conftest$ac_exeext conftest.$ac_ext
7356 ac_res=`eval echo '${'$as_ac_var'}'`
7357 { echo "$as_me:$LINENO: result: $ac_res" >&5
7358 echo "${ECHO_T}$ac_res" >&6; }
7359 if test `eval echo '${'$as_ac_var'}'` = yes; then
7360 cat >>confdefs.h <<_ACEOF
7361 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7370 for ac_header in stdlib.h unistd.h
7372 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7373 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7374 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7376 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7377 echo $ECHO_N "(cached) $ECHO_C" >&6
7379 ac_res=`eval echo '${'$as_ac_Header'}'`
7380 { echo "$as_me:$LINENO: result: $ac_res" >&5
7381 echo "${ECHO_T}$ac_res" >&6; }
7383 # Is the header compilable?
7384 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7385 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7386 cat >conftest.$ac_ext <<_ACEOF
7389 cat confdefs.h >>conftest.$ac_ext
7390 cat >>conftest.$ac_ext <<_ACEOF
7391 /* end confdefs.h. */
7392 $ac_includes_default
7393 #include <$ac_header>
7395 rm -f conftest.$ac_objext
7396 if { (ac_try="$ac_compile"
7398 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7399 *) ac_try_echo
=$ac_try;;
7401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7402 (eval "$ac_compile") 2>conftest.er1
7404 grep -v '^ *+' conftest.er1
>conftest.err
7406 cat conftest.err
>&5
7407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7408 (exit $ac_status); } && {
7409 test -z "$ac_c_werror_flag" ||
7410 test ! -s conftest.err
7411 } && test -s conftest.
$ac_objext; then
7412 ac_header_compiler
=yes
7414 echo "$as_me: failed program was:" >&5
7415 sed 's/^/| /' conftest.
$ac_ext >&5
7417 ac_header_compiler
=no
7420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7421 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7422 echo "${ECHO_T}$ac_header_compiler" >&6; }
7424 # Is the header present?
7425 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7427 cat >conftest.
$ac_ext <<_ACEOF
7430 cat confdefs.h
>>conftest.
$ac_ext
7431 cat >>conftest.
$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7433 #include <$ac_header>
7435 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7443 grep -v '^ *+' conftest.er1 >conftest.err
7445 cat conftest.err >&5
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); } >/dev/null && {
7448 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7449 test ! -s conftest.err
7451 ac_header_preproc=yes
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7456 ac_header_preproc=no
7459 rm -f conftest.err conftest.$ac_ext
7460 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7461 echo "${ECHO_T}$ac_header_preproc" >&6; }
7463 # So? What about this header?
7464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7466 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7470 ac_header_preproc=yes
7473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7477 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7479 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7480 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7481 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7488 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7490 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7491 echo $ECHO_N "(cached) $ECHO_C" >&6
7493 eval "$as_ac_Header=\$ac_header_preproc"
7495 ac_res=`eval echo '${'$as_ac_Header'}'`
7496 { echo "$as_me:$LINENO: result: $ac_res" >&5
7497 echo "${ECHO_T}$ac_res" >&6; }
7500 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7501 cat >>confdefs.h <<_ACEOF
7502 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7510 for ac_func in getpagesize
7512 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7513 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7515 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7516 echo $ECHO_N "(cached) $ECHO_C" >&6
7518 cat >conftest.$ac_ext <<_ACEOF
7521 cat confdefs.h >>conftest.$ac_ext
7522 cat >>conftest.$ac_ext <<_ACEOF
7523 /* end confdefs.h. */
7524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7526 #define $ac_func innocuous_$ac_func
7528 /* System header to define __stub macros and hopefully few prototypes,
7529 which can conflict with char $ac_func (); below.
7530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7531 <limits.h> exists even on freestanding compilers. */
7534 # include <limits.h>
7536 # include <assert.h>
7541 /* Override any GCC internal prototype to avoid an error.
7542 Use char because int might match the return type of a GCC
7543 builtin and then its argument prototype would still apply. */
7548 /* The GNU C library defines this for functions which it implements
7549 to always fail with ENOSYS. Some functions are actually named
7550 something starting with __ and the normal name is an alias. */
7551 #if defined __stub_$ac_func || defined __stub___$ac_func
7563 rm -f conftest.$ac_objext conftest$ac_exeext
7564 if { (ac_try="$ac_link"
7566 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7567 *) ac_try_echo
=$ac_try;;
7569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7570 (eval "$ac_link") 2>conftest.er1
7572 grep -v '^ *+' conftest.er1
>conftest.err
7574 cat conftest.err
>&5
7575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7576 (exit $ac_status); } && {
7577 test -z "$ac_c_werror_flag" ||
7578 test ! -s conftest.err
7579 } && test -s conftest
$ac_exeext &&
7580 $as_test_x conftest
$ac_exeext; then
7581 eval "$as_ac_var=yes"
7583 echo "$as_me: failed program was:" >&5
7584 sed 's/^/| /' conftest.
$ac_ext >&5
7586 eval "$as_ac_var=no"
7589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7590 conftest
$ac_exeext conftest.
$ac_ext
7592 ac_res
=`eval echo '${'$as_ac_var'}'`
7593 { echo "$as_me:$LINENO: result: $ac_res" >&5
7594 echo "${ECHO_T}$ac_res" >&6; }
7595 if test `eval echo '${'$as_ac_var'}'` = yes; then
7596 cat >>confdefs.h
<<_ACEOF
7597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7603 { echo "$as_me:$LINENO: checking for working mmap" >&5
7604 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6; }
7605 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
7606 echo $ECHO_N "(cached) $ECHO_C" >&6
7608 if test "$cross_compiling" = yes; then
7609 ac_cv_func_mmap_fixed_mapped
=no
7611 cat >conftest.
$ac_ext <<_ACEOF
7614 cat confdefs.h
>>conftest.
$ac_ext
7615 cat >>conftest.
$ac_ext <<_ACEOF
7616 /* end confdefs.h. */
7617 $ac_includes_default
7618 /* malloc might have been renamed as rpl_malloc. */
7621 /* Thanks to Mike Haertel and Jim Avera for this test.
7622 Here is a matrix of mmap possibilities:
7623 mmap private not fixed
7624 mmap private fixed at somewhere currently unmapped
7625 mmap private fixed at somewhere already mapped
7626 mmap shared not fixed
7627 mmap shared fixed at somewhere currently unmapped
7628 mmap shared fixed at somewhere already mapped
7629 For private mappings, we should verify that changes cannot be read()
7630 back from the file, nor mmap's back from the file at a different
7631 address. (There have been systems where private was not correctly
7632 implemented like the infamous i386 svr4.0, and systems where the
7633 VM page cache was not coherent with the file system buffer cache
7634 like early versions of FreeBSD and possibly contemporary NetBSD.)
7635 For shared mappings, we should conversely verify that changes get
7636 propagated back to all the places they're supposed to be.
7638 Grep wants private fixed already mapped.
7639 The main things grep needs to know about mmap are:
7640 * does it exist and is it safe to write into the mmap'd area
7641 * how to use it (BSD variants) */
7644 #include <sys/mman.h>
7646 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
7650 /* This mess was copied from the GNU getpagesize.h. */
7651 #ifndef HAVE_GETPAGESIZE
7652 /* Assume that all systems that can run configure have sys/param.h. */
7653 # ifndef HAVE_SYS_PARAM_H
7654 # define HAVE_SYS_PARAM_H 1
7657 # ifdef _SC_PAGESIZE
7658 # define getpagesize() sysconf(_SC_PAGESIZE)
7659 # else /* no _SC_PAGESIZE */
7660 # ifdef HAVE_SYS_PARAM_H
7661 # include <sys/param.h>
7662 # ifdef EXEC_PAGESIZE
7663 # define getpagesize() EXEC_PAGESIZE
7664 # else /* no EXEC_PAGESIZE */
7666 # define getpagesize() NBPG * CLSIZE
7669 # endif /* no CLSIZE */
7670 # else /* no NBPG */
7672 # define getpagesize() NBPC
7673 # else /* no NBPC */
7675 # define getpagesize() PAGESIZE
7676 # endif /* PAGESIZE */
7677 # endif /* no NBPC */
7678 # endif /* no NBPG */
7679 # endif /* no EXEC_PAGESIZE */
7680 # else /* no HAVE_SYS_PARAM_H */
7681 # define getpagesize() 8192 /* punt totally */
7682 # endif /* no HAVE_SYS_PARAM_H */
7683 # endif /* no _SC_PAGESIZE */
7685 #endif /* no HAVE_GETPAGESIZE */
7690 char *data, *data2, *data3;
7694 pagesize = getpagesize ();
7696 /* First, make a file with some known garbage in it. */
7697 data = (char *) malloc (pagesize);
7700 for (i = 0; i < pagesize; ++i)
7701 *(data + i) = rand ();
7703 fd = creat ("conftest.mmap", 0600);
7706 if (write (fd, data, pagesize) != pagesize)
7710 /* Next, try to mmap the file at a fixed address which already has
7711 something else allocated at it. If we can, also make sure that
7712 we see the same garbage. */
7713 fd = open ("conftest.mmap", O_RDWR);
7716 data2 = (char *) malloc (2 * pagesize);
7719 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
7720 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
7721 MAP_PRIVATE | MAP_FIXED, fd, 0L))
7723 for (i = 0; i < pagesize; ++i)
7724 if (*(data + i) != *(data2 + i))
7727 /* Finally, make sure that changes to the mapped area do not
7728 percolate back to the file as seen by read(). (This is a bug on
7729 some variants of i386 svr4.0.) */
7730 for (i = 0; i < pagesize; ++i)
7731 *(data2 + i) = *(data2 + i) + 1;
7732 data3 = (char *) malloc (pagesize);
7735 if (read (fd, data3, pagesize) != pagesize)
7737 for (i = 0; i < pagesize; ++i)
7738 if (*(data + i) != *(data3 + i))
7744 rm -f conftest
$ac_exeext
7745 if { (ac_try
="$ac_link"
7747 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7748 *) ac_try_echo=$ac_try;;
7750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7751 (eval "$ac_link") 2>&5
7753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7754 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7755 { (case "(($ac_try" in
7756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7757 *) ac_try_echo
=$ac_try;;
7759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7760 (eval "$ac_try") 2>&5
7762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7763 (exit $ac_status); }; }; then
7764 ac_cv_func_mmap_fixed_mapped
=yes
7766 echo "$as_me: program exited with status $ac_status" >&5
7767 echo "$as_me: failed program was:" >&5
7768 sed 's/^/| /' conftest.
$ac_ext >&5
7771 ac_cv_func_mmap_fixed_mapped
=no
7773 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7778 { echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
7779 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6; }
7780 if test $ac_cv_func_mmap_fixed_mapped = yes; then
7782 cat >>confdefs.h
<<\_ACEOF
7791 { echo "$as_me:$LINENO: checking for X" >&5
7792 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7795 # Check whether --with-x was given.
7796 if test "${with_x+set}" = set; then
7800 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7801 if test "x$with_x" = xno
; then
7802 # The user explicitly disabled X.
7805 case $x_includes,$x_libraries in #(
7806 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
7807 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
7808 { (exit 1); exit 1; }; };; #(
7809 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
7810 echo $ECHO_N "(cached) $ECHO_C" >&6
7812 # One or both of the vars are not set, and there is no cached value.
7813 ac_x_includes
=no ac_x_libraries
=no
7814 rm -f -r conftest.dir
7815 if mkdir conftest.dir
; then
7817 cat >Imakefile
<<'_ACEOF'
7819 @echo incroot='${INCROOT}'
7821 @echo usrlibdir='${USRLIBDIR}'
7823 @echo libdir='${LIBDIR}'
7825 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7826 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7827 for ac_var
in incroot usrlibdir libdir
; do
7828 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7830 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7831 for ac_extension
in a so sl
; do
7832 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7833 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7834 ac_im_usrlibdir
=$ac_im_libdir; break
7837 # Screen out bogus values from the imake configuration. They are
7838 # bogus both because they are the default anyway, and because
7839 # using them would break gcc on systems where it needs fixed includes.
7840 case $ac_im_incroot in
7841 /usr
/include
) ac_x_includes
= ;;
7842 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7844 case $ac_im_usrlibdir in
7846 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7850 rm -f -r conftest.dir
7853 # Standard set of common directories for X headers.
7854 # Check X11 before X11Rn because it is often a symlink to the current release.
7866 /usr/local/X11/include
7867 /usr/local/X11R6/include
7868 /usr/local/X11R5/include
7869 /usr/local/X11R4/include
7871 /usr/local/include/X11
7872 /usr/local/include/X11R6
7873 /usr/local/include/X11R5
7874 /usr/local/include/X11R4
7878 /usr/XFree86/include/X11
7882 /usr/unsupported/include
7884 /usr/local/x11r5/include
7885 /usr/lpp/Xamples/include
7887 /usr/openwin/include
7888 /usr/openwin/share/include'
7890 if test "$ac_x_includes" = no
; then
7891 # Guess where to find include files, by looking for Xlib.h.
7892 # First, try using that file with no special directory specified.
7893 cat >conftest.
$ac_ext <<_ACEOF
7896 cat confdefs.h
>>conftest.
$ac_ext
7897 cat >>conftest.
$ac_ext <<_ACEOF
7898 /* end confdefs.h. */
7899 #include <X11/Xlib.h>
7901 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7904 *) ac_try_echo=$ac_try;;
7906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7907 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7909 grep -v '^ *+' conftest.er1 >conftest.err
7911 cat conftest.err >&5
7912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7913 (exit $ac_status); } >/dev/null && {
7914 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7915 test ! -s conftest.err
7917 # We can compile using X headers with no special include directory.
7920 echo "$as_me: failed program was:" >&5
7921 sed 's/^/| /' conftest.$ac_ext >&5
7923 for ac_dir in $ac_x_header_dirs; do
7924 if test -r "$ac_dir/X11/Xlib.h"; then
7925 ac_x_includes=$ac_dir
7931 rm -f conftest.err conftest.$ac_ext
7932 fi # $ac_x_includes = no
7934 if test "$ac_x_libraries" = no; then
7935 # Check for the libraries.
7936 # See if we find them without any special options.
7937 # Don't add to $LIBS permanently.
7940 cat >conftest.$ac_ext <<_ACEOF
7943 cat confdefs.h >>conftest.$ac_ext
7944 cat >>conftest.$ac_ext <<_ACEOF
7945 /* end confdefs.h. */
7946 #include <X11/Xlib.h>
7955 rm -f conftest.$ac_objext conftest$ac_exeext
7956 if { (ac_try="$ac_link"
7958 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7959 *) ac_try_echo
=$ac_try;;
7961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7962 (eval "$ac_link") 2>conftest.er1
7964 grep -v '^ *+' conftest.er1
>conftest.err
7966 cat conftest.err
>&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); } && {
7969 test -z "$ac_c_werror_flag" ||
7970 test ! -s conftest.err
7971 } && test -s conftest
$ac_exeext &&
7972 $as_test_x conftest
$ac_exeext; then
7974 # We can link X programs with no special library path.
7977 echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.
$ac_ext >&5
7981 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7983 # Don't even attempt the hair of trying to link an X program!
7984 for ac_extension
in a so sl
; do
7985 if test -r "$ac_dir/libX11.$ac_extension"; then
7986 ac_x_libraries
=$ac_dir
7993 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7994 conftest
$ac_exeext conftest.
$ac_ext
7995 fi # $ac_x_libraries = no
7997 case $ac_x_includes,$ac_x_libraries in #(
7999 # Didn't find X, or a directory has "'" in its name.
8000 ac_cv_have_x
="have_x=no";; #(
8002 # Record where we found X for the cache.
8003 ac_cv_have_x
="have_x=yes\
8004 ac_x_includes='$ac_x_includes'\
8005 ac_x_libraries='$ac_x_libraries'"
8011 eval "$ac_cv_have_x"
8014 if test "$have_x" != yes; then
8015 { echo "$as_me:$LINENO: result: $have_x" >&5
8016 echo "${ECHO_T}$have_x" >&6; }
8019 # If each of the values was on the command line, it overrides each guess.
8020 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8021 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8022 # Update the cache value to reflect the command line values.
8023 ac_cv_have_x
="have_x=yes\
8024 ac_x_includes='$x_includes'\
8025 ac_x_libraries='$x_libraries'"
8026 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
8027 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
8033 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
8034 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
8035 aros_config_ldflags
=""
8037 aros_shared_default
=yes
8039 aros_shared_cflags
="-fPIC"
8040 aros_shared_aflags
=""
8041 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8042 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8044 aros_target_ar_flags
="cr"
8045 aros_target_nm_flags
="-C -ul"
8046 aros_target_strip_flags
="--strip-unneeded -R.comment"
8050 aros_target_genmap
="-Wl,-Map -Xlinker"
8052 # Native flavour stuff
8054 aros_serial_debug
="0"
8056 # Palm native flavour stuff
8057 aros_palm_debug_hack
="0"
8059 # Unix flavour stuff
8060 aros_nesting_supervisor
="0"
8062 # Collect-aros stuff: "-ius" to ignore undefined symbols
8063 ignore_undefined_symbols
=""
8067 DO_VIDMODE_SUPPORT
="1"
8069 #-----------------------------------------------------------------------------
8071 { echo "$as_me:$LINENO: checking for type of build" >&5
8072 echo $ECHO_N "checking for type of build... $ECHO_C" >&6; }
8073 # Check whether --enable-build_type was given.
8074 if test "${enable_build_type+set}" = set; then
8075 enableval
=$enable_build_type; build_type
=$enableval
8077 build_type
="personal"
8081 if test "$build_type" = "nightly"; then
8082 build_type_string
="NIGHTLY"
8083 elif test "$build_type" = "snapshot"; then
8084 build_type_string
="SNAPSHOT"
8085 elif test "$build_type" = "milestone"; then
8086 build_type_string
="MILESTONE"
8087 elif test "$build_type" = "release"; then
8088 build_type_string
="RELEASE"
8090 build_type_string
="PERSONAL"
8091 build_type
="personal"
8094 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
8096 { echo "$as_me:$LINENO: result: $build_type" >&5
8097 echo "${ECHO_T}$build_type" >&6; }
8099 #-----------------------------------------------------------------------------
8100 all_debug_types
="messages stack mungwall modules symbols"
8102 { echo "$as_me:$LINENO: checking which debug types to enable" >&5
8103 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6; }
8104 # Check whether --enable-debug was given.
8105 if test "${enable_debug+set}" = set; then
8106 enableval
=$enable_debug; debug
="$enableval"
8112 if test "$debug" = "" -o "$debug" = "no"; then
8114 elif test "$debug" = "yes"; then
8118 if test "$debug" = "all" ; then
8119 debug
=$all_debug_types
8120 for d
in $all_debug_types; do
8121 export aros_
${d}_debug
="1"
8124 for d
in $all_debug_types; do
8125 export aros_
${d}_debug
="0"
8129 if test "$debug" != "none"; then
8130 debug
=`echo $debug | sed s/,/\ /g`
8133 for d2
in $all_debug_types; do
8134 if test "$d2" = "$d"; then
8139 if test "$found" = "0"; then
8140 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
8141 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
8142 { (exit 1); exit 1; }; }
8144 export aros_
${d}_debug
="1"
8148 { echo "$as_me:$LINENO: result: $debug" >&5
8149 echo "${ECHO_T}$debug" >&6; }
8151 if test "$aros_messages_debug" = "1"; then
8152 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
8154 aros_messages_debug
=""
8156 if test "$aros_symbols_debug" = "1"; then
8157 aros_symbols_debug
="-g"
8159 aros_symbols_debug
=""
8162 # These are the flags to pass when compiling debugged programs
8163 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
8164 aros_debug_aflags
=""
8165 aros_debug_ldflags
="$aros_symbols_debug"
8167 #-----------------------------------------------------------------------------
8168 # Checking for distcc and ccache.
8170 # Always apply the transforms in this particular order. Basically you should
8171 # always run 'ccache distcc compiler' in that order for the best performance.
8173 { echo "$as_me:$LINENO: checking whether to enable distcc" >&5
8174 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6; }
8175 # Check whether --enable-distcc was given.
8176 if test "${enable_distcc+set}" = set; then
8177 enableval
=$enable_distcc; distcc
="$enableval"
8182 if test "$distcc" != "" -a "$distcc" != "no"; then
8183 # AC_CHECK_PROG will print out the result in this case
8184 # Extract the first word of "distcc", so it can be a program name with args.
8185 set dummy distcc
; ac_word
=$2
8186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8188 if test "${ac_cv_path_DISTCC+set}" = set; then
8189 echo $ECHO_N "(cached) $ECHO_C" >&6
8193 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
8196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8200 test -z "$as_dir" && as_dir
=.
8201 for ac_exec_ext
in '' $ac_executable_extensions; do
8202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8203 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
8204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
8215 DISTCC
=$ac_cv_path_DISTCC
8216 if test -n "$DISTCC"; then
8217 { echo "$as_me:$LINENO: result: $DISTCC" >&5
8218 echo "${ECHO_T}$DISTCC" >&6; }
8220 { echo "$as_me:$LINENO: result: no" >&5
8221 echo "${ECHO_T}no" >&6; }
8226 { echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6; }
8230 { echo "$as_me:$LINENO: checking whether to enable ccache" >&5
8231 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6; }
8232 # Check whether --enable-ccache was given.
8233 if test "${enable_ccache+set}" = set; then
8234 enableval
=$enable_ccache; ccache
="$enableval"
8239 if test "$ccache" != "" -a "$ccache" != "no"; then
8240 # AC_CHECK_PROG will print out the result in this case
8241 # Extract the first word of "ccache", so it can be a program name with args.
8242 set dummy ccache
; ac_word
=$2
8243 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8245 if test "${ac_cv_prog_CCACHE+set}" = set; then
8246 echo $ECHO_N "(cached) $ECHO_C" >&6
8248 if test -n "$CCACHE"; then
8249 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
8251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8255 test -z "$as_dir" && as_dir
=.
8256 for ac_exec_ext
in '' $ac_executable_extensions; do
8257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8258 ac_cv_prog_CCACHE
="ccache"
8259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8268 CCACHE
=$ac_cv_prog_CCACHE
8269 if test -n "$CCACHE"; then
8270 { echo "$as_me:$LINENO: result: $CCACHE" >&5
8271 echo "${ECHO_T}$CCACHE" >&6; }
8273 { echo "$as_me:$LINENO: result: no" >&5
8274 echo "${ECHO_T}no" >&6; }
8279 { echo "$as_me:$LINENO: result: no" >&5
8280 echo "${ECHO_T}no" >&6; }
8283 #-----------------------------------------------------------------------------
8284 { echo "$as_me:$LINENO: checking what optimization flags to use" >&5
8285 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6; }
8287 # Check whether --with-optimization was given.
8288 if test "${with_optimization+set}" = set; then
8289 withval
=$with_optimization; optimization
="$withval"
8291 optimization
="unknown"
8294 if test "$optimization" = "unknown"; then
8295 if test "$debug" != "none"; then
8301 aros_config_cflags
="$aros_config_cflags $optimization"
8302 { echo "$as_me:$LINENO: result: $optimization" >&5
8303 echo "${ECHO_T}$optimization" >&6; }
8305 #-----------------------------------------------------------------------------
8306 { echo "$as_me:$LINENO: checking what target variant to enable" >&5
8307 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6; }
8308 # Check whether --enable-target_variant was given.
8309 if test "${enable_target_variant+set}" = set; then
8310 enableval
=$enable_target_variant; target_variant
=$enableval
8312 target_variant
="none"
8315 if test "$target_variant" = "none"; then
8316 aros_target_variant
=""
8317 aros_target_suffix
=""
8319 aros_target_variant
="$target_variant"
8320 aros_target_suffix
="-$target_variant"
8322 { echo "$as_me:$LINENO: result: $enableval" >&5
8323 echo "${ECHO_T}$enableval" >&6; }
8325 #-----------------------------------------------------------------------------
8326 # This is the target configuration switch.
8327 case "$target_os" in
8329 aros_target_arch
="linux"
8330 case "$target_cpu" in
8332 aros_target_cpu
="m68k"
8333 aros_object_format
="m68kelf"
8334 aros_flavour
="emulcompat"
8335 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
8336 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
8337 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
8338 gcc_target_cpu
="mc68000"
8341 aros_target_cpu
="i386"
8342 aros_object_format
="elf_i386"
8343 aros_flavour
="emulation"
8344 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
8345 aros_default_wbdepth
=8
8346 gcc_target_cpu
="i386"
8349 aros_target_cpu
="x86_64"
8350 aros_object_format
="elf_x86_64"
8351 aros_flavour
="emulation"
8352 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
8353 aros_default_wbdepth
=8
8354 gcc_target_cpu
="x86_64"
8357 aros_target_cpu
="ppc"
8358 aros_object_format
="elf32ppc"
8359 aros_flavour
="emulation"
8360 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
8361 aros_default_wbdepth
=8
8362 gcc_target_cpu
="ppc"
8365 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
8366 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
8367 { (exit 1); exit 1; }; }
8373 aros_target_arch
="pc"
8374 aros_shared_default
="no"
8375 case "$target_cpu" in
8377 aros_target_cpu
="i386"
8380 if test "$aros_object_format" = "" ; then
8381 aros_object_format
="elf_i386"
8383 aros_flavour
="standalone"
8384 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8385 aros_kernel_ldflags
=""
8386 aros_default_wbwidth
=640
8387 aros_default_wbheight
=480
8388 gcc_target_cpu
="i386"
8391 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8392 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8393 { (exit 1); exit 1; }; }
8399 aros_target_arch
="prep"
8400 aros_shared_default
="no"
8401 aros_target_cpu
="ppc"
8402 aros_object_format
="elf32ppc"
8403 aros_flavour
="ppcnative"
8404 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8405 aros_kernel_ldflags
=""
8406 aros_default_wbwidth
=640
8407 aros_default_wbheight
=480
8408 gcc_target_cpu
="ppc"
8409 case "$target_cpu" in
8411 aros_target_cc
="ppc-linux-gcc -pipe"
8412 aros_target_ld
="ppc-linux-ld"
8413 aros_target_as
="ppc-linux-as"
8414 aros_target_ar
="ppc-linux-ar"
8415 aros_target_ranlib
="ppc-linux-ranlib"
8416 aros_target_nm
="ppc-linux-nm"
8417 aros_target_strip
="ppc-linux-strip"
8418 aros_target_objcopy
="ppc-linux-objcopy"
8419 aros_target_objdump
="ppc-linux-objdump"
8420 aros_shared_ld
="ppc-linux-ld"
8421 aros_kernel_ld
="ppc-linux-ld"
8429 aros_target_arch
="freebsd"
8430 aros_target_cpu
="i386"
8431 aros_flavour
="emulation"
8432 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8433 gcc_target_cpu
="i386"
8435 aros_target_strip_flags
="-x"
8439 aros_target_arch
="darwin"
8440 aros_target_cpu
="i386"
8441 aros_flavour
="emulation"
8442 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8443 gcc_target_cpu
="i386"
8445 aros_target_strip_flags
="-x"
8449 aros_target_arch
="netbsd"
8450 case "$target_cpu" in
8452 aros_target_cpu
="m68k"
8453 aros_object_format
="m68kelf"
8454 aros_flavour
="emulcompat"
8455 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8456 gcc_target_cpu
="mc68000"
8459 aros_target_cpu
="i386"
8460 aros_object_format
="elf_i386"
8461 aros_flavour
="emulation"
8462 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8463 aros_default_wbdepth
=8
8464 gcc_target_cpu
="i386"
8467 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8468 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8469 { (exit 1); exit 1; }; }
8472 aros_target_genmap
="-Wl,-M -Xlinker >"
8473 aros_flavour
="emulation"
8474 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8478 aros_target_arch
="openbsd"
8479 case "$target_cpu" in
8481 aros_target_cpu
="i386"
8482 aros_object_format
="elf_i386"
8483 aros_flavour
="emulation"
8484 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8485 gcc_target_cpu
="i386"
8488 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8489 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8490 { (exit 1); exit 1; }; }
8493 aros_target_genmap
="-Wl,-M -Xlinker >"
8494 aros_target_nm_flags
="-u"
8495 aros_flavour
="emulation"
8499 aros_target_arch
="solaris"
8500 case "$target_cpu" in
8502 aros_target_cpu
="sparc"
8503 aros_object_format
="elf_sparc"
8504 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8505 gcc_target_cpu
="sparc"
8508 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8509 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8510 { (exit 1); exit 1; }; }
8513 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8514 aros_flavour
="emulation"
8518 aros_target_arch
="morphos"
8519 aros_shared_default
="no"
8520 aros_target_cpu
="ppc"
8521 aros_object_format
="elf_ppc"
8522 aros_flavour
="nativecompat"
8523 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8524 gcc_target_cpu
="ppc"
8528 aros_target_arch
="amiga"
8529 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8530 aros_shared_default
="no"
8532 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8534 case "$target_cpu" in
8536 aros_target_cpu
="m68k"
8537 aros_object_format
="m68kelf"
8538 aros_flavour
="nativecompat"
8539 gcc_target_cpu
="mc68000"
8543 aros_flavour
="native"
8544 gcc_target_cpu
="ppc"
8547 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8548 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8549 { (exit 1); exit 1; }; }
8555 aros_target_arch
="cygwin"
8556 aros_shared_default
="no"
8557 case "$target_cpu" in
8559 aros_target_cpu
="i386"
8560 aros_object_format
="elf_i386"
8561 aros_flavour
="emulation"
8562 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8563 aros_shared_cflags
=""
8564 aros_default_wbdepth
=8
8565 gcc_target_cpu
="i386"
8568 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8569 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8570 { (exit 1); exit 1; }; }
8575 aros_target_arch
="pp"
8576 aros_shared_default
="no"
8577 case "$target_cpu" in
8579 aros_target_cpu
="m68k"
8580 aros_object_format
="m68kelf"
8581 aros_flavour
="palmnative"
8582 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8583 aros_kernel_ldflags
=""
8584 aros_default_wbwidth
=160
8585 aros_default_wbheight
=160
8586 aros_default_wbdepth
=1
8587 aros_target_cc
="m68k-elf-gcc -pipe"
8588 aros_target_ld
="$(which m68k-elf-ld)"
8589 aros_target_as
="m68k-elf-gcc -pipe"
8590 aros_shared_ld
="m68k-elf-gcc"
8591 aros_kernel_ld
="m68k-elf-gcc"
8592 aros_target_ar
="m68k-elf-ar"
8593 aros_target_ar_flags
="cru"
8594 aros_target_ranlib
="m68k-elf-ranlib"
8595 aros_target_nm
="m68k-elf-nm"
8596 aros_target_objcopy
="m68k-elf-objcopy"
8597 aros_target_objdump
="m68k-elf-objdump"
8598 aros_compiler_libs
="-lgcc1"
8599 aros_shared_default
=no
8600 aros_shared_cflags
="-fpic"
8601 aros_shared_aflags
=""
8602 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8603 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8604 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8605 aros_debug_aflags
=""
8606 aros_debug_ldflags
="$aros_symbols_debug"
8607 aros_mungwall_debug
="0"
8608 aros_modules_debug
="0"
8609 gcc_target_cpu
="mc68000"
8610 ignore_undefined_symbols
="-ius"
8613 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8614 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8615 { (exit 1); exit 1; }; }
8621 aros_target_arch
="mac"
8622 aros_shared_default
="no"
8623 case "$target_cpu" in
8625 aros_target_cpu
="m68k"
8626 aros_object_format
="m68kelf"
8627 aros_flavour
="mac68knative"
8628 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8629 aros_default_wbwidth
=512
8630 aros_default_wbheight
=384
8631 aros_default_wbdepth
=8
8632 aros_target_cc
="m68k-elf-gcc -pipe"
8633 aros_target_ld
="$(which m68k-elf-ld)"
8634 aros_target_as
="m68k-elf-gcc -pipe"
8635 aros_shared_ld
="m68k-elf-gcc"
8636 aros_kernel_ld
="m68k-elf-gcc"
8637 aros_target_ar
="m68k-elf-ar"
8638 aros_target_ar_flags
="cru"
8639 aros_target_ranlib
="m68k-elf-ranlib"
8640 aros_target_nm
="m68k-elf-nm"
8641 aros_target_objcopy
="m68k-elf-objcopy"
8642 aros_target_objdump
="m68k-elf-objdump"
8643 aros_compiler_libs
="-lgcc1"
8644 aros_shared_default
=no
8645 aros_shared_cflags
="-fpic"
8646 aros_shared_aflags
=""
8647 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8648 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8649 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8650 aros_debug_aflags
=""
8651 aros_debug_ldflags
="$aros_symbols_debug"
8652 aros_mungwall_debug
="0"
8653 aros_modules_debug
="0"
8654 gcc_target_cpu
="mc68000"
8655 ignore_undefined_symbols
="-ius"
8658 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8659 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8660 { (exit 1); exit 1; }; }
8666 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8667 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8668 { (exit 1); exit 1; }; }
8673 # Find out if we are cross-compiling (ie. if we can't use the host compiler
8676 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8679 if test "$aros_host_arch" == "darwin" ; then
8683 # Set prefix for target compiler etc. if we're cross-compiling
8684 # (should possibly be earlier but needs to be after AC_PROG_CC)
8685 if test "$cross_compiling" = "yes" ; then
8686 target_tool_prefix
=${target_cpu}-elf-
8687 CC
=${target_tool_prefix}gcc
8690 # Find all the tools we need to compile. This could be cross-compiling
8691 # though! If that is the case we use the GNU form of the target and
8692 # simply add this to the front of the binary name. This is rather simple,
8693 # but it should work under most circumstances.
8695 # The default tools are to use the same as the host, but only if the
8696 # host and target CPU are the same. With GCC this is normally enough.
8700 aros_shared_ld
="$aros_host_ld"
8702 aros_target_mkdep
="$aros_host_mkdep"
8703 aros_target_incl_def
="$aros_host_incl"
8705 # Extract the first word of "$CC", so it can be a program name with args.
8706 set dummy
$CC; ac_word
=$2
8707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8709 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
8710 echo $ECHO_N "(cached) $ECHO_C" >&6
8712 case $aros_kernel_cc in
8714 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8721 test -z "$as_dir" && as_dir
=.
8722 for ac_exec_ext
in '' $ac_executable_extensions; do
8723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8724 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8735 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8736 if test -n "$aros_kernel_cc"; then
8737 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
8738 echo "${ECHO_T}$aros_kernel_cc" >&6; }
8740 { echo "$as_me:$LINENO: result: no" >&5
8741 echo "${ECHO_T}no" >&6; }
8746 # The default tools executables to be linked to.
8748 if test "$cross_compiling" = "yes" ; then
8749 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8750 set dummy
${target_tool_prefix}as
; ac_word
=$2
8751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8753 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8754 echo $ECHO_N "(cached) $ECHO_C" >&6
8756 case $aros_target_as_ln in
8758 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8765 test -z "$as_dir" && as_dir
=.
8766 for ac_exec_ext
in '' $ac_executable_extensions; do
8767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8768 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8779 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8780 if test -n "$aros_target_as_ln"; then
8781 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8782 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8784 { echo "$as_me:$LINENO: result: no" >&5
8785 echo "${ECHO_T}no" >&6; }
8790 if test "$GCC" = "yes"; then
8791 aros_gcc_as
=`$CC -print-prog-name=as`
8792 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8793 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8796 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8797 echo $ECHO_N "(cached) $ECHO_C" >&6
8799 case $aros_target_as_ln in
8801 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8805 for as_dir
in `dirname $aros_gcc_as`
8808 test -z "$as_dir" && as_dir
=.
8809 for ac_exec_ext
in '' $ac_executable_extensions; do
8810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8811 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8822 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8823 if test -n "$aros_target_as_ln"; then
8824 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8825 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8827 { echo "$as_me:$LINENO: result: no" >&5
8828 echo "${ECHO_T}no" >&6; }
8833 if test "$aros_target_as_ln" = ""; then
8834 # Extract the first word of "as", so it can be a program name with args.
8835 set dummy as
; ac_word
=$2
8836 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8838 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8839 echo $ECHO_N "(cached) $ECHO_C" >&6
8841 case $aros_target_as_ln in
8843 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8846 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8850 test -z "$as_dir" && as_dir
=.
8851 for ac_exec_ext
in '' $ac_executable_extensions; do
8852 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8853 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8854 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8864 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8865 if test -n "$aros_target_as_ln"; then
8866 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8867 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8869 { echo "$as_me:$LINENO: result: no" >&5
8870 echo "${ECHO_T}no" >&6; }
8877 if test "$aros_target_as_ln" = ""; then
8878 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
8879 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
8880 { (exit 1); exit 1; }; }
8883 if test "$cross_compiling" = "yes" ; then
8884 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8885 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8886 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8888 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8889 echo $ECHO_N "(cached) $ECHO_C" >&6
8891 case $aros_kernel_ld in
8893 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8900 test -z "$as_dir" && as_dir
=.
8901 for ac_exec_ext
in '' $ac_executable_extensions; do
8902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8903 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8914 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8915 if test -n "$aros_kernel_ld"; then
8916 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8917 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8919 { echo "$as_me:$LINENO: result: no" >&5
8920 echo "${ECHO_T}no" >&6; }
8925 if test "$GCC" = "yes"; then
8926 aros_gcc_ld
=`$CC -print-prog-name=ld`
8927 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8928 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8931 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8932 echo $ECHO_N "(cached) $ECHO_C" >&6
8934 case $aros_kernel_ld in
8936 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8940 for as_dir
in `dirname $aros_gcc_ld`
8943 test -z "$as_dir" && as_dir
=.
8944 for ac_exec_ext
in '' $ac_executable_extensions; do
8945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8946 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8957 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8958 if test -n "$aros_kernel_ld"; then
8959 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8960 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8962 { echo "$as_me:$LINENO: result: no" >&5
8963 echo "${ECHO_T}no" >&6; }
8968 if test "$aros_kernel_ld" = ""; then
8969 # Extract the first word of "ld", so it can be a program name with args.
8970 set dummy ld
; ac_word
=$2
8971 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8972 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8973 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8974 echo $ECHO_N "(cached) $ECHO_C" >&6
8976 case $aros_kernel_ld in
8978 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8985 test -z "$as_dir" && as_dir
=.
8986 for ac_exec_ext
in '' $ac_executable_extensions; do
8987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8988 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8999 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9000 if test -n "$aros_kernel_ld"; then
9001 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9002 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9004 { echo "$as_me:$LINENO: result: no" >&5
9005 echo "${ECHO_T}no" >&6; }
9012 if test "$aros_kernel_ld" = ""; then
9013 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9014 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9015 { (exit 1); exit 1; }; }
9018 if test "$cross_compiling" = "yes" ; then
9019 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9020 set dummy
${target_tool_prefix}ar; ac_word
=$2
9021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9023 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 case $aros_target_ar_ln in
9028 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9035 test -z "$as_dir" && as_dir
=.
9036 for ac_exec_ext
in '' $ac_executable_extensions; do
9037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9038 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9049 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9050 if test -n "$aros_target_ar_ln"; then
9051 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9052 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9054 { echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6; }
9060 if test "$GCC" = "yes"; then
9061 aros_gcc_ar
=`$CC -print-prog-name=ar`
9062 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9063 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9064 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9066 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 case $aros_target_ar_ln in
9071 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9075 for as_dir
in `dirname $aros_gcc_ar`
9078 test -z "$as_dir" && as_dir
=.
9079 for ac_exec_ext
in '' $ac_executable_extensions; do
9080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9081 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9082 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9092 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9093 if test -n "$aros_target_ar_ln"; then
9094 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9095 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9097 { echo "$as_me:$LINENO: result: no" >&5
9098 echo "${ECHO_T}no" >&6; }
9103 if test "$aros_target_ar_ln" = ""; then
9104 # Extract the first word of "ar", so it can be a program name with args.
9105 set dummy
ar; ac_word
=$2
9106 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9108 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9109 echo $ECHO_N "(cached) $ECHO_C" >&6
9111 case $aros_target_ar_ln in
9113 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir
=.
9121 for ac_exec_ext
in '' $ac_executable_extensions; do
9122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9134 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9135 if test -n "$aros_target_ar_ln"; then
9136 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9137 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9139 { echo "$as_me:$LINENO: result: no" >&5
9140 echo "${ECHO_T}no" >&6; }
9147 if test "$aros_target_ar_ln" = ""; then
9148 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9149 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9150 { (exit 1); exit 1; }; }
9153 if test "$cross_compiling" = "yes" ; then
9154 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9155 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9156 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9157 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9158 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9159 echo $ECHO_N "(cached) $ECHO_C" >&6
9161 case $aros_target_nm_ln in
9163 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9170 test -z "$as_dir" && as_dir
=.
9171 for ac_exec_ext
in '' $ac_executable_extensions; do
9172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9173 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9184 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9185 if test -n "$aros_target_nm_ln"; then
9186 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9187 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9189 { echo "$as_me:$LINENO: result: no" >&5
9190 echo "${ECHO_T}no" >&6; }
9195 if test "$GCC" = "yes"; then
9196 aros_gcc_nm
=`$CC -print-prog-name=nm`
9197 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9198 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9199 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9201 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9202 echo $ECHO_N "(cached) $ECHO_C" >&6
9204 case $aros_target_nm_ln in
9206 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9210 for as_dir
in `dirname $aros_gcc_nm`
9213 test -z "$as_dir" && as_dir
=.
9214 for ac_exec_ext
in '' $ac_executable_extensions; do
9215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9216 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9227 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9228 if test -n "$aros_target_nm_ln"; then
9229 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9230 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9232 { echo "$as_me:$LINENO: result: no" >&5
9233 echo "${ECHO_T}no" >&6; }
9238 if test "$aros_target_nm_ln" = ""; then
9239 # Extract the first word of "nm", so it can be a program name with args.
9240 set dummy nm
; ac_word
=$2
9241 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9243 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9244 echo $ECHO_N "(cached) $ECHO_C" >&6
9246 case $aros_target_nm_ln in
9248 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9251 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9255 test -z "$as_dir" && as_dir
=.
9256 for ac_exec_ext
in '' $ac_executable_extensions; do
9257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9258 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9259 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9269 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9270 if test -n "$aros_target_nm_ln"; then
9271 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9272 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9274 { echo "$as_me:$LINENO: result: no" >&5
9275 echo "${ECHO_T}no" >&6; }
9282 if test "$aros_target_nm_ln" = ""; then
9283 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9284 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9285 { (exit 1); exit 1; }; }
9288 if test "$cross_compiling" = "yes" ; then
9289 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9290 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9291 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9293 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9294 echo $ECHO_N "(cached) $ECHO_C" >&6
9296 case $aros_target_objcopy_ln in
9298 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir
=.
9306 for ac_exec_ext
in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9319 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9320 if test -n "$aros_target_objcopy_ln"; then
9321 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9322 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9324 { echo "$as_me:$LINENO: result: no" >&5
9325 echo "${ECHO_T}no" >&6; }
9330 if test "$GCC" = "yes"; then
9331 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9332 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9333 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9334 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9336 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9337 echo $ECHO_N "(cached) $ECHO_C" >&6
9339 case $aros_target_objcopy_ln in
9341 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9344 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9345 for as_dir
in `dirname $aros_gcc_objcopy`
9348 test -z "$as_dir" && as_dir
=.
9349 for ac_exec_ext
in '' $ac_executable_extensions; do
9350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9351 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9362 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9363 if test -n "$aros_target_objcopy_ln"; then
9364 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9365 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9367 { echo "$as_me:$LINENO: result: no" >&5
9368 echo "${ECHO_T}no" >&6; }
9373 if test "$aros_target_objcopy_ln" = ""; then
9374 # Extract the first word of "objcopy", so it can be a program name with args.
9375 set dummy objcopy
; ac_word
=$2
9376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9378 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9379 echo $ECHO_N "(cached) $ECHO_C" >&6
9381 case $aros_target_objcopy_ln in
9383 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9390 test -z "$as_dir" && as_dir
=.
9391 for ac_exec_ext
in '' $ac_executable_extensions; do
9392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9393 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9404 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9405 if test -n "$aros_target_objcopy_ln"; then
9406 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9407 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9409 { echo "$as_me:$LINENO: result: no" >&5
9410 echo "${ECHO_T}no" >&6; }
9417 if test "$aros_target_objcopy_ln" = ""; then
9418 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
9419 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
9420 { (exit 1); exit 1; }; }
9423 if test "$cross_compiling" = "yes" ; then
9424 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9425 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9428 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9429 echo $ECHO_N "(cached) $ECHO_C" >&6
9431 case $aros_target_objdump_ln in
9433 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9440 test -z "$as_dir" && as_dir
=.
9441 for ac_exec_ext
in '' $ac_executable_extensions; do
9442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9443 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9454 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9455 if test -n "$aros_target_objdump_ln"; then
9456 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9457 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9459 { echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6; }
9465 if test "$GCC" = "yes"; then
9466 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9467 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9468 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9469 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9471 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 case $aros_target_objdump_ln in
9476 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9480 for as_dir
in `dirname $aros_gcc_objdump`
9483 test -z "$as_dir" && as_dir
=.
9484 for ac_exec_ext
in '' $ac_executable_extensions; do
9485 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9486 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9497 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9498 if test -n "$aros_target_objdump_ln"; then
9499 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9500 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9502 { echo "$as_me:$LINENO: result: no" >&5
9503 echo "${ECHO_T}no" >&6; }
9508 if test "$aros_target_objdump_ln" = ""; then
9509 # Extract the first word of "objdump", so it can be a program name with args.
9510 set dummy objdump
; ac_word
=$2
9511 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9512 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9513 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9514 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 case $aros_target_objdump_ln in
9518 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9525 test -z "$as_dir" && as_dir
=.
9526 for ac_exec_ext
in '' $ac_executable_extensions; do
9527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9528 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9539 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9540 if test -n "$aros_target_objdump_ln"; then
9541 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9542 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9544 { echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6; }
9552 if test "$aros_target_objdump_ln" = ""; then
9553 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
9554 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
9555 { (exit 1); exit 1; }; }
9558 if test "$cross_compiling" = "yes" ; then
9559 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9560 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9561 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9562 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9563 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9564 echo $ECHO_N "(cached) $ECHO_C" >&6
9566 case $aros_target_ranlib_ln in
9568 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9575 test -z "$as_dir" && as_dir
=.
9576 for ac_exec_ext
in '' $ac_executable_extensions; do
9577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9578 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9589 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9590 if test -n "$aros_target_ranlib_ln"; then
9591 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9592 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9594 { echo "$as_me:$LINENO: result: no" >&5
9595 echo "${ECHO_T}no" >&6; }
9600 if test "$GCC" = "yes"; then
9601 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9602 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9603 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9606 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9607 echo $ECHO_N "(cached) $ECHO_C" >&6
9609 case $aros_target_ranlib_ln in
9611 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9615 for as_dir
in `dirname $aros_gcc_ranlib`
9618 test -z "$as_dir" && as_dir
=.
9619 for ac_exec_ext
in '' $ac_executable_extensions; do
9620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9621 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9632 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9633 if test -n "$aros_target_ranlib_ln"; then
9634 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9635 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9637 { echo "$as_me:$LINENO: result: no" >&5
9638 echo "${ECHO_T}no" >&6; }
9643 if test "$aros_target_ranlib_ln" = ""; then
9644 # Extract the first word of "ranlib", so it can be a program name with args.
9645 set dummy ranlib
; ac_word
=$2
9646 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9648 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9649 echo $ECHO_N "(cached) $ECHO_C" >&6
9651 case $aros_target_ranlib_ln in
9653 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9660 test -z "$as_dir" && as_dir
=.
9661 for ac_exec_ext
in '' $ac_executable_extensions; do
9662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9663 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9674 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9675 if test -n "$aros_target_ranlib_ln"; then
9676 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9677 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9679 { echo "$as_me:$LINENO: result: no" >&5
9680 echo "${ECHO_T}no" >&6; }
9687 if test "$aros_target_ranlib_ln" = ""; then
9688 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
9689 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
9690 { (exit 1); exit 1; }; }
9693 if test "$cross_compiling" = "yes" ; then
9694 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9695 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9698 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9699 echo $ECHO_N "(cached) $ECHO_C" >&6
9701 case $aros_target_strip_ln in
9703 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9710 test -z "$as_dir" && as_dir
=.
9711 for ac_exec_ext
in '' $ac_executable_extensions; do
9712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9713 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9724 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9725 if test -n "$aros_target_strip_ln"; then
9726 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9727 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9729 { echo "$as_me:$LINENO: result: no" >&5
9730 echo "${ECHO_T}no" >&6; }
9735 if test "$GCC" = "yes"; then
9736 aros_gcc_strip
=`$CC -print-prog-name=strip`
9737 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9738 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9739 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9741 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9742 echo $ECHO_N "(cached) $ECHO_C" >&6
9744 case $aros_target_strip_ln in
9746 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9750 for as_dir
in `dirname $aros_gcc_strip`
9753 test -z "$as_dir" && as_dir
=.
9754 for ac_exec_ext
in '' $ac_executable_extensions; do
9755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9756 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9767 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9768 if test -n "$aros_target_strip_ln"; then
9769 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9770 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9772 { echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6; }
9778 if test "$aros_target_strip_ln" = ""; then
9779 # Extract the first word of "strip", so it can be a program name with args.
9780 set dummy strip
; ac_word
=$2
9781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9783 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9784 echo $ECHO_N "(cached) $ECHO_C" >&6
9786 case $aros_target_strip_ln in
9788 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9795 test -z "$as_dir" && as_dir
=.
9796 for ac_exec_ext
in '' $ac_executable_extensions; do
9797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9798 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9809 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9810 if test -n "$aros_target_strip_ln"; then
9811 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9812 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9814 { echo "$as_me:$LINENO: result: no" >&5
9815 echo "${ECHO_T}no" >&6; }
9822 if test "$aros_target_strip_ln" = ""; then
9823 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
9824 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
9825 { (exit 1); exit 1; }; }
9828 if test "$GCC" = "yes"; then
9829 aros_target_cc_path
=`$aros_kernel_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9832 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9833 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9834 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9835 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9836 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9837 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9838 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9840 # aros_cc_pre is a variable that is added to the front of the compiler name
9841 # in the generated aros-gcc shell script. We need this to enable the cache
9842 # to work across cleaned builds. Also, support DISTCC using the correct
9843 # environment variable.
9846 if test "x${DISTCC}" != "x" ; then
9847 if test "x${CCACHE}" != "x" ; then
9848 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9850 aros_cc_pre
="${DISTCC} "
9853 if test "x${CCACHE}" != "x" ; then
9854 aros_cc_pre
="${CCACHE} "
9858 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9860 aros_target_nostdinc_cflags
=-nostdinc
9862 aros_target_nostartup_ldflags
=-nostartfiles
9864 aros_target_nix_ldflags
=-nix
9866 aros_target_detach_ldflags
=-detach
9868 aros_target_nostdlib_ldflags
=-nostdlib
9872 aros_target_cc
="${prefix}-gcc"
9873 aros_target_as
="${prefix}-as"
9874 aros_target_ld
="${prefix}-ld"
9875 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9876 aros_target_objcopy
=${prefix}-objcopy
9877 aros_target_objdump
=${prefix}-objdump
9878 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9879 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9880 aros_kernel_nm
="${prefix}-nm"
9881 aros_target_strip
=${prefix}-strip
9883 #-----------------------------------------------------------------------------
9884 # See if we can compile SHM support
9886 if [ "x$no_x" != "xyes" -a "x$ac_cv_header_sys_ipc_h" = "xyes" -a "x$ac_cv_header_sys_shm_h" = "xyes" ]; then
9887 { echo "$as_me:$LINENO: checking whether the X11 MIT-SHM extension can be compiled in" >&5
9888 echo $ECHO_N "checking whether the X11 MIT-SHM extension can be compiled in... $ECHO_C" >&6; }
9889 if test -z "$x_includes" ; then
9892 CFLAGS
="-I $x_includes"
9894 LIBS
="-L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext"
9895 cat >conftest.
$ac_ext <<_ACEOF
9898 cat confdefs.h
>>conftest.
$ac_ext
9899 cat >>conftest.
$ac_ext <<_ACEOF
9900 /* end confdefs.h. */
9902 #include <sys/types.h>
9903 #include <X11/Xlib.h>
9904 #include <X11/Xutil.h>
9905 #include <X11/keysym.h>
9906 #include <X11/cursorfont.h>
9907 #include <sys/ipc.h>
9908 #include <sys/shm.h>
9909 #include <X11/extensions/XShm.h>
9914 static XShmSegmentInfo shminfo;
9915 static Display *display;
9916 XShmAttach(display, &shminfo);
9918 shmctl(shminfo.shmid, IPC_RMID, 0);
9924 rm -f conftest.
$ac_objext conftest
$ac_exeext
9925 if { (ac_try
="$ac_link"
9927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9928 *) ac_try_echo=$ac_try;;
9930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9931 (eval "$ac_link") 2>conftest.er1
9933 grep -v '^ *+' conftest.er1 >conftest.err
9935 cat conftest.err >&5
9936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9937 (exit $ac_status); } && {
9938 test -z "$ac_c_werror_flag" ||
9939 test ! -s conftest.err
9940 } && test -s conftest$ac_exeext &&
9941 $as_test_x conftest$ac_exeext; then
9943 { echo "$as_me:$LINENO: result: yes" >&5
9944 echo "${ECHO_T}yes" >&6; }
9946 echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.$ac_ext >&5
9950 { echo "$as_me:$LINENO: result: no" >&5
9951 echo "${ECHO_T}no" >&6; }
9954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9955 conftest$ac_exeext conftest.$ac_ext
9958 #-----------------------------------------------------------------------------
9959 # See if we can compile VIDMODE support
9960 HAVE_VIDMODE_SUPPORT=0
9961 if [ "x$no_x" != "xyes" ]; then
9963 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9964 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9965 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9966 echo $ECHO_N "(cached) $ECHO_C" >&6
9968 ac_check_lib_save_LIBS=$LIBS
9969 LIBS="-lXxf86vm -L/usr/X11R6/lib -lXext -lX11 $LIBS"
9970 cat >conftest.$ac_ext <<_ACEOF
9973 cat confdefs.h >>conftest.$ac_ext
9974 cat >>conftest.$ac_ext <<_ACEOF
9975 /* end confdefs.h. */
9977 /* Override any GCC internal prototype to avoid an error.
9978 Use char because int might match the return type of a GCC
9979 builtin and then its argument prototype would still apply. */
9983 char XF86VidModeQueryExtension ();
9987 return XF86VidModeQueryExtension ();
9992 rm -f conftest.$ac_objext conftest$ac_exeext
9993 if { (ac_try="$ac_link"
9995 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9996 *) ac_try_echo
=$ac_try;;
9998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9999 (eval "$ac_link") 2>conftest.er1
10001 grep -v '^ *+' conftest.er1
>conftest.err
10003 cat conftest.err
>&5
10004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10005 (exit $ac_status); } && {
10006 test -z "$ac_c_werror_flag" ||
10007 test ! -s conftest.err
10008 } && test -s conftest
$ac_exeext &&
10009 $as_test_x conftest
$ac_exeext; then
10010 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10012 echo "$as_me: failed program was:" >&5
10013 sed 's/^/| /' conftest.
$ac_ext >&5
10015 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10018 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10019 conftest
$ac_exeext conftest.
$ac_ext
10020 LIBS
=$ac_check_lib_save_LIBS
10022 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10023 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10024 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10025 HAVE_VIDMODE_SUPPORT
=1
10027 HAVE_VIDMODE_SUPPORT
=0
10033 # Find the system include path. We can suggest that an alternative is
10034 # used if we don't get it correct. The default is to use /usr/include.
10035 # Which is set in the aros_target_incl_def variable.
10037 # Check whether --enable-includes was given.
10038 if test "${enable_includes+set}" = set; then
10039 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10041 aros_target_incl
=$aros_target_incl_def
10045 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10046 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10047 if test "$aros_target_cc_includes" = "" ; then
10048 #try to guess where the directory is
10049 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
10050 if ! test -d $aros_target_cc_includes; then
10051 #the directory doesn't exist, we need to do some more work
10052 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10054 #these are the headers we're looling for
10055 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10056 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10060 for h
in $headers; do
10061 #which other headers each of the above headers needs?
10062 deps
=$
(echo "#include <$h>" | \
10063 $aros_host_cc -E -M - 2>/dev
/null | \
10064 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10066 #copy all the needed headers to a directory beneath gendir
10069 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10070 sed -n "s,^.*/include\(/.*\),\1,p")
10071 ! test -d $dir && mkdir
-p $dir
10072 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10077 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10078 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10080 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
10081 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
10083 # Check whether --with-resolution was given.
10084 if test "${with_resolution+set}" = set; then
10085 withval
=$with_resolution; resolution
=$withval
10090 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10091 if test "$resolution" = "yes" ; then
10094 if test "$resolution" = "no" ; then
10097 if test "$resolution" != "none" ; then
10098 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10099 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10100 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10102 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10103 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10104 aros_cv_default_wbwidth
=$aros_default_wbwidth
10105 aros_cv_default_wbheight
=$aros_default_wbheight
10106 aros_cv_default_wbdepth
=$aros_default_wbdepth
10108 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
10109 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
10110 # Check whether --enable-bochs_hack was given.
10111 if test "${enable_bochs_hack+set}" = set; then
10112 enableval
=$enable_bochs_hack; bochs_hack
="yes"
10117 if test "$bochs_hack" = "yes" ; then
10118 aros_bochs_hack
="1"
10120 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
10121 echo "${ECHO_T}$bochs_hack" >&6; }
10123 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
10124 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
10126 # Check whether --with-serial-debug was given.
10127 if test "${with_serial_debug+set}" = set; then
10128 withval
=$with_serial_debug; serial_debug
=$withval
10133 if test "$serial_debug" = "yes" ; then
10136 if test "$serial_debug" = "no" ; then
10137 serial_debug
="none"
10139 if test "$serial_debug" != "none" ; then
10140 aros_serial_debug
=$serial_debug
10141 { echo "$as_me:$LINENO: result: on port $serial_debug" >&5
10142 echo "${ECHO_T}on port $serial_debug" >&6; }
10144 { echo "$as_me:$LINENO: result: no" >&5
10145 echo "${ECHO_T}no" >&6; }
10148 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
10149 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
10150 # Check whether --enable-palm_debug_hack was given.
10151 if test "${enable_palm_debug_hack+set}" = set; then
10152 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10154 palm_debug_hack
="no"
10157 if test "$palm_debug_hack" = "yes" ; then
10158 aros_palm_debug_hack
="1"
10160 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
10161 echo "${ECHO_T}$palm_debug_hack" >&6; }
10164 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
10165 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
10166 # Check whether --enable-nesting_supervisor was given.
10167 if test "${enable_nesting_supervisor+set}" = set; then
10168 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10170 nesting_supervisor
="no"
10173 if test "$nesting_supervisor" = "yes" ; then
10174 aros_nesting_supervisor
="1"
10176 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
10177 echo "${ECHO_T}$nesting_supervisor" >&6; }
10181 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
10182 { echo "$as_me:$LINENO: checking if X11 MIT-SHM extension is enabled" >&5
10183 echo $ECHO_N "checking if X11 MIT-SHM extension is enabled... $ECHO_C" >&6; }
10184 # Check whether --enable-xshm_extension was given.
10185 if test "${enable_xshm_extension+set}" = set; then
10186 enableval
=$enable_xshm_extension; xshm_extension
="$enableval"
10188 xshm_extension
="yes"
10191 if test "$xshm_extension" = "no" ; then
10192 DO_XSHM_SUPPORT
="0"
10194 { echo "$as_me:$LINENO: result: $xshm_extension" >&5
10195 echo "${ECHO_T}$xshm_extension" >&6; }
10197 DO_XSHM_SUPPORT
="0"
10200 if test "$HAVE_VIDMODE_SUPPORT" = "1" ; then
10201 { echo "$as_me:$LINENO: checking if vidmode extension is enabled" >&5
10202 echo $ECHO_N "checking if vidmode extension is enabled... $ECHO_C" >&6; }
10203 # Check whether --enable-vidmodeextension was given.
10204 if test "${enable_vidmodeextension+set}" = set; then
10205 enableval
=$enable_vidmodeextension; vidmode_extension
="$enableval"
10207 vidmode_extension
="yes"
10210 if test "$vidmode_extension" = "no" ; then
10211 DO_VIDMODE_SUPPORT
="0"
10213 { echo "$as_me:$LINENO: result: $vidmode_extension" >&5
10214 echo "${ECHO_T}$vidmode_extension" >&6; }
10216 DO_VIDMODE_SUPPORT
="0"
10220 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
10221 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
10222 # Check whether --enable-dbus was given.
10223 if test "${enable_dbus+set}" = set; then
10224 enableval
=$enable_dbus; dbus
="yes"
10229 if test "$dbus" = "yes" ; then
10231 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10232 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10233 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10234 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10238 { echo "$as_me:$LINENO: result: $dbus" >&5
10239 echo "${ECHO_T}$dbus" >&6; }
10325 # Native version related
10329 # Palm native version related
10332 # Unix/Hosted version related
10348 # Collect-aros stuff: "-ius" to ignore undefined symbols
10351 # C compiler related
10354 case "$aros_flavour" in
10355 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10356 aros_flavour
="emulation" ;;
10357 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10358 aros_flavour
="emulation" ;;
10359 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10360 aros_flavour
="standalone";;
10361 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10362 aros_flavour
="native" ;;
10363 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10364 aros_flavour
="native" ;;
10365 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10366 aros_flavour
="linklib" ;;
10367 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10368 aros_flavour
="palmnative" ;;
10369 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10370 aros_flavour
="mac68knative" ;;
10371 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10372 aros_flavour
="ppcnative" ;;
10375 if test -z "$aros_gui_basedir" ; then
10376 aros_gui_libdir
="$x_libraries"
10377 if test -z "$x_libraries" ; then
10378 aros_gui_ldflags
=""
10380 aros_gui_ldflags
="-L $x_libraries"
10382 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
10383 aros_gui_libflags
="-lX11 -lXext"
10385 aros_gui_libflags
="-lX11"
10387 if test "$HAVE_VIDMODE_SUPPORT" = "1"; then
10388 aros_gui_libflags
="$aros_gui_libflags -lXxf86vm"
10391 aros_gui_incdir
="$x_includes"
10392 if test -z "$x_includes" ; then
10393 aros_gui_ccflags
=""
10395 aros_gui_ccflags
="-I $x_includes"
10398 if test -n "$aros_gui_basedir" ; then
10399 aros_gui_libdir
="${aros_gui_basedir}/lib"
10400 aros_gui_incdir
="${aros_gui_basedir}/include"
10403 if test -n "$aros_gui_libdir" ; then
10404 aros_gui_ldflags
="-L ${aros_gui_libdir}"
10407 if test -n "$aros_gui_incdir" ; then
10408 aros_gui_ccflags
="-I ${aros_gui_incdir}"
10410 aros_gui_incdir
="${aros_sysincludes}"
10411 aros_gui_ccflags
=""
10415 if test ! -d ${aros_inc_dir} ; then
10416 ${MKDIR} ${aros_inc_dir}
10418 if test ! -d ${aros_geninc_dir} ; then
10419 ${MKDIR} ${aros_geninc_dir}
10421 if test ! -d ${aros_hostcfg_dir} ; then
10422 ${MKDIR} ${aros_hostcfg_dir}
10424 if test ! -d ${aros_targetcfg_dir} ; then
10425 ${MKDIR} ${aros_targetcfg_dir}
10427 if test ! -d ${aros_tools_dir} ; then
10428 ${MKDIR} ${aros_tools_dir}
10430 if test ! -d ${aros_scripts_dir} ; then
10431 ${MKDIR} ${aros_scripts_dir}
10434 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10437 ac_config_commands
="$ac_config_commands compiler_executable"
10439 ac_config_commands
="$ac_config_commands genshared_executable"
10441 ac_config_commands
="$ac_config_commands genmf_executable"
10443 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
10446 ac_config_files
="$ac_config_files Makefile rom/mmakefile ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/adflib/myconf.aros tools/collect-aros/env.h"
10449 cat >confcache
<<\_ACEOF
10450 # This file is a shell script that caches the results of configure
10451 # tests run on this system so they can be shared between configure
10452 # scripts and configure runs, see configure's option --config-cache.
10453 # It is not useful on other systems. If it contains results you don't
10454 # want to keep, you may remove or edit it.
10456 # config.status only pays attention to the cache file if you give it
10457 # the --recheck option to rerun configure.
10459 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10460 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10461 # following values.
10465 # The following way of writing the cache mishandles newlines in values,
10466 # but we know of no workaround that is simple, portable, and efficient.
10467 # So, we kill variables containing newlines.
10468 # Ultrix sh set writes to stderr and can't be redirected directly,
10469 # and sets the high bit in the cache file unless we assign to the vars.
10471 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10472 eval ac_val
=\$
$ac_var
10476 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10477 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10480 _ | IFS | as_nl
) ;; #(
10481 *) $as_unset $ac_var ;;
10487 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10488 *${as_nl}ac_space
=\
*)
10489 # `set' does not quote correctly, so add quotes (double-quote
10490 # substitution turns \\\\ into \\, and sed turns \\ into \).
10493 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10496 # `set' quotes correctly as required by POSIX, so do not add quotes.
10497 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10506 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10508 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10510 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10511 if test -w "$cache_file"; then
10512 test "x$cache_file" != "x/dev/null" &&
10513 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10514 echo "$as_me: updating cache $cache_file" >&6;}
10515 cat confcache
>$cache_file
10517 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10518 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10523 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10524 # Let make expand exec_prefix.
10525 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10527 DEFS
=-DHAVE_CONFIG_H
10531 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10532 # 1. Remove the extension, and $U if already installed.
10533 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10534 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10535 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10536 # will be set to the directory where LIBOBJS objects are built.
10537 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10538 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10540 LIBOBJS
=$ac_libobjs
10542 LTLIBOBJS
=$ac_ltlibobjs
10546 : ${CONFIG_STATUS=./config.status}
10547 ac_clean_files_save
=$ac_clean_files
10548 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10549 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10550 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10551 cat >$CONFIG_STATUS <<_ACEOF
10553 # Generated by $as_me.
10554 # Run this file to recreate the current configuration.
10555 # Compiler output produced by configure, useful for debugging
10556 # configure, is in config.log if it exists.
10559 ac_cs_recheck=false
10561 SHELL=\${CONFIG_SHELL-$SHELL}
10564 cat >>$CONFIG_STATUS <<\_ACEOF
10565 ## --------------------- ##
10566 ## M4sh Initialization. ##
10567 ## --------------------- ##
10569 # Be more Bourne compatible
10570 DUALCASE
=1; export DUALCASE
# for MKS sh
10571 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10574 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10575 # is contrary to our usage. Disable this feature.
10576 alias -g '${1+"$@"}'='"$@"'
10577 setopt NO_GLOB_SUBST
10579 case `(set -o) 2>/dev/null` in
10580 *posix
*) set -o posix
;;
10589 # Avoid depending upon Character Ranges.
10590 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10591 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10592 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10593 as_cr_digits
='0123456789'
10594 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10596 # The user is always right.
10597 if test "${PATH_SEPARATOR+set}" != set; then
10598 echo "#! /bin/sh" >conf$$.sh
10599 echo "exit 0" >>conf$$.sh
10601 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10609 # Support unset when possible.
10610 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10618 # We need space, tab and new line, in precisely that order. Quoting is
10619 # there to prevent editors from complaining about space-tab.
10620 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10621 # splitting by setting IFS to empty value.)
10626 # Find who we are. Look in the path if we contain no directory separator.
10628 *[\\/]* ) as_myself
=$0 ;;
10629 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10630 for as_dir
in $PATH
10633 test -z "$as_dir" && as_dir
=.
10634 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10640 # We did not find ourselves, most probably we were run as `sh COMMAND'
10641 # in which case we are not to be found in the path.
10642 if test "x$as_myself" = x
; then
10645 if test ! -f "$as_myself"; then
10646 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10647 { (exit 1); exit 1; }
10650 # Work around bugs in pre-3.0 UWIN ksh.
10651 for as_var
in ENV MAIL MAILPATH
10652 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10660 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10661 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10662 LC_TELEPHONE LC_TIME
10664 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10665 eval $as_var=C
; export $as_var
10667 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10671 # Required to use basename.
10672 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10673 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10679 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10680 as_basename
=basename
10686 # Name of the executable.
10687 as_me
=`$as_basename -- "$0" ||
10688 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10689 X"$0" : 'X\(//\)$' \| \
10690 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10692 sed '/^.*\/\([^/][^/]*\)\/*$/{
10711 as_lineno_1
=$LINENO
10712 as_lineno_2
=$LINENO
10713 test "x$as_lineno_1" != "x$as_lineno_2" &&
10714 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10716 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10717 # uniformly replaced by the line number. The first 'sed' inserts a
10718 # line-number line after each line using $LINENO; the second 'sed'
10719 # does the real work. The second script uses 'N' to pair each
10720 # line-number line with the line containing $LINENO, and appends
10721 # trailing '-' during substitution so that $LINENO is not a special
10722 # case at line end.
10723 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10724 # scripts with optimization help from Paolo Bonzini. Blame Lee
10725 # E. McMahon (1931-1989) for sed's syntax. :-)
10737 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10740 ' >$as_me.lineno
&&
10741 chmod +x
"$as_me.lineno" ||
10742 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10743 { (exit 1); exit 1; }; }
10745 # Don't try to exec as it changes $[0], causing all sort of problems
10746 # (the dirname of $[0] is not the place where we might find the
10747 # original and so on. Autoconf is especially sensitive to this).
10748 .
"./$as_me.lineno"
10749 # Exit status is that of the last command.
10754 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10760 ECHO_C
= ECHO_N
= ECHO_T
=
10761 case `echo -n x` in
10763 case `echo 'x\c'` in
10764 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10771 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10772 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10778 rm -f conf$$ conf$$.exe conf$$.
file
10779 if test -d conf$$.dir
; then
10780 rm -f conf$$.dir
/conf$$.
file
10786 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10788 # ... but there are two gotchas:
10789 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10790 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10791 # In both cases, we have to default to `cp -p'.
10792 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10794 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10799 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10800 rmdir conf$$.dir
2>/dev
/null
10802 if mkdir
-p .
2>/dev
/null
; then
10805 test -d .
/-p && rmdir .
/-p
10809 if test -x / >/dev
/null
2>&1; then
10810 as_test_x
='test -x'
10812 if ls -dL / >/dev
/null
2>&1; then
10819 if test -d "$1"; then
10825 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10826 ???[sx]*):;;*)false;;esac;fi
10830 as_executable_p
=$as_test_x
10832 # Sed expression to map a string onto a valid CPP name.
10833 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10835 # Sed expression to map a string onto a valid variable name.
10836 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10841 # Save the log message, to keep $[0] and so on meaningful, and to
10842 # report actual input values of CONFIG_FILES etc. instead of their
10843 # values after options handling.
10845 This file was extended by $as_me, which was
10846 generated by GNU Autoconf 2.61. Invocation command line was
10848 CONFIG_FILES = $CONFIG_FILES
10849 CONFIG_HEADERS = $CONFIG_HEADERS
10850 CONFIG_LINKS = $CONFIG_LINKS
10851 CONFIG_COMMANDS = $CONFIG_COMMANDS
10854 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10859 cat >>$CONFIG_STATUS <<_ACEOF
10860 # Files that config.status was made for.
10861 config_files="$ac_config_files"
10862 config_headers="$ac_config_headers"
10863 config_commands="$ac_config_commands"
10867 cat >>$CONFIG_STATUS <<\_ACEOF
10869 \`$as_me' instantiates files from templates according to the
10870 current configuration.
10872 Usage: $0 [OPTIONS] [FILE]...
10874 -h, --help print this help, then exit
10875 -V, --version print version number and configuration settings, then exit
10876 -q, --quiet do not print progress messages
10877 -d, --debug don't remove temporary files
10878 --recheck update $as_me by reconfiguring in the same conditions
10879 --file=FILE[:TEMPLATE]
10880 instantiate the configuration file FILE
10881 --header=FILE[:TEMPLATE]
10882 instantiate the configuration header FILE
10884 Configuration files:
10887 Configuration headers:
10890 Configuration commands:
10893 Report bugs to <bug-autoconf@gnu.org>."
10896 cat >>$CONFIG_STATUS <<_ACEOF
10899 configured by $0, generated by GNU Autoconf 2.61,
10900 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10902 Copyright (C) 2006 Free Software Foundation, Inc.
10903 This config.status script is free software; the Free Software Foundation
10904 gives unlimited permission to copy, distribute and modify it."
10910 cat >>$CONFIG_STATUS <<\_ACEOF
10911 # If no file are specified by the user, then we need to provide default
10912 # value. By we need to know if files were specified by the user.
10918 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10919 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10930 # Handling of the options.
10931 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10933 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10934 echo "$ac_cs_version"; exit ;;
10935 --debug |
--debu |
--deb |
--de |
--d |
-d )
10937 --file |
--fil |
--fi |
--f )
10939 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10940 ac_need_defaults
=false
;;
10941 --header |
--heade |
--head |
--hea )
10943 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10944 ac_need_defaults
=false
;;
10946 # Conflict between --help and --header
10947 { echo "$as_me: error: ambiguous option: $1
10948 Try \`$0 --help' for more information." >&2
10949 { (exit 1); exit 1; }; };;
10950 --help |
--hel |
-h )
10951 echo "$ac_cs_usage"; exit ;;
10952 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10953 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10956 # This is an error.
10957 -*) { echo "$as_me: error: unrecognized option: $1
10958 Try \`$0 --help' for more information." >&2
10959 { (exit 1); exit 1; }; } ;;
10961 *) ac_config_targets
="$ac_config_targets $1"
10962 ac_need_defaults
=false
;;
10968 ac_configure_extra_args
=
10970 if $ac_cs_silent; then
10972 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10976 cat >>$CONFIG_STATUS <<_ACEOF
10977 if \$ac_cs_recheck; then
10978 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10979 CONFIG_SHELL=$SHELL
10980 export CONFIG_SHELL
10981 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10985 cat >>$CONFIG_STATUS <<\_ACEOF
10989 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10990 ## Running $as_me. ##
10996 cat >>$CONFIG_STATUS <<_ACEOF
11001 aros_tools_dir=${aros_tools_dir}
11002 aros_target_cpu=${aros_target_cpu}
11003 aros_target_arch=${aros_target_arch}
11004 aros_target_suffix=${aros_target_suffix}
11005 aros_target_nm_ln=${aros_target_nm_ln}
11006 aros_target_as_ln=${aros_target_as_ln}
11007 aros_target_ar_ln=${aros_target_ar_ln}
11008 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11009 aros_target_objdump_ln=${aros_target_objdump_ln}
11010 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11011 aros_target_strip_ln=${aros_target_strip_ln}
11014 aros_scripts_dir=${aros_scripts_dir}
11016 aros_tools_dir=${aros_tools_dir}
11021 cat >>$CONFIG_STATUS <<\_ACEOF
11023 # Handling of arguments.
11024 for ac_config_target
in $ac_config_targets
11026 case $ac_config_target in
11027 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11028 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11029 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11030 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11031 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
11032 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11033 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
11034 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11035 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11036 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11037 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11038 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11039 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11040 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11041 "${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" ;;
11042 "${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" ;;
11043 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11044 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11045 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
11046 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11048 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11049 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11050 { (exit 1); exit 1; }; };;
11055 # If the user did not use the arguments to specify the items to instantiate,
11056 # then the envvar interface is used. Set only those that are not.
11057 # We use the long form for the default assignment because of an extremely
11058 # bizarre bug on SunOS 4.1.3.
11059 if $ac_need_defaults; then
11060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11062 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11065 # Have a temporary directory for convenience. Make it in the build tree
11066 # simply because there is no reason against having it here, and in addition,
11067 # creating and moving files from /tmp can sometimes cause problems.
11068 # Hook for its removal unless debugging.
11069 # Note that there is a small window in which the directory will not be cleaned:
11070 # after its creation but before its name has been assigned to `$tmp'.
11074 trap 'exit_status=$?
11075 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11077 trap '{ (exit 1); exit 1; }' 1 2 13 15
11079 # Create a (secure) tmp directory for tmp files.
11082 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11083 test -n "$tmp" && test -d "$tmp"
11086 tmp
=.
/conf$$
-$RANDOM
11087 (umask 077 && mkdir
"$tmp")
11090 echo "$me: cannot create a temporary directory in ." >&2
11091 { (exit 1); exit 1; }
11095 # Set up the sed scripts for CONFIG_FILES section.
11098 # No need to generate the scripts if there are no CONFIG_FILES.
11099 # This happens for instance when ./config.status config.h
11100 if test -n "$CONFIG_FILES"; then
11107 for ac_last_try
in false false false false false
:; do
11108 cat >conf$
$subs.
sed <<_ACEOF
11109 SHELL!$SHELL$ac_delim
11110 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11111 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11112 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11113 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11114 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11115 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11116 exec_prefix!$exec_prefix$ac_delim
11117 prefix!$prefix$ac_delim
11118 program_transform_name!$program_transform_name$ac_delim
11119 bindir!$bindir$ac_delim
11120 sbindir!$sbindir$ac_delim
11121 libexecdir!$libexecdir$ac_delim
11122 datarootdir!$datarootdir$ac_delim
11123 datadir!$datadir$ac_delim
11124 sysconfdir!$sysconfdir$ac_delim
11125 sharedstatedir!$sharedstatedir$ac_delim
11126 localstatedir!$localstatedir$ac_delim
11127 includedir!$includedir$ac_delim
11128 oldincludedir!$oldincludedir$ac_delim
11129 docdir!$docdir$ac_delim
11130 infodir!$infodir$ac_delim
11131 htmldir!$htmldir$ac_delim
11132 dvidir!$dvidir$ac_delim
11133 pdfdir!$pdfdir$ac_delim
11134 psdir!$psdir$ac_delim
11135 libdir!$libdir$ac_delim
11136 localedir!$localedir$ac_delim
11137 mandir!$mandir$ac_delim
11138 DEFS!$DEFS$ac_delim
11139 ECHO_C!$ECHO_C$ac_delim
11140 ECHO_N!$ECHO_N$ac_delim
11141 ECHO_T!$ECHO_T$ac_delim
11142 LIBS!$LIBS$ac_delim
11143 build_alias!$build_alias$ac_delim
11144 host_alias!$host_alias$ac_delim
11145 target_alias!$target_alias$ac_delim
11146 build!$build$ac_delim
11147 build_cpu!$build_cpu$ac_delim
11148 build_vendor!$build_vendor$ac_delim
11149 build_os!$build_os$ac_delim
11150 host!$host$ac_delim
11151 host_cpu!$host_cpu$ac_delim
11152 host_vendor!$host_vendor$ac_delim
11153 host_os!$host_os$ac_delim
11155 CFLAGS!$CFLAGS$ac_delim
11156 LDFLAGS!$LDFLAGS$ac_delim
11157 CPPFLAGS!$CPPFLAGS$ac_delim
11158 ac_ct_CC!$ac_ct_CC$ac_delim
11159 EXEEXT!$EXEEXT$ac_delim
11160 OBJEXT!$OBJEXT$ac_delim
11163 MMAKE!$MMAKE$ac_delim
11164 aros_host_ld!$aros_host_ld$ac_delim
11165 aros_host_aclocal!$aros_host_aclocal$ac_delim
11166 aros_host_autoconf!$aros_host_autoconf$ac_delim
11167 aros_host_autoheader!$aros_host_autoheader$ac_delim
11168 aros_host_automake!$aros_host_automake$ac_delim
11169 aros_host_ar!$aros_host_ar$ac_delim
11170 aros_host_ranlib!$aros_host_ranlib$ac_delim
11171 aros_host_strip!$aros_host_strip$ac_delim
11175 ECHO!$ECHO$ac_delim
11176 MKDIR!$MKDIR$ac_delim
11177 TOUCH!$TOUCH$ac_delim
11178 SORT!$SORT$ac_delim
11179 UNIQ!$UNIQ$ac_delim
11182 BISON!$BISON$ac_delim
11183 FLEX!$FLEX$ac_delim
11184 PNGTOPNM!$PNGTOPNM$ac_delim
11185 PPMTOILBM!$PPMTOILBM$ac_delim
11187 CHMOD!$CHMOD$ac_delim
11188 PYTHON!$PYTHON$ac_delim
11189 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
11190 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
11191 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
11192 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
11193 pythondir!$pythondir$ac_delim
11194 pkgpythondir!$pkgpythondir$ac_delim
11195 pyexecdir!$pyexecdir$ac_delim
11196 pkgpyexecdir!$pkgpyexecdir$ac_delim
11199 TEST!$TEST$ac_delim
11201 GREP!$GREP$ac_delim
11202 EGREP!$EGREP$ac_delim
11203 LIBOBJS!$LIBOBJS$ac_delim
11204 XMKMF!$XMKMF$ac_delim
11205 DISTCC!$DISTCC$ac_delim
11208 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11210 elif $ac_last_try; then
11211 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11212 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11213 { (exit 1); exit 1; }; }
11215 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11219 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11220 if test -n "$ac_eof"; then
11221 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11222 ac_eof
=`expr $ac_eof + 1`
11225 cat >>$CONFIG_STATUS <<_ACEOF
11226 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11227 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11230 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11231 s/^/s,@/; s/!/@,|#_!!_#|/
11234 s/'"$ac_delim"'$/,g/; t
11236 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11237 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11238 rm -f conf$
$subs.
sed
11239 cat >>$CONFIG_STATUS <<_ACEOF
11245 for ac_last_try
in false false false false false
:; do
11246 cat >conf$
$subs.
sed <<_ACEOF
11247 CCACHE!$CCACHE$ac_delim
11248 aros_kernel_cc!$aros_kernel_cc$ac_delim
11249 aros_target_as_ln!$aros_target_as_ln$ac_delim
11250 aros_kernel_ld!$aros_kernel_ld$ac_delim
11251 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
11252 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
11253 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
11254 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
11255 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
11256 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
11257 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
11258 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
11259 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
11260 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
11261 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
11262 aros_arch!$aros_arch$ac_delim
11263 aros_cpu!$aros_cpu$ac_delim
11264 aros_flavour!$aros_flavour$ac_delim
11265 aros_flavour_uc!$aros_flavour_uc$ac_delim
11266 TOPDIR!$TOPDIR$ac_delim
11267 aros_cc_pre!$aros_cc_pre$ac_delim
11268 aros_host_arch!$aros_host_arch$ac_delim
11269 aros_host_cpu!$aros_host_cpu$ac_delim
11270 aros_host_cc!$aros_host_cc$ac_delim
11271 aros_host_make!$aros_host_make$ac_delim
11272 aros_host_cflags!$aros_host_cflags$ac_delim
11273 aros_host_ldflags!$aros_host_ldflags$ac_delim
11274 aros_host_debug!$aros_host_debug$ac_delim
11275 aros_host_mkdep!$aros_host_mkdep$ac_delim
11276 aros_host_mkargs!$aros_host_mkargs$ac_delim
11277 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
11278 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
11279 aros_tools_dir!$aros_tools_dir$ac_delim
11280 aros_target_arch!$aros_target_arch$ac_delim
11281 aros_target_cpu!$aros_target_cpu$ac_delim
11282 aros_target_variant!$aros_target_variant$ac_delim
11283 aros_target_suffix!$aros_target_suffix$ac_delim
11284 aros_target_incl!$aros_target_incl$ac_delim
11285 aros_target_ar!$aros_target_ar$ac_delim
11286 aros_target_ranlib!$aros_target_ranlib$ac_delim
11287 aros_kernel_nm!$aros_kernel_nm$ac_delim
11288 aros_target_cc!$aros_target_cc$ac_delim
11289 aros_target_as!$aros_target_as$ac_delim
11290 aros_target_ld!$aros_target_ld$ac_delim
11291 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
11292 aros_target_cc_path!$aros_target_cc_path$ac_delim
11293 aros_target_objdump!$aros_target_objdump$ac_delim
11294 aros_target_objcopy!$aros_target_objcopy$ac_delim
11295 aros_target_strip!$aros_target_strip$ac_delim
11296 aros_target_nm!$aros_target_nm$ac_delim
11297 aros_shared_default!$aros_shared_default$ac_delim
11298 aros_shared_ld!$aros_shared_ld$ac_delim
11299 aros_object_format!$aros_object_format$ac_delim
11300 aros_compiler_libs!$aros_compiler_libs$ac_delim
11301 aros_config_cflags!$aros_config_cflags$ac_delim
11302 aros_config_aflags!$aros_config_aflags$ac_delim
11303 aros_config_ldflags!$aros_config_ldflags$ac_delim
11304 aros_shared_cflags!$aros_shared_cflags$ac_delim
11305 aros_shared_aflags!$aros_shared_aflags$ac_delim
11306 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
11307 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
11308 aros_debug_cflags!$aros_debug_cflags$ac_delim
11309 aros_debug_aflags!$aros_debug_aflags$ac_delim
11310 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
11311 aros_target_genmap!$aros_target_genmap$ac_delim
11312 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
11313 aros_gui_libdir!$aros_gui_libdir$ac_delim
11314 aros_gui_ldflags!$aros_gui_ldflags$ac_delim
11315 aros_gui_libflags!$aros_gui_libflags$ac_delim
11316 aros_gui_incdir!$aros_gui_incdir$ac_delim
11317 aros_gui_ccflags!$aros_gui_ccflags$ac_delim
11318 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
11319 aros_default_wbheight!$aros_default_wbheight$ac_delim
11320 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
11321 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
11322 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
11323 aros_bochs_hack!$aros_bochs_hack$ac_delim
11324 aros_serial_debug!$aros_serial_debug$ac_delim
11325 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
11326 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
11327 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
11328 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
11329 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
11330 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
11331 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
11332 aros_debug!$aros_debug$ac_delim
11333 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
11334 aros_stack_debug!$aros_stack_debug$ac_delim
11335 aros_modules_debug!$aros_modules_debug$ac_delim
11336 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
11337 gcc_target_cpu!$gcc_target_cpu$ac_delim
11338 LTLIBOBJS!$LTLIBOBJS$ac_delim
11341 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
11343 elif $ac_last_try; then
11344 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11345 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11346 { (exit 1); exit 1; }; }
11348 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11352 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11353 if test -n "$ac_eof"; then
11354 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11355 ac_eof
=`expr $ac_eof + 1`
11358 cat >>$CONFIG_STATUS <<_ACEOF
11359 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11360 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11363 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11364 s/^/s,@/; s/!/@,|#_!!_#|/
11367 s/'"$ac_delim"'$/,g/; t
11369 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11370 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11371 rm -f conf$
$subs.
sed
11372 cat >>$CONFIG_STATUS <<_ACEOF
11379 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11380 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11381 # trailing colons and then remove the whole line if VPATH becomes empty
11382 # (actually we leave an empty line to preserve line numbers).
11383 if test "x$srcdir" = x.
; then
11384 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11385 s/:*\$(srcdir):*/:/
11386 s/:*\${srcdir}:*/:/
11388 s/^\([^=]*=[ ]*\):*/\1/
11394 cat >>$CONFIG_STATUS <<\_ACEOF
11395 fi # test -n "$CONFIG_FILES"
11398 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
11401 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11403 case $ac_mode$ac_tag in
11405 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11406 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11407 { (exit 1); exit 1; }; };;
11408 :[FH
]-) ac_tag
=-:-;;
11409 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11426 -) ac_f
="$tmp/stdin";;
11427 *) # Look for the file first in the build tree, then in the source tree
11428 # (if the path is not absolute). The absolute path cannot be DOS-style,
11429 # because $ac_f cannot contain `:'.
11433 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11435 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11436 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11437 { (exit 1); exit 1; }; };;
11439 ac_file_inputs
="$ac_file_inputs $ac_f"
11442 # Let's still pretend it is `configure' which instantiates (i.e., don't
11443 # use $as_me), people would be surprised to read:
11444 # /* config.h. Generated by config.status. */
11445 configure_input
="Generated from "`IFS=:
11446 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11447 if test x
"$ac_file" != x-
; then
11448 configure_input
="$ac_file. $configure_input"
11449 { echo "$as_me:$LINENO: creating $ac_file" >&5
11450 echo "$as_me: creating $ac_file" >&6;}
11454 *:-:* |
*:-) cat >"$tmp/stdin";;
11459 ac_dir
=`$as_dirname -- "$ac_file" ||
11460 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11461 X"$ac_file" : 'X\(//\)[^/]' \| \
11462 X"$ac_file" : 'X\(//\)$' \| \
11463 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11469 /^X\(\/\/\)[^/].*/{
11484 -*) as_dir
=.
/$as_dir;;
11486 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11490 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11491 *) as_qdir
=$as_dir;;
11493 as_dirs
="'$as_qdir' $as_dirs"
11494 as_dir
=`$as_dirname -- "$as_dir" ||
11495 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11496 X"$as_dir" : 'X\(//\)[^/]' \| \
11497 X"$as_dir" : 'X\(//\)$' \| \
11498 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11500 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11504 /^X\(\/\/\)[^/].*/{
11517 test -d "$as_dir" && break
11519 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11520 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11521 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11522 { (exit 1); exit 1; }; }; }
11526 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11528 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11529 # A ".." for each directory in $ac_dir_suffix.
11530 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11531 case $ac_top_builddir_sub in
11532 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11533 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11536 ac_abs_top_builddir
=$ac_pwd
11537 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11538 # for backward compatibility:
11539 ac_top_builddir
=$ac_top_build_prefix
11542 .
) # We are building in place.
11544 ac_top_srcdir
=$ac_top_builddir_sub
11545 ac_abs_top_srcdir
=$ac_pwd ;;
11546 [\\/]* | ?
:[\\/]* ) # Absolute name.
11547 ac_srcdir
=$srcdir$ac_dir_suffix;
11548 ac_top_srcdir
=$srcdir
11549 ac_abs_top_srcdir
=$srcdir ;;
11550 *) # Relative name.
11551 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11552 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11553 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11555 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11566 cat >>$CONFIG_STATUS <<\_ACEOF
11567 # If the template does not know about datarootdir, expand it.
11568 # FIXME: This hack should be removed a few years after 2.60.
11569 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11571 case `sed -n '/datarootdir/ {
11580 ' $ac_file_inputs` in
11581 *datarootdir
*) ac_datarootdir_seen
=yes;;
11582 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11583 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11584 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11586 cat >>$CONFIG_STATUS <<_ACEOF
11587 ac_datarootdir_hack='
11588 s&@datadir@&$datadir&g
11589 s&@docdir@&$docdir&g
11590 s&@infodir@&$infodir&g
11591 s&@localedir@&$localedir&g
11592 s&@mandir@&$mandir&g
11593 s&\\\${datarootdir}&$datarootdir&g' ;;
11597 # Neutralize VPATH when `$srcdir' = `.'.
11598 # Shell code in configure.ac might set extrasub.
11599 # FIXME: do we really want to maintain this feature?
11600 cat >>$CONFIG_STATUS <<_ACEOF
11604 cat >>$CONFIG_STATUS <<\_ACEOF
11606 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11607 s
&@configure_input@
&$configure_input&;t t
11608 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11609 s
&@srcdir@
&$ac_srcdir&;t t
11610 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11611 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11612 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11613 s
&@builddir@
&$ac_builddir&;t t
11614 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11615 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11616 $ac_datarootdir_hack
11617 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
11619 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11620 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11621 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11622 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11623 which seems to be undefined. Please make sure it is defined." >&5
11624 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11625 which seems to be undefined. Please make sure it is defined." >&2;}
11629 -) cat "$tmp/out"; rm -f "$tmp/out";;
11630 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11639 # Transform confdefs.h into a sed script `conftest.defines', that
11640 # substitutes the proper values into config.h.in to produce config.h.
11641 rm -f conftest.defines conftest.
tail
11642 # First, append a space to every undef/define line, to ease matching.
11643 echo 's/$/ /' >conftest.defines
11644 # Then, protect against being on the right side of a sed subst, or in
11645 # an unquoted here document, in config.status. If some macros were
11646 # called several times there might be several #defines for the same
11647 # symbol, which is useless. But do not sort them, since the last
11648 # AC_DEFINE must be honored.
11649 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11650 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11651 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11652 # PARAMS is the parameter list in the macro definition--in most cases, it's
11653 # just an empty string.
11654 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11655 ac_dB
='\\)[ (].*,\\1define\\2'
11663 s/^[ ]*#[ ]*define[ ][ ]*//
11668 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11669 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11670 ' >>conftest.defines
11672 # Remove the space that was appended to ease matching.
11673 # Then replace #undef with comments. This is necessary, for
11674 # example, in the case of _POSIX_SOURCE, which is predefined and required
11675 # on some systems where configure will not decide to define it.
11676 # (The regexp can be short, since the line contains either #define or #undef.)
11678 s,^[ #]*u.*,/* & */,' >>conftest.defines
11680 # Break up conftest.defines:
11681 ac_max_sed_lines
=50
11683 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11684 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11685 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11687 ac_in
='$ac_file_inputs'
11688 ac_out
='"$tmp/out1"'
11689 ac_nxt
='"$tmp/out2"'
11693 # Write a here document:
11694 cat >>$CONFIG_STATUS <<_ACEOF
11695 # First, check the format of the line:
11696 cat >"\$tmp/defines.sed" <<\\CEOF
11697 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11698 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11702 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11704 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11705 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11706 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11707 grep . conftest.
tail >/dev
/null ||
break
11708 rm -f conftest.defines
11709 mv conftest.
tail conftest.defines
11711 rm -f conftest.defines conftest.
tail
11713 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11714 cat >>$CONFIG_STATUS <<\_ACEOF
11715 if test x
"$ac_file" != x-
; then
11716 echo "/* $configure_input */" >"$tmp/config.h"
11717 cat "$ac_result" >>"$tmp/config.h"
11718 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11719 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11720 echo "$as_me: $ac_file is unchanged" >&6;}
11723 mv "$tmp/config.h" $ac_file
11726 echo "/* $configure_input */"
11732 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11733 echo "$as_me: executing $ac_file commands" >&6;}
11738 case $ac_file$ac_mode in
11739 "compiler_executable":C
)
11740 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
11742 prefix
="${prefix}/${aros_target_cpu}-aros"
11743 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
11747 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
11749 ln -sf ${prefix2}-gcc ${prefix}-gcc
11750 ln -sf ${prefix2}-ld ${prefix}-ld
11752 ln -sf $aros_target_as_ln ${prefix}-as
11753 ln -sf $aros_target_nm_ln ${prefix}-nm
11754 ln -sf $aros_target_ar_ln ${prefix}-ar
11755 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
11756 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
11757 ln -sf $aros_target_objdump_ln ${prefix}-objdump
11758 ln -sf $aros_target_strip_ln ${prefix}-strip
11760 ln -sf $aros_target_as_ln ${prefix2}-as
11761 ln -sf $aros_target_nm_ln ${prefix2}-nm
11762 ln -sf $aros_target_ar_ln ${prefix2}-ar
11763 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
11764 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
11765 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
11766 ln -sf $aros_target_strip_ln ${prefix2}-strip
11768 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
11769 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
11770 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
11777 { (exit 0); exit 0; }
11779 chmod +x
$CONFIG_STATUS
11780 ac_clean_files
=$ac_clean_files_save
11783 # configure is writing to config.log, and then calls config.status.
11784 # config.status does its own redirection, appending to config.log.
11785 # Unfortunately, on DOS this fails, as config.log is still kept open
11786 # by configure, so config.status won't be able to write to it; its
11787 # output is simply discarded. So we exec the FD to /dev/null,
11788 # effectively closing config.log, so it can be properly (re)opened and
11789 # appended to by config.status. When coming back to configure, we
11790 # need to make the FD available again.
11791 if test "$no_create" != yes; then
11793 ac_config_status_args
=
11794 test "$silent" = yes &&
11795 ac_config_status_args
="$ac_config_status_args --quiet"
11797 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11799 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11800 # would make configure fail if this is the last instruction.
11801 $ac_cs_success ||
{ (exit 1); exit 1; }
11806 #XXX compatability...
11807 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
11809 if test -n "$aros_shared_cflags" ; then
11810 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
11811 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg