2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 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
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&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, 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
886 # Initialize some variables set by options.
888 ac_init_version
=false
889 ac_unrecognized_opts
=
891 # The variables have the same names as the options, with
892 # dashes changed to underlines.
900 program_transform_name
=s
,x
,x
,
908 # Installation directory options.
909 # These are left unexpanded so users can "make install exec_prefix=/foo"
910 # and all the variables that are supposed to be based on exec_prefix
911 # by default will actually change.
912 # Use braces instead of parens because sh, perl, etc. also accept them.
913 # (The list follows the same order as the GNU Coding Standards.)
914 bindir
='${exec_prefix}/bin'
915 sbindir
='${exec_prefix}/sbin'
916 libexecdir
='${exec_prefix}/libexec'
917 datarootdir
='${prefix}/share'
918 datadir
='${datarootdir}'
919 sysconfdir
='${prefix}/etc'
920 sharedstatedir
='${prefix}/com'
921 localstatedir
='${prefix}/var'
922 includedir
='${prefix}/include'
923 oldincludedir
='/usr/include'
924 docdir
='${datarootdir}/doc/${PACKAGE}'
925 infodir
='${datarootdir}/info'
930 libdir
='${exec_prefix}/lib'
931 localedir
='${datarootdir}/locale'
932 mandir
='${datarootdir}/man'
938 # If the previous option needs an argument, assign it.
939 if test -n "$ac_prev"; then
940 eval $ac_prev=\
$ac_option
946 *=*) 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
1554 (default
=$default_android_ndk).
1555 --with-sdk-version=LEVEL
1556 Use Android SDK
for API LEVEL
(default
=8).
1557 --with-ndk-version=LEVEL
1558 Use Android NDK
for API LEVEL
(default
=9).
1559 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1560 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1561 --with-portssources=DIR Where to download sourcecode
for external ports
1562 --with-bootloader=NAME Use a specific bootloader
1563 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1564 --with-theme=NAME Use a specific GUI Theme
1565 --with-resolution=XRESxYRESxDEPTH
1566 Default resolution of the initial WorkbenchScreen
1567 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1568 --with-x use the X Window System
1569 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1570 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1572 Some influential environment variables
:
1573 CC C compiler
command
1574 CFLAGS C compiler flags
1575 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1576 nonstandard directory
<lib dir
>
1577 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1578 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1579 you have headers
in a nonstandard directory
<include dir
>
1581 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1583 Use these variables to override the choices made by
`configure' or to help
1584 it to find libraries and programs with nonstandard names/locations.
1586 Report bugs to the package provider.
1591 if test "$ac_init_help" = "recursive"; then
1592 # If there are subdirs, report their specific --help.
1593 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1594 test -d "$ac_dir" ||
1595 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1602 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1603 # A ".." for each directory in $ac_dir_suffix.
1604 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1605 case $ac_top_builddir_sub in
1606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1610 ac_abs_top_builddir=$ac_pwd
1611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1612 # for backward compatibility:
1613 ac_top_builddir=$ac_top_build_prefix
1616 .) # We are building in place.
1618 ac_top_srcdir=$ac_top_builddir_sub
1619 ac_abs_top_srcdir=$ac_pwd ;;
1620 [\\/]* | ?:[\\/]* ) # Absolute name.
1621 ac_srcdir=$srcdir$ac_dir_suffix;
1622 ac_top_srcdir=$srcdir
1623 ac_abs_top_srcdir=$srcdir ;;
1625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1626 ac_top_srcdir=$ac_top_build_prefix$srcdir
1627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1631 cd "$ac_dir" || { ac_status=$?; continue; }
1632 # Check for guested configure.
1633 if test -f "$ac_srcdir/configure.gnu"; then
1635 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1636 elif test -f "$ac_srcdir/configure"; then
1638 $SHELL "$ac_srcdir/configure" --help=recursive
1640 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1642 cd "$ac_pwd" || { ac_status=$?; break; }
1646 test -n "$ac_init_help" && exit $ac_status
1647 if $ac_init_version; then
1650 generated by GNU Autoconf 2.65
1652 Copyright (C) 2009 Free Software Foundation, Inc.
1653 This configure script is free software; the Free Software Foundation
1654 gives unlimited permission to copy, distribute and modify it.
1659 ## ------------------------ ##
1660 ## Autoconf initialization. ##
1661 ## ------------------------ ##
1663 # ac_fn_c_try_compile LINENO
1664 # --------------------------
1665 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1666 ac_fn_c_try_compile ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 rm -f conftest.$ac_objext
1670 if { { ac_try="$ac_compile"
1672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1673 *) ac_try_echo
=$ac_try;;
1675 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1676 $as_echo "$ac_try_echo"; } >&5
1677 (eval "$ac_compile") 2>conftest.err
1679 if test -s conftest.err
; then
1680 grep -v '^ *+' conftest.err
>conftest.er1
1681 cat conftest.er1
>&5
1682 mv -f conftest.er1 conftest.err
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && {
1686 test -z "$ac_c_werror_flag" ||
1687 test ! -s conftest.err
1688 } && test -s conftest.
$ac_objext; then :
1691 $as_echo "$as_me: failed program was:" >&5
1692 sed 's/^/| /' conftest.
$ac_ext >&5
1696 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1697 as_fn_set_status
$ac_retval
1699 } # ac_fn_c_try_compile
1701 # ac_fn_c_try_cpp LINENO
1702 # ----------------------
1703 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1706 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1707 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1709 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1716 if test -s conftest.err; then
1717 grep -v '^ *+' conftest.err >conftest.er1
1718 cat conftest.er1 >&5
1719 mv -f conftest.er1 conftest.err
1721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1722 test $ac_status = 0; } >/dev/null && {
1723 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1724 test ! -s conftest.err
1728 $as_echo "$as_me: failed program was:" >&5
1729 sed 's/^/| /' conftest.$ac_ext >&5
1733 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1734 as_fn_set_status $ac_retval
1738 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1739 # -------------------------------------------------------
1740 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1741 # the include files in INCLUDES and setting the cache variable VAR
1743 ac_fn_c_check_header_mongrel ()
1745 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1746 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1750 $as_echo_n "(cached) " >&6
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1754 $as_echo "$ac_res" >&6; }
1756 # Is the header compilable?
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1758 $as_echo_n "checking $2 usability... " >&6; }
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1764 if ac_fn_c_try_compile "$LINENO"; then :
1765 ac_header_compiler=yes
1767 ac_header_compiler=no
1769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1771 $as_echo "$ac_header_compiler" >&6; }
1773 # Is the header present?
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1775 $as_echo_n "checking $2 presence... " >&6; }
1776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1777 /* end confdefs.h. */
1780 if ac_fn_c_try_cpp "$LINENO"; then :
1781 ac_header_preproc=yes
1783 ac_header_preproc=no
1785 rm -f conftest.err conftest.$ac_ext
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1787 $as_echo "$ac_header_preproc" >&6; }
1789 # So? What about this header?
1790 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1793 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1795 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1799 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1801 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1803 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1805 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1807 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1811 $as_echo_n "checking for $2... " >&6; }
1812 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1813 $as_echo_n "(cached) " >&6
1815 eval "$3=\$ac_header_compiler"
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1819 $as_echo "$ac_res" >&6; }
1821 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 } # ac_fn_c_check_header_mongrel
1825 # ac_fn_c_try_run LINENO
1826 # ----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1828 # that executables *can* be run.
1831 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1832 if { { ac_try="$ac_link"
1834 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1835 *) ac_try_echo
=$ac_try;;
1837 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>&5
1841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1842 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1843 { { case "(($ac_try" in
1844 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1845 *) ac_try_echo=$ac_try;;
1847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_try") 2>&5
1851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1852 test $ac_status = 0; }; }; then :
1855 $as_echo "$as_me: program exited with status $ac_status" >&5
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1859 ac_retval=$ac_status
1861 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1862 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1863 as_fn_set_status $ac_retval
1867 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1868 # -------------------------------------------------------
1869 # Tests whether HEADER exists and can be compiled using the include files in
1870 # INCLUDES, setting the cache variable VAR accordingly.
1871 ac_fn_c_check_header_compile ()
1873 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1875 $as_echo_n "checking for $2... " >&6; }
1876 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1877 $as_echo_n "(cached) " >&6
1879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1880 /* end confdefs.h. */
1884 if ac_fn_c_try_compile "$LINENO"; then :
1889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1893 $as_echo "$ac_res" >&6; }
1894 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896 } # ac_fn_c_check_header_compile
1898 # ac_fn_c_try_link LINENO
1899 # -----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded.
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 rm -f conftest.$ac_objext conftest$ac_exeext
1905 if { { ac_try="$ac_link"
1907 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1908 *) ac_try_echo
=$ac_try;;
1910 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_link") 2>conftest.err
1914 if test -s conftest.err
; then
1915 grep -v '^ *+' conftest.err
>conftest.er1
1916 cat conftest.er1
>&5
1917 mv -f conftest.er1 conftest.err
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && {
1921 test -z "$ac_c_werror_flag" ||
1922 test ! -s conftest.err
1923 } && test -s conftest
$ac_exeext && {
1924 test "$cross_compiling" = yes ||
1925 $as_test_x conftest
$ac_exeext
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.
$ac_ext >&5
1934 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1935 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1936 # interfere with the next link command; also delete a directory that is
1937 # left behind by Apple's compiler. We do this before executing the actions.
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1940 as_fn_set_status
$ac_retval
1942 } # ac_fn_c_try_link
1944 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1945 # ----------------------------------------------------
1946 # Tries to find if the field MEMBER exists in type AGGR, after including
1947 # INCLUDES, setting cache variable VAR accordingly.
1948 ac_fn_c_check_member
()
1950 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1952 $as_echo_n "checking for $2.$3... " >&6; }
1953 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1954 $as_echo_n "(cached) " >&6
1956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1969 if ac_fn_c_try_compile
"$LINENO"; then :
1972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1973 /* end confdefs.h. */
1979 if (sizeof ac_aggr.$3)
1985 if ac_fn_c_try_compile
"$LINENO"; then :
1990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1997 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1999 } # ac_fn_c_check_member
2001 # ac_fn_c_check_decl LINENO SYMBOL VAR
2002 # ------------------------------------
2003 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2004 ac_fn_c_check_decl
()
2006 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2008 $as_echo_n "checking whether $2 is declared... " >&6; }
2009 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2010 $as_echo_n "(cached) " >&6
2012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2026 if ac_fn_c_try_compile
"$LINENO"; then :
2031 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2035 $as_echo "$ac_res" >&6; }
2036 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2038 } # ac_fn_c_check_decl
2040 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2041 # -------------------------------------------
2042 # Tests whether TYPE exists after having included INCLUDES, setting cache
2043 # variable VAR accordingly.
2044 ac_fn_c_check_type
()
2046 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2048 $as_echo_n "checking for $2... " >&6; }
2049 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2050 $as_echo_n "(cached) " >&6
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2065 if ac_fn_c_try_compile
"$LINENO"; then :
2066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2078 if ac_fn_c_try_compile
"$LINENO"; then :
2083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2085 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2089 $as_echo "$ac_res" >&6; }
2090 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2092 } # ac_fn_c_check_type
2094 # ac_fn_c_check_func LINENO FUNC VAR
2095 # ----------------------------------
2096 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2097 ac_fn_c_check_func
()
2099 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2101 $as_echo_n "checking for $2... " >&6; }
2102 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2103 $as_echo_n "(cached) " >&6
2105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2107 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2108 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2109 #define $2 innocuous_$2
2111 /* System header to define __stub macros and hopefully few prototypes,
2112 which can conflict with char $2 (); below.
2113 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2114 <limits.h> exists even on freestanding compilers. */
2117 # include <limits.h>
2119 # include <assert.h>
2124 /* Override any GCC internal prototype to avoid an error.
2125 Use char because int might match the return type of a GCC
2126 builtin and then its argument prototype would still apply. */
2131 /* The GNU C library defines this for functions which it implements
2132 to always fail with ENOSYS. Some functions are actually named
2133 something starting with __ and the normal name is an alias. */
2134 #if defined __stub_$2 || defined __stub___$2
2146 if ac_fn_c_try_link
"$LINENO"; then :
2151 rm -f core conftest.err conftest.
$ac_objext \
2152 conftest
$ac_exeext conftest.
$ac_ext
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2156 $as_echo "$ac_res" >&6; }
2157 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2159 } # ac_fn_c_check_func
2160 cat >config.log
<<_ACEOF
2161 This file contains any messages produced by compilers while
2162 running configure, to aid debugging if configure makes a mistake.
2164 It was created by $as_me, which was
2165 generated by GNU Autoconf 2.65. Invocation command line was
2177 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2178 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2179 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2180 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2181 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2183 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2184 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2186 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2187 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2188 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2189 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2190 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2191 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2192 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2200 test -z "$as_dir" && as_dir
=.
2201 $as_echo "PATH: $as_dir"
2217 # Keep a trace of the command line.
2218 # Strip out --no-create and --no-recursion so they do not pile up.
2219 # Strip out --silent because we don't want to record it for future runs.
2220 # Also quote any args containing shell meta-characters.
2221 # Make two passes to allow for proper duplicate-argument suppression.
2225 ac_must_keep_next
=false
2231 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2232 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2233 |
-silent |
--silent |
--silen |
--sile |
--sil)
2236 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2239 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2241 as_fn_append ac_configure_args1
" '$ac_arg'"
2242 if test $ac_must_keep_next = true
; then
2243 ac_must_keep_next
=false
# Got value, back to normal.
2246 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2247 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2248 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2249 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2250 case "$ac_configure_args0 " in
2251 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2254 -* ) ac_must_keep_next
=true
;;
2257 as_fn_append ac_configure_args
" '$ac_arg'"
2262 { ac_configure_args0
=; unset ac_configure_args0
;}
2263 { ac_configure_args1
=; unset ac_configure_args1
;}
2265 # When interrupted or exit'd, cleanup temporary files, and complete
2266 # config.log. We remove comments because anyway the quotes in there
2267 # would cause problems or look ugly.
2268 # WARNING: Use '\'' to represent an apostrophe within the trap.
2269 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2270 trap 'exit_status=$?
2271 # Save into config.log some information that might help in debugging.
2276 ## ---------------- ##
2277 ## Cache variables. ##
2278 ## ---------------- ##
2281 # The following way of writing the cache mishandles newlines in values,
2283 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2284 eval ac_val=\$$ac_var
2288 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2289 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2292 _ | IFS | as_nl) ;; #(
2293 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2294 *) { eval $ac_var=; unset $ac_var;} ;;
2299 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2300 *${as_nl}ac_space=\ *)
2302 "s/'\''/'\''\\\\'\'''\''/g;
2303 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2306 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2314 ## ----------------- ##
2315 ## Output variables. ##
2316 ## ----------------- ##
2319 for ac_var in $ac_subst_vars
2321 eval ac_val=\$$ac_var
2323 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2325 $as_echo "$ac_var='\''$ac_val'\''"
2329 if test -n "$ac_subst_files"; then
2331 ## ------------------- ##
2332 ## File substitutions. ##
2333 ## ------------------- ##
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
2357 test "$ac_signal" != 0 &&
2358 $as_echo "$as_me: caught signal $ac_signal"
2359 $as_echo "$as_me: exit $exit_status"
2361 rm -f core *.core core.conftest.* &&
2362 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2365 for ac_signal
in 1 2 13 15; do
2366 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2370 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2371 rm -f -r conftest
* confdefs.h
2373 $as_echo "/* confdefs.h */" > confdefs.h
2375 # Predefined preprocessor variables.
2377 cat >>confdefs.h
<<_ACEOF
2378 #define PACKAGE_NAME "$PACKAGE_NAME"
2381 cat >>confdefs.h
<<_ACEOF
2382 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2385 cat >>confdefs.h
<<_ACEOF
2386 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2389 cat >>confdefs.h
<<_ACEOF
2390 #define PACKAGE_STRING "$PACKAGE_STRING"
2393 cat >>confdefs.h
<<_ACEOF
2394 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2397 cat >>confdefs.h
<<_ACEOF
2398 #define PACKAGE_URL "$PACKAGE_URL"
2402 # Let the site file select an alternate cache file if it wants to.
2403 # Prefer an explicitly selected file to automatically selected ones.
2406 if test -n "$CONFIG_SITE"; then
2407 ac_site_file1
=$CONFIG_SITE
2408 elif test "x$prefix" != xNONE
; then
2409 ac_site_file1
=$prefix/share
/config.site
2410 ac_site_file2
=$prefix/etc
/config.site
2412 ac_site_file1
=$ac_default_prefix/share
/config.site
2413 ac_site_file2
=$ac_default_prefix/etc
/config.site
2415 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2417 test "x$ac_site_file" = xNONE
&& continue
2418 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2420 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2421 sed 's/^/| /' "$ac_site_file" >&5
2426 if test -r "$cache_file"; then
2427 # Some versions of bash will fail to source /dev/null (special files
2428 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2429 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2431 $as_echo "$as_me: loading cache $cache_file" >&6;}
2433 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2434 *) .
"./$cache_file";;
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2439 $as_echo "$as_me: creating cache $cache_file" >&6;}
2443 as_fn_append ac_header_list
" stdlib.h"
2444 as_fn_append ac_header_list
" unistd.h"
2445 as_fn_append ac_header_list
" sys/param.h"
2446 # Check that the precious variables saved in the cache have kept the same
2448 ac_cache_corrupted
=false
2449 for ac_var
in $ac_precious_vars; do
2450 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2451 eval ac_new_set
=\
$ac_env_${ac_var}_set
2452 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2453 eval ac_new_val
=\
$ac_env_${ac_var}_value
2454 case $ac_old_set,$ac_new_set in
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2457 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2458 ac_cache_corrupted
=: ;;
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2461 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2462 ac_cache_corrupted
=: ;;
2465 if test "x$ac_old_val" != "x$ac_new_val"; then
2466 # differences in whitespace do not lead to failure.
2467 ac_old_val_w
=`echo x $ac_old_val`
2468 ac_new_val_w
=`echo x $ac_new_val`
2469 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2471 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2472 ac_cache_corrupted
=:
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2475 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2476 eval $ac_var=\
$ac_old_val
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2479 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2481 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2484 # Pass precious variables to config.status.
2485 if test "$ac_new_set" = set; then
2487 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2488 *) ac_arg
=$ac_var=$ac_new_val ;;
2490 case " $ac_configure_args " in
2491 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2492 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2496 if $ac_cache_corrupted; then
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2498 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2500 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2501 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2503 ## -------------------- ##
2504 ## Main body of script. ##
2505 ## -------------------- ##
2508 ac_cpp
='$CPP $CPPFLAGS'
2509 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2510 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2511 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2516 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2517 for ac_t
in install-sh
install.sh shtool
; do
2518 if test -f "$ac_dir/$ac_t"; then
2520 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2525 if test -z "$ac_aux_dir"; then
2526 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2529 # These three variables are undocumented and unsupported,
2530 # and are intended to be withdrawn in a future Autoconf release.
2531 # They can cause serious problems if a builder's source tree is in a directory
2532 # whose full name contains unusual characters.
2533 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2534 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2535 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2539 # Check what host we are running on.
2540 # If a target is not suggested, we use this one.
2541 # Note that what we call a target, Autoconf calls a host.
2542 # Make sure we can run config.sub.
2543 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2544 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2547 $as_echo_n "checking build system type... " >&6; }
2548 if test "${ac_cv_build+set}" = set; then :
2549 $as_echo_n "(cached) " >&6
2551 ac_build_alias
=$build_alias
2552 test "x$ac_build_alias" = x
&&
2553 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2554 test "x$ac_build_alias" = x
&&
2555 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2556 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2557 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2561 $as_echo "$ac_cv_build" >&6; }
2562 case $ac_cv_build in
2564 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2567 ac_save_IFS
=$IFS; IFS
='-'
2573 # Remember, the first character of IFS is used to create $*,
2574 # except with old shells:
2577 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2581 $as_echo_n "checking host system type... " >&6; }
2582 if test "${ac_cv_host+set}" = set; then :
2583 $as_echo_n "(cached) " >&6
2585 if test "x$host_alias" = x
; then
2586 ac_cv_host
=$ac_cv_build
2588 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2589 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2594 $as_echo "$ac_cv_host" >&6; }
2597 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2600 ac_save_IFS
=$IFS; IFS
='-'
2606 # Remember, the first character of IFS is used to create $*,
2607 # except with old shells:
2610 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2614 # The AROS target is slightly different to the normal GNU style
2615 # format. We don't have the middle part, and we reverse the order
2616 # of the $(CPU) and $(OS) bits.
2618 # Don't strip the version of the target yet, it might be
2619 # useful on some systems.
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2622 $as_echo_n "checking for AROS style target... " >&6; }
2624 if test "$target" = "NONE" ; then
2625 target
=$host_os-$host_cpu
2627 if test "$target" = "" ; then
2628 target
=$host_os-$host_cpu
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2632 $as_echo "$target" >&6; }
2634 if test "$host_os" = "mingw32" ; then
2638 #don't know where else to put this...
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2640 $as_echo_n "checking building AROS in... " >&6; }
2641 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2642 AROS_BUILDDIR_UNIX
=${PWD}
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2644 $as_echo "$AROS_BUILDDIR" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2647 $as_echo_n "checking AROS source in... " >&6; }
2648 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2651 $as_echo "$SRCDIR" >&6; }
2653 # Parse the target field into something useful.
2655 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2656 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2659 aros_default_wbwidth
=800
2660 aros_default_wbheight
=600
2661 aros_default_wbdepth
=4
2664 # The first step is to find the host binaries.
2665 # Check for a compiler.
2667 ac_cpp
='$CPP $CPPFLAGS'
2668 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2669 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2670 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2671 if test -n "$ac_tool_prefix"; then
2672 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2673 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2675 $as_echo_n "checking for $ac_word... " >&6; }
2676 if test "${ac_cv_prog_CC+set}" = set; then :
2677 $as_echo_n "(cached) " >&6
2679 if test -n "$CC"; then
2680 ac_cv_prog_CC
="$CC" # Let the user override the test.
2682 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2686 test -z "$as_dir" && as_dir
=.
2687 for ac_exec_ext
in '' $ac_executable_extensions; do
2688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2689 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2700 if test -n "$CC"; then
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2702 $as_echo "$CC" >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2705 $as_echo "no" >&6; }
2710 if test -z "$ac_cv_prog_CC"; then
2712 # Extract the first word of "gcc", so it can be a program name with args.
2713 set dummy gcc
; ac_word
=$2
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2715 $as_echo_n "checking for $ac_word... " >&6; }
2716 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2717 $as_echo_n "(cached) " >&6
2719 if test -n "$ac_ct_CC"; then
2720 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2726 test -z "$as_dir" && as_dir
=.
2727 for ac_exec_ext
in '' $ac_executable_extensions; do
2728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2729 ac_cv_prog_ac_ct_CC
="gcc"
2730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2739 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2740 if test -n "$ac_ct_CC"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2742 $as_echo "$ac_ct_CC" >&6; }
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2745 $as_echo "no" >&6; }
2748 if test "x$ac_ct_CC" = x
; then
2751 case $cross_compiling:$ac_tool_warned in
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2755 ac_tool_warned
=yes ;;
2763 if test -z "$CC"; then
2764 if test -n "$ac_tool_prefix"; then
2765 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2766 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2768 $as_echo_n "checking for $ac_word... " >&6; }
2769 if test "${ac_cv_prog_CC+set}" = set; then :
2770 $as_echo_n "(cached) " >&6
2772 if test -n "$CC"; then
2773 ac_cv_prog_CC
="$CC" # Let the user override the test.
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2782 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 if test -n "$CC"; then
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2795 $as_echo "$CC" >&6; }
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2798 $as_echo "no" >&6; }
2804 if test -z "$CC"; then
2805 # Extract the first word of "cc", so it can be a program name with args.
2806 set dummy cc
; ac_word
=$2
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2808 $as_echo_n "checking for $ac_word... " >&6; }
2809 if test "${ac_cv_prog_CC+set}" = set; then :
2810 $as_echo_n "(cached) " >&6
2812 if test -n "$CC"; then
2813 ac_cv_prog_CC
="$CC" # Let the user override the test.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2824 ac_prog_rejected
=yes
2828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2835 if test $ac_prog_rejected = yes; then
2836 # We found a bogon in the path, so make sure we never use it.
2837 set dummy
$ac_cv_prog_CC
2839 if test $# != 0; then
2840 # We chose a different compiler from the bogus one.
2841 # However, it has the same basename, so the bogon will be chosen
2842 # first if we set CC to just the basename; use the full file name.
2844 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2850 if test -n "$CC"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2852 $as_echo "$CC" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2860 if test -z "$CC"; then
2861 if test -n "$ac_tool_prefix"; then
2862 for ac_prog
in cl.exe
2864 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2865 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2867 $as_echo_n "checking for $ac_word... " >&6; }
2868 if test "${ac_cv_prog_CC+set}" = set; then :
2869 $as_echo_n "(cached) " >&6
2871 if test -n "$CC"; then
2872 ac_cv_prog_CC
="$CC" # Let the user override the test.
2874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2878 test -z "$as_dir" && as_dir
=.
2879 for ac_exec_ext
in '' $ac_executable_extensions; do
2880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2881 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 if test -n "$CC"; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2894 $as_echo "$CC" >&6; }
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2897 $as_echo "no" >&6; }
2901 test -n "$CC" && break
2904 if test -z "$CC"; then
2906 for ac_prog
in cl.exe
2908 # Extract the first word of "$ac_prog", so it can be a program name with args.
2909 set dummy
$ac_prog; ac_word
=$2
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911 $as_echo_n "checking for $ac_word... " >&6; }
2912 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2913 $as_echo_n "(cached) " >&6
2915 if test -n "$ac_ct_CC"; then
2916 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2922 test -z "$as_dir" && as_dir
=.
2923 for ac_exec_ext
in '' $ac_executable_extensions; do
2924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2925 ac_cv_prog_ac_ct_CC
="$ac_prog"
2926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2935 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2936 if test -n "$ac_ct_CC"; then
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2938 $as_echo "$ac_ct_CC" >&6; }
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2941 $as_echo "no" >&6; }
2945 test -n "$ac_ct_CC" && break
2948 if test "x$ac_ct_CC" = x
; then
2951 case $cross_compiling:$ac_tool_warned in
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2954 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2955 ac_tool_warned
=yes ;;
2964 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 as_fn_error
"no acceptable C compiler found in \$PATH
2967 See \`config.log' for more details." "$LINENO" 5; }
2969 # Provide some information about the compiler.
2970 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2973 for ac_option
in --version -v -V -qversion; do
2974 { { ac_try
="$ac_compiler $ac_option >&5"
2976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2980 $as_echo "$ac_try_echo"; } >&5
2981 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2983 if test -s conftest.err; then
2985 ... rest of stderr output deleted ...
2986 10q' conftest.err >conftest.er1
2987 cat conftest.er1 >&5
2989 rm -f conftest.er1 conftest.err
2990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2991 test $ac_status = 0; }
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
3005 ac_clean_files_save=$ac_clean_files
3006 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3007 # Try to create an executable without -o first, disregard a.out.
3008 # It will help us diagnose broken compilers, and finding out an intuition
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3011 $as_echo_n "checking whether the C compiler works... " >&6; }
3012 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3014 # The possible output files:
3015 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3018 for ac_file in $ac_files
3021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3022 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3027 if { { ac_try="$ac_link_default"
3029 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3030 *) ac_try_echo
=$ac_try;;
3032 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3033 $as_echo "$ac_try_echo"; } >&5
3034 (eval "$ac_link_default") 2>&5
3036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3037 test $ac_status = 0; }; then :
3038 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3039 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3040 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3041 # so that the user can short-circuit this test for compilers unknown to
3043 for ac_file
in $ac_files ''
3045 test -f "$ac_file" ||
continue
3047 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3050 # We found the default executable, but exeext='' is most
3054 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3056 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3058 # We set ac_cv_exeext here because the later test for it is not
3059 # safe: cross compilers may not add the suffix if given an `-o'
3060 # argument, so we may need to know it at that point already.
3061 # Even if this section looks crufty: it has the advantage of
3068 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3073 if test -z "$ac_file"; then :
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3076 $as_echo "$as_me: failed program was:" >&5
3077 sed 's/^/| /' conftest.
$ac_ext >&5
3079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3081 { as_fn_set_status
77
3082 as_fn_error
"C compiler cannot create executables
3083 See \`config.log' for more details." "$LINENO" 5; }; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3086 $as_echo "yes" >&6; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3089 $as_echo_n "checking for C compiler default output file name... " >&6; }
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3091 $as_echo "$ac_file" >&6; }
3092 ac_exeext
=$ac_cv_exeext
3094 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3095 ac_clean_files
=$ac_clean_files_save
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3097 $as_echo_n "checking for suffix of executables... " >&6; }
3098 if { { ac_try
="$ac_link"
3100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3101 *) ac_try_echo=$ac_try;;
3103 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3104 $as_echo "$ac_try_echo"; } >&5
3105 (eval "$ac_link") 2>&5
3107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3108 test $ac_status = 0; }; then :
3109 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3110 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3111 # work properly (i.e., refer to `conftest.exe'), while it won't with
3113 for ac_file
in conftest.exe conftest conftest.
*; do
3114 test -f "$ac_file" ||
continue
3116 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3117 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3126 See \`config.log' for more details." "$LINENO" 5; }
3128 rm -f conftest conftest
$ac_cv_exeext
3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3130 $as_echo "$ac_cv_exeext" >&6; }
3132 rm -f conftest.
$ac_ext
3133 EXEEXT
=$ac_cv_exeext
3135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3141 FILE *f = fopen ("conftest.out", "w");
3142 return ferror (f) || fclose (f) != 0;
3148 ac_clean_files
="$ac_clean_files conftest.out"
3149 # Check that the compiler produces executables we can run. If not, either
3150 # the compiler is broken, or we cross compile.
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3152 $as_echo_n "checking whether we are cross compiling... " >&6; }
3153 if test "$cross_compiling" != yes; then
3154 { { ac_try
="$ac_link"
3156 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3157 *) ac_try_echo=$ac_try;;
3159 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3160 $as_echo "$ac_try_echo"; } >&5
3161 (eval "$ac_link") 2>&5
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; }
3165 if { ac_try='./conftest$ac_cv_exeext'
3166 { { case "(($ac_try" in
3167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3168 *) ac_try_echo
=$ac_try;;
3170 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3171 $as_echo "$ac_try_echo"; } >&5
3172 (eval "$ac_try") 2>&5
3174 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3175 test $ac_status = 0; }; }; then
3178 if test "$cross_compiling" = maybe
; then
3181 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3183 as_fn_error
"cannot run C compiled programs.
3184 If you meant to cross compile, use \`--host'.
3185 See \`config.log' for more details." "$LINENO" 5; }
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3190 $as_echo "$cross_compiling" >&6; }
3192 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3193 ac_clean_files
=$ac_clean_files_save
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3195 $as_echo_n "checking for suffix of object files... " >&6; }
3196 if test "${ac_cv_objext+set}" = set; then :
3197 $as_echo_n "(cached) " >&6
3199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3200 /* end confdefs.h. */
3210 rm -f conftest.o conftest.obj
3211 if { { ac_try
="$ac_compile"
3213 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3214 *) ac_try_echo=$ac_try;;
3216 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3217 $as_echo "$ac_try_echo"; } >&5
3218 (eval "$ac_compile") 2>&5
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }; then :
3222 for ac_file in conftest.o conftest.obj conftest.*; do
3223 test -f "$ac_file" || continue;
3225 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3226 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3231 $as_echo "$as_me: failed program was:" >&5
3232 sed 's/^/| /' conftest.$ac_ext >&5
3234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error "cannot compute suffix of object files
: cannot compile
3237 See \
`config.log' for more details." "$LINENO" 5; }
3239 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3242 $as_echo "$ac_cv_objext" >&6; }
3243 OBJEXT=$ac_cv_objext
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3246 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3247 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3248 $as_echo_n "(cached) " >&6
3250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3251 /* end confdefs.h. */
3264 if ac_fn_c_try_compile "$LINENO"; then :
3269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3270 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3274 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3275 if test $ac_compiler_gnu = yes; then
3280 ac_test_CFLAGS=${CFLAGS+set}
3281 ac_save_CFLAGS=$CFLAGS
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3283 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3284 if test "${ac_cv_prog_cc_g+set}" = set; then :
3285 $as_echo_n "(cached) " >&6
3287 ac_save_c_werror_flag=$ac_c_werror_flag
3288 ac_c_werror_flag=yes
3291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3292 /* end confdefs.h. */
3302 if ac_fn_c_try_compile "$LINENO"; then :
3306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3307 /* end confdefs.h. */
3317 if ac_fn_c_try_compile "$LINENO"; then :
3320 ac_c_werror_flag=$ac_save_c_werror_flag
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3333 if ac_fn_c_try_compile "$LINENO"; then :
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 ac_c_werror_flag=$ac_save_c_werror_flag
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3344 $as_echo "$ac_cv_prog_cc_g" >&6; }
3345 if test "$ac_test_CFLAGS" = set; then
3346 CFLAGS=$ac_save_CFLAGS
3347 elif test $ac_cv_prog_cc_g = yes; then
3348 if test "$GCC" = yes; then
3354 if test "$GCC" = yes; then
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3361 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3362 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3363 $as_echo_n "(cached) " >&6
3365 ac_cv_prog_cc_c89=no
3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3368 /* end confdefs.h. */
3371 #include <sys/types.h>
3372 #include <sys/stat.h>
3373 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3374 struct buf { int x; };
3375 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3376 static char *e (p, i)
3382 static char *f (char * (*g) (char **, int), char **p, ...)
3387 s = g (p, va_arg (v,int));
3392 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3393 function prototypes and stuff, but not '\xHH' hex character constants.
3394 These don't provoke an error unfortunately, instead are silently treated
3395 as 'x'. The following induces an error, until -std is added to get
3396 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3397 array size at least. It's necessary to write '\x00'==0 to get something
3398 that's true only with -std. */
3399 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3401 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3402 inside strings and character constants. */
3404 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3406 int test (int i, double x);
3407 struct s1 {int (*f) (int a);};
3408 struct s2 {int (*f) (double a);};
3409 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3415 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3420 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3421 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3423 CC="$ac_save_CC $ac_arg"
3424 if ac_fn_c_try_compile "$LINENO"; then :
3425 ac_cv_prog_cc_c89=$ac_arg
3427 rm -f core conftest.err conftest.$ac_objext
3428 test "x$ac_cv_prog_cc_c89" != "xno" && break
3430 rm -f conftest.$ac_ext
3435 case "x$ac_cv_prog_cc_c89" in
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3438 $as_echo "none needed" >&6; } ;;
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3441 $as_echo "unsupported" >&6; } ;;
3443 CC="$CC $ac_cv_prog_cc_c89"
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3445 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3447 if test "x$ac_cv_prog_cc_c89" != xno; then :
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3457 case $ac_cv_prog_cc_stdc in #(
3459 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3462 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3463 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3464 $as_echo_n "(cached) " >&6
3466 ac_cv_prog_cc_c99=no
3468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3469 /* end confdefs.h. */
3471 #include <stdbool.h>
3476 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3477 #define debug(...) fprintf (stderr, __VA_ARGS__)
3478 #define showlist(...) puts (#__VA_ARGS__)
3479 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3481 test_varargs_macros (void)
3486 debug ("X = %d\n", x);
3487 showlist (The first, second, and third items.);
3488 report (x>y, "x is %d but y is %d", x, y);
3491 // Check long long types.
3492 #define BIG64 18446744073709551615ull
3493 #define BIG32 4294967295ul
3494 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3496 your preprocessor is broken;
3500 your preprocessor is broken;
3502 static long long int bignum = -9223372036854775807LL;
3503 static unsigned long long int ubignum = BIG64;
3505 struct incomplete_array
3513 const wchar_t *name;
3517 typedef const char *ccp;
3520 test_restrict (ccp restrict text)
3522 // See if C++-style comments work.
3523 // Iterate through items via the restricted pointer.
3524 // Also check for declarations in for loops.
3525 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3530 // Check varargs and va_copy.
3532 test_varargs (const char *format, ...)
3535 va_start (args, format);
3537 va_copy (args_copy, args);
3548 str = va_arg (args_copy, const char *);
3551 number = va_arg (args_copy, int);
3554 fnumber = va_arg (args_copy, double);
3569 _Bool success = false;
3572 if (test_restrict ("String literal") == 0)
3574 char *restrict newvar = "Another string";
3577 test_varargs ("s, d' f .", "string", 65, 34.234);
3578 test_varargs_macros ();
3580 // Check flexible array members.
3581 struct incomplete_array *ia =
3582 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3584 for (int i = 0; i < ia->datasize; ++i)
3585 ia->data[i] = i * 1.234;
3587 // Check named initializers.
3588 struct named_init ni = {
3590 .name = L"Test wide string",
3591 .average = 543.34343,
3596 int dynamic_array[ni.number];
3597 dynamic_array[ni.number - 1] = 543;
3599 // work around unused variable warnings
3600 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3601 || dynamic_array[ni.number - 1] != 543);
3607 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3609 CC="$ac_save_CC $ac_arg"
3610 if ac_fn_c_try_compile "$LINENO"; then :
3611 ac_cv_prog_cc_c99=$ac_arg
3613 rm -f core conftest.err conftest.$ac_objext
3614 test "x$ac_cv_prog_cc_c99" != "xno" && break
3616 rm -f conftest.$ac_ext
3621 case "x$ac_cv_prog_cc_c99" in
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3624 $as_echo "none needed" >&6; } ;;
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3627 $as_echo "unsupported" >&6; } ;;
3629 CC="$CC $ac_cv_prog_cc_c99"
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3631 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3633 if test "x$ac_cv_prog_cc_c99" != xno; then :
3634 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3637 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3638 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3641 ac_cv_prog_cc_c89=no
3643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3644 /* end confdefs.h. */
3647 #include <sys/types.h>
3648 #include <sys/stat.h>
3649 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3650 struct buf { int x; };
3651 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3652 static char *e (p, i)
3658 static char *f (char * (*g) (char **, int), char **p, ...)
3663 s = g (p, va_arg (v,int));
3668 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3669 function prototypes and stuff, but not '\xHH' hex character constants.
3670 These don't provoke an error unfortunately, instead are silently treated
3671 as 'x'. The following induces an error, until -std is added to get
3672 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3673 array size at least. It's necessary to write '\x00'==0 to get something
3674 that's true only with -std. */
3675 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3677 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3678 inside strings and character constants. */
3680 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3682 int test (int i, double x);
3683 struct s1 {int (*f) (int a);};
3684 struct s2 {int (*f) (double a);};
3685 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3691 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3696 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3697 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3699 CC="$ac_save_CC $ac_arg"
3700 if ac_fn_c_try_compile "$LINENO"; then :
3701 ac_cv_prog_cc_c89=$ac_arg
3703 rm -f core conftest.err conftest.$ac_objext
3704 test "x$ac_cv_prog_cc_c89" != "xno" && break
3706 rm -f conftest.$ac_ext
3711 case "x$ac_cv_prog_cc_c89" in
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3714 $as_echo "none needed" >&6; } ;;
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3717 $as_echo "unsupported" >&6; } ;;
3719 CC="$CC $ac_cv_prog_cc_c89"
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3721 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3723 if test "x$ac_cv_prog_cc_c89" != xno; then :
3724 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3726 ac_cv_prog_cc_stdc=no
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3733 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3734 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3735 $as_echo_n "(cached) " >&6
3738 case $ac_cv_prog_cc_stdc in #(
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3741 $as_echo "unsupported" >&6; } ;; #(
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3744 $as_echo "none needed" >&6; } ;; #(
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3747 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3751 ac_cpp='$CPP $CPPFLAGS'
3752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3756 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3757 # On Suns, sometimes $CPP names a directory.
3758 if test -n "$CPP" && test -d "$CPP"; then
3761 if test -z "$CPP"; then
3762 if test "${ac_cv_prog_CPP+set}" = set; then :
3763 $as_echo_n "(cached) " >&6
3765 # Double quotes because CPP needs to be expanded
3766 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3769 for ac_c_preproc_warn_flag in '' yes
3771 # Use a header file that comes with gcc, so configuring glibc
3772 # with a fresh cross-compiler works.
3773 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3774 # <limits.h> exists even on freestanding compilers.
3775 # On the NeXT, cc -E runs the code through the compiler's parser,
3776 # not just through cpp. "Syntax error" is here to catch this case.
3777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3778 /* end confdefs.h. */
3780 # include <limits.h>
3782 # include <assert.h>
3786 if ac_fn_c_try_cpp "$LINENO"; then :
3789 # Broken: fails on valid input.
3792 rm -f conftest.err conftest.$ac_ext
3794 # OK, works on sane cases. Now check whether nonexistent headers
3795 # can be detected and how.
3796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3797 /* end confdefs.h. */
3798 #include <ac_nonexistent.h>
3800 if ac_fn_c_try_cpp "$LINENO"; then :
3801 # Broken: success on invalid input.
3804 # Passes both tests.
3808 rm -f conftest.err conftest.$ac_ext
3811 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3812 rm -f conftest.err conftest.
$ac_ext
3813 if $ac_preproc_ok; then :
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3826 $as_echo "$CPP" >&6; }
3828 for ac_c_preproc_warn_flag
in '' yes
3830 # Use a header file that comes with gcc, so configuring glibc
3831 # with a fresh cross-compiler works.
3832 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3833 # <limits.h> exists even on freestanding compilers.
3834 # On the NeXT, cc -E runs the code through the compiler's parser,
3835 # not just through cpp. "Syntax error" is here to catch this case.
3836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3839 # include <limits.h>
3841 # include <assert.h>
3845 if ac_fn_c_try_cpp
"$LINENO"; then :
3848 # Broken: fails on valid input.
3851 rm -f conftest.err conftest.
$ac_ext
3853 # OK, works on sane cases. Now check whether nonexistent headers
3854 # can be detected and how.
3855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3857 #include <ac_nonexistent.h>
3859 if ac_fn_c_try_cpp
"$LINENO"; then :
3860 # Broken: success on invalid input.
3863 # Passes both tests.
3867 rm -f conftest.err conftest.
$ac_ext
3870 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3871 rm -f conftest.err conftest.
$ac_ext
3872 if $ac_preproc_ok; then :
3875 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3877 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3878 See \`config.log' for more details." "$LINENO" 5; }
3882 ac_cpp
='$CPP $CPPFLAGS'
3883 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3884 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3885 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3888 # Check for a compatible awk
3889 for ac_prog
in gawk nawk
3891 # Extract the first word of "$ac_prog", so it can be a program name with args.
3892 set dummy
$ac_prog; ac_word
=$2
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3894 $as_echo_n "checking for $ac_word... " >&6; }
3895 if test "${ac_cv_prog_AWK+set}" = set; then :
3896 $as_echo_n "(cached) " >&6
3898 if test -n "$AWK"; then
3899 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3905 test -z "$as_dir" && as_dir
=.
3906 for ac_exec_ext
in '' $ac_executable_extensions; do
3907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3908 ac_cv_prog_AWK
="$ac_prog"
3909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 if test -n "$AWK"; then
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3921 $as_echo "$AWK" >&6; }
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3924 $as_echo "no" >&6; }
3928 test -n "$AWK" && break
3931 if test "$AWK" = ""; then
3932 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3934 # Extract the first word of "mmake", so it can be a program name with args.
3935 set dummy mmake
; ac_word
=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3939 $as_echo_n "(cached) " >&6
3941 if test -n "$MMAKE"; then
3942 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951 ac_cv_prog_MMAKE
="mmake "
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 MMAKE
=$ac_cv_prog_MMAKE
3962 if test -n "$MMAKE"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3964 $as_echo "$MMAKE" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3972 # Perform some default variable assignments. Note all of these will be
3973 # Regenerated from the script, so there is no need to cache them.
3976 if test "$GCC" = "yes"; then
3977 aros_gcc_ld
=`$CC -print-prog-name=ld`
3978 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3979 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3983 $as_echo_n "(cached) " >&6
3985 case $aros_host_ld in
3987 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3991 for as_dir
in `dirname $aros_gcc_ld`
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 aros_host_ld
=$ac_cv_path_aros_host_ld
4009 if test -n "$aros_host_ld"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4011 $as_echo "$aros_host_ld" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4019 if test "$aros_host_ld" = ""; then
4020 # Extract the first word of "ld", so it can be a program name with args.
4021 set dummy ld
; ac_word
=$2
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4023 $as_echo_n "checking for $ac_word... " >&6; }
4024 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4025 $as_echo_n "(cached) " >&6
4027 case $aros_host_ld in
4029 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4039 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 aros_host_ld
=$ac_cv_path_aros_host_ld
4051 if test -n "$aros_host_ld"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4053 $as_echo "$aros_host_ld" >&6; }
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4061 if test "$aros_host_ld" = ""; then
4062 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4064 aros_host_make
="make"
4065 aros_host_cflags
=$CFLAGS
4066 aros_host_ldflags
=$LDFLAGS
4067 aros_host_debug
="-g -O0"
4068 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4069 aros_host_mkargs
="--no-print-directory"
4070 aros_host_incl
="/usr/include"
4071 aros_host_exe_suffix
="$EXEEXT"
4072 aros_host_lib_suffix
=""
4074 # Ignore all compliance, AROS ROMs = 0
4075 # KickStart v1.0 = 30
4076 # KickStart v1.3 = 34
4077 # KickStart v2.0 = 37
4078 # KickStart v3.0 = 39
4079 # KickStart v3.1 = 40
4081 aros_amigaos_compliance
=0
4083 for ac_prog
in aclocal aclocal19 aclocal-1.9
4085 # Extract the first word of "$ac_prog", so it can be a program name with args.
4086 set dummy
$ac_prog; ac_word
=$2
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4088 $as_echo_n "checking for $ac_word... " >&6; }
4089 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4090 $as_echo_n "(cached) " >&6
4092 if test -n "$aros_host_aclocal"; then
4093 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4099 test -z "$as_dir" && as_dir
=.
4100 for ac_exec_ext
in '' $ac_executable_extensions; do
4101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4102 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4112 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4113 if test -n "$aros_host_aclocal"; then
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4115 $as_echo "$aros_host_aclocal" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4122 test -n "$aros_host_aclocal" && break
4125 for ac_prog
in autoconf autoconf259 autoconf253
4127 # Extract the first word of "$ac_prog", so it can be a program name with args.
4128 set dummy
$ac_prog; ac_word
=$2
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130 $as_echo_n "checking for $ac_word... " >&6; }
4131 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4134 if test -n "$aros_host_autoconf"; then
4135 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4141 test -z "$as_dir" && as_dir
=.
4142 for ac_exec_ext
in '' $ac_executable_extensions; do
4143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4144 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4154 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4155 if test -n "$aros_host_autoconf"; then
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4157 $as_echo "$aros_host_autoconf" >&6; }
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4160 $as_echo "no" >&6; }
4164 test -n "$aros_host_autoconf" && break
4167 for ac_prog
in autoheader autoheader259 autoheader253
4169 # Extract the first word of "$ac_prog", so it can be a program name with args.
4170 set dummy
$ac_prog; ac_word
=$2
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4172 $as_echo_n "checking for $ac_word... " >&6; }
4173 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4176 if test -n "$aros_host_autoheader"; then
4177 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4183 test -z "$as_dir" && as_dir
=.
4184 for ac_exec_ext
in '' $ac_executable_extensions; do
4185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4186 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4196 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4197 if test -n "$aros_host_autoheader"; then
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4199 $as_echo "$aros_host_autoheader" >&6; }
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4202 $as_echo "no" >&6; }
4206 test -n "$aros_host_autoheader" && break
4209 for ac_prog
in automake automake19 automake-1.9
4211 # Extract the first word of "$ac_prog", so it can be a program name with args.
4212 set dummy
$ac_prog; ac_word
=$2
4213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4214 $as_echo_n "checking for $ac_word... " >&6; }
4215 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4216 $as_echo_n "(cached) " >&6
4218 if test -n "$aros_host_automake"; then
4219 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4225 test -z "$as_dir" && as_dir
=.
4226 for ac_exec_ext
in '' $ac_executable_extensions; do
4227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4228 ac_cv_prog_aros_host_automake
="$ac_prog"
4229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4238 aros_host_automake
=$ac_cv_prog_aros_host_automake
4239 if test -n "$aros_host_automake"; then
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4241 $as_echo "$aros_host_automake" >&6; }
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4244 $as_echo "no" >&6; }
4248 test -n "$aros_host_automake" && break
4252 if test "$aros_host_aclocal" = ""; then
4253 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4255 if test "$aros_host_automake" = ""; then
4256 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4259 case "$aros_host_cc" in
4261 aros_host_cc_pipe
="-pipe"
4264 aros_host_cc_pipe
=""
4267 aros_host_cc_pipe
=""
4271 aros_kernel_cc_includes
=""
4272 aros_target_cc_includes
=""
4274 # ----------------------------------------------------------------------------------------
4275 # Host-specific defaults
4277 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4278 # instead of a wrapper script.
4279 # Useful for non-ELF hosts (like Windows and Darwin).
4280 # Can also be overriden in target section below
4283 # This is the main host configuration section. It is where the host
4284 # can change the values of any variables it needs to change. We do
4285 # not look at anything that compiles to the target yet, we'll get
4290 aros_host_arch
="aros"
4291 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4294 aros_host_cpu
="i386"
4297 aros_host_cpu
="x86_64"
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4304 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4305 aros_host_cpu
="$host_cpu"
4311 aros_host_arch
="linux"
4312 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4315 aros_host_cpu
="i386"
4318 aros_host_cpu
="x86_64"
4321 aros_host_cpu
="m68k"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4331 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4332 aros_host_cpu
="$host_cpu"
4338 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4339 aros_host_make
="gmake"
4340 aros_host_arch
="freebsd"
4341 aros_host_cpu
="i386"
4343 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4347 aros_object_format
="elf_i386"
4351 aros_object_format
="elf_i386_fbsd"
4358 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4359 aros_host_arch
="darwin"
4361 android_build_os
="darwin-x86"
4362 android_tool
="android"
4363 default_android_sdk
="/android-sdk-mac_x86"
4364 default_android_ndk
="/android-ndk-r5b"
4367 aros_host_cpu
="i386"
4370 aros_host_cpu
="x86_64"
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4377 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4378 aros_host_cpu
="$host_cpu"
4382 aros_host_ldflags
="$aros_host_ldflags -liconv"
4387 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4388 aros_host_make
="gmake"
4389 aros_host_arch
="dragonfly"
4392 aros_host_cpu
="i386"
4395 aros_host_cpu
="x86_64"
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4399 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4400 aros_host_cpu
="$host_cpu"
4406 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4407 aros_host_make
="gmake"
4408 aros_host_arch
="netbsd"
4411 aros_host_cpu
="i386"
4414 aros_host_cpu
="m68k"
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4418 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4419 aros_host_cpu
="$host_cpu"
4422 aros_host_lib_suffix
=".0.0"
4426 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4427 aros_host_make
="gmake"
4428 aros_host_arch
="openbsd"
4431 aros_host_cpu
="i386"
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4435 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4436 aros_host_cpu
="$host_cpu"
4442 aros_host_arch
="solaris"
4443 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4446 aros_host_cpu
="i386"
4449 aros_host_cpu
="sparc"
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4453 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4454 aros_host_cpu
="$host_cpu"
4460 aros_host_arch
="morphos"
4465 aros_host_arch
="amiga"
4470 TOUCH
="/gg/bin/touch"
4473 aros_host_cpu
="m68k"
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4480 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4481 aros_host_cpu
="$host_cpu"
4487 aros_host_arch
="cygwin"
4489 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4490 android_build_os
="windows"
4491 android_tool
="android.bat"
4492 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4496 aros_host_cpu
="i386"
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4500 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4501 aros_host_cpu
="$host_cpu"
4507 aros_host_arch
="mingw32"
4509 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4510 android_build_os
="windows"
4511 android_tool
="android.bat"
4512 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4516 aros_host_cpu
="i386"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4520 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4521 aros_host_cpu
="$host_cpu"
4526 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4530 # Extract the first word of "ar", so it can be a program name with args.
4531 set dummy
ar; ac_word
=$2
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4533 $as_echo_n "checking for $ac_word... " >&6; }
4534 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4535 $as_echo_n "(cached) " >&6
4537 if test -n "$aros_host_ar"; then
4538 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4544 test -z "$as_dir" && as_dir
=.
4545 for ac_exec_ext
in '' $ac_executable_extensions; do
4546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4547 ac_cv_prog_aros_host_ar
="ar cr"
4548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4557 aros_host_ar
=$ac_cv_prog_aros_host_ar
4558 if test -n "$aros_host_ar"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4560 $as_echo "$aros_host_ar" >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4563 $as_echo "no" >&6; }
4567 if test "$aros_host_ar" = ""; then
4568 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4570 # Extract the first word of "ranlib", so it can be a program name with args.
4571 set dummy ranlib
; ac_word
=$2
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4573 $as_echo_n "checking for $ac_word... " >&6; }
4574 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4575 $as_echo_n "(cached) " >&6
4577 if test -n "$aros_host_ranlib"; then
4578 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4580 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4584 test -z "$as_dir" && as_dir
=.
4585 for ac_exec_ext
in '' $ac_executable_extensions; do
4586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4587 ac_cv_prog_aros_host_ranlib
="ranlib "
4588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4597 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4598 if test -n "$aros_host_ranlib"; then
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4600 $as_echo "$aros_host_ranlib" >&6; }
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4603 $as_echo "no" >&6; }
4607 if test "$aros_host_ranlib" = ""; then
4608 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4610 # Extract the first word of "strip", so it can be a program name with args.
4611 set dummy strip
; ac_word
=$2
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4613 $as_echo_n "checking for $ac_word... " >&6; }
4614 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4615 $as_echo_n "(cached) " >&6
4617 if test -n "$aros_host_strip"; then
4618 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4624 test -z "$as_dir" && as_dir
=.
4625 for ac_exec_ext
in '' $ac_executable_extensions; do
4626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4627 ac_cv_prog_aros_host_strip
="strip "
4628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 aros_host_strip
=$ac_cv_prog_aros_host_strip
4638 if test -n "$aros_host_strip"; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4640 $as_echo "$aros_host_strip" >&6; }
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4643 $as_echo "no" >&6; }
4647 if test "$aros_host_strip" = ""; then
4648 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4651 # Extract the first word of "rm", so it can be a program name with args.
4652 set dummy
rm; ac_word
=$2
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4654 $as_echo_n "checking for $ac_word... " >&6; }
4655 if test "${ac_cv_prog_RM+set}" = set; then :
4656 $as_echo_n "(cached) " >&6
4658 if test -n "$RM"; then
4659 ac_cv_prog_RM
="$RM" # Let the user override the test.
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_exec_ext
in '' $ac_executable_extensions; do
4667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4668 ac_cv_prog_RM
="rm -rf"
4669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4679 if test -n "$RM"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4681 $as_echo "$RM" >&6; }
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4684 $as_echo "no" >&6; }
4688 if test "$RM" = ""; then
4689 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4691 # Extract the first word of "cp", so it can be a program name with args.
4692 set dummy
cp; ac_word
=$2
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4694 $as_echo_n "checking for $ac_word... " >&6; }
4695 if test "${ac_cv_prog_CP+set}" = set; then :
4696 $as_echo_n "(cached) " >&6
4698 if test -n "$CP"; then
4699 ac_cv_prog_CP
="$CP" # Let the user override the test.
4701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir
=.
4706 for ac_exec_ext
in '' $ac_executable_extensions; do
4707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 if test -n "$CP"; then
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4721 $as_echo "$CP" >&6; }
4723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4724 $as_echo "no" >&6; }
4728 if test "$CP" = ""; then
4729 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4731 # Extract the first word of "mv", so it can be a program name with args.
4732 set dummy
mv; ac_word
=$2
4733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4734 $as_echo_n "checking for $ac_word... " >&6; }
4735 if test "${ac_cv_prog_MV+set}" = set; then :
4736 $as_echo_n "(cached) " >&6
4738 if test -n "$MV"; then
4739 ac_cv_prog_MV
="$MV" # Let the user override the test.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir
=.
4746 for ac_exec_ext
in '' $ac_executable_extensions; do
4747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4759 if test -n "$MV"; then
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4761 $as_echo "$MV" >&6; }
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4764 $as_echo "no" >&6; }
4768 if test "$MV" = ""; then
4769 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4771 # Extract the first word of "echo", so it can be a program name with args.
4772 set dummy
echo; ac_word
=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if test "${ac_cv_prog_ECHO+set}" = set; then :
4776 $as_echo_n "(cached) " >&6
4778 if test -n "$ECHO"; then
4779 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4781 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4785 test -z "$as_dir" && as_dir
=.
4786 for ac_exec_ext
in '' $ac_executable_extensions; do
4787 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4788 ac_cv_prog_ECHO
="echo "
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4798 ECHO
=$ac_cv_prog_ECHO
4799 if test -n "$ECHO"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4801 $as_echo "$ECHO" >&6; }
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4808 if test "$ECHO" = ""; then
4809 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4811 # Extract the first word of "mkdir", so it can be a program name with args.
4812 set dummy mkdir
; ac_word
=$2
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 $as_echo_n "checking for $ac_word... " >&6; }
4815 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4816 $as_echo_n "(cached) " >&6
4818 if test -n "$MKDIR"; then
4819 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4825 test -z "$as_dir" && as_dir
=.
4826 for ac_exec_ext
in '' $ac_executable_extensions; do
4827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4828 ac_cv_prog_MKDIR
="mkdir -p"
4829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4838 MKDIR
=$ac_cv_prog_MKDIR
4839 if test -n "$MKDIR"; then
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4841 $as_echo "$MKDIR" >&6; }
4843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4844 $as_echo "no" >&6; }
4848 if test "$MKDIR" = ""; then
4849 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4851 # Extract the first word of "touch", so it can be a program name with args.
4852 set dummy
touch; ac_word
=$2
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4854 $as_echo_n "checking for $ac_word... " >&6; }
4855 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4856 $as_echo_n "(cached) " >&6
4858 if test -n "$TOUCH"; then
4859 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir
=.
4866 for ac_exec_ext
in '' $ac_executable_extensions; do
4867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4868 ac_cv_prog_TOUCH
="touch "
4869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4878 TOUCH
=$ac_cv_prog_TOUCH
4879 if test -n "$TOUCH"; then
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4881 $as_echo "$TOUCH" >&6; }
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4884 $as_echo "no" >&6; }
4888 if test "$TOUCH" = ""; then
4889 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4891 # Extract the first word of "sort", so it can be a program name with args.
4892 set dummy
sort; ac_word
=$2
4893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4894 $as_echo_n "checking for $ac_word... " >&6; }
4895 if test "${ac_cv_prog_SORT+set}" = set; then :
4896 $as_echo_n "(cached) " >&6
4898 if test -n "$SORT"; then
4899 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4905 test -z "$as_dir" && as_dir
=.
4906 for ac_exec_ext
in '' $ac_executable_extensions; do
4907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4908 ac_cv_prog_SORT
="sort "
4909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4918 SORT
=$ac_cv_prog_SORT
4919 if test -n "$SORT"; then
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4921 $as_echo "$SORT" >&6; }
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4924 $as_echo "no" >&6; }
4928 if test "$SORT" = ""; then
4929 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4931 # Extract the first word of "uniq", so it can be a program name with args.
4932 set dummy
uniq; ac_word
=$2
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4934 $as_echo_n "checking for $ac_word... " >&6; }
4935 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4936 $as_echo_n "(cached) " >&6
4938 if test -n "$UNIQ"; then
4939 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4945 test -z "$as_dir" && as_dir
=.
4946 for ac_exec_ext
in '' $ac_executable_extensions; do
4947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4948 ac_cv_prog_UNIQ
="uniq "
4949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4958 UNIQ
=$ac_cv_prog_UNIQ
4959 if test -n "$UNIQ"; then
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4961 $as_echo "$UNIQ" >&6; }
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4964 $as_echo "no" >&6; }
4968 if test "$UNIQ" = ""; then
4969 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4971 # Extract the first word of "true", so it can be a program name with args.
4972 set dummy true
; ac_word
=$2
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 $as_echo_n "checking for $ac_word... " >&6; }
4975 if test "${ac_cv_prog_NOP+set}" = set; then :
4976 $as_echo_n "(cached) " >&6
4978 if test -n "$NOP"; then
4979 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4985 test -z "$as_dir" && as_dir
=.
4986 for ac_exec_ext
in '' $ac_executable_extensions; do
4987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4988 ac_cv_prog_NOP
="true "
4989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 if test -n "$NOP"; then
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
5001 $as_echo "$NOP" >&6; }
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 $as_echo "no" >&6; }
5008 if test "$NOP" = ""; then
5009 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5011 # Extract the first word of "cat", so it can be a program name with args.
5012 set dummy
cat; ac_word
=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_CAT+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5018 if test -n "$CAT"; then
5019 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5025 test -z "$as_dir" && as_dir
=.
5026 for ac_exec_ext
in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_CAT
="cat "
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5039 if test -n "$CAT"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5041 $as_echo "$CAT" >&6; }
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5048 if test "$CAT" = ""; then
5049 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5051 # Extract the first word of "bison", so it can be a program name with args.
5052 set dummy bison
; ac_word
=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_BISON+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5058 if test -n "$BISON"; then
5059 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5065 test -z "$as_dir" && as_dir
=.
5066 for ac_exec_ext
in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_BISON
="bison "
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5078 BISON
=$ac_cv_prog_BISON
5079 if test -n "$BISON"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5081 $as_echo "$BISON" >&6; }
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5088 if test "$BISON" = ""; then
5089 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5091 # Extract the first word of "flex", so it can be a program name with args.
5092 set dummy flex
; ac_word
=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if test "${ac_cv_prog_FLEX+set}" = set; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -n "$FLEX"; then
5099 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5108 ac_cv_prog_FLEX
="flex "
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 FLEX
=$ac_cv_prog_FLEX
5119 if test -n "$FLEX"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5121 $as_echo "$FLEX" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 if test "$FLEX" = ""; then
5129 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5131 # Extract the first word of "pngtopnm", so it can be a program name with args.
5132 set dummy pngtopnm
; ac_word
=$2
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5134 $as_echo_n "checking for $ac_word... " >&6; }
5135 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5136 $as_echo_n "(cached) " >&6
5138 if test -n "$PNGTOPNM"; then
5139 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5145 test -z "$as_dir" && as_dir
=.
5146 for ac_exec_ext
in '' $ac_executable_extensions; do
5147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5148 ac_cv_prog_PNGTOPNM
="pngtopnm "
5149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5159 if test -n "$PNGTOPNM"; then
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5161 $as_echo "$PNGTOPNM" >&6; }
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5164 $as_echo "no" >&6; }
5168 if test "$PNGTOPNM" = ""; then
5169 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5171 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5172 set dummy ppmtoilbm
; ac_word
=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5176 $as_echo_n "(cached) " >&6
5178 if test -n "$PPMTOILBM"; then
5179 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5185 test -z "$as_dir" && as_dir
=.
5186 for ac_exec_ext
in '' $ac_executable_extensions; do
5187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5188 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5198 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5199 if test -n "$PPMTOILBM"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5201 $as_echo "$PPMTOILBM" >&6; }
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5208 if test "$PPMTOILBM" = ""; then
5209 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5211 # Extract the first word of "sed", so it can be a program name with args.
5212 set dummy
sed; ac_word
=$2
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5214 $as_echo_n "checking for $ac_word... " >&6; }
5215 if test "${ac_cv_prog_SED+set}" = set; then :
5216 $as_echo_n "(cached) " >&6
5218 if test -n "$SED"; then
5219 ac_cv_prog_SED
="$SED" # Let the user override the test.
5221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5225 test -z "$as_dir" && as_dir
=.
5226 for ac_exec_ext
in '' $ac_executable_extensions; do
5227 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5228 ac_cv_prog_SED
="sed "
5229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 if test -n "$SED"; then
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5241 $as_echo "$SED" >&6; }
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5244 $as_echo "no" >&6; }
5248 if test "$SED" = ""; then
5249 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5251 # Extract the first word of "chmod", so it can be a program name with args.
5252 set dummy
chmod; ac_word
=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5256 $as_echo_n "(cached) " >&6
5258 if test -n "$CHMOD"; then
5259 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5265 test -z "$as_dir" && as_dir
=.
5266 for ac_exec_ext
in '' $ac_executable_extensions; do
5267 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5268 ac_cv_prog_CHMOD
="chmod "
5269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5278 CHMOD
=$ac_cv_prog_CHMOD
5279 if test -n "$CHMOD"; then
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5281 $as_echo "$CHMOD" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5284 $as_echo "no" >&6; }
5288 if test "$CHMOD" = ""; then
5289 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5291 # Extract the first word of "patch", so it can be a program name with args.
5292 set dummy
patch; ac_word
=$2
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5294 $as_echo_n "checking for $ac_word... " >&6; }
5295 if test "${ac_cv_prog_PATCH+set}" = set; then :
5296 $as_echo_n "(cached) " >&6
5298 if test -n "$PATCH"; then
5299 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5305 test -z "$as_dir" && as_dir
=.
5306 for ac_exec_ext
in '' $ac_executable_extensions; do
5307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5308 ac_cv_prog_PATCH
="patch "
5309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5318 PATCH
=$ac_cv_prog_PATCH
5319 if test -n "$PATCH"; then
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5321 $as_echo "$PATCH" >&6; }
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5324 $as_echo "no" >&6; }
5328 if test "$PATCH" = ""; then
5329 as_fn_error
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5336 if test -n "$PYTHON"; then
5337 # If the user set $PYTHON, use it and don't search something else.
5338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5339 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5340 prog
="import sys, string
5341 # split strings by '.' and convert to numeric. Append some zeros
5342 # because we need at least 4 digits for the hex conversion.
5343 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5345 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5346 sys.exit(sys.hexversion < minverhex)"
5347 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5348 ($PYTHON -c "$prog") >&5 2>&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); }; then :
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5353 $as_echo "yes" >&6; }
5355 as_fn_error
"too old" "$LINENO" 5
5357 am_display_PYTHON
=$PYTHON
5359 # Otherwise, try each interpreter until we find one that satisfies
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5362 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5363 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5364 $as_echo_n "(cached) " >&6
5367 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
5368 test "$am_cv_pathless_PYTHON" = none
&& break
5369 prog
="import sys, string
5370 # split strings by '.' and convert to numeric. Append some zeros
5371 # because we need at least 4 digits for the hex conversion.
5372 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5374 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5375 sys.exit(sys.hexversion < minverhex)"
5376 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5377 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; then :
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5386 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5387 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5388 if test "$am_cv_pathless_PYTHON" = none
; then
5391 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5392 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5394 $as_echo_n "checking for $ac_word... " >&6; }
5395 if test "${ac_cv_path_PYTHON+set}" = set; then :
5396 $as_echo_n "(cached) " >&6
5400 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5407 test -z "$as_dir" && as_dir
=.
5408 for ac_exec_ext
in '' $ac_executable_extensions; do
5409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5410 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5421 PYTHON
=$ac_cv_path_PYTHON
5422 if test -n "$PYTHON"; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5424 $as_echo "$PYTHON" >&6; }
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5427 $as_echo "no" >&6; }
5432 am_display_PYTHON
=$am_cv_pathless_PYTHON
5436 if test "$PYTHON" = :; then
5437 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5442 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5443 if test "${am_cv_python_version+set}" = set; then :
5444 $as_echo_n "(cached) " >&6
5446 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5449 $as_echo "$am_cv_python_version" >&6; }
5450 PYTHON_VERSION
=$am_cv_python_version
5454 PYTHON_PREFIX
='${prefix}'
5456 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5461 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5462 if test "${am_cv_python_platform+set}" = set; then :
5463 $as_echo_n "(cached) " >&6
5465 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5468 $as_echo "$am_cv_python_platform" >&6; }
5469 PYTHON_PLATFORM
=$am_cv_python_platform
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5475 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5476 if test "${am_cv_python_pythondir+set}" = set; then :
5477 $as_echo_n "(cached) " >&6
5479 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5480 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5483 $as_echo "$am_cv_python_pythondir" >&6; }
5484 pythondir
=$am_cv_python_pythondir
5488 pkgpythondir
=\
${pythondir}/$PACKAGE
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5492 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5493 if test "${am_cv_python_pyexecdir+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5496 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5497 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5500 $as_echo "$am_cv_python_pyexecdir" >&6; }
5501 pyexecdir
=$am_cv_python_pyexecdir
5505 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5523 # Check for some includes for the X11 HIDD and the kernel
5526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5527 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5528 if test "${ac_cv_path_GREP+set}" = set; then :
5529 $as_echo_n "(cached) " >&6
5531 if test -z "$GREP"; then
5532 ac_path_GREP_found
=false
5533 # Loop through the user's path and test for each of PROGNAME-LIST
5534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5535 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5538 test -z "$as_dir" && as_dir
=.
5539 for ac_prog
in grep ggrep
; do
5540 for ac_exec_ext
in '' $ac_executable_extensions; do
5541 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5542 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5543 # Check for GNU ac_path_GREP and select it if it is found.
5544 # Check for GNU $ac_path_GREP
5545 case `"$ac_path_GREP" --version 2>&1` in
5547 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5550 $as_echo_n 0123456789 >"conftest.in"
5553 cat "conftest.in" "conftest.in" >"conftest.tmp"
5554 mv "conftest.tmp" "conftest.in"
5555 cp "conftest.in" "conftest.nl"
5556 $as_echo 'GREP' >> "conftest.nl"
5557 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5558 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5559 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5560 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5561 # Best one so far, save it but keep looking for a better one
5562 ac_cv_path_GREP
="$ac_path_GREP"
5563 ac_path_GREP_max
=$ac_count
5565 # 10*(2^10) chars as input seems more than enough
5566 test $ac_count -gt 10 && break
5568 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5571 $ac_path_GREP_found && break 3
5576 if test -z "$ac_cv_path_GREP"; then
5577 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5580 ac_cv_path_GREP
=$GREP
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5585 $as_echo "$ac_cv_path_GREP" >&6; }
5586 GREP
="$ac_cv_path_GREP"
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5590 $as_echo_n "checking for egrep... " >&6; }
5591 if test "${ac_cv_path_EGREP+set}" = set; then :
5592 $as_echo_n "(cached) " >&6
5594 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5595 then ac_cv_path_EGREP
="$GREP -E"
5597 if test -z "$EGREP"; then
5598 ac_path_EGREP_found
=false
5599 # Loop through the user's path and test for each of PROGNAME-LIST
5600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5601 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5604 test -z "$as_dir" && as_dir
=.
5605 for ac_prog
in egrep; do
5606 for ac_exec_ext
in '' $ac_executable_extensions; do
5607 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5608 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5609 # Check for GNU ac_path_EGREP and select it if it is found.
5610 # Check for GNU $ac_path_EGREP
5611 case `"$ac_path_EGREP" --version 2>&1` in
5613 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5616 $as_echo_n 0123456789 >"conftest.in"
5619 cat "conftest.in" "conftest.in" >"conftest.tmp"
5620 mv "conftest.tmp" "conftest.in"
5621 cp "conftest.in" "conftest.nl"
5622 $as_echo 'EGREP' >> "conftest.nl"
5623 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5624 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5625 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5626 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5627 # Best one so far, save it but keep looking for a better one
5628 ac_cv_path_EGREP
="$ac_path_EGREP"
5629 ac_path_EGREP_max
=$ac_count
5631 # 10*(2^10) chars as input seems more than enough
5632 test $ac_count -gt 10 && break
5634 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5637 $ac_path_EGREP_found && break 3
5642 if test -z "$ac_cv_path_EGREP"; then
5643 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5646 ac_cv_path_EGREP
=$EGREP
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5652 $as_echo "$ac_cv_path_EGREP" >&6; }
5653 EGREP
="$ac_cv_path_EGREP"
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5657 $as_echo_n "checking for ANSI C header files... " >&6; }
5658 if test "${ac_cv_header_stdc+set}" = set; then :
5659 $as_echo_n "(cached) " >&6
5661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5676 if ac_fn_c_try_compile
"$LINENO"; then :
5677 ac_cv_header_stdc
=yes
5679 ac_cv_header_stdc
=no
5681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5683 if test $ac_cv_header_stdc = yes; then
5684 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5686 /* end confdefs.h. */
5690 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5691 $EGREP "memchr" >/dev
/null
2>&1; then :
5694 ac_cv_header_stdc
=no
5700 if test $ac_cv_header_stdc = yes; then
5701 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5703 /* end confdefs.h. */
5707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5708 $EGREP "free" >/dev
/null
2>&1; then :
5711 ac_cv_header_stdc
=no
5717 if test $ac_cv_header_stdc = yes; then
5718 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5719 if test "$cross_compiling" = yes; then :
5722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5723 /* end confdefs.h. */
5726 #if ((' ' & 0x0FF) == 0x020)
5727 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5728 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5730 # define ISLOWER(c) \
5731 (('a' <= (c) && (c) <= 'i') \
5732 || ('j' <= (c) && (c) <= 'r') \
5733 || ('s' <= (c) && (c) <= 'z'))
5734 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5737 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5742 for (i = 0; i < 256; i++)
5743 if (XOR (islower (i), ISLOWER (i))
5744 || toupper (i) != TOUPPER (i))
5749 if ac_fn_c_try_run
"$LINENO"; then :
5752 ac_cv_header_stdc
=no
5754 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5755 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5761 $as_echo "$ac_cv_header_stdc" >&6; }
5762 if test $ac_cv_header_stdc = yes; then
5764 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5768 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5769 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5770 inttypes.h stdint.h unistd.h
5772 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5773 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5775 eval as_val
=\$
$as_ac_Header
5776 if test "x$as_val" = x
""yes; then :
5777 cat >>confdefs.h
<<_ACEOF
5778 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5786 for ac_header
in sys
/ipc.h sys
/shm.h \
5787 sys
/mmap.h sys
/mman.h sysexits.h \
5788 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5791 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5792 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5793 eval as_val
=\$
$as_ac_Header
5794 if test "x$as_val" = x
""yes; then :
5795 cat >>confdefs.h
<<_ACEOF
5796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5804 for ac_header
in sys
/mount.h
5806 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5808 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5809 cat >>confdefs.h
<<_ACEOF
5810 #define HAVE_SYS_MOUNT_H 1
5819 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5820 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5822 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5823 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5824 $as_echo_n "(cached) " >&6
5826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5827 /* end confdefs.h. */
5828 #include <sys/types.h>
5840 if ac_fn_c_try_compile
"$LINENO"; then :
5841 eval "$as_ac_Header=yes"
5843 eval "$as_ac_Header=no"
5845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5847 eval ac_res
=\$
$as_ac_Header
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5849 $as_echo "$ac_res" >&6; }
5850 eval as_val
=\$
$as_ac_Header
5851 if test "x$as_val" = x
""yes; then :
5852 cat >>confdefs.h
<<_ACEOF
5853 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5856 ac_header_dirent
=$ac_hdr; break
5860 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5861 if test $ac_header_dirent = dirent.h
; then
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5863 $as_echo_n "checking for library containing opendir... " >&6; }
5864 if test "${ac_cv_search_opendir+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5867 ac_func_search_save_LIBS
=$LIBS
5868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5869 /* end confdefs.h. */
5871 /* Override any GCC internal prototype to avoid an error.
5872 Use char because int might match the return type of a GCC
5873 builtin and then its argument prototype would still apply. */
5886 for ac_lib
in '' dir
; do
5887 if test -z "$ac_lib"; then
5888 ac_res
="none required"
5891 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5893 if ac_fn_c_try_link
"$LINENO"; then :
5894 ac_cv_search_opendir
=$ac_res
5896 rm -f core conftest.err conftest.
$ac_objext \
5898 if test "${ac_cv_search_opendir+set}" = set; then :
5902 if test "${ac_cv_search_opendir+set}" = set; then :
5905 ac_cv_search_opendir
=no
5908 LIBS
=$ac_func_search_save_LIBS
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5911 $as_echo "$ac_cv_search_opendir" >&6; }
5912 ac_res
=$ac_cv_search_opendir
5913 if test "$ac_res" != no
; then :
5914 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5920 $as_echo_n "checking for library containing opendir... " >&6; }
5921 if test "${ac_cv_search_opendir+set}" = set; then :
5922 $as_echo_n "(cached) " >&6
5924 ac_func_search_save_LIBS
=$LIBS
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5928 /* Override any GCC internal prototype to avoid an error.
5929 Use char because int might match the return type of a GCC
5930 builtin and then its argument prototype would still apply. */
5943 for ac_lib
in '' x
; do
5944 if test -z "$ac_lib"; then
5945 ac_res
="none required"
5948 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5950 if ac_fn_c_try_link
"$LINENO"; then :
5951 ac_cv_search_opendir
=$ac_res
5953 rm -f core conftest.err conftest.
$ac_objext \
5955 if test "${ac_cv_search_opendir+set}" = set; then :
5959 if test "${ac_cv_search_opendir+set}" = set; then :
5962 ac_cv_search_opendir
=no
5965 LIBS
=$ac_func_search_save_LIBS
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5968 $as_echo "$ac_cv_search_opendir" >&6; }
5969 ac_res
=$ac_cv_search_opendir
5970 if test "$ac_res" != no
; then :
5971 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5978 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5979 if test "${ac_cv_header_stat_broken+set}" = set; then :
5980 $as_echo_n "(cached) " >&6
5982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5984 #include <sys/types.h>
5985 #include <sys/stat.h>
5987 #if defined S_ISBLK && defined S_IFDIR
5988 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5991 #if defined S_ISBLK && defined S_IFCHR
5992 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5995 #if defined S_ISLNK && defined S_IFREG
5996 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5999 #if defined S_ISSOCK && defined S_IFREG
6000 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6004 if ac_fn_c_try_compile
"$LINENO"; then :
6005 ac_cv_header_stat_broken
=no
6007 ac_cv_header_stat_broken
=yes
6009 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6012 $as_echo "$ac_cv_header_stat_broken" >&6; }
6013 if test $ac_cv_header_stat_broken = yes; then
6015 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6020 $as_echo_n "checking for ANSI C header files... " >&6; }
6021 if test "${ac_cv_header_stdc+set}" = set; then :
6022 $as_echo_n "(cached) " >&6
6024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6025 /* end confdefs.h. */
6039 if ac_fn_c_try_compile
"$LINENO"; then :
6040 ac_cv_header_stdc
=yes
6042 ac_cv_header_stdc
=no
6044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6046 if test $ac_cv_header_stdc = yes; then
6047 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6049 /* end confdefs.h. */
6053 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6054 $EGREP "memchr" >/dev
/null
2>&1; then :
6057 ac_cv_header_stdc
=no
6063 if test $ac_cv_header_stdc = yes; then
6064 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6066 /* end confdefs.h. */
6070 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6071 $EGREP "free" >/dev
/null
2>&1; then :
6074 ac_cv_header_stdc
=no
6080 if test $ac_cv_header_stdc = yes; then
6081 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6082 if test "$cross_compiling" = yes; then :
6085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6086 /* end confdefs.h. */
6089 #if ((' ' & 0x0FF) == 0x020)
6090 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6091 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6093 # define ISLOWER(c) \
6094 (('a' <= (c) && (c) <= 'i') \
6095 || ('j' <= (c) && (c) <= 'r') \
6096 || ('s' <= (c) && (c) <= 'z'))
6097 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6100 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6105 for (i = 0; i < 256; i++)
6106 if (XOR (islower (i), ISLOWER (i))
6107 || toupper (i) != TOUPPER (i))
6112 if ac_fn_c_try_run
"$LINENO"; then :
6115 ac_cv_header_stdc
=no
6117 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6118 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6124 $as_echo "$ac_cv_header_stdc" >&6; }
6125 if test $ac_cv_header_stdc = yes; then
6127 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6132 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6133 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6134 $as_echo_n "(cached) " >&6
6136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6137 /* end confdefs.h. */
6138 #include <sys/types.h>
6139 #include <sys/wait.h>
6141 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6144 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6152 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6157 if ac_fn_c_try_compile
"$LINENO"; then :
6158 ac_cv_header_sys_wait_h
=yes
6160 ac_cv_header_sys_wait_h
=no
6162 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6165 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6166 if test $ac_cv_header_sys_wait_h = yes; then
6168 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6173 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6174 if test "${ac_cv_header_time+set}" = set; then :
6175 $as_echo_n "(cached) " >&6
6177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6178 /* end confdefs.h. */
6179 #include <sys/types.h>
6180 #include <sys/time.h>
6186 if ((struct tm *) 0)
6192 if ac_fn_c_try_compile
"$LINENO"; then :
6193 ac_cv_header_time
=yes
6195 ac_cv_header_time
=no
6197 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6200 $as_echo "$ac_cv_header_time" >&6; }
6201 if test $ac_cv_header_time = yes; then
6203 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6207 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6208 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6210 cat >>confdefs.h
<<_ACEOF
6211 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6215 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6220 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6221 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6223 cat >>confdefs.h
<<_ACEOF
6224 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6228 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6231 case " $LIBOBJS " in
6232 *" fileblocks.$ac_objext "* ) ;;
6233 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6240 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6241 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6243 cat >>confdefs.h
<<_ACEOF
6244 #define HAVE_STRUCT_STAT_ST_RDEV 1
6248 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6254 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6255 if test "${ac_cv_struct_tm+set}" = set; then :
6256 $as_echo_n "(cached) " >&6
6258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6259 /* end confdefs.h. */
6260 #include <sys/types.h>
6267 int *p = &tm.tm_sec;
6273 if ac_fn_c_try_compile
"$LINENO"; then :
6274 ac_cv_struct_tm
=time.h
6276 ac_cv_struct_tm
=sys
/time.h
6278 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6281 $as_echo "$ac_cv_struct_tm" >&6; }
6282 if test $ac_cv_struct_tm = sys
/time.h
; then
6284 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6288 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6289 #include <$ac_cv_struct_tm>
6292 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6294 cat >>confdefs.h
<<_ACEOF
6295 #define HAVE_STRUCT_TM_TM_ZONE 1
6301 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6303 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6306 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6308 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6314 cat >>confdefs.h
<<_ACEOF
6315 #define HAVE_DECL_TZNAME $ac_have_decl
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6319 $as_echo_n "checking for tzname... " >&6; }
6320 if test "${ac_cv_var_tzname+set}" = set; then :
6321 $as_echo_n "(cached) " >&6
6323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6324 /* end confdefs.h. */
6326 #if !HAVE_DECL_TZNAME
6327 extern char *tzname[];
6333 return tzname[0][0];
6338 if ac_fn_c_try_link
"$LINENO"; then :
6339 ac_cv_var_tzname
=yes
6343 rm -f core conftest.err conftest.
$ac_objext \
6344 conftest
$ac_exeext conftest.
$ac_ext
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6347 $as_echo "$ac_cv_var_tzname" >&6; }
6348 if test $ac_cv_var_tzname = yes; then
6350 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6355 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6356 if test "x$ac_cv_type_off_t" = x
""yes; then :
6360 cat >>confdefs.h
<<_ACEOF
6361 #define off_t long int
6366 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6367 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6371 cat >>confdefs.h
<<_ACEOF
6377 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6378 if test "x$ac_cv_type_size_t" = x
""yes; then :
6382 cat >>confdefs.h
<<_ACEOF
6383 #define size_t unsigned int
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6389 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6390 if test "${ac_cv_type_uid_t+set}" = set; then :
6391 $as_echo_n "(cached) " >&6
6393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6394 /* end confdefs.h. */
6395 #include <sys/types.h>
6398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6399 $EGREP "uid_t" >/dev
/null
2>&1; then :
6400 ac_cv_type_uid_t
=yes
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6408 $as_echo "$ac_cv_type_uid_t" >&6; }
6409 if test $ac_cv_type_uid_t = no
; then
6411 $as_echo "#define uid_t int" >>confdefs.h
6414 $as_echo "#define gid_t int" >>confdefs.h
6419 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6420 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6422 cat >>confdefs.h
<<_ACEOF
6423 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6430 # Look for some functions
6431 for ac_func
in getpagesize kqueue statfs statvfs \
6432 clone kse_create rfork_thread thr_create sa_register \
6433 getcontext makecontext setcontext sigaltstack swapcontext
6435 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6436 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6437 eval as_val
=\$
$as_ac_var
6438 if test "x$as_val" = x
""yes; then :
6439 cat >>confdefs.h
<<_ACEOF
6440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6450 for ac_header
in $ac_header_list
6452 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6453 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6455 eval as_val
=\$
$as_ac_Header
6456 if test "x$as_val" = x
""yes; then :
6457 cat >>confdefs.h
<<_ACEOF
6458 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6472 for ac_func
in getpagesize
6474 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6475 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6476 cat >>confdefs.h
<<_ACEOF
6477 #define HAVE_GETPAGESIZE 1
6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6484 $as_echo_n "checking for working mmap... " >&6; }
6485 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6486 $as_echo_n "(cached) " >&6
6488 if test "$cross_compiling" = yes; then :
6489 ac_cv_func_mmap_fixed_mapped
=no
6491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6492 /* end confdefs.h. */
6493 $ac_includes_default
6494 /* malloc might have been renamed as rpl_malloc. */
6497 /* Thanks to Mike Haertel and Jim Avera for this test.
6498 Here is a matrix of mmap possibilities:
6499 mmap private not fixed
6500 mmap private fixed at somewhere currently unmapped
6501 mmap private fixed at somewhere already mapped
6502 mmap shared not fixed
6503 mmap shared fixed at somewhere currently unmapped
6504 mmap shared fixed at somewhere already mapped
6505 For private mappings, we should verify that changes cannot be read()
6506 back from the file, nor mmap's back from the file at a different
6507 address. (There have been systems where private was not correctly
6508 implemented like the infamous i386 svr4.0, and systems where the
6509 VM page cache was not coherent with the file system buffer cache
6510 like early versions of FreeBSD and possibly contemporary NetBSD.)
6511 For shared mappings, we should conversely verify that changes get
6512 propagated back to all the places they're supposed to be.
6514 Grep wants private fixed already mapped.
6515 The main things grep needs to know about mmap are:
6516 * does it exist and is it safe to write into the mmap'd area
6517 * how to use it (BSD variants) */
6520 #include <sys/mman.h>
6522 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6526 /* This mess was copied from the GNU getpagesize.h. */
6527 #ifndef HAVE_GETPAGESIZE
6528 # ifdef _SC_PAGESIZE
6529 # define getpagesize() sysconf(_SC_PAGESIZE)
6530 # else /* no _SC_PAGESIZE */
6531 # ifdef HAVE_SYS_PARAM_H
6532 # include <sys/param.h>
6533 # ifdef EXEC_PAGESIZE
6534 # define getpagesize() EXEC_PAGESIZE
6535 # else /* no EXEC_PAGESIZE */
6537 # define getpagesize() NBPG * CLSIZE
6540 # endif /* no CLSIZE */
6541 # else /* no NBPG */
6543 # define getpagesize() NBPC
6544 # else /* no NBPC */
6546 # define getpagesize() PAGESIZE
6547 # endif /* PAGESIZE */
6548 # endif /* no NBPC */
6549 # endif /* no NBPG */
6550 # endif /* no EXEC_PAGESIZE */
6551 # else /* no HAVE_SYS_PARAM_H */
6552 # define getpagesize() 8192 /* punt totally */
6553 # endif /* no HAVE_SYS_PARAM_H */
6554 # endif /* no _SC_PAGESIZE */
6556 #endif /* no HAVE_GETPAGESIZE */
6561 char *data, *data2, *data3;
6565 pagesize = getpagesize ();
6567 /* First, make a file with some known garbage in it. */
6568 data = (char *) malloc (pagesize);
6571 for (i = 0; i < pagesize; ++i)
6572 *(data + i) = rand ();
6574 fd = creat ("conftest.mmap", 0600);
6577 if (write (fd, data, pagesize) != pagesize)
6581 /* Next, check that the tail of a page is zero-filled. File must have
6582 non-zero length, otherwise we risk SIGBUS for entire page. */
6583 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6587 if (write (fd2, data2, 1) != 1)
6589 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6590 if (data2 == MAP_FAILED)
6592 for (i = 0; i < pagesize; ++i)
6596 if (munmap (data2, pagesize))
6599 /* Next, try to mmap the file at a fixed address which already has
6600 something else allocated at it. If we can, also make sure that
6601 we see the same garbage. */
6602 fd = open ("conftest.mmap", O_RDWR);
6605 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6606 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6608 for (i = 0; i < pagesize; ++i)
6609 if (*(data + i) != *(data2 + i))
6612 /* Finally, make sure that changes to the mapped area do not
6613 percolate back to the file as seen by read(). (This is a bug on
6614 some variants of i386 svr4.0.) */
6615 for (i = 0; i < pagesize; ++i)
6616 *(data2 + i) = *(data2 + i) + 1;
6617 data3 = (char *) malloc (pagesize);
6620 if (read (fd, data3, pagesize) != pagesize)
6622 for (i = 0; i < pagesize; ++i)
6623 if (*(data + i) != *(data3 + i))
6629 if ac_fn_c_try_run
"$LINENO"; then :
6630 ac_cv_func_mmap_fixed_mapped
=yes
6632 ac_cv_func_mmap_fixed_mapped
=no
6634 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6635 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6640 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6641 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6643 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6646 rm -f conftest.mmap conftest.txt
6651 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6652 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6653 aros_config_ldflags
=""
6655 aros_shared_default
=yes
6657 aros_shared_cflags
="-fPIC"
6658 aros_shared_aflags
=""
6659 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6660 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6662 aros_kernel_ar_flags
="cr"
6663 aros_target_ar_flags
="cr"
6664 aros_target_nm_flags
="-C -ul"
6665 aros_target_strip_flags
="--strip-unneeded -R.comment"
6670 aros_target_genmap
="-Wl,-Map -Xlinker"
6672 # Native flavour stuff
6673 aros_serial_debug
="0"
6675 # Palm native flavour stuff
6676 aros_palm_debug_hack
="0"
6678 # Unix flavour stuff
6679 aros_nesting_supervisor
="0"
6681 # Collect-aros stuff: "-ius" to ignore undefined symbols
6682 ignore_undefined_symbols
=""
6684 # Check for X11 by default
6687 #-----------------------------------------------------------------------------
6690 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6691 # it switched on by default, and we use the host compiler, so it compiles AROS
6692 # code with this enabled resulting in link failures as we don't have support
6695 # We use two methods to disable it. For the host compiler (used to compile
6696 # some hosted modules), we test to see if the compiler supports stack
6697 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6698 # work on all platforms.
6700 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6701 # (this is done unconditionally, as it should have no effect on compilers
6702 # without the stack protection feature). This may be specific to the way that
6703 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6704 # strong enough to disable it in a generic way though, so we'll live with it
6705 # until another vendor ships GCC with it enabled in a different way, and deal
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6710 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6711 save_cflags
="$CFLAGS"
6712 CFLAGS
="$CFLAGS -fno-stack-protector"
6713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6724 if ac_fn_c_try_compile
"$LINENO"; then :
6725 use_no_stack_protector
="yes"
6727 use_no_stack_protector
="no"
6729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6731 $as_echo "$use_no_stack_protector" >&6; }
6732 if test "x-$use_no_stack_protector" = "x-yes" ; then
6733 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6735 CFLAGS
="$save_cflags"
6737 #-----------------------------------------------------------------------------
6739 # Disable pointer-signedness warnings if the compiler recognises the option
6740 # (this only works for the host compiler at the moment)
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6743 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6744 save_cflags
="$CFLAGS"
6745 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6746 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6747 /* end confdefs.h. */
6757 if ac_fn_c_try_compile
"$LINENO"; then :
6758 use_no_sign_warning
="yes"
6760 use_no_sign_warning
="no"
6762 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6764 $as_echo "$use_no_sign_warning" >&6; }
6765 if test "x-$use_no_sign_warning" = "x-yes" ; then
6766 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6768 CFLAGS
="$save_cflags"
6770 #-----------------------------------------------------------------------------
6772 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6775 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6776 save_cflags
="$CFLAGS"
6777 CFLAGS
="$CFLAGS -fgnu89-inline"
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6789 if ac_fn_c_try_compile
"$LINENO"; then :
6790 use_gnu89_inline
="yes"
6792 use_gnu89_inline
="no"
6794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6796 $as_echo "$use_gnu89_inline" >&6; }
6797 if test "x-$use_gnu89_inline" = "x-yes" ; then
6798 gnu89_inline
="-fgnu89-inline"
6800 CFLAGS
="$save_cflags"
6802 #-----------------------------------------------------------------------------
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6805 $as_echo_n "checking for type of build... " >&6; }
6806 # Check whether --enable-build_type was given.
6807 if test "${enable_build_type+set}" = set; then :
6808 enableval
=$enable_build_type; build_type
=$enableval
6810 build_type
="personal"
6814 if test "$build_type" = "nightly"; then
6815 build_type_string
="NIGHTLY"
6816 elif test "$build_type" = "snapshot"; then
6817 build_type_string
="SNAPSHOT"
6818 elif test "$build_type" = "milestone"; then
6819 build_type_string
="MILESTONE"
6820 elif test "$build_type" = "release"; then
6821 build_type_string
="RELEASE"
6823 build_type_string
="PERSONAL"
6824 build_type
="personal"
6827 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6830 $as_echo "$build_type" >&6; }
6832 #-----------------------------------------------------------------------------
6833 all_debug_types
="messages stack modules mungwall symbols"
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6836 $as_echo_n "checking which debug types to enable... " >&6; }
6837 # Check whether --enable-debug was given.
6838 if test "${enable_debug+set}" = set; then :
6839 enableval
=$enable_debug; debug
="$enableval"
6845 if test "$debug" = "" -o "$debug" = "no"; then
6847 elif test "$debug" = "yes"; then
6851 if test "$debug" = "all" ; then
6852 debug
="messages stack modules symbols"
6853 for d
in $all_debug_types; do
6854 export aros_
${d}_debug
="1"
6857 for d
in $all_debug_types; do
6858 export aros_
${d}_debug
="0"
6862 if test "$debug" != "none"; then
6863 debug
=`echo $debug | sed s/,/\ /g`
6866 for d2
in $all_debug_types; do
6867 if test "$d2" = "$d"; then
6872 if test "$found" = "0"; then
6873 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6875 export aros_
${d}_debug
="1"
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6880 $as_echo "$debug" >&6; }
6882 if test "$aros_messages_debug" = "1"; then
6883 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6885 aros_messages_debug
=""
6887 if test "$aros_symbols_debug" = "1"; then
6888 aros_symbols_debug
="-g"
6890 aros_symbols_debug
=""
6893 # These are the flags to pass when compiling debugged programs
6894 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6895 aros_debug_aflags
=""
6896 aros_debug_ldflags
="$aros_symbols_debug"
6898 #-----------------------------------------------------------------------------
6899 # Checking if we should build crosstools..
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6901 $as_echo_n "checking whether to build crosstools... " >&6; }
6902 # Check whether --enable-crosstools was given.
6903 if test "${enable_crosstools+set}" = set; then :
6904 enableval
=$enable_crosstools; crosstools
="$enableval"
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
6910 $as_echo "$crosstools" >&6; }
6912 #-----------------------------------------------------------------------------
6913 # Checking for distcc and ccache.
6915 # Always apply the transforms in this particular order. Basically you should
6916 # always run 'ccache distcc compiler' in that order for the best performance.
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6919 $as_echo_n "checking whether to enable distcc... " >&6; }
6920 # Check whether --enable-distcc was given.
6921 if test "${enable_distcc+set}" = set; then :
6922 enableval
=$enable_distcc; distcc
="$enableval"
6927 if test "$distcc" != "" -a "$distcc" != "no"; then
6928 # AC_CHECK_PROG will print out the result in this case
6929 # Extract the first word of "distcc", so it can be a program name with args.
6930 set dummy distcc
; ac_word
=$2
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6932 $as_echo_n "checking for $ac_word... " >&6; }
6933 if test "${ac_cv_path_DISTCC+set}" = set; then :
6934 $as_echo_n "(cached) " >&6
6938 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6945 test -z "$as_dir" && as_dir
=.
6946 for ac_exec_ext
in '' $ac_executable_extensions; do
6947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6948 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6956 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6960 DISTCC
=$ac_cv_path_DISTCC
6961 if test -n "$DISTCC"; then
6962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6963 $as_echo "$DISTCC" >&6; }
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6966 $as_echo "no" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6976 $as_echo_n "checking whether to enable ccache... " >&6; }
6977 # Check whether --enable-ccache was given.
6978 if test "${enable_ccache+set}" = set; then :
6979 enableval
=$enable_ccache; ccache
="$enableval"
6984 if test "$ccache" != "" -a "$ccache" != "no"; then
6985 # AC_CHECK_PROG will print out the result in this case
6986 # Extract the first word of "ccache", so it can be a program name with args.
6987 set dummy ccache
; ac_word
=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6991 $as_echo_n "(cached) " >&6
6993 if test -n "$CCACHE"; then
6994 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7000 test -z "$as_dir" && as_dir
=.
7001 for ac_exec_ext
in '' $ac_executable_extensions; do
7002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7003 ac_cv_prog_CCACHE
="ccache"
7004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 CCACHE
=$ac_cv_prog_CCACHE
7014 if test -n "$CCACHE"; then
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7016 $as_echo "$CCACHE" >&6; }
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7019 $as_echo "no" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7025 $as_echo "no" >&6; }
7028 #-----------------------------------------------------------------------------
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7030 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7032 # Check whether --with-gcc-version was given.
7033 if test "${with_gcc_version+set}" = set; then :
7034 withval
=$with_gcc_version; target_tool_version
="$withval"
7036 target_tool_version
="default"
7039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7040 $as_echo "$target_tool_version" >&6; }
7042 #-----------------------------------------------------------------------------
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7044 $as_echo_n "checking what optimization flags to use... " >&6; }
7046 # Check whether --with-optimization was given.
7047 if test "${with_optimization+set}" = set; then :
7048 withval
=$with_optimization; optimization
="$withval"
7050 optimization
="unknown"
7053 if test "$optimization" = "unknown"; then
7054 if test "$debug" != "none"; then
7060 aros_config_cflags
="$aros_config_cflags $optimization"
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7062 $as_echo "$optimization" >&6; }
7064 #-----------------------------------------------------------------------------
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7066 $as_echo_n "checking what paranoia flags to use... " >&6; }
7068 # Check whether --with-paranoia was given.
7069 if test "${with_paranoia+set}" = set; then :
7070 withval
=$with_paranoia; paranoia_flags
="$withval"
7072 paranoia_flags
="default"
7075 if test "$paranoia_flags" = "default"; then
7077 else if test "$paranoia_flags" = "yes"; then
7078 paranoia_flags
="-Wall -Werror"
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7081 $as_echo "$paranoia_flags" >&6; }
7082 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7084 #-----------------------------------------------------------------------------
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7086 $as_echo_n "checking what target variant to enable... " >&6; }
7087 # Check whether --enable-target_variant was given.
7088 if test "${enable_target_variant+set}" = set; then :
7089 enableval
=$enable_target_variant; target_variant
=$enableval
7094 if test "$target_variant" = ""; then
7095 aros_target_variant
=""
7096 aros_target_suffix
=""
7099 aros_target_variant
="$target_variant"
7100 aros_target_suffix
="-$target_variant"
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7103 $as_echo "$enableval" >&6; }
7105 #-----------------------------------------------------------------------------
7106 # Target-specific defaults. You can override then on a per-target basis.
7108 # Bootloader name. Currently used by PC target.
7109 target_bootloader
="none"
7111 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7112 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7113 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7114 if test "$crosstools" != "yes"; then
7115 target_tool_prefix
=${target_cpu}-elf-
7117 target_tool_prefix
=${target_cpu}-aros-
7120 #-----------------------------------------------------------------------------
7121 # Additional options for some specific targets
7123 case "$aros_target_variant" in
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7126 $as_echo_n "checking XCode path... " >&6; }
7128 # Check whether --with-xcode was given.
7129 if test "${with_xcode+set}" = set; then :
7130 withval
=$with_xcode; aros_xcode_path
="$withval"
7132 aros_xcode_path
="/Developer"
7135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7136 $as_echo "$aros_xcode_path" >&6; }
7138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7139 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7141 # Check whether --with-ios-version was given.
7142 if test "${with_ios_version+set}" = set; then :
7143 withval
=$with_ios_version; aros_ios_version
="$withval"
7145 aros_ios_version
="3.0"
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7149 $as_echo "$aros_ios_version" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7152 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7154 # Check whether --with-ios-sdk was given.
7155 if test "${with_ios_sdk+set}" = set; then :
7156 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7162 $as_echo "$aros_ios_sdk" >&6; }
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7168 $as_echo_n "checking Android SDK path... " >&6; }
7170 # Check whether --with-sdk was given.
7171 if test "${with_sdk+set}" = set; then :
7172 withval
=$with_sdk; aros_android_sdk
="$withval"
7174 aros_android_sdk
=$default_android_sdk
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7178 $as_echo "$aros_android_sdk" >&6; }
7180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7181 $as_echo_n "checking Android NDK path... " >&6; }
7183 # Check whether --with-ndk was given.
7184 if test "${with_ndk+set}" = set; then :
7185 withval
=$with_ndk; aros_android_ndk
="$withval"
7187 aros_android_ndk
="$default_android_ndk"
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7191 $as_echo "$aros_android_ndk" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7194 $as_echo_n "checking what Android SDK version to use... " >&6; }
7196 # Check whether --with-sdk-version was given.
7197 if test "${with_sdk_version+set}" = set; then :
7198 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7200 aros_sdk_version
="8"
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7204 $as_echo "$aros_sdk_version" >&6; }
7206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7207 $as_echo_n "checking what Android NDK version to use... " >&6; }
7209 # Check whether --with-ndk-version was given.
7210 if test "${with_ndk_version+set}" = set; then :
7211 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7213 aros_ndk_version
="9"
7216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7217 $as_echo "$aros_ndk_version" >&6; }
7219 export PATH
="$aros_android_sdk/tools:$PATH"
7220 # Extract the first word of "$android_tool", so it can be a program name with args.
7221 set dummy
$android_tool; ac_word
=$2
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7223 $as_echo_n "checking for $ac_word... " >&6; }
7224 if test "${ac_cv_path_android_tool+set}" = set; then :
7225 $as_echo_n "(cached) " >&6
7227 case $android_tool in
7229 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7232 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7236 test -z "$as_dir" && as_dir
=.
7237 for ac_exec_ext
in '' $ac_executable_extensions; do
7238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7239 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 android_tool
=$ac_cv_path_android_tool
7251 if test -n "$android_tool"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7253 $as_echo "$android_tool" >&6; }
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7260 if test "$android_tool" = ""; then
7261 as_fn_error
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7264 # Extract the first word of "ant", so it can be a program name with args.
7265 set dummy ant
; ac_word
=$2
7266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7267 $as_echo_n "checking for $ac_word... " >&6; }
7268 if ${ac_cv_path_ant+:} false
; then :
7269 $as_echo_n "(cached) " >&6
7273 ac_cv_path_ant
="$ant" # Let the user override the test with a path.
7276 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7280 test -z "$as_dir" && as_dir
=.
7281 for ac_exec_ext
in '' $ac_executable_extensions; do
7282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7283 ac_cv_path_ant
="$as_dir/$ac_word$ac_exec_ext"
7284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7295 if test -n "$ant"; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ant" >&5
7297 $as_echo "$ant" >&6; }
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7300 $as_echo "no" >&6; }
7304 if test "$ant" = ""; then
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&5
7306 $as_echo "$as_me: WARNING: Apache Ant is missing, Java bootstrap can't be built automatically" >&2;}
7309 if test "$host_os" = "mingw32"; then
7310 android_tool
="cmd //c $android_tool"
7316 #-----------------------------------------------------------------------------
7317 # This is the target configuration switch.
7318 case "$target_os" in
7320 aros_target_arch
="linux"
7321 aros_target_family
="unix"
7322 case "$target_cpu" in
7324 aros_target_cpu
="m68k"
7325 aros_object_format
="m68kelf"
7326 aros_flavour
="emulcompat"
7327 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7328 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7329 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7330 gcc_target_cpu
="mc68000"
7333 aros_target_cpu
="i386"
7334 aros_object_format
="elf_i386"
7335 aros_flavour
="emulation"
7336 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7337 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7338 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7339 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7340 aros_config_ldflags
="-m32 -march=i486"
7341 aros_kernel_ldflags
="-melf_i386"
7342 aros_default_wbdepth
=8
7343 gcc_target_cpu
="i386"
7344 pci_hidd_target
="hidd-pci-linux"
7347 aros_target_cpu
="x86_64"
7348 aros_object_format
="elf_x86_64"
7349 aros_flavour
="emulation"
7350 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7351 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7352 aros_default_wbdepth
=8
7353 pci_hidd_target
="hidd-pci-linux"
7356 aros_target_cpu
="ppc"
7357 aros_object_format
="elf32ppc"
7358 aros_flavour
="emulation"
7359 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7360 aros_default_wbdepth
=8
7361 gcc_target_cpu
="ppc"
7364 # Same as powerpc, but I need this for the nightly build to work again.
7365 # Actually, the nightly should be made working with powerpc target.
7366 # That just was too much work for the moment, another week or two.
7368 aros_target_cpu
="ppc"
7369 aros_object_format
="elf32ppc"
7370 aros_flavour
="emulation"
7371 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7372 aros_default_wbdepth
=8
7373 gcc_target_cpu
="ppc"
7376 aros_target_cpu
="arm"
7377 aros_object_format
="armelf_linux_eabi"
7378 aros_flavour
="emulation"
7379 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7380 gcc_target_cpu
="arm"
7381 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"
7382 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"
7383 aros_arch_libs
="-laeabi"
7386 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7389 case "$aros_target_variant" in
7391 aros_android_level
=android-
$aros_sdk_version
7392 aros_default_wbwidth
=320
7393 aros_default_wbheight
=480
7395 if test "$aros_android_ndk" = ""; then
7396 aros_kernel_cflags
="-mandroid"
7397 aros_kernel_ldflags
="-mandroid"
7400 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7401 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-arm"
7402 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7403 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7404 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7405 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7408 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7409 target_tool_prefix
="arm-linux-androideabi-"
7415 aros_target_arch
="pc"
7416 aros_shared_default
="no"
7417 target_bootloader
="grub2"
7418 case "$target_cpu" in
7420 aros_target_cpu
="i386"
7423 if test "$aros_object_format" = "" ; then
7424 aros_object_format
="elf_i386"
7426 aros_flavour
="standalone"
7427 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7428 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7429 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7430 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7431 aros_config_ldflags
="-m32 -march=i486"
7432 aros_kernel_ldflags
="-melf_i386"
7433 aros_default_wbwidth
=640
7434 aros_default_wbheight
=480
7435 gcc_target_cpu
="i386"
7438 aros_target_cpu
="x86_64"
7440 if test "$aros_object_format" = "" ; then
7441 aros_object_format
="elf_x86_64"
7443 aros_flavour
="standalone"
7444 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7445 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7446 aros_kernel_ldflags
=""
7447 aros_default_wbwidth
=640
7448 aros_default_wbheight
=480
7451 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7457 aros_target_arch
="prep"
7458 aros_shared_default
="no"
7459 aros_target_cpu
="ppc"
7460 aros_object_format
="elf32ppc"
7461 aros_flavour
="ppcnative"
7462 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7463 aros_kernel_ldflags
=""
7464 aros_default_wbwidth
=640
7465 aros_default_wbheight
=480
7466 gcc_target_cpu
="ppc"
7470 aros_target_arch
="freebsd"
7471 aros_target_family
="unix"
7472 aros_target_cpu
="i386"
7473 aros_flavour
="emulation"
7474 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7475 gcc_target_cpu
="i386"
7477 aros_target_strip_flags
="-x"
7481 aros_target_arch
="darwin"
7482 aros_target_family
="unix"
7483 aros_flavour
="emulation"
7484 case "$target_cpu" in
7486 aros_ios_platform
="iPhoneSimulator"
7487 aros_target_cpu
="i386"
7488 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7489 aros_kernel_ldflags
=""
7490 aros_macosx_version
="10.4"
7491 aros_default_wbdepth
=8
7492 gcc_target_cpu
="i386"
7493 aros_object_format
="elf_i386"
7494 aros_kernel_ar_flags
="-cr"
7495 aros_target_strip_flags
="-x"
7496 target_tool_prefix
="i686-apple-darwin10-"
7497 target_tool_flags
="-m32"
7500 aros_target_cpu
="x86_64"
7501 aros_object_format
="elf_x86_64"
7502 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7503 aros_macosx_version
="10.6"
7504 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7505 aros_kernel_cflags
="-m64"
7506 aros_kernel_ldflags
="-m64"
7507 aros_target_cflags
="-mcmodel=large"
7508 aros_default_wbdepth
=8
7510 aros_kernel_ar_flags
="-cr"
7512 aros_kernel_ranlib
="ranlib"
7513 target_tool_prefix
="i686-apple-darwin10-"
7516 aros_target_cpu
="ppc"
7517 aros_object_format
="elf32ppc"
7518 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7519 aros_kernel_ldflags
=""
7520 aros_macosx_version
="10.0"
7521 aros_default_wbdepth
=8
7522 gcc_target_cpu
="ppc"
7524 aros_kernel_ar_flags
="-cr"
7525 aros_kernel_ld
="ld -arch ppc"
7526 aros_kernel_ranlib
="ranlib -arch ppc"
7527 target_tool_prefix
="powerpc-apple-darwin10-"
7530 aros_ios_platform
="iPhoneOS"
7531 aros_target_cpu
="arm"
7532 aros_object_format
="armelf_linux_eabi"
7533 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7534 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7535 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7536 aros_arch_libs
="-laeabi"
7537 aros_default_wbdepth
=8
7538 gcc_target_cpu
="arm"
7540 aros_kernel_ar_flags
="-cr"
7541 aros_kernel_ld
="ld -arch arm"
7542 aros_kernel_ranlib
="ranlib -arch arm"
7543 target_tool_prefix
="arm-apple-darwin10-"
7544 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7547 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7550 case "$aros_target_variant" in
7552 aros_default_wbwidth
=320
7553 aros_default_wbheight
=480
7554 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7555 target_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7556 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7558 # This is here because it may depend on iOS or SDK version
7559 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7560 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7561 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7564 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7565 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7571 aros_target_arch
="dragonfly"
7572 aros_target_family
="unix"
7573 aros_flavour
="emulation"
7574 case "$target_cpu" in
7576 aros_target_cpu
="i386"
7577 aros_object_format
="elf_i386"
7578 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7581 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7582 aros_target_cpu
="x86_64"
7583 aros_object_format
="elf_x86_64"
7584 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7587 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7593 aros_target_arch
="netbsd"
7594 aros_target_family
="unix"
7595 case "$target_cpu" in
7597 aros_target_cpu
="m68k"
7598 aros_object_format
="m68kelf"
7599 aros_flavour
="emulcompat"
7600 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7601 gcc_target_cpu
="mc68000"
7604 aros_target_cpu
="i386"
7605 aros_object_format
="elf_i386"
7606 aros_flavour
="emulation"
7607 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7608 aros_default_wbdepth
=8
7609 gcc_target_cpu
="i386"
7612 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7615 aros_target_genmap
="-Wl,-M -Xlinker >"
7616 aros_flavour
="emulation"
7617 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7621 aros_target_arch
="openbsd"
7622 aros_target_family
="unix"
7623 case "$target_cpu" in
7625 aros_target_cpu
="i386"
7626 aros_object_format
="elf_i386"
7627 aros_flavour
="emulation"
7628 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7629 gcc_target_cpu
="i386"
7632 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7635 aros_target_genmap
="-Wl,-M -Xlinker >"
7636 aros_target_nm_flags
="-u"
7637 aros_flavour
="emulation"
7641 aros_target_arch
="solaris"
7642 aros_target_family
="unix"
7643 case "$target_cpu" in
7645 aros_target_cpu
="i386"
7646 aros_object_format
="elf_i386"
7647 aros_flavour
="emulation"
7648 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7649 aros_default_wbdepth
=8
7650 gcc_target_cpu
="i386"
7653 aros_target_cpu
="sparc"
7654 aros_object_format
="elf_sparc"
7655 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7656 gcc_target_cpu
="sparc"
7659 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7662 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7663 aros_flavour
="emulation"
7667 aros_target_arch
="morphos"
7668 aros_shared_default
="no"
7669 aros_target_cpu
="ppc"
7670 aros_object_format
="elf_ppc"
7671 aros_flavour
="nativecompat"
7672 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7673 gcc_target_cpu
="ppc"
7677 aros_target_arch
="sam440"
7678 aros_shared_default
="no"
7679 aros_target_cpu
="ppc"
7680 aros_object_format
="elf32ppc"
7681 aros_flavour
="ppcnative"
7682 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7683 aros_kernel_ldflags
=""
7684 aros_default_wbwidth
=1024
7685 aros_default_wbheight
=768
7686 aros_default_wbdepth
=24
7687 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7688 gcc_target_cpu
="powerpc"
7692 aros_target_arch
="efika"
7693 aros_shared_default
="no"
7694 aros_target_cpu
="arm"
7695 aros_object_format
="armelf_linux_eabi"
7696 aros_flavour
="standalone"
7697 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7698 aros_kernel_ldflags
=""
7699 aros_default_wbwidth
=1024
7700 aros_default_wbheight
=600
7701 aros_arch_libs
="-laeabi"
7702 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"
7703 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"
7707 aros_target_arch
="chrp"
7708 aros_shared_default
="no"
7709 aros_target_cpu
="ppc"
7710 aros_object_format
="elf32ppc"
7711 aros_flavour
="ppcnative"
7712 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7713 aros_kernel_ldflags
=""
7714 aros_default_wbwidth
=640
7715 aros_default_wbheight
=480
7716 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7717 gcc_target_cpu
="powerpc"
7718 case "$aros_target_variant" in
7720 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7726 aros_target_arch
="amiga"
7727 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7728 aros_shared_default
="no"
7730 case "$target_cpu" in
7732 # Check whether --enable-amigaos_compliance was given.
7733 if test "${enable_amigaos_compliance+set}" = set; then :
7734 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
7738 aros_target_cpu
="m68k"
7739 aros_object_format
="m68kelf"
7740 aros_flavour
="standcompat"
7741 gcc_target_cpu
="m68000"
7742 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
7743 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7744 target_tool_prefix
="m68k-elf-"
7745 # Needed to get the correct multilib
7746 aros_config_ldflags
="-${gcc_target_cpu}"
7747 aros_shared_ldflags
="-${gcc_target_cpu}"
7748 aros_kernel_ldflags
="-${gcc_target_cpu}"
7749 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7750 aros_target_strip_flags
="-R.comment --strip-debug"
7751 aros_default_wbwidth
=640
7752 aros_default_wbheight
=256
7753 aros_default_wbdepth
=2
7757 aros_flavour
="native"
7758 gcc_target_cpu
="ppc"
7761 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7767 aros_target_arch
="mingw32"
7768 aros_shared_default
="no"
7769 aros_flavour
="emulation"
7770 aros_shared_cflags
=""
7773 case "$target_cpu" in
7775 aros_target_cpu
="i386"
7776 aros_object_format
="elf_i386"
7777 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7778 aros_default_wbdepth
=8
7779 gcc_target_cpu
="i386"
7781 aros_target_as
="i386-aros-as"
7782 aros_target_ar
="i386-aros-ar"
7783 aros_target_ranlib
="i386-aros-ranlib"
7784 aros_target_nm
="i386-aros-nm"
7785 aros_target_strip
="i386-aros-strip"
7786 aros_target_objcopy
="i386-aros-objcopy"
7787 aros_target_objdump
="i386-aros-objdump"
7789 target_tool_prefix
="i386-mingw32-"
7792 aros_target_cpu
="x86_64"
7793 aros_object_format
="elf_x86_64"
7794 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7795 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7796 aros_default_wbdepth
=8
7797 target_tool_prefix
="x86_64-w64-mingw32-"
7800 aros_target_cpu
="arm"
7801 aros_object_format
="armelf_linux_eabi"
7802 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7803 aros_arch_libs
="-laeabi"
7804 aros_default_wbdepth
=8
7805 gcc_target_cpu
="arm"
7806 target_tool_prefix
="arm-mingw32ce-"
7807 aros_default_wbwidth
=160
7808 aros_default_wbheight
=160
7811 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7814 if test $host_os = "cygwin"; then
7815 aros_kernel_cflags
="-mno-cygwin"
7819 aros_target_arch
="pp"
7820 aros_shared_default
="no"
7821 case "$target_cpu" in
7823 aros_target_cpu
="m68k"
7824 aros_object_format
="m68kelf"
7825 aros_flavour
="palmnative"
7826 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7827 aros_default_wbwidth
=160
7828 aros_default_wbheight
=160
7829 aros_default_wbdepth
=1
7830 aros_target_ar_flags
="cru"
7831 aros_compiler_libs
="-lgcc1"
7832 aros_shared_default
=no
7833 aros_shared_cflags
="-fpic"
7834 aros_shared_aflags
=""
7835 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7836 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7837 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7838 aros_debug_aflags
=""
7839 aros_debug_ldflags
="$aros_symbols_debug"
7840 aros_mungwall_debug
="0"
7841 aros_modules_debug
="0"
7842 gcc_target_cpu
="mc68000"
7843 ignore_undefined_symbols
="-ius"
7846 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7852 aros_target_arch
="mac"
7853 aros_shared_default
="no"
7854 case "$target_cpu" in
7856 aros_target_cpu
="m68k"
7857 aros_object_format
="m68kelf"
7858 aros_flavour
="mac68knative"
7859 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7860 aros_default_wbwidth
=512
7861 aros_default_wbheight
=384
7862 aros_default_wbdepth
=8
7863 aros_target_ar_flags
="cru"
7864 aros_compiler_libs
="-lgcc1"
7865 aros_shared_default
=no
7866 aros_shared_cflags
="-fpic"
7867 aros_shared_aflags
=""
7868 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7869 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7870 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7871 aros_debug_aflags
=""
7872 aros_debug_ldflags
="$aros_symbols_debug"
7873 aros_mungwall_debug
="0"
7874 aros_modules_debug
="0"
7875 gcc_target_cpu
="mc68000"
7876 ignore_undefined_symbols
="-ius"
7879 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7885 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7889 # Some formats need custom ELF specs.
7890 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
7891 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
7892 elf_specs_in
=config
/${aros_object_format}-specs.
in
7894 elf_specs_in
=config
/elf-specs.
in
7897 #-----------------------------------------------------------------------------
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
7899 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
7901 # Check whether --with-crosstools was given.
7902 if test "${with_crosstools+set}" = set; then :
7903 withval
=$with_crosstools; with_crosstools
=$withval
7905 with_crosstools
="default"
7908 if test "$with_crosstools" = "default"; then
7909 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
7911 AROS_CROSSTOOLSDIR
="$with_crosstools"
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
7914 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
7916 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
7920 PATH
=$AROS_CROSSTOOLSDIR:$PATH
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
7924 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
7926 # Check whether --with-aros-gcc was given.
7927 if test "${with_aros_gcc+set}" = set; then :
7928 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
7930 aros_gcc_version
="$use_aros_gcc"
7933 case "$aros_gcc_version" in
7935 aros_gcc_version
="default"
7938 aros_gcc_version
="none"
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
7942 $as_echo "$aros_gcc_version" >&6; }
7944 if test "$aros_gcc_version" != "none"; then
7947 if test "$aros_gcc_version" != "default"; then
7948 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
7949 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
7951 aros_target_cc
="$aros_target_cpu-aros-gcc"
7952 aros_target_cxx
="$aros_target_cpu-aros-g++"
7955 aros_target_ld
="$aros_target_cpu-aros-ld"
7956 aros_target_as
="$aros_target_cpu-aros-as"
7957 aros_target_ar
="$aros_target_cpu-aros-ar"
7958 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
7959 aros_target_nm
="$aros_target_cpu-aros-nm"
7960 aros_target_strip
="$aros_target_cpu-aros-strip"
7961 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
7962 aros_target_objdump
="$aros_target_cpu-aros-objdump"
7965 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
7966 # Since we override specs, we may need to put these defines there
7967 if test "$gcc_target_cpu" != ""; then
7968 gcc_target_cpu
="-D__${gcc_target_cpu}__"
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
7972 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
7974 # Check whether --with-portssources was given.
7975 if test "${with_portssources+set}" = set; then :
7976 withval
=$with_portssources; with_portssrcdir
=$withval
7978 with_portssrcdir
="default"
7981 if test "$with_portssrcdir" = "default"; then
7982 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7984 AROS_PORTSSRCDIR
="$with_portssrcdir"
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7987 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7990 $as_echo_n "checking which bootloader to use... " >&6; }
7992 # Check whether --with-bootloader was given.
7993 if test "${with_bootloader+set}" = set; then :
7994 withval
=$with_bootloader; target_bootloader
=$withval
7996 target_bootloader
=$target_bootloader
7999 if test "$target_bootloader" = "none"; then
8000 aros_target_bootloader
=""
8002 aros_target_bootloader
="$target_bootloader"
8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
8005 $as_echo "$target_bootloader" >&6; }
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
8008 $as_echo_n "checking which icon-set to use... " >&6; }
8010 # Check whether --with-iconset was given.
8011 if test "${with_iconset+set}" = set; then :
8012 withval
=$with_iconset; target_iconset
=$withval
8014 target_iconset
="default"
8017 if test "$target_iconset" = "default"; then
8018 aros_target_iconset
="Gorilla"
8019 target_iconset
="default (Gorilla)"
8021 aros_target_iconset
="$target_iconset"
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
8024 $as_echo "$target_iconset" >&6; }
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
8027 $as_echo_n "checking which GUI Theme to use... " >&6; }
8029 # Check whether --with-theme was given.
8030 if test "${with_theme+set}" = set; then :
8031 withval
=$with_theme; target_guitheme
=$withval
8033 target_guitheme
="default"
8036 if test "$target_guitheme" = "default"; then
8037 aros_target_guitheme
="Ice"
8039 aros_target_guitheme
="$target_guitheme"
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
8042 $as_echo "$aros_target_guitheme" >&6; }
8044 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8047 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8051 if test "$aros_host_cpu" == "x86_64" ; then
8052 if test "$aros_target_cpu" == "i386" ; then
8053 if test "$aros_target_arch" != "mingw32"; then
8059 if test "$aros_host_arch" == "darwin" ; then
8060 if test "$aros_target_arch" != "darwin" ; then
8065 if test "$aros_host_arch" == "mingw32" ; then
8066 if test "$aros_target_arch" != "mingw32" ; then
8071 # I want to have this information in configure output, although it might be
8072 # misleading, e.g. for darwin hosted you cannot compile target code without a
8073 # cross compiler, but here it says no.
8075 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
8076 # Target code is a little bit different thing.
8078 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8080 # Set prefix for target compiler etc. if we're cross-compiling
8081 # (should possibly be earlier but needs to be after AC_PROG_CC)
8082 if test "$cross_compiling" = "yes" ; then
8084 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
8085 if test "$aros_gcc_version" != "none"; then
8088 target_tool_prefix
=${target_cpu}-aros-
8089 target_tool_version
=$aros_gcc_version
8090 use_kernel_cc_wrapper
=yes
8099 aros_target_objcopy
=
8100 aros_target_objdump
=
8104 CC
=${target_tool_prefix}gcc
8105 CPP
=${target_tool_prefix}cpp
8106 if test "$target_tool_version" != "default"; then
8107 CC
="$CC-$target_tool_version"
8108 CPP
="$CC-$target_tool_version"
8110 if test "$crosstools" != "yes" ; then
8111 # Extract the first word of "$CC", so it can be a program name with args.
8112 set dummy
$CC; ac_word
=$2
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8114 $as_echo_n "checking for $ac_word... " >&6; }
8115 if test "${ac_cv_path_CC+set}" = set; then :
8116 $as_echo_n "(cached) " >&6
8120 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir
=.
8128 for ac_exec_ext
in '' $ac_executable_extensions; do
8129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8130 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8142 if test -n "$CC"; then
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8144 $as_echo "$CC" >&6; }
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8147 $as_echo "no" >&6; }
8151 if test "$CC" = ""; then
8152 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8155 CC
=$AROS_CROSSTOOLSDIR/$CC
8158 CC
="$CC $target_tool_flags"
8160 #-----------------------------------------------------------------------------
8162 # Disable pointer-signedness warnings if the compiler recognises the option
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8165 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8166 save_cflags
="$CFLAGS"
8167 if test "$crosstools" != "yes" ; then
8168 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8170 /* end confdefs.h. */
8180 if ac_fn_c_try_compile
"$LINENO"; then :
8181 use_no_sign_warning
="yes"
8183 use_no_sign_warning
="no"
8185 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8187 # we do know it is supported for the smallest version of gcc we are going to build
8188 # we assume it's also supported by later versions
8189 use_no_sign_warning
=yes
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8192 $as_echo "$use_no_sign_warning" >&6; }
8193 if test "x-$use_no_sign_warning" = "x-yes" ; then
8194 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8196 CFLAGS
="$save_cflags"
8198 #-----------------------------------------------------------------------------
8200 # Find all the tools we need to compile. This could be cross-compiling
8201 # though! If that is the case we use the GNU form of the target and
8202 # simply add this to the front of the binary name. This is rather simple,
8203 # but it should work under most circumstances.
8205 # The default tools are to use the same as the host, but only if the
8206 # host and target CPU are the same. With GCC this is normally enough.
8210 aros_shared_ld
="$aros_host_ld"
8212 aros_target_mkdep
="$aros_host_mkdep"
8213 aros_target_incl_def
="$aros_host_incl"
8215 aros_kernel_cc
="$CC"
8217 # The default tools executables to be linked to.
8218 if test "$rescomp" != ""; then
8219 if test "$cross_compiling" = "yes" ; then
8220 rescomp
=${target_tool_prefix}${rescomp}
8222 # Extract the first word of "$rescomp", so it can be a program name with args.
8223 set dummy
$rescomp; ac_word
=$2
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8225 $as_echo_n "checking for $ac_word... " >&6; }
8226 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
8227 $as_echo_n "(cached) " >&6
8229 case $aros_kernel_rescomp in
8231 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8238 test -z "$as_dir" && as_dir
=.
8239 for ac_exec_ext
in '' $ac_executable_extensions; do
8240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8241 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8252 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8253 if test -n "$aros_kernel_rescomp"; then
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8255 $as_echo "$aros_kernel_rescomp" >&6; }
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8258 $as_echo "no" >&6; }
8262 if test "$aros_kernel_rescomp" = ""; then
8263 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8267 if test "$crosstools" != "yes"; then
8269 if test "$aros_kernel_ld" = ""; then
8270 if test "$cross_compiling" = "yes" ; then
8271 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8272 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8274 $as_echo_n "checking for $ac_word... " >&6; }
8275 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8276 $as_echo_n "(cached) " >&6
8278 case $aros_kernel_ld in
8280 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir
=.
8288 for ac_exec_ext
in '' $ac_executable_extensions; do
8289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8290 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8302 if test -n "$aros_kernel_ld"; then
8303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8304 $as_echo "$aros_kernel_ld" >&6; }
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8307 $as_echo "no" >&6; }
8312 if test "$GCC" = "yes"; then
8313 aros_gcc_ld
=`$CC -print-prog-name=ld`
8314 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8315 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8317 $as_echo_n "checking for $ac_word... " >&6; }
8318 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8319 $as_echo_n "(cached) " >&6
8321 case $aros_kernel_ld in
8323 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8326 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8327 for as_dir
in `dirname $aros_gcc_ld`
8330 test -z "$as_dir" && as_dir
=.
8331 for ac_exec_ext
in '' $ac_executable_extensions; do
8332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8333 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8344 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8345 if test -n "$aros_kernel_ld"; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8347 $as_echo "$aros_kernel_ld" >&6; }
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8350 $as_echo "no" >&6; }
8355 if test "$aros_kernel_ld" = ""; then
8356 # Extract the first word of "ld", so it can be a program name with args.
8357 set dummy ld
; ac_word
=$2
8358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8359 $as_echo_n "checking for $ac_word... " >&6; }
8360 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8361 $as_echo_n "(cached) " >&6
8363 case $aros_kernel_ld in
8365 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8372 test -z "$as_dir" && as_dir
=.
8373 for ac_exec_ext
in '' $ac_executable_extensions; do
8374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8375 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8386 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8387 if test -n "$aros_kernel_ld"; then
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8389 $as_echo "$aros_kernel_ld" >&6; }
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8392 $as_echo "no" >&6; }
8399 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8400 set dummy
$aros_kernel_ld; ac_word
=$2
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8402 $as_echo_n "checking for $ac_word... " >&6; }
8403 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8404 $as_echo_n "(cached) " >&6
8406 case $aros_kernel_ld in
8408 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8415 test -z "$as_dir" && as_dir
=.
8416 for ac_exec_ext
in '' $ac_executable_extensions; do
8417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8418 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8429 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8430 if test -n "$aros_kernel_ld"; then
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8432 $as_echo "$aros_kernel_ld" >&6; }
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8435 $as_echo "no" >&6; }
8441 if test "$aros_kernel_ld" = ""; then
8442 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8445 if test "$aros_kernel_ar" = ""; then
8446 if test "$cross_compiling" = "yes" ; then
8447 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8448 set dummy
${target_tool_prefix}ar; ac_word
=$2
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 $as_echo_n "checking for $ac_word... " >&6; }
8451 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8454 case $aros_kernel_ar in
8456 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8459 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8463 test -z "$as_dir" && as_dir
=.
8464 for ac_exec_ext
in '' $ac_executable_extensions; do
8465 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8466 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8477 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8478 if test -n "$aros_kernel_ar"; then
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8480 $as_echo "$aros_kernel_ar" >&6; }
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8483 $as_echo "no" >&6; }
8488 if test "$GCC" = "yes"; then
8489 aros_gcc_ar
=`$CC -print-prog-name=ar`
8490 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8491 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8493 $as_echo_n "checking for $ac_word... " >&6; }
8494 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8495 $as_echo_n "(cached) " >&6
8497 case $aros_kernel_ar in
8499 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8502 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8503 for as_dir
in `dirname $aros_gcc_ar`
8506 test -z "$as_dir" && as_dir
=.
8507 for ac_exec_ext
in '' $ac_executable_extensions; do
8508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8509 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8520 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8521 if test -n "$aros_kernel_ar"; then
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8523 $as_echo "$aros_kernel_ar" >&6; }
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8526 $as_echo "no" >&6; }
8531 if test "$aros_kernel_ar" = ""; then
8532 # Extract the first word of "ar", so it can be a program name with args.
8533 set dummy
ar; ac_word
=$2
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8535 $as_echo_n "checking for $ac_word... " >&6; }
8536 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8537 $as_echo_n "(cached) " >&6
8539 case $aros_kernel_ar in
8541 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8548 test -z "$as_dir" && as_dir
=.
8549 for ac_exec_ext
in '' $ac_executable_extensions; do
8550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8551 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8562 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8563 if test -n "$aros_kernel_ar"; then
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8565 $as_echo "$aros_kernel_ar" >&6; }
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8568 $as_echo "no" >&6; }
8575 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8576 set dummy
$aros_kernel_ar; ac_word
=$2
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8578 $as_echo_n "checking for $ac_word... " >&6; }
8579 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8580 $as_echo_n "(cached) " >&6
8582 case $aros_kernel_ar in
8584 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8591 test -z "$as_dir" && as_dir
=.
8592 for ac_exec_ext
in '' $ac_executable_extensions; do
8593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8594 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8605 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8606 if test -n "$aros_kernel_ar"; then
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8608 $as_echo "$aros_kernel_ar" >&6; }
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8611 $as_echo "no" >&6; }
8617 if test "$aros_kernel_ar" = ""; then
8618 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8621 if test "$aros_kernel_ranlib" = ""; then
8622 if test "$cross_compiling" = "yes" ; then
8623 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8624 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8626 $as_echo_n "checking for $ac_word... " >&6; }
8627 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8628 $as_echo_n "(cached) " >&6
8630 case $aros_kernel_ranlib in
8632 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8635 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8639 test -z "$as_dir" && as_dir
=.
8640 for ac_exec_ext
in '' $ac_executable_extensions; do
8641 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8642 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8653 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8654 if test -n "$aros_kernel_ranlib"; then
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8656 $as_echo "$aros_kernel_ranlib" >&6; }
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8659 $as_echo "no" >&6; }
8664 if test "$GCC" = "yes"; then
8665 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8666 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8667 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8669 $as_echo_n "checking for $ac_word... " >&6; }
8670 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8671 $as_echo_n "(cached) " >&6
8673 case $aros_kernel_ranlib in
8675 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8678 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8679 for as_dir
in `dirname $aros_gcc_ranlib`
8682 test -z "$as_dir" && as_dir
=.
8683 for ac_exec_ext
in '' $ac_executable_extensions; do
8684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8685 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8696 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8697 if test -n "$aros_kernel_ranlib"; then
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8699 $as_echo "$aros_kernel_ranlib" >&6; }
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8702 $as_echo "no" >&6; }
8707 if test "$aros_kernel_ranlib" = ""; then
8708 # Extract the first word of "ranlib", so it can be a program name with args.
8709 set dummy ranlib
; ac_word
=$2
8710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8711 $as_echo_n "checking for $ac_word... " >&6; }
8712 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8713 $as_echo_n "(cached) " >&6
8715 case $aros_kernel_ranlib in
8717 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8724 test -z "$as_dir" && as_dir
=.
8725 for ac_exec_ext
in '' $ac_executable_extensions; do
8726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8727 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8738 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8739 if test -n "$aros_kernel_ranlib"; then
8740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8741 $as_echo "$aros_kernel_ranlib" >&6; }
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8744 $as_echo "no" >&6; }
8751 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8752 set dummy
$aros_kernel_ranlib; ac_word
=$2
8753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8754 $as_echo_n "checking for $ac_word... " >&6; }
8755 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8756 $as_echo_n "(cached) " >&6
8758 case $aros_kernel_ranlib in
8760 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8763 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8767 test -z "$as_dir" && as_dir
=.
8768 for ac_exec_ext
in '' $ac_executable_extensions; do
8769 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8770 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8781 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8782 if test -n "$aros_kernel_ranlib"; then
8783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8784 $as_echo "$aros_kernel_ranlib" >&6; }
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8787 $as_echo "no" >&6; }
8793 if test "$aros_kernel_ranlib" = ""; then
8794 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8797 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
8798 target_tool_prefix
=${target_cpu}-elf-
8799 if test "$aros_target_cc" == ""; then
8800 aros_target_cc
="${target_tool_prefix}gcc"
8802 if test "$aros_target_ld" == ""; then
8803 aros_target_ld
="${target_tool_prefix}ld"
8807 if test "$aros_target_as" = ""; then
8808 if test "$cross_compiling" = "yes" ; then
8809 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8810 set dummy
${target_tool_prefix}as
; ac_word
=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8812 $as_echo_n "checking for $ac_word... " >&6; }
8813 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8814 $as_echo_n "(cached) " >&6
8816 case $aros_target_as_ln in
8818 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8825 test -z "$as_dir" && as_dir
=.
8826 for ac_exec_ext
in '' $ac_executable_extensions; do
8827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8828 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8839 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8840 if test -n "$aros_target_as_ln"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8842 $as_echo "$aros_target_as_ln" >&6; }
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8850 if test "$GCC" = "yes"; then
8851 aros_gcc_as
=`$CC -print-prog-name=as`
8852 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8853 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8855 $as_echo_n "checking for $ac_word... " >&6; }
8856 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8857 $as_echo_n "(cached) " >&6
8859 case $aros_target_as_ln in
8861 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8864 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8865 for as_dir
in `dirname $aros_gcc_as`
8868 test -z "$as_dir" && as_dir
=.
8869 for ac_exec_ext
in '' $ac_executable_extensions; do
8870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8871 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8882 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8883 if test -n "$aros_target_as_ln"; then
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8885 $as_echo "$aros_target_as_ln" >&6; }
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8888 $as_echo "no" >&6; }
8893 if test "$aros_target_as_ln" = ""; then
8894 # Extract the first word of "as", so it can be a program name with args.
8895 set dummy as
; ac_word
=$2
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8897 $as_echo_n "checking for $ac_word... " >&6; }
8898 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8899 $as_echo_n "(cached) " >&6
8901 case $aros_target_as_ln in
8903 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8910 test -z "$as_dir" && as_dir
=.
8911 for ac_exec_ext
in '' $ac_executable_extensions; do
8912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8913 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8924 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8925 if test -n "$aros_target_as_ln"; then
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8927 $as_echo "$aros_target_as_ln" >&6; }
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8930 $as_echo "no" >&6; }
8937 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8938 set dummy
$aros_target_as; ac_word
=$2
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8940 $as_echo_n "checking for $ac_word... " >&6; }
8941 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8942 $as_echo_n "(cached) " >&6
8944 case $aros_target_as_ln in
8946 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8949 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8953 test -z "$as_dir" && as_dir
=.
8954 for ac_exec_ext
in '' $ac_executable_extensions; do
8955 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8956 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8967 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8968 if test -n "$aros_target_as_ln"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8970 $as_echo "$aros_target_as_ln" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8979 if test "$aros_target_as_ln" = ""; then
8980 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8983 if test "$aros_target_ar" = ""; then
8984 if test "$cross_compiling" = "yes" ; then
8985 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8986 set dummy
${target_tool_prefix}ar; ac_word
=$2
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8988 $as_echo_n "checking for $ac_word... " >&6; }
8989 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8990 $as_echo_n "(cached) " >&6
8992 case $aros_target_ar_ln in
8994 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8997 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9001 test -z "$as_dir" && as_dir
=.
9002 for ac_exec_ext
in '' $ac_executable_extensions; do
9003 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9004 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9015 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9016 if test -n "$aros_target_ar_ln"; then
9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9018 $as_echo "$aros_target_ar_ln" >&6; }
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9021 $as_echo "no" >&6; }
9026 if test "$GCC" = "yes"; then
9027 aros_gcc_ar
=`$CC -print-prog-name=ar`
9028 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
9029 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9031 $as_echo_n "checking for $ac_word... " >&6; }
9032 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9033 $as_echo_n "(cached) " >&6
9035 case $aros_target_ar_ln in
9037 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9041 for as_dir
in `dirname $aros_gcc_ar`
9044 test -z "$as_dir" && as_dir
=.
9045 for ac_exec_ext
in '' $ac_executable_extensions; do
9046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9047 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9058 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9059 if test -n "$aros_target_ar_ln"; then
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9061 $as_echo "$aros_target_ar_ln" >&6; }
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9064 $as_echo "no" >&6; }
9069 if test "$aros_target_ar_ln" = ""; then
9070 # Extract the first word of "ar", so it can be a program name with args.
9071 set dummy
ar; ac_word
=$2
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9073 $as_echo_n "checking for $ac_word... " >&6; }
9074 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9075 $as_echo_n "(cached) " >&6
9077 case $aros_target_ar_ln in
9079 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9086 test -z "$as_dir" && as_dir
=.
9087 for ac_exec_ext
in '' $ac_executable_extensions; do
9088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9089 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9100 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9101 if test -n "$aros_target_ar_ln"; then
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9103 $as_echo "$aros_target_ar_ln" >&6; }
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9106 $as_echo "no" >&6; }
9113 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9114 set dummy
$aros_target_ar; ac_word
=$2
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 $as_echo_n "checking for $ac_word... " >&6; }
9117 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9118 $as_echo_n "(cached) " >&6
9120 case $aros_target_ar_ln in
9122 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9129 test -z "$as_dir" && as_dir
=.
9130 for ac_exec_ext
in '' $ac_executable_extensions; do
9131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9132 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9143 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9144 if test -n "$aros_target_ar_ln"; then
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9146 $as_echo "$aros_target_ar_ln" >&6; }
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9149 $as_echo "no" >&6; }
9155 if test "$aros_target_ar_ln" = ""; then
9156 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9159 if test "$aros_target_nm" = ""; then
9160 if test "$cross_compiling" = "yes" ; then
9161 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9162 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9164 $as_echo_n "checking for $ac_word... " >&6; }
9165 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9166 $as_echo_n "(cached) " >&6
9168 case $aros_target_nm_ln in
9170 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9177 test -z "$as_dir" && as_dir
=.
9178 for ac_exec_ext
in '' $ac_executable_extensions; do
9179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9180 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9191 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9192 if test -n "$aros_target_nm_ln"; then
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9194 $as_echo "$aros_target_nm_ln" >&6; }
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9197 $as_echo "no" >&6; }
9202 if test "$GCC" = "yes"; then
9203 aros_gcc_nm
=`$CC -print-prog-name=nm`
9204 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9205 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9207 $as_echo_n "checking for $ac_word... " >&6; }
9208 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9209 $as_echo_n "(cached) " >&6
9211 case $aros_target_nm_ln in
9213 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9217 for as_dir
in `dirname $aros_gcc_nm`
9220 test -z "$as_dir" && as_dir
=.
9221 for ac_exec_ext
in '' $ac_executable_extensions; do
9222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9223 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9234 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9235 if test -n "$aros_target_nm_ln"; then
9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9237 $as_echo "$aros_target_nm_ln" >&6; }
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9240 $as_echo "no" >&6; }
9245 if test "$aros_target_nm_ln" = ""; then
9246 # Extract the first word of "nm", so it can be a program name with args.
9247 set dummy nm
; ac_word
=$2
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 $as_echo_n "checking for $ac_word... " >&6; }
9250 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9251 $as_echo_n "(cached) " >&6
9253 case $aros_target_nm_ln in
9255 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9262 test -z "$as_dir" && as_dir
=.
9263 for ac_exec_ext
in '' $ac_executable_extensions; do
9264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9265 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9276 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9277 if test -n "$aros_target_nm_ln"; then
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9279 $as_echo "$aros_target_nm_ln" >&6; }
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9282 $as_echo "no" >&6; }
9289 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9290 set dummy
$aros_target_nm; ac_word
=$2
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9292 $as_echo_n "checking for $ac_word... " >&6; }
9293 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9294 $as_echo_n "(cached) " >&6
9296 case $aros_target_nm_ln in
9298 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9301 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9305 test -z "$as_dir" && as_dir
=.
9306 for ac_exec_ext
in '' $ac_executable_extensions; do
9307 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9308 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9309 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9319 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9320 if test -n "$aros_target_nm_ln"; then
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9322 $as_echo "$aros_target_nm_ln" >&6; }
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9325 $as_echo "no" >&6; }
9331 if test "$aros_target_nm_ln" = ""; then
9332 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9335 if test "$aros_target_objcopy" = ""; then
9336 if test "$cross_compiling" = "yes" ; then
9337 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9338 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9340 $as_echo_n "checking for $ac_word... " >&6; }
9341 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9342 $as_echo_n "(cached) " >&6
9344 case $aros_target_objcopy_ln in
9346 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9349 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9353 test -z "$as_dir" && as_dir
=.
9354 for ac_exec_ext
in '' $ac_executable_extensions; do
9355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9356 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9367 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9368 if test -n "$aros_target_objcopy_ln"; then
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9370 $as_echo "$aros_target_objcopy_ln" >&6; }
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 $as_echo "no" >&6; }
9378 if test "$GCC" = "yes"; then
9379 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9380 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9381 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9383 $as_echo_n "checking for $ac_word... " >&6; }
9384 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9385 $as_echo_n "(cached) " >&6
9387 case $aros_target_objcopy_ln in
9389 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9393 for as_dir
in `dirname $aros_gcc_objcopy`
9396 test -z "$as_dir" && as_dir
=.
9397 for ac_exec_ext
in '' $ac_executable_extensions; do
9398 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9399 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9410 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9411 if test -n "$aros_target_objcopy_ln"; then
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9413 $as_echo "$aros_target_objcopy_ln" >&6; }
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9416 $as_echo "no" >&6; }
9421 if test "$aros_target_objcopy_ln" = ""; then
9422 # Extract the first word of "objcopy", so it can be a program name with args.
9423 set dummy objcopy
; ac_word
=$2
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9425 $as_echo_n "checking for $ac_word... " >&6; }
9426 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9427 $as_echo_n "(cached) " >&6
9429 case $aros_target_objcopy_ln in
9431 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9434 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9438 test -z "$as_dir" && as_dir
=.
9439 for ac_exec_ext
in '' $ac_executable_extensions; do
9440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9441 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9452 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9453 if test -n "$aros_target_objcopy_ln"; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9455 $as_echo "$aros_target_objcopy_ln" >&6; }
9457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9458 $as_echo "no" >&6; }
9465 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9466 set dummy
$aros_target_objcopy; ac_word
=$2
9467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9468 $as_echo_n "checking for $ac_word... " >&6; }
9469 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9470 $as_echo_n "(cached) " >&6
9472 case $aros_target_objcopy_ln in
9474 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9481 test -z "$as_dir" && as_dir
=.
9482 for ac_exec_ext
in '' $ac_executable_extensions; do
9483 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9484 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9495 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9496 if test -n "$aros_target_objcopy_ln"; then
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9498 $as_echo "$aros_target_objcopy_ln" >&6; }
9500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9501 $as_echo "no" >&6; }
9507 if test "$aros_target_objcopy_ln" = ""; then
9508 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9511 if test "$aros_target_objdump" = ""; then
9512 if test "$cross_compiling" = "yes" ; then
9513 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9514 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9516 $as_echo_n "checking for $ac_word... " >&6; }
9517 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9518 $as_echo_n "(cached) " >&6
9520 case $aros_target_objdump_ln in
9522 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9529 test -z "$as_dir" && as_dir
=.
9530 for ac_exec_ext
in '' $ac_executable_extensions; do
9531 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9532 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9533 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9543 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9544 if test -n "$aros_target_objdump_ln"; then
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9546 $as_echo "$aros_target_objdump_ln" >&6; }
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9549 $as_echo "no" >&6; }
9554 if test "$GCC" = "yes"; then
9555 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9556 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9557 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9559 $as_echo_n "checking for $ac_word... " >&6; }
9560 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9561 $as_echo_n "(cached) " >&6
9563 case $aros_target_objdump_ln in
9565 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9569 for as_dir
in `dirname $aros_gcc_objdump`
9572 test -z "$as_dir" && as_dir
=.
9573 for ac_exec_ext
in '' $ac_executable_extensions; do
9574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9575 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9586 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9587 if test -n "$aros_target_objdump_ln"; then
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9589 $as_echo "$aros_target_objdump_ln" >&6; }
9591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9592 $as_echo "no" >&6; }
9597 if test "$aros_target_objdump_ln" = ""; then
9598 # Extract the first word of "objdump", so it can be a program name with args.
9599 set dummy objdump
; ac_word
=$2
9600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9601 $as_echo_n "checking for $ac_word... " >&6; }
9602 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9603 $as_echo_n "(cached) " >&6
9605 case $aros_target_objdump_ln in
9607 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9614 test -z "$as_dir" && as_dir
=.
9615 for ac_exec_ext
in '' $ac_executable_extensions; do
9616 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9617 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9628 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9629 if test -n "$aros_target_objdump_ln"; then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9631 $as_echo "$aros_target_objdump_ln" >&6; }
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9634 $as_echo "no" >&6; }
9641 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9642 set dummy
$aros_target_objdump; ac_word
=$2
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9644 $as_echo_n "checking for $ac_word... " >&6; }
9645 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9646 $as_echo_n "(cached) " >&6
9648 case $aros_target_objdump_ln in
9650 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9653 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9657 test -z "$as_dir" && as_dir
=.
9658 for ac_exec_ext
in '' $ac_executable_extensions; do
9659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9660 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9671 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9672 if test -n "$aros_target_objdump_ln"; then
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9674 $as_echo "$aros_target_objdump_ln" >&6; }
9676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9677 $as_echo "no" >&6; }
9683 if test "$aros_target_objdump_ln" = ""; then
9684 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9687 if test "$aros_target_ranlib" = ""; then
9688 if test "$cross_compiling" = "yes" ; then
9689 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9690 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9692 $as_echo_n "checking for $ac_word... " >&6; }
9693 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9694 $as_echo_n "(cached) " >&6
9696 case $aros_target_ranlib_ln in
9698 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9705 test -z "$as_dir" && as_dir
=.
9706 for ac_exec_ext
in '' $ac_executable_extensions; do
9707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9708 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9719 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9720 if test -n "$aros_target_ranlib_ln"; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9722 $as_echo "$aros_target_ranlib_ln" >&6; }
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9725 $as_echo "no" >&6; }
9730 if test "$GCC" = "yes"; then
9731 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9732 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9733 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9735 $as_echo_n "checking for $ac_word... " >&6; }
9736 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9737 $as_echo_n "(cached) " >&6
9739 case $aros_target_ranlib_ln in
9741 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9745 for as_dir
in `dirname $aros_gcc_ranlib`
9748 test -z "$as_dir" && as_dir
=.
9749 for ac_exec_ext
in '' $ac_executable_extensions; do
9750 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9751 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9762 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9763 if test -n "$aros_target_ranlib_ln"; then
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9765 $as_echo "$aros_target_ranlib_ln" >&6; }
9767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9768 $as_echo "no" >&6; }
9773 if test "$aros_target_ranlib_ln" = ""; then
9774 # Extract the first word of "ranlib", so it can be a program name with args.
9775 set dummy ranlib
; ac_word
=$2
9776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9777 $as_echo_n "checking for $ac_word... " >&6; }
9778 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9779 $as_echo_n "(cached) " >&6
9781 case $aros_target_ranlib_ln in
9783 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9790 test -z "$as_dir" && as_dir
=.
9791 for ac_exec_ext
in '' $ac_executable_extensions; do
9792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9793 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9804 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9805 if test -n "$aros_target_ranlib_ln"; then
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9807 $as_echo "$aros_target_ranlib_ln" >&6; }
9809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9810 $as_echo "no" >&6; }
9817 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9818 set dummy
$aros_target_ranlib; ac_word
=$2
9819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9820 $as_echo_n "checking for $ac_word... " >&6; }
9821 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9822 $as_echo_n "(cached) " >&6
9824 case $aros_target_ranlib_ln in
9826 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9833 test -z "$as_dir" && as_dir
=.
9834 for ac_exec_ext
in '' $ac_executable_extensions; do
9835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9836 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9847 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9848 if test -n "$aros_target_ranlib_ln"; then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9850 $as_echo "$aros_target_ranlib_ln" >&6; }
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9853 $as_echo "no" >&6; }
9859 if test "$aros_target_ranlib_ln" = ""; then
9860 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9863 if test "$aros_target_strip" = ""; then
9864 if test "$cross_compiling" = "yes" ; then
9865 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9866 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9868 $as_echo_n "checking for $ac_word... " >&6; }
9869 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9870 $as_echo_n "(cached) " >&6
9872 case $aros_target_strip_ln in
9874 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9881 test -z "$as_dir" && as_dir
=.
9882 for ac_exec_ext
in '' $ac_executable_extensions; do
9883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9884 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9895 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9896 if test -n "$aros_target_strip_ln"; then
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9898 $as_echo "$aros_target_strip_ln" >&6; }
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9901 $as_echo "no" >&6; }
9906 if test "$GCC" = "yes"; then
9907 aros_gcc_strip
=`$CC -print-prog-name=strip`
9908 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9909 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9911 $as_echo_n "checking for $ac_word... " >&6; }
9912 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9913 $as_echo_n "(cached) " >&6
9915 case $aros_target_strip_ln in
9917 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9920 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9921 for as_dir
in `dirname $aros_gcc_strip`
9924 test -z "$as_dir" && as_dir
=.
9925 for ac_exec_ext
in '' $ac_executable_extensions; do
9926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9927 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9938 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9939 if test -n "$aros_target_strip_ln"; then
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9941 $as_echo "$aros_target_strip_ln" >&6; }
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9944 $as_echo "no" >&6; }
9949 if test "$aros_target_strip_ln" = ""; then
9950 # Extract the first word of "strip", so it can be a program name with args.
9951 set dummy strip
; ac_word
=$2
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9953 $as_echo_n "checking for $ac_word... " >&6; }
9954 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9955 $as_echo_n "(cached) " >&6
9957 case $aros_target_strip_ln in
9959 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9966 test -z "$as_dir" && as_dir
=.
9967 for ac_exec_ext
in '' $ac_executable_extensions; do
9968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9969 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9980 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9981 if test -n "$aros_target_strip_ln"; then
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9983 $as_echo "$aros_target_strip_ln" >&6; }
9985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9986 $as_echo "no" >&6; }
9993 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9994 set dummy
$aros_target_strip; ac_word
=$2
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9996 $as_echo_n "checking for $ac_word... " >&6; }
9997 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9998 $as_echo_n "(cached) " >&6
10000 case $aros_target_strip_ln in
10002 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
10005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10006 for as_dir
in $PATH
10009 test -z "$as_dir" && as_dir
=.
10010 for ac_exec_ext
in '' $ac_executable_extensions; do
10011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10012 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
10013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10023 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
10024 if test -n "$aros_target_strip_ln"; then
10025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
10026 $as_echo "$aros_target_strip_ln" >&6; }
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10029 $as_echo "no" >&6; }
10035 if test "$aros_target_strip_ln" = ""; then
10036 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
10038 if test "$aros_target_cxx" != ""; then
10039 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
10040 set dummy
$aros_target_cxx; ac_word
=$2
10041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10042 $as_echo_n "checking for $ac_word... " >&6; }
10043 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
10044 $as_echo_n "(cached) " >&6
10046 case $aros_target_cxx in
10048 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
10051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10052 for as_dir
in $PATH
10055 test -z "$as_dir" && as_dir
=.
10056 for ac_exec_ext
in '' $ac_executable_extensions; do
10057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10058 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10069 aros_target_cxx
=$ac_cv_path_aros_target_cxx
10070 if test -n "$aros_target_cxx"; then
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
10072 $as_echo "$aros_target_cxx" >&6; }
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10075 $as_echo "no" >&6; }
10079 if test "$aros_target_cxx" = ""; then
10080 as_fn_error
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
10084 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
10085 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
10086 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
10087 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10088 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
10089 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
10090 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
10091 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10092 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
10094 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10095 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
10096 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10098 crosstools_target
=tools-crosstools
10101 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10103 orig_target_cc
=$aros_kernel_cc
10104 orig_target_ld
=$aros_kernel_ld
10106 if test "$crosstools" != "yes"; then
10107 if test "$aros_target_cc" != ""; then
10108 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10109 set dummy
$aros_target_cc; ac_word
=$2
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10111 $as_echo_n "checking for $ac_word... " >&6; }
10112 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
10113 $as_echo_n "(cached) " >&6
10115 case $aros_target_cc in
10117 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10121 for as_dir
in $PATH
10124 test -z "$as_dir" && as_dir
=.
10125 for ac_exec_ext
in '' $ac_executable_extensions; do
10126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10127 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10138 aros_target_cc
=$ac_cv_path_aros_target_cc
10139 if test -n "$aros_target_cc"; then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10141 $as_echo "$aros_target_cc" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10144 $as_echo "no" >&6; }
10148 if test "$aros_target_cc" = ""; then
10149 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10151 orig_target_cc
=$aros_target_cc
10153 if test "$aros_target_ld" != ""; then
10154 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10155 set dummy
$aros_target_ld; ac_word
=$2
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10157 $as_echo_n "checking for $ac_word... " >&6; }
10158 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
10159 $as_echo_n "(cached) " >&6
10161 case $aros_target_ld in
10163 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10167 for as_dir
in $PATH
10170 test -z "$as_dir" && as_dir
=.
10171 for ac_exec_ext
in '' $ac_executable_extensions; do
10172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10173 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10184 aros_target_ld
=$ac_cv_path_aros_target_ld
10185 if test -n "$aros_target_ld"; then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10187 $as_echo "$aros_target_ld" >&6; }
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10190 $as_echo "no" >&6; }
10194 if test "$aros_target_ld" = ""; then
10195 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10197 orig_target_ld
=$aros_target_ld
10200 orig_target_cc
=$aros_target_cc
10201 orig_target_ld
=$aros_target_ld
10204 # Build crosstools if we have no C++ - temporary thing
10205 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10206 crosstools_cxx_target
=tools-crosstools
10209 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10210 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10211 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10212 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10213 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10214 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10215 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10217 # aros_cc_pre is a variable that is added to the front of the compiler name
10218 # in the generated aros-gcc shell script. We need this to enable the cache
10219 # to work across cleaned builds. Also, support DISTCC using the correct
10220 # environment variable.
10223 if test "x${DISTCC}" != "x" ; then
10224 if test "x${CCACHE}" != "x" ; then
10225 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10227 aros_cc_pre
="${DISTCC} "
10230 if test "x${CCACHE}" != "x" ; then
10231 aros_cc_pre
="${CCACHE} "
10235 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10237 aros_target_nostdinc_cflags
=-nostdinc
10239 aros_target_nostartup_ldflags
=-nostartfiles
10241 aros_target_nix_ldflags
=-nix
10243 aros_target_detach_ldflags
=-detach
10245 aros_target_nostdlib_ldflags
=-nostdlib
10249 if test "$crosstools" != "yes"; then
10250 if test "$GCC" = "yes"; then
10251 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10254 # We do not know which gcc version we are going to build and what we need to know
10255 # here is different for different versions so this will be set later during the
10256 # build of crosstools.
10257 aros_target_cc_path
=@aros_target_cc_path@
10259 aros_target_cc
="${prefix}-gcc"
10260 aros_target_as
="${prefix}-as"
10261 aros_target_ld
="${prefix}-ld"
10262 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10263 aros_target_objcopy
=${prefix}-objcopy
10264 aros_target_objdump
=${prefix}-objdump
10265 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10266 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10267 aros_target_strip
=${prefix}-strip
10268 aros_plain_nm
="${prefix}-nm"
10269 aros_plain_ar
="${prefix}-ar"
10271 # Find the system include path. We can suggest that an alternative is
10272 # used if we don't get it correct. The default is to use /usr/include.
10273 # Which is set in the aros_target_incl_def variable.
10275 # Check whether --enable-includes was given.
10276 if test "${enable_includes+set}" = set; then :
10277 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10279 aros_target_incl
=$aros_target_incl_def
10283 if test "$aros_kernel_includes" = ""; then
10284 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10285 # FIXME: for cross-compiling this should point to another location
10286 aros_kernel_includes
="-isystem $aros_target_incl"
10290 if test "$aros_kernel_includes" != "" ; then
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10292 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10293 if test "$aros_kernel_cc_includes" = "" ; then
10294 # Try to guess where the directory is.
10295 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10296 if test -d $aros_kernel_cc_includes; then
10297 # Check if there is also an include-fixed directory and add it
10298 # to kernel compiler's include path as it may contain some of
10299 # the headers we need.
10300 if test -d "$aros_kernel_cc_includes"-fixed; then
10301 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10304 # The directory doesn't exist, we need to do some more work.
10305 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10307 # These are the headers we're looking for.
10308 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10309 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10313 for h
in $headers; do
10314 # Which other headers are needed by each of the above?
10315 deps
=$
(echo "#include <$h>" | \
10316 $aros_kernel_cc -E -M - 2>/dev
/null | \
10317 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10319 # Copy all the needed headers to a directory beneath gendir.
10322 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10323 sed -n "s,^.*/include\(/.*\),\1,p")
10324 ! test -d $dir && mkdir
-p $dir
10325 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10331 $as_echo "$aros_kernel_cc_includes" >&6; }
10332 # Adding -nostdinc to kernel includes as they are always used together.
10333 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10336 if test "$crosstools" != "yes"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10338 $as_echo_n "checking for the target compiler's include path... " >&6; }
10339 if test "$aros_target_cc_includes" = "" ; then
10340 #try to guess where the directory is
10341 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10342 if ! test -d $aros_target_cc_includes; then
10343 #the directory doesn't exist, we need to do some more work
10344 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10346 #these are the headers we're looking for
10347 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10348 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10352 for h
in $headers; do
10353 #which other headers each of the above headers needs?
10354 deps
=$
(echo "#include <$h>" | \
10355 $orig_target_cc -E -M - 2>/dev
/null | \
10356 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10358 #copy all the needed headers to a directory beneath gendir
10361 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10362 sed -n "s,^.*/include\(/.*\),\1,p")
10363 ! test -d $dir && mkdir
-p $dir
10364 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
10370 $as_echo "$aros_target_cc_includes" >&6; }
10372 # We do not know which gcc version we are going to build and what we need to know
10373 # here is different for different versions so this will be set later during the
10374 # build of crosstools.
10375 aros_target_cc_includes
=@aros_target_cc_includes@
10379 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10380 # On GCC >= 4.0 -iquote should be used
10384 save_cflags
="$CFLAGS"
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10387 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10388 if test "x-$crosstools" != "x-yes"; then
10389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10390 /* end confdefs.h. */
10400 if ac_fn_c_try_compile
"$LINENO"; then :
10405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10407 # we do know it is supported for the smallest version of gcc we are going to build
10408 # we assume it's also supported by later versions
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10412 $as_echo "$has_iquote" >&6; }
10413 if test "x-$has_iquote" = "x-yes" ; then
10414 host_cflags_iquote
=-iquote
10415 host_cflags_iquote_end
=
10417 host_cflags_iquote
=-I
10418 host_cflags_iquote_end
=-I-
10420 kernel_cflags_iquote
=$host_cflags_iquote
10421 kernel_cflags_iquote_end
=$host_cflags_iquote_end
10422 if test "x-$cross_compiling" = "x-yes"; then
10423 CC
="$aros_kernel_cc"
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
10425 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
10426 if test "x-$crosstools" != "x-yes"; then
10427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10438 if ac_fn_c_try_compile
"$LINENO"; then :
10439 use_no_stack_protector
="yes"
10441 use_no_stack_protector
="no"
10443 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10445 # we do know it is supported for the smallest version of gcc we are going to build
10446 # we assume it's also supported by later versions
10447 use_no_stack_protector
=yes
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
10450 $as_echo "$use_no_stack_protector" >&6; }
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10452 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10453 if test "x-$crosstools" != "x-yes"; then
10454 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10465 if ac_fn_c_try_compile
"$LINENO"; then :
10470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10472 # we do know it is supported for the smallest version of gcc we are going to build
10473 # we assume it's also supported by later versions
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10477 $as_echo "$has_iquote" >&6; }
10478 if test "x-$has_iquote" = "x-yes" ; then
10479 kernel_cflags_iquote
=-iquote
10480 kernel_cflags_iquote_end
=
10482 kernel_cflags_iquote
=-I
10483 kernel_cflags_iquote_end
=-I-
10486 aros_cflags_iquote
=$kernel_cflags_iquote
10487 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
10488 if test "$orig_target_cc" != "$aros_kernel_cc"; then
10489 CC
="$orig_target_cc"
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10491 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10492 if test "x-$crosstools" != "x-yes"; then
10493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10494 /* end confdefs.h. */
10504 if ac_fn_c_try_compile
"$LINENO"; then :
10509 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10511 # we do know it is supported for the smallest version of gcc we are going to build
10512 # we assume it's also supported by later versions
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10516 $as_echo "$has_iquote" >&6; }
10517 if test "x-$has_iquote" = "x-yes" ; then
10518 aros_cflags_iquote
=-iquote
10519 aros_cflags_iquote_end
=
10521 aros_cflags_iquote
=-I
10522 aros_cflags_iquote_end
=-I-
10525 if test "x-$use_no_stack_protector" = "x-yes" ; then
10526 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
10529 #-----------------------------------------------------------------------------
10531 # Check if we can explicitly choose older version of symbol hashing
10533 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
10534 CC
="$aros_kernel_cc"
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
10536 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
10537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10538 /* end confdefs.h. */
10548 if ac_fn_c_try_link
"$LINENO"; then :
10549 use_hash_style
="yes"
10551 use_hash_style
="no"
10553 rm -f core conftest.err conftest.
$ac_objext \
10554 conftest
$ac_exeext conftest.
$ac_ext
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
10556 $as_echo "$use_hash_style" >&6; }
10557 if test "x-$use_hash_style" = "x-yes" ; then
10558 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
10561 CFLAGS
="$save_cflags"
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
10572 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
10574 # Check whether --with-resolution was given.
10575 if test "${with_resolution+set}" = set; then :
10576 withval
=$with_resolution; resolution
=$withval
10581 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10582 if test "$resolution" = "yes" ; then
10585 if test "$resolution" = "no" ; then
10588 if test "$resolution" != "none" ; then
10589 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10590 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10591 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10594 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10595 aros_cv_default_wbwidth
=$aros_default_wbwidth
10596 aros_cv_default_wbheight
=$aros_default_wbheight
10597 aros_cv_default_wbdepth
=$aros_default_wbdepth
10599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
10600 $as_echo_n "checking if serial debug is enabled... " >&6; }
10602 # Check whether --with-serial-debug was given.
10603 if test "${with_serial_debug+set}" = set; then :
10604 withval
=$with_serial_debug; serial_debug
=$withval
10609 if test "$aros_serial_debug" = 0 ; then
10610 serial_debug_forced
=""
10611 if test "$serial_debug" = "yes" ; then
10614 if test "$serial_debug" = "no" ; then
10615 serial_debug
="none"
10618 serial_debug_forced
="(forced)"
10619 serial_debug
=$aros_serial_debug
10621 if test "$serial_debug" != "none" ; then
10622 aros_serial_debug
=$serial_debug
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
10624 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10627 $as_echo "no" >&6; }
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
10631 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10632 # Check whether --enable-palm_debug_hack was given.
10633 if test "${enable_palm_debug_hack+set}" = set; then :
10634 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10636 palm_debug_hack
="no"
10639 if test "$palm_debug_hack" = "yes" ; then
10640 aros_palm_debug_hack
="1"
10642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
10643 $as_echo "$palm_debug_hack" >&6; }
10645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
10646 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
10647 # Check whether --enable-usb30_code was given.
10648 if test "${enable_usb30_code+set}" = set; then :
10649 enableval
=$enable_usb30_code; usb30_code
="yes"
10654 if test "$usb30_code" = "yes" ; then
10655 aros_usb30_code
="1"
10657 aros_usb30_code
="0"
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
10660 $as_echo "$usb30_code" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
10663 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10664 # Check whether --enable-nesting_supervisor was given.
10665 if test "${enable_nesting_supervisor+set}" = set; then :
10666 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10668 nesting_supervisor
="no"
10671 if test "$nesting_supervisor" = "yes" ; then
10672 aros_nesting_supervisor
="1"
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
10675 $as_echo "$nesting_supervisor" >&6; }
10677 if test "$aros_enable_mmu" = "" ; then
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
10679 $as_echo_n "checking if MMU support is enabled... " >&6; }
10680 # Check whether --enable-mmu was given.
10681 if test "${enable_mmu+set}" = set; then :
10682 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
10684 aros_enable_mmu
="yes"
10687 if test "$aros_enable_mmu" = "" ; then
10688 aros_enable_mmu
="yes"
10690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
10691 $as_echo "$aros_enable_mmu" >&6; }
10693 if test "$aros_enable_mmu" = "no" ; then
10694 aros_enable_mmu
="0"
10696 aros_enable_mmu
="1"
10700 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10702 if test "x-$need_dlopen" != "x-no" ; then
10703 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10704 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10710 if test "x-$have_dl" = "x-no" ; then
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10712 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10713 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10714 $as_echo_n "(cached) " >&6
10716 ac_check_lib_save_LIBS
=$LIBS
10718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10736 if ac_fn_c_try_link
"$LINENO"; then :
10737 ac_cv_lib_dl_dlopen
=yes
10739 ac_cv_lib_dl_dlopen
=no
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 LIBS
=$ac_check_lib_save_LIBS
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10746 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10747 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10749 aros_host_ldflags
="$aros_host_ldflags -ldl"
10755 if test "x-$have_dl" = "x-no" ; then
10756 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
10761 # Check whether --enable-x11_hidd was given.
10762 if test "${enable_x11_hidd+set}" = set; then :
10763 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10765 x11_hidd
="$need_x11"
10768 case "x-$x11_hidd" in
10769 x-yes|x-no|x-auto
) ;;
10770 *) x11_hidd
="$need_x11" ;;
10775 if test "x-$x11_hidd" != "x-no" ; then
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10778 $as_echo_n "checking for X... " >&6; }
10781 # Check whether --with-x was given.
10782 if test "${with_x+set}" = set; then :
10786 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10787 if test "x$with_x" = xno
; then
10788 # The user explicitly disabled X.
10791 case $x_includes,$x_libraries in #(
10792 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
10793 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
10794 $as_echo_n "(cached) " >&6
10796 # One or both of the vars are not set, and there is no cached value.
10797 ac_x_includes
=no ac_x_libraries
=no
10798 rm -f -r conftest.dir
10799 if mkdir conftest.dir
; then
10801 cat >Imakefile
<<'_ACEOF'
10803 @echo incroot='${INCROOT}'
10805 @echo usrlibdir='${USRLIBDIR}'
10807 @echo libdir='${LIBDIR}'
10809 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10810 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10811 for ac_var
in incroot usrlibdir libdir
; do
10812 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10814 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10815 for ac_extension
in a so sl dylib la dll
; do
10816 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10817 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10818 ac_im_usrlibdir
=$ac_im_libdir; break
10821 # Screen out bogus values from the imake configuration. They are
10822 # bogus both because they are the default anyway, and because
10823 # using them would break gcc on systems where it needs fixed includes.
10824 case $ac_im_incroot in
10825 /usr
/include
) ac_x_includes
= ;;
10826 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10828 case $ac_im_usrlibdir in
10829 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10830 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10834 rm -f -r conftest.dir
10837 # Standard set of common directories for X headers.
10838 # Check X11 before X11Rn because it is often a symlink to the current release.
10852 /usr/local/X11/include
10853 /usr/local/X11R7/include
10854 /usr/local/X11R6/include
10855 /usr/local/X11R5/include
10856 /usr/local/X11R4/include
10858 /usr/local/include/X11
10859 /usr/local/include/X11R7
10860 /usr/local/include/X11R6
10861 /usr/local/include/X11R5
10862 /usr/local/include/X11R4
10866 /usr/XFree86/include/X11
10870 /usr/unsupported/include
10871 /usr/athena/include
10872 /usr/local/x11r5/include
10873 /usr/lpp/Xamples/include
10875 /usr/openwin/include
10876 /usr/openwin/share/include'
10878 if test "$ac_x_includes" = no
; then
10879 # Guess where to find include files, by looking for Xlib.h.
10880 # First, try using that file with no special directory specified.
10881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10882 /* end confdefs.h. */
10883 #include <X11/Xlib.h>
10885 if ac_fn_c_try_cpp
"$LINENO"; then :
10886 # We can compile using X headers with no special include directory.
10889 for ac_dir
in $ac_x_header_dirs; do
10890 if test -r "$ac_dir/X11/Xlib.h"; then
10891 ac_x_includes
=$ac_dir
10896 rm -f conftest.err conftest.
$ac_ext
10897 fi # $ac_x_includes = no
10899 if test "$ac_x_libraries" = no
; then
10900 # Check for the libraries.
10901 # See if we find them without any special options.
10902 # Don't add to $LIBS permanently.
10905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10906 /* end confdefs.h. */
10907 #include <X11/Xlib.h>
10916 if ac_fn_c_try_link
"$LINENO"; then :
10918 # We can link X programs with no special library path.
10922 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10924 # Don't even attempt the hair of trying to link an X program!
10925 for ac_extension
in a so sl dylib la dll
; do
10926 if test -r "$ac_dir/libX11.$ac_extension"; then
10927 ac_x_libraries
=$ac_dir
10933 rm -f core conftest.err conftest.
$ac_objext \
10934 conftest
$ac_exeext conftest.
$ac_ext
10935 fi # $ac_x_libraries = no
10937 case $ac_x_includes,$ac_x_libraries in #(
10938 no
,* |
*,no |
*\'*)
10939 # Didn't find X, or a directory has "'" in its name.
10940 ac_cv_have_x
="have_x=no";; #(
10942 # Record where we found X for the cache.
10943 ac_cv_have_x
="have_x=yes\
10944 ac_x_includes='$ac_x_includes'\
10945 ac_x_libraries='$ac_x_libraries'"
10951 eval "$ac_cv_have_x"
10954 if test "$have_x" != yes; then
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10956 $as_echo "$have_x" >&6; }
10959 # If each of the values was on the command line, it overrides each guess.
10960 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10961 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10962 # Update the cache value to reflect the command line values.
10963 ac_cv_have_x
="have_x=yes\
10964 ac_x_includes='$x_includes'\
10965 ac_x_libraries='$x_libraries'"
10966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10967 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10972 for path
in $x_libraries
10974 x_cflags
="$x_cflags -L$path"
10977 for path
in $x_includes
10979 x_cflags
="$x_cflags -I$path"
10982 if test "x-$no_x" = "x-yes" ; then
10984 if test "x-$x11_hidd" != "x-auto" ; then
10985 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10989 x11_hidd_target
=kernel-x11gfx-kobj
10992 # Check whether --enable-x11_shm was given.
10993 if test "${enable_x11_shm+set}" = set; then :
10994 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10996 x11_hidd_shm
="auto"
10999 case "x-$x11_hidd_shm" in
11000 x-yes|x-no|x-auto
) ;;
11001 *) x11_hidd_shm
="auto" ;;
11006 if test "x-$x11_hidd_shm" != "x-no" ; then
11008 for ac_header
in sys
/ipc.h
11010 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
11011 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
11012 cat >>confdefs.h
<<_ACEOF
11013 #define HAVE_SYS_IPC_H 1
11020 for ac_header
in sys
/shm.h
11022 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
11023 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
11024 cat >>confdefs.h
<<_ACEOF
11025 #define HAVE_SYS_SHM_H 1
11033 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
11035 save_cflags
="$CFLAGS"
11036 CFLAGS
="$CFLAGS $x_cflags"
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11038 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11039 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
11040 $as_echo_n "(cached) " >&6
11042 ac_check_lib_save_LIBS
=$LIBS
11043 LIBS
="-lXext $LIBS"
11044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11045 /* end confdefs.h. */
11047 /* Override any GCC internal prototype to avoid an error.
11048 Use char because int might match the return type of a GCC
11049 builtin and then its argument prototype would still apply. */
11053 char XShmQueryExtension ();
11057 return XShmQueryExtension ();
11062 if ac_fn_c_try_link
"$LINENO"; then :
11063 ac_cv_lib_Xext_XShmQueryExtension
=yes
11065 ac_cv_lib_Xext_XShmQueryExtension
=no
11067 rm -f core conftest.err conftest.
$ac_objext \
11068 conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_lib_save_LIBS
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11072 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11073 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
11077 CFLAGS
="$save_cflags"
11081 if test "x-$have_xshm" = "x-yes" ; then
11082 DO_XSHM_SUPPORT
="1"
11083 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11084 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11086 DO_XSHM_SUPPORT
="0"
11090 # Check whether --enable-x11_vidmode was given.
11091 if test "${enable_x11_vidmode+set}" = set; then :
11092 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11094 x11_hidd_vidmode
="auto"
11097 case "x-$x11_hidd_vidmode" in
11098 x-yes|x-no|x-auto
) ;;
11099 *) x11_hidd_vidmode
="auto" ;;
11104 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11106 save_cflags
="$CFLAGS"
11107 CFLAGS
="$CFLAGS $x_cflags"
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11109 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11110 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
11111 $as_echo_n "(cached) " >&6
11113 ac_check_lib_save_LIBS
=$LIBS
11114 LIBS
="-lXxf86vm $LIBS"
11115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11116 /* end confdefs.h. */
11118 /* Override any GCC internal prototype to avoid an error.
11119 Use char because int might match the return type of a GCC
11120 builtin and then its argument prototype would still apply. */
11124 char XF86VidModeQueryExtension ();
11128 return XF86VidModeQueryExtension ();
11133 if ac_fn_c_try_link
"$LINENO"; then :
11134 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11136 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11138 rm -f core conftest.err conftest.
$ac_objext \
11139 conftest
$ac_exeext conftest.
$ac_ext
11140 LIBS
=$ac_check_lib_save_LIBS
11142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11143 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11144 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
11148 CFLAGS
="$save_cflags"
11151 if test "x-$have_vidmode" = "x-yes" ; then
11152 DO_VIDMODE_SUPPORT
="1"
11153 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11154 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11156 DO_VIDMODE_SUPPORT
="0"
11160 aros_host_x11_includes
=$x_includes
11161 aros_host_x11_libdirs
=$x_libraries
11165 # Check whether --enable-sdl_hidd was given.
11166 if test "${enable_sdl_hidd+set}" = set; then :
11167 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11172 case "x-$sdl_hidd" in
11173 x-yes|x-no|x-auto
) ;;
11174 *) sdl_hidd
="auto" ;;
11177 if test "x-$sdl_hidd" != "x-no" ; then
11180 # Check whether --with-sdl-prefix was given.
11181 if test "${with_sdl_prefix+set}" = set; then :
11182 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11188 # Check whether --with-sdl-exec-prefix was given.
11189 if test "${with_sdl_exec_prefix+set}" = set; then :
11190 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11195 # Check whether --enable-sdltest was given.
11196 if test "${enable_sdltest+set}" = set; then :
11197 enableval
=$enable_sdltest;
11203 if test x
$sdl_exec_prefix != x
; then
11204 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11205 if test x
${SDL_CONFIG+set} != xset
; then
11206 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11209 if test x
$sdl_prefix != x
; then
11210 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11211 if test x
${SDL_CONFIG+set} != xset
; then
11212 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11216 if test "x$prefix" != xNONE
; then
11217 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11219 # Extract the first word of "sdl-config", so it can be a program name with args.
11220 set dummy sdl-config
; ac_word
=$2
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11222 $as_echo_n "checking for $ac_word... " >&6; }
11223 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 case $SDL_CONFIG in
11228 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11232 for as_dir
in $PATH
11235 test -z "$as_dir" && as_dir
=.
11236 for ac_exec_ext
in '' $ac_executable_extensions; do
11237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11238 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11246 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11250 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
11251 if test -n "$SDL_CONFIG"; then
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
11253 $as_echo "$SDL_CONFIG" >&6; }
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11256 $as_echo "no" >&6; }
11260 min_sdl_version
=1.2.10
11261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
11262 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
11264 if test "$SDL_CONFIG" = "no" ; then
11267 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
11268 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
11270 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
11271 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11272 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
11273 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11274 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
11275 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11276 if test "x$enable_sdltest" = "xyes" ; then
11277 ac_save_CFLAGS
="$CFLAGS"
11278 ac_save_CXXFLAGS
="$CXXFLAGS"
11279 ac_save_LIBS
="$LIBS"
11280 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11281 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11282 LIBS
="$LIBS $SDL_LIBS"
11284 if test "$cross_compiling" = yes; then :
11285 echo $ac_n "cross compiling; assumed OK... $ac_c"
11287 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11291 #include <stdlib.h>
11292 #include <string.h>
11296 my_strdup (char *str)
11302 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11303 strcpy (new_str, str);
11311 int main (int argc, char *argv[])
11313 int major, minor, micro;
11316 /* This hangs on some systems (?)
11317 system ("touch conf.sdltest");
11319 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11321 /* HP/UX 9 (%@#!) writes to sscanf strings */
11322 tmp_version = my_strdup("$min_sdl_version");
11323 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11324 printf("%s, bad version string\n", "$min_sdl_version");
11328 if (($sdl_major_version > major) ||
11329 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11330 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11336 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11337 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11338 printf("*** best to upgrade to the required version.\n");
11339 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11340 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11341 printf("*** config.cache before re-running configure\n");
11348 if ac_fn_c_try_run
"$LINENO"; then :
11353 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11354 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11357 CFLAGS
="$ac_save_CFLAGS"
11358 CXXFLAGS
="$ac_save_CXXFLAGS"
11359 LIBS
="$ac_save_LIBS"
11362 if test "x$no_sdl" = x
; then
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11364 $as_echo "yes" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11368 $as_echo "no" >&6; }
11369 if test "$SDL_CONFIG" = "no" ; then
11370 echo "*** The sdl-config script installed by SDL could not be found"
11371 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11372 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11373 echo "*** full path to sdl-config."
11375 if test -f conf.sdltest
; then
11378 echo "*** Could not run SDL test program, checking why..."
11379 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11380 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11381 LIBS
="$LIBS $SDL_LIBS"
11382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11383 /* end confdefs.h. */
11388 int main(int argc, char *argv[])
11391 #define main K_and_R_C_main
11401 if ac_fn_c_try_link
"$LINENO"; then :
11402 echo "*** The test program compiled, but did not run. This usually means"
11403 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11404 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11405 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11406 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11407 echo "*** is required on your system"
11409 echo "*** If you have an old version installed, it is best to remove it, although"
11410 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11412 echo "*** The test program failed to compile or link. See the file config.log for the"
11413 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11414 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11415 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11417 rm -f core conftest.err conftest.
$ac_objext \
11418 conftest
$ac_exeext conftest.
$ac_ext
11419 CFLAGS
="$ac_save_CFLAGS"
11420 CXXFLAGS
="$ac_save_CXXFLAGS"
11421 LIBS
="$ac_save_LIBS"
11433 if test "x-$have_sdl" != "x-yes" ; then
11435 if test "x-$sdl_hidd" != "x-auto" ; then
11436 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
11440 sdl_hidd_target
=kernel-hidd-sdl
11441 aros_host_sdl_cflags
=SDL_CFLAGS
11442 aros_host_sdl_libs
=SDL_LIBS
11446 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11447 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
11452 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
11453 oss_library_target
=workbench-libs-oss-unix
11458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
11459 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
11460 # Check whether --enable-dbus was given.
11461 if test "${enable_dbus+set}" = set; then :
11462 enableval
=$enable_dbus; dbus
="yes"
11467 if test "$dbus" = "yes" ; then
11469 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
11470 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
11471 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
11472 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
11477 $as_echo "$dbus" >&6; }
11479 if test "$use_kernel_cc_wrapper" = "yes" ; then
11480 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
11495 # Compatability with other Amiga-like operation systems
11598 # Native version related
11601 # Palm native version related
11607 # Unix/Hosted version related
11613 # Apple iOS related
11638 # Collect-aros stuff: "-ius" to ignore undefined symbols
11641 # C compiler related
11644 case "$aros_flavour" in
11645 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11646 aros_flavour
="emulation" ;;
11647 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11648 aros_flavour
="emulation" ;;
11649 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11650 aros_flavour
="standalone";;
11651 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11652 aros_flavour
="standalone";;
11653 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11654 aros_flavour
="native" ;;
11655 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11656 aros_flavour
="native" ;;
11657 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11658 aros_flavour
="linklib" ;;
11659 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11660 aros_flavour
="palmnative" ;;
11661 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11662 aros_flavour
="mac68knative" ;;
11663 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11664 aros_flavour
="ppcnative" ;;
11667 if test ! -d ${aros_inc_dir} ; then
11668 ${MKDIR} ${aros_inc_dir}
11670 if test ! -d ${aros_geninc_dir} ; then
11671 ${MKDIR} ${aros_geninc_dir}
11673 if test ! -d ${aros_hostcfg_dir} ; then
11674 ${MKDIR} ${aros_hostcfg_dir}
11676 if test ! -d ${aros_targetcfg_dir} ; then
11677 ${MKDIR} ${aros_targetcfg_dir}
11679 if test ! -d ${aros_tools_dir} ; then
11680 ${MKDIR} ${aros_tools_dir}
11682 if test ! -d ${aros_scripts_dir} ; then
11683 ${MKDIR} ${aros_scripts_dir}
11686 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11689 ac_config_commands
="$ac_config_commands compiler_executable"
11691 ac_config_commands
="$ac_config_commands genmf_executable"
11694 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"
11697 cat >confcache
<<\_ACEOF
11698 # This file is a shell script that caches the results of configure
11699 # tests run on this system so they can be shared between configure
11700 # scripts and configure runs, see configure's option --config-cache.
11701 # It is not useful on other systems. If it contains results you don't
11702 # want to keep, you may remove or edit it.
11704 # config.status only pays attention to the cache file if you give it
11705 # the --recheck option to rerun configure.
11707 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11708 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11709 # following values.
11713 # The following way of writing the cache mishandles newlines in values,
11714 # but we know of no workaround that is simple, portable, and efficient.
11715 # So, we kill variables containing newlines.
11716 # Ultrix sh set writes to stderr and can't be redirected directly,
11717 # and sets the high bit in the cache file unless we assign to the vars.
11719 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11720 eval ac_val
=\$
$ac_var
11724 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11725 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11728 _ | IFS | as_nl
) ;; #(
11729 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11730 *) { eval $ac_var=; unset $ac_var;} ;;
11736 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11737 *${as_nl}ac_space
=\
*)
11738 # `set' does not quote correctly, so add quotes: double-quote
11739 # substitution turns \\\\ into \\, and sed turns \\ into \.
11742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11745 # `set' quotes correctly as required by POSIX, so do not add quotes.
11746 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11755 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11757 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11759 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11760 if test -w "$cache_file"; then
11761 test "x$cache_file" != "x/dev/null" &&
11762 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11763 $as_echo "$as_me: updating cache $cache_file" >&6;}
11764 cat confcache
>$cache_file
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11767 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11772 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11773 # Let make expand exec_prefix.
11774 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11776 DEFS
=-DHAVE_CONFIG_H
11780 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11781 # 1. Remove the extension, and $U if already installed.
11782 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11783 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11784 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11785 # will be set to the directory where LIBOBJS objects are built.
11786 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11787 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11789 LIBOBJS
=$ac_libobjs
11791 LTLIBOBJS
=$ac_ltlibobjs
11795 : ${CONFIG_STATUS=./config.status}
11797 ac_clean_files_save
=$ac_clean_files
11798 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11800 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11802 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11804 # Generated by $as_me.
11805 # Run this file to recreate the current configuration.
11806 # Compiler output produced by configure, useful for debugging
11807 # configure, is in config.log if it exists.
11810 ac_cs_recheck=false
11813 SHELL=\${CONFIG_SHELL-$SHELL}
11816 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11817 ## -------------------- ##
11818 ## M4sh Initialization. ##
11819 ## -------------------- ##
11821 # Be more Bourne compatible
11822 DUALCASE
=1; export DUALCASE
# for MKS sh
11823 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11826 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11827 # is contrary to our usage. Disable this feature.
11828 alias -g '${1+"$@"}'='"$@"'
11829 setopt NO_GLOB_SUBST
11831 case `(set -o) 2>/dev/null` in #(
11843 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11844 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11845 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11846 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11847 # Prefer a ksh shell builtin over an external printf program on Solaris,
11848 # but without wasting forks for bash or zsh.
11849 if test -z "$BASH_VERSION$ZSH_VERSION" \
11850 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11851 as_echo='print
-r --'
11852 as_echo_n='print
-rn --'
11853 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11854 as_echo='printf %s
\n'
11855 as_echo_n='printf %s
'
11857 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11858 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11859 as_echo_n='/usr
/ucb
/echo -n'
11861 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11862 as_echo_n_body='eval
11866 expr "X$arg" : "X\\(.*\\)$as_nl";
11867 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11869 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11871 export as_echo_n_body
11872 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11874 export as_echo_body
11875 as_echo='sh
-c $as_echo_body as_echo
'
11878 # The user is always right.
11879 if test "${PATH_SEPARATOR+set}" != set; then
11881 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11882 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11889 # We need space, tab and new line, in precisely that order. Quoting is
11890 # there to prevent editors from complaining about space-tab.
11891 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11892 # splitting by setting IFS to empty value.)
11895 # Find who we are. Look in the path if we contain no directory separator.
11897 *[\\/]* ) as_myself=$0 ;;
11898 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11899 for as_dir in $PATH
11902 test -z "$as_dir" && as_dir=.
11903 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11909 # We did not find ourselves, most probably we were run as `sh COMMAND'
11910 # in which case we are not to be found in the path.
11911 if test "x$as_myself" = x
; then
11914 if test ! -f "$as_myself"; then
11915 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11919 # Unset variables that we do not need and which cause bugs (e.g. in
11920 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11921 # suppresses any "Segmentation fault" message there. '((' could
11922 # trigger a bug in pdksh 5.2.14.
11923 for as_var
in BASH_ENV ENV MAIL MAILPATH
11924 do eval test x\
${$as_var+set} = xset \
11925 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11938 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11941 # as_fn_error ERROR [LINENO LOG_FD]
11942 # ---------------------------------
11943 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11944 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11945 # script with status $?, using 1 if that was 0.
11948 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11950 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11951 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11953 $as_echo "$as_me: error: $1" >&2
11954 as_fn_exit
$as_status
11958 # as_fn_set_status STATUS
11959 # -----------------------
11960 # Set $? to STATUS, without forking.
11961 as_fn_set_status
()
11964 } # as_fn_set_status
11966 # as_fn_exit STATUS
11967 # -----------------
11968 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11972 as_fn_set_status
$1
11978 # Portably unset VAR.
11981 { eval $1=; unset $1;}
11983 as_unset
=as_fn_unset
11984 # as_fn_append VAR VALUE
11985 # ----------------------
11986 # Append the text in VALUE to the end of the definition contained in VAR. Take
11987 # advantage of any shell optimizations that allow amortized linear growth over
11988 # repeated appends, instead of the typical quadratic growth present in naive
11990 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11991 eval 'as_fn_append ()
12002 # as_fn_arith ARG...
12003 # ------------------
12004 # Perform arithmetic evaluation on the ARGs, and store the result in the
12005 # global $as_val. Take advantage of shells that can avoid forks. The arguments
12006 # must be portable across $(()) and expr.
12007 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
12008 eval 'as_fn_arith ()
12015 as_val
=`expr "$@" || test $? -eq 1`
12020 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
12021 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
12027 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12028 as_basename
=basename
12033 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
12039 as_me
=`$as_basename -- "$0" ||
12040 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12041 X"$0" : 'X\(//\)$' \| \
12042 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12044 sed '/^.*\/\([^/][^/]*\)\/*$/{
12058 # Avoid depending upon Character Ranges.
12059 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12060 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12061 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12062 as_cr_digits
='0123456789'
12063 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12065 ECHO_C
= ECHO_N
= ECHO_T
=
12066 case `echo -n x` in #(((((
12068 case `echo 'xy\c'` in
12069 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12071 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12078 rm -f conf$$ conf$$.exe conf$$.
file
12079 if test -d conf$$.dir
; then
12080 rm -f conf$$.dir
/conf$$.
file
12083 mkdir conf$$.dir
2>/dev
/null
12085 if (echo >conf$$.
file) 2>/dev
/null
; then
12086 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12088 # ... but there are two gotchas:
12089 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12090 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12091 # In both cases, we have to default to `cp -p'.
12092 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12094 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12102 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12103 rmdir conf$$.dir
2>/dev
/null
12108 # Create "$as_dir" as a directory, including parents if necessary.
12113 -*) as_dir
=.
/$as_dir;;
12115 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12119 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12120 *) as_qdir
=$as_dir;;
12122 as_dirs
="'$as_qdir' $as_dirs"
12123 as_dir
=`$as_dirname -- "$as_dir" ||
12124 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12125 X"$as_dir" : 'X\(//\)[^/]' \| \
12126 X"$as_dir" : 'X\(//\)$' \| \
12127 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12128 $as_echo X"$as_dir" |
12129 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12133 /^X\(\/\/\)[^/].*/{
12146 test -d "$as_dir" && break
12148 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12149 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12153 if mkdir
-p .
2>/dev
/null
; then
12154 as_mkdir_p
='mkdir -p "$as_dir"'
12156 test -d .
/-p && rmdir .
/-p
12160 if test -x / >/dev
/null
2>&1; then
12161 as_test_x
='test -x'
12163 if ls -dL / >/dev
/null
2>&1; then
12170 if test -d "$1"; then
12176 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12177 ???[sx]*):;;*)false;;esac;fi
12181 as_executable_p
=$as_test_x
12183 # Sed expression to map a string onto a valid CPP name.
12184 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12186 # Sed expression to map a string onto a valid variable name.
12187 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12191 ## ----------------------------------- ##
12192 ## Main body of $CONFIG_STATUS script. ##
12193 ## ----------------------------------- ##
12195 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12198 # Save the log message, to keep $0 and so on meaningful, and to
12199 # report actual input values of CONFIG_FILES etc. instead of their
12200 # values after options handling.
12202 This file was extended by $as_me, which was
12203 generated by GNU Autoconf 2.65. Invocation command line was
12205 CONFIG_FILES = $CONFIG_FILES
12206 CONFIG_HEADERS = $CONFIG_HEADERS
12207 CONFIG_LINKS = $CONFIG_LINKS
12208 CONFIG_COMMANDS = $CONFIG_COMMANDS
12211 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12216 case $ac_config_files in *"
12217 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12220 case $ac_config_headers in *"
12221 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12225 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12226 # Files that config.status was made for.
12227 config_files="$ac_config_files"
12228 config_headers="$ac_config_headers"
12229 config_commands="$ac_config_commands"
12233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12235 \`$as_me' instantiates files and other configuration actions
12236 from templates according to the current configuration. Unless the files
12237 and actions are specified as TAGs, all are instantiated by default.
12239 Usage: $0 [OPTION]... [TAG]...
12241 -h, --help print this help, then exit
12242 -V, --version print version number and configuration settings, then exit
12243 --config print configuration, then exit
12244 -q, --quiet, --silent
12245 do not print progress messages
12246 -d, --debug don't remove temporary files
12247 --recheck update $as_me by reconfiguring in the same conditions
12248 --file=FILE[:TEMPLATE]
12249 instantiate the configuration file FILE
12250 --header=FILE[:TEMPLATE]
12251 instantiate the configuration header FILE
12253 Configuration files:
12256 Configuration headers:
12259 Configuration commands:
12262 Report bugs to the package provider."
12265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12266 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12269 configured by $0, generated by GNU Autoconf 2.65,
12270 with options \\"\$ac_cs_config\\"
12272 Copyright (C) 2009 Free Software Foundation, Inc.
12273 This config.status script is free software; the Free Software Foundation
12274 gives unlimited permission to copy, distribute and modify it."
12278 test -n "\$AWK" || AWK=awk
12281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12282 # The default lists apply if the user does not specify any file.
12288 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12289 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12300 # Handling of the options.
12301 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12303 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12304 $as_echo "$ac_cs_version"; exit ;;
12305 --config |
--confi |
--conf |
--con |
--co |
--c )
12306 $as_echo "$ac_cs_config"; exit ;;
12307 --debug |
--debu |
--deb |
--de |
--d |
-d )
12309 --file |
--fil |
--fi |
--f )
12312 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12314 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12315 ac_need_defaults
=false
;;
12316 --header |
--heade |
--head |
--hea )
12319 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12321 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12322 ac_need_defaults
=false
;;
12324 # Conflict between --help and --header
12325 as_fn_error
"ambiguous option: \`$1'
12326 Try \`$0 --help' for more information.";;
12327 --help |
--hel |
-h )
12328 $as_echo "$ac_cs_usage"; exit ;;
12329 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12330 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12333 # This is an error.
12334 -*) as_fn_error
"unrecognized option: \`$1'
12335 Try \`$0 --help' for more information." ;;
12337 *) as_fn_append ac_config_targets
" $1"
12338 ac_need_defaults
=false
;;
12344 ac_configure_extra_args
=
12346 if $ac_cs_silent; then
12348 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12353 if \$ac_cs_recheck; then
12354 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12356 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12357 CONFIG_SHELL='$SHELL'
12358 export CONFIG_SHELL
12363 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12367 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12368 ## Running $as_me. ##
12374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12379 aros_host_exe_suffix=${aros_host_exe_suffix}
12380 aros_tools_dir=${aros_tools_dir}
12381 aros_target_cpu=${aros_target_cpu}
12382 aros_target_arch=${aros_target_arch}
12383 aros_target_suffix=${aros_target_suffix}
12384 aros_target_nm_ln=${aros_target_nm_ln}
12385 aros_target_as_ln=${aros_target_as_ln}
12386 aros_target_ar_ln=${aros_target_ar_ln}
12387 aros_target_ranlib_ln=${aros_target_ranlib_ln}
12388 aros_target_objdump_ln=${aros_target_objdump_ln}
12389 aros_target_objcopy_ln=${aros_target_objcopy_ln}
12390 aros_target_strip_ln=${aros_target_strip_ln}
12391 aros_kernel_ld=${aros_kernel_ld}
12394 aros_tools_dir=${aros_tools_dir}
12399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12401 # Handling of arguments.
12402 for ac_config_target
in $ac_config_targets
12404 case $ac_config_target in
12405 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
12406 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
12407 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
12408 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12409 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
12410 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
12411 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
12412 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
12413 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
12414 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
12415 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
12416 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
12417 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
12418 "${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" ;;
12419 "${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" ;;
12420 "${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" ;;
12421 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
12422 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
12423 "${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" ;;
12425 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12430 # If the user did not use the arguments to specify the items to instantiate,
12431 # then the envvar interface is used. Set only those that are not.
12432 # We use the long form for the default assignment because of an extremely
12433 # bizarre bug on SunOS 4.1.3.
12434 if $ac_need_defaults; then
12435 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12436 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12437 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12440 # Have a temporary directory for convenience. Make it in the build tree
12441 # simply because there is no reason against having it here, and in addition,
12442 # creating and moving files from /tmp can sometimes cause problems.
12443 # Hook for its removal unless debugging.
12444 # Note that there is a small window in which the directory will not be cleaned:
12445 # after its creation but before its name has been assigned to `$tmp'.
12449 trap 'exit_status=$?
12450 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12452 trap 'as_fn_exit 1' 1 2 13 15
12454 # Create a (secure) tmp directory for tmp files.
12457 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12458 test -n "$tmp" && test -d "$tmp"
12461 tmp
=.
/conf$$
-$RANDOM
12462 (umask 077 && mkdir
"$tmp")
12463 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12465 # Set up the scripts for CONFIG_FILES section.
12466 # No need to generate them if there are no CONFIG_FILES.
12467 # This happens for instance with `./config.status config.h'.
12468 if test -n "$CONFIG_FILES"; then
12471 ac_cr
=`echo X | tr X '\015'`
12472 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12473 # But we know of no other shell where ac_cr would be empty at this
12474 # point, so we can use a bashism as a fallback.
12475 if test "x$ac_cr" = x
; then
12476 eval ac_cr
=\$
\'\\r
\'
12478 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12479 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12482 ac_cs_awk_cr
=$ac_cr
12485 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12490 echo "cat >conf$$subs.awk <<_ACEOF" &&
12491 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12493 } >conf$$subs.sh ||
12494 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12495 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12497 for ac_last_try in false false false false false :; do
12498 . ./conf$$subs.sh ||
12499 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12501 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12502 if test $ac_delim_n = $ac_delim_num; then
12504 elif $ac_last_try; then
12505 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12507 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12510 rm -f conf$$subs.sh
12512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12513 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12517 s/^/S["/; s
/!.
*/"]=/
12527 s/\(.\{148\}\)..*/\1/
12529 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12534 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12541 s/\(.\{148\}\)..*/\1/
12543 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12547 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12552 ' <conf$$subs.awk | sed '
12557 ' >>$CONFIG_STATUS || ac_write_fail=1
12558 rm -f conf$$subs.awk
12559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12561 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12562 for (key in S) S_is_set[key] = 1
12568 nfields = split(line, field, "@
")
12570 len = length(field[1])
12571 for (i = 2; i < nfields; i++) {
12573 keylen = length(key)
12574 if (S_is_set[key]) {
12576 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12577 len += length(value) + length(field[++i])
12588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12589 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12590 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12593 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12594 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12597 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12598 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12599 # trailing colons and then remove the whole line if VPATH becomes empty
12600 # (actually we leave an empty line to preserve line numbers).
12601 if test "x
$srcdir" = x.; then
12602 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12603 s/:*\$(srcdir):*/:/
12604 s/:*\${srcdir}:*/:/
12606 s/^\([^=]*=[ ]*\):*/\1/
12612 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12613 fi # test -n "$CONFIG_FILES"
12615 # Set up the scripts for CONFIG_HEADERS section.
12616 # No need to generate them if there are no CONFIG_HEADERS.
12617 # This happens for instance with `./config.status Makefile'.
12618 if test -n "$CONFIG_HEADERS"; then
12619 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12623 # Transform confdefs.h into an awk script `defines.awk', embedded as
12624 # here-document in config.status, that substitutes the proper values into
12625 # config.h.in to produce config.h.
12627 # Create a delimiter string that does not exist in confdefs.h, to ease
12628 # handling of long lines.
12630 for ac_last_try in false false :; do
12631 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12632 if test -z "$ac_t"; then
12634 elif $ac_last_try; then
12635 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12637 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12641 # For the awk script, D is an array of macro values keyed by name,
12642 # likewise P contains macro parameters if any. Preserve backslash
12643 # newline sequences.
12645 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12647 s/.\{148\}/&'"$ac_delim"'/g
12650 s/^[ ]*#[ ]*define[ ][ ]*/ /
12657 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12659 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12663 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12664 D["\
1"]=" \
3\\\\\\n
"\\/p
12666 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12671 s/.\{148\}/&'"$ac_delim"'/g
12676 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12679 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12681 ' <confdefs.h | sed '
12682 s/'"$ac_delim"'/"\\\
12683 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12686 for (key in D) D_is_set[key] = 1
12689 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12691 split(line, arg, " ")
12692 if (arg[1] == "#") {
12696 defundef
= substr
(arg
[1], 2)
12699 split(mac1
, mac2
, "(") #)
12701 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12702 if (D_is_set
[macro
]) {
12703 # Preserve the white space surrounding the "#".
12704 print prefix
"define", macro P
[macro
] D
[macro
]
12707 # Replace #undef with comments. This is necessary, for example,
12708 # in the case of _POSIX_SOURCE, which is predefined and required
12709 # on some systems where configure will not decide to define it.
12710 if (defundef
== "undef") {
12711 print
"/*", prefix defundef
, macro
, "*/"
12719 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12720 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12721 fi # test -n "$CONFIG_HEADERS"
12724 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12729 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12731 case $ac_mode$ac_tag in
12733 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12734 :[FH
]-) ac_tag
=-:-;;
12735 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12752 -) ac_f
="$tmp/stdin";;
12753 *) # Look for the file first in the build tree, then in the source tree
12754 # (if the path is not absolute). The absolute path cannot be DOS-style,
12755 # because $ac_f cannot contain `:'.
12759 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12761 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12763 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12764 as_fn_append ac_file_inputs
" '$ac_f'"
12767 # Let's still pretend it is `configure' which instantiates (i.e., don't
12768 # use $as_me), people would be surprised to read:
12769 # /* config.h. Generated by config.status. */
12770 configure_input
='Generated from '`
12771 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12773 if test x
"$ac_file" != x-
; then
12774 configure_input
="$ac_file. $configure_input"
12775 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12776 $as_echo "$as_me: creating $ac_file" >&6;}
12778 # Neutralize special characters interpreted by sed in replacement strings.
12779 case $configure_input in #(
12780 *\
&* |
*\|
* |
*\\* )
12781 ac_sed_conf_input
=`$as_echo "$configure_input" |
12782 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12783 *) ac_sed_conf_input
=$configure_input;;
12787 *:-:* |
*:-) cat >"$tmp/stdin" \
12788 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12793 ac_dir
=`$as_dirname -- "$ac_file" ||
12794 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12795 X"$ac_file" : 'X\(//\)[^/]' \| \
12796 X"$ac_file" : 'X\(//\)$' \| \
12797 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12798 $as_echo X"$ac_file" |
12799 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12803 /^X\(\/\/\)[^/].*/{
12816 as_dir
="$ac_dir"; as_fn_mkdir_p
12820 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12822 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12823 # A ".." for each directory in $ac_dir_suffix.
12824 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12825 case $ac_top_builddir_sub in
12826 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12827 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12830 ac_abs_top_builddir
=$ac_pwd
12831 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12832 # for backward compatibility:
12833 ac_top_builddir
=$ac_top_build_prefix
12836 .
) # We are building in place.
12838 ac_top_srcdir
=$ac_top_builddir_sub
12839 ac_abs_top_srcdir
=$ac_pwd ;;
12840 [\\/]* | ?
:[\\/]* ) # Absolute name.
12841 ac_srcdir
=$srcdir$ac_dir_suffix;
12842 ac_top_srcdir
=$srcdir
12843 ac_abs_top_srcdir
=$srcdir ;;
12844 *) # Relative name.
12845 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12846 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12847 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12849 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12861 # If the template does not know about datarootdir, expand it.
12862 # FIXME: This hack should be removed a few years after 2.60.
12863 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12874 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12875 *datarootdir
*) ac_datarootdir_seen
=yes;;
12876 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12878 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12881 ac_datarootdir_hack='
12882 s&@datadir@&$datadir&g
12883 s&@docdir@&$docdir&g
12884 s&@infodir@&$infodir&g
12885 s&@localedir@&$localedir&g
12886 s&@mandir@&$mandir&g
12887 s&\\\${datarootdir}&$datarootdir&g' ;;
12891 # Neutralize VPATH when `$srcdir' = `.'.
12892 # Shell code in configure.ac might set extrasub.
12893 # FIXME: do we really want to maintain this feature?
12894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12895 ac_sed_extra="$ac_vpsub
12898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12900 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12901 s|@configure_input@|
$ac_sed_conf_input|
;t t
12902 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12903 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12904 s
&@srcdir@
&$ac_srcdir&;t t
12905 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12906 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12907 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12908 s
&@builddir@
&$ac_builddir&;t t
12909 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12910 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12911 $ac_datarootdir_hack
12913 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12914 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12916 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12917 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12918 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12920 which seems to be undefined. Please make sure it is defined." >&5
12921 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12922 which seems to be undefined. Please make sure it is defined." >&2;}
12926 -) cat "$tmp/out" && rm -f "$tmp/out";;
12927 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12929 || as_fn_error "could not create $ac_file" "$LINENO" 5
12935 if test x"$ac_file" != x-; then
12937 $as_echo "/* $configure_input */" \
12938 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12939 } >"$tmp/config.h" \
12940 || as_fn_error "could not create $ac_file" "$LINENO" 5
12941 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12942 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12943 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12946 mv "$tmp/config.h" "$ac_file" \
12947 || as_fn_error "could not create $ac_file" "$LINENO" 5
12950 $as_echo "/* $configure_input */" \
12951 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12952 || as_fn_error "could not create -" "$LINENO" 5
12956 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12957 $as_echo "$as_me: executing $ac_file commands" >&6;}
12962 case $ac_file$ac_mode in
12963 "compiler_executable":C)
12964 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12965 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
12969 chmod a+x ${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
12971 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as$aros_host_exe_suffix
12972 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm$aros_host_exe_suffix
12973 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar$aros_host_exe_suffix
12974 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib$aros_host_exe_suffix
12975 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy$aros_host_exe_suffix
12976 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump$aros_host_exe_suffix
12977 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip$aros_host_exe_suffix
12979 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld$aros_host_exe_suffix
12981 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12989 ac_clean_files=$ac_clean_files_save
12991 test $ac_write_fail = 0 ||
12992 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
12995 # configure is writing to config.log, and then calls config.status.
12996 # config.status does its own redirection, appending to config.log.
12997 # Unfortunately, on DOS this fails, as config.log is still kept open
12998 # by configure, so config.status won't be able to
write to it
; its
12999 # output is simply discarded. So we exec the FD to /dev/null,
13000 # effectively closing config.log, so it can be properly (re)opened and
13001 # appended to by config.status. When coming back to configure, we
13002 # need to make the FD available again.
13003 if test "$no_create" != yes; then
13005 ac_config_status_args
=
13006 test "$silent" = yes &&
13007 ac_config_status_args
="$ac_config_status_args --quiet"
13009 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
13011 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13012 # would make configure fail if this is the last instruction.
13013 $ac_cs_success || as_fn_exit $?
13015 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
13017 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
13022 #XXX compatability...
13023 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
13025 if test -n "$aros_shared_cflags" ; then
13026 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
13027 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg