2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
613 aros_nesting_supervisor
619 aros_host_x11_libdirs
620 aros_host_x11_includes
624 aros_default_wbheight
630 crosstools_cxx_target
632 aros_target_strip_flags
639 aros_kernel_objcflags
658 aros_target_cc_includes
673 aros_target_bootloader
690 aros_amigaos_compliance
704 aros_cflags_iquote_end
706 kernel_cflags_iquote_end
708 host_cflags_iquote_end
710 aros_target_nostdlib_ldflags
711 aros_target_detach_ldflags
712 aros_target_nix_ldflags
713 aros_target_nostartup_ldflags
714 aros_target_nostdinc_cflags
719 aros_target_ranlib_ln
720 aros_target_objdump_ln
721 aros_target_objcopy_ln
819 program_transform_name
832 enable_option_checking
841 enable_target_variant
849 enable_amigaos_compliance
859 enable_palm_debug_hack
861 enable_nesting_supervisor
873 ac_precious_vars
='build_alias
885 # Initialize some variables set by options.
887 ac_init_version
=false
888 ac_unrecognized_opts
=
890 # The variables have the same names as the options, with
891 # dashes changed to underlines.
899 program_transform_name
=s
,x
,x
,
907 # Installation directory options.
908 # These are left unexpanded so users can "make install exec_prefix=/foo"
909 # and all the variables that are supposed to be based on exec_prefix
910 # by default will actually change.
911 # Use braces instead of parens because sh, perl, etc. also accept them.
912 # (The list follows the same order as the GNU Coding Standards.)
913 bindir
='${exec_prefix}/bin'
914 sbindir
='${exec_prefix}/sbin'
915 libexecdir
='${exec_prefix}/libexec'
916 datarootdir
='${prefix}/share'
917 datadir
='${datarootdir}'
918 sysconfdir
='${prefix}/etc'
919 sharedstatedir
='${prefix}/com'
920 localstatedir
='${prefix}/var'
921 includedir
='${prefix}/include'
922 oldincludedir
='/usr/include'
923 docdir
='${datarootdir}/doc/${PACKAGE}'
924 infodir
='${datarootdir}/info'
929 libdir
='${exec_prefix}/lib'
930 localedir
='${datarootdir}/locale'
931 mandir
='${datarootdir}/man'
937 # If the previous option needs an argument, assign it.
938 if test -n "$ac_prev"; then
939 eval $ac_prev=\
$ac_option
945 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
950 # Accept the important Cygnus configure options, so we can diagnose typos.
952 case $ac_dashdash$ac_option in
956 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
958 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
961 -build |
--build |
--buil |
--bui |
--bu)
962 ac_prev
=build_alias
;;
963 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
964 build_alias
=$ac_optarg ;;
966 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
967 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
968 ac_prev
=cache_file
;;
969 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
970 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
971 cache_file
=$ac_optarg ;;
974 cache_file
=config.cache
;;
976 -datadir |
--datadir |
--datadi |
--datad)
978 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
979 datadir
=$ac_optarg ;;
981 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
982 |
--dataroo |
--dataro |
--datar)
983 ac_prev
=datarootdir
;;
984 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
985 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
986 datarootdir
=$ac_optarg ;;
988 -disable-* |
--disable-*)
989 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
992 as_fn_error $?
"invalid feature name: $ac_useropt"
993 ac_useropt_orig
=$ac_useropt
994 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1000 ac_unrecognized_sep
=', ';;
1002 eval enable_
$ac_useropt=no
;;
1004 -docdir |
--docdir |
--docdi |
--doc |
--do)
1006 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1007 docdir
=$ac_optarg ;;
1009 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1011 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1012 dvidir
=$ac_optarg ;;
1014 -enable-* |
--enable-*)
1015 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error $?
"invalid feature name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1023 "enable_
$ac_useropt"
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval enable_
$ac_useropt=\
$ac_optarg ;;
1030 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1031 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1032 |
--exec |
--exe |
--ex)
1033 ac_prev
=exec_prefix
;;
1034 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1035 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1036 |
--exec=* |
--exe=* |
--ex=*)
1037 exec_prefix
=$ac_optarg ;;
1039 -gas |
--gas |
--ga |
--g)
1040 # Obsolete; use --with-gas.
1043 -help |
--help |
--hel |
--he |
-h)
1044 ac_init_help
=long
;;
1045 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1046 ac_init_help
=recursive
;;
1047 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1048 ac_init_help
=short
;;
1050 -host |
--host |
--hos |
--ho)
1051 ac_prev
=host_alias
;;
1052 -host=* |
--host=* |
--hos=* |
--ho=*)
1053 host_alias
=$ac_optarg ;;
1055 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1057 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1059 htmldir
=$ac_optarg ;;
1061 -includedir |
--includedir |
--includedi |
--included |
--include \
1062 |
--includ |
--inclu |
--incl |
--inc)
1063 ac_prev
=includedir
;;
1064 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1065 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1066 includedir
=$ac_optarg ;;
1068 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1070 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1071 infodir
=$ac_optarg ;;
1073 -libdir |
--libdir |
--libdi |
--libd)
1075 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1076 libdir
=$ac_optarg ;;
1078 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1079 |
--libexe |
--libex |
--libe)
1080 ac_prev
=libexecdir
;;
1081 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1082 |
--libexe=* |
--libex=* |
--libe=*)
1083 libexecdir
=$ac_optarg ;;
1085 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1086 ac_prev
=localedir
;;
1087 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1088 localedir
=$ac_optarg ;;
1090 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1091 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1092 ac_prev
=localstatedir
;;
1093 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1094 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1095 localstatedir
=$ac_optarg ;;
1097 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1099 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1100 mandir
=$ac_optarg ;;
1102 -nfp |
--nfp |
--nf)
1103 # Obsolete; use --without-fp.
1106 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1107 |
--no-cr |
--no-c |
-n)
1110 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1111 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1114 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1115 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1116 |
--oldin |
--oldi |
--old |
--ol |
--o)
1117 ac_prev
=oldincludedir
;;
1118 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1119 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1120 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1121 oldincludedir
=$ac_optarg ;;
1123 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1125 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1126 prefix
=$ac_optarg ;;
1128 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1129 |
--program-pre |
--program-pr |
--program-p)
1130 ac_prev
=program_prefix
;;
1131 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1132 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1133 program_prefix
=$ac_optarg ;;
1135 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1136 |
--program-suf |
--program-su |
--program-s)
1137 ac_prev
=program_suffix
;;
1138 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1139 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1140 program_suffix
=$ac_optarg ;;
1142 -program-transform-name |
--program-transform-name \
1143 |
--program-transform-nam |
--program-transform-na \
1144 |
--program-transform-n |
--program-transform- \
1145 |
--program-transform |
--program-transfor \
1146 |
--program-transfo |
--program-transf \
1147 |
--program-trans |
--program-tran \
1148 |
--progr-tra |
--program-tr |
--program-t)
1149 ac_prev
=program_transform_name
;;
1150 -program-transform-name=* |
--program-transform-name=* \
1151 |
--program-transform-nam=* |
--program-transform-na=* \
1152 |
--program-transform-n=* |
--program-transform-=* \
1153 |
--program-transform=* |
--program-transfor=* \
1154 |
--program-transfo=* |
--program-transf=* \
1155 |
--program-trans=* |
--program-tran=* \
1156 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1157 program_transform_name
=$ac_optarg ;;
1159 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1161 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1162 pdfdir
=$ac_optarg ;;
1164 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1166 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1170 |
-silent |
--silent |
--silen |
--sile |
--sil)
1173 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1175 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1177 sbindir
=$ac_optarg ;;
1179 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1180 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1181 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1183 ac_prev
=sharedstatedir
;;
1184 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1185 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1186 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1188 sharedstatedir
=$ac_optarg ;;
1190 -site |
--site |
--sit)
1192 -site=* |
--site=* |
--sit=*)
1195 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1197 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1198 srcdir
=$ac_optarg ;;
1200 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1201 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1202 ac_prev
=sysconfdir
;;
1203 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1204 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1205 sysconfdir
=$ac_optarg ;;
1207 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1208 ac_prev
=target_alias
;;
1209 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1210 target_alias
=$ac_optarg ;;
1212 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1215 -version |
--version |
--versio |
--versi |
--vers |
-V)
1216 ac_init_version
=: ;;
1219 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1220 # Reject names that are not valid shell variable names.
1221 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1222 as_fn_error $?
"invalid package name: $ac_useropt"
1223 ac_useropt_orig
=$ac_useropt
1224 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1225 case $ac_user_opts in
1229 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1230 ac_unrecognized_sep
=', ';;
1232 eval with_
$ac_useropt=\
$ac_optarg ;;
1234 -without-* |
--without-*)
1235 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1236 # Reject names that are not valid shell variable names.
1237 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1238 as_fn_error $?
"invalid package name: $ac_useropt"
1239 ac_useropt_orig
=$ac_useropt
1240 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1241 case $ac_user_opts in
1245 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1246 ac_unrecognized_sep
=', ';;
1248 eval with_
$ac_useropt=no
;;
1251 # Obsolete; use --with-x.
1254 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1255 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1256 ac_prev
=x_includes
;;
1257 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1258 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1259 x_includes
=$ac_optarg ;;
1261 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1262 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1263 ac_prev
=x_libraries
;;
1264 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1265 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1266 x_libraries
=$ac_optarg ;;
1268 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1269 Try \`$0 --help' for more information"
1273 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1274 # Reject names that are not valid shell variable names.
1275 case $ac_envvar in #(
1276 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1277 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1279 eval $ac_envvar=\
$ac_optarg
1280 export $ac_envvar ;;
1283 # FIXME: should be removed in autoconf 3.0.
1284 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1285 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1286 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1287 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1293 if test -n "$ac_prev"; then
1294 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1295 as_fn_error $?
"missing argument to $ac_option"
1298 if test -n "$ac_unrecognized_opts"; then
1299 case $enable_option_checking in
1301 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1302 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1306 # Check all directory arguments for consistency.
1307 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1308 datadir sysconfdir sharedstatedir localstatedir includedir \
1309 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1310 libdir localedir mandir
1312 eval ac_val
=\$
$ac_var
1313 # Remove trailing slashes.
1316 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1317 eval $ac_var=\
$ac_val;;
1319 # Be sure to have absolute directory names.
1321 [\\/$
]* | ?
:[\\/]* ) continue;;
1322 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1324 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1327 # There might be people who depend on the old broken behavior: `$host'
1328 # used to hold the argument of --host etc.
1329 # FIXME: To remove some day.
1332 target
=$target_alias
1334 # FIXME: To remove some day.
1335 if test "x$host_alias" != x
; then
1336 if test "x$build_alias" = x
; then
1337 cross_compiling
=maybe
1338 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1339 If a cross compiler is detected then cross compile mode will be used" >&2
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $?
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $?
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures this package to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --x-includes=DIR X include files are
in DIR
1484 --x-libraries=DIR X library files are
in DIR
1487 --build=BUILD configure
for building on BUILD
[guessed
]
1488 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1492 if test -n "$ac_init_help"; then
1497 --disable-option-checking ignore unrecognized
--enable/--with options
1498 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1499 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1500 --enable-build-type=TYPE
1501 Select the build
type. Available types are
:
1502 personal
, nightly
, snapshot
, milestone
, release. Do
1503 NOT use this option unless you know what you are
1504 doing
! (default
=personal
)
1505 --enable-debug=list Enable different types of debug. Commas or
1506 whitespaces can be used to separate the items
in the
1507 list. Available types of debug are
: all
, none
,
1508 messages
, stack
, mungwall
, modules
, symbols. If no
1509 list is provided
then "all" is assumed.
1511 --enable-crosstools Build cross-compiler toolchains
if necessary
1513 --enable-distcc Use distcc as a front end to the compiler
1515 --enable-ccache Use ccache as a front end to the compiler
1517 --enable-target-variant=NAME
1518 Enable a specific target variant
(default
=none
)
1519 --enable-amigaos-compliance=VERSION
1520 Enforce userspace AmigaOS compliance to a specific
1521 KickStart version
(default
=none
).
1522 --enable-includes=dir Alternative system include directory
1523 --enable-palm-debug-hack
1524 Enable palm debug output hack
in palm native
1526 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1527 --enable-nesting-supervisor
1528 Enable nesting supervisor support
in unix
1530 --disable-mmu Disable MMU support
(default
=enabled
)
1531 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1532 --enable-x11-shm use X11 shared memory
(default
=auto
)
1533 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1534 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1535 --disable-sdltest Do not try to compile and run a
test SDL program
1536 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1539 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1540 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1541 --with-gcc-version=VERSION
1542 Use
host gcc-VERSION
for building AROS
1543 --with-optimization=FLAGS
1544 Use optimization flags FLAGS
(default
=-O2).
1545 --with-paranoia=FLAGS CC flags to
enable paranoia
1546 --with-xcode=PATH Specify XCode path
for iOS targets
1547 (default
=/Developer
).
1548 --with-ios-version=VERSION
1549 Specify minimum supported iOS version
(default
=3.0).
1550 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1551 --with-sdk=PATH Specify Android SDK path
1552 (default
=$default_android_sdk).
1553 --with-ndk=PATH Specify Android NDK path
(default
=none
).
1554 --with-sdk-version=LEVEL
1555 Use Android SDK
for API LEVEL
(default
=8).
1556 --with-ndk-version=LEVEL
1557 Use Android NDK
for API LEVEL
(default
=9).
1558 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1559 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1560 --with-portssources=DIR Where to download sourcecode
for external ports
1561 --with-bootloader=NAME Use a specific bootloader
1562 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1563 --with-theme=NAME Use a specific GUI Theme
1564 --with-resolution=XRESxYRESxDEPTH
1565 Default resolution of the initial WorkbenchScreen
1566 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1567 --with-x use the X Window System
1568 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1569 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1571 Some influential environment variables
:
1572 CC C compiler
command
1573 CFLAGS C compiler flags
1574 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1575 nonstandard directory
<lib dir
>
1576 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1577 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1578 you have headers
in a nonstandard directory
<include dir
>
1580 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1582 Use these variables to override the choices made by
`configure' or to help
1583 it to find libraries and programs with nonstandard names/locations.
1585 Report bugs to the package provider.
1590 if test "$ac_init_help" = "recursive"; then
1591 # If there are subdirs, report their specific --help.
1592 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1593 test -d "$ac_dir" ||
1594 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1599 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1601 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1602 # A ".." for each directory in $ac_dir_suffix.
1603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1604 case $ac_top_builddir_sub in
1605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1609 ac_abs_top_builddir=$ac_pwd
1610 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1611 # for backward compatibility:
1612 ac_top_builddir=$ac_top_build_prefix
1615 .) # We are building in place.
1617 ac_top_srcdir=$ac_top_builddir_sub
1618 ac_abs_top_srcdir=$ac_pwd ;;
1619 [\\/]* | ?:[\\/]* ) # Absolute name.
1620 ac_srcdir=$srcdir$ac_dir_suffix;
1621 ac_top_srcdir=$srcdir
1622 ac_abs_top_srcdir=$srcdir ;;
1624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1625 ac_top_srcdir=$ac_top_build_prefix$srcdir
1626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1628 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1630 cd "$ac_dir" || { ac_status=$?; continue; }
1631 # Check for guested configure.
1632 if test -f "$ac_srcdir/configure.gnu"; then
1634 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1635 elif test -f "$ac_srcdir/configure"; then
1637 $SHELL "$ac_srcdir/configure" --help=recursive
1639 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1641 cd "$ac_pwd" || { ac_status=$?; break; }
1645 test -n "$ac_init_help" && exit $ac_status
1646 if $ac_init_version; then
1649 generated by GNU Autoconf 2.67
1651 Copyright (C) 2010 Free Software Foundation, Inc.
1652 This configure script is free software; the Free Software Foundation
1653 gives unlimited permission to copy, distribute and modify it.
1658 ## ------------------------ ##
1659 ## Autoconf initialization. ##
1660 ## ------------------------ ##
1662 # ac_fn_c_try_compile LINENO
1663 # --------------------------
1664 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1665 ac_fn_c_try_compile ()
1667 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1668 rm -f conftest.$ac_objext
1669 if { { ac_try="$ac_compile"
1671 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1672 *) ac_try_echo
=$ac_try;;
1674 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1675 $as_echo "$ac_try_echo"; } >&5
1676 (eval "$ac_compile") 2>conftest.err
1678 if test -s conftest.err
; then
1679 grep -v '^ *+' conftest.err
>conftest.er1
1680 cat conftest.er1
>&5
1681 mv -f conftest.er1 conftest.err
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; } && {
1685 test -z "$ac_c_werror_flag" ||
1686 test ! -s conftest.err
1687 } && test -s conftest.
$ac_objext; then :
1690 $as_echo "$as_me: failed program was:" >&5
1691 sed 's/^/| /' conftest.
$ac_ext >&5
1695 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1696 as_fn_set_status
$ac_retval
1698 } # ac_fn_c_try_compile
1700 # ac_fn_c_try_cpp LINENO
1701 # ----------------------
1702 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1705 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1706 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1708 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1709 *) ac_try_echo=$ac_try;;
1711 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1712 $as_echo "$ac_try_echo"; } >&5
1713 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1715 if test -s conftest.err; then
1716 grep -v '^ *+' conftest.err >conftest.er1
1717 cat conftest.er1 >&5
1718 mv -f conftest.er1 conftest.err
1720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1721 test $ac_status = 0; } > conftest.i && {
1722 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1723 test ! -s conftest.err
1727 $as_echo "$as_me: failed program was:" >&5
1728 sed 's/^/| /' conftest.$ac_ext >&5
1732 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1733 as_fn_set_status $ac_retval
1737 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1738 # -------------------------------------------------------
1739 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1740 # the include files in INCLUDES and setting the cache variable VAR
1742 ac_fn_c_check_header_mongrel ()
1744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1745 if eval "test \"\${$3+set}\"" = set; then :
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1747 $as_echo_n "checking for $2... " >&6; }
1748 if eval "test \"\${$3+set}\"" = set; then :
1749 $as_echo_n "(cached) " >&6
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1753 $as_echo "$ac_res" >&6; }
1755 # Is the header compilable?
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1757 $as_echo_n "checking $2 usability... " >&6; }
1758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1759 /* end confdefs.h. */
1763 if ac_fn_c_try_compile "$LINENO"; then :
1764 ac_header_compiler=yes
1766 ac_header_compiler=no
1768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1770 $as_echo "$ac_header_compiler" >&6; }
1772 # Is the header present?
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1774 $as_echo_n "checking $2 presence... " >&6; }
1775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1776 /* end confdefs.h. */
1779 if ac_fn_c_try_cpp "$LINENO"; then :
1780 ac_header_preproc=yes
1782 ac_header_preproc=no
1784 rm -f conftest.err conftest.i conftest.$ac_ext
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1786 $as_echo "$ac_header_preproc" >&6; }
1788 # So? What about this header?
1789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1792 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1794 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1798 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1800 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1802 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1804 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1806 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810 $as_echo_n "checking for $2... " >&6; }
1811 if eval "test \"\${$3+set}\"" = set; then :
1812 $as_echo_n "(cached) " >&6
1814 eval "$3=\$ac_header_compiler"
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818 $as_echo "$ac_res" >&6; }
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1822 } # ac_fn_c_check_header_mongrel
1824 # ac_fn_c_try_run LINENO
1825 # ----------------------
1826 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1827 # that executables *can* be run.
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 if { { ac_try="$ac_link"
1833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1834 *) ac_try_echo
=$ac_try;;
1836 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1837 $as_echo "$ac_try_echo"; } >&5
1838 (eval "$ac_link") 2>&5
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1842 { { case "(($ac_try" in
1843 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1844 *) ac_try_echo=$ac_try;;
1846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1847 $as_echo "$ac_try_echo"; } >&5
1848 (eval "$ac_try") 2>&5
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; }; }; then :
1854 $as_echo "$as_me: program exited with status $ac_status" >&5
1855 $as_echo "$as_me: failed program was:" >&5
1856 sed 's/^/| /' conftest.$ac_ext >&5
1858 ac_retval=$ac_status
1860 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862 as_fn_set_status $ac_retval
1866 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1867 # -------------------------------------------------------
1868 # Tests whether HEADER exists and can be compiled using the include files in
1869 # INCLUDES, setting the cache variable VAR accordingly.
1870 ac_fn_c_check_header_compile ()
1872 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874 $as_echo_n "checking for $2... " >&6; }
1875 if eval "test \"\${$3+set}\"" = set; then :
1876 $as_echo_n "(cached) " >&6
1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1879 /* end confdefs.h. */
1883 if ac_fn_c_try_compile "$LINENO"; then :
1888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1895 } # ac_fn_c_check_header_compile
1897 # ac_fn_c_try_link LINENO
1898 # -----------------------
1899 # Try to link conftest.$ac_ext, and return whether this succeeded.
1902 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1903 rm -f conftest.$ac_objext conftest$ac_exeext
1904 if { { ac_try="$ac_link"
1906 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1907 *) ac_try_echo
=$ac_try;;
1909 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1910 $as_echo "$ac_try_echo"; } >&5
1911 (eval "$ac_link") 2>conftest.err
1913 if test -s conftest.err
; then
1914 grep -v '^ *+' conftest.err
>conftest.er1
1915 cat conftest.er1
>&5
1916 mv -f conftest.er1 conftest.err
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && {
1920 test -z "$ac_c_werror_flag" ||
1921 test ! -s conftest.err
1922 } && test -s conftest
$ac_exeext && {
1923 test "$cross_compiling" = yes ||
1924 $as_test_x conftest
$ac_exeext
1928 $as_echo "$as_me: failed program was:" >&5
1929 sed 's/^/| /' conftest.
$ac_ext >&5
1933 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1934 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1935 # interfere with the next link command; also delete a directory that is
1936 # left behind by Apple's compiler. We do this before executing the actions.
1937 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1939 as_fn_set_status
$ac_retval
1941 } # ac_fn_c_try_link
1943 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1944 # ----------------------------------------------------
1945 # Tries to find if the field MEMBER exists in type AGGR, after including
1946 # INCLUDES, setting cache variable VAR accordingly.
1947 ac_fn_c_check_member
()
1949 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1951 $as_echo_n "checking for $2.$3... " >&6; }
1952 if eval "test \"\${$4+set}\"" = set; then :
1953 $as_echo_n "(cached) " >&6
1955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1968 if ac_fn_c_try_compile
"$LINENO"; then :
1971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1972 /* end confdefs.h. */
1978 if (sizeof ac_aggr.$3)
1984 if ac_fn_c_try_compile
"$LINENO"; then :
1989 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1998 } # ac_fn_c_check_member
2000 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2001 # ---------------------------------------------
2002 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2004 ac_fn_c_check_decl
()
2006 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2007 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2008 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2010 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2011 if eval "test \"\${$3+set}\"" = set; then :
2012 $as_echo_n "(cached) " >&6
2014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2020 #ifndef $as_decl_name
2022 (void) $as_decl_use;
2024 (void) $as_decl_name;
2032 if ac_fn_c_try_compile
"$LINENO"; then :
2037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041 $as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2044 } # ac_fn_c_check_decl
2046 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2047 # -------------------------------------------
2048 # Tests whether TYPE exists after having included INCLUDES, setting cache
2049 # variable VAR accordingly.
2050 ac_fn_c_check_type
()
2052 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if eval "test \"\${$3+set}\"" = set; then :
2056 $as_echo_n "(cached) " >&6
2059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2071 if ac_fn_c_try_compile
"$LINENO"; then :
2072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2073 /* end confdefs.h. */
2084 if ac_fn_c_try_compile
"$LINENO"; then :
2089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2098 } # ac_fn_c_check_type
2100 # ac_fn_c_check_func LINENO FUNC VAR
2101 # ----------------------------------
2102 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2103 ac_fn_c_check_func
()
2105 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if eval "test \"\${$3+set}\"" = set; then :
2109 $as_echo_n "(cached) " >&6
2111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2112 /* end confdefs.h. */
2113 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2115 #define $2 innocuous_$2
2117 /* System header to define __stub macros and hopefully few prototypes,
2118 which can conflict with char $2 (); below.
2119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2120 <limits.h> exists even on freestanding compilers. */
2123 # include <limits.h>
2125 # include <assert.h>
2130 /* Override any GCC internal prototype to avoid an error.
2131 Use char because int might match the return type of a GCC
2132 builtin and then its argument prototype would still apply. */
2137 /* The GNU C library defines this for functions which it implements
2138 to always fail with ENOSYS. Some functions are actually named
2139 something starting with __ and the normal name is an alias. */
2140 #if defined __stub_$2 || defined __stub___$2
2152 if ac_fn_c_try_link
"$LINENO"; then :
2157 rm -f core conftest.err conftest.
$ac_objext \
2158 conftest
$ac_exeext conftest.
$ac_ext
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2162 $as_echo "$ac_res" >&6; }
2163 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2165 } # ac_fn_c_check_func
2166 cat >config.log
<<_ACEOF
2167 This file contains any messages produced by compilers while
2168 running configure, to aid debugging if configure makes a mistake.
2170 It was created by $as_me, which was
2171 generated by GNU Autoconf 2.67. Invocation command line was
2183 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2184 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2185 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2186 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2187 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2189 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2190 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2192 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2193 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2194 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2195 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2196 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2197 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2198 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2206 test -z "$as_dir" && as_dir
=.
2207 $as_echo "PATH: $as_dir"
2223 # Keep a trace of the command line.
2224 # Strip out --no-create and --no-recursion so they do not pile up.
2225 # Strip out --silent because we don't want to record it for future runs.
2226 # Also quote any args containing shell meta-characters.
2227 # Make two passes to allow for proper duplicate-argument suppression.
2231 ac_must_keep_next
=false
2237 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2238 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2239 |
-silent |
--silent |
--silen |
--sile |
--sil)
2242 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2245 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2247 as_fn_append ac_configure_args1
" '$ac_arg'"
2248 if test $ac_must_keep_next = true
; then
2249 ac_must_keep_next
=false
# Got value, back to normal.
2252 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2253 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2254 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2255 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2256 case "$ac_configure_args0 " in
2257 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2260 -* ) ac_must_keep_next
=true
;;
2263 as_fn_append ac_configure_args
" '$ac_arg'"
2268 { ac_configure_args0
=; unset ac_configure_args0
;}
2269 { ac_configure_args1
=; unset ac_configure_args1
;}
2271 # When interrupted or exit'd, cleanup temporary files, and complete
2272 # config.log. We remove comments because anyway the quotes in there
2273 # would cause problems or look ugly.
2274 # WARNING: Use '\'' to represent an apostrophe within the trap.
2275 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2276 trap 'exit_status=$?
2277 # Save into config.log some information that might help in debugging.
2281 $as_echo "## ---------------- ##
2282 ## Cache variables. ##
2283 ## ---------------- ##"
2285 # The following way of writing the cache mishandles newlines in values,
2287 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2288 eval ac_val=\$$ac_var
2292 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2293 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2296 _ | IFS | as_nl) ;; #(
2297 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2298 *) { eval $ac_var=; unset $ac_var;} ;;
2303 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2304 *${as_nl}ac_space=\ *)
2306 "s/'\''/'\''\\\\'\'''\''/g;
2307 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2310 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2317 $as_echo "## ----------------- ##
2318 ## Output variables. ##
2319 ## ----------------- ##"
2321 for ac_var in $ac_subst_vars
2323 eval ac_val=\$$ac_var
2325 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2327 $as_echo "$ac_var='\''$ac_val'\''"
2331 if test -n "$ac_subst_files"; then
2332 $as_echo "## ------------------- ##
2333 ## File substitutions. ##
2334 ## ------------------- ##"
2336 for ac_var
in $ac_subst_files
2338 eval ac_val
=\$
$ac_var
2340 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2342 $as_echo "$ac_var='\''$ac_val'\''"
2347 if test -s confdefs.h; then
2348 $as_echo "## ----------- ##
2355 test "$ac_signal" != 0 &&
2356 $as_echo "$as_me: caught signal $ac_signal"
2357 $as_echo "$as_me: exit $exit_status"
2359 rm -f core *.core core.conftest.* &&
2360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2363 for ac_signal
in 1 2 13 15; do
2364 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2369 rm -f -r conftest
* confdefs.h
2371 $as_echo "/* confdefs.h */" > confdefs.h
2373 # Predefined preprocessor variables.
2375 cat >>confdefs.h
<<_ACEOF
2376 #define PACKAGE_NAME "$PACKAGE_NAME"
2379 cat >>confdefs.h
<<_ACEOF
2380 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_STRING "$PACKAGE_STRING"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_URL "$PACKAGE_URL"
2400 # Let the site file select an alternate cache file if it wants to.
2401 # Prefer an explicitly selected file to automatically selected ones.
2404 if test -n "$CONFIG_SITE"; then
2405 # We do not want a PATH search for config.site.
2406 case $CONFIG_SITE in #((
2407 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2408 */*) ac_site_file1
=$CONFIG_SITE;;
2409 *) ac_site_file1
=.
/$CONFIG_SITE;;
2411 elif test "x$prefix" != xNONE
; then
2412 ac_site_file1
=$prefix/share
/config.site
2413 ac_site_file2
=$prefix/etc
/config.site
2415 ac_site_file1
=$ac_default_prefix/share
/config.site
2416 ac_site_file2
=$ac_default_prefix/etc
/config.site
2418 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2420 test "x$ac_site_file" = xNONE
&& continue
2421 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2423 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2424 sed 's/^/| /' "$ac_site_file" >&5
2426 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2428 as_fn_error $?
"failed to load site script $ac_site_file
2429 See \`config.log' for more details" "$LINENO" 5 ; }
2433 if test -r "$cache_file"; then
2434 # Some versions of bash will fail to source /dev/null (special files
2435 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2436 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2438 $as_echo "$as_me: loading cache $cache_file" >&6;}
2440 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2441 *) .
"./$cache_file";;
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2446 $as_echo "$as_me: creating cache $cache_file" >&6;}
2450 as_fn_append ac_header_list
" stdlib.h"
2451 as_fn_append ac_header_list
" unistd.h"
2452 as_fn_append ac_header_list
" sys/param.h"
2453 # Check that the precious variables saved in the cache have kept the same
2455 ac_cache_corrupted
=false
2456 for ac_var
in $ac_precious_vars; do
2457 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2458 eval ac_new_set
=\
$ac_env_${ac_var}_set
2459 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2460 eval ac_new_val
=\
$ac_env_${ac_var}_value
2461 case $ac_old_set,$ac_new_set in
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2464 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2465 ac_cache_corrupted
=: ;;
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2468 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2469 ac_cache_corrupted
=: ;;
2472 if test "x$ac_old_val" != "x$ac_new_val"; then
2473 # differences in whitespace do not lead to failure.
2474 ac_old_val_w
=`echo x $ac_old_val`
2475 ac_new_val_w
=`echo x $ac_new_val`
2476 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2478 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2479 ac_cache_corrupted
=:
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2482 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2483 eval $ac_var=\
$ac_old_val
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2486 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2488 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2491 # Pass precious variables to config.status.
2492 if test "$ac_new_set" = set; then
2494 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2495 *) ac_arg
=$ac_var=$ac_new_val ;;
2497 case " $ac_configure_args " in
2498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2499 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2503 if $ac_cache_corrupted; then
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2507 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2508 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2510 ## -------------------- ##
2511 ## Main body of script. ##
2512 ## -------------------- ##
2515 ac_cpp
='$CPP $CPPFLAGS'
2516 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2517 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2518 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2523 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2524 if test -f "$ac_dir/install-sh"; then
2526 ac_install_sh
="$ac_aux_dir/install-sh -c"
2528 elif test -f "$ac_dir/install.sh"; then
2530 ac_install_sh
="$ac_aux_dir/install.sh -c"
2532 elif test -f "$ac_dir/shtool"; then
2534 ac_install_sh
="$ac_aux_dir/shtool install -c"
2538 if test -z "$ac_aux_dir"; then
2539 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2542 # These three variables are undocumented and unsupported,
2543 # and are intended to be withdrawn in a future Autoconf release.
2544 # They can cause serious problems if a builder's source tree is in a directory
2545 # whose full name contains unusual characters.
2546 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2547 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2548 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2552 # Check what host we are running on.
2553 # If a target is not suggested, we use this one.
2554 # Note that what we call a target, Autoconf calls a host.
2555 # Make sure we can run config.sub.
2556 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2557 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2560 $as_echo_n "checking build system type... " >&6; }
2561 if test "${ac_cv_build+set}" = set; then :
2562 $as_echo_n "(cached) " >&6
2564 ac_build_alias
=$build_alias
2565 test "x$ac_build_alias" = x
&&
2566 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2567 test "x$ac_build_alias" = x
&&
2568 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2569 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2570 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2574 $as_echo "$ac_cv_build" >&6; }
2575 case $ac_cv_build in
2577 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2580 ac_save_IFS
=$IFS; IFS
='-'
2586 # Remember, the first character of IFS is used to create $*,
2587 # except with old shells:
2590 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2594 $as_echo_n "checking host system type... " >&6; }
2595 if test "${ac_cv_host+set}" = set; then :
2596 $as_echo_n "(cached) " >&6
2598 if test "x$host_alias" = x
; then
2599 ac_cv_host
=$ac_cv_build
2601 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2602 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2607 $as_echo "$ac_cv_host" >&6; }
2610 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2613 ac_save_IFS
=$IFS; IFS
='-'
2619 # Remember, the first character of IFS is used to create $*,
2620 # except with old shells:
2623 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2627 # The AROS target is slightly different to the normal GNU style
2628 # format. We don't have the middle part, and we reverse the order
2629 # of the $(CPU) and $(OS) bits.
2631 # Don't strip the version of the target yet, it might be
2632 # useful on some systems.
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2635 $as_echo_n "checking for AROS style target... " >&6; }
2637 if test "$target" = "NONE" ; then
2638 target
=$host_os-$host_cpu
2640 if test "$target" = "" ; then
2641 target
=$host_os-$host_cpu
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2645 $as_echo "$target" >&6; }
2647 if test "$host_os" = "mingw32" ; then
2651 #don't know where else to put this...
2652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2653 $as_echo_n "checking building AROS in... " >&6; }
2654 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2655 AROS_BUILDDIR_UNIX
=${PWD}
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2657 $as_echo "$AROS_BUILDDIR" >&6; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2660 $as_echo_n "checking AROS source in... " >&6; }
2661 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2664 $as_echo "$SRCDIR" >&6; }
2666 # Parse the target field into something useful.
2668 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2669 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2672 aros_default_wbwidth
=800
2673 aros_default_wbheight
=600
2674 aros_default_wbdepth
=4
2677 # The first step is to find the host binaries.
2678 # Check for a compiler.
2680 ac_cpp
='$CPP $CPPFLAGS'
2681 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2684 if test -n "$ac_tool_prefix"; then
2685 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2686 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2688 $as_echo_n "checking for $ac_word... " >&6; }
2689 if test "${ac_cv_prog_CC+set}" = set; then :
2690 $as_echo_n "(cached) " >&6
2692 if test -n "$CC"; then
2693 ac_cv_prog_CC
="$CC" # Let the user override the test.
2695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir
=.
2700 for ac_exec_ext
in '' $ac_executable_extensions; do
2701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2702 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 if test -n "$CC"; then
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2715 $as_echo "$CC" >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2718 $as_echo "no" >&6; }
2723 if test -z "$ac_cv_prog_CC"; then
2725 # Extract the first word of "gcc", so it can be a program name with args.
2726 set dummy gcc
; ac_word
=$2
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2728 $as_echo_n "checking for $ac_word... " >&6; }
2729 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2730 $as_echo_n "(cached) " >&6
2732 if test -n "$ac_ct_CC"; then
2733 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2739 test -z "$as_dir" && as_dir
=.
2740 for ac_exec_ext
in '' $ac_executable_extensions; do
2741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2742 ac_cv_prog_ac_ct_CC
="gcc"
2743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2753 if test -n "$ac_ct_CC"; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2755 $as_echo "$ac_ct_CC" >&6; }
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2758 $as_echo "no" >&6; }
2761 if test "x$ac_ct_CC" = x
; then
2764 case $cross_compiling:$ac_tool_warned in
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2768 ac_tool_warned
=yes ;;
2776 if test -z "$CC"; then
2777 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2779 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2781 $as_echo_n "checking for $ac_word... " >&6; }
2782 if test "${ac_cv_prog_CC+set}" = set; then :
2783 $as_echo_n "(cached) " >&6
2785 if test -n "$CC"; then
2786 ac_cv_prog_CC
="$CC" # Let the user override the test.
2788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir
=.
2793 for ac_exec_ext
in '' $ac_executable_extensions; do
2794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2795 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2806 if test -n "$CC"; then
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2808 $as_echo "$CC" >&6; }
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2811 $as_echo "no" >&6; }
2817 if test -z "$CC"; then
2818 # Extract the first word of "cc", so it can be a program name with args.
2819 set dummy cc
; ac_word
=$2
2820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2821 $as_echo_n "checking for $ac_word... " >&6; }
2822 if test "${ac_cv_prog_CC+set}" = set; then :
2823 $as_echo_n "(cached) " >&6
2825 if test -n "$CC"; then
2826 ac_cv_prog_CC
="$CC" # Let the user override the test.
2829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir
=.
2834 for ac_exec_ext
in '' $ac_executable_extensions; do
2835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2836 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2837 ac_prog_rejected
=yes
2841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 if test $ac_prog_rejected = yes; then
2849 # We found a bogon in the path, so make sure we never use it.
2850 set dummy
$ac_cv_prog_CC
2852 if test $# != 0; then
2853 # We chose a different compiler from the bogus one.
2854 # However, it has the same basename, so the bogon will be chosen
2855 # first if we set CC to just the basename; use the full file name.
2857 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2863 if test -n "$CC"; then
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2865 $as_echo "$CC" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2873 if test -z "$CC"; then
2874 if test -n "$ac_tool_prefix"; then
2875 for ac_prog
in cl.exe
2877 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2878 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2880 $as_echo_n "checking for $ac_word... " >&6; }
2881 if test "${ac_cv_prog_CC+set}" = set; then :
2882 $as_echo_n "(cached) " >&6
2884 if test -n "$CC"; then
2885 ac_cv_prog_CC
="$CC" # Let the user override the test.
2887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2891 test -z "$as_dir" && as_dir
=.
2892 for ac_exec_ext
in '' $ac_executable_extensions; do
2893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2894 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 if test -n "$CC"; then
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2907 $as_echo "$CC" >&6; }
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2910 $as_echo "no" >&6; }
2914 test -n "$CC" && break
2917 if test -z "$CC"; then
2919 for ac_prog
in cl.exe
2921 # Extract the first word of "$ac_prog", so it can be a program name with args.
2922 set dummy
$ac_prog; ac_word
=$2
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2924 $as_echo_n "checking for $ac_word... " >&6; }
2925 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2926 $as_echo_n "(cached) " >&6
2928 if test -n "$ac_ct_CC"; then
2929 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir
=.
2936 for ac_exec_ext
in '' $ac_executable_extensions; do
2937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2938 ac_cv_prog_ac_ct_CC
="$ac_prog"
2939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2948 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2949 if test -n "$ac_ct_CC"; then
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2951 $as_echo "$ac_ct_CC" >&6; }
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2954 $as_echo "no" >&6; }
2958 test -n "$ac_ct_CC" && break
2961 if test "x$ac_ct_CC" = x
; then
2964 case $cross_compiling:$ac_tool_warned in
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2968 ac_tool_warned
=yes ;;
2977 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2978 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2979 as_fn_error $?
"no acceptable C compiler found in \$PATH
2980 See \`config.log' for more details" "$LINENO" 5 ; }
2982 # Provide some information about the compiler.
2983 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2986 for ac_option
in --version -v -V -qversion; do
2987 { { ac_try
="$ac_compiler $ac_option >&5"
2989 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 $as_echo "$ac_try_echo"; } >&5
2994 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2996 if test -s conftest.err; then
2998 ... rest of stderr output deleted ...
2999 10q' conftest.err >conftest.er1
3000 cat conftest.er1 >&5
3002 rm -f conftest.er1 conftest.err
3003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3004 test $ac_status = 0; }
3007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3008 /* end confdefs.h. */
3018 ac_clean_files_save=$ac_clean_files
3019 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3020 # Try to create an executable without -o first, disregard a.out.
3021 # It will help us diagnose broken compilers, and finding out an intuition
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3024 $as_echo_n "checking whether the C compiler works... " >&6; }
3025 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3027 # The possible output files:
3028 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3031 for ac_file in $ac_files
3034 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3035 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3040 if { { ac_try="$ac_link_default"
3042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3043 *) ac_try_echo
=$ac_try;;
3045 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_link_default") 2>&5
3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3050 test $ac_status = 0; }; then :
3051 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3052 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3053 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3054 # so that the user can short-circuit this test for compilers unknown to
3056 for ac_file
in $ac_files ''
3058 test -f "$ac_file" ||
continue
3060 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3063 # We found the default executable, but exeext='' is most
3067 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3069 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3071 # We set ac_cv_exeext here because the later test for it is not
3072 # safe: cross compilers may not add the suffix if given an `-o'
3073 # argument, so we may need to know it at that point already.
3074 # Even if this section looks crufty: it has the advantage of
3081 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3086 if test -z "$ac_file"; then :
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3088 $as_echo "no" >&6; }
3089 $as_echo "$as_me: failed program was:" >&5
3090 sed 's/^/| /' conftest.
$ac_ext >&5
3092 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3093 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3094 as_fn_error
77 "C compiler cannot create executables
3095 See \`config.log' for more details" "$LINENO" 5 ; }
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3098 $as_echo "yes" >&6; }
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3101 $as_echo_n "checking for C compiler default output file name... " >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3103 $as_echo "$ac_file" >&6; }
3104 ac_exeext
=$ac_cv_exeext
3106 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3107 ac_clean_files
=$ac_clean_files_save
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3109 $as_echo_n "checking for suffix of executables... " >&6; }
3110 if { { ac_try
="$ac_link"
3112 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3113 *) ac_try_echo=$ac_try;;
3115 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3116 $as_echo "$ac_try_echo"; } >&5
3117 (eval "$ac_link") 2>&5
3119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3120 test $ac_status = 0; }; then :
3121 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3122 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3123 # work properly (i.e., refer to `conftest.exe'), while it won't with
3125 for ac_file
in conftest.exe conftest conftest.
*; do
3126 test -f "$ac_file" ||
continue
3128 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3129 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3135 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3136 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3137 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3138 See \`config.log' for more details" "$LINENO" 5 ; }
3140 rm -f conftest conftest
$ac_cv_exeext
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3142 $as_echo "$ac_cv_exeext" >&6; }
3144 rm -f conftest.
$ac_ext
3145 EXEEXT
=$ac_cv_exeext
3147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3153 FILE *f = fopen ("conftest.out", "w");
3154 return ferror (f) || fclose (f) != 0;
3160 ac_clean_files
="$ac_clean_files conftest.out"
3161 # Check that the compiler produces executables we can run. If not, either
3162 # the compiler is broken, or we cross compile.
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3164 $as_echo_n "checking whether we are cross compiling... " >&6; }
3165 if test "$cross_compiling" != yes; then
3166 { { ac_try
="$ac_link"
3168 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3169 *) ac_try_echo=$ac_try;;
3171 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3172 $as_echo "$ac_try_echo"; } >&5
3173 (eval "$ac_link") 2>&5
3175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3176 test $ac_status = 0; }
3177 if { ac_try='./conftest$ac_cv_exeext'
3178 { { case "(($ac_try" in
3179 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3180 *) ac_try_echo
=$ac_try;;
3182 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3183 $as_echo "$ac_try_echo"; } >&5
3184 (eval "$ac_try") 2>&5
3186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3187 test $ac_status = 0; }; }; then
3190 if test "$cross_compiling" = maybe
; then
3193 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195 as_fn_error $?
"cannot run C compiled programs.
3196 If you meant to cross compile, use \`--host'.
3197 See \`config.log' for more details" "$LINENO" 5 ; }
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3202 $as_echo "$cross_compiling" >&6; }
3204 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3205 ac_clean_files
=$ac_clean_files_save
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3207 $as_echo_n "checking for suffix of object files... " >&6; }
3208 if test "${ac_cv_objext+set}" = set; then :
3209 $as_echo_n "(cached) " >&6
3211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3212 /* end confdefs.h. */
3222 rm -f conftest.o conftest.obj
3223 if { { ac_try
="$ac_compile"
3225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3226 *) ac_try_echo=$ac_try;;
3228 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3229 $as_echo "$ac_try_echo"; } >&5
3230 (eval "$ac_compile") 2>&5
3232 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3233 test $ac_status = 0; }; then :
3234 for ac_file in conftest.o conftest.obj conftest.*; do
3235 test -f "$ac_file" || continue;
3237 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3238 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3243 $as_echo "$as_me: failed program was:" >&5
3244 sed 's/^/| /' conftest.$ac_ext >&5
3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3249 See \
`config.log' for more details" "$LINENO" 5 ; }
3251 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3254 $as_echo "$ac_cv_objext" >&6; }
3255 OBJEXT=$ac_cv_objext
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3258 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3259 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3260 $as_echo_n "(cached) " >&6
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3276 if ac_fn_c_try_compile "$LINENO"; then :
3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3286 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3287 if test $ac_compiler_gnu = yes; then
3292 ac_test_CFLAGS=${CFLAGS+set}
3293 ac_save_CFLAGS=$CFLAGS
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3295 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3296 if test "${ac_cv_prog_cc_g+set}" = set; then :
3297 $as_echo_n "(cached) " >&6
3299 ac_save_c_werror_flag=$ac_c_werror_flag
3300 ac_c_werror_flag=yes
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3314 if ac_fn_c_try_compile "$LINENO"; then :
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 if ac_fn_c_try_compile "$LINENO"; then :
3332 ac_c_werror_flag=$ac_save_c_werror_flag
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3345 if ac_fn_c_try_compile "$LINENO"; then :
3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3353 ac_c_werror_flag=$ac_save_c_werror_flag
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3356 $as_echo "$ac_cv_prog_cc_g" >&6; }
3357 if test "$ac_test_CFLAGS" = set; then
3358 CFLAGS=$ac_save_CFLAGS
3359 elif test $ac_cv_prog_cc_g = yes; then
3360 if test "$GCC" = yes; then
3366 if test "$GCC" = yes; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3373 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3374 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3375 $as_echo_n "(cached) " >&6
3377 ac_cv_prog_cc_c89=no
3379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3380 /* end confdefs.h. */
3383 #include <sys/types.h>
3384 #include <sys/stat.h>
3385 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3386 struct buf { int x; };
3387 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3388 static char *e (p, i)
3394 static char *f (char * (*g) (char **, int), char **p, ...)
3399 s = g (p, va_arg (v,int));
3404 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3405 function prototypes and stuff, but not '\xHH' hex character constants.
3406 These don't provoke an error unfortunately, instead are silently treated
3407 as 'x'. The following induces an error, until -std is added to get
3408 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3409 array size at least. It's necessary to write '\x00'==0 to get something
3410 that's true only with -std. */
3411 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3413 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3414 inside strings and character constants. */
3416 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3418 int test (int i, double x);
3419 struct s1 {int (*f) (int a);};
3420 struct s2 {int (*f) (double a);};
3421 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3427 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3432 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3433 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3435 CC="$ac_save_CC $ac_arg"
3436 if ac_fn_c_try_compile "$LINENO"; then :
3437 ac_cv_prog_cc_c89=$ac_arg
3439 rm -f core conftest.err conftest.$ac_objext
3440 test "x$ac_cv_prog_cc_c89" != "xno" && break
3442 rm -f conftest.$ac_ext
3447 case "x$ac_cv_prog_cc_c89" in
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3450 $as_echo "none needed" >&6; } ;;
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3453 $as_echo "unsupported" >&6; } ;;
3455 CC="$CC $ac_cv_prog_cc_c89"
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3457 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3459 if test "x$ac_cv_prog_cc_c89" != xno; then :
3464 ac_cpp='$CPP $CPPFLAGS'
3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3469 case $ac_cv_prog_cc_stdc in #(
3471 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3474 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3475 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3476 $as_echo_n "(cached) " >&6
3478 ac_cv_prog_cc_c99=no
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3483 #include <stdbool.h>
3488 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3489 #define debug(...) fprintf (stderr, __VA_ARGS__)
3490 #define showlist(...) puts (#__VA_ARGS__)
3491 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3493 test_varargs_macros (void)
3498 debug ("X = %d\n", x);
3499 showlist (The first, second, and third items.);
3500 report (x>y, "x is %d but y is %d", x, y);
3503 // Check long long types.
3504 #define BIG64 18446744073709551615ull
3505 #define BIG32 4294967295ul
3506 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3508 your preprocessor is broken;
3512 your preprocessor is broken;
3514 static long long int bignum = -9223372036854775807LL;
3515 static unsigned long long int ubignum = BIG64;
3517 struct incomplete_array
3525 const wchar_t *name;
3529 typedef const char *ccp;
3532 test_restrict (ccp restrict text)
3534 // See if C++-style comments work.
3535 // Iterate through items via the restricted pointer.
3536 // Also check for declarations in for loops.
3537 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3542 // Check varargs and va_copy.
3544 test_varargs (const char *format, ...)
3547 va_start (args, format);
3549 va_copy (args_copy, args);
3560 str = va_arg (args_copy, const char *);
3563 number = va_arg (args_copy, int);
3566 fnumber = va_arg (args_copy, double);
3581 _Bool success = false;
3584 if (test_restrict ("String literal") == 0)
3586 char *restrict newvar = "Another string";
3589 test_varargs ("s, d' f .", "string", 65, 34.234);
3590 test_varargs_macros ();
3592 // Check flexible array members.
3593 struct incomplete_array *ia =
3594 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3596 for (int i = 0; i < ia->datasize; ++i)
3597 ia->data[i] = i * 1.234;
3599 // Check named initializers.
3600 struct named_init ni = {
3602 .name = L"Test wide string",
3603 .average = 543.34343,
3608 int dynamic_array[ni.number];
3609 dynamic_array[ni.number - 1] = 543;
3611 // work around unused variable warnings
3612 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3613 || dynamic_array[ni.number - 1] != 543);
3619 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3621 CC="$ac_save_CC $ac_arg"
3622 if ac_fn_c_try_compile "$LINENO"; then :
3623 ac_cv_prog_cc_c99=$ac_arg
3625 rm -f core conftest.err conftest.$ac_objext
3626 test "x$ac_cv_prog_cc_c99" != "xno" && break
3628 rm -f conftest.$ac_ext
3633 case "x$ac_cv_prog_cc_c99" in
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3636 $as_echo "none needed" >&6; } ;;
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3639 $as_echo "unsupported" >&6; } ;;
3641 CC="$CC $ac_cv_prog_cc_c99"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3643 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3645 if test "x$ac_cv_prog_cc_c99" != xno; then :
3646 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3649 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3650 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3651 $as_echo_n "(cached) " >&6
3653 ac_cv_prog_cc_c89=no
3655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3656 /* end confdefs.h. */
3659 #include <sys/types.h>
3660 #include <sys/stat.h>
3661 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3662 struct buf { int x; };
3663 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3664 static char *e (p, i)
3670 static char *f (char * (*g) (char **, int), char **p, ...)
3675 s = g (p, va_arg (v,int));
3680 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3681 function prototypes and stuff, but not '\xHH' hex character constants.
3682 These don't provoke an error unfortunately, instead are silently treated
3683 as 'x'. The following induces an error, until -std is added to get
3684 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3685 array size at least. It's necessary to write '\x00'==0 to get something
3686 that's true only with -std. */
3687 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3689 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3690 inside strings and character constants. */
3692 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3694 int test (int i, double x);
3695 struct s1 {int (*f) (int a);};
3696 struct s2 {int (*f) (double a);};
3697 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3703 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3708 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3709 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3711 CC="$ac_save_CC $ac_arg"
3712 if ac_fn_c_try_compile "$LINENO"; then :
3713 ac_cv_prog_cc_c89=$ac_arg
3715 rm -f core conftest.err conftest.$ac_objext
3716 test "x$ac_cv_prog_cc_c89" != "xno" && break
3718 rm -f conftest.$ac_ext
3723 case "x$ac_cv_prog_cc_c89" in
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3726 $as_echo "none needed" >&6; } ;;
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3729 $as_echo "unsupported" >&6; } ;;
3731 CC="$CC $ac_cv_prog_cc_c89"
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3733 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3735 if test "x$ac_cv_prog_cc_c89" != xno; then :
3736 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3738 ac_cv_prog_cc_stdc=no
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3745 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3746 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3750 case $ac_cv_prog_cc_stdc in #(
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3753 $as_echo "unsupported" >&6; } ;; #(
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3756 $as_echo "none needed" >&6; } ;; #(
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3759 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3763 ac_cpp='$CPP $CPPFLAGS'
3764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3768 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3769 # On Suns, sometimes $CPP names a directory.
3770 if test -n "$CPP" && test -d "$CPP"; then
3773 if test -z "$CPP"; then
3774 if test "${ac_cv_prog_CPP+set}" = set; then :
3775 $as_echo_n "(cached) " >&6
3777 # Double quotes because CPP needs to be expanded
3778 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3781 for ac_c_preproc_warn_flag in '' yes
3783 # Use a header file that comes with gcc, so configuring glibc
3784 # with a fresh cross-compiler works.
3785 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3786 # <limits.h> exists even on freestanding compilers.
3787 # On the NeXT, cc -E runs the code through the compiler's parser,
3788 # not just through cpp. "Syntax error" is here to catch this case.
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3792 # include <limits.h>
3794 # include <assert.h>
3798 if ac_fn_c_try_cpp "$LINENO"; then :
3801 # Broken: fails on valid input.
3804 rm -f conftest.err conftest.i conftest.$ac_ext
3806 # OK, works on sane cases. Now check whether nonexistent headers
3807 # can be detected and how.
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3810 #include <ac_nonexistent.h>
3812 if ac_fn_c_try_cpp "$LINENO"; then :
3813 # Broken: success on invalid input.
3816 # Passes both tests.
3820 rm -f conftest.err conftest.i conftest.$ac_ext
3823 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3824 rm -f conftest.i conftest.err conftest.
$ac_ext
3825 if $ac_preproc_ok; then :
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3838 $as_echo "$CPP" >&6; }
3840 for ac_c_preproc_warn_flag
in '' yes
3842 # Use a header file that comes with gcc, so configuring glibc
3843 # with a fresh cross-compiler works.
3844 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3845 # <limits.h> exists even on freestanding compilers.
3846 # On the NeXT, cc -E runs the code through the compiler's parser,
3847 # not just through cpp. "Syntax error" is here to catch this case.
3848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3851 # include <limits.h>
3853 # include <assert.h>
3857 if ac_fn_c_try_cpp
"$LINENO"; then :
3860 # Broken: fails on valid input.
3863 rm -f conftest.err conftest.i conftest.
$ac_ext
3865 # OK, works on sane cases. Now check whether nonexistent headers
3866 # can be detected and how.
3867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3869 #include <ac_nonexistent.h>
3871 if ac_fn_c_try_cpp
"$LINENO"; then :
3872 # Broken: success on invalid input.
3875 # Passes both tests.
3879 rm -f conftest.err conftest.i conftest.
$ac_ext
3882 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3883 rm -f conftest.i conftest.err conftest.
$ac_ext
3884 if $ac_preproc_ok; then :
3887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3889 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3890 See \`config.log' for more details" "$LINENO" 5 ; }
3894 ac_cpp
='$CPP $CPPFLAGS'
3895 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3896 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3897 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3900 # Check for a compatible awk
3901 for ac_prog
in gawk nawk
3903 # Extract the first word of "$ac_prog", so it can be a program name with args.
3904 set dummy
$ac_prog; ac_word
=$2
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3906 $as_echo_n "checking for $ac_word... " >&6; }
3907 if test "${ac_cv_prog_AWK+set}" = set; then :
3908 $as_echo_n "(cached) " >&6
3910 if test -n "$AWK"; then
3911 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3917 test -z "$as_dir" && as_dir
=.
3918 for ac_exec_ext
in '' $ac_executable_extensions; do
3919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3920 ac_cv_prog_AWK
="$ac_prog"
3921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3931 if test -n "$AWK"; then
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3933 $as_echo "$AWK" >&6; }
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3936 $as_echo "no" >&6; }
3940 test -n "$AWK" && break
3943 if test "$AWK" = ""; then
3944 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3946 # Extract the first word of "mmake", so it can be a program name with args.
3947 set dummy mmake
; ac_word
=$2
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3949 $as_echo_n "checking for $ac_word... " >&6; }
3950 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3951 $as_echo_n "(cached) " >&6
3953 if test -n "$MMAKE"; then
3954 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3960 test -z "$as_dir" && as_dir
=.
3961 for ac_exec_ext
in '' $ac_executable_extensions; do
3962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3963 ac_cv_prog_MMAKE
="mmake "
3964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 MMAKE
=$ac_cv_prog_MMAKE
3974 if test -n "$MMAKE"; then
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3976 $as_echo "$MMAKE" >&6; }
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3979 $as_echo "no" >&6; }
3984 # Perform some default variable assignments. Note all of these will be
3985 # Regenerated from the script, so there is no need to cache them.
3988 if test "$GCC" = "yes"; then
3989 aros_gcc_ld
=`$CC -print-prog-name=ld`
3990 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3991 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3993 $as_echo_n "checking for $ac_word... " >&6; }
3994 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3995 $as_echo_n "(cached) " >&6
3997 case $aros_host_ld in
3999 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 for as_dir
in `dirname $aros_gcc_ld`
4006 test -z "$as_dir" && as_dir
=.
4007 for ac_exec_ext
in '' $ac_executable_extensions; do
4008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4009 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4010 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4020 aros_host_ld
=$ac_cv_path_aros_host_ld
4021 if test -n "$aros_host_ld"; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4023 $as_echo "$aros_host_ld" >&6; }
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4031 if test "$aros_host_ld" = ""; then
4032 # Extract the first word of "ld", so it can be a program name with args.
4033 set dummy ld
; ac_word
=$2
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4035 $as_echo_n "checking for $ac_word... " >&6; }
4036 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4037 $as_echo_n "(cached) " >&6
4039 case $aros_host_ld in
4041 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4062 aros_host_ld
=$ac_cv_path_aros_host_ld
4063 if test -n "$aros_host_ld"; then
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4065 $as_echo "$aros_host_ld" >&6; }
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4068 $as_echo "no" >&6; }
4073 if test "$aros_host_ld" = ""; then
4074 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4076 aros_host_make
="make"
4077 aros_host_cflags
=$CFLAGS
4078 aros_host_ldflags
=$LDFLAGS
4079 aros_host_debug
="-g -O0"
4080 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4081 aros_host_mkargs
="--no-print-directory"
4082 aros_host_incl
="/usr/include"
4083 aros_host_exe_suffix
="$EXEEXT"
4084 aros_host_lib_suffix
=""
4086 # Ignore all compliance, AROS ROMs = 0
4087 # KickStart v1.0 = 30
4088 # KickStart v1.3 = 34
4089 # KickStart v2.0 = 37
4090 # KickStart v3.0 = 39
4091 # KickStart v3.1 = 40
4093 aros_amigaos_compliance
=0
4095 for ac_prog
in aclocal aclocal19 aclocal-1.9
4097 # Extract the first word of "$ac_prog", so it can be a program name with args.
4098 set dummy
$ac_prog; ac_word
=$2
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4100 $as_echo_n "checking for $ac_word... " >&6; }
4101 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4102 $as_echo_n "(cached) " >&6
4104 if test -n "$aros_host_aclocal"; then
4105 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4111 test -z "$as_dir" && as_dir
=.
4112 for ac_exec_ext
in '' $ac_executable_extensions; do
4113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4114 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4124 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4125 if test -n "$aros_host_aclocal"; then
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4127 $as_echo "$aros_host_aclocal" >&6; }
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4130 $as_echo "no" >&6; }
4134 test -n "$aros_host_aclocal" && break
4137 for ac_prog
in autoconf autoconf259 autoconf253
4139 # Extract the first word of "$ac_prog", so it can be a program name with args.
4140 set dummy
$ac_prog; ac_word
=$2
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142 $as_echo_n "checking for $ac_word... " >&6; }
4143 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4144 $as_echo_n "(cached) " >&6
4146 if test -n "$aros_host_autoconf"; then
4147 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4153 test -z "$as_dir" && as_dir
=.
4154 for ac_exec_ext
in '' $ac_executable_extensions; do
4155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4156 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4166 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4167 if test -n "$aros_host_autoconf"; then
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4169 $as_echo "$aros_host_autoconf" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4176 test -n "$aros_host_autoconf" && break
4179 for ac_prog
in autoheader autoheader259 autoheader253
4181 # Extract the first word of "$ac_prog", so it can be a program name with args.
4182 set dummy
$ac_prog; ac_word
=$2
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4184 $as_echo_n "checking for $ac_word... " >&6; }
4185 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4186 $as_echo_n "(cached) " >&6
4188 if test -n "$aros_host_autoheader"; then
4189 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4195 test -z "$as_dir" && as_dir
=.
4196 for ac_exec_ext
in '' $ac_executable_extensions; do
4197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4198 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4209 if test -n "$aros_host_autoheader"; then
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4211 $as_echo "$aros_host_autoheader" >&6; }
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4214 $as_echo "no" >&6; }
4218 test -n "$aros_host_autoheader" && break
4221 for ac_prog
in automake automake19 automake-1.9
4223 # Extract the first word of "$ac_prog", so it can be a program name with args.
4224 set dummy
$ac_prog; ac_word
=$2
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4226 $as_echo_n "checking for $ac_word... " >&6; }
4227 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4228 $as_echo_n "(cached) " >&6
4230 if test -n "$aros_host_automake"; then
4231 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4237 test -z "$as_dir" && as_dir
=.
4238 for ac_exec_ext
in '' $ac_executable_extensions; do
4239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4240 ac_cv_prog_aros_host_automake
="$ac_prog"
4241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4250 aros_host_automake
=$ac_cv_prog_aros_host_automake
4251 if test -n "$aros_host_automake"; then
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4253 $as_echo "$aros_host_automake" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4260 test -n "$aros_host_automake" && break
4264 if test "$aros_host_aclocal" = ""; then
4265 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4267 if test "$aros_host_automake" = ""; then
4268 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4271 case "$aros_host_cc" in
4273 aros_host_cc_pipe
="-pipe"
4276 aros_host_cc_pipe
=""
4279 aros_host_cc_pipe
=""
4283 aros_kernel_cc_includes
=""
4284 aros_target_cc_includes
=""
4286 # ----------------------------------------------------------------------------------------
4287 # Host-specific defaults
4289 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4290 # instead of a wrapper script.
4291 # Useful for non-ELF hosts (like Windows and Darwin).
4292 # Can also be overriden in target section below
4295 # This is the main host configuration section. It is where the host
4296 # can change the values of any variables it needs to change. We do
4297 # not look at anything that compiles to the target yet, we'll get
4302 aros_host_arch
="aros"
4303 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4306 aros_host_cpu
="i386"
4309 aros_host_cpu
="x86_64"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4316 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4317 aros_host_cpu
="$host_cpu"
4323 aros_host_arch
="linux"
4324 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4325 android_build_os
="linux-x86"
4326 android_tool
="android"
4327 default_android_sdk
="/opt/android-sdk-linux_x86"
4330 aros_host_cpu
="i386"
4333 aros_host_cpu
="x86_64"
4336 aros_host_cpu
="m68k"
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4346 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4347 aros_host_cpu
="$host_cpu"
4353 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4354 aros_host_make
="gmake"
4355 aros_host_arch
="freebsd"
4356 aros_host_cpu
="i386"
4358 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4362 aros_object_format
="elf_i386"
4366 aros_object_format
="elf_i386_fbsd"
4373 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4374 aros_host_arch
="darwin"
4376 android_build_os
="darwin-x86"
4377 android_tool
="android"
4378 default_android_sdk
="/android-sdk-mac_x86"
4381 aros_host_cpu
="i386"
4384 aros_host_cpu
="x86_64"
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4391 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4392 aros_host_cpu
="$host_cpu"
4396 aros_host_ldflags
="$aros_host_ldflags -liconv"
4401 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4402 aros_host_make
="gmake"
4403 aros_host_arch
="dragonfly"
4406 aros_host_cpu
="i386"
4409 aros_host_cpu
="x86_64"
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4413 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4414 aros_host_cpu
="$host_cpu"
4420 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4421 aros_host_make
="gmake"
4422 aros_host_arch
="netbsd"
4425 aros_host_cpu
="i386"
4428 aros_host_cpu
="m68k"
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4432 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4433 aros_host_cpu
="$host_cpu"
4436 aros_host_lib_suffix
=".0.0"
4440 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4441 aros_host_make
="gmake"
4442 aros_host_arch
="openbsd"
4445 aros_host_cpu
="i386"
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4449 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4450 aros_host_cpu
="$host_cpu"
4456 aros_host_arch
="solaris"
4457 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4460 aros_host_cpu
="i386"
4463 aros_host_cpu
="sparc"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4467 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4468 aros_host_cpu
="$host_cpu"
4474 aros_host_arch
="morphos"
4479 aros_host_arch
="amiga"
4484 TOUCH
="/gg/bin/touch"
4487 aros_host_cpu
="m68k"
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4494 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4495 aros_host_cpu
="$host_cpu"
4501 aros_host_arch
="cygwin"
4503 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4504 android_build_os
="windows"
4505 android_tool
="android.bat"
4506 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4510 aros_host_cpu
="i386"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4514 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4515 aros_host_cpu
="$host_cpu"
4521 aros_host_arch
="mingw32"
4523 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4524 android_build_os
="windows"
4525 android_tool
="android.bat"
4526 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4530 aros_host_cpu
="i386"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4534 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4535 aros_host_cpu
="$host_cpu"
4540 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4544 # Extract the first word of "ar", so it can be a program name with args.
4545 set dummy
ar; ac_word
=$2
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4547 $as_echo_n "checking for $ac_word... " >&6; }
4548 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4549 $as_echo_n "(cached) " >&6
4551 if test -n "$aros_host_ar"; then
4552 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4554 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4558 test -z "$as_dir" && as_dir
=.
4559 for ac_exec_ext
in '' $ac_executable_extensions; do
4560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4561 ac_cv_prog_aros_host_ar
="ar cr"
4562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4571 aros_host_ar
=$ac_cv_prog_aros_host_ar
4572 if test -n "$aros_host_ar"; then
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4574 $as_echo "$aros_host_ar" >&6; }
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4577 $as_echo "no" >&6; }
4581 if test "$aros_host_ar" = ""; then
4582 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4584 # Extract the first word of "ranlib", so it can be a program name with args.
4585 set dummy ranlib
; ac_word
=$2
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4587 $as_echo_n "checking for $ac_word... " >&6; }
4588 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4589 $as_echo_n "(cached) " >&6
4591 if test -n "$aros_host_ranlib"; then
4592 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4598 test -z "$as_dir" && as_dir
=.
4599 for ac_exec_ext
in '' $ac_executable_extensions; do
4600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4601 ac_cv_prog_aros_host_ranlib
="ranlib "
4602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4611 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4612 if test -n "$aros_host_ranlib"; then
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4614 $as_echo "$aros_host_ranlib" >&6; }
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4617 $as_echo "no" >&6; }
4621 if test "$aros_host_ranlib" = ""; then
4622 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4624 # Extract the first word of "strip", so it can be a program name with args.
4625 set dummy strip
; ac_word
=$2
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4627 $as_echo_n "checking for $ac_word... " >&6; }
4628 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4629 $as_echo_n "(cached) " >&6
4631 if test -n "$aros_host_strip"; then
4632 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4638 test -z "$as_dir" && as_dir
=.
4639 for ac_exec_ext
in '' $ac_executable_extensions; do
4640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4641 ac_cv_prog_aros_host_strip
="strip "
4642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 aros_host_strip
=$ac_cv_prog_aros_host_strip
4652 if test -n "$aros_host_strip"; then
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4654 $as_echo "$aros_host_strip" >&6; }
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4657 $as_echo "no" >&6; }
4661 if test "$aros_host_strip" = ""; then
4662 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4665 # Extract the first word of "rm", so it can be a program name with args.
4666 set dummy
rm; ac_word
=$2
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4668 $as_echo_n "checking for $ac_word... " >&6; }
4669 if test "${ac_cv_prog_RM+set}" = set; then :
4670 $as_echo_n "(cached) " >&6
4672 if test -n "$RM"; then
4673 ac_cv_prog_RM
="$RM" # Let the user override the test.
4675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4679 test -z "$as_dir" && as_dir
=.
4680 for ac_exec_ext
in '' $ac_executable_extensions; do
4681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4682 ac_cv_prog_RM
="rm -rf"
4683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4693 if test -n "$RM"; then
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4695 $as_echo "$RM" >&6; }
4697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4698 $as_echo "no" >&6; }
4702 if test "$RM" = ""; then
4703 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4705 # Extract the first word of "cp", so it can be a program name with args.
4706 set dummy
cp; ac_word
=$2
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4708 $as_echo_n "checking for $ac_word... " >&6; }
4709 if test "${ac_cv_prog_CP+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4712 if test -n "$CP"; then
4713 ac_cv_prog_CP
="$CP" # Let the user override the test.
4715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir
=.
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4733 if test -n "$CP"; then
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4735 $as_echo "$CP" >&6; }
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4742 if test "$CP" = ""; then
4743 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4745 # Extract the first word of "mv", so it can be a program name with args.
4746 set dummy
mv; ac_word
=$2
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4748 $as_echo_n "checking for $ac_word... " >&6; }
4749 if test "${ac_cv_prog_MV+set}" = set; then :
4750 $as_echo_n "(cached) " >&6
4752 if test -n "$MV"; then
4753 ac_cv_prog_MV
="$MV" # Let the user override the test.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4773 if test -n "$MV"; then
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4775 $as_echo "$MV" >&6; }
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4778 $as_echo "no" >&6; }
4782 if test "$MV" = ""; then
4783 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4785 # Extract the first word of "echo", so it can be a program name with args.
4786 set dummy
echo; ac_word
=$2
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4788 $as_echo_n "checking for $ac_word... " >&6; }
4789 if test "${ac_cv_prog_ECHO+set}" = set; then :
4790 $as_echo_n "(cached) " >&6
4792 if test -n "$ECHO"; then
4793 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4802 ac_cv_prog_ECHO
="echo "
4803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4812 ECHO
=$ac_cv_prog_ECHO
4813 if test -n "$ECHO"; then
4814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4815 $as_echo "$ECHO" >&6; }
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4818 $as_echo "no" >&6; }
4822 if test "$ECHO" = ""; then
4823 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4825 # Extract the first word of "mkdir", so it can be a program name with args.
4826 set dummy mkdir
; ac_word
=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4830 $as_echo_n "(cached) " >&6
4832 if test -n "$MKDIR"; then
4833 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir
=.
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4842 ac_cv_prog_MKDIR
="mkdir -p"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 MKDIR
=$ac_cv_prog_MKDIR
4853 if test -n "$MKDIR"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4855 $as_echo "$MKDIR" >&6; }
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4862 if test "$MKDIR" = ""; then
4863 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4865 # Extract the first word of "touch", so it can be a program name with args.
4866 set dummy
touch; ac_word
=$2
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4868 $as_echo_n "checking for $ac_word... " >&6; }
4869 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4870 $as_echo_n "(cached) " >&6
4872 if test -n "$TOUCH"; then
4873 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4882 ac_cv_prog_TOUCH
="touch "
4883 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4892 TOUCH
=$ac_cv_prog_TOUCH
4893 if test -n "$TOUCH"; then
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4895 $as_echo "$TOUCH" >&6; }
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 $as_echo "no" >&6; }
4902 if test "$TOUCH" = ""; then
4903 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4905 # Extract the first word of "sort", so it can be a program name with args.
4906 set dummy
sort; ac_word
=$2
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4908 $as_echo_n "checking for $ac_word... " >&6; }
4909 if test "${ac_cv_prog_SORT+set}" = set; then :
4910 $as_echo_n "(cached) " >&6
4912 if test -n "$SORT"; then
4913 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4919 test -z "$as_dir" && as_dir
=.
4920 for ac_exec_ext
in '' $ac_executable_extensions; do
4921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4922 ac_cv_prog_SORT
="sort "
4923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4932 SORT
=$ac_cv_prog_SORT
4933 if test -n "$SORT"; then
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4935 $as_echo "$SORT" >&6; }
4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4938 $as_echo "no" >&6; }
4942 if test "$SORT" = ""; then
4943 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4945 # Extract the first word of "uniq", so it can be a program name with args.
4946 set dummy
uniq; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$UNIQ"; then
4953 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_UNIQ
="uniq "
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 UNIQ
=$ac_cv_prog_UNIQ
4973 if test -n "$UNIQ"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4975 $as_echo "$UNIQ" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 if test "$UNIQ" = ""; then
4983 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4985 # Extract the first word of "true", so it can be a program name with args.
4986 set dummy true
; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if test "${ac_cv_prog_NOP+set}" = set; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$NOP"; then
4993 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5002 ac_cv_prog_NOP
="true "
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 if test -n "$NOP"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5015 $as_echo "$NOP" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 if test "$NOP" = ""; then
5023 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5025 # Extract the first word of "cat", so it can be a program name with args.
5026 set dummy
cat; ac_word
=$2
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5028 $as_echo_n "checking for $ac_word... " >&6; }
5029 if test "${ac_cv_prog_CAT+set}" = set; then :
5030 $as_echo_n "(cached) " >&6
5032 if test -n "$CAT"; then
5033 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5039 test -z "$as_dir" && as_dir
=.
5040 for ac_exec_ext
in '' $ac_executable_extensions; do
5041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5042 ac_cv_prog_CAT
="cat "
5043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5053 if test -n "$CAT"; then
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5055 $as_echo "$CAT" >&6; }
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5058 $as_echo "no" >&6; }
5062 if test "$CAT" = ""; then
5063 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5065 # Extract the first word of "bison", so it can be a program name with args.
5066 set dummy bison
; ac_word
=$2
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5068 $as_echo_n "checking for $ac_word... " >&6; }
5069 if test "${ac_cv_prog_BISON+set}" = set; then :
5070 $as_echo_n "(cached) " >&6
5072 if test -n "$BISON"; then
5073 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5082 ac_cv_prog_BISON
="bison "
5083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 BISON
=$ac_cv_prog_BISON
5093 if test -n "$BISON"; then
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5095 $as_echo "$BISON" >&6; }
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5098 $as_echo "no" >&6; }
5102 if test "$BISON" = ""; then
5103 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5105 # Extract the first word of "flex", so it can be a program name with args.
5106 set dummy flex
; ac_word
=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_FLEX+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5112 if test -n "$FLEX"; then
5113 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5115 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5119 test -z "$as_dir" && as_dir
=.
5120 for ac_exec_ext
in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_FLEX
="flex "
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 FLEX
=$ac_cv_prog_FLEX
5133 if test -n "$FLEX"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5135 $as_echo "$FLEX" >&6; }
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5142 if test "$FLEX" = ""; then
5143 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5145 # Extract the first word of "pngtopnm", so it can be a program name with args.
5146 set dummy pngtopnm
; ac_word
=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5152 if test -n "$PNGTOPNM"; then
5153 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_PNGTOPNM
="pngtopnm "
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5173 if test -n "$PNGTOPNM"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5175 $as_echo "$PNGTOPNM" >&6; }
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5182 if test "$PNGTOPNM" = ""; then
5183 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5185 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5186 set dummy ppmtoilbm
; ac_word
=$2
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5188 $as_echo_n "checking for $ac_word... " >&6; }
5189 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5190 $as_echo_n "(cached) " >&6
5192 if test -n "$PPMTOILBM"; then
5193 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5199 test -z "$as_dir" && as_dir
=.
5200 for ac_exec_ext
in '' $ac_executable_extensions; do
5201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5202 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5212 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5213 if test -n "$PPMTOILBM"; then
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5215 $as_echo "$PPMTOILBM" >&6; }
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5218 $as_echo "no" >&6; }
5222 if test "$PPMTOILBM" = ""; then
5223 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5225 # Extract the first word of "sed", so it can be a program name with args.
5226 set dummy
sed; ac_word
=$2
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5228 $as_echo_n "checking for $ac_word... " >&6; }
5229 if test "${ac_cv_prog_SED+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 if test -n "$SED"; then
5233 ac_cv_prog_SED
="$SED" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5242 ac_cv_prog_SED
="sed "
5243 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5253 if test -n "$SED"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5255 $as_echo "$SED" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5262 if test "$SED" = ""; then
5263 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5265 # Extract the first word of "chmod", so it can be a program name with args.
5266 set dummy
chmod; ac_word
=$2
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5268 $as_echo_n "checking for $ac_word... " >&6; }
5269 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5270 $as_echo_n "(cached) " >&6
5272 if test -n "$CHMOD"; then
5273 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5279 test -z "$as_dir" && as_dir
=.
5280 for ac_exec_ext
in '' $ac_executable_extensions; do
5281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5282 ac_cv_prog_CHMOD
="chmod "
5283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5292 CHMOD
=$ac_cv_prog_CHMOD
5293 if test -n "$CHMOD"; then
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5295 $as_echo "$CHMOD" >&6; }
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5298 $as_echo "no" >&6; }
5302 if test "$CHMOD" = ""; then
5303 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5305 # Extract the first word of "patch", so it can be a program name with args.
5306 set dummy
patch; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if test "${ac_cv_prog_PATCH+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5312 if test -n "$PATCH"; then
5313 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5322 ac_cv_prog_PATCH
="patch "
5323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5332 PATCH
=$ac_cv_prog_PATCH
5333 if test -n "$PATCH"; then
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5335 $as_echo "$PATCH" >&6; }
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5338 $as_echo "no" >&6; }
5342 if test "$PATCH" = ""; then
5343 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5350 if test -n "$PYTHON"; then
5351 # If the user set $PYTHON, use it and don't search something else.
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5353 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5354 prog
="import sys, string
5355 # split strings by '.' and convert to numeric. Append some zeros
5356 # because we need at least 4 digits for the hex conversion.
5357 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5359 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5360 sys.exit(sys.hexversion < minverhex)"
5361 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5362 ($PYTHON -c "$prog") >&5 2>&5
5364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5365 (exit $ac_status); }; then :
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5367 $as_echo "yes" >&6; }
5369 as_fn_error $?
"too old" "$LINENO" 5
5371 am_display_PYTHON
=$PYTHON
5373 # Otherwise, try each interpreter until we find one that satisfies
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5376 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5377 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5378 $as_echo_n "(cached) " >&6
5381 for am_cv_pathless_PYTHON
in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none
; do
5382 test "$am_cv_pathless_PYTHON" = none
&& break
5383 prog
="import sys, string
5384 # split strings by '.' and convert to numeric. Append some zeros
5385 # because we need at least 4 digits for the hex conversion.
5386 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5388 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5389 sys.exit(sys.hexversion < minverhex)"
5390 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5391 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5394 (exit $ac_status); }; then :
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5400 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5401 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5402 if test "$am_cv_pathless_PYTHON" = none
; then
5405 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5406 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5408 $as_echo_n "checking for $ac_word... " >&6; }
5409 if test "${ac_cv_path_PYTHON+set}" = set; then :
5410 $as_echo_n "(cached) " >&6
5414 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5417 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5421 test -z "$as_dir" && as_dir
=.
5422 for ac_exec_ext
in '' $ac_executable_extensions; do
5423 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5424 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 PYTHON
=$ac_cv_path_PYTHON
5436 if test -n "$PYTHON"; then
5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5438 $as_echo "$PYTHON" >&6; }
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 am_display_PYTHON
=$am_cv_pathless_PYTHON
5450 if test "$PYTHON" = :; then
5451 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5456 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5457 if test "${am_cv_python_version+set}" = set; then :
5458 $as_echo_n "(cached) " >&6
5460 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5463 $as_echo "$am_cv_python_version" >&6; }
5464 PYTHON_VERSION
=$am_cv_python_version
5468 PYTHON_PREFIX
='${prefix}'
5470 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5475 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5476 if test "${am_cv_python_platform+set}" = set; then :
5477 $as_echo_n "(cached) " >&6
5479 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5482 $as_echo "$am_cv_python_platform" >&6; }
5483 PYTHON_PLATFORM
=$am_cv_python_platform
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5489 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5490 if test "${am_cv_python_pythondir+set}" = set; then :
5491 $as_echo_n "(cached) " >&6
5493 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5494 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5497 $as_echo "$am_cv_python_pythondir" >&6; }
5498 pythondir
=$am_cv_python_pythondir
5502 pkgpythondir
=\
${pythondir}/$PACKAGE
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5506 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5507 if test "${am_cv_python_pyexecdir+set}" = set; then :
5508 $as_echo_n "(cached) " >&6
5510 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5511 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5514 $as_echo "$am_cv_python_pyexecdir" >&6; }
5515 pyexecdir
=$am_cv_python_pyexecdir
5519 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5537 # Check for some includes for the X11 HIDD and the kernel
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5541 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5542 if test "${ac_cv_path_GREP+set}" = set; then :
5543 $as_echo_n "(cached) " >&6
5545 if test -z "$GREP"; then
5546 ac_path_GREP_found
=false
5547 # Loop through the user's path and test for each of PROGNAME-LIST
5548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5549 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5552 test -z "$as_dir" && as_dir
=.
5553 for ac_prog
in grep ggrep
; do
5554 for ac_exec_ext
in '' $ac_executable_extensions; do
5555 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5556 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5557 # Check for GNU ac_path_GREP and select it if it is found.
5558 # Check for GNU $ac_path_GREP
5559 case `"$ac_path_GREP" --version 2>&1` in
5561 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5564 $as_echo_n 0123456789 >"conftest.in"
5567 cat "conftest.in" "conftest.in" >"conftest.tmp"
5568 mv "conftest.tmp" "conftest.in"
5569 cp "conftest.in" "conftest.nl"
5570 $as_echo 'GREP' >> "conftest.nl"
5571 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5572 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5573 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5574 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5575 # Best one so far, save it but keep looking for a better one
5576 ac_cv_path_GREP
="$ac_path_GREP"
5577 ac_path_GREP_max
=$ac_count
5579 # 10*(2^10) chars as input seems more than enough
5580 test $ac_count -gt 10 && break
5582 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5585 $ac_path_GREP_found && break 3
5590 if test -z "$ac_cv_path_GREP"; then
5591 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5594 ac_cv_path_GREP
=$GREP
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5599 $as_echo "$ac_cv_path_GREP" >&6; }
5600 GREP
="$ac_cv_path_GREP"
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5604 $as_echo_n "checking for egrep... " >&6; }
5605 if test "${ac_cv_path_EGREP+set}" = set; then :
5606 $as_echo_n "(cached) " >&6
5608 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5609 then ac_cv_path_EGREP
="$GREP -E"
5611 if test -z "$EGREP"; then
5612 ac_path_EGREP_found
=false
5613 # Loop through the user's path and test for each of PROGNAME-LIST
5614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5618 test -z "$as_dir" && as_dir
=.
5619 for ac_prog
in egrep; do
5620 for ac_exec_ext
in '' $ac_executable_extensions; do
5621 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5622 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5623 # Check for GNU ac_path_EGREP and select it if it is found.
5624 # Check for GNU $ac_path_EGREP
5625 case `"$ac_path_EGREP" --version 2>&1` in
5627 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5630 $as_echo_n 0123456789 >"conftest.in"
5633 cat "conftest.in" "conftest.in" >"conftest.tmp"
5634 mv "conftest.tmp" "conftest.in"
5635 cp "conftest.in" "conftest.nl"
5636 $as_echo 'EGREP' >> "conftest.nl"
5637 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5638 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5639 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5640 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5641 # Best one so far, save it but keep looking for a better one
5642 ac_cv_path_EGREP
="$ac_path_EGREP"
5643 ac_path_EGREP_max
=$ac_count
5645 # 10*(2^10) chars as input seems more than enough
5646 test $ac_count -gt 10 && break
5648 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5651 $ac_path_EGREP_found && break 3
5656 if test -z "$ac_cv_path_EGREP"; then
5657 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5660 ac_cv_path_EGREP
=$EGREP
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5666 $as_echo "$ac_cv_path_EGREP" >&6; }
5667 EGREP
="$ac_cv_path_EGREP"
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5671 $as_echo_n "checking for ANSI C header files... " >&6; }
5672 if test "${ac_cv_header_stdc+set}" = set; then :
5673 $as_echo_n "(cached) " >&6
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5690 if ac_fn_c_try_compile
"$LINENO"; then :
5691 ac_cv_header_stdc
=yes
5693 ac_cv_header_stdc
=no
5695 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5697 if test $ac_cv_header_stdc = yes; then
5698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5705 $EGREP "memchr" >/dev
/null
2>&1; then :
5708 ac_cv_header_stdc
=no
5714 if test $ac_cv_header_stdc = yes; then
5715 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722 $EGREP "free" >/dev
/null
2>&1; then :
5725 ac_cv_header_stdc
=no
5731 if test $ac_cv_header_stdc = yes; then
5732 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5733 if test "$cross_compiling" = yes; then :
5736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5737 /* end confdefs.h. */
5740 #if ((' ' & 0x0FF) == 0x020)
5741 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5742 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5744 # define ISLOWER(c) \
5745 (('a' <= (c) && (c) <= 'i') \
5746 || ('j' <= (c) && (c) <= 'r') \
5747 || ('s' <= (c) && (c) <= 'z'))
5748 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5751 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5756 for (i = 0; i < 256; i++)
5757 if (XOR (islower (i), ISLOWER (i))
5758 || toupper (i) != TOUPPER (i))
5763 if ac_fn_c_try_run
"$LINENO"; then :
5766 ac_cv_header_stdc
=no
5768 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5769 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5775 $as_echo "$ac_cv_header_stdc" >&6; }
5776 if test $ac_cv_header_stdc = yes; then
5778 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5782 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5783 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5784 inttypes.h stdint.h unistd.h
5786 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5787 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5789 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5790 cat >>confdefs.h
<<_ACEOF
5791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5799 for ac_header
in sys
/ipc.h sys
/shm.h \
5800 sys
/mmap.h sys
/mman.h sysexits.h \
5801 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5804 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5805 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5806 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5807 cat >>confdefs.h
<<_ACEOF
5808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5816 for ac_header
in sys
/mount.h
5818 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5820 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5821 cat >>confdefs.h
<<_ACEOF
5822 #define HAVE_SYS_MOUNT_H 1
5831 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5832 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5834 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5835 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
5836 $as_echo_n "(cached) " >&6
5838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5839 /* end confdefs.h. */
5840 #include <sys/types.h>
5852 if ac_fn_c_try_compile
"$LINENO"; then :
5853 eval "$as_ac_Header=yes"
5855 eval "$as_ac_Header=no"
5857 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5859 eval ac_res
=\$
$as_ac_Header
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5861 $as_echo "$ac_res" >&6; }
5862 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5863 cat >>confdefs.h
<<_ACEOF
5864 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5867 ac_header_dirent
=$ac_hdr; break
5871 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5872 if test $ac_header_dirent = dirent.h
; then
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5874 $as_echo_n "checking for library containing opendir... " >&6; }
5875 if test "${ac_cv_search_opendir+set}" = set; then :
5876 $as_echo_n "(cached) " >&6
5878 ac_func_search_save_LIBS
=$LIBS
5879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5882 /* Override any GCC internal prototype to avoid an error.
5883 Use char because int might match the return type of a GCC
5884 builtin and then its argument prototype would still apply. */
5897 for ac_lib
in '' dir
; do
5898 if test -z "$ac_lib"; then
5899 ac_res
="none required"
5902 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5904 if ac_fn_c_try_link
"$LINENO"; then :
5905 ac_cv_search_opendir
=$ac_res
5907 rm -f core conftest.err conftest.
$ac_objext \
5909 if test "${ac_cv_search_opendir+set}" = set; then :
5913 if test "${ac_cv_search_opendir+set}" = set; then :
5916 ac_cv_search_opendir
=no
5919 LIBS
=$ac_func_search_save_LIBS
5921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5922 $as_echo "$ac_cv_search_opendir" >&6; }
5923 ac_res
=$ac_cv_search_opendir
5924 if test "$ac_res" != no
; then :
5925 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5931 $as_echo_n "checking for library containing opendir... " >&6; }
5932 if test "${ac_cv_search_opendir+set}" = set; then :
5933 $as_echo_n "(cached) " >&6
5935 ac_func_search_save_LIBS
=$LIBS
5936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5937 /* end confdefs.h. */
5939 /* Override any GCC internal prototype to avoid an error.
5940 Use char because int might match the return type of a GCC
5941 builtin and then its argument prototype would still apply. */
5954 for ac_lib
in '' x
; do
5955 if test -z "$ac_lib"; then
5956 ac_res
="none required"
5959 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5961 if ac_fn_c_try_link
"$LINENO"; then :
5962 ac_cv_search_opendir
=$ac_res
5964 rm -f core conftest.err conftest.
$ac_objext \
5966 if test "${ac_cv_search_opendir+set}" = set; then :
5970 if test "${ac_cv_search_opendir+set}" = set; then :
5973 ac_cv_search_opendir
=no
5976 LIBS
=$ac_func_search_save_LIBS
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5979 $as_echo "$ac_cv_search_opendir" >&6; }
5980 ac_res
=$ac_cv_search_opendir
5981 if test "$ac_res" != no
; then :
5982 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5989 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5990 if test "${ac_cv_header_stat_broken+set}" = set; then :
5991 $as_echo_n "(cached) " >&6
5993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
5995 #include <sys/types.h>
5996 #include <sys/stat.h>
5998 #if defined S_ISBLK && defined S_IFDIR
5999 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
6002 #if defined S_ISBLK && defined S_IFCHR
6003 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
6006 #if defined S_ISLNK && defined S_IFREG
6007 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
6010 #if defined S_ISSOCK && defined S_IFREG
6011 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6015 if ac_fn_c_try_compile
"$LINENO"; then :
6016 ac_cv_header_stat_broken
=no
6018 ac_cv_header_stat_broken
=yes
6020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6023 $as_echo "$ac_cv_header_stat_broken" >&6; }
6024 if test $ac_cv_header_stat_broken = yes; then
6026 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6031 $as_echo_n "checking for ANSI C header files... " >&6; }
6032 if test "${ac_cv_header_stdc+set}" = set; then :
6033 $as_echo_n "(cached) " >&6
6035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6036 /* end confdefs.h. */
6050 if ac_fn_c_try_compile
"$LINENO"; then :
6051 ac_cv_header_stdc
=yes
6053 ac_cv_header_stdc
=no
6055 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6057 if test $ac_cv_header_stdc = yes; then
6058 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6060 /* end confdefs.h. */
6064 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6065 $EGREP "memchr" >/dev
/null
2>&1; then :
6068 ac_cv_header_stdc
=no
6074 if test $ac_cv_header_stdc = yes; then
6075 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6077 /* end confdefs.h. */
6081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6082 $EGREP "free" >/dev
/null
2>&1; then :
6085 ac_cv_header_stdc
=no
6091 if test $ac_cv_header_stdc = yes; then
6092 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6093 if test "$cross_compiling" = yes; then :
6096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6097 /* end confdefs.h. */
6100 #if ((' ' & 0x0FF) == 0x020)
6101 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6102 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6104 # define ISLOWER(c) \
6105 (('a' <= (c) && (c) <= 'i') \
6106 || ('j' <= (c) && (c) <= 'r') \
6107 || ('s' <= (c) && (c) <= 'z'))
6108 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6111 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6116 for (i = 0; i < 256; i++)
6117 if (XOR (islower (i), ISLOWER (i))
6118 || toupper (i) != TOUPPER (i))
6123 if ac_fn_c_try_run
"$LINENO"; then :
6126 ac_cv_header_stdc
=no
6128 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6129 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6135 $as_echo "$ac_cv_header_stdc" >&6; }
6136 if test $ac_cv_header_stdc = yes; then
6138 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6143 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6144 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6145 $as_echo_n "(cached) " >&6
6147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6148 /* end confdefs.h. */
6149 #include <sys/types.h>
6150 #include <sys/wait.h>
6152 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6155 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6163 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6168 if ac_fn_c_try_compile
"$LINENO"; then :
6169 ac_cv_header_sys_wait_h
=yes
6171 ac_cv_header_sys_wait_h
=no
6173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6176 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6177 if test $ac_cv_header_sys_wait_h = yes; then
6179 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6184 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6185 if test "${ac_cv_header_time+set}" = set; then :
6186 $as_echo_n "(cached) " >&6
6188 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6190 #include <sys/types.h>
6191 #include <sys/time.h>
6197 if ((struct tm *) 0)
6203 if ac_fn_c_try_compile
"$LINENO"; then :
6204 ac_cv_header_time
=yes
6206 ac_cv_header_time
=no
6208 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6211 $as_echo "$ac_cv_header_time" >&6; }
6212 if test $ac_cv_header_time = yes; then
6214 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6218 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6219 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6221 cat >>confdefs.h
<<_ACEOF
6222 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6226 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6231 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6232 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6234 cat >>confdefs.h
<<_ACEOF
6235 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6239 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6242 case " $LIBOBJS " in
6243 *" fileblocks.$ac_objext "* ) ;;
6244 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6251 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6252 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6254 cat >>confdefs.h
<<_ACEOF
6255 #define HAVE_STRUCT_STAT_ST_RDEV 1
6259 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6265 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6266 if test "${ac_cv_struct_tm+set}" = set; then :
6267 $as_echo_n "(cached) " >&6
6269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6270 /* end confdefs.h. */
6271 #include <sys/types.h>
6278 int *p = &tm.tm_sec;
6284 if ac_fn_c_try_compile
"$LINENO"; then :
6285 ac_cv_struct_tm
=time.h
6287 ac_cv_struct_tm
=sys
/time.h
6289 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6292 $as_echo "$ac_cv_struct_tm" >&6; }
6293 if test $ac_cv_struct_tm = sys
/time.h
; then
6295 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6299 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6300 #include <$ac_cv_struct_tm>
6303 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6305 cat >>confdefs.h
<<_ACEOF
6306 #define HAVE_STRUCT_TM_TM_ZONE 1
6312 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6314 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6317 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6319 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6325 cat >>confdefs.h
<<_ACEOF
6326 #define HAVE_DECL_TZNAME $ac_have_decl
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6330 $as_echo_n "checking for tzname... " >&6; }
6331 if test "${ac_cv_var_tzname+set}" = set; then :
6332 $as_echo_n "(cached) " >&6
6334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6337 #if !HAVE_DECL_TZNAME
6338 extern char *tzname[];
6344 return tzname[0][0];
6349 if ac_fn_c_try_link
"$LINENO"; then :
6350 ac_cv_var_tzname
=yes
6354 rm -f core conftest.err conftest.
$ac_objext \
6355 conftest
$ac_exeext conftest.
$ac_ext
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6358 $as_echo "$ac_cv_var_tzname" >&6; }
6359 if test $ac_cv_var_tzname = yes; then
6361 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6366 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6367 if test "x$ac_cv_type_off_t" = x
""yes; then :
6371 cat >>confdefs.h
<<_ACEOF
6372 #define off_t long int
6377 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6378 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6382 cat >>confdefs.h
<<_ACEOF
6388 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6389 if test "x$ac_cv_type_size_t" = x
""yes; then :
6393 cat >>confdefs.h
<<_ACEOF
6394 #define size_t unsigned int
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6400 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6401 if test "${ac_cv_type_uid_t+set}" = set; then :
6402 $as_echo_n "(cached) " >&6
6404 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6405 /* end confdefs.h. */
6406 #include <sys/types.h>
6409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6410 $EGREP "uid_t" >/dev
/null
2>&1; then :
6411 ac_cv_type_uid_t
=yes
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6419 $as_echo "$ac_cv_type_uid_t" >&6; }
6420 if test $ac_cv_type_uid_t = no
; then
6422 $as_echo "#define uid_t int" >>confdefs.h
6425 $as_echo "#define gid_t int" >>confdefs.h
6430 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6431 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6433 cat >>confdefs.h
<<_ACEOF
6434 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6441 # Look for some functions
6442 for ac_func
in getpagesize kqueue statfs statvfs \
6443 clone kse_create rfork_thread thr_create sa_register \
6444 getcontext makecontext setcontext sigaltstack swapcontext
6446 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6447 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6448 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6449 cat >>confdefs.h
<<_ACEOF
6450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6460 for ac_header
in $ac_header_list
6462 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6463 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6465 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6466 cat >>confdefs.h
<<_ACEOF
6467 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6481 for ac_func
in getpagesize
6483 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6484 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6485 cat >>confdefs.h
<<_ACEOF
6486 #define HAVE_GETPAGESIZE 1
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6493 $as_echo_n "checking for working mmap... " >&6; }
6494 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6495 $as_echo_n "(cached) " >&6
6497 if test "$cross_compiling" = yes; then :
6498 ac_cv_func_mmap_fixed_mapped
=no
6500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6502 $ac_includes_default
6503 /* malloc might have been renamed as rpl_malloc. */
6506 /* Thanks to Mike Haertel and Jim Avera for this test.
6507 Here is a matrix of mmap possibilities:
6508 mmap private not fixed
6509 mmap private fixed at somewhere currently unmapped
6510 mmap private fixed at somewhere already mapped
6511 mmap shared not fixed
6512 mmap shared fixed at somewhere currently unmapped
6513 mmap shared fixed at somewhere already mapped
6514 For private mappings, we should verify that changes cannot be read()
6515 back from the file, nor mmap's back from the file at a different
6516 address. (There have been systems where private was not correctly
6517 implemented like the infamous i386 svr4.0, and systems where the
6518 VM page cache was not coherent with the file system buffer cache
6519 like early versions of FreeBSD and possibly contemporary NetBSD.)
6520 For shared mappings, we should conversely verify that changes get
6521 propagated back to all the places they're supposed to be.
6523 Grep wants private fixed already mapped.
6524 The main things grep needs to know about mmap are:
6525 * does it exist and is it safe to write into the mmap'd area
6526 * how to use it (BSD variants) */
6529 #include <sys/mman.h>
6531 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6535 /* This mess was copied from the GNU getpagesize.h. */
6536 #ifndef HAVE_GETPAGESIZE
6537 # ifdef _SC_PAGESIZE
6538 # define getpagesize() sysconf(_SC_PAGESIZE)
6539 # else /* no _SC_PAGESIZE */
6540 # ifdef HAVE_SYS_PARAM_H
6541 # include <sys/param.h>
6542 # ifdef EXEC_PAGESIZE
6543 # define getpagesize() EXEC_PAGESIZE
6544 # else /* no EXEC_PAGESIZE */
6546 # define getpagesize() NBPG * CLSIZE
6549 # endif /* no CLSIZE */
6550 # else /* no NBPG */
6552 # define getpagesize() NBPC
6553 # else /* no NBPC */
6555 # define getpagesize() PAGESIZE
6556 # endif /* PAGESIZE */
6557 # endif /* no NBPC */
6558 # endif /* no NBPG */
6559 # endif /* no EXEC_PAGESIZE */
6560 # else /* no HAVE_SYS_PARAM_H */
6561 # define getpagesize() 8192 /* punt totally */
6562 # endif /* no HAVE_SYS_PARAM_H */
6563 # endif /* no _SC_PAGESIZE */
6565 #endif /* no HAVE_GETPAGESIZE */
6570 char *data, *data2, *data3;
6575 pagesize = getpagesize ();
6577 /* First, make a file with some known garbage in it. */
6578 data = (char *) malloc (pagesize);
6581 for (i = 0; i < pagesize; ++i)
6582 *(data + i) = rand ();
6584 fd = creat ("conftest.mmap", 0600);
6587 if (write (fd, data, pagesize) != pagesize)
6591 /* Next, check that the tail of a page is zero-filled. File must have
6592 non-zero length, otherwise we risk SIGBUS for entire page. */
6593 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6597 if (write (fd2, cdata2, 1) != 1)
6599 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6600 if (data2 == MAP_FAILED)
6602 for (i = 0; i < pagesize; ++i)
6606 if (munmap (data2, pagesize))
6609 /* Next, try to mmap the file at a fixed address which already has
6610 something else allocated at it. If we can, also make sure that
6611 we see the same garbage. */
6612 fd = open ("conftest.mmap", O_RDWR);
6615 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6616 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6618 for (i = 0; i < pagesize; ++i)
6619 if (*(data + i) != *(data2 + i))
6622 /* Finally, make sure that changes to the mapped area do not
6623 percolate back to the file as seen by read(). (This is a bug on
6624 some variants of i386 svr4.0.) */
6625 for (i = 0; i < pagesize; ++i)
6626 *(data2 + i) = *(data2 + i) + 1;
6627 data3 = (char *) malloc (pagesize);
6630 if (read (fd, data3, pagesize) != pagesize)
6632 for (i = 0; i < pagesize; ++i)
6633 if (*(data + i) != *(data3 + i))
6639 if ac_fn_c_try_run
"$LINENO"; then :
6640 ac_cv_func_mmap_fixed_mapped
=yes
6642 ac_cv_func_mmap_fixed_mapped
=no
6644 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6645 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6650 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6651 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6653 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6656 rm -f conftest.mmap conftest.txt
6661 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6662 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6663 aros_config_ldflags
=""
6665 aros_shared_default
=yes
6667 aros_shared_cflags
="-fPIC"
6668 aros_shared_aflags
=""
6669 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6670 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6672 aros_kernel_ar_flags
="cr"
6673 aros_target_ar_flags
="cr"
6674 aros_target_nm_flags
="-C -ul"
6675 aros_target_strip_flags
="--strip-unneeded -R.comment"
6680 aros_target_genmap
="-Wl,-Map -Xlinker"
6682 # Native flavour stuff
6683 aros_serial_debug
="0"
6685 # Palm native flavour stuff
6686 aros_palm_debug_hack
="0"
6688 # Unix flavour stuff
6689 aros_nesting_supervisor
="0"
6691 # Collect-aros stuff: "-ius" to ignore undefined symbols
6692 ignore_undefined_symbols
=""
6694 # Check for X11 by default
6697 #-----------------------------------------------------------------------------
6700 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6701 # it switched on by default, and we use the host compiler, so it compiles AROS
6702 # code with this enabled resulting in link failures as we don't have support
6705 # We use two methods to disable it. For the host compiler (used to compile
6706 # some hosted modules), we test to see if the compiler supports stack
6707 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6708 # work on all platforms.
6710 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6711 # (this is done unconditionally, as it should have no effect on compilers
6712 # without the stack protection feature). This may be specific to the way that
6713 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6714 # strong enough to disable it in a generic way though, so we'll live with it
6715 # until another vendor ships GCC with it enabled in a different way, and deal
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6720 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6721 save_cflags
="$CFLAGS"
6722 CFLAGS
="$CFLAGS -fno-stack-protector"
6723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6734 if ac_fn_c_try_compile
"$LINENO"; then :
6735 use_no_stack_protector
="yes"
6737 use_no_stack_protector
="no"
6739 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6741 $as_echo "$use_no_stack_protector" >&6; }
6742 if test "x-$use_no_stack_protector" = "x-yes" ; then
6743 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6745 CFLAGS
="$save_cflags"
6747 #-----------------------------------------------------------------------------
6749 # Disable pointer-signedness warnings if the compiler recognises the option
6750 # (this only works for the host compiler at the moment)
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6753 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6754 save_cflags
="$CFLAGS"
6755 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6757 /* end confdefs.h. */
6767 if ac_fn_c_try_compile
"$LINENO"; then :
6768 use_no_sign_warning
="yes"
6770 use_no_sign_warning
="no"
6772 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6774 $as_echo "$use_no_sign_warning" >&6; }
6775 if test "x-$use_no_sign_warning" = "x-yes" ; then
6776 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6778 CFLAGS
="$save_cflags"
6780 #-----------------------------------------------------------------------------
6782 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6785 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6786 save_cflags
="$CFLAGS"
6787 CFLAGS
="$CFLAGS -fgnu89-inline"
6788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6789 /* end confdefs.h. */
6799 if ac_fn_c_try_compile
"$LINENO"; then :
6800 use_gnu89_inline
="yes"
6802 use_gnu89_inline
="no"
6804 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6806 $as_echo "$use_gnu89_inline" >&6; }
6807 if test "x-$use_gnu89_inline" = "x-yes" ; then
6808 gnu89_inline
="-fgnu89-inline"
6810 CFLAGS
="$save_cflags"
6812 #-----------------------------------------------------------------------------
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6815 $as_echo_n "checking for type of build... " >&6; }
6816 # Check whether --enable-build_type was given.
6817 if test "${enable_build_type+set}" = set; then :
6818 enableval
=$enable_build_type; build_type
=$enableval
6820 build_type
="personal"
6824 if test "$build_type" = "nightly"; then
6825 build_type_string
="NIGHTLY"
6826 elif test "$build_type" = "snapshot"; then
6827 build_type_string
="SNAPSHOT"
6828 elif test "$build_type" = "milestone"; then
6829 build_type_string
="MILESTONE"
6830 elif test "$build_type" = "release"; then
6831 build_type_string
="RELEASE"
6833 build_type_string
="PERSONAL"
6834 build_type
="personal"
6837 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6840 $as_echo "$build_type" >&6; }
6842 #-----------------------------------------------------------------------------
6843 all_debug_types
="messages stack modules mungwall symbols"
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6846 $as_echo_n "checking which debug types to enable... " >&6; }
6847 # Check whether --enable-debug was given.
6848 if test "${enable_debug+set}" = set; then :
6849 enableval
=$enable_debug; debug
="$enableval"
6855 if test "$debug" = "" -o "$debug" = "no"; then
6857 elif test "$debug" = "yes"; then
6861 if test "$debug" = "all" ; then
6862 debug
="messages stack modules symbols"
6863 for d
in $all_debug_types; do
6864 export aros_
${d}_debug
="1"
6867 for d
in $all_debug_types; do
6868 export aros_
${d}_debug
="0"
6872 if test "$debug" != "none"; then
6873 debug
=`echo $debug | sed s/,/\ /g`
6876 for d2
in $all_debug_types; do
6877 if test "$d2" = "$d"; then
6882 if test "$found" = "0"; then
6883 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6885 export aros_
${d}_debug
="1"
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6890 $as_echo "$debug" >&6; }
6892 if test "$aros_messages_debug" = "1"; then
6893 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6895 aros_messages_debug
=""
6897 if test "$aros_symbols_debug" = "1"; then
6898 aros_symbols_debug
="-g"
6900 aros_symbols_debug
=""
6903 # These are the flags to pass when compiling debugged programs
6904 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6905 aros_debug_aflags
=""
6906 aros_debug_ldflags
="$aros_symbols_debug"
6908 #-----------------------------------------------------------------------------
6909 # Checking if we should build crosstools..
6910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6911 $as_echo_n "checking whether to build crosstools... " >&6; }
6912 # Check whether --enable-crosstools was given.
6913 if test "${enable_crosstools+set}" = set; then :
6914 enableval
=$enable_crosstools; crosstools
="$enableval"
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
6920 $as_echo "$crosstools" >&6; }
6922 #-----------------------------------------------------------------------------
6923 # Checking for distcc and ccache.
6925 # Always apply the transforms in this particular order. Basically you should
6926 # always run 'ccache distcc compiler' in that order for the best performance.
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6929 $as_echo_n "checking whether to enable distcc... " >&6; }
6930 # Check whether --enable-distcc was given.
6931 if test "${enable_distcc+set}" = set; then :
6932 enableval
=$enable_distcc; distcc
="$enableval"
6937 if test "$distcc" != "" -a "$distcc" != "no"; then
6938 # AC_CHECK_PROG will print out the result in this case
6939 # Extract the first word of "distcc", so it can be a program name with args.
6940 set dummy distcc
; ac_word
=$2
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6942 $as_echo_n "checking for $ac_word... " >&6; }
6943 if test "${ac_cv_path_DISTCC+set}" = set; then :
6944 $as_echo_n "(cached) " >&6
6948 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6966 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6970 DISTCC
=$ac_cv_path_DISTCC
6971 if test -n "$DISTCC"; then
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6973 $as_echo "$DISTCC" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6976 $as_echo "no" >&6; }
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6982 $as_echo "no" >&6; }
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6986 $as_echo_n "checking whether to enable ccache... " >&6; }
6987 # Check whether --enable-ccache was given.
6988 if test "${enable_ccache+set}" = set; then :
6989 enableval
=$enable_ccache; ccache
="$enableval"
6994 if test "$ccache" != "" -a "$ccache" != "no"; then
6995 # AC_CHECK_PROG will print out the result in this case
6996 # Extract the first word of "ccache", so it can be a program name with args.
6997 set dummy ccache
; ac_word
=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if test "${ac_cv_prog_CCACHE+set}" = set; then :
7001 $as_echo_n "(cached) " >&6
7003 if test -n "$CCACHE"; then
7004 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7010 test -z "$as_dir" && as_dir
=.
7011 for ac_exec_ext
in '' $ac_executable_extensions; do
7012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7013 ac_cv_prog_CCACHE
="ccache"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7023 CCACHE
=$ac_cv_prog_CCACHE
7024 if test -n "$CCACHE"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7026 $as_echo "$CCACHE" >&6; }
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7035 $as_echo "no" >&6; }
7038 #-----------------------------------------------------------------------------
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7040 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7042 # Check whether --with-gcc-version was given.
7043 if test "${with_gcc_version+set}" = set; then :
7044 withval
=$with_gcc_version; target_tool_version
="$withval"
7046 target_tool_version
="default"
7049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7050 $as_echo "$target_tool_version" >&6; }
7052 #-----------------------------------------------------------------------------
7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7054 $as_echo_n "checking what optimization flags to use... " >&6; }
7056 # Check whether --with-optimization was given.
7057 if test "${with_optimization+set}" = set; then :
7058 withval
=$with_optimization; optimization
="$withval"
7060 optimization
="unknown"
7063 if test "$optimization" = "unknown"; then
7064 if test "$debug" != "none"; then
7070 aros_config_cflags
="$aros_config_cflags $optimization"
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7072 $as_echo "$optimization" >&6; }
7074 #-----------------------------------------------------------------------------
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7076 $as_echo_n "checking what paranoia flags to use... " >&6; }
7078 # Check whether --with-paranoia was given.
7079 if test "${with_paranoia+set}" = set; then :
7080 withval
=$with_paranoia; paranoia_flags
="$withval"
7082 paranoia_flags
="default"
7085 if test "$paranoia_flags" = "default"; then
7087 else if test "$paranoia_flags" = "yes"; then
7088 paranoia_flags
="-Wall -Werror"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7091 $as_echo "$paranoia_flags" >&6; }
7092 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7094 #-----------------------------------------------------------------------------
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7096 $as_echo_n "checking what target variant to enable... " >&6; }
7097 # Check whether --enable-target_variant was given.
7098 if test "${enable_target_variant+set}" = set; then :
7099 enableval
=$enable_target_variant; target_variant
=$enableval
7104 if test "$target_variant" = ""; then
7105 aros_target_variant
=""
7106 aros_target_suffix
=""
7109 aros_target_variant
="$target_variant"
7110 aros_target_suffix
="-$target_variant"
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7113 $as_echo "$enableval" >&6; }
7115 #-----------------------------------------------------------------------------
7116 # Target-specific defaults. You can override then on a per-target basis.
7118 # Bootloader name. Currently used by PC target.
7119 target_bootloader
="none"
7121 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7122 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7123 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7124 if test "$crosstools" != "yes"; then
7125 target_tool_prefix
=${target_cpu}-elf-
7127 target_tool_prefix
=${target_cpu}-aros-
7130 #-----------------------------------------------------------------------------
7131 # Additional options for some specific targets
7133 case "$aros_target_variant" in
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7136 $as_echo_n "checking XCode path... " >&6; }
7138 # Check whether --with-xcode was given.
7139 if test "${with_xcode+set}" = set; then :
7140 withval
=$with_xcode; aros_xcode_path
="$withval"
7142 aros_xcode_path
="/Developer"
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7146 $as_echo "$aros_xcode_path" >&6; }
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7149 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7151 # Check whether --with-ios-version was given.
7152 if test "${with_ios_version+set}" = set; then :
7153 withval
=$with_ios_version; aros_ios_version
="$withval"
7155 aros_ios_version
="3.0"
7158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7159 $as_echo "$aros_ios_version" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7162 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7164 # Check whether --with-ios-sdk was given.
7165 if test "${with_ios_sdk+set}" = set; then :
7166 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7172 $as_echo "$aros_ios_sdk" >&6; }
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7178 $as_echo_n "checking Android SDK path... " >&6; }
7180 # Check whether --with-sdk was given.
7181 if test "${with_sdk+set}" = set; then :
7182 withval
=$with_sdk; aros_android_sdk
="$withval"
7184 aros_android_sdk
=$default_android_sdk
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7188 $as_echo "$aros_android_sdk" >&6; }
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7191 $as_echo_n "checking Android NDK path... " >&6; }
7193 # Check whether --with-ndk was given.
7194 if test "${with_ndk+set}" = set; then :
7195 withval
=$with_ndk; aros_android_ndk
="$withval"
7197 aros_android_ndk
="none"
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7201 $as_echo "$aros_android_ndk" >&6; }
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7204 $as_echo_n "checking what Android SDK version to use... " >&6; }
7206 # Check whether --with-sdk-version was given.
7207 if test "${with_sdk_version+set}" = set; then :
7208 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7210 aros_sdk_version
="8"
7213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7214 $as_echo "$aros_sdk_version" >&6; }
7216 if test "$aros_android_ndk" != "none"; then
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7218 $as_echo_n "checking what Android NDK version to use... " >&6; }
7220 # Check whether --with-ndk-version was given.
7221 if test "${with_ndk_version+set}" = set; then :
7222 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7224 aros_ndk_version
="9"
7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7228 $as_echo "$aros_ndk_version" >&6; }
7231 export PATH
="$aros_android_sdk/tools:$PATH"
7232 # Extract the first word of "$android_tool", so it can be a program name with args.
7233 set dummy
$android_tool; ac_word
=$2
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7235 $as_echo_n "checking for $ac_word... " >&6; }
7236 if test "${ac_cv_path_android_tool+set}" = set; then :
7237 $as_echo_n "(cached) " >&6
7239 case $android_tool in
7241 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7248 test -z "$as_dir" && as_dir
=.
7249 for ac_exec_ext
in '' $ac_executable_extensions; do
7250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7251 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7262 android_tool
=$ac_cv_path_android_tool
7263 if test -n "$android_tool"; then
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7265 $as_echo "$android_tool" >&6; }
7267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7268 $as_echo "no" >&6; }
7272 if test "$android_tool" = ""; then
7273 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7276 # Extract the first word of "ant", so it can be a program name with args.
7277 set dummy ant
; ac_word
=$2
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7279 $as_echo_n "checking for $ac_word... " >&6; }
7280 if test "${ac_cv_path_ant+set}" = set; then :
7281 $as_echo_n "(cached) " >&6
7285 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7292 test -z "$as_dir" && as_dir
=.
7293 for ac_exec_ext
in '' $ac_executable_extensions; do
7294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7295 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7307 if test -n "$ant"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7309 $as_echo "$ant" >&6; }
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7316 if test "$ant" = ""; then
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7318 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7321 if test "$host_os" = "mingw32"; then
7322 android_tool
="cmd //c $android_tool"
7328 #-----------------------------------------------------------------------------
7329 # This is the target configuration switch.
7330 case "$target_os" in
7332 aros_target_arch
="linux"
7333 aros_target_family
="unix"
7334 case "$target_cpu" in
7336 aros_target_cpu
="m68k"
7337 aros_object_format
="m68kelf"
7338 aros_flavour
="emulcompat"
7339 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7340 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7341 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7342 gcc_target_cpu
="mc68000"
7345 aros_target_cpu
="i386"
7346 aros_object_format
="elf_i386"
7347 aros_flavour
="emulation"
7348 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7349 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7350 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7351 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7352 aros_config_ldflags
="-m32 -march=i486"
7353 aros_kernel_ldflags
="-melf_i386"
7354 aros_default_wbdepth
=8
7355 gcc_target_cpu
="i386"
7356 pci_hidd_target
="hidd-pci-linux"
7357 android_tool_dir_prefix
="x86"
7358 android_tool_prefix
="i686-android-linux"
7359 android_ndk_arch
="x86"
7362 aros_target_cpu
="x86_64"
7363 aros_object_format
="elf_x86_64"
7364 aros_flavour
="emulation"
7365 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7366 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7367 aros_default_wbdepth
=8
7368 pci_hidd_target
="hidd-pci-linux"
7371 aros_target_cpu
="ppc"
7372 aros_object_format
="elf32ppc"
7373 aros_flavour
="emulation"
7374 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7375 aros_default_wbdepth
=8
7376 gcc_target_cpu
="ppc"
7379 # Same as powerpc, but I need this for the nightly build to work again.
7380 # Actually, the nightly should be made working with powerpc target.
7381 # That just was too much work for the moment, another week or two.
7383 aros_target_cpu
="ppc"
7384 aros_object_format
="elf32ppc"
7385 aros_flavour
="emulation"
7386 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7387 aros_default_wbdepth
=8
7388 gcc_target_cpu
="ppc"
7391 aros_target_cpu
="arm"
7392 aros_object_format
="armelf_linux_eabi"
7393 aros_flavour
="emulation"
7394 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7395 gcc_target_cpu
="arm"
7396 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing -fno-omit-frame-pointer"
7397 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -mthumb-interwork -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7398 aros_arch_libs
="-laeabi"
7399 android_tool_dir_prefix
="arm-linux-androideabi"
7400 android_tool_prefix
="arm-linux-androideabi"
7401 android_ndk_arch
="arm"
7404 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7407 case "$aros_target_variant" in
7410 if test "$android_ndk_arch" = ""; then
7411 as_fn_error $?
"\"Unsupported CPU for Android -- $target_cpu\"" "$LINENO" 5
7414 aros_android_level
=android-
$aros_sdk_version
7415 aros_default_wbwidth
=320
7416 aros_default_wbheight
=480
7417 if test "$aros_android_ndk" = "none"; then
7418 aros_kernel_cflags
="-mandroid"
7419 aros_kernel_ldflags
="-mandroid"
7422 export PATH
="$aros_android_ndk/toolchains/$android_tool_dir_prefix-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7423 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-$android_ndk_arch"
7424 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7425 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7426 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7427 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7430 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7431 target_tool_prefix
="$android_tool_prefix-"
7437 aros_target_arch
="pc"
7438 aros_shared_default
="no"
7439 target_bootloader
="grub2"
7440 case "$target_cpu" in
7442 aros_target_cpu
="i386"
7445 if test "$aros_object_format" = "" ; then
7446 aros_object_format
="elf_i386"
7448 aros_flavour
="standalone"
7449 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7450 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7451 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7452 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7453 aros_config_ldflags
="-m32 -march=i486"
7454 aros_kernel_ldflags
="-melf_i386"
7455 aros_default_wbwidth
=640
7456 aros_default_wbheight
=480
7457 gcc_target_cpu
="i386"
7460 aros_target_cpu
="x86_64"
7462 if test "$aros_object_format" = "" ; then
7463 aros_object_format
="elf_x86_64"
7465 aros_flavour
="standalone"
7466 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7467 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7468 aros_kernel_ldflags
=""
7469 aros_default_wbwidth
=640
7470 aros_default_wbheight
=480
7473 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7479 aros_target_arch
="prep"
7480 aros_shared_default
="no"
7481 aros_target_cpu
="ppc"
7482 aros_object_format
="elf32ppc"
7483 aros_flavour
="ppcnative"
7484 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7485 aros_kernel_ldflags
=""
7486 aros_default_wbwidth
=640
7487 aros_default_wbheight
=480
7488 gcc_target_cpu
="ppc"
7492 aros_target_arch
="freebsd"
7493 aros_target_family
="unix"
7494 aros_target_cpu
="i386"
7495 aros_flavour
="emulation"
7496 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7497 gcc_target_cpu
="i386"
7499 aros_target_strip_flags
="-x"
7503 aros_target_arch
="darwin"
7504 aros_target_family
="unix"
7505 aros_flavour
="emulation"
7506 case "$target_cpu" in
7508 aros_ios_platform
="iPhoneSimulator"
7509 aros_target_cpu
="i386"
7510 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7511 aros_kernel_ldflags
=""
7512 aros_macosx_version
="10.4"
7513 aros_default_wbdepth
=8
7514 gcc_target_cpu
="i386"
7515 aros_object_format
="elf_i386"
7516 aros_kernel_ar_flags
="-cr"
7517 aros_target_strip_flags
="-x"
7518 target_tool_prefix
="i686-apple-darwin10-"
7519 target_tool_flags
="-m32"
7522 aros_target_cpu
="x86_64"
7523 aros_object_format
="elf_x86_64"
7524 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7525 aros_macosx_version
="10.6"
7526 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7527 aros_kernel_cflags
="-m64"
7528 aros_kernel_ldflags
="-m64"
7529 aros_target_cflags
="-mcmodel=large"
7530 aros_default_wbdepth
=8
7532 aros_kernel_ar_flags
="-cr"
7534 aros_kernel_ranlib
="ranlib"
7535 target_tool_prefix
="i686-apple-darwin10-"
7538 aros_target_cpu
="ppc"
7539 aros_object_format
="elf32ppc"
7540 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7541 aros_kernel_ldflags
=""
7542 aros_macosx_version
="10.0"
7543 aros_default_wbdepth
=8
7544 gcc_target_cpu
="ppc"
7546 aros_kernel_ar_flags
="-cr"
7547 aros_kernel_ld
="ld -arch ppc"
7548 aros_kernel_ranlib
="ranlib -arch ppc"
7549 target_tool_prefix
="powerpc-apple-darwin10-"
7552 aros_ios_platform
="iPhoneOS"
7553 aros_target_cpu
="arm"
7554 aros_object_format
="armelf_linux_eabi"
7555 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7556 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7557 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7558 aros_arch_libs
="-laeabi"
7559 aros_default_wbdepth
=8
7560 gcc_target_cpu
="arm"
7562 aros_kernel_ar_flags
="-cr"
7563 aros_kernel_ld
="ld -arch arm"
7564 aros_kernel_ranlib
="ranlib -arch arm"
7565 target_tool_prefix
="arm-apple-darwin10-"
7566 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7569 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7572 case "$aros_target_variant" in
7574 aros_default_wbwidth
=320
7575 aros_default_wbheight
=480
7576 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7577 target_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7578 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7580 # This is here because it may depend on iOS or SDK version
7581 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7582 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7583 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7586 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7587 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7593 aros_target_arch
="dragonfly"
7594 aros_target_family
="unix"
7595 aros_flavour
="emulation"
7596 case "$target_cpu" in
7598 aros_target_cpu
="i386"
7599 aros_object_format
="elf_i386"
7600 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7603 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7604 aros_target_cpu
="x86_64"
7605 aros_object_format
="elf_x86_64"
7606 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7609 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7615 aros_target_arch
="netbsd"
7616 aros_target_family
="unix"
7617 case "$target_cpu" in
7619 aros_target_cpu
="m68k"
7620 aros_object_format
="m68kelf"
7621 aros_flavour
="emulcompat"
7622 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7623 gcc_target_cpu
="mc68000"
7626 aros_target_cpu
="i386"
7627 aros_object_format
="elf_i386"
7628 aros_flavour
="emulation"
7629 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7630 aros_default_wbdepth
=8
7631 gcc_target_cpu
="i386"
7634 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7637 aros_target_genmap
="-Wl,-M -Xlinker >"
7638 aros_flavour
="emulation"
7639 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7643 aros_target_arch
="openbsd"
7644 aros_target_family
="unix"
7645 case "$target_cpu" in
7647 aros_target_cpu
="i386"
7648 aros_object_format
="elf_i386"
7649 aros_flavour
="emulation"
7650 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7651 gcc_target_cpu
="i386"
7654 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7657 aros_target_genmap
="-Wl,-M -Xlinker >"
7658 aros_target_nm_flags
="-u"
7659 aros_flavour
="emulation"
7663 aros_target_arch
="solaris"
7664 aros_target_family
="unix"
7665 case "$target_cpu" in
7667 aros_target_cpu
="i386"
7668 aros_object_format
="elf_i386"
7669 aros_flavour
="emulation"
7670 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7671 aros_default_wbdepth
=8
7672 gcc_target_cpu
="i386"
7675 aros_target_cpu
="sparc"
7676 aros_object_format
="elf_sparc"
7677 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7678 gcc_target_cpu
="sparc"
7681 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7684 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7685 aros_flavour
="emulation"
7689 aros_target_arch
="morphos"
7690 aros_shared_default
="no"
7691 aros_target_cpu
="ppc"
7692 aros_object_format
="elf_ppc"
7693 aros_flavour
="nativecompat"
7694 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7695 gcc_target_cpu
="ppc"
7699 aros_target_arch
="sam440"
7700 aros_shared_default
="no"
7701 aros_target_cpu
="ppc"
7702 aros_object_format
="elf32ppc"
7703 aros_flavour
="ppcnative"
7704 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7705 aros_kernel_ldflags
=""
7706 aros_default_wbwidth
=1024
7707 aros_default_wbheight
=768
7708 aros_default_wbdepth
=24
7709 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7710 gcc_target_cpu
="powerpc"
7714 aros_target_arch
="efika"
7715 aros_shared_default
="no"
7716 aros_target_cpu
="arm"
7717 aros_object_format
="armelf_linux_eabi"
7718 aros_flavour
="standalone"
7719 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7720 aros_kernel_ldflags
=""
7721 aros_default_wbwidth
=1024
7722 aros_default_wbheight
=600
7723 aros_arch_libs
="-laeabi"
7724 aros_config_cflags
="$aros_config_cflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7725 aros_config_aflags
="$aros_config_aflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7729 aros_target_arch
="chrp"
7730 aros_shared_default
="no"
7731 aros_target_cpu
="ppc"
7732 aros_object_format
="elf32ppc"
7733 aros_flavour
="ppcnative"
7734 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7735 aros_kernel_ldflags
=""
7736 aros_default_wbwidth
=640
7737 aros_default_wbheight
=480
7738 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7739 gcc_target_cpu
="powerpc"
7740 case "$aros_target_variant" in
7742 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7748 aros_target_arch
="amiga"
7749 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7750 aros_shared_default
="no"
7752 case "$target_cpu" in
7754 # Check whether --enable-amigaos_compliance was given.
7755 if test "${enable_amigaos_compliance+set}" = set; then :
7756 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
7760 aros_target_cpu
="m68k"
7761 aros_object_format
="m68kelf"
7762 aros_flavour
="standcompat"
7763 gcc_target_cpu
="m68000"
7764 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
7765 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7766 target_tool_prefix
="m68k-elf-"
7767 # Needed to get the correct multilib
7768 aros_config_ldflags
="-${gcc_target_cpu}"
7769 aros_shared_ldflags
="-${gcc_target_cpu}"
7770 aros_kernel_ldflags
="-${gcc_target_cpu}"
7771 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7772 aros_target_strip_flags
="-R.comment --strip-debug"
7773 aros_default_wbwidth
=640
7774 aros_default_wbheight
=256
7775 aros_default_wbdepth
=2
7779 aros_flavour
="native"
7780 gcc_target_cpu
="ppc"
7783 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7789 aros_target_arch
="mingw32"
7790 aros_shared_default
="no"
7791 aros_flavour
="emulation"
7792 aros_shared_cflags
=""
7795 case "$target_cpu" in
7797 aros_target_cpu
="i386"
7798 aros_object_format
="elf_i386"
7799 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7800 aros_default_wbdepth
=8
7801 gcc_target_cpu
="i386"
7803 aros_target_as
="i386-aros-as"
7804 aros_target_ar
="i386-aros-ar"
7805 aros_target_ranlib
="i386-aros-ranlib"
7806 aros_target_nm
="i386-aros-nm"
7807 aros_target_strip
="i386-aros-strip"
7808 aros_target_objcopy
="i386-aros-objcopy"
7809 aros_target_objdump
="i386-aros-objdump"
7811 target_tool_prefix
="i386-mingw32-"
7814 aros_target_cpu
="x86_64"
7815 aros_object_format
="elf_x86_64"
7816 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7817 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7818 aros_default_wbdepth
=8
7819 target_tool_prefix
="x86_64-w64-mingw32-"
7822 aros_target_cpu
="arm"
7823 aros_object_format
="armelf_linux_eabi"
7824 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7825 aros_arch_libs
="-laeabi"
7826 aros_default_wbdepth
=8
7827 gcc_target_cpu
="arm"
7828 target_tool_prefix
="arm-mingw32ce-"
7829 aros_default_wbwidth
=160
7830 aros_default_wbheight
=160
7833 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7836 if test $host_os = "cygwin"; then
7837 aros_kernel_cflags
="-mno-cygwin"
7841 aros_target_arch
="pp"
7842 aros_shared_default
="no"
7843 case "$target_cpu" in
7845 aros_target_cpu
="m68k"
7846 aros_object_format
="m68kelf"
7847 aros_flavour
="palmnative"
7848 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7849 aros_default_wbwidth
=160
7850 aros_default_wbheight
=160
7851 aros_default_wbdepth
=1
7852 aros_target_ar_flags
="cru"
7853 aros_compiler_libs
="-lgcc1"
7854 aros_shared_default
=no
7855 aros_shared_cflags
="-fpic"
7856 aros_shared_aflags
=""
7857 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7858 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7859 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7860 aros_debug_aflags
=""
7861 aros_debug_ldflags
="$aros_symbols_debug"
7862 aros_mungwall_debug
="0"
7863 aros_modules_debug
="0"
7864 gcc_target_cpu
="mc68000"
7865 ignore_undefined_symbols
="-ius"
7868 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7874 aros_target_arch
="mac"
7875 aros_shared_default
="no"
7876 case "$target_cpu" in
7878 aros_target_cpu
="m68k"
7879 aros_object_format
="m68kelf"
7880 aros_flavour
="mac68knative"
7881 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7882 aros_default_wbwidth
=512
7883 aros_default_wbheight
=384
7884 aros_default_wbdepth
=8
7885 aros_target_ar_flags
="cru"
7886 aros_compiler_libs
="-lgcc1"
7887 aros_shared_default
=no
7888 aros_shared_cflags
="-fpic"
7889 aros_shared_aflags
=""
7890 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7891 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7892 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7893 aros_debug_aflags
=""
7894 aros_debug_ldflags
="$aros_symbols_debug"
7895 aros_mungwall_debug
="0"
7896 aros_modules_debug
="0"
7897 gcc_target_cpu
="mc68000"
7898 ignore_undefined_symbols
="-ius"
7901 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7907 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7911 # Some formats need custom ELF specs.
7912 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
7913 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
7914 elf_specs_in
=config
/${aros_object_format}-specs.
in
7916 elf_specs_in
=config
/elf-specs.
in
7919 #-----------------------------------------------------------------------------
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
7921 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
7923 # Check whether --with-crosstools was given.
7924 if test "${with_crosstools+set}" = set; then :
7925 withval
=$with_crosstools; with_crosstools
=$withval
7927 with_crosstools
="default"
7930 if test "$with_crosstools" = "default"; then
7931 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
7933 AROS_CROSSTOOLSDIR
="$with_crosstools"
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
7936 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
7938 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
7942 PATH
=$AROS_CROSSTOOLSDIR:$PATH
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
7946 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
7948 # Check whether --with-aros-gcc was given.
7949 if test "${with_aros_gcc+set}" = set; then :
7950 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
7952 aros_gcc_version
="$use_aros_gcc"
7955 case "$aros_gcc_version" in
7957 aros_gcc_version
="default"
7960 aros_gcc_version
="none"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
7964 $as_echo "$aros_gcc_version" >&6; }
7966 if test "$aros_gcc_version" != "none"; then
7969 if test "$aros_gcc_version" != "default"; then
7970 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
7971 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
7973 aros_target_cc
="$aros_target_cpu-aros-gcc"
7974 aros_target_cxx
="$aros_target_cpu-aros-g++"
7977 aros_target_ld
="$aros_target_cpu-aros-ld"
7978 aros_target_as
="$aros_target_cpu-aros-as"
7979 aros_target_ar
="$aros_target_cpu-aros-ar"
7980 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
7981 aros_target_nm
="$aros_target_cpu-aros-nm"
7982 aros_target_strip
="$aros_target_cpu-aros-strip"
7983 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
7984 aros_target_objdump
="$aros_target_cpu-aros-objdump"
7987 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
7988 # Since we override specs, we may need to put these defines there
7989 if test "$gcc_target_cpu" != ""; then
7990 gcc_target_cpu
="-D__${gcc_target_cpu}__"
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
7994 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
7996 # Check whether --with-portssources was given.
7997 if test "${with_portssources+set}" = set; then :
7998 withval
=$with_portssources; with_portssrcdir
=$withval
8000 with_portssrcdir
="default"
8003 if test "$with_portssrcdir" = "default"; then
8004 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
8006 AROS_PORTSSRCDIR
="$with_portssrcdir"
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
8009 $as_echo "$AROS_PORTSSRCDIR" >&6; }
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
8012 $as_echo_n "checking which bootloader to use... " >&6; }
8014 # Check whether --with-bootloader was given.
8015 if test "${with_bootloader+set}" = set; then :
8016 withval
=$with_bootloader; target_bootloader
=$withval
8018 target_bootloader
=$target_bootloader
8021 if test "$target_bootloader" = "none"; then
8022 aros_target_bootloader
=""
8024 aros_target_bootloader
="$target_bootloader"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8027 $as_echo "$target_bootloader" >&6; }
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8030 $as_echo_n "checking which icon-set to use... " >&6; }
8032 # Check whether --with-iconset was given.
8033 if test "${with_iconset+set}" = set; then :
8034 withval
=$with_iconset; target_iconset
=$withval
8036 target_iconset
="default"
8039 if test "$target_iconset" = "default"; then
8040 aros_target_iconset
="Gorilla"
8041 target_iconset
="default (Gorilla)"
8043 aros_target_iconset
="$target_iconset"
8045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8046 $as_echo "$target_iconset" >&6; }
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8049 $as_echo_n "checking which GUI Theme to use... " >&6; }
8051 # Check whether --with-theme was given.
8052 if test "${with_theme+set}" = set; then :
8053 withval
=$with_theme; target_guitheme
=$withval
8055 target_guitheme
="default"
8058 if test "$target_guitheme" = "default"; then
8059 aros_target_guitheme
="Ice"
8061 aros_target_guitheme
="$target_guitheme"
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8064 $as_echo "$aros_target_guitheme" >&6; }
8066 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8069 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8073 if test "$aros_host_cpu" == "x86_64" ; then
8074 if test "$aros_target_cpu" == "i386" ; then
8075 if test "$aros_target_arch" != "mingw32"; then
8081 if test "$aros_host_arch" == "darwin" ; then
8082 if test "$aros_target_arch" != "darwin" ; then
8087 if test "$aros_host_arch" == "mingw32" ; then
8088 if test "$aros_target_arch" != "mingw32" ; then
8093 # I want to have this information in configure output, although it might be
8094 # misleading, e.g. for darwin hosted you cannot compile target code without a
8095 # cross compiler, but here it says no.
8097 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
8098 # Target code is a little bit different thing.
8100 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8102 # Set prefix for target compiler etc. if we're cross-compiling
8103 # (should possibly be earlier but needs to be after AC_PROG_CC)
8104 if test "$cross_compiling" = "yes" ; then
8106 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
8107 if test "$aros_gcc_version" != "none"; then
8110 target_tool_prefix
=${target_cpu}-aros-
8111 target_tool_version
=$aros_gcc_version
8112 use_kernel_cc_wrapper
=yes
8121 aros_target_objcopy
=
8122 aros_target_objdump
=
8126 CC
=${target_tool_prefix}gcc
8127 CPP
=${target_tool_prefix}cpp
8128 if test "$target_tool_version" != "default"; then
8129 CC
="$CC-$target_tool_version"
8130 CPP
="$CC-$target_tool_version"
8132 if test "$crosstools" != "yes" ; then
8133 # Extract the first word of "$CC", so it can be a program name with args.
8134 set dummy
$CC; ac_word
=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136 $as_echo_n "checking for $ac_word... " >&6; }
8137 if test "${ac_cv_path_CC+set}" = set; then :
8138 $as_echo_n "(cached) " >&6
8142 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir
=.
8150 for ac_exec_ext
in '' $ac_executable_extensions; do
8151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 if test -n "$CC"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8166 $as_echo "$CC" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8173 if test "$CC" = ""; then
8174 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8177 CC
=$AROS_CROSSTOOLSDIR/$CC
8180 CC
="$CC $target_tool_flags"
8182 #-----------------------------------------------------------------------------
8184 # Disable pointer-signedness warnings if the compiler recognises the option
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8187 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8188 save_cflags
="$CFLAGS"
8189 if test "$crosstools" != "yes" ; then
8190 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8192 /* end confdefs.h. */
8202 if ac_fn_c_try_compile
"$LINENO"; then :
8203 use_no_sign_warning
="yes"
8205 use_no_sign_warning
="no"
8207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8209 # we do know it is supported for the smallest version of gcc we are going to build
8210 # we assume it's also supported by later versions
8211 use_no_sign_warning
=yes
8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8214 $as_echo "$use_no_sign_warning" >&6; }
8215 if test "x-$use_no_sign_warning" = "x-yes" ; then
8216 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8218 CFLAGS
="$save_cflags"
8220 #-----------------------------------------------------------------------------
8222 # Find all the tools we need to compile. This could be cross-compiling
8223 # though! If that is the case we use the GNU form of the target and
8224 # simply add this to the front of the binary name. This is rather simple,
8225 # but it should work under most circumstances.
8227 # The default tools are to use the same as the host, but only if the
8228 # host and target CPU are the same. With GCC this is normally enough.
8232 aros_shared_ld
="$aros_host_ld"
8234 aros_target_mkdep
="$aros_host_mkdep"
8235 aros_target_incl_def
="$aros_host_incl"
8237 aros_kernel_cc
="$CC"
8239 # The default tools executables to be linked to.
8240 if test "$rescomp" != ""; then
8241 if test "$cross_compiling" = "yes" ; then
8242 rescomp
=${target_tool_prefix}${rescomp}
8244 # Extract the first word of "$rescomp", so it can be a program name with args.
8245 set dummy
$rescomp; ac_word
=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
8249 $as_echo_n "(cached) " >&6
8251 case $aros_kernel_rescomp in
8253 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8260 test -z "$as_dir" && as_dir
=.
8261 for ac_exec_ext
in '' $ac_executable_extensions; do
8262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8263 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8274 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8275 if test -n "$aros_kernel_rescomp"; then
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8277 $as_echo "$aros_kernel_rescomp" >&6; }
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8280 $as_echo "no" >&6; }
8284 if test "$aros_kernel_rescomp" = ""; then
8285 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8289 if test "$crosstools" != "yes"; then
8291 if test "$aros_kernel_ld" = ""; then
8292 if test "$cross_compiling" = "yes" ; then
8293 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8294 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 $as_echo_n "checking for $ac_word... " >&6; }
8297 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8298 $as_echo_n "(cached) " >&6
8300 case $aros_kernel_ld in
8302 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8309 test -z "$as_dir" && as_dir
=.
8310 for ac_exec_ext
in '' $ac_executable_extensions; do
8311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8312 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8324 if test -n "$aros_kernel_ld"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8326 $as_echo "$aros_kernel_ld" >&6; }
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8334 if test "$GCC" = "yes"; then
8335 aros_gcc_ld
=`$CC -print-prog-name=ld`
8336 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8337 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8341 $as_echo_n "(cached) " >&6
8343 case $aros_kernel_ld in
8345 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8349 for as_dir
in `dirname $aros_gcc_ld`
8352 test -z "$as_dir" && as_dir
=.
8353 for ac_exec_ext
in '' $ac_executable_extensions; do
8354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8355 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8367 if test -n "$aros_kernel_ld"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8369 $as_echo "$aros_kernel_ld" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8377 if test "$aros_kernel_ld" = ""; then
8378 # Extract the first word of "ld", so it can be a program name with args.
8379 set dummy ld
; ac_word
=$2
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8381 $as_echo_n "checking for $ac_word... " >&6; }
8382 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8383 $as_echo_n "(cached) " >&6
8385 case $aros_kernel_ld in
8387 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8394 test -z "$as_dir" && as_dir
=.
8395 for ac_exec_ext
in '' $ac_executable_extensions; do
8396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8397 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8408 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8409 if test -n "$aros_kernel_ld"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8411 $as_echo "$aros_kernel_ld" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8421 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8422 set dummy
$aros_kernel_ld; ac_word
=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8424 $as_echo_n "checking for $ac_word... " >&6; }
8425 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8428 case $aros_kernel_ld in
8430 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8437 test -z "$as_dir" && as_dir
=.
8438 for ac_exec_ext
in '' $ac_executable_extensions; do
8439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8440 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8451 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8452 if test -n "$aros_kernel_ld"; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8454 $as_echo "$aros_kernel_ld" >&6; }
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8457 $as_echo "no" >&6; }
8463 if test "$aros_kernel_ld" = ""; then
8464 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8467 if test "$aros_kernel_ar" = ""; then
8468 if test "$cross_compiling" = "yes" ; then
8469 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8470 set dummy
${target_tool_prefix}ar; ac_word
=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8472 $as_echo_n "checking for $ac_word... " >&6; }
8473 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8474 $as_echo_n "(cached) " >&6
8476 case $aros_kernel_ar in
8478 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8485 test -z "$as_dir" && as_dir
=.
8486 for ac_exec_ext
in '' $ac_executable_extensions; do
8487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8488 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8499 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8500 if test -n "$aros_kernel_ar"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8502 $as_echo "$aros_kernel_ar" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8505 $as_echo "no" >&6; }
8510 if test "$GCC" = "yes"; then
8511 aros_gcc_ar
=`$CC -print-prog-name=ar`
8512 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8513 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8517 $as_echo_n "(cached) " >&6
8519 case $aros_kernel_ar in
8521 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8525 for as_dir
in `dirname $aros_gcc_ar`
8528 test -z "$as_dir" && as_dir
=.
8529 for ac_exec_ext
in '' $ac_executable_extensions; do
8530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8531 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8542 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8543 if test -n "$aros_kernel_ar"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8545 $as_echo "$aros_kernel_ar" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8553 if test "$aros_kernel_ar" = ""; then
8554 # Extract the first word of "ar", so it can be a program name with args.
8555 set dummy
ar; ac_word
=$2
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8557 $as_echo_n "checking for $ac_word... " >&6; }
8558 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8561 case $aros_kernel_ar in
8563 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8570 test -z "$as_dir" && as_dir
=.
8571 for ac_exec_ext
in '' $ac_executable_extensions; do
8572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8573 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8584 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8585 if test -n "$aros_kernel_ar"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8587 $as_echo "$aros_kernel_ar" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8590 $as_echo "no" >&6; }
8597 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8598 set dummy
$aros_kernel_ar; ac_word
=$2
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8600 $as_echo_n "checking for $ac_word... " >&6; }
8601 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8602 $as_echo_n "(cached) " >&6
8604 case $aros_kernel_ar in
8606 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8613 test -z "$as_dir" && as_dir
=.
8614 for ac_exec_ext
in '' $ac_executable_extensions; do
8615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8616 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8627 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8628 if test -n "$aros_kernel_ar"; then
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8630 $as_echo "$aros_kernel_ar" >&6; }
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8633 $as_echo "no" >&6; }
8639 if test "$aros_kernel_ar" = ""; then
8640 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8643 if test "$aros_kernel_ranlib" = ""; then
8644 if test "$cross_compiling" = "yes" ; then
8645 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8646 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8648 $as_echo_n "checking for $ac_word... " >&6; }
8649 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8650 $as_echo_n "(cached) " >&6
8652 case $aros_kernel_ranlib in
8654 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir
=.
8662 for ac_exec_ext
in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8676 if test -n "$aros_kernel_ranlib"; then
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8678 $as_echo "$aros_kernel_ranlib" >&6; }
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8681 $as_echo "no" >&6; }
8686 if test "$GCC" = "yes"; then
8687 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8688 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8689 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8691 $as_echo_n "checking for $ac_word... " >&6; }
8692 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8693 $as_echo_n "(cached) " >&6
8695 case $aros_kernel_ranlib in
8697 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8701 for as_dir
in `dirname $aros_gcc_ranlib`
8704 test -z "$as_dir" && as_dir
=.
8705 for ac_exec_ext
in '' $ac_executable_extensions; do
8706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8707 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8718 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8719 if test -n "$aros_kernel_ranlib"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8721 $as_echo "$aros_kernel_ranlib" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8724 $as_echo "no" >&6; }
8729 if test "$aros_kernel_ranlib" = ""; then
8730 # Extract the first word of "ranlib", so it can be a program name with args.
8731 set dummy ranlib
; ac_word
=$2
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 $as_echo_n "checking for $ac_word... " >&6; }
8734 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8735 $as_echo_n "(cached) " >&6
8737 case $aros_kernel_ranlib in
8739 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir
=.
8747 for ac_exec_ext
in '' $ac_executable_extensions; do
8748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8749 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8760 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8761 if test -n "$aros_kernel_ranlib"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8763 $as_echo "$aros_kernel_ranlib" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8766 $as_echo "no" >&6; }
8773 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8774 set dummy
$aros_kernel_ranlib; ac_word
=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8778 $as_echo_n "(cached) " >&6
8780 case $aros_kernel_ranlib in
8782 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8789 test -z "$as_dir" && as_dir
=.
8790 for ac_exec_ext
in '' $ac_executable_extensions; do
8791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8792 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8803 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8804 if test -n "$aros_kernel_ranlib"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8806 $as_echo "$aros_kernel_ranlib" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8815 if test "$aros_kernel_ranlib" = ""; then
8816 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8819 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
8820 target_tool_prefix
=${target_cpu}-elf-
8821 if test "$aros_target_cc" == ""; then
8822 aros_target_cc
="${target_tool_prefix}gcc"
8824 if test "$aros_target_ld" == ""; then
8825 aros_target_ld
="${target_tool_prefix}ld"
8829 if test "$aros_target_as" = ""; then
8830 if test "$cross_compiling" = "yes" ; then
8831 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8832 set dummy
${target_tool_prefix}as
; ac_word
=$2
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8834 $as_echo_n "checking for $ac_word... " >&6; }
8835 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8836 $as_echo_n "(cached) " >&6
8838 case $aros_target_as_ln in
8840 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8847 test -z "$as_dir" && as_dir
=.
8848 for ac_exec_ext
in '' $ac_executable_extensions; do
8849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8850 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8861 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8862 if test -n "$aros_target_as_ln"; then
8863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8864 $as_echo "$aros_target_as_ln" >&6; }
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8867 $as_echo "no" >&6; }
8872 if test "$GCC" = "yes"; then
8873 aros_gcc_as
=`$CC -print-prog-name=as`
8874 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8875 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8877 $as_echo_n "checking for $ac_word... " >&6; }
8878 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8879 $as_echo_n "(cached) " >&6
8881 case $aros_target_as_ln in
8883 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8887 for as_dir
in `dirname $aros_gcc_as`
8890 test -z "$as_dir" && as_dir
=.
8891 for ac_exec_ext
in '' $ac_executable_extensions; do
8892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8893 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8904 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8905 if test -n "$aros_target_as_ln"; then
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8907 $as_echo "$aros_target_as_ln" >&6; }
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8910 $as_echo "no" >&6; }
8915 if test "$aros_target_as_ln" = ""; then
8916 # Extract the first word of "as", so it can be a program name with args.
8917 set dummy as
; ac_word
=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8919 $as_echo_n "checking for $ac_word... " >&6; }
8920 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8921 $as_echo_n "(cached) " >&6
8923 case $aros_target_as_ln in
8925 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8932 test -z "$as_dir" && as_dir
=.
8933 for ac_exec_ext
in '' $ac_executable_extensions; do
8934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8935 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8946 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8947 if test -n "$aros_target_as_ln"; then
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8949 $as_echo "$aros_target_as_ln" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8952 $as_echo "no" >&6; }
8959 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8960 set dummy
$aros_target_as; ac_word
=$2
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8962 $as_echo_n "checking for $ac_word... " >&6; }
8963 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8964 $as_echo_n "(cached) " >&6
8966 case $aros_target_as_ln in
8968 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8975 test -z "$as_dir" && as_dir
=.
8976 for ac_exec_ext
in '' $ac_executable_extensions; do
8977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8978 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8989 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8990 if test -n "$aros_target_as_ln"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8992 $as_echo "$aros_target_as_ln" >&6; }
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8995 $as_echo "no" >&6; }
9001 if test "$aros_target_as_ln" = ""; then
9002 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
9005 if test "$aros_target_ar" = ""; then
9006 if test "$cross_compiling" = "yes" ; then
9007 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
9008 set dummy
${target_tool_prefix}ar; ac_word
=$2
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9010 $as_echo_n "checking for $ac_word... " >&6; }
9011 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9014 case $aros_target_ar_ln in
9016 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9023 test -z "$as_dir" && as_dir
=.
9024 for ac_exec_ext
in '' $ac_executable_extensions; do
9025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9026 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9037 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9038 if test -n "$aros_target_ar_ln"; then
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9040 $as_echo "$aros_target_ar_ln" >&6; }
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9043 $as_echo "no" >&6; }
9048 if test "$GCC" = "yes"; then
9049 aros_gcc_ar
=`$CC -print-prog-name=ar`
9050 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9051 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9053 $as_echo_n "checking for $ac_word... " >&6; }
9054 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9055 $as_echo_n "(cached) " >&6
9057 case $aros_target_ar_ln in
9059 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9063 for as_dir
in `dirname $aros_gcc_ar`
9066 test -z "$as_dir" && as_dir
=.
9067 for ac_exec_ext
in '' $ac_executable_extensions; do
9068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9069 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9080 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9081 if test -n "$aros_target_ar_ln"; then
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9083 $as_echo "$aros_target_ar_ln" >&6; }
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9086 $as_echo "no" >&6; }
9091 if test "$aros_target_ar_ln" = ""; then
9092 # Extract the first word of "ar", so it can be a program name with args.
9093 set dummy
ar; ac_word
=$2
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9095 $as_echo_n "checking for $ac_word... " >&6; }
9096 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9097 $as_echo_n "(cached) " >&6
9099 case $aros_target_ar_ln in
9101 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9108 test -z "$as_dir" && as_dir
=.
9109 for ac_exec_ext
in '' $ac_executable_extensions; do
9110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9111 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9122 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9123 if test -n "$aros_target_ar_ln"; then
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9125 $as_echo "$aros_target_ar_ln" >&6; }
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9128 $as_echo "no" >&6; }
9135 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9136 set dummy
$aros_target_ar; ac_word
=$2
9137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9138 $as_echo_n "checking for $ac_word... " >&6; }
9139 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9140 $as_echo_n "(cached) " >&6
9142 case $aros_target_ar_ln in
9144 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9151 test -z "$as_dir" && as_dir
=.
9152 for ac_exec_ext
in '' $ac_executable_extensions; do
9153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9154 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9165 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9166 if test -n "$aros_target_ar_ln"; then
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9168 $as_echo "$aros_target_ar_ln" >&6; }
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9171 $as_echo "no" >&6; }
9177 if test "$aros_target_ar_ln" = ""; then
9178 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9181 if test "$aros_target_nm" = ""; then
9182 if test "$cross_compiling" = "yes" ; then
9183 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9184 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9186 $as_echo_n "checking for $ac_word... " >&6; }
9187 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9188 $as_echo_n "(cached) " >&6
9190 case $aros_target_nm_ln in
9192 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9199 test -z "$as_dir" && as_dir
=.
9200 for ac_exec_ext
in '' $ac_executable_extensions; do
9201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9202 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9213 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9214 if test -n "$aros_target_nm_ln"; then
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9216 $as_echo "$aros_target_nm_ln" >&6; }
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9219 $as_echo "no" >&6; }
9224 if test "$GCC" = "yes"; then
9225 aros_gcc_nm
=`$CC -print-prog-name=nm`
9226 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9227 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9229 $as_echo_n "checking for $ac_word... " >&6; }
9230 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9231 $as_echo_n "(cached) " >&6
9233 case $aros_target_nm_ln in
9235 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9239 for as_dir
in `dirname $aros_gcc_nm`
9242 test -z "$as_dir" && as_dir
=.
9243 for ac_exec_ext
in '' $ac_executable_extensions; do
9244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9245 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9256 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9257 if test -n "$aros_target_nm_ln"; then
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9259 $as_echo "$aros_target_nm_ln" >&6; }
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9262 $as_echo "no" >&6; }
9267 if test "$aros_target_nm_ln" = ""; then
9268 # Extract the first word of "nm", so it can be a program name with args.
9269 set dummy nm
; ac_word
=$2
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9271 $as_echo_n "checking for $ac_word... " >&6; }
9272 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9273 $as_echo_n "(cached) " >&6
9275 case $aros_target_nm_ln in
9277 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9284 test -z "$as_dir" && as_dir
=.
9285 for ac_exec_ext
in '' $ac_executable_extensions; do
9286 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9287 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9298 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9299 if test -n "$aros_target_nm_ln"; then
9300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9301 $as_echo "$aros_target_nm_ln" >&6; }
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9304 $as_echo "no" >&6; }
9311 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9312 set dummy
$aros_target_nm; ac_word
=$2
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9314 $as_echo_n "checking for $ac_word... " >&6; }
9315 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9316 $as_echo_n "(cached) " >&6
9318 case $aros_target_nm_ln in
9320 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9323 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9327 test -z "$as_dir" && as_dir
=.
9328 for ac_exec_ext
in '' $ac_executable_extensions; do
9329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9330 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9341 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9342 if test -n "$aros_target_nm_ln"; then
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9344 $as_echo "$aros_target_nm_ln" >&6; }
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9347 $as_echo "no" >&6; }
9353 if test "$aros_target_nm_ln" = ""; then
9354 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9357 if test "$aros_target_objcopy" = ""; then
9358 if test "$cross_compiling" = "yes" ; then
9359 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9360 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9362 $as_echo_n "checking for $ac_word... " >&6; }
9363 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9364 $as_echo_n "(cached) " >&6
9366 case $aros_target_objcopy_ln in
9368 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9375 test -z "$as_dir" && as_dir
=.
9376 for ac_exec_ext
in '' $ac_executable_extensions; do
9377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9378 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9389 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9390 if test -n "$aros_target_objcopy_ln"; then
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9392 $as_echo "$aros_target_objcopy_ln" >&6; }
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9395 $as_echo "no" >&6; }
9400 if test "$GCC" = "yes"; then
9401 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9402 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9403 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9405 $as_echo_n "checking for $ac_word... " >&6; }
9406 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9407 $as_echo_n "(cached) " >&6
9409 case $aros_target_objcopy_ln in
9411 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9415 for as_dir
in `dirname $aros_gcc_objcopy`
9418 test -z "$as_dir" && as_dir
=.
9419 for ac_exec_ext
in '' $ac_executable_extensions; do
9420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9421 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9432 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9433 if test -n "$aros_target_objcopy_ln"; then
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9435 $as_echo "$aros_target_objcopy_ln" >&6; }
9437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9438 $as_echo "no" >&6; }
9443 if test "$aros_target_objcopy_ln" = ""; then
9444 # Extract the first word of "objcopy", so it can be a program name with args.
9445 set dummy objcopy
; ac_word
=$2
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9447 $as_echo_n "checking for $ac_word... " >&6; }
9448 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9449 $as_echo_n "(cached) " >&6
9451 case $aros_target_objcopy_ln in
9453 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9460 test -z "$as_dir" && as_dir
=.
9461 for ac_exec_ext
in '' $ac_executable_extensions; do
9462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9463 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9474 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9475 if test -n "$aros_target_objcopy_ln"; then
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9477 $as_echo "$aros_target_objcopy_ln" >&6; }
9479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9480 $as_echo "no" >&6; }
9487 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9488 set dummy
$aros_target_objcopy; ac_word
=$2
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9490 $as_echo_n "checking for $ac_word... " >&6; }
9491 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9492 $as_echo_n "(cached) " >&6
9494 case $aros_target_objcopy_ln in
9496 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9499 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9503 test -z "$as_dir" && as_dir
=.
9504 for ac_exec_ext
in '' $ac_executable_extensions; do
9505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9506 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9517 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9518 if test -n "$aros_target_objcopy_ln"; then
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9520 $as_echo "$aros_target_objcopy_ln" >&6; }
9522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9523 $as_echo "no" >&6; }
9529 if test "$aros_target_objcopy_ln" = ""; then
9530 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9533 if test "$aros_target_objdump" = ""; then
9534 if test "$cross_compiling" = "yes" ; then
9535 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9536 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9538 $as_echo_n "checking for $ac_word... " >&6; }
9539 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9540 $as_echo_n "(cached) " >&6
9542 case $aros_target_objdump_ln in
9544 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9551 test -z "$as_dir" && as_dir
=.
9552 for ac_exec_ext
in '' $ac_executable_extensions; do
9553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9554 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9565 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9566 if test -n "$aros_target_objdump_ln"; then
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9568 $as_echo "$aros_target_objdump_ln" >&6; }
9570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 $as_echo "no" >&6; }
9576 if test "$GCC" = "yes"; then
9577 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9578 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9579 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 $as_echo_n "checking for $ac_word... " >&6; }
9582 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9583 $as_echo_n "(cached) " >&6
9585 case $aros_target_objdump_ln in
9587 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9591 for as_dir
in `dirname $aros_gcc_objdump`
9594 test -z "$as_dir" && as_dir
=.
9595 for ac_exec_ext
in '' $ac_executable_extensions; do
9596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9597 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9608 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9609 if test -n "$aros_target_objdump_ln"; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9611 $as_echo "$aros_target_objdump_ln" >&6; }
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 $as_echo "no" >&6; }
9619 if test "$aros_target_objdump_ln" = ""; then
9620 # Extract the first word of "objdump", so it can be a program name with args.
9621 set dummy objdump
; ac_word
=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9623 $as_echo_n "checking for $ac_word... " >&6; }
9624 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9625 $as_echo_n "(cached) " >&6
9627 case $aros_target_objdump_ln in
9629 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9636 test -z "$as_dir" && as_dir
=.
9637 for ac_exec_ext
in '' $ac_executable_extensions; do
9638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9639 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9650 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9651 if test -n "$aros_target_objdump_ln"; then
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9653 $as_echo "$aros_target_objdump_ln" >&6; }
9655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9656 $as_echo "no" >&6; }
9663 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9664 set dummy
$aros_target_objdump; ac_word
=$2
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9666 $as_echo_n "checking for $ac_word... " >&6; }
9667 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9668 $as_echo_n "(cached) " >&6
9670 case $aros_target_objdump_ln in
9672 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9675 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9679 test -z "$as_dir" && as_dir
=.
9680 for ac_exec_ext
in '' $ac_executable_extensions; do
9681 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9682 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9683 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9693 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9694 if test -n "$aros_target_objdump_ln"; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9696 $as_echo "$aros_target_objdump_ln" >&6; }
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9699 $as_echo "no" >&6; }
9705 if test "$aros_target_objdump_ln" = ""; then
9706 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9709 if test "$aros_target_ranlib" = ""; then
9710 if test "$cross_compiling" = "yes" ; then
9711 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9712 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9714 $as_echo_n "checking for $ac_word... " >&6; }
9715 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9716 $as_echo_n "(cached) " >&6
9718 case $aros_target_ranlib_ln in
9720 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9727 test -z "$as_dir" && as_dir
=.
9728 for ac_exec_ext
in '' $ac_executable_extensions; do
9729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9730 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9741 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9742 if test -n "$aros_target_ranlib_ln"; then
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9744 $as_echo "$aros_target_ranlib_ln" >&6; }
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9747 $as_echo "no" >&6; }
9752 if test "$GCC" = "yes"; then
9753 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9754 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9755 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9757 $as_echo_n "checking for $ac_word... " >&6; }
9758 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9759 $as_echo_n "(cached) " >&6
9761 case $aros_target_ranlib_ln in
9763 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9767 for as_dir
in `dirname $aros_gcc_ranlib`
9770 test -z "$as_dir" && as_dir
=.
9771 for ac_exec_ext
in '' $ac_executable_extensions; do
9772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9773 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9784 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9785 if test -n "$aros_target_ranlib_ln"; then
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9787 $as_echo "$aros_target_ranlib_ln" >&6; }
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9790 $as_echo "no" >&6; }
9795 if test "$aros_target_ranlib_ln" = ""; then
9796 # Extract the first word of "ranlib", so it can be a program name with args.
9797 set dummy ranlib
; ac_word
=$2
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9799 $as_echo_n "checking for $ac_word... " >&6; }
9800 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9801 $as_echo_n "(cached) " >&6
9803 case $aros_target_ranlib_ln in
9805 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9812 test -z "$as_dir" && as_dir
=.
9813 for ac_exec_ext
in '' $ac_executable_extensions; do
9814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9815 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9826 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9827 if test -n "$aros_target_ranlib_ln"; then
9828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9829 $as_echo "$aros_target_ranlib_ln" >&6; }
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9832 $as_echo "no" >&6; }
9839 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9840 set dummy
$aros_target_ranlib; ac_word
=$2
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9842 $as_echo_n "checking for $ac_word... " >&6; }
9843 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9844 $as_echo_n "(cached) " >&6
9846 case $aros_target_ranlib_ln in
9848 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9855 test -z "$as_dir" && as_dir
=.
9856 for ac_exec_ext
in '' $ac_executable_extensions; do
9857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9858 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9869 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9870 if test -n "$aros_target_ranlib_ln"; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9872 $as_echo "$aros_target_ranlib_ln" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875 $as_echo "no" >&6; }
9881 if test "$aros_target_ranlib_ln" = ""; then
9882 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9885 if test "$aros_target_strip" = ""; then
9886 if test "$cross_compiling" = "yes" ; then
9887 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9888 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9890 $as_echo_n "checking for $ac_word... " >&6; }
9891 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9892 $as_echo_n "(cached) " >&6
9894 case $aros_target_strip_ln in
9896 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir
=.
9904 for ac_exec_ext
in '' $ac_executable_extensions; do
9905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9906 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9917 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9918 if test -n "$aros_target_strip_ln"; then
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9920 $as_echo "$aros_target_strip_ln" >&6; }
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9923 $as_echo "no" >&6; }
9928 if test "$GCC" = "yes"; then
9929 aros_gcc_strip
=`$CC -print-prog-name=strip`
9930 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9931 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9933 $as_echo_n "checking for $ac_word... " >&6; }
9934 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9935 $as_echo_n "(cached) " >&6
9937 case $aros_target_strip_ln in
9939 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9943 for as_dir
in `dirname $aros_gcc_strip`
9946 test -z "$as_dir" && as_dir
=.
9947 for ac_exec_ext
in '' $ac_executable_extensions; do
9948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9949 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9960 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9961 if test -n "$aros_target_strip_ln"; then
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9963 $as_echo "$aros_target_strip_ln" >&6; }
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9966 $as_echo "no" >&6; }
9971 if test "$aros_target_strip_ln" = ""; then
9972 # Extract the first word of "strip", so it can be a program name with args.
9973 set dummy strip
; ac_word
=$2
9974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9975 $as_echo_n "checking for $ac_word... " >&6; }
9976 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9977 $as_echo_n "(cached) " >&6
9979 case $aros_target_strip_ln in
9981 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9988 test -z "$as_dir" && as_dir
=.
9989 for ac_exec_ext
in '' $ac_executable_extensions; do
9990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9991 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10003 if test -n "$aros_target_strip_ln"; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10005 $as_echo "$aros_target_strip_ln" >&6; }
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008 $as_echo "no" >&6; }
10015 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
10016 set dummy
$aros_target_strip; ac_word
=$2
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10018 $as_echo_n "checking for $ac_word... " >&6; }
10019 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
10020 $as_echo_n "(cached) " >&6
10022 case $aros_target_strip_ln in
10024 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10028 for as_dir
in $PATH
10031 test -z "$as_dir" && as_dir
=.
10032 for ac_exec_ext
in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10045 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10046 if test -n "$aros_target_strip_ln"; then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10048 $as_echo "$aros_target_strip_ln" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10051 $as_echo "no" >&6; }
10057 if test "$aros_target_strip_ln" = ""; then
10058 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10060 if test "$aros_target_cxx" != ""; then
10061 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10062 set dummy
$aros_target_cxx; ac_word
=$2
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10064 $as_echo_n "checking for $ac_word... " >&6; }
10065 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
10066 $as_echo_n "(cached) " >&6
10068 case $aros_target_cxx in
10070 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
10073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10074 for as_dir
in $PATH
10077 test -z "$as_dir" && as_dir
=.
10078 for ac_exec_ext
in '' $ac_executable_extensions; do
10079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10080 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10091 aros_target_cxx
=$ac_cv_path_aros_target_cxx
10092 if test -n "$aros_target_cxx"; then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
10094 $as_echo "$aros_target_cxx" >&6; }
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10097 $as_echo "no" >&6; }
10101 if test "$aros_target_cxx" = ""; then
10102 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
10106 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
10107 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
10108 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
10109 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10110 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
10111 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
10112 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
10113 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10114 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
10116 if test "$target_tool_prefix" != "${target_cpu}-aros-" ; then
10118 if test "$aros_kernel_ld" = ""; then
10119 if test "$cross_compiling" = "yes" ; then
10120 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
10121 set dummy
${target_tool_prefix}ld
; ac_word
=$2
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10123 $as_echo_n "checking for $ac_word... " >&6; }
10124 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
10125 $as_echo_n "(cached) " >&6
10127 case $aros_kernel_ld in
10129 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10133 for as_dir
in $PATH
10136 test -z "$as_dir" && as_dir
=.
10137 for ac_exec_ext
in '' $ac_executable_extensions; do
10138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10139 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10150 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10151 if test -n "$aros_kernel_ld"; then
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10153 $as_echo "$aros_kernel_ld" >&6; }
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10156 $as_echo "no" >&6; }
10161 if test "$GCC" = "yes"; then
10162 aros_gcc_ld
=`$CC -print-prog-name=ld`
10163 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
10164 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10166 $as_echo_n "checking for $ac_word... " >&6; }
10167 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
10168 $as_echo_n "(cached) " >&6
10170 case $aros_kernel_ld in
10172 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10176 for as_dir
in `dirname $aros_gcc_ld`
10179 test -z "$as_dir" && as_dir
=.
10180 for ac_exec_ext
in '' $ac_executable_extensions; do
10181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10182 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10193 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10194 if test -n "$aros_kernel_ld"; then
10195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10196 $as_echo "$aros_kernel_ld" >&6; }
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10199 $as_echo "no" >&6; }
10204 if test "$aros_kernel_ld" = ""; then
10205 # Extract the first word of "ld", so it can be a program name with args.
10206 set dummy ld
; ac_word
=$2
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10208 $as_echo_n "checking for $ac_word... " >&6; }
10209 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
10210 $as_echo_n "(cached) " >&6
10212 case $aros_kernel_ld in
10214 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10218 for as_dir
in $PATH
10221 test -z "$as_dir" && as_dir
=.
10222 for ac_exec_ext
in '' $ac_executable_extensions; do
10223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10224 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10235 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10236 if test -n "$aros_kernel_ld"; then
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10238 $as_echo "$aros_kernel_ld" >&6; }
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10241 $as_echo "no" >&6; }
10248 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
10249 set dummy
$aros_kernel_ld; ac_word
=$2
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10251 $as_echo_n "checking for $ac_word... " >&6; }
10252 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
10253 $as_echo_n "(cached) " >&6
10255 case $aros_kernel_ld in
10257 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
10260 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10261 for as_dir
in $PATH
10264 test -z "$as_dir" && as_dir
=.
10265 for ac_exec_ext
in '' $ac_executable_extensions; do
10266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10267 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
10268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10278 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
10279 if test -n "$aros_kernel_ld"; then
10280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
10281 $as_echo "$aros_kernel_ld" >&6; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10284 $as_echo "no" >&6; }
10290 if test "$aros_kernel_ld" = ""; then
10291 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10294 if test "$aros_kernel_ar" = ""; then
10295 if test "$cross_compiling" = "yes" ; then
10296 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
10297 set dummy
${target_tool_prefix}ar; ac_word
=$2
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10299 $as_echo_n "checking for $ac_word... " >&6; }
10300 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
10301 $as_echo_n "(cached) " >&6
10303 case $aros_kernel_ar in
10305 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10309 for as_dir
in $PATH
10312 test -z "$as_dir" && as_dir
=.
10313 for ac_exec_ext
in '' $ac_executable_extensions; do
10314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10315 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10326 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10327 if test -n "$aros_kernel_ar"; then
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10329 $as_echo "$aros_kernel_ar" >&6; }
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10332 $as_echo "no" >&6; }
10337 if test "$GCC" = "yes"; then
10338 aros_gcc_ar
=`$CC -print-prog-name=ar`
10339 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
10340 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
10341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10342 $as_echo_n "checking for $ac_word... " >&6; }
10343 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
10344 $as_echo_n "(cached) " >&6
10346 case $aros_kernel_ar in
10348 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10352 for as_dir
in `dirname $aros_gcc_ar`
10355 test -z "$as_dir" && as_dir
=.
10356 for ac_exec_ext
in '' $ac_executable_extensions; do
10357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10358 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10369 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10370 if test -n "$aros_kernel_ar"; then
10371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10372 $as_echo "$aros_kernel_ar" >&6; }
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10375 $as_echo "no" >&6; }
10380 if test "$aros_kernel_ar" = ""; then
10381 # Extract the first word of "ar", so it can be a program name with args.
10382 set dummy
ar; ac_word
=$2
10383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10384 $as_echo_n "checking for $ac_word... " >&6; }
10385 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
10386 $as_echo_n "(cached) " >&6
10388 case $aros_kernel_ar in
10390 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10394 for as_dir
in $PATH
10397 test -z "$as_dir" && as_dir
=.
10398 for ac_exec_ext
in '' $ac_executable_extensions; do
10399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10400 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10412 if test -n "$aros_kernel_ar"; then
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10414 $as_echo "$aros_kernel_ar" >&6; }
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10417 $as_echo "no" >&6; }
10424 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
10425 set dummy
$aros_kernel_ar; ac_word
=$2
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10427 $as_echo_n "checking for $ac_word... " >&6; }
10428 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
10429 $as_echo_n "(cached) " >&6
10431 case $aros_kernel_ar in
10433 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
10436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10437 for as_dir
in $PATH
10440 test -z "$as_dir" && as_dir
=.
10441 for ac_exec_ext
in '' $ac_executable_extensions; do
10442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10443 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
10444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10454 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
10455 if test -n "$aros_kernel_ar"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
10457 $as_echo "$aros_kernel_ar" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10460 $as_echo "no" >&6; }
10466 if test "$aros_kernel_ar" = ""; then
10467 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10470 if test "$aros_kernel_ranlib" = ""; then
10471 if test "$cross_compiling" = "yes" ; then
10472 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
10473 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10475 $as_echo_n "checking for $ac_word... " >&6; }
10476 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
10477 $as_echo_n "(cached) " >&6
10479 case $aros_kernel_ranlib in
10481 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10485 for as_dir
in $PATH
10488 test -z "$as_dir" && as_dir
=.
10489 for ac_exec_ext
in '' $ac_executable_extensions; do
10490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10491 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10502 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10503 if test -n "$aros_kernel_ranlib"; then
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10505 $as_echo "$aros_kernel_ranlib" >&6; }
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10508 $as_echo "no" >&6; }
10513 if test "$GCC" = "yes"; then
10514 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
10515 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
10516 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10518 $as_echo_n "checking for $ac_word... " >&6; }
10519 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
10520 $as_echo_n "(cached) " >&6
10522 case $aros_kernel_ranlib in
10524 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10528 for as_dir
in `dirname $aros_gcc_ranlib`
10531 test -z "$as_dir" && as_dir
=.
10532 for ac_exec_ext
in '' $ac_executable_extensions; do
10533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10534 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10545 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10546 if test -n "$aros_kernel_ranlib"; then
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10548 $as_echo "$aros_kernel_ranlib" >&6; }
10550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10551 $as_echo "no" >&6; }
10556 if test "$aros_kernel_ranlib" = ""; then
10557 # Extract the first word of "ranlib", so it can be a program name with args.
10558 set dummy ranlib
; ac_word
=$2
10559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10560 $as_echo_n "checking for $ac_word... " >&6; }
10561 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
10562 $as_echo_n "(cached) " >&6
10564 case $aros_kernel_ranlib in
10566 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10570 for as_dir
in $PATH
10573 test -z "$as_dir" && as_dir
=.
10574 for ac_exec_ext
in '' $ac_executable_extensions; do
10575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10576 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10587 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10588 if test -n "$aros_kernel_ranlib"; then
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10590 $as_echo "$aros_kernel_ranlib" >&6; }
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10593 $as_echo "no" >&6; }
10600 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
10601 set dummy
$aros_kernel_ranlib; ac_word
=$2
10602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10603 $as_echo_n "checking for $ac_word... " >&6; }
10604 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
10605 $as_echo_n "(cached) " >&6
10607 case $aros_kernel_ranlib in
10609 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
10612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10613 for as_dir
in $PATH
10616 test -z "$as_dir" && as_dir
=.
10617 for ac_exec_ext
in '' $ac_executable_extensions; do
10618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10619 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
10620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10630 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
10631 if test -n "$aros_kernel_ranlib"; then
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
10633 $as_echo "$aros_kernel_ranlib" >&6; }
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10636 $as_echo "no" >&6; }
10642 if test "$aros_kernel_ranlib" = ""; then
10643 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10646 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10647 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
10648 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10651 crosstools_target
=tools-crosstools
10654 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10656 orig_target_cc
=$aros_kernel_cc
10657 orig_target_ld
=$aros_kernel_ld
10659 if test "$crosstools" != "yes"; then
10660 if test "$aros_target_cc" != ""; then
10661 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10662 set dummy
$aros_target_cc; ac_word
=$2
10663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10664 $as_echo_n "checking for $ac_word... " >&6; }
10665 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
10666 $as_echo_n "(cached) " >&6
10668 case $aros_target_cc in
10670 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10674 for as_dir
in $PATH
10677 test -z "$as_dir" && as_dir
=.
10678 for ac_exec_ext
in '' $ac_executable_extensions; do
10679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10680 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10691 aros_target_cc
=$ac_cv_path_aros_target_cc
10692 if test -n "$aros_target_cc"; then
10693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10694 $as_echo "$aros_target_cc" >&6; }
10696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10697 $as_echo "no" >&6; }
10701 if test "$aros_target_cc" = ""; then
10702 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10704 orig_target_cc
=$aros_target_cc
10706 if test "$aros_target_ld" != ""; then
10707 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10708 set dummy
$aros_target_ld; ac_word
=$2
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10710 $as_echo_n "checking for $ac_word... " >&6; }
10711 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
10712 $as_echo_n "(cached) " >&6
10714 case $aros_target_ld in
10716 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10720 for as_dir
in $PATH
10723 test -z "$as_dir" && as_dir
=.
10724 for ac_exec_ext
in '' $ac_executable_extensions; do
10725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10726 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10737 aros_target_ld
=$ac_cv_path_aros_target_ld
10738 if test -n "$aros_target_ld"; then
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10740 $as_echo "$aros_target_ld" >&6; }
10742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10743 $as_echo "no" >&6; }
10747 if test "$aros_target_ld" = ""; then
10748 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10750 orig_target_ld
=$aros_target_ld
10753 orig_target_cc
=$aros_target_cc
10754 orig_target_ld
=$aros_target_ld
10757 # Build crosstools if we have no C++ - temporary thing
10758 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10759 crosstools_cxx_target
=tools-crosstools
10762 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10763 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10764 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10765 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10766 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10767 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10768 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10770 # aros_cc_pre is a variable that is added to the front of the compiler name
10771 # in the generated aros-gcc shell script. We need this to enable the cache
10772 # to work across cleaned builds. Also, support DISTCC using the correct
10773 # environment variable.
10776 if test "x${DISTCC}" != "x" ; then
10777 if test "x${CCACHE}" != "x" ; then
10778 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10780 aros_cc_pre
="${DISTCC} "
10783 if test "x${CCACHE}" != "x" ; then
10784 aros_cc_pre
="${CCACHE} "
10788 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10790 aros_target_nostdinc_cflags
=-nostdinc
10792 aros_target_nostartup_ldflags
=-nostartfiles
10794 aros_target_nix_ldflags
=-nix
10796 aros_target_detach_ldflags
=-detach
10798 aros_target_nostdlib_ldflags
=-nostdlib
10802 if test "$crosstools" != "yes"; then
10803 if test "$GCC" = "yes"; then
10804 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10807 # We do not know which gcc version we are going to build and what we need to know
10808 # here is different for different versions so this will be set later during the
10809 # build of crosstools.
10810 aros_target_cc_path
=@aros_target_cc_path@
10812 aros_target_cc
="${prefix}-gcc"
10813 aros_target_as
="${prefix}-as"
10814 aros_target_ld
="${prefix}-ld"
10815 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10816 aros_target_objcopy
=${prefix}-objcopy
10817 aros_target_objdump
=${prefix}-objdump
10818 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10819 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10820 aros_target_strip
=${prefix}-strip
10821 aros_plain_nm
="${prefix}-nm"
10822 aros_plain_ar
="${prefix}-ar"
10824 # Find the system include path. We can suggest that an alternative is
10825 # used if we don't get it correct. The default is to use /usr/include.
10826 # Which is set in the aros_target_incl_def variable.
10828 # Check whether --enable-includes was given.
10829 if test "${enable_includes+set}" = set; then :
10830 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10832 aros_target_incl
=$aros_target_incl_def
10836 if test "$aros_kernel_includes" = ""; then
10837 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10838 # FIXME: for cross-compiling this should point to another location
10839 aros_kernel_includes
="-isystem $aros_target_incl"
10843 if test "$aros_kernel_includes" != "" ; then
10844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10845 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10846 if test "$aros_kernel_cc_includes" = "" ; then
10847 # Try to guess where the directory is.
10848 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10849 if test -d $aros_kernel_cc_includes; then
10850 # Check if there is also an include-fixed directory and add it
10851 # to kernel compiler's include path as it may contain some of
10852 # the headers we need.
10853 if test -d "$aros_kernel_cc_includes"-fixed; then
10854 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10857 # The directory doesn't exist, we need to do some more work.
10858 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10860 # These are the headers we're looking for.
10861 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10862 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10866 for h
in $headers; do
10867 # Which other headers are needed by each of the above?
10868 deps
=$
(echo "#include <$h>" | \
10869 $aros_kernel_cc -E -M - 2>/dev
/null | \
10870 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10872 # Copy all the needed headers to a directory beneath gendir.
10875 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10876 sed -n "s,^.*/include\(/.*\),\1,p")
10877 ! test -d $dir && mkdir
-p $dir
10878 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10884 $as_echo "$aros_kernel_cc_includes" >&6; }
10885 # Adding -nostdinc to kernel includes as they are always used together.
10886 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10889 if test "$crosstools" != "yes"; then
10890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10891 $as_echo_n "checking for the target compiler's include path... " >&6; }
10892 if test "$aros_target_cc_includes" = "" ; then
10893 #try to guess where the directory is
10894 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10895 if ! test -d $aros_target_cc_includes; then
10896 #the directory doesn't exist, we need to do some more work
10897 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10899 #these are the headers we're looking for
10900 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10901 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10905 for h
in $headers; do
10906 #which other headers each of the above headers needs?
10907 deps
=$
(echo "#include <$h>" | \
10908 $orig_target_cc -E -M - 2>/dev
/null | \
10909 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10911 #copy all the needed headers to a directory beneath gendir
10914 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10915 sed -n "s,^.*/include\(/.*\),\1,p")
10916 ! test -d $dir && mkdir
-p $dir
10917 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
10923 $as_echo "$aros_target_cc_includes" >&6; }
10925 # We do not know which gcc version we are going to build and what we need to know
10926 # here is different for different versions so this will be set later during the
10927 # build of crosstools.
10928 aros_target_cc_includes
=@aros_target_cc_includes@
10932 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10933 # On GCC >= 4.0 -iquote should be used
10937 save_cflags
="$CFLAGS"
10939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10940 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10941 if test "x-$crosstools" != "x-yes"; then
10942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10953 if ac_fn_c_try_compile
"$LINENO"; then :
10958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10960 # we do know it is supported for the smallest version of gcc we are going to build
10961 # we assume it's also supported by later versions
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10965 $as_echo "$has_iquote" >&6; }
10966 if test "x-$has_iquote" = "x-yes" ; then
10967 host_cflags_iquote
=-iquote
10968 host_cflags_iquote_end
=
10970 host_cflags_iquote
=-I
10971 host_cflags_iquote_end
=-I-
10973 kernel_cflags_iquote
=$host_cflags_iquote
10974 kernel_cflags_iquote_end
=$host_cflags_iquote_end
10975 if test "x-$cross_compiling" = "x-yes"; then
10976 CC
="$aros_kernel_cc"
10977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
10978 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
10979 if test "x-$crosstools" != "x-yes"; then
10980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10981 /* end confdefs.h. */
10991 if ac_fn_c_try_compile
"$LINENO"; then :
10992 use_no_stack_protector
="yes"
10994 use_no_stack_protector
="no"
10996 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10998 # we do know it is supported for the smallest version of gcc we are going to build
10999 # we assume it's also supported by later versions
11000 use_no_stack_protector
=yes
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
11003 $as_echo "$use_no_stack_protector" >&6; }
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11005 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11006 if test "x-$crosstools" != "x-yes"; then
11007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11018 if ac_fn_c_try_compile
"$LINENO"; then :
11023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11025 # we do know it is supported for the smallest version of gcc we are going to build
11026 # we assume it's also supported by later versions
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11030 $as_echo "$has_iquote" >&6; }
11031 if test "x-$has_iquote" = "x-yes" ; then
11032 kernel_cflags_iquote
=-iquote
11033 kernel_cflags_iquote_end
=
11035 kernel_cflags_iquote
=-I
11036 kernel_cflags_iquote_end
=-I-
11039 aros_cflags_iquote
=$kernel_cflags_iquote
11040 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
11041 if test "$orig_target_cc" != "$aros_kernel_cc"; then
11042 CC
="$orig_target_cc"
11043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
11044 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
11045 if test "x-$crosstools" != "x-yes"; then
11046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11047 /* end confdefs.h. */
11057 if ac_fn_c_try_compile
"$LINENO"; then :
11062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11064 # we do know it is supported for the smallest version of gcc we are going to build
11065 # we assume it's also supported by later versions
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
11069 $as_echo "$has_iquote" >&6; }
11070 if test "x-$has_iquote" = "x-yes" ; then
11071 aros_cflags_iquote
=-iquote
11072 aros_cflags_iquote_end
=
11074 aros_cflags_iquote
=-I
11075 aros_cflags_iquote_end
=-I-
11078 if test "x-$use_no_stack_protector" = "x-yes" ; then
11079 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
11082 #-----------------------------------------------------------------------------
11084 # Check if we can explicitly choose older version of symbol hashing
11086 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
11087 CC
="$aros_kernel_cc"
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
11089 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
11090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11091 /* end confdefs.h. */
11101 if ac_fn_c_try_link
"$LINENO"; then :
11102 use_hash_style
="yes"
11104 use_hash_style
="no"
11106 rm -f core conftest.err conftest.
$ac_objext \
11107 conftest
$ac_exeext conftest.
$ac_ext
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
11109 $as_echo "$use_hash_style" >&6; }
11110 if test "x-$use_hash_style" = "x-yes" ; then
11111 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
11114 CFLAGS
="$save_cflags"
11124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
11125 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
11127 # Check whether --with-resolution was given.
11128 if test "${with_resolution+set}" = set; then :
11129 withval
=$with_resolution; resolution
=$withval
11134 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
11135 if test "$resolution" = "yes" ; then
11138 if test "$resolution" = "no" ; then
11141 if test "$resolution" != "none" ; then
11142 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
11143 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
11144 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
11146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
11147 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
11148 aros_cv_default_wbwidth
=$aros_default_wbwidth
11149 aros_cv_default_wbheight
=$aros_default_wbheight
11150 aros_cv_default_wbdepth
=$aros_default_wbdepth
11152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
11153 $as_echo_n "checking if serial debug is enabled... " >&6; }
11155 # Check whether --with-serial-debug was given.
11156 if test "${with_serial_debug+set}" = set; then :
11157 withval
=$with_serial_debug; serial_debug
=$withval
11162 if test "$aros_serial_debug" = 0 ; then
11163 serial_debug_forced
=""
11164 if test "$serial_debug" = "yes" ; then
11167 if test "$serial_debug" = "no" ; then
11168 serial_debug
="none"
11171 serial_debug_forced
="(forced)"
11172 serial_debug
=$aros_serial_debug
11174 if test "$serial_debug" != "none" ; then
11175 aros_serial_debug
=$serial_debug
11176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
11177 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
11179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11180 $as_echo "no" >&6; }
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
11184 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
11185 # Check whether --enable-palm_debug_hack was given.
11186 if test "${enable_palm_debug_hack+set}" = set; then :
11187 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
11189 palm_debug_hack
="no"
11192 if test "$palm_debug_hack" = "yes" ; then
11193 aros_palm_debug_hack
="1"
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
11196 $as_echo "$palm_debug_hack" >&6; }
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
11199 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
11200 # Check whether --enable-usb30_code was given.
11201 if test "${enable_usb30_code+set}" = set; then :
11202 enableval
=$enable_usb30_code; usb30_code
="yes"
11207 if test "$usb30_code" = "yes" ; then
11208 aros_usb30_code
="1"
11210 aros_usb30_code
="0"
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
11213 $as_echo "$usb30_code" >&6; }
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
11216 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
11217 # Check whether --enable-nesting_supervisor was given.
11218 if test "${enable_nesting_supervisor+set}" = set; then :
11219 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
11221 nesting_supervisor
="no"
11224 if test "$nesting_supervisor" = "yes" ; then
11225 aros_nesting_supervisor
="1"
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
11228 $as_echo "$nesting_supervisor" >&6; }
11230 if test "$aros_enable_mmu" = "" ; then
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
11232 $as_echo_n "checking if MMU support is enabled... " >&6; }
11233 # Check whether --enable-mmu was given.
11234 if test "${enable_mmu+set}" = set; then :
11235 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
11237 aros_enable_mmu
="yes"
11240 if test "$aros_enable_mmu" = "" ; then
11241 aros_enable_mmu
="yes"
11243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
11244 $as_echo "$aros_enable_mmu" >&6; }
11246 if test "$aros_enable_mmu" = "no" ; then
11247 aros_enable_mmu
="0"
11249 aros_enable_mmu
="1"
11253 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
11255 if test "x-$need_dlopen" != "x-no" ; then
11256 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
11257 if test "x$ac_cv_func_dlopen" = x
""yes; then :
11263 if test "x-$have_dl" = "x-no" ; then
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11265 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11266 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11267 $as_echo_n "(cached) " >&6
11269 ac_check_lib_save_LIBS
=$LIBS
11271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11289 if ac_fn_c_try_link
"$LINENO"; then :
11290 ac_cv_lib_dl_dlopen
=yes
11292 ac_cv_lib_dl_dlopen
=no
11294 rm -f core conftest.err conftest.
$ac_objext \
11295 conftest
$ac_exeext conftest.
$ac_ext
11296 LIBS
=$ac_check_lib_save_LIBS
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11299 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11300 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
11302 aros_host_ldflags
="$aros_host_ldflags -ldl"
11308 if test "x-$have_dl" = "x-no" ; then
11309 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
11314 # Check whether --enable-x11_hidd was given.
11315 if test "${enable_x11_hidd+set}" = set; then :
11316 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
11318 x11_hidd
="$need_x11"
11321 case "x-$x11_hidd" in
11322 x-yes|x-no|x-auto
) ;;
11323 *) x11_hidd
="$need_x11" ;;
11328 if test "x-$x11_hidd" != "x-no" ; then
11330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
11331 $as_echo_n "checking for X... " >&6; }
11334 # Check whether --with-x was given.
11335 if test "${with_x+set}" = set; then :
11339 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11340 if test "x$with_x" = xno
; then
11341 # The user explicitly disabled X.
11344 case $x_includes,$x_libraries in #(
11345 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
11346 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
11347 $as_echo_n "(cached) " >&6
11349 # One or both of the vars are not set, and there is no cached value.
11350 ac_x_includes
=no ac_x_libraries
=no
11351 rm -f -r conftest.dir
11352 if mkdir conftest.dir
; then
11354 cat >Imakefile
<<'_ACEOF'
11356 @echo incroot='${INCROOT}'
11358 @echo usrlibdir='${USRLIBDIR}'
11360 @echo libdir='${LIBDIR}'
11362 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11363 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
11364 for ac_var
in incroot usrlibdir libdir
; do
11365 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
11367 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11368 for ac_extension
in a so sl dylib la dll
; do
11369 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
11370 test -f "$ac_im_libdir/libX11.$ac_extension"; then
11371 ac_im_usrlibdir
=$ac_im_libdir; break
11374 # Screen out bogus values from the imake configuration. They are
11375 # bogus both because they are the default anyway, and because
11376 # using them would break gcc on systems where it needs fixed includes.
11377 case $ac_im_incroot in
11378 /usr
/include
) ac_x_includes
= ;;
11379 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
11381 case $ac_im_usrlibdir in
11382 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
11383 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
11387 rm -f -r conftest.dir
11390 # Standard set of common directories for X headers.
11391 # Check X11 before X11Rn because it is often a symlink to the current release.
11405 /usr/local/X11/include
11406 /usr/local/X11R7/include
11407 /usr/local/X11R6/include
11408 /usr/local/X11R5/include
11409 /usr/local/X11R4/include
11411 /usr/local/include/X11
11412 /usr/local/include/X11R7
11413 /usr/local/include/X11R6
11414 /usr/local/include/X11R5
11415 /usr/local/include/X11R4
11419 /usr/XFree86/include/X11
11423 /usr/unsupported/include
11424 /usr/athena/include
11425 /usr/local/x11r5/include
11426 /usr/lpp/Xamples/include
11428 /usr/openwin/include
11429 /usr/openwin/share/include'
11431 if test "$ac_x_includes" = no
; then
11432 # Guess where to find include files, by looking for Xlib.h.
11433 # First, try using that file with no special directory specified.
11434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436 #include <X11/Xlib.h>
11438 if ac_fn_c_try_cpp
"$LINENO"; then :
11439 # We can compile using X headers with no special include directory.
11442 for ac_dir
in $ac_x_header_dirs; do
11443 if test -r "$ac_dir/X11/Xlib.h"; then
11444 ac_x_includes
=$ac_dir
11449 rm -f conftest.err conftest.i conftest.
$ac_ext
11450 fi # $ac_x_includes = no
11452 if test "$ac_x_libraries" = no
; then
11453 # Check for the libraries.
11454 # See if we find them without any special options.
11455 # Don't add to $LIBS permanently.
11458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11459 /* end confdefs.h. */
11460 #include <X11/Xlib.h>
11469 if ac_fn_c_try_link
"$LINENO"; then :
11471 # We can link X programs with no special library path.
11475 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
11477 # Don't even attempt the hair of trying to link an X program!
11478 for ac_extension
in a so sl dylib la dll
; do
11479 if test -r "$ac_dir/libX11.$ac_extension"; then
11480 ac_x_libraries
=$ac_dir
11486 rm -f core conftest.err conftest.
$ac_objext \
11487 conftest
$ac_exeext conftest.
$ac_ext
11488 fi # $ac_x_libraries = no
11490 case $ac_x_includes,$ac_x_libraries in #(
11491 no
,* |
*,no |
*\'*)
11492 # Didn't find X, or a directory has "'" in its name.
11493 ac_cv_have_x
="have_x=no";; #(
11495 # Record where we found X for the cache.
11496 ac_cv_have_x
="have_x=yes\
11497 ac_x_includes='$ac_x_includes'\
11498 ac_x_libraries='$ac_x_libraries'"
11504 eval "$ac_cv_have_x"
11507 if test "$have_x" != yes; then
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
11509 $as_echo "$have_x" >&6; }
11512 # If each of the values was on the command line, it overrides each guess.
11513 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11514 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11515 # Update the cache value to reflect the command line values.
11516 ac_cv_have_x
="have_x=yes\
11517 ac_x_includes='$x_includes'\
11518 ac_x_libraries='$x_libraries'"
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
11520 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
11525 for path
in $x_libraries
11527 x_cflags
="$x_cflags -L$path"
11530 for path
in $x_includes
11532 x_cflags
="$x_cflags -I$path"
11535 if test "x-$no_x" = "x-yes" ; then
11537 if test "x-$x11_hidd" != "x-auto" ; then
11538 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
11542 x11_hidd_target
=kernel-x11gfx-kobj
11545 # Check whether --enable-x11_shm was given.
11546 if test "${enable_x11_shm+set}" = set; then :
11547 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
11549 x11_hidd_shm
="auto"
11552 case "x-$x11_hidd_shm" in
11553 x-yes|x-no|x-auto
) ;;
11554 *) x11_hidd_shm
="auto" ;;
11559 if test "x-$x11_hidd_shm" != "x-no" ; then
11561 for ac_header
in sys
/ipc.h
11563 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11564 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
11565 cat >>confdefs.h
<<_ACEOF
11566 #define HAVE_SYS_IPC_H 1
11573 for ac_header
in sys
/shm.h
11575 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11576 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
11577 cat >>confdefs.h
<<_ACEOF
11578 #define HAVE_SYS_SHM_H 1
11586 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11588 save_cflags
="$CFLAGS"
11589 CFLAGS
="$CFLAGS $x_cflags"
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11591 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11592 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
11593 $as_echo_n "(cached) " >&6
11595 ac_check_lib_save_LIBS
=$LIBS
11596 LIBS
="-lXext $LIBS"
11597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11598 /* end confdefs.h. */
11600 /* Override any GCC internal prototype to avoid an error.
11601 Use char because int might match the return type of a GCC
11602 builtin and then its argument prototype would still apply. */
11606 char XShmQueryExtension ();
11610 return XShmQueryExtension ();
11615 if ac_fn_c_try_link
"$LINENO"; then :
11616 ac_cv_lib_Xext_XShmQueryExtension
=yes
11618 ac_cv_lib_Xext_XShmQueryExtension
=no
11620 rm -f core conftest.err conftest.
$ac_objext \
11621 conftest
$ac_exeext conftest.
$ac_ext
11622 LIBS
=$ac_check_lib_save_LIBS
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11625 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11626 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
11630 CFLAGS
="$save_cflags"
11634 if test "x-$have_xshm" = "x-yes" ; then
11635 DO_XSHM_SUPPORT
="1"
11636 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11637 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11639 DO_XSHM_SUPPORT
="0"
11643 # Check whether --enable-x11_vidmode was given.
11644 if test "${enable_x11_vidmode+set}" = set; then :
11645 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11647 x11_hidd_vidmode
="auto"
11650 case "x-$x11_hidd_vidmode" in
11651 x-yes|x-no|x-auto
) ;;
11652 *) x11_hidd_vidmode
="auto" ;;
11657 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11659 save_cflags
="$CFLAGS"
11660 CFLAGS
="$CFLAGS $x_cflags"
11661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11662 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11663 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
11664 $as_echo_n "(cached) " >&6
11666 ac_check_lib_save_LIBS
=$LIBS
11667 LIBS
="-lXxf86vm $LIBS"
11668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11669 /* end confdefs.h. */
11671 /* Override any GCC internal prototype to avoid an error.
11672 Use char because int might match the return type of a GCC
11673 builtin and then its argument prototype would still apply. */
11677 char XF86VidModeQueryExtension ();
11681 return XF86VidModeQueryExtension ();
11686 if ac_fn_c_try_link
"$LINENO"; then :
11687 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11689 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11691 rm -f core conftest.err conftest.
$ac_objext \
11692 conftest
$ac_exeext conftest.
$ac_ext
11693 LIBS
=$ac_check_lib_save_LIBS
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11696 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11697 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
11701 CFLAGS
="$save_cflags"
11704 if test "x-$have_vidmode" = "x-yes" ; then
11705 DO_VIDMODE_SUPPORT
="1"
11706 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11707 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11709 DO_VIDMODE_SUPPORT
="0"
11713 aros_host_x11_includes
=$x_includes
11714 aros_host_x11_libdirs
=$x_libraries
11718 # Check whether --enable-sdl_hidd was given.
11719 if test "${enable_sdl_hidd+set}" = set; then :
11720 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11725 case "x-$sdl_hidd" in
11726 x-yes|x-no|x-auto
) ;;
11727 *) sdl_hidd
="auto" ;;
11730 if test "x-$sdl_hidd" != "x-no" ; then
11733 # Check whether --with-sdl-prefix was given.
11734 if test "${with_sdl_prefix+set}" = set; then :
11735 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11741 # Check whether --with-sdl-exec-prefix was given.
11742 if test "${with_sdl_exec_prefix+set}" = set; then :
11743 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11748 # Check whether --enable-sdltest was given.
11749 if test "${enable_sdltest+set}" = set; then :
11750 enableval
=$enable_sdltest;
11756 if test x
$sdl_exec_prefix != x
; then
11757 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11758 if test x
${SDL_CONFIG+set} != xset
; then
11759 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11762 if test x
$sdl_prefix != x
; then
11763 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11764 if test x
${SDL_CONFIG+set} != xset
; then
11765 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11769 if test "x$prefix" != xNONE
; then
11770 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11772 # Extract the first word of "sdl-config", so it can be a program name with args.
11773 set dummy sdl-config
; ac_word
=$2
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11775 $as_echo_n "checking for $ac_word... " >&6; }
11776 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
11777 $as_echo_n "(cached) " >&6
11779 case $SDL_CONFIG in
11781 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11785 for as_dir
in $PATH
11788 test -z "$as_dir" && as_dir
=.
11789 for ac_exec_ext
in '' $ac_executable_extensions; do
11790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11791 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11792 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11799 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11803 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
11804 if test -n "$SDL_CONFIG"; then
11805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
11806 $as_echo "$SDL_CONFIG" >&6; }
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11809 $as_echo "no" >&6; }
11813 min_sdl_version
=1.2.10
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
11815 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
11817 if test "$SDL_CONFIG" = "no" ; then
11820 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
11821 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
11823 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
11824 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11825 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
11826 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11827 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
11828 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11829 if test "x$enable_sdltest" = "xyes" ; then
11830 ac_save_CFLAGS
="$CFLAGS"
11831 ac_save_CXXFLAGS
="$CXXFLAGS"
11832 ac_save_LIBS
="$LIBS"
11833 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11834 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11835 LIBS
="$LIBS $SDL_LIBS"
11837 if test "$cross_compiling" = yes; then :
11838 echo $ac_n "cross compiling; assumed OK... $ac_c"
11840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11844 #include <stdlib.h>
11845 #include <string.h>
11849 my_strdup (char *str)
11855 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11856 strcpy (new_str, str);
11864 int main (int argc, char *argv[])
11866 int major, minor, micro;
11869 /* This hangs on some systems (?)
11870 system ("touch conf.sdltest");
11872 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11874 /* HP/UX 9 (%@#!) writes to sscanf strings */
11875 tmp_version = my_strdup("$min_sdl_version");
11876 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11877 printf("%s, bad version string\n", "$min_sdl_version");
11881 if (($sdl_major_version > major) ||
11882 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11883 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11889 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11890 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11891 printf("*** best to upgrade to the required version.\n");
11892 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11893 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11894 printf("*** config.cache before re-running configure\n");
11901 if ac_fn_c_try_run
"$LINENO"; then :
11906 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11907 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11910 CFLAGS
="$ac_save_CFLAGS"
11911 CXXFLAGS
="$ac_save_CXXFLAGS"
11912 LIBS
="$ac_save_LIBS"
11915 if test "x$no_sdl" = x
; then
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11917 $as_echo "yes" >&6; }
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11921 $as_echo "no" >&6; }
11922 if test "$SDL_CONFIG" = "no" ; then
11923 echo "*** The sdl-config script installed by SDL could not be found"
11924 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11925 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11926 echo "*** full path to sdl-config."
11928 if test -f conf.sdltest
; then
11931 echo "*** Could not run SDL test program, checking why..."
11932 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11933 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11934 LIBS
="$LIBS $SDL_LIBS"
11935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11936 /* end confdefs.h. */
11941 int main(int argc, char *argv[])
11944 #define main K_and_R_C_main
11954 if ac_fn_c_try_link
"$LINENO"; then :
11955 echo "*** The test program compiled, but did not run. This usually means"
11956 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11957 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11958 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11959 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11960 echo "*** is required on your system"
11962 echo "*** If you have an old version installed, it is best to remove it, although"
11963 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11965 echo "*** The test program failed to compile or link. See the file config.log for the"
11966 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11967 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11968 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11970 rm -f core conftest.err conftest.
$ac_objext \
11971 conftest
$ac_exeext conftest.
$ac_ext
11972 CFLAGS
="$ac_save_CFLAGS"
11973 CXXFLAGS
="$ac_save_CXXFLAGS"
11974 LIBS
="$ac_save_LIBS"
11986 if test "x-$have_sdl" != "x-yes" ; then
11988 if test "x-$sdl_hidd" != "x-auto" ; then
11989 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
11993 sdl_hidd_target
=kernel-hidd-sdl
11994 aros_host_sdl_cflags
=SDL_CFLAGS
11995 aros_host_sdl_libs
=SDL_LIBS
11999 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12000 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
12005 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
12006 oss_library_target
=workbench-libs-oss-unix
12011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
12012 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
12013 # Check whether --enable-dbus was given.
12014 if test "${enable_dbus+set}" = set; then :
12015 enableval
=$enable_dbus; dbus
="yes"
12020 if test "$dbus" = "yes" ; then
12022 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
12023 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
12024 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
12025 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
12030 $as_echo "$dbus" >&6; }
12032 if test "$use_kernel_cc_wrapper" = "yes" ; then
12033 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
12048 # Compatability with other Amiga-like operation systems
12151 # Native version related
12154 # Palm native version related
12160 # Unix/Hosted version related
12166 # Apple iOS related
12191 # Collect-aros stuff: "-ius" to ignore undefined symbols
12194 # C compiler related
12197 case "$aros_flavour" in
12198 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
12199 aros_flavour
="emulation" ;;
12200 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
12201 aros_flavour
="emulation" ;;
12202 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
12203 aros_flavour
="standalone";;
12204 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12205 aros_flavour
="standalone";;
12206 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
12207 aros_flavour
="native" ;;
12208 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
12209 aros_flavour
="native" ;;
12210 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
12211 aros_flavour
="linklib" ;;
12212 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12213 aros_flavour
="palmnative" ;;
12214 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
12215 aros_flavour
="mac68knative" ;;
12216 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
12217 aros_flavour
="ppcnative" ;;
12220 if test ! -d ${aros_inc_dir} ; then
12221 ${MKDIR} ${aros_inc_dir}
12223 if test ! -d ${aros_geninc_dir} ; then
12224 ${MKDIR} ${aros_geninc_dir}
12226 if test ! -d ${aros_hostcfg_dir} ; then
12227 ${MKDIR} ${aros_hostcfg_dir}
12229 if test ! -d ${aros_targetcfg_dir} ; then
12230 ${MKDIR} ${aros_targetcfg_dir}
12232 if test ! -d ${aros_tools_dir} ; then
12233 ${MKDIR} ${aros_tools_dir}
12235 if test ! -d ${aros_scripts_dir} ; then
12236 ${MKDIR} ${aros_scripts_dir}
12239 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
12242 ac_config_commands
="$ac_config_commands compiler_executable"
12244 ac_config_commands
="$ac_config_commands genmf_executable"
12247 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_targetcfg_dir}/elf-specs:${elf_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}-elf-gcc:scripts/elf-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
12250 cat >confcache
<<\_ACEOF
12251 # This file is a shell script that caches the results of configure
12252 # tests run on this system so they can be shared between configure
12253 # scripts and configure runs, see configure's option --config-cache.
12254 # It is not useful on other systems. If it contains results you don't
12255 # want to keep, you may remove or edit it.
12257 # config.status only pays attention to the cache file if you give it
12258 # the --recheck option to rerun configure.
12260 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12261 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12262 # following values.
12266 # The following way of writing the cache mishandles newlines in values,
12267 # but we know of no workaround that is simple, portable, and efficient.
12268 # So, we kill variables containing newlines.
12269 # Ultrix sh set writes to stderr and can't be redirected directly,
12270 # and sets the high bit in the cache file unless we assign to the vars.
12272 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12273 eval ac_val
=\$
$ac_var
12277 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
12278 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
12281 _ | IFS | as_nl
) ;; #(
12282 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
12283 *) { eval $ac_var=; unset $ac_var;} ;;
12289 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12290 *${as_nl}ac_space
=\
*)
12291 # `set' does not quote correctly, so add quotes: double-quote
12292 # substitution turns \\\\ into \\, and sed turns \\ into \.
12295 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12298 # `set' quotes correctly as required by POSIX, so do not add quotes.
12299 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12308 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12310 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12312 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
12313 if test -w "$cache_file"; then
12314 test "x$cache_file" != "x/dev/null" &&
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
12316 $as_echo "$as_me: updating cache $cache_file" >&6;}
12317 cat confcache
>$cache_file
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
12320 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12325 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12326 # Let make expand exec_prefix.
12327 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12329 DEFS
=-DHAVE_CONFIG_H
12334 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
12335 # 1. Remove the extension, and $U if already installed.
12336 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
12337 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
12338 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12339 # will be set to the directory where LIBOBJS objects are built.
12340 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12341 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
12343 LIBOBJS
=$ac_libobjs
12345 LTLIBOBJS
=$ac_ltlibobjs
12349 : ${CONFIG_STATUS=./config.status}
12351 ac_clean_files_save
=$ac_clean_files
12352 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
12354 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
12356 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
12358 # Generated by $as_me.
12359 # Run this file to recreate the current configuration.
12360 # Compiler output produced by configure, useful for debugging
12361 # configure, is in config.log if it exists.
12364 ac_cs_recheck=false
12367 SHELL=\${CONFIG_SHELL-$SHELL}
12370 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
12371 ## -------------------- ##
12372 ## M4sh Initialization. ##
12373 ## -------------------- ##
12375 # Be more Bourne compatible
12376 DUALCASE
=1; export DUALCASE
# for MKS sh
12377 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
12380 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
12381 # is contrary to our usage. Disable this feature.
12382 alias -g '${1+"$@"}'='"$@"'
12383 setopt NO_GLOB_SUBST
12385 case `(set -o) 2>/dev/null` in #(
12397 # Printing a long string crashes Solaris 7 /usr/bin/printf.
12398 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
12399 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
12400 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
12401 # Prefer a ksh shell builtin over an external printf program on Solaris,
12402 # but without wasting forks for bash or zsh.
12403 if test -z "$BASH_VERSION$ZSH_VERSION" \
12404 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
12405 as_echo='print
-r --'
12406 as_echo_n='print
-rn --'
12407 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
12408 as_echo='printf %s
\n'
12409 as_echo_n='printf %s
'
12411 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
12412 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
12413 as_echo_n='/usr
/ucb
/echo -n'
12415 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
12416 as_echo_n_body='eval
12420 expr "X$arg" : "X\\(.*\\)$as_nl";
12421 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
12423 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
12425 export as_echo_n_body
12426 as_echo_n='sh
-c $as_echo_n_body as_echo
'
12428 export as_echo_body
12429 as_echo='sh
-c $as_echo_body as_echo
'
12432 # The user is always right.
12433 if test "${PATH_SEPARATOR+set}" != set; then
12435 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
12436 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
12443 # We need space, tab and new line, in precisely that order. Quoting is
12444 # there to prevent editors from complaining about space-tab.
12445 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12446 # splitting by setting IFS to empty value.)
12449 # Find who we are. Look in the path if we contain no directory separator.
12451 *[\\/]* ) as_myself=$0 ;;
12452 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12453 for as_dir in $PATH
12456 test -z "$as_dir" && as_dir=.
12457 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12463 # We did not find ourselves, most probably we were run as `sh COMMAND'
12464 # in which case we are not to be found in the path.
12465 if test "x$as_myself" = x
; then
12468 if test ! -f "$as_myself"; then
12469 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12473 # Unset variables that we do not need and which cause bugs (e.g. in
12474 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
12475 # suppresses any "Segmentation fault" message there. '((' could
12476 # trigger a bug in pdksh 5.2.14.
12477 for as_var
in BASH_ENV ENV MAIL MAILPATH
12478 do eval test x\
${$as_var+set} = xset \
12479 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
12492 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
12495 # as_fn_error STATUS ERROR [LINENO LOG_FD]
12496 # ----------------------------------------
12497 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
12498 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
12499 # script with STATUS, using 1 if that was 0.
12502 as_status
=$1; test $as_status -eq 0 && as_status
=1
12504 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
12505 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
12507 $as_echo "$as_me: error: $2" >&2
12508 as_fn_exit
$as_status
12512 # as_fn_set_status STATUS
12513 # -----------------------
12514 # Set $? to STATUS, without forking.
12515 as_fn_set_status
()
12518 } # as_fn_set_status
12520 # as_fn_exit STATUS
12521 # -----------------
12522 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
12526 as_fn_set_status
$1
12532 # Portably unset VAR.
12535 { eval $1=; unset $1;}
12537 as_unset
=as_fn_unset
12538 # as_fn_append VAR VALUE
12539 # ----------------------
12540 # Append the text in VALUE to the end of the definition contained in VAR. Take
12541 # advantage of any shell optimizations that allow amortized linear growth over
12542 # repeated appends, instead of the typical quadratic growth present in naive
12544 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
12545 eval 'as_fn_append ()
12556 # as_fn_arith ARG...
12557 # ------------------
12558 # Perform arithmetic evaluation on the ARGs, and store the result in the
12559 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12560 # must be portable across $(()) and expr.
12561 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12562 eval 'as_fn_arith ()
12569 as_val
=`expr "$@" || test $? -eq 1`
12574 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12575 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12581 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12582 as_basename
=basename
12587 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12593 as_me
=`$as_basename -- "$0" ||
12594 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12595 X"$0" : 'X\(//\)$' \| \
12596 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12598 sed '/^.*\/\([^/][^/]*\)\/*$/{
12612 # Avoid depending upon Character Ranges.
12613 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12614 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12615 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12616 as_cr_digits
='0123456789'
12617 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12619 ECHO_C
= ECHO_N
= ECHO_T
=
12620 case `echo -n x` in #(((((
12622 case `echo 'xy\c'` in
12623 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12625 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12632 rm -f conf$$ conf$$.exe conf$$.
file
12633 if test -d conf$$.dir
; then
12634 rm -f conf$$.dir
/conf$$.
file
12637 mkdir conf$$.dir
2>/dev
/null
12639 if (echo >conf$$.
file) 2>/dev
/null
; then
12640 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12642 # ... but there are two gotchas:
12643 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12644 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12645 # In both cases, we have to default to `cp -p'.
12646 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12648 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12656 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12657 rmdir conf$$.dir
2>/dev
/null
12662 # Create "$as_dir" as a directory, including parents if necessary.
12667 -*) as_dir
=.
/$as_dir;;
12669 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12673 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12674 *) as_qdir
=$as_dir;;
12676 as_dirs
="'$as_qdir' $as_dirs"
12677 as_dir
=`$as_dirname -- "$as_dir" ||
12678 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12679 X"$as_dir" : 'X\(//\)[^/]' \| \
12680 X"$as_dir" : 'X\(//\)$' \| \
12681 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12682 $as_echo X"$as_dir" |
12683 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12687 /^X\(\/\/\)[^/].*/{
12700 test -d "$as_dir" && break
12702 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12703 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
12707 if mkdir
-p .
2>/dev
/null
; then
12708 as_mkdir_p
='mkdir -p "$as_dir"'
12710 test -d .
/-p && rmdir .
/-p
12714 if test -x / >/dev
/null
2>&1; then
12715 as_test_x
='test -x'
12717 if ls -dL / >/dev
/null
2>&1; then
12724 if test -d "$1"; then
12730 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12731 ???[sx]*):;;*)false;;esac;fi
12735 as_executable_p
=$as_test_x
12737 # Sed expression to map a string onto a valid CPP name.
12738 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12740 # Sed expression to map a string onto a valid variable name.
12741 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12745 ## ----------------------------------- ##
12746 ## Main body of $CONFIG_STATUS script. ##
12747 ## ----------------------------------- ##
12749 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12752 # Save the log message, to keep $0 and so on meaningful, and to
12753 # report actual input values of CONFIG_FILES etc. instead of their
12754 # values after options handling.
12756 This file was extended by $as_me, which was
12757 generated by GNU Autoconf 2.67. Invocation command line was
12759 CONFIG_FILES = $CONFIG_FILES
12760 CONFIG_HEADERS = $CONFIG_HEADERS
12761 CONFIG_LINKS = $CONFIG_LINKS
12762 CONFIG_COMMANDS = $CONFIG_COMMANDS
12765 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12770 case $ac_config_files in *"
12771 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12774 case $ac_config_headers in *"
12775 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12779 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12780 # Files that config.status was made for.
12781 config_files="$ac_config_files"
12782 config_headers="$ac_config_headers"
12783 config_commands="$ac_config_commands"
12787 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12789 \`$as_me' instantiates files and other configuration actions
12790 from templates according to the current configuration. Unless the files
12791 and actions are specified as TAGs, all are instantiated by default.
12793 Usage: $0 [OPTION]... [TAG]...
12795 -h, --help print this help, then exit
12796 -V, --version print version number and configuration settings, then exit
12797 --config print configuration, then exit
12798 -q, --quiet, --silent
12799 do not print progress messages
12800 -d, --debug don't remove temporary files
12801 --recheck update $as_me by reconfiguring in the same conditions
12802 --file=FILE[:TEMPLATE]
12803 instantiate the configuration file FILE
12804 --header=FILE[:TEMPLATE]
12805 instantiate the configuration header FILE
12807 Configuration files:
12810 Configuration headers:
12813 Configuration commands:
12816 Report bugs to the package provider."
12819 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12820 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12823 configured by $0, generated by GNU Autoconf 2.67,
12824 with options \\"\$ac_cs_config\\"
12826 Copyright (C) 2010 Free Software Foundation, Inc.
12827 This config.status script is free software; the Free Software Foundation
12828 gives unlimited permission to copy, distribute and modify it."
12832 test -n "\$AWK" || AWK=awk
12835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12836 # The default lists apply if the user does not specify any file.
12842 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12843 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12847 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12859 # Handling of the options.
12860 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12862 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12863 $as_echo "$ac_cs_version"; exit ;;
12864 --config |
--confi |
--conf |
--con |
--co |
--c )
12865 $as_echo "$ac_cs_config"; exit ;;
12866 --debug |
--debu |
--deb |
--de |
--d |
-d )
12868 --file |
--fil |
--fi |
--f )
12871 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12872 '') as_fn_error $?
"missing file argument" ;;
12874 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12875 ac_need_defaults
=false
;;
12876 --header |
--heade |
--head |
--hea )
12879 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12881 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12882 ac_need_defaults
=false
;;
12884 # Conflict between --help and --header
12885 as_fn_error $?
"ambiguous option: \`$1'
12886 Try \`$0 --help' for more information.";;
12887 --help |
--hel |
-h )
12888 $as_echo "$ac_cs_usage"; exit ;;
12889 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12890 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12893 # This is an error.
12894 -*) as_fn_error $?
"unrecognized option: \`$1'
12895 Try \`$0 --help' for more information." ;;
12897 *) as_fn_append ac_config_targets
" $1"
12898 ac_need_defaults
=false
;;
12904 ac_configure_extra_args
=
12906 if $ac_cs_silent; then
12908 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12912 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12913 if \$ac_cs_recheck; then
12914 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12916 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12917 CONFIG_SHELL='$SHELL'
12918 export CONFIG_SHELL
12923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12927 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12928 ## Running $as_me. ##
12934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12939 aros_host_exe_suffix=${aros_host_exe_suffix}
12940 aros_tools_dir=${aros_tools_dir}
12941 aros_target_cpu=${aros_target_cpu}
12942 aros_target_arch=${aros_target_arch}
12943 aros_target_suffix=${aros_target_suffix}
12944 aros_target_nm_ln=${aros_target_nm_ln}
12945 aros_target_as_ln=${aros_target_as_ln}
12946 aros_target_ar_ln=${aros_target_ar_ln}
12947 aros_target_ranlib_ln=${aros_target_ranlib_ln}
12948 aros_target_objdump_ln=${aros_target_objdump_ln}
12949 aros_target_objcopy_ln=${aros_target_objcopy_ln}
12950 aros_target_strip_ln=${aros_target_strip_ln}
12951 aros_kernel_ld=${aros_kernel_ld}
12954 aros_tools_dir=${aros_tools_dir}
12959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12961 # Handling of arguments.
12962 for ac_config_target
in $ac_config_targets
12964 case $ac_config_target in
12965 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
12966 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
12967 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
12968 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12969 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
12970 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
12971 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
12972 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
12973 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
12974 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
12975 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
12976 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
12977 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
12978 "${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" ;;
12979 "${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc") CONFIG_FILES="$CONFIG_FILES ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc:scripts/elf-gcc.in" ;;
12980 "${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" ;;
12981 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
12982 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
12983 "${aros_gendir}/arch/all-android/bootstrap/app/default.properties") CONFIG_FILES
="$CONFIG_FILES ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in" ;;
12985 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
12990 # If the user did not use the arguments to specify the items to instantiate,
12991 # then the envvar interface is used. Set only those that are not.
12992 # We use the long form for the default assignment because of an extremely
12993 # bizarre bug on SunOS 4.1.3.
12994 if $ac_need_defaults; then
12995 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12996 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12997 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
13000 # Have a temporary directory for convenience. Make it in the build tree
13001 # simply because there is no reason against having it here, and in addition,
13002 # creating and moving files from /tmp can sometimes cause problems.
13003 # Hook for its removal unless debugging.
13004 # Note that there is a small window in which the directory will not be cleaned:
13005 # after its creation but before its name has been assigned to `$tmp'.
13009 trap 'exit_status=$?
13010 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
13012 trap 'as_fn_exit 1' 1 2 13 15
13014 # Create a (secure) tmp directory for tmp files.
13017 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
13018 test -n "$tmp" && test -d "$tmp"
13021 tmp
=.
/conf$$
-$RANDOM
13022 (umask 077 && mkdir
"$tmp")
13023 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
13025 # Set up the scripts for CONFIG_FILES section.
13026 # No need to generate them if there are no CONFIG_FILES.
13027 # This happens for instance with `./config.status config.h'.
13028 if test -n "$CONFIG_FILES"; then
13031 ac_cr
=`echo X | tr X '\015'`
13032 # On cygwin, bash can eat \r inside `` if the user requested igncr.
13033 # But we know of no other shell where ac_cr would be empty at this
13034 # point, so we can use a bashism as a fallback.
13035 if test "x$ac_cr" = x
; then
13036 eval ac_cr
=\$
\'\\r
\'
13038 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
13039 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
13042 ac_cs_awk_cr
=$ac_cr
13045 echo 'BEGIN {' >"$tmp/subs1.awk" &&
13050 echo "cat >conf$$subs.awk <<_ACEOF" &&
13051 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
13053 } >conf$$subs.sh ||
13054 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13055 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
13057 for ac_last_try in false false false false false :; do
13058 . ./conf$$subs.sh ||
13059 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13061 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
13062 if test $ac_delim_n = $ac_delim_num; then
13064 elif $ac_last_try; then
13065 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
13067 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13070 rm -f conf$$subs.sh
13072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13073 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
13077 s/^/S["/; s
/!.
*/"]=/
13087 s/\(.\{148\}\)..*/\1/
13089 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
13094 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13101 s/\(.\{148\}\)..*/\1/
13103 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
13107 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
13112 ' <conf$$subs.awk | sed '
13117 ' >>$CONFIG_STATUS || ac_write_fail=1
13118 rm -f conf$$subs.awk
13119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13121 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
13122 for (key in S) S_is_set[key] = 1
13128 nfields = split(line, field, "@
")
13130 len = length(field[1])
13131 for (i = 2; i < nfields; i++) {
13133 keylen = length(key)
13134 if (S_is_set[key]) {
13136 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
13137 len += length(value) + length(field[++i])
13148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13149 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
13150 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
13153 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
13154 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
13157 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
13158 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
13159 # trailing colons and then remove the whole line if VPATH becomes empty
13160 # (actually we leave an empty line to preserve line numbers).
13161 if test "x
$srcdir" = x.; then
13162 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
13180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
13181 fi # test -n "$CONFIG_FILES"
13183 # Set up the scripts for CONFIG_HEADERS section.
13184 # No need to generate them if there are no CONFIG_HEADERS.
13185 # This happens for instance with `./config.status Makefile'.
13186 if test -n "$CONFIG_HEADERS"; then
13187 cat >"$tmp/defines.
awk" <<\_ACAWK ||
13191 # Transform confdefs.h into an awk script `defines.awk', embedded as
13192 # here-document in config.status, that substitutes the proper values into
13193 # config.h.in to produce config.h.
13195 # Create a delimiter string that does not exist in confdefs.h, to ease
13196 # handling of long lines.
13198 for ac_last_try in false false :; do
13199 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
13200 if test -z "$ac_t"; then
13202 elif $ac_last_try; then
13203 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
13205 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
13209 # For the awk script, D is an array of macro values keyed by name,
13210 # likewise P contains macro parameters if any. Preserve backslash
13211 # newline sequences.
13213 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13215 s/.\{148\}/&'"$ac_delim"'/g
13218 s/^[ ]*#[ ]*define[ ][ ]*/ /
13225 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
13227 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
13231 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
13232 D["\
1"]=" \
3\\\\\\n
"\\/p
13234 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
13239 s/.\{148\}/&'"$ac_delim"'/g
13244 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
13247 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
13249 ' <confdefs.h | sed '
13250 s/'"$ac_delim"'/"\\\
13251 "/g' >>$CONFIG_STATUS || ac_write_fail=1
13253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13254 for (key in D) D_is_set[key] = 1
13257 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
13259 split(line, arg, " ")
13260 if (arg[1] == "#") {
13264 defundef
= substr
(arg
[1], 2)
13267 split(mac1
, mac2
, "(") #)
13269 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
13270 if (D_is_set
[macro
]) {
13271 # Preserve the white space surrounding the "#".
13272 print prefix
"define", macro P
[macro
] D
[macro
]
13275 # Replace #undef with comments. This is necessary, for example,
13276 # in the case of _POSIX_SOURCE, which is predefined and required
13277 # on some systems where configure will not decide to define it.
13278 if (defundef
== "undef") {
13279 print
"/*", prefix defundef
, macro
, "*/"
13287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13288 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
13289 fi # test -n "$CONFIG_HEADERS"
13292 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
13297 :[FHLC
]) ac_mode
=$ac_tag; continue;;
13299 case $ac_mode$ac_tag in
13301 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
13302 :[FH
]-) ac_tag
=-:-;;
13303 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
13320 -) ac_f
="$tmp/stdin";;
13321 *) # Look for the file first in the build tree, then in the source tree
13322 # (if the path is not absolute). The absolute path cannot be DOS-style,
13323 # because $ac_f cannot contain `:'.
13327 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
13329 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
13331 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
13332 as_fn_append ac_file_inputs
" '$ac_f'"
13335 # Let's still pretend it is `configure' which instantiates (i.e., don't
13336 # use $as_me), people would be surprised to read:
13337 # /* config.h. Generated by config.status. */
13338 configure_input
='Generated from '`
13339 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
13341 if test x
"$ac_file" != x-
; then
13342 configure_input
="$ac_file. $configure_input"
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
13344 $as_echo "$as_me: creating $ac_file" >&6;}
13346 # Neutralize special characters interpreted by sed in replacement strings.
13347 case $configure_input in #(
13348 *\
&* |
*\|
* |
*\\* )
13349 ac_sed_conf_input
=`$as_echo "$configure_input" |
13350 sed 's/[\\\\&|]/\\\\&/g'`;; #(
13351 *) ac_sed_conf_input
=$configure_input;;
13355 *:-:* |
*:-) cat >"$tmp/stdin" \
13356 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
13361 ac_dir
=`$as_dirname -- "$ac_file" ||
13362 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13363 X"$ac_file" : 'X\(//\)[^/]' \| \
13364 X"$ac_file" : 'X\(//\)$' \| \
13365 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13366 $as_echo X"$ac_file" |
13367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13371 /^X\(\/\/\)[^/].*/{
13384 as_dir
="$ac_dir"; as_fn_mkdir_p
13388 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13390 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
13391 # A ".." for each directory in $ac_dir_suffix.
13392 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
13393 case $ac_top_builddir_sub in
13394 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
13395 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
13398 ac_abs_top_builddir
=$ac_pwd
13399 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
13400 # for backward compatibility:
13401 ac_top_builddir
=$ac_top_build_prefix
13404 .
) # We are building in place.
13406 ac_top_srcdir
=$ac_top_builddir_sub
13407 ac_abs_top_srcdir
=$ac_pwd ;;
13408 [\\/]* | ?
:[\\/]* ) # Absolute name.
13409 ac_srcdir
=$srcdir$ac_dir_suffix;
13410 ac_top_srcdir
=$srcdir
13411 ac_abs_top_srcdir
=$srcdir ;;
13412 *) # Relative name.
13413 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
13414 ac_top_srcdir
=$ac_top_build_prefix$srcdir
13415 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
13417 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
13428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13429 # If the template does not know about datarootdir, expand it.
13430 # FIXME: This hack should be removed a few years after 2.60.
13431 ac_datarootdir_hack
=; ac_datarootdir_seen
=
13442 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
13443 *datarootdir
*) ac_datarootdir_seen
=yes;;
13444 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
13445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13446 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13449 ac_datarootdir_hack='
13450 s&@datadir@&$datadir&g
13451 s&@docdir@&$docdir&g
13452 s&@infodir@&$infodir&g
13453 s&@localedir@&$localedir&g
13454 s&@mandir@&$mandir&g
13455 s&\\\${datarootdir}&$datarootdir&g' ;;
13459 # Neutralize VPATH when `$srcdir' = `.'.
13460 # Shell code in configure.ac might set extrasub.
13461 # FIXME: do we really want to maintain this feature?
13462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
13463 ac_sed_extra="$ac_vpsub
13466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
13468 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
13469 s|@configure_input@|
$ac_sed_conf_input|
;t t
13470 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
13471 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
13472 s
&@srcdir@
&$ac_srcdir&;t t
13473 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
13474 s
&@top_srcdir@
&$ac_top_srcdir&;t t
13475 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
13476 s
&@builddir@
&$ac_builddir&;t t
13477 s
&@abs_builddir@
&$ac_abs_builddir&;t t
13478 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
13479 $ac_datarootdir_hack
13481 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
13482 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
13484 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13485 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
13486 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
13488 which seems to be undefined. Please make sure it is defined" >&5
13489 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
13490 which seems to be undefined. Please make sure it is defined" >&2;}
13494 -) cat "$tmp/out" && rm -f "$tmp/out";;
13495 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
13497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13503 if test x"$ac_file" != x-; then
13505 $as_echo "/* $configure_input */" \
13506 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
13507 } >"$tmp/config.h" \
13508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13509 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
13511 $as_echo "$as_me: $ac_file is unchanged" >&6;}
13514 mv "$tmp/config.h" "$ac_file" \
13515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
13518 $as_echo "/* $configure_input */" \
13519 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
13520 || as_fn_error $? "could not create -" "$LINENO" 5
13524 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
13525 $as_echo "$as_me: executing $ac_file commands" >&6;}
13530 case $ac_file$ac_mode in
13531 "compiler_executable":C)
13532 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
13534 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
13535 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
13539 chmod a+x ${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
13541 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
13542 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
13543 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
13544 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
13545 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
13546 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
13547 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
13549 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
13551 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
13559 ac_clean_files=$ac_clean_files_save
13561 test $ac_write_fail = 0 ||
13562 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
13565 # configure is writing to config.log, and then calls config.status.
13566 # config.status does its own redirection, appending to config.log.
13567 # Unfortunately, on DOS this fails, as config.log is still kept open
13568 # by configure, so config.status won't be able to
write to it
; its
13569 # output is simply discarded. So we exec the FD to /dev/null,
13570 # effectively closing config.log, so it can be properly (re)opened and
13571 # appended to by config.status. When coming back to configure, we
13572 # need to make the FD available again.
13573 if test "$no_create" != yes; then
13575 ac_config_status_args
=
13576 test "$silent" = yes &&
13577 ac_config_status_args
="$ac_config_status_args --quiet"
13579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13582 # would make configure fail if this is the last instruction.
13583 $ac_cs_success || as_fn_exit
1
13585 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13587 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13592 #XXX compatability...
13593 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13595 if test -n "$aros_shared_cflags" ; then
13596 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13597 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg