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 aros_target_cpu
="x86_64"
8392 if test "$aros_object_format" = "" ; then
8393 aros_object_format
="elf_x86_64"
8395 aros_flavour
="standalone"
8396 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
8397 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
8398 aros_kernel_ldflags
=""
8399 aros_default_wbwidth
=640
8400 aros_default_wbheight
=480
8401 gcc_target_cpu
="x86_64"
8404 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
8405 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
8406 { (exit 1); exit 1; }; }
8412 aros_target_arch
="prep"
8413 aros_shared_default
="no"
8414 aros_target_cpu
="ppc"
8415 aros_object_format
="elf32ppc"
8416 aros_flavour
="ppcnative"
8417 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8418 aros_kernel_ldflags
=""
8419 aros_default_wbwidth
=640
8420 aros_default_wbheight
=480
8421 gcc_target_cpu
="ppc"
8422 case "$target_cpu" in
8424 aros_target_cc
="ppc-linux-gcc -pipe"
8425 aros_target_ld
="ppc-linux-ld"
8426 aros_target_as
="ppc-linux-as"
8427 aros_target_ar
="ppc-linux-ar"
8428 aros_target_ranlib
="ppc-linux-ranlib"
8429 aros_target_nm
="ppc-linux-nm"
8430 aros_target_strip
="ppc-linux-strip"
8431 aros_target_objcopy
="ppc-linux-objcopy"
8432 aros_target_objdump
="ppc-linux-objdump"
8433 aros_shared_ld
="ppc-linux-ld"
8434 aros_kernel_ld
="ppc-linux-ld"
8442 aros_target_arch
="freebsd"
8443 aros_target_cpu
="i386"
8444 aros_flavour
="emulation"
8445 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8446 gcc_target_cpu
="i386"
8448 aros_target_strip_flags
="-x"
8452 aros_target_arch
="darwin"
8453 aros_target_cpu
="i386"
8454 aros_flavour
="emulation"
8455 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8456 gcc_target_cpu
="i386"
8458 aros_target_strip_flags
="-x"
8462 aros_target_arch
="netbsd"
8463 case "$target_cpu" in
8465 aros_target_cpu
="m68k"
8466 aros_object_format
="m68kelf"
8467 aros_flavour
="emulcompat"
8468 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
8469 gcc_target_cpu
="mc68000"
8472 aros_target_cpu
="i386"
8473 aros_object_format
="elf_i386"
8474 aros_flavour
="emulation"
8475 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
8476 aros_default_wbdepth
=8
8477 gcc_target_cpu
="i386"
8480 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
8481 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
8482 { (exit 1); exit 1; }; }
8485 aros_target_genmap
="-Wl,-M -Xlinker >"
8486 aros_flavour
="emulation"
8487 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
8491 aros_target_arch
="openbsd"
8492 case "$target_cpu" in
8494 aros_target_cpu
="i386"
8495 aros_object_format
="elf_i386"
8496 aros_flavour
="emulation"
8497 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
8498 gcc_target_cpu
="i386"
8501 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
8502 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
8503 { (exit 1); exit 1; }; }
8506 aros_target_genmap
="-Wl,-M -Xlinker >"
8507 aros_target_nm_flags
="-u"
8508 aros_flavour
="emulation"
8512 aros_target_arch
="solaris"
8513 case "$target_cpu" in
8515 aros_target_cpu
="sparc"
8516 aros_object_format
="elf_sparc"
8517 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
8518 gcc_target_cpu
="sparc"
8521 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
8522 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
8523 { (exit 1); exit 1; }; }
8526 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
8527 aros_flavour
="emulation"
8531 aros_target_arch
="morphos"
8532 aros_shared_default
="no"
8533 aros_target_cpu
="ppc"
8534 aros_object_format
="elf_ppc"
8535 aros_flavour
="nativecompat"
8536 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
8537 gcc_target_cpu
="ppc"
8541 aros_target_arch
="amiga"
8542 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
8543 aros_shared_default
="no"
8545 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
8547 case "$target_cpu" in
8549 aros_target_cpu
="m68k"
8550 aros_object_format
="m68kelf"
8551 aros_flavour
="nativecompat"
8552 gcc_target_cpu
="mc68000"
8556 aros_flavour
="native"
8557 gcc_target_cpu
="ppc"
8560 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
8561 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
8562 { (exit 1); exit 1; }; }
8568 aros_target_arch
="cygwin"
8569 aros_shared_default
="no"
8570 case "$target_cpu" in
8572 aros_target_cpu
="i386"
8573 aros_object_format
="elf_i386"
8574 aros_flavour
="emulation"
8575 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
8576 aros_shared_cflags
=""
8577 aros_default_wbdepth
=8
8578 gcc_target_cpu
="i386"
8581 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
8582 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
8583 { (exit 1); exit 1; }; }
8588 aros_target_arch
="pp"
8589 aros_shared_default
="no"
8590 case "$target_cpu" in
8592 aros_target_cpu
="m68k"
8593 aros_object_format
="m68kelf"
8594 aros_flavour
="palmnative"
8595 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8596 aros_kernel_ldflags
=""
8597 aros_default_wbwidth
=160
8598 aros_default_wbheight
=160
8599 aros_default_wbdepth
=1
8600 aros_target_cc
="m68k-elf-gcc -pipe"
8601 aros_target_ld
="$(which m68k-elf-ld)"
8602 aros_target_as
="m68k-elf-gcc -pipe"
8603 aros_shared_ld
="m68k-elf-gcc"
8604 aros_kernel_ld
="m68k-elf-gcc"
8605 aros_target_ar
="m68k-elf-ar"
8606 aros_target_ar_flags
="cru"
8607 aros_target_ranlib
="m68k-elf-ranlib"
8608 aros_target_nm
="m68k-elf-nm"
8609 aros_target_objcopy
="m68k-elf-objcopy"
8610 aros_target_objdump
="m68k-elf-objdump"
8611 aros_compiler_libs
="-lgcc1"
8612 aros_shared_default
=no
8613 aros_shared_cflags
="-fpic"
8614 aros_shared_aflags
=""
8615 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8616 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8617 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
8618 aros_debug_aflags
=""
8619 aros_debug_ldflags
="$aros_symbols_debug"
8620 aros_mungwall_debug
="0"
8621 aros_modules_debug
="0"
8622 gcc_target_cpu
="mc68000"
8623 ignore_undefined_symbols
="-ius"
8626 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
8627 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
8628 { (exit 1); exit 1; }; }
8634 aros_target_arch
="mac"
8635 aros_shared_default
="no"
8636 case "$target_cpu" in
8638 aros_target_cpu
="m68k"
8639 aros_object_format
="m68kelf"
8640 aros_flavour
="mac68knative"
8641 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
8642 aros_default_wbwidth
=512
8643 aros_default_wbheight
=384
8644 aros_default_wbdepth
=8
8645 aros_target_cc
="m68k-elf-gcc -pipe"
8646 aros_target_ld
="$(which m68k-elf-ld)"
8647 aros_target_as
="m68k-elf-gcc -pipe"
8648 aros_shared_ld
="m68k-elf-gcc"
8649 aros_kernel_ld
="m68k-elf-gcc"
8650 aros_target_ar
="m68k-elf-ar"
8651 aros_target_ar_flags
="cru"
8652 aros_target_ranlib
="m68k-elf-ranlib"
8653 aros_target_nm
="m68k-elf-nm"
8654 aros_target_objcopy
="m68k-elf-objcopy"
8655 aros_target_objdump
="m68k-elf-objdump"
8656 aros_compiler_libs
="-lgcc1"
8657 aros_shared_default
=no
8658 aros_shared_cflags
="-fpic"
8659 aros_shared_aflags
=""
8660 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
8661 aros_kernel_ldflags
="-Wl,-rpath,./lib"
8662 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
8663 aros_debug_aflags
=""
8664 aros_debug_ldflags
="$aros_symbols_debug"
8665 aros_mungwall_debug
="0"
8666 aros_modules_debug
="0"
8667 gcc_target_cpu
="mc68000"
8668 ignore_undefined_symbols
="-ius"
8671 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
8672 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
8673 { (exit 1); exit 1; }; }
8679 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
8680 echo "$as_me: error: Unsupported target architecture $target" >&2;}
8681 { (exit 1); exit 1; }; }
8686 # Find out if we are cross-compiling (ie. if we can't use the host compiler
8689 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8692 if test "$aros_host_arch" == "darwin" ; then
8696 # Set prefix for target compiler etc. if we're cross-compiling
8697 # (should possibly be earlier but needs to be after AC_PROG_CC)
8698 if test "$cross_compiling" = "yes" ; then
8699 target_tool_prefix
=${target_cpu}-elf-
8700 CC
=${target_tool_prefix}gcc
8703 # Find all the tools we need to compile. This could be cross-compiling
8704 # though! If that is the case we use the GNU form of the target and
8705 # simply add this to the front of the binary name. This is rather simple,
8706 # but it should work under most circumstances.
8708 # The default tools are to use the same as the host, but only if the
8709 # host and target CPU are the same. With GCC this is normally enough.
8713 aros_shared_ld
="$aros_host_ld"
8715 aros_target_mkdep
="$aros_host_mkdep"
8716 aros_target_incl_def
="$aros_host_incl"
8718 # Extract the first word of "$CC", so it can be a program name with args.
8719 set dummy
$CC; ac_word
=$2
8720 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8722 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
8723 echo $ECHO_N "(cached) $ECHO_C" >&6
8725 case $aros_kernel_cc in
8727 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
8730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8734 test -z "$as_dir" && as_dir
=.
8735 for ac_exec_ext
in '' $ac_executable_extensions; do
8736 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8737 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
8738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8748 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
8749 if test -n "$aros_kernel_cc"; then
8750 { echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
8751 echo "${ECHO_T}$aros_kernel_cc" >&6; }
8753 { echo "$as_me:$LINENO: result: no" >&5
8754 echo "${ECHO_T}no" >&6; }
8759 # The default tools executables to be linked to.
8761 if test "$cross_compiling" = "yes" ; then
8762 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8763 set dummy
${target_tool_prefix}as
; ac_word
=$2
8764 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8766 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8767 echo $ECHO_N "(cached) $ECHO_C" >&6
8769 case $aros_target_as_ln in
8771 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir
=.
8779 for ac_exec_ext
in '' $ac_executable_extensions; do
8780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8781 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8782 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8793 if test -n "$aros_target_as_ln"; then
8794 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8795 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8797 { echo "$as_me:$LINENO: result: no" >&5
8798 echo "${ECHO_T}no" >&6; }
8803 if test "$GCC" = "yes"; then
8804 aros_gcc_as
=`$CC -print-prog-name=as`
8805 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8806 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8807 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8809 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8810 echo $ECHO_N "(cached) $ECHO_C" >&6
8812 case $aros_target_as_ln in
8814 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8818 for as_dir
in `dirname $aros_gcc_as`
8821 test -z "$as_dir" && as_dir
=.
8822 for ac_exec_ext
in '' $ac_executable_extensions; do
8823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8824 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8825 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8835 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8836 if test -n "$aros_target_as_ln"; then
8837 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8838 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8840 { echo "$as_me:$LINENO: result: no" >&5
8841 echo "${ECHO_T}no" >&6; }
8846 if test "$aros_target_as_ln" = ""; then
8847 # Extract the first word of "as", so it can be a program name with args.
8848 set dummy as
; ac_word
=$2
8849 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8851 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 case $aros_target_as_ln in
8856 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8863 test -z "$as_dir" && as_dir
=.
8864 for ac_exec_ext
in '' $ac_executable_extensions; do
8865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8866 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8867 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8877 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8878 if test -n "$aros_target_as_ln"; then
8879 { echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
8880 echo "${ECHO_T}$aros_target_as_ln" >&6; }
8882 { echo "$as_me:$LINENO: result: no" >&5
8883 echo "${ECHO_T}no" >&6; }
8890 if test "$aros_target_as_ln" = ""; then
8891 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
8892 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
8893 { (exit 1); exit 1; }; }
8896 if test "$cross_compiling" = "yes" ; then
8897 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8898 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8901 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8902 echo $ECHO_N "(cached) $ECHO_C" >&6
8904 case $aros_kernel_ld in
8906 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8913 test -z "$as_dir" && as_dir
=.
8914 for ac_exec_ext
in '' $ac_executable_extensions; do
8915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8916 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8927 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8928 if test -n "$aros_kernel_ld"; then
8929 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8930 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8932 { echo "$as_me:$LINENO: result: no" >&5
8933 echo "${ECHO_T}no" >&6; }
8938 if test "$GCC" = "yes"; then
8939 aros_gcc_ld
=`$CC -print-prog-name=ld`
8940 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8941 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8942 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8944 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8945 echo $ECHO_N "(cached) $ECHO_C" >&6
8947 case $aros_kernel_ld in
8949 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8953 for as_dir
in `dirname $aros_gcc_ld`
8956 test -z "$as_dir" && as_dir
=.
8957 for ac_exec_ext
in '' $ac_executable_extensions; do
8958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8959 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8970 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8971 if test -n "$aros_kernel_ld"; then
8972 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
8973 echo "${ECHO_T}$aros_kernel_ld" >&6; }
8975 { echo "$as_me:$LINENO: result: no" >&5
8976 echo "${ECHO_T}no" >&6; }
8981 if test "$aros_kernel_ld" = ""; then
8982 # Extract the first word of "ld", so it can be a program name with args.
8983 set dummy ld
; ac_word
=$2
8984 { echo "$as_me:$LINENO: checking for $ac_word" >&5
8985 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
8986 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
8987 echo $ECHO_N "(cached) $ECHO_C" >&6
8989 case $aros_kernel_ld in
8991 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8998 test -z "$as_dir" && as_dir
=.
8999 for ac_exec_ext
in '' $ac_executable_extensions; do
9000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9001 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
9002 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9012 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
9013 if test -n "$aros_kernel_ld"; then
9014 { echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
9015 echo "${ECHO_T}$aros_kernel_ld" >&6; }
9017 { echo "$as_me:$LINENO: result: no" >&5
9018 echo "${ECHO_T}no" >&6; }
9025 if test "$aros_kernel_ld" = ""; then
9026 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
9027 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
9028 { (exit 1); exit 1; }; }
9031 if test "$cross_compiling" = "yes" ; then
9032 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9033 set dummy
${target_tool_prefix}ar; ac_word
=$2
9034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9036 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9037 echo $ECHO_N "(cached) $ECHO_C" >&6
9039 case $aros_target_ar_ln in
9041 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9048 test -z "$as_dir" && as_dir
=.
9049 for ac_exec_ext
in '' $ac_executable_extensions; do
9050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9051 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9052 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9062 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9063 if test -n "$aros_target_ar_ln"; then
9064 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9065 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9067 { echo "$as_me:$LINENO: result: no" >&5
9068 echo "${ECHO_T}no" >&6; }
9073 if test "$GCC" = "yes"; then
9074 aros_gcc_ar
=`$CC -print-prog-name=ar`
9075 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9076 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9077 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9079 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9080 echo $ECHO_N "(cached) $ECHO_C" >&6
9082 case $aros_target_ar_ln in
9084 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9088 for as_dir
in `dirname $aros_gcc_ar`
9091 test -z "$as_dir" && as_dir
=.
9092 for ac_exec_ext
in '' $ac_executable_extensions; do
9093 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9094 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9105 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9106 if test -n "$aros_target_ar_ln"; then
9107 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9108 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9110 { echo "$as_me:$LINENO: result: no" >&5
9111 echo "${ECHO_T}no" >&6; }
9116 if test "$aros_target_ar_ln" = ""; then
9117 # Extract the first word of "ar", so it can be a program name with args.
9118 set dummy
ar; ac_word
=$2
9119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9121 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
9122 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 case $aros_target_ar_ln in
9126 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9133 test -z "$as_dir" && as_dir
=.
9134 for ac_exec_ext
in '' $ac_executable_extensions; do
9135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9136 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9147 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9148 if test -n "$aros_target_ar_ln"; then
9149 { echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
9150 echo "${ECHO_T}$aros_target_ar_ln" >&6; }
9152 { echo "$as_me:$LINENO: result: no" >&5
9153 echo "${ECHO_T}no" >&6; }
9160 if test "$aros_target_ar_ln" = ""; then
9161 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
9162 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
9163 { (exit 1); exit 1; }; }
9166 if test "$cross_compiling" = "yes" ; then
9167 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9168 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9171 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9172 echo $ECHO_N "(cached) $ECHO_C" >&6
9174 case $aros_target_nm_ln in
9176 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9183 test -z "$as_dir" && as_dir
=.
9184 for ac_exec_ext
in '' $ac_executable_extensions; do
9185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9186 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9187 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9197 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9198 if test -n "$aros_target_nm_ln"; then
9199 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9200 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9202 { echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6; }
9208 if test "$GCC" = "yes"; then
9209 aros_gcc_nm
=`$CC -print-prog-name=nm`
9210 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9211 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9212 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9214 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9215 echo $ECHO_N "(cached) $ECHO_C" >&6
9217 case $aros_target_nm_ln in
9219 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9222 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9223 for as_dir
in `dirname $aros_gcc_nm`
9226 test -z "$as_dir" && as_dir
=.
9227 for ac_exec_ext
in '' $ac_executable_extensions; do
9228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9229 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9240 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9241 if test -n "$aros_target_nm_ln"; then
9242 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9243 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9245 { echo "$as_me:$LINENO: result: no" >&5
9246 echo "${ECHO_T}no" >&6; }
9251 if test "$aros_target_nm_ln" = ""; then
9252 # Extract the first word of "nm", so it can be a program name with args.
9253 set dummy nm
; ac_word
=$2
9254 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9256 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
9257 echo $ECHO_N "(cached) $ECHO_C" >&6
9259 case $aros_target_nm_ln in
9261 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9264 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9268 test -z "$as_dir" && as_dir
=.
9269 for ac_exec_ext
in '' $ac_executable_extensions; do
9270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9271 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9282 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9283 if test -n "$aros_target_nm_ln"; then
9284 { echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
9285 echo "${ECHO_T}$aros_target_nm_ln" >&6; }
9287 { echo "$as_me:$LINENO: result: no" >&5
9288 echo "${ECHO_T}no" >&6; }
9295 if test "$aros_target_nm_ln" = ""; then
9296 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
9297 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
9298 { (exit 1); exit 1; }; }
9301 if test "$cross_compiling" = "yes" ; then
9302 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9303 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9304 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9306 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9309 case $aros_target_objcopy_ln in
9311 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9318 test -z "$as_dir" && as_dir
=.
9319 for ac_exec_ext
in '' $ac_executable_extensions; do
9320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9321 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9332 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9333 if test -n "$aros_target_objcopy_ln"; then
9334 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9335 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9337 { echo "$as_me:$LINENO: result: no" >&5
9338 echo "${ECHO_T}no" >&6; }
9343 if test "$GCC" = "yes"; then
9344 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9345 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9346 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9349 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9350 echo $ECHO_N "(cached) $ECHO_C" >&6
9352 case $aros_target_objcopy_ln in
9354 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9357 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9358 for as_dir
in `dirname $aros_gcc_objcopy`
9361 test -z "$as_dir" && as_dir
=.
9362 for ac_exec_ext
in '' $ac_executable_extensions; do
9363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9364 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9375 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9376 if test -n "$aros_target_objcopy_ln"; then
9377 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9378 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9380 { echo "$as_me:$LINENO: result: no" >&5
9381 echo "${ECHO_T}no" >&6; }
9386 if test "$aros_target_objcopy_ln" = ""; then
9387 # Extract the first word of "objcopy", so it can be a program name with args.
9388 set dummy objcopy
; ac_word
=$2
9389 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9391 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
9392 echo $ECHO_N "(cached) $ECHO_C" >&6
9394 case $aros_target_objcopy_ln in
9396 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9403 test -z "$as_dir" && as_dir
=.
9404 for ac_exec_ext
in '' $ac_executable_extensions; do
9405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9406 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9417 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9418 if test -n "$aros_target_objcopy_ln"; then
9419 { echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
9420 echo "${ECHO_T}$aros_target_objcopy_ln" >&6; }
9422 { echo "$as_me:$LINENO: result: no" >&5
9423 echo "${ECHO_T}no" >&6; }
9430 if test "$aros_target_objcopy_ln" = ""; then
9431 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
9432 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
9433 { (exit 1); exit 1; }; }
9436 if test "$cross_compiling" = "yes" ; then
9437 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9438 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9439 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9440 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9441 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9442 echo $ECHO_N "(cached) $ECHO_C" >&6
9444 case $aros_target_objdump_ln in
9446 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9453 test -z "$as_dir" && as_dir
=.
9454 for ac_exec_ext
in '' $ac_executable_extensions; do
9455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9456 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9467 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9468 if test -n "$aros_target_objdump_ln"; then
9469 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9470 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9472 { echo "$as_me:$LINENO: result: no" >&5
9473 echo "${ECHO_T}no" >&6; }
9478 if test "$GCC" = "yes"; then
9479 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9480 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9481 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9482 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9484 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9485 echo $ECHO_N "(cached) $ECHO_C" >&6
9487 case $aros_target_objdump_ln in
9489 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9493 for as_dir
in `dirname $aros_gcc_objdump`
9496 test -z "$as_dir" && as_dir
=.
9497 for ac_exec_ext
in '' $ac_executable_extensions; do
9498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9499 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9510 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9511 if test -n "$aros_target_objdump_ln"; then
9512 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9513 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9515 { echo "$as_me:$LINENO: result: no" >&5
9516 echo "${ECHO_T}no" >&6; }
9521 if test "$aros_target_objdump_ln" = ""; then
9522 # Extract the first word of "objdump", so it can be a program name with args.
9523 set dummy objdump
; ac_word
=$2
9524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9526 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
9527 echo $ECHO_N "(cached) $ECHO_C" >&6
9529 case $aros_target_objdump_ln in
9531 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9538 test -z "$as_dir" && as_dir
=.
9539 for ac_exec_ext
in '' $ac_executable_extensions; do
9540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9541 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9552 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9553 if test -n "$aros_target_objdump_ln"; then
9554 { echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
9555 echo "${ECHO_T}$aros_target_objdump_ln" >&6; }
9557 { echo "$as_me:$LINENO: result: no" >&5
9558 echo "${ECHO_T}no" >&6; }
9565 if test "$aros_target_objdump_ln" = ""; then
9566 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
9567 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
9568 { (exit 1); exit 1; }; }
9571 if test "$cross_compiling" = "yes" ; then
9572 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9573 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9576 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9577 echo $ECHO_N "(cached) $ECHO_C" >&6
9579 case $aros_target_ranlib_ln in
9581 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9588 test -z "$as_dir" && as_dir
=.
9589 for ac_exec_ext
in '' $ac_executable_extensions; do
9590 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9591 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9592 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9602 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9603 if test -n "$aros_target_ranlib_ln"; then
9604 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9605 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9607 { echo "$as_me:$LINENO: result: no" >&5
9608 echo "${ECHO_T}no" >&6; }
9613 if test "$GCC" = "yes"; then
9614 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9615 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9616 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9617 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9618 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9619 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9620 echo $ECHO_N "(cached) $ECHO_C" >&6
9622 case $aros_target_ranlib_ln in
9624 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9627 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9628 for as_dir
in `dirname $aros_gcc_ranlib`
9631 test -z "$as_dir" && as_dir
=.
9632 for ac_exec_ext
in '' $ac_executable_extensions; do
9633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9634 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9645 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9646 if test -n "$aros_target_ranlib_ln"; then
9647 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9648 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9650 { echo "$as_me:$LINENO: result: no" >&5
9651 echo "${ECHO_T}no" >&6; }
9656 if test "$aros_target_ranlib_ln" = ""; then
9657 # Extract the first word of "ranlib", so it can be a program name with args.
9658 set dummy ranlib
; ac_word
=$2
9659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9661 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
9662 echo $ECHO_N "(cached) $ECHO_C" >&6
9664 case $aros_target_ranlib_ln in
9666 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9673 test -z "$as_dir" && as_dir
=.
9674 for ac_exec_ext
in '' $ac_executable_extensions; do
9675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9676 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9687 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9688 if test -n "$aros_target_ranlib_ln"; then
9689 { echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
9690 echo "${ECHO_T}$aros_target_ranlib_ln" >&6; }
9692 { echo "$as_me:$LINENO: result: no" >&5
9693 echo "${ECHO_T}no" >&6; }
9700 if test "$aros_target_ranlib_ln" = ""; then
9701 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
9702 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
9703 { (exit 1); exit 1; }; }
9706 if test "$cross_compiling" = "yes" ; then
9707 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9708 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9709 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9711 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9712 echo $ECHO_N "(cached) $ECHO_C" >&6
9714 case $aros_target_strip_ln in
9716 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9723 test -z "$as_dir" && as_dir
=.
9724 for ac_exec_ext
in '' $ac_executable_extensions; do
9725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9726 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9727 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9737 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9738 if test -n "$aros_target_strip_ln"; then
9739 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9740 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9742 { echo "$as_me:$LINENO: result: no" >&5
9743 echo "${ECHO_T}no" >&6; }
9748 if test "$GCC" = "yes"; then
9749 aros_gcc_strip
=`$CC -print-prog-name=strip`
9750 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9751 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9752 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9754 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9755 echo $ECHO_N "(cached) $ECHO_C" >&6
9757 case $aros_target_strip_ln in
9759 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9763 for as_dir
in `dirname $aros_gcc_strip`
9766 test -z "$as_dir" && as_dir
=.
9767 for ac_exec_ext
in '' $ac_executable_extensions; do
9768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9769 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9780 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9781 if test -n "$aros_target_strip_ln"; then
9782 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9783 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9785 { echo "$as_me:$LINENO: result: no" >&5
9786 echo "${ECHO_T}no" >&6; }
9791 if test "$aros_target_strip_ln" = ""; then
9792 # Extract the first word of "strip", so it can be a program name with args.
9793 set dummy strip
; ac_word
=$2
9794 { echo "$as_me:$LINENO: checking for $ac_word" >&5
9795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9796 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
9797 echo $ECHO_N "(cached) $ECHO_C" >&6
9799 case $aros_target_strip_ln in
9801 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9808 test -z "$as_dir" && as_dir
=.
9809 for ac_exec_ext
in '' $ac_executable_extensions; do
9810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9811 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9822 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9823 if test -n "$aros_target_strip_ln"; then
9824 { echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
9825 echo "${ECHO_T}$aros_target_strip_ln" >&6; }
9827 { echo "$as_me:$LINENO: result: no" >&5
9828 echo "${ECHO_T}no" >&6; }
9835 if test "$aros_target_strip_ln" = ""; then
9836 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
9837 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
9838 { (exit 1); exit 1; }; }
9841 if test "$GCC" = "yes"; then
9842 aros_target_cc_path
=`$aros_kernel_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9845 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9846 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9847 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9848 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9849 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9850 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9851 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9853 # aros_cc_pre is a variable that is added to the front of the compiler name
9854 # in the generated aros-gcc shell script. We need this to enable the cache
9855 # to work across cleaned builds. Also, support DISTCC using the correct
9856 # environment variable.
9859 if test "x${DISTCC}" != "x" ; then
9860 if test "x${CCACHE}" != "x" ; then
9861 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9863 aros_cc_pre
="${DISTCC} "
9866 if test "x${CCACHE}" != "x" ; then
9867 aros_cc_pre
="${CCACHE} "
9871 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9873 aros_target_nostdinc_cflags
=-nostdinc
9875 aros_target_nostartup_ldflags
=-nostartfiles
9877 aros_target_nix_ldflags
=-nix
9879 aros_target_detach_ldflags
=-detach
9881 aros_target_nostdlib_ldflags
=-nostdlib
9885 aros_target_cc
="${prefix}-gcc"
9886 aros_target_as
="${prefix}-as"
9887 aros_target_ld
="${prefix}-ld"
9888 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9889 aros_target_objcopy
=${prefix}-objcopy
9890 aros_target_objdump
=${prefix}-objdump
9891 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9892 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9893 aros_kernel_nm
="${prefix}-nm"
9894 aros_target_strip
=${prefix}-strip
9896 #-----------------------------------------------------------------------------
9897 # See if we can compile SHM support
9899 if [ "x$no_x" != "xyes" -a "x$ac_cv_header_sys_ipc_h" = "xyes" -a "x$ac_cv_header_sys_shm_h" = "xyes" ]; then
9900 { echo "$as_me:$LINENO: checking whether the X11 MIT-SHM extension can be compiled in" >&5
9901 echo $ECHO_N "checking whether the X11 MIT-SHM extension can be compiled in... $ECHO_C" >&6; }
9902 if test -z "$x_includes" ; then
9905 CFLAGS
="-I $x_includes"
9907 LIBS
="-L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext"
9908 cat >conftest.
$ac_ext <<_ACEOF
9911 cat confdefs.h
>>conftest.
$ac_ext
9912 cat >>conftest.
$ac_ext <<_ACEOF
9913 /* end confdefs.h. */
9915 #include <sys/types.h>
9916 #include <X11/Xlib.h>
9917 #include <X11/Xutil.h>
9918 #include <X11/keysym.h>
9919 #include <X11/cursorfont.h>
9920 #include <sys/ipc.h>
9921 #include <sys/shm.h>
9922 #include <X11/extensions/XShm.h>
9927 static XShmSegmentInfo shminfo;
9928 static Display *display;
9929 XShmAttach(display, &shminfo);
9931 shmctl(shminfo.shmid, IPC_RMID, 0);
9937 rm -f conftest.
$ac_objext conftest
$ac_exeext
9938 if { (ac_try
="$ac_link"
9940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9941 *) ac_try_echo=$ac_try;;
9943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9944 (eval "$ac_link") 2>conftest.er1
9946 grep -v '^ *+' conftest.er1 >conftest.err
9948 cat conftest.err >&5
9949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950 (exit $ac_status); } && {
9951 test -z "$ac_c_werror_flag" ||
9952 test ! -s conftest.err
9953 } && test -s conftest$ac_exeext &&
9954 $as_test_x conftest$ac_exeext; then
9956 { echo "$as_me:$LINENO: result: yes" >&5
9957 echo "${ECHO_T}yes" >&6; }
9959 echo "$as_me: failed program was:" >&5
9960 sed 's/^/| /' conftest.$ac_ext >&5
9963 { echo "$as_me:$LINENO: result: no" >&5
9964 echo "${ECHO_T}no" >&6; }
9967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9968 conftest$ac_exeext conftest.$ac_ext
9971 #-----------------------------------------------------------------------------
9972 # See if we can compile VIDMODE support
9973 HAVE_VIDMODE_SUPPORT=0
9974 if [ "x$no_x" != "xyes" ]; then
9976 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9977 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
9978 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9979 echo $ECHO_N "(cached) $ECHO_C" >&6
9981 ac_check_lib_save_LIBS=$LIBS
9982 LIBS="-lXxf86vm -L/usr/X11R6/lib -lXext -lX11 $LIBS"
9983 cat >conftest.$ac_ext <<_ACEOF
9986 cat confdefs.h >>conftest.$ac_ext
9987 cat >>conftest.$ac_ext <<_ACEOF
9988 /* end confdefs.h. */
9990 /* Override any GCC internal prototype to avoid an error.
9991 Use char because int might match the return type of a GCC
9992 builtin and then its argument prototype would still apply. */
9996 char XF86VidModeQueryExtension ();
10000 return XF86VidModeQueryExtension ();
10005 rm -f conftest.$ac_objext conftest$ac_exeext
10006 if { (ac_try="$ac_link"
10007 case "(($ac_try" in
10008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10009 *) ac_try_echo
=$ac_try;;
10011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10012 (eval "$ac_link") 2>conftest.er1
10014 grep -v '^ *+' conftest.er1
>conftest.err
10016 cat conftest.err
>&5
10017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10018 (exit $ac_status); } && {
10019 test -z "$ac_c_werror_flag" ||
10020 test ! -s conftest.err
10021 } && test -s conftest
$ac_exeext &&
10022 $as_test_x conftest
$ac_exeext; then
10023 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10025 echo "$as_me: failed program was:" >&5
10026 sed 's/^/| /' conftest.
$ac_ext >&5
10028 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10031 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10032 conftest
$ac_exeext conftest.
$ac_ext
10033 LIBS
=$ac_check_lib_save_LIBS
10035 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10036 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10037 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
10038 HAVE_VIDMODE_SUPPORT
=1
10040 HAVE_VIDMODE_SUPPORT
=0
10046 # Find the system include path. We can suggest that an alternative is
10047 # used if we don't get it correct. The default is to use /usr/include.
10048 # Which is set in the aros_target_incl_def variable.
10050 # Check whether --enable-includes was given.
10051 if test "${enable_includes+set}" = set; then
10052 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10054 aros_target_incl
=$aros_target_incl_def
10058 { echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
10059 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6; }
10060 if test "$aros_target_cc_includes" = "" ; then
10061 #try to guess where the directory is
10062 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
10063 if ! test -d $aros_target_cc_includes; then
10064 #the directory doesn't exist, we need to do some more work
10065 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10067 #these are the headers we're looling for
10068 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10069 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10073 for h
in $headers; do
10074 #which other headers each of the above headers needs?
10075 deps
=$
(echo "#include <$h>" | \
10076 $aros_host_cc -E -M - 2>/dev
/null | \
10077 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10079 #copy all the needed headers to a directory beneath gendir
10082 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10083 sed -n "s,^.*/include\(/.*\),\1,p")
10084 ! test -d $dir && mkdir
-p $dir
10085 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10090 { echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
10091 echo "${ECHO_T}$aros_target_cc_includes" >&6; }
10093 { echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
10094 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6; }
10096 # Check whether --with-resolution was given.
10097 if test "${with_resolution+set}" = set; then
10098 withval
=$with_resolution; resolution
=$withval
10103 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10104 if test "$resolution" = "yes" ; then
10107 if test "$resolution" = "no" ; then
10110 if test "$resolution" != "none" ; then
10111 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10112 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10113 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10115 { echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10116 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10117 aros_cv_default_wbwidth
=$aros_default_wbwidth
10118 aros_cv_default_wbheight
=$aros_default_wbheight
10119 aros_cv_default_wbdepth
=$aros_default_wbdepth
10121 { echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
10122 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6; }
10123 # Check whether --enable-bochs_hack was given.
10124 if test "${enable_bochs_hack+set}" = set; then
10125 enableval
=$enable_bochs_hack; bochs_hack
="yes"
10130 if test "$bochs_hack" = "yes" ; then
10131 aros_bochs_hack
="1"
10133 { echo "$as_me:$LINENO: result: $bochs_hack" >&5
10134 echo "${ECHO_T}$bochs_hack" >&6; }
10136 { echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
10137 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6; }
10139 # Check whether --with-serial-debug was given.
10140 if test "${with_serial_debug+set}" = set; then
10141 withval
=$with_serial_debug; serial_debug
=$withval
10146 if test "$serial_debug" = "yes" ; then
10149 if test "$serial_debug" = "no" ; then
10150 serial_debug
="none"
10152 if test "$serial_debug" != "none" ; then
10153 aros_serial_debug
=$serial_debug
10154 { echo "$as_me:$LINENO: result: on port $serial_debug" >&5
10155 echo "${ECHO_T}on port $serial_debug" >&6; }
10157 { echo "$as_me:$LINENO: result: no" >&5
10158 echo "${ECHO_T}no" >&6; }
10161 { echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
10162 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6; }
10163 # Check whether --enable-palm_debug_hack was given.
10164 if test "${enable_palm_debug_hack+set}" = set; then
10165 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10167 palm_debug_hack
="no"
10170 if test "$palm_debug_hack" = "yes" ; then
10171 aros_palm_debug_hack
="1"
10173 { echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
10174 echo "${ECHO_T}$palm_debug_hack" >&6; }
10177 { echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
10178 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6; }
10179 # Check whether --enable-nesting_supervisor was given.
10180 if test "${enable_nesting_supervisor+set}" = set; then
10181 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10183 nesting_supervisor
="no"
10186 if test "$nesting_supervisor" = "yes" ; then
10187 aros_nesting_supervisor
="1"
10189 { echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
10190 echo "${ECHO_T}$nesting_supervisor" >&6; }
10194 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
10195 { echo "$as_me:$LINENO: checking if X11 MIT-SHM extension is enabled" >&5
10196 echo $ECHO_N "checking if X11 MIT-SHM extension is enabled... $ECHO_C" >&6; }
10197 # Check whether --enable-xshm_extension was given.
10198 if test "${enable_xshm_extension+set}" = set; then
10199 enableval
=$enable_xshm_extension; xshm_extension
="$enableval"
10201 xshm_extension
="yes"
10204 if test "$xshm_extension" = "no" ; then
10205 DO_XSHM_SUPPORT
="0"
10207 { echo "$as_me:$LINENO: result: $xshm_extension" >&5
10208 echo "${ECHO_T}$xshm_extension" >&6; }
10210 DO_XSHM_SUPPORT
="0"
10213 if test "$HAVE_VIDMODE_SUPPORT" = "1" ; then
10214 { echo "$as_me:$LINENO: checking if vidmode extension is enabled" >&5
10215 echo $ECHO_N "checking if vidmode extension is enabled... $ECHO_C" >&6; }
10216 # Check whether --enable-vidmodeextension was given.
10217 if test "${enable_vidmodeextension+set}" = set; then
10218 enableval
=$enable_vidmodeextension; vidmode_extension
="$enableval"
10220 vidmode_extension
="yes"
10223 if test "$vidmode_extension" = "no" ; then
10224 DO_VIDMODE_SUPPORT
="0"
10226 { echo "$as_me:$LINENO: result: $vidmode_extension" >&5
10227 echo "${ECHO_T}$vidmode_extension" >&6; }
10229 DO_VIDMODE_SUPPORT
="0"
10233 { echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
10234 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6; }
10235 # Check whether --enable-dbus was given.
10236 if test "${enable_dbus+set}" = set; then
10237 enableval
=$enable_dbus; dbus
="yes"
10242 if test "$dbus" = "yes" ; then
10244 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10245 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10246 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10247 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10251 { echo "$as_me:$LINENO: result: $dbus" >&5
10252 echo "${ECHO_T}$dbus" >&6; }
10338 # Native version related
10342 # Palm native version related
10345 # Unix/Hosted version related
10361 # Collect-aros stuff: "-ius" to ignore undefined symbols
10364 # C compiler related
10367 case "$aros_flavour" in
10368 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10369 aros_flavour
="emulation" ;;
10370 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10371 aros_flavour
="emulation" ;;
10372 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10373 aros_flavour
="standalone";;
10374 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10375 aros_flavour
="native" ;;
10376 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10377 aros_flavour
="native" ;;
10378 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10379 aros_flavour
="linklib" ;;
10380 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10381 aros_flavour
="palmnative" ;;
10382 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10383 aros_flavour
="mac68knative" ;;
10384 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10385 aros_flavour
="ppcnative" ;;
10388 if test -z "$aros_gui_basedir" ; then
10389 aros_gui_libdir
="$x_libraries"
10390 if test -z "$x_libraries" ; then
10391 aros_gui_ldflags
=""
10393 aros_gui_ldflags
="-L $x_libraries"
10395 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
10396 aros_gui_libflags
="-lX11 -lXext"
10398 aros_gui_libflags
="-lX11"
10400 if test "$HAVE_VIDMODE_SUPPORT" = "1"; then
10401 aros_gui_libflags
="$aros_gui_libflags -lXxf86vm"
10404 aros_gui_incdir
="$x_includes"
10405 if test -z "$x_includes" ; then
10406 aros_gui_ccflags
=""
10408 aros_gui_ccflags
="-I $x_includes"
10411 if test -n "$aros_gui_basedir" ; then
10412 aros_gui_libdir
="${aros_gui_basedir}/lib"
10413 aros_gui_incdir
="${aros_gui_basedir}/include"
10416 if test -n "$aros_gui_libdir" ; then
10417 aros_gui_ldflags
="-L ${aros_gui_libdir}"
10420 if test -n "$aros_gui_incdir" ; then
10421 aros_gui_ccflags
="-I ${aros_gui_incdir}"
10423 aros_gui_incdir
="${aros_sysincludes}"
10424 aros_gui_ccflags
=""
10428 if test ! -d ${aros_inc_dir} ; then
10429 ${MKDIR} ${aros_inc_dir}
10431 if test ! -d ${aros_geninc_dir} ; then
10432 ${MKDIR} ${aros_geninc_dir}
10434 if test ! -d ${aros_hostcfg_dir} ; then
10435 ${MKDIR} ${aros_hostcfg_dir}
10437 if test ! -d ${aros_targetcfg_dir} ; then
10438 ${MKDIR} ${aros_targetcfg_dir}
10440 if test ! -d ${aros_tools_dir} ; then
10441 ${MKDIR} ${aros_tools_dir}
10443 if test ! -d ${aros_scripts_dir} ; then
10444 ${MKDIR} ${aros_scripts_dir}
10447 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10450 ac_config_commands
="$ac_config_commands compiler_executable"
10452 ac_config_commands
="$ac_config_commands genshared_executable"
10454 ac_config_commands
="$ac_config_commands genmf_executable"
10456 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
10459 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"
10462 cat >confcache
<<\_ACEOF
10463 # This file is a shell script that caches the results of configure
10464 # tests run on this system so they can be shared between configure
10465 # scripts and configure runs, see configure's option --config-cache.
10466 # It is not useful on other systems. If it contains results you don't
10467 # want to keep, you may remove or edit it.
10469 # config.status only pays attention to the cache file if you give it
10470 # the --recheck option to rerun configure.
10472 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10473 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10474 # following values.
10478 # The following way of writing the cache mishandles newlines in values,
10479 # but we know of no workaround that is simple, portable, and efficient.
10480 # So, we kill variables containing newlines.
10481 # Ultrix sh set writes to stderr and can't be redirected directly,
10482 # and sets the high bit in the cache file unless we assign to the vars.
10484 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10485 eval ac_val
=\$
$ac_var
10489 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
10490 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
10493 _ | IFS | as_nl
) ;; #(
10494 *) $as_unset $ac_var ;;
10500 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10501 *${as_nl}ac_space
=\
*)
10502 # `set' does not quote correctly, so add quotes (double-quote
10503 # substitution turns \\\\ into \\, and sed turns \\ into \).
10506 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10509 # `set' quotes correctly as required by POSIX, so do not add quotes.
10510 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10519 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10521 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10523 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10524 if test -w "$cache_file"; then
10525 test "x$cache_file" != "x/dev/null" &&
10526 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
10527 echo "$as_me: updating cache $cache_file" >&6;}
10528 cat confcache
>$cache_file
10530 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
10531 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10536 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10537 # Let make expand exec_prefix.
10538 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10540 DEFS
=-DHAVE_CONFIG_H
10544 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10545 # 1. Remove the extension, and $U if already installed.
10546 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10547 ac_i
=`echo "$ac_i" | sed "$ac_script"`
10548 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10549 # will be set to the directory where LIBOBJS objects are built.
10550 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10551 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
10553 LIBOBJS
=$ac_libobjs
10555 LTLIBOBJS
=$ac_ltlibobjs
10559 : ${CONFIG_STATUS=./config.status}
10560 ac_clean_files_save
=$ac_clean_files
10561 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10562 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10563 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10564 cat >$CONFIG_STATUS <<_ACEOF
10566 # Generated by $as_me.
10567 # Run this file to recreate the current configuration.
10568 # Compiler output produced by configure, useful for debugging
10569 # configure, is in config.log if it exists.
10572 ac_cs_recheck=false
10574 SHELL=\${CONFIG_SHELL-$SHELL}
10577 cat >>$CONFIG_STATUS <<\_ACEOF
10578 ## --------------------- ##
10579 ## M4sh Initialization. ##
10580 ## --------------------- ##
10582 # Be more Bourne compatible
10583 DUALCASE
=1; export DUALCASE
# for MKS sh
10584 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10587 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10588 # is contrary to our usage. Disable this feature.
10589 alias -g '${1+"$@"}'='"$@"'
10590 setopt NO_GLOB_SUBST
10592 case `(set -o) 2>/dev/null` in
10593 *posix
*) set -o posix
;;
10602 # Avoid depending upon Character Ranges.
10603 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10604 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10605 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10606 as_cr_digits
='0123456789'
10607 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10609 # The user is always right.
10610 if test "${PATH_SEPARATOR+set}" != set; then
10611 echo "#! /bin/sh" >conf$$.sh
10612 echo "exit 0" >>conf$$.sh
10614 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10622 # Support unset when possible.
10623 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10631 # We need space, tab and new line, in precisely that order. Quoting is
10632 # there to prevent editors from complaining about space-tab.
10633 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10634 # splitting by setting IFS to empty value.)
10639 # Find who we are. Look in the path if we contain no directory separator.
10641 *[\\/]* ) as_myself
=$0 ;;
10642 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10643 for as_dir
in $PATH
10646 test -z "$as_dir" && as_dir
=.
10647 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10653 # We did not find ourselves, most probably we were run as `sh COMMAND'
10654 # in which case we are not to be found in the path.
10655 if test "x$as_myself" = x
; then
10658 if test ! -f "$as_myself"; then
10659 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10660 { (exit 1); exit 1; }
10663 # Work around bugs in pre-3.0 UWIN ksh.
10664 for as_var
in ENV MAIL MAILPATH
10665 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10673 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10674 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10675 LC_TELEPHONE LC_TIME
10677 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10678 eval $as_var=C
; export $as_var
10680 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
10684 # Required to use basename.
10685 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10686 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10692 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10693 as_basename
=basename
10699 # Name of the executable.
10700 as_me
=`$as_basename -- "$0" ||
10701 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10702 X"$0" : 'X\(//\)$' \| \
10703 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10705 sed '/^.*\/\([^/][^/]*\)\/*$/{
10724 as_lineno_1
=$LINENO
10725 as_lineno_2
=$LINENO
10726 test "x$as_lineno_1" != "x$as_lineno_2" &&
10727 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
10729 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10730 # uniformly replaced by the line number. The first 'sed' inserts a
10731 # line-number line after each line using $LINENO; the second 'sed'
10732 # does the real work. The second script uses 'N' to pair each
10733 # line-number line with the line containing $LINENO, and appends
10734 # trailing '-' during substitution so that $LINENO is not a special
10735 # case at line end.
10736 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10737 # scripts with optimization help from Paolo Bonzini. Blame Lee
10738 # E. McMahon (1931-1989) for sed's syntax. :-)
10750 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
10753 ' >$as_me.lineno
&&
10754 chmod +x
"$as_me.lineno" ||
10755 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
10756 { (exit 1); exit 1; }; }
10758 # Don't try to exec as it changes $[0], causing all sort of problems
10759 # (the dirname of $[0] is not the place where we might find the
10760 # original and so on. Autoconf is especially sensitive to this).
10761 .
"./$as_me.lineno"
10762 # Exit status is that of the last command.
10767 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10773 ECHO_C
= ECHO_N
= ECHO_T
=
10774 case `echo -n x` in
10776 case `echo 'x\c'` in
10777 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10784 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10785 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10791 rm -f conf$$ conf$$.exe conf$$.
file
10792 if test -d conf$$.dir
; then
10793 rm -f conf$$.dir
/conf$$.
file
10799 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10801 # ... but there are two gotchas:
10802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10804 # In both cases, we have to default to `cp -p'.
10805 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10807 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10812 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10813 rmdir conf$$.dir
2>/dev
/null
10815 if mkdir
-p .
2>/dev
/null
; then
10818 test -d .
/-p && rmdir .
/-p
10822 if test -x / >/dev
/null
2>&1; then
10823 as_test_x
='test -x'
10825 if ls -dL / >/dev
/null
2>&1; then
10832 if test -d "$1"; then
10838 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
10839 ???[sx]*):;;*)false;;esac;fi
10843 as_executable_p
=$as_test_x
10845 # Sed expression to map a string onto a valid CPP name.
10846 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10848 # Sed expression to map a string onto a valid variable name.
10849 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10854 # Save the log message, to keep $[0] and so on meaningful, and to
10855 # report actual input values of CONFIG_FILES etc. instead of their
10856 # values after options handling.
10858 This file was extended by $as_me, which was
10859 generated by GNU Autoconf 2.61. Invocation command line was
10861 CONFIG_FILES = $CONFIG_FILES
10862 CONFIG_HEADERS = $CONFIG_HEADERS
10863 CONFIG_LINKS = $CONFIG_LINKS
10864 CONFIG_COMMANDS = $CONFIG_COMMANDS
10867 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10872 cat >>$CONFIG_STATUS <<_ACEOF
10873 # Files that config.status was made for.
10874 config_files="$ac_config_files"
10875 config_headers="$ac_config_headers"
10876 config_commands="$ac_config_commands"
10880 cat >>$CONFIG_STATUS <<\_ACEOF
10882 \`$as_me' instantiates files from templates according to the
10883 current configuration.
10885 Usage: $0 [OPTIONS] [FILE]...
10887 -h, --help print this help, then exit
10888 -V, --version print version number and configuration settings, then exit
10889 -q, --quiet do not print progress messages
10890 -d, --debug don't remove temporary files
10891 --recheck update $as_me by reconfiguring in the same conditions
10892 --file=FILE[:TEMPLATE]
10893 instantiate the configuration file FILE
10894 --header=FILE[:TEMPLATE]
10895 instantiate the configuration header FILE
10897 Configuration files:
10900 Configuration headers:
10903 Configuration commands:
10906 Report bugs to <bug-autoconf@gnu.org>."
10909 cat >>$CONFIG_STATUS <<_ACEOF
10912 configured by $0, generated by GNU Autoconf 2.61,
10913 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10915 Copyright (C) 2006 Free Software Foundation, Inc.
10916 This config.status script is free software; the Free Software Foundation
10917 gives unlimited permission to copy, distribute and modify it."
10923 cat >>$CONFIG_STATUS <<\_ACEOF
10924 # If no file are specified by the user, then we need to provide default
10925 # value. By we need to know if files were specified by the user.
10931 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10932 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10943 # Handling of the options.
10944 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10946 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10947 echo "$ac_cs_version"; exit ;;
10948 --debug |
--debu |
--deb |
--de |
--d |
-d )
10950 --file |
--fil |
--fi |
--f )
10952 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10953 ac_need_defaults
=false
;;
10954 --header |
--heade |
--head |
--hea )
10956 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10957 ac_need_defaults
=false
;;
10959 # Conflict between --help and --header
10960 { echo "$as_me: error: ambiguous option: $1
10961 Try \`$0 --help' for more information." >&2
10962 { (exit 1); exit 1; }; };;
10963 --help |
--hel |
-h )
10964 echo "$ac_cs_usage"; exit ;;
10965 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10966 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10969 # This is an error.
10970 -*) { echo "$as_me: error: unrecognized option: $1
10971 Try \`$0 --help' for more information." >&2
10972 { (exit 1); exit 1; }; } ;;
10974 *) ac_config_targets
="$ac_config_targets $1"
10975 ac_need_defaults
=false
;;
10981 ac_configure_extra_args
=
10983 if $ac_cs_silent; then
10985 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10989 cat >>$CONFIG_STATUS <<_ACEOF
10990 if \$ac_cs_recheck; then
10991 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10992 CONFIG_SHELL=$SHELL
10993 export CONFIG_SHELL
10994 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10998 cat >>$CONFIG_STATUS <<\_ACEOF
11002 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11003 ## Running $as_me. ##
11009 cat >>$CONFIG_STATUS <<_ACEOF
11014 aros_tools_dir=${aros_tools_dir}
11015 aros_target_cpu=${aros_target_cpu}
11016 aros_target_arch=${aros_target_arch}
11017 aros_target_suffix=${aros_target_suffix}
11018 aros_target_nm_ln=${aros_target_nm_ln}
11019 aros_target_as_ln=${aros_target_as_ln}
11020 aros_target_ar_ln=${aros_target_ar_ln}
11021 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11022 aros_target_objdump_ln=${aros_target_objdump_ln}
11023 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11024 aros_target_strip_ln=${aros_target_strip_ln}
11027 aros_scripts_dir=${aros_scripts_dir}
11029 aros_tools_dir=${aros_tools_dir}
11034 cat >>$CONFIG_STATUS <<\_ACEOF
11036 # Handling of arguments.
11037 for ac_config_target
in $ac_config_targets
11039 case $ac_config_target in
11040 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11041 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11042 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11043 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11044 "adflib_myaros.conf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
11045 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11046 "rom/mmakefile") CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
11047 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11048 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11049 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11050 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11051 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11052 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11053 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11054 "${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" ;;
11055 "${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" ;;
11056 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11057 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11058 "tools/adflib/myconf.aros") CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
11059 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11061 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
11062 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
11063 { (exit 1); exit 1; }; };;
11068 # If the user did not use the arguments to specify the items to instantiate,
11069 # then the envvar interface is used. Set only those that are not.
11070 # We use the long form for the default assignment because of an extremely
11071 # bizarre bug on SunOS 4.1.3.
11072 if $ac_need_defaults; then
11073 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11074 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11075 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11078 # Have a temporary directory for convenience. Make it in the build tree
11079 # simply because there is no reason against having it here, and in addition,
11080 # creating and moving files from /tmp can sometimes cause problems.
11081 # Hook for its removal unless debugging.
11082 # Note that there is a small window in which the directory will not be cleaned:
11083 # after its creation but before its name has been assigned to `$tmp'.
11087 trap 'exit_status=$?
11088 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11090 trap '{ (exit 1); exit 1; }' 1 2 13 15
11092 # Create a (secure) tmp directory for tmp files.
11095 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11096 test -n "$tmp" && test -d "$tmp"
11099 tmp
=.
/conf$$
-$RANDOM
11100 (umask 077 && mkdir
"$tmp")
11103 echo "$me: cannot create a temporary directory in ." >&2
11104 { (exit 1); exit 1; }
11108 # Set up the sed scripts for CONFIG_FILES section.
11111 # No need to generate the scripts if there are no CONFIG_FILES.
11112 # This happens for instance when ./config.status config.h
11113 if test -n "$CONFIG_FILES"; then
11120 for ac_last_try
in false false false false false
:; do
11121 cat >conf$
$subs.
sed <<_ACEOF
11122 SHELL!$SHELL$ac_delim
11123 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
11124 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
11125 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
11126 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
11127 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
11128 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
11129 exec_prefix!$exec_prefix$ac_delim
11130 prefix!$prefix$ac_delim
11131 program_transform_name!$program_transform_name$ac_delim
11132 bindir!$bindir$ac_delim
11133 sbindir!$sbindir$ac_delim
11134 libexecdir!$libexecdir$ac_delim
11135 datarootdir!$datarootdir$ac_delim
11136 datadir!$datadir$ac_delim
11137 sysconfdir!$sysconfdir$ac_delim
11138 sharedstatedir!$sharedstatedir$ac_delim
11139 localstatedir!$localstatedir$ac_delim
11140 includedir!$includedir$ac_delim
11141 oldincludedir!$oldincludedir$ac_delim
11142 docdir!$docdir$ac_delim
11143 infodir!$infodir$ac_delim
11144 htmldir!$htmldir$ac_delim
11145 dvidir!$dvidir$ac_delim
11146 pdfdir!$pdfdir$ac_delim
11147 psdir!$psdir$ac_delim
11148 libdir!$libdir$ac_delim
11149 localedir!$localedir$ac_delim
11150 mandir!$mandir$ac_delim
11151 DEFS!$DEFS$ac_delim
11152 ECHO_C!$ECHO_C$ac_delim
11153 ECHO_N!$ECHO_N$ac_delim
11154 ECHO_T!$ECHO_T$ac_delim
11155 LIBS!$LIBS$ac_delim
11156 build_alias!$build_alias$ac_delim
11157 host_alias!$host_alias$ac_delim
11158 target_alias!$target_alias$ac_delim
11159 build!$build$ac_delim
11160 build_cpu!$build_cpu$ac_delim
11161 build_vendor!$build_vendor$ac_delim
11162 build_os!$build_os$ac_delim
11163 host!$host$ac_delim
11164 host_cpu!$host_cpu$ac_delim
11165 host_vendor!$host_vendor$ac_delim
11166 host_os!$host_os$ac_delim
11168 CFLAGS!$CFLAGS$ac_delim
11169 LDFLAGS!$LDFLAGS$ac_delim
11170 CPPFLAGS!$CPPFLAGS$ac_delim
11171 ac_ct_CC!$ac_ct_CC$ac_delim
11172 EXEEXT!$EXEEXT$ac_delim
11173 OBJEXT!$OBJEXT$ac_delim
11176 MMAKE!$MMAKE$ac_delim
11177 aros_host_ld!$aros_host_ld$ac_delim
11178 aros_host_aclocal!$aros_host_aclocal$ac_delim
11179 aros_host_autoconf!$aros_host_autoconf$ac_delim
11180 aros_host_autoheader!$aros_host_autoheader$ac_delim
11181 aros_host_automake!$aros_host_automake$ac_delim
11182 aros_host_ar!$aros_host_ar$ac_delim
11183 aros_host_ranlib!$aros_host_ranlib$ac_delim
11184 aros_host_strip!$aros_host_strip$ac_delim
11188 ECHO!$ECHO$ac_delim
11189 MKDIR!$MKDIR$ac_delim
11190 TOUCH!$TOUCH$ac_delim
11191 SORT!$SORT$ac_delim
11192 UNIQ!$UNIQ$ac_delim
11195 BISON!$BISON$ac_delim
11196 FLEX!$FLEX$ac_delim
11197 PNGTOPNM!$PNGTOPNM$ac_delim
11198 PPMTOILBM!$PPMTOILBM$ac_delim
11200 CHMOD!$CHMOD$ac_delim
11201 PYTHON!$PYTHON$ac_delim
11202 PYTHON_VERSION!$PYTHON_VERSION$ac_delim
11203 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim
11204 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim
11205 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim
11206 pythondir!$pythondir$ac_delim
11207 pkgpythondir!$pkgpythondir$ac_delim
11208 pyexecdir!$pyexecdir$ac_delim
11209 pkgpyexecdir!$pkgpyexecdir$ac_delim
11212 TEST!$TEST$ac_delim
11214 GREP!$GREP$ac_delim
11215 EGREP!$EGREP$ac_delim
11216 LIBOBJS!$LIBOBJS$ac_delim
11217 XMKMF!$XMKMF$ac_delim
11218 DISTCC!$DISTCC$ac_delim
11221 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
11223 elif $ac_last_try; then
11224 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11225 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11226 { (exit 1); exit 1; }; }
11228 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11232 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11233 if test -n "$ac_eof"; then
11234 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11235 ac_eof
=`expr $ac_eof + 1`
11238 cat >>$CONFIG_STATUS <<_ACEOF
11239 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
11240 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
11243 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11244 s/^/s,@/; s/!/@,|#_!!_#|/
11247 s/'"$ac_delim"'$/,g/; t
11249 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11250 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11251 rm -f conf$
$subs.
sed
11252 cat >>$CONFIG_STATUS <<_ACEOF
11258 for ac_last_try
in false false false false false
:; do
11259 cat >conf$
$subs.
sed <<_ACEOF
11260 CCACHE!$CCACHE$ac_delim
11261 aros_kernel_cc!$aros_kernel_cc$ac_delim
11262 aros_target_as_ln!$aros_target_as_ln$ac_delim
11263 aros_kernel_ld!$aros_kernel_ld$ac_delim
11264 aros_target_ar_ln!$aros_target_ar_ln$ac_delim
11265 aros_target_nm_ln!$aros_target_nm_ln$ac_delim
11266 aros_target_objcopy_ln!$aros_target_objcopy_ln$ac_delim
11267 aros_target_objdump_ln!$aros_target_objdump_ln$ac_delim
11268 aros_target_ranlib_ln!$aros_target_ranlib_ln$ac_delim
11269 aros_target_strip_ln!$aros_target_strip_ln$ac_delim
11270 aros_target_nostdinc_cflags!$aros_target_nostdinc_cflags$ac_delim
11271 aros_target_nostartup_ldflags!$aros_target_nostartup_ldflags$ac_delim
11272 aros_target_nix_ldflags!$aros_target_nix_ldflags$ac_delim
11273 aros_target_detach_ldflags!$aros_target_detach_ldflags$ac_delim
11274 aros_target_nostdlib_ldflags!$aros_target_nostdlib_ldflags$ac_delim
11275 aros_arch!$aros_arch$ac_delim
11276 aros_cpu!$aros_cpu$ac_delim
11277 aros_flavour!$aros_flavour$ac_delim
11278 aros_flavour_uc!$aros_flavour_uc$ac_delim
11279 TOPDIR!$TOPDIR$ac_delim
11280 aros_cc_pre!$aros_cc_pre$ac_delim
11281 aros_host_arch!$aros_host_arch$ac_delim
11282 aros_host_cpu!$aros_host_cpu$ac_delim
11283 aros_host_cc!$aros_host_cc$ac_delim
11284 aros_host_make!$aros_host_make$ac_delim
11285 aros_host_cflags!$aros_host_cflags$ac_delim
11286 aros_host_ldflags!$aros_host_ldflags$ac_delim
11287 aros_host_debug!$aros_host_debug$ac_delim
11288 aros_host_mkdep!$aros_host_mkdep$ac_delim
11289 aros_host_mkargs!$aros_host_mkargs$ac_delim
11290 aros_host_exe_suffix!$aros_host_exe_suffix$ac_delim
11291 aros_host_lib_suffix!$aros_host_lib_suffix$ac_delim
11292 aros_tools_dir!$aros_tools_dir$ac_delim
11293 aros_target_arch!$aros_target_arch$ac_delim
11294 aros_target_cpu!$aros_target_cpu$ac_delim
11295 aros_target_variant!$aros_target_variant$ac_delim
11296 aros_target_suffix!$aros_target_suffix$ac_delim
11297 aros_target_incl!$aros_target_incl$ac_delim
11298 aros_target_ar!$aros_target_ar$ac_delim
11299 aros_target_ranlib!$aros_target_ranlib$ac_delim
11300 aros_kernel_nm!$aros_kernel_nm$ac_delim
11301 aros_target_cc!$aros_target_cc$ac_delim
11302 aros_target_as!$aros_target_as$ac_delim
11303 aros_target_ld!$aros_target_ld$ac_delim
11304 aros_target_cc_includes!$aros_target_cc_includes$ac_delim
11305 aros_target_cc_path!$aros_target_cc_path$ac_delim
11306 aros_target_objdump!$aros_target_objdump$ac_delim
11307 aros_target_objcopy!$aros_target_objcopy$ac_delim
11308 aros_target_strip!$aros_target_strip$ac_delim
11309 aros_target_nm!$aros_target_nm$ac_delim
11310 aros_shared_default!$aros_shared_default$ac_delim
11311 aros_shared_ld!$aros_shared_ld$ac_delim
11312 aros_object_format!$aros_object_format$ac_delim
11313 aros_compiler_libs!$aros_compiler_libs$ac_delim
11314 aros_config_cflags!$aros_config_cflags$ac_delim
11315 aros_config_aflags!$aros_config_aflags$ac_delim
11316 aros_config_ldflags!$aros_config_ldflags$ac_delim
11317 aros_shared_cflags!$aros_shared_cflags$ac_delim
11318 aros_shared_aflags!$aros_shared_aflags$ac_delim
11319 aros_shared_ldflags!$aros_shared_ldflags$ac_delim
11320 aros_kernel_ldflags!$aros_kernel_ldflags$ac_delim
11321 aros_debug_cflags!$aros_debug_cflags$ac_delim
11322 aros_debug_aflags!$aros_debug_aflags$ac_delim
11323 aros_debug_ldflags!$aros_debug_ldflags$ac_delim
11324 aros_target_genmap!$aros_target_genmap$ac_delim
11325 aros_target_strip_flags!$aros_target_strip_flags$ac_delim
11326 aros_gui_libdir!$aros_gui_libdir$ac_delim
11327 aros_gui_ldflags!$aros_gui_ldflags$ac_delim
11328 aros_gui_libflags!$aros_gui_libflags$ac_delim
11329 aros_gui_incdir!$aros_gui_incdir$ac_delim
11330 aros_gui_ccflags!$aros_gui_ccflags$ac_delim
11331 aros_default_wbwidth!$aros_default_wbwidth$ac_delim
11332 aros_default_wbheight!$aros_default_wbheight$ac_delim
11333 aros_default_wbdepth!$aros_default_wbdepth$ac_delim
11334 DO_XSHM_SUPPORT!$DO_XSHM_SUPPORT$ac_delim
11335 DO_VIDMODE_SUPPORT!$DO_VIDMODE_SUPPORT$ac_delim
11336 aros_bochs_hack!$aros_bochs_hack$ac_delim
11337 aros_serial_debug!$aros_serial_debug$ac_delim
11338 aros_palm_debug_hack!$aros_palm_debug_hack$ac_delim
11339 aros_nesting_supervisor!$aros_nesting_supervisor$ac_delim
11340 ENABLE_DBUS!$ENABLE_DBUS$ac_delim
11341 DBUS_CFLAGS!$DBUS_CFLAGS$ac_delim
11342 DBUS_LIBFLAGS!$DBUS_LIBFLAGS$ac_delim
11343 KERNEL_DBUS_KOBJ!$KERNEL_DBUS_KOBJ$ac_delim
11344 KERNEL_DBUS_INCLUDES!$KERNEL_DBUS_INCLUDES$ac_delim
11345 aros_debug!$aros_debug$ac_delim
11346 aros_mungwall_debug!$aros_mungwall_debug$ac_delim
11347 aros_stack_debug!$aros_stack_debug$ac_delim
11348 aros_modules_debug!$aros_modules_debug$ac_delim
11349 ignore_undefined_symbols!$ignore_undefined_symbols$ac_delim
11350 gcc_target_cpu!$gcc_target_cpu$ac_delim
11351 LTLIBOBJS!$LTLIBOBJS$ac_delim
11354 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 92; then
11356 elif $ac_last_try; then
11357 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
11358 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
11359 { (exit 1); exit 1; }; }
11361 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
11365 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
11366 if test -n "$ac_eof"; then
11367 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
11368 ac_eof
=`expr $ac_eof + 1`
11371 cat >>$CONFIG_STATUS <<_ACEOF
11372 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
11373 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
11376 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
11377 s/^/s,@/; s/!/@,|#_!!_#|/
11380 s/'"$ac_delim"'$/,g/; t
11382 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
11383 ' >>$CONFIG_STATUS <conf$
$subs.
sed
11384 rm -f conf$
$subs.
sed
11385 cat >>$CONFIG_STATUS <<_ACEOF
11392 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11393 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
11394 # trailing colons and then remove the whole line if VPATH becomes empty
11395 # (actually we leave an empty line to preserve line numbers).
11396 if test "x$srcdir" = x.
; then
11397 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
11398 s/:*\$(srcdir):*/:/
11399 s/:*\${srcdir}:*/:/
11401 s/^\([^=]*=[ ]*\):*/\1/
11407 cat >>$CONFIG_STATUS <<\_ACEOF
11408 fi # test -n "$CONFIG_FILES"
11411 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
11414 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11416 case $ac_mode$ac_tag in
11418 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
11419 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
11420 { (exit 1); exit 1; }; };;
11421 :[FH
]-) ac_tag
=-:-;;
11422 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11439 -) ac_f
="$tmp/stdin";;
11440 *) # Look for the file first in the build tree, then in the source tree
11441 # (if the path is not absolute). The absolute path cannot be DOS-style,
11442 # because $ac_f cannot contain `:'.
11446 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11448 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
11449 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
11450 { (exit 1); exit 1; }; };;
11452 ac_file_inputs
="$ac_file_inputs $ac_f"
11455 # Let's still pretend it is `configure' which instantiates (i.e., don't
11456 # use $as_me), people would be surprised to read:
11457 # /* config.h. Generated by config.status. */
11458 configure_input
="Generated from "`IFS=:
11459 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
11460 if test x
"$ac_file" != x-
; then
11461 configure_input
="$ac_file. $configure_input"
11462 { echo "$as_me:$LINENO: creating $ac_file" >&5
11463 echo "$as_me: creating $ac_file" >&6;}
11467 *:-:* |
*:-) cat >"$tmp/stdin";;
11472 ac_dir
=`$as_dirname -- "$ac_file" ||
11473 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11474 X"$ac_file" : 'X\(//\)[^/]' \| \
11475 X"$ac_file" : 'X\(//\)$' \| \
11476 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11478 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11482 /^X\(\/\/\)[^/].*/{
11497 -*) as_dir
=.
/$as_dir;;
11499 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
11503 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
11504 *) as_qdir
=$as_dir;;
11506 as_dirs
="'$as_qdir' $as_dirs"
11507 as_dir
=`$as_dirname -- "$as_dir" ||
11508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11509 X"$as_dir" : 'X\(//\)[^/]' \| \
11510 X"$as_dir" : 'X\(//\)$' \| \
11511 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11513 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11517 /^X\(\/\/\)[^/].*/{
11530 test -d "$as_dir" && break
11532 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11533 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
11534 echo "$as_me: error: cannot create directory $as_dir" >&2;}
11535 { (exit 1); exit 1; }; }; }
11539 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11541 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11542 # A ".." for each directory in $ac_dir_suffix.
11543 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
11544 case $ac_top_builddir_sub in
11545 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11546 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11549 ac_abs_top_builddir
=$ac_pwd
11550 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11551 # for backward compatibility:
11552 ac_top_builddir
=$ac_top_build_prefix
11555 .
) # We are building in place.
11557 ac_top_srcdir
=$ac_top_builddir_sub
11558 ac_abs_top_srcdir
=$ac_pwd ;;
11559 [\\/]* | ?
:[\\/]* ) # Absolute name.
11560 ac_srcdir
=$srcdir$ac_dir_suffix;
11561 ac_top_srcdir
=$srcdir
11562 ac_abs_top_srcdir
=$srcdir ;;
11563 *) # Relative name.
11564 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11565 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11566 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11568 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11579 cat >>$CONFIG_STATUS <<\_ACEOF
11580 # If the template does not know about datarootdir, expand it.
11581 # FIXME: This hack should be removed a few years after 2.60.
11582 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11584 case `sed -n '/datarootdir/ {
11593 ' $ac_file_inputs` in
11594 *datarootdir
*) ac_datarootdir_seen
=yes;;
11595 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11596 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11597 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11599 cat >>$CONFIG_STATUS <<_ACEOF
11600 ac_datarootdir_hack='
11601 s&@datadir@&$datadir&g
11602 s&@docdir@&$docdir&g
11603 s&@infodir@&$infodir&g
11604 s&@localedir@&$localedir&g
11605 s&@mandir@&$mandir&g
11606 s&\\\${datarootdir}&$datarootdir&g' ;;
11610 # Neutralize VPATH when `$srcdir' = `.'.
11611 # Shell code in configure.ac might set extrasub.
11612 # FIXME: do we really want to maintain this feature?
11613 cat >>$CONFIG_STATUS <<_ACEOF
11617 cat >>$CONFIG_STATUS <<\_ACEOF
11619 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11620 s
&@configure_input@
&$configure_input&;t t
11621 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11622 s
&@srcdir@
&$ac_srcdir&;t t
11623 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11624 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11625 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11626 s
&@builddir@
&$ac_builddir&;t t
11627 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11628 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11629 $ac_datarootdir_hack
11630 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
11632 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11633 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11634 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11635 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11636 which seems to be undefined. Please make sure it is defined." >&5
11637 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11638 which seems to be undefined. Please make sure it is defined." >&2;}
11642 -) cat "$tmp/out"; rm -f "$tmp/out";;
11643 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
11652 # Transform confdefs.h into a sed script `conftest.defines', that
11653 # substitutes the proper values into config.h.in to produce config.h.
11654 rm -f conftest.defines conftest.
tail
11655 # First, append a space to every undef/define line, to ease matching.
11656 echo 's/$/ /' >conftest.defines
11657 # Then, protect against being on the right side of a sed subst, or in
11658 # an unquoted here document, in config.status. If some macros were
11659 # called several times there might be several #defines for the same
11660 # symbol, which is useless. But do not sort them, since the last
11661 # AC_DEFINE must be honored.
11662 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
11663 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
11664 # NAME is the cpp macro being defined, VALUE is the value it is being given.
11665 # PARAMS is the parameter list in the macro definition--in most cases, it's
11666 # just an empty string.
11667 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
11668 ac_dB
='\\)[ (].*,\\1define\\2'
11676 s/^[ ]*#[ ]*define[ ][ ]*//
11681 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
11682 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
11683 ' >>conftest.defines
11685 # Remove the space that was appended to ease matching.
11686 # Then replace #undef with comments. This is necessary, for
11687 # example, in the case of _POSIX_SOURCE, which is predefined and required
11688 # on some systems where configure will not decide to define it.
11689 # (The regexp can be short, since the line contains either #define or #undef.)
11691 s,^[ #]*u.*,/* & */,' >>conftest.defines
11693 # Break up conftest.defines:
11694 ac_max_sed_lines
=50
11696 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
11697 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
11698 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
11700 ac_in
='$ac_file_inputs'
11701 ac_out
='"$tmp/out1"'
11702 ac_nxt
='"$tmp/out2"'
11706 # Write a here document:
11707 cat >>$CONFIG_STATUS <<_ACEOF
11708 # First, check the format of the line:
11709 cat >"\$tmp/defines.sed" <<\\CEOF
11710 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
11711 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
11715 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
11717 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
11718 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
11719 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
11720 grep . conftest.
tail >/dev
/null ||
break
11721 rm -f conftest.defines
11722 mv conftest.
tail conftest.defines
11724 rm -f conftest.defines conftest.
tail
11726 echo "ac_result=$ac_in" >>$CONFIG_STATUS
11727 cat >>$CONFIG_STATUS <<\_ACEOF
11728 if test x
"$ac_file" != x-
; then
11729 echo "/* $configure_input */" >"$tmp/config.h"
11730 cat "$ac_result" >>"$tmp/config.h"
11731 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
11732 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11733 echo "$as_me: $ac_file is unchanged" >&6;}
11736 mv "$tmp/config.h" $ac_file
11739 echo "/* $configure_input */"
11745 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
11746 echo "$as_me: executing $ac_file commands" >&6;}
11751 case $ac_file$ac_mode in
11752 "compiler_executable":C
)
11753 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
11755 prefix
="${prefix}/${aros_target_cpu}-aros"
11756 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
11760 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
11762 ln -sf ${prefix2}-gcc ${prefix}-gcc
11763 ln -sf ${prefix2}-ld ${prefix}-ld
11765 ln -sf $aros_target_as_ln ${prefix}-as
11766 ln -sf $aros_target_nm_ln ${prefix}-nm
11767 ln -sf $aros_target_ar_ln ${prefix}-ar
11768 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
11769 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
11770 ln -sf $aros_target_objdump_ln ${prefix}-objdump
11771 ln -sf $aros_target_strip_ln ${prefix}-strip
11773 ln -sf $aros_target_as_ln ${prefix2}-as
11774 ln -sf $aros_target_nm_ln ${prefix2}-nm
11775 ln -sf $aros_target_ar_ln ${prefix2}-ar
11776 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
11777 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
11778 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
11779 ln -sf $aros_target_strip_ln ${prefix2}-strip
11781 "genshared_executable":C
) chmod a
+x
${aros_scripts_dir}/genshared
;;
11782 "genmf_executable":C
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
11783 "adflib_myaros.conf_executable":C
) chmod a
+x tools
/adflib
/myconf.aros
11790 { (exit 0); exit 0; }
11792 chmod +x
$CONFIG_STATUS
11793 ac_clean_files
=$ac_clean_files_save
11796 # configure is writing to config.log, and then calls config.status.
11797 # config.status does its own redirection, appending to config.log.
11798 # Unfortunately, on DOS this fails, as config.log is still kept open
11799 # by configure, so config.status won't be able to write to it; its
11800 # output is simply discarded. So we exec the FD to /dev/null,
11801 # effectively closing config.log, so it can be properly (re)opened and
11802 # appended to by config.status. When coming back to configure, we
11803 # need to make the FD available again.
11804 if test "$no_create" != yes; then
11806 ac_config_status_args
=
11807 test "$silent" = yes &&
11808 ac_config_status_args
="$ac_config_status_args --quiet"
11810 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11812 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11813 # would make configure fail if this is the last instruction.
11814 $ac_cs_success ||
{ (exit 1); exit 1; }
11819 #XXX compatability...
11820 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
11822 if test -n "$aros_shared_cflags" ; then
11823 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
11824 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg