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
818 program_transform_name
831 enable_option_checking
840 enable_target_variant
848 enable_amigaos_compliance
858 enable_palm_debug_hack
860 enable_nesting_supervisor
872 ac_precious_vars
='build_alias
884 # Initialize some variables set by options.
886 ac_init_version
=false
887 ac_unrecognized_opts
=
889 # The variables have the same names as the options, with
890 # dashes changed to underlines.
898 program_transform_name
=s
,x
,x
,
906 # Installation directory options.
907 # These are left unexpanded so users can "make install exec_prefix=/foo"
908 # and all the variables that are supposed to be based on exec_prefix
909 # by default will actually change.
910 # Use braces instead of parens because sh, perl, etc. also accept them.
911 # (The list follows the same order as the GNU Coding Standards.)
912 bindir
='${exec_prefix}/bin'
913 sbindir
='${exec_prefix}/sbin'
914 libexecdir
='${exec_prefix}/libexec'
915 datarootdir
='${prefix}/share'
916 datadir
='${datarootdir}'
917 sysconfdir
='${prefix}/etc'
918 sharedstatedir
='${prefix}/com'
919 localstatedir
='${prefix}/var'
920 includedir
='${prefix}/include'
921 oldincludedir
='/usr/include'
922 docdir
='${datarootdir}/doc/${PACKAGE}'
923 infodir
='${datarootdir}/info'
928 libdir
='${exec_prefix}/lib'
929 localedir
='${datarootdir}/locale'
930 mandir
='${datarootdir}/man'
936 # If the previous option needs an argument, assign it.
937 if test -n "$ac_prev"; then
938 eval $ac_prev=\
$ac_option
944 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
948 # Accept the important Cygnus configure options, so we can diagnose typos.
950 case $ac_dashdash$ac_option in
954 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
956 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
959 -build |
--build |
--buil |
--bui |
--bu)
960 ac_prev
=build_alias
;;
961 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
962 build_alias
=$ac_optarg ;;
964 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
965 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
966 ac_prev
=cache_file
;;
967 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
968 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
969 cache_file
=$ac_optarg ;;
972 cache_file
=config.cache
;;
974 -datadir |
--datadir |
--datadi |
--datad)
976 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
977 datadir
=$ac_optarg ;;
979 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
980 |
--dataroo |
--dataro |
--datar)
981 ac_prev
=datarootdir
;;
982 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
983 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
984 datarootdir
=$ac_optarg ;;
986 -disable-* |
--disable-*)
987 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
988 # Reject names that are not valid shell variable names.
989 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
990 as_fn_error
"invalid feature name: $ac_useropt"
991 ac_useropt_orig
=$ac_useropt
992 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
993 case $ac_user_opts in
997 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
998 ac_unrecognized_sep
=', ';;
1000 eval enable_
$ac_useropt=no
;;
1002 -docdir |
--docdir |
--docdi |
--doc |
--do)
1004 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1005 docdir
=$ac_optarg ;;
1007 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1009 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1010 dvidir
=$ac_optarg ;;
1012 -enable-* |
--enable-*)
1013 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1016 as_fn_error
"invalid feature name: $ac_useropt"
1017 ac_useropt_orig
=$ac_useropt
1018 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1021 "enable_
$ac_useropt"
1023 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1024 ac_unrecognized_sep
=', ';;
1026 eval enable_
$ac_useropt=\
$ac_optarg ;;
1028 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1029 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1030 |
--exec |
--exe |
--ex)
1031 ac_prev
=exec_prefix
;;
1032 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1033 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1034 |
--exec=* |
--exe=* |
--ex=*)
1035 exec_prefix
=$ac_optarg ;;
1037 -gas |
--gas |
--ga |
--g)
1038 # Obsolete; use --with-gas.
1041 -help |
--help |
--hel |
--he |
-h)
1042 ac_init_help
=long
;;
1043 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1044 ac_init_help
=recursive
;;
1045 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1046 ac_init_help
=short
;;
1048 -host |
--host |
--hos |
--ho)
1049 ac_prev
=host_alias
;;
1050 -host=* |
--host=* |
--hos=* |
--ho=*)
1051 host_alias
=$ac_optarg ;;
1053 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1055 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1057 htmldir
=$ac_optarg ;;
1059 -includedir |
--includedir |
--includedi |
--included |
--include \
1060 |
--includ |
--inclu |
--incl |
--inc)
1061 ac_prev
=includedir
;;
1062 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1063 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1064 includedir
=$ac_optarg ;;
1066 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1068 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1069 infodir
=$ac_optarg ;;
1071 -libdir |
--libdir |
--libdi |
--libd)
1073 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1074 libdir
=$ac_optarg ;;
1076 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1077 |
--libexe |
--libex |
--libe)
1078 ac_prev
=libexecdir
;;
1079 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1080 |
--libexe=* |
--libex=* |
--libe=*)
1081 libexecdir
=$ac_optarg ;;
1083 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1084 ac_prev
=localedir
;;
1085 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1086 localedir
=$ac_optarg ;;
1088 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1089 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1090 ac_prev
=localstatedir
;;
1091 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1092 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1093 localstatedir
=$ac_optarg ;;
1095 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1097 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1098 mandir
=$ac_optarg ;;
1100 -nfp |
--nfp |
--nf)
1101 # Obsolete; use --without-fp.
1104 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1105 |
--no-cr |
--no-c |
-n)
1108 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1109 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1112 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1113 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1114 |
--oldin |
--oldi |
--old |
--ol |
--o)
1115 ac_prev
=oldincludedir
;;
1116 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1117 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1118 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1119 oldincludedir
=$ac_optarg ;;
1121 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1123 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1124 prefix
=$ac_optarg ;;
1126 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1127 |
--program-pre |
--program-pr |
--program-p)
1128 ac_prev
=program_prefix
;;
1129 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1130 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1131 program_prefix
=$ac_optarg ;;
1133 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1134 |
--program-suf |
--program-su |
--program-s)
1135 ac_prev
=program_suffix
;;
1136 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1137 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1138 program_suffix
=$ac_optarg ;;
1140 -program-transform-name |
--program-transform-name \
1141 |
--program-transform-nam |
--program-transform-na \
1142 |
--program-transform-n |
--program-transform- \
1143 |
--program-transform |
--program-transfor \
1144 |
--program-transfo |
--program-transf \
1145 |
--program-trans |
--program-tran \
1146 |
--progr-tra |
--program-tr |
--program-t)
1147 ac_prev
=program_transform_name
;;
1148 -program-transform-name=* |
--program-transform-name=* \
1149 |
--program-transform-nam=* |
--program-transform-na=* \
1150 |
--program-transform-n=* |
--program-transform-=* \
1151 |
--program-transform=* |
--program-transfor=* \
1152 |
--program-transfo=* |
--program-transf=* \
1153 |
--program-trans=* |
--program-tran=* \
1154 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1155 program_transform_name
=$ac_optarg ;;
1157 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1159 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1160 pdfdir
=$ac_optarg ;;
1162 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1164 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1167 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1168 |
-silent |
--silent |
--silen |
--sile |
--sil)
1171 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1173 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1175 sbindir
=$ac_optarg ;;
1177 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1178 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1179 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1181 ac_prev
=sharedstatedir
;;
1182 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1183 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1184 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1186 sharedstatedir
=$ac_optarg ;;
1188 -site |
--site |
--sit)
1190 -site=* |
--site=* |
--sit=*)
1193 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1195 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1196 srcdir
=$ac_optarg ;;
1198 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1199 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1200 ac_prev
=sysconfdir
;;
1201 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1202 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1203 sysconfdir
=$ac_optarg ;;
1205 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1206 ac_prev
=target_alias
;;
1207 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1208 target_alias
=$ac_optarg ;;
1210 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1213 -version |
--version |
--versio |
--versi |
--vers |
-V)
1214 ac_init_version
=: ;;
1217 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1220 as_fn_error
"invalid package name: $ac_useropt"
1221 ac_useropt_orig
=$ac_useropt
1222 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1228 ac_unrecognized_sep
=', ';;
1230 eval with_
$ac_useropt=\
$ac_optarg ;;
1232 -without-* |
--without-*)
1233 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1236 as_fn_error
"invalid package name: $ac_useropt"
1237 ac_useropt_orig
=$ac_useropt
1238 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1239 case $ac_user_opts in
1243 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1244 ac_unrecognized_sep
=', ';;
1246 eval with_
$ac_useropt=no
;;
1249 # Obsolete; use --with-x.
1252 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1253 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1254 ac_prev
=x_includes
;;
1255 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1256 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1257 x_includes
=$ac_optarg ;;
1259 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1260 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1261 ac_prev
=x_libraries
;;
1262 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1263 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1264 x_libraries
=$ac_optarg ;;
1266 -*) as_fn_error
"unrecognized option: \`$ac_option'
1267 Try \`$0 --help' for more information."
1271 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1272 # Reject names that are not valid shell variable names.
1273 case $ac_envvar in #(
1274 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1275 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1277 eval $ac_envvar=\
$ac_optarg
1278 export $ac_envvar ;;
1281 # FIXME: should be removed in autoconf 3.0.
1282 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1283 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1284 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1285 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1291 if test -n "$ac_prev"; then
1292 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1293 as_fn_error
"missing argument to $ac_option"
1296 if test -n "$ac_unrecognized_opts"; then
1297 case $enable_option_checking in
1299 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1300 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1304 # Check all directory arguments for consistency.
1305 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1306 datadir sysconfdir sharedstatedir localstatedir includedir \
1307 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1308 libdir localedir mandir
1310 eval ac_val
=\$
$ac_var
1311 # Remove trailing slashes.
1314 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1315 eval $ac_var=\
$ac_val;;
1317 # Be sure to have absolute directory names.
1319 [\\/$
]* | ?
:[\\/]* ) continue;;
1320 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1322 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1325 # There might be people who depend on the old broken behavior: `$host'
1326 # used to hold the argument of --host etc.
1327 # FIXME: To remove some day.
1330 target
=$target_alias
1332 # FIXME: To remove some day.
1333 if test "x$host_alias" != x
; then
1334 if test "x$build_alias" = x
; then
1335 cross_compiling
=maybe
1336 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1337 If a cross compiler is detected then cross compile mode will be used." >&2
1338 elif test "x$build_alias" != "x$host_alias"; then
1344 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1346 test "$silent" = yes && exec 6>/dev
/null
1349 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1350 ac_ls_di
=`ls -di .` &&
1351 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1352 as_fn_error
"working directory cannot be determined"
1353 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1354 as_fn_error
"pwd does not report name of working directory"
1357 # Find the source files, if location was not specified.
1358 if test -z "$srcdir"; then
1359 ac_srcdir_defaulted
=yes
1360 # Try the directory containing this script, then the parent directory.
1361 ac_confdir
=`$as_dirname -- "$as_myself" ||
1362 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1363 X"$as_myself" : 'X\(//\)[^/]' \| \
1364 X"$as_myself" : 'X\(//\)$' \| \
1365 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1366 $as_echo X"$as_myself" |
1367 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1385 if test ! -r "$srcdir/$ac_unique_file"; then
1389 ac_srcdir_defaulted
=no
1391 if test ! -r "$srcdir/$ac_unique_file"; then
1392 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1393 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1395 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1397 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1399 # When building in place, set srcdir=.
1400 if test "$ac_abs_confdir" = "$ac_pwd"; then
1403 # Remove unnecessary trailing slashes from srcdir.
1404 # Double slashes in file names in object file debugging info
1405 # mess up M-x gdb in Emacs.
1407 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1409 for ac_var
in $ac_precious_vars; do
1410 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1411 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1412 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1417 # Report the --help message.
1419 if test "$ac_init_help" = "long"; then
1420 # Omit some internal or obsolete options to make the list less imposing.
1421 # This message is too long to be a string in the A/UX 3.1 sh.
1423 \`configure' configures this package to adapt to many kinds of systems.
1425 Usage: $0 [OPTION]... [VAR=VALUE]...
1427 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1428 VAR=VALUE. See below for descriptions of some of the useful variables.
1430 Defaults for the options are specified in brackets.
1433 -h, --help display this help and exit
1434 --help=short display options specific to this package
1435 --help=recursive display the short help of all the included packages
1436 -V, --version display version information and exit
1437 -q, --quiet, --silent do not print \`checking...' messages
1438 --cache-file=FILE cache test results in FILE [disabled]
1439 -C, --config-cache alias for \`--cache-file=config.cache'
1440 -n, --no-create do not create output files
1441 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1443 Installation directories:
1444 --prefix=PREFIX install architecture-independent files in PREFIX
1445 [$ac_default_prefix]
1446 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1449 By default, \`make install' will install all the files in
1450 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1451 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1452 for instance \`--prefix=\$HOME'.
1454 For better control, use the options below.
1456 Fine tuning of the installation directories:
1457 --bindir=DIR user executables [EPREFIX/bin]
1458 --sbindir=DIR system admin executables [EPREFIX/sbin]
1459 --libexecdir=DIR program executables [EPREFIX/libexec]
1460 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1461 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1462 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1463 --libdir=DIR object code libraries [EPREFIX/lib]
1464 --includedir=DIR C header files [PREFIX/include]
1465 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1466 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1467 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1468 --infodir=DIR info documentation [DATAROOTDIR/info]
1469 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1470 --mandir=DIR man documentation [DATAROOTDIR/man]
1471 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1472 --htmldir=DIR html documentation [DOCDIR]
1473 --dvidir=DIR dvi documentation [DOCDIR]
1474 --pdfdir=DIR pdf documentation [DOCDIR]
1475 --psdir=DIR ps documentation [DOCDIR]
1481 --x-includes=DIR X include files are
in DIR
1482 --x-libraries=DIR X library files are
in DIR
1485 --build=BUILD configure
for building on BUILD
[guessed
]
1486 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1490 if test -n "$ac_init_help"; then
1495 --disable-option-checking ignore unrecognized
--enable/--with options
1496 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1497 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1498 --enable-build-type=TYPE
1499 Select the build
type. Available types are
:
1500 personal
, nightly
, snapshot
, milestone
, release. Do
1501 NOT use this option unless you know what you are
1502 doing
! (default
=personal
)
1503 --enable-debug=list Enable different types of debug. Commas or
1504 whitespaces can be used to separate the items
in the
1505 list. Available types of debug are
: all
, none
,
1506 messages
, stack
, mungwall
, modules
, symbols. If no
1507 list is provided
then "all" is assumed.
1509 --enable-crosstools Build cross-compiler toolchains
if necessary
1511 --enable-distcc Use distcc as a front end to the compiler
1513 --enable-ccache Use ccache as a front end to the compiler
1515 --enable-target-variant=NAME
1516 Enable a specific target variant
(default
=none
)
1517 --enable-amigaos-compliance=VERSION
1518 Enforce userspace AmigaOS compliance to a specific
1519 KickStart version
(default
=none
).
1520 --enable-includes=dir Alternative system include directory
1521 --enable-palm-debug-hack
1522 Enable palm debug output hack
in palm native
1524 --enable-usb30-code Enable usb3.0 code
(default
=no
)
1525 --enable-nesting-supervisor
1526 Enable nesting supervisor support
in unix
1528 --disable-mmu Disable MMU support
(default
=enabled
)
1529 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1530 --enable-x11-shm use X11 shared memory
(default
=auto
)
1531 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1532 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1533 --disable-sdltest Do not try to compile and run a
test SDL program
1534 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1537 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1538 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1539 --with-gcc-version=VERSION
1540 Use
host gcc-VERSION
for building AROS
1541 --with-optimization=FLAGS
1542 Use optimization flags FLAGS
(default
=-O2).
1543 --with-paranoia=FLAGS CC flags to
enable paranoia
1544 --with-xcode=PATH Specify XCode path
for iOS targets
1545 (default
=/Developer
).
1546 --with-ios-version=VERSION
1547 Specify minimum supported iOS version
(default
=3.0).
1548 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1549 --with-sdk=PATH Specify Android SDK path
1550 (default
=$default_android_sdk).
1551 --with-ndk=PATH Specify Android NDK path
1552 (default
=$default_android_ndk).
1553 --with-sdk-version=LEVEL
1554 Use Android SDK
for API LEVEL
(default
=8).
1555 --with-ndk-version=LEVEL
1556 Use Android NDK
for API LEVEL
(default
=9).
1557 --with-crosstools=DIR Where to
install or search
for cross tools binaries
1558 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1559 --with-portssources=DIR Where to download sourcecode
for external ports
1560 --with-bootloader=NAME Use a specific bootloader
1561 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1562 --with-theme=NAME Use a specific GUI Theme
1563 --with-resolution=XRESxYRESxDEPTH
1564 Default resolution of the initial WorkbenchScreen
1565 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1566 --with-x use the X Window System
1567 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1568 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1570 Some influential environment variables
:
1571 CC C compiler
command
1572 CFLAGS C compiler flags
1573 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1574 nonstandard directory
<lib dir
>
1575 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1576 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1577 you have headers
in a nonstandard directory
<include dir
>
1579 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1581 Use these variables to override the choices made by
`configure' or to help
1582 it to find libraries and programs with nonstandard names/locations.
1584 Report bugs to the package provider.
1589 if test "$ac_init_help" = "recursive"; then
1590 # If there are subdirs, report their specific --help.
1591 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1592 test -d "$ac_dir" ||
1593 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1598 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1600 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1601 # A ".." for each directory in $ac_dir_suffix.
1602 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1603 case $ac_top_builddir_sub in
1604 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1605 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1608 ac_abs_top_builddir=$ac_pwd
1609 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1610 # for backward compatibility:
1611 ac_top_builddir=$ac_top_build_prefix
1614 .) # We are building in place.
1616 ac_top_srcdir=$ac_top_builddir_sub
1617 ac_abs_top_srcdir=$ac_pwd ;;
1618 [\\/]* | ?:[\\/]* ) # Absolute name.
1619 ac_srcdir=$srcdir$ac_dir_suffix;
1620 ac_top_srcdir=$srcdir
1621 ac_abs_top_srcdir=$srcdir ;;
1623 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1624 ac_top_srcdir=$ac_top_build_prefix$srcdir
1625 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1627 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1629 cd "$ac_dir" || { ac_status=$?; continue; }
1630 # Check for guested configure.
1631 if test -f "$ac_srcdir/configure.gnu"; then
1633 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1634 elif test -f "$ac_srcdir/configure"; then
1636 $SHELL "$ac_srcdir/configure" --help=recursive
1638 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1640 cd "$ac_pwd" || { ac_status=$?; break; }
1644 test -n "$ac_init_help" && exit $ac_status
1645 if $ac_init_version; then
1648 generated by GNU Autoconf 2.65
1650 Copyright (C) 2009 Free Software Foundation, Inc.
1651 This configure script is free software; the Free Software Foundation
1652 gives unlimited permission to copy, distribute and modify it.
1657 ## ------------------------ ##
1658 ## Autoconf initialization. ##
1659 ## ------------------------ ##
1661 # ac_fn_c_try_compile LINENO
1662 # --------------------------
1663 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1664 ac_fn_c_try_compile ()
1666 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1667 rm -f conftest.$ac_objext
1668 if { { ac_try="$ac_compile"
1670 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1671 *) ac_try_echo
=$ac_try;;
1673 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1674 $as_echo "$ac_try_echo"; } >&5
1675 (eval "$ac_compile") 2>conftest.err
1677 if test -s conftest.err
; then
1678 grep -v '^ *+' conftest.err
>conftest.er1
1679 cat conftest.er1
>&5
1680 mv -f conftest.er1 conftest.err
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && {
1684 test -z "$ac_c_werror_flag" ||
1685 test ! -s conftest.err
1686 } && test -s conftest.
$ac_objext; then :
1689 $as_echo "$as_me: failed program was:" >&5
1690 sed 's/^/| /' conftest.
$ac_ext >&5
1694 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1695 as_fn_set_status
$ac_retval
1697 } # ac_fn_c_try_compile
1699 # ac_fn_c_try_cpp LINENO
1700 # ----------------------
1701 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1704 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1705 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } >/dev/null && {
1721 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 as_fn_set_status $ac_retval
1736 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1737 # -------------------------------------------------------
1738 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1739 # the include files in INCLUDES and setting the cache variable VAR
1741 ac_fn_c_check_header_mongrel ()
1743 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1744 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1746 $as_echo_n "checking for $2... " >&6; }
1747 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1748 $as_echo_n "(cached) " >&6
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1752 $as_echo "$ac_res" >&6; }
1754 # Is the header compilable?
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1756 $as_echo_n "checking $2 usability... " >&6; }
1757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1758 /* end confdefs.h. */
1762 if ac_fn_c_try_compile "$LINENO"; then :
1763 ac_header_compiler=yes
1765 ac_header_compiler=no
1767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1769 $as_echo "$ac_header_compiler" >&6; }
1771 # Is the header present?
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1773 $as_echo_n "checking $2 presence... " >&6; }
1774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775 /* end confdefs.h. */
1778 if ac_fn_c_try_cpp "$LINENO"; then :
1779 ac_header_preproc=yes
1781 ac_header_preproc=no
1783 rm -f conftest.err conftest.$ac_ext
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1785 $as_echo "$ac_header_preproc" >&6; }
1787 # So? What about this header?
1788 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1791 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1793 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1797 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1799 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1801 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1803 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1805 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1809 $as_echo_n "checking for $2... " >&6; }
1810 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1811 $as_echo_n "(cached) " >&6
1813 eval "$3=\$ac_header_compiler"
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1817 $as_echo "$ac_res" >&6; }
1819 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 } # ac_fn_c_check_header_mongrel
1823 # ac_fn_c_try_run LINENO
1824 # ----------------------
1825 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1826 # that executables *can* be run.
1829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1830 if { { ac_try="$ac_link"
1832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1833 *) ac_try_echo
=$ac_try;;
1835 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_link") 2>&5
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1841 { { case "(($ac_try" in
1842 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1843 *) ac_try_echo=$ac_try;;
1845 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1846 $as_echo "$ac_try_echo"; } >&5
1847 (eval "$ac_try") 2>&5
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; }; }; then :
1853 $as_echo "$as_me: program exited with status $ac_status" >&5
1854 $as_echo "$as_me: failed program was:" >&5
1855 sed 's/^/| /' conftest.$ac_ext >&5
1857 ac_retval=$ac_status
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1861 as_fn_set_status $ac_retval
1865 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1866 # -------------------------------------------------------
1867 # Tests whether HEADER exists and can be compiled using the include files in
1868 # INCLUDES, setting the cache variable VAR accordingly.
1869 ac_fn_c_check_header_compile ()
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1873 $as_echo_n "checking for $2... " >&6; }
1874 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1875 $as_echo_n "(cached) " >&6
1877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1878 /* end confdefs.h. */
1882 if ac_fn_c_try_compile "$LINENO"; then :
1887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1894 } # ac_fn_c_check_header_compile
1896 # ac_fn_c_try_link LINENO
1897 # -----------------------
1898 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1902 rm -f conftest.$ac_objext conftest$ac_exeext
1903 if { { ac_try="$ac_link"
1905 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1906 *) ac_try_echo
=$ac_try;;
1908 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1909 $as_echo "$ac_try_echo"; } >&5
1910 (eval "$ac_link") 2>conftest.err
1912 if test -s conftest.err
; then
1913 grep -v '^ *+' conftest.err
>conftest.er1
1914 cat conftest.er1
>&5
1915 mv -f conftest.er1 conftest.err
1917 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1918 test $ac_status = 0; } && {
1919 test -z "$ac_c_werror_flag" ||
1920 test ! -s conftest.err
1921 } && test -s conftest
$ac_exeext && {
1922 test "$cross_compiling" = yes ||
1923 $as_test_x conftest
$ac_exeext
1927 $as_echo "$as_me: failed program was:" >&5
1928 sed 's/^/| /' conftest.
$ac_ext >&5
1932 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1933 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1934 # interfere with the next link command; also delete a directory that is
1935 # left behind by Apple's compiler. We do this before executing the actions.
1936 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1937 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1938 as_fn_set_status
$ac_retval
1940 } # ac_fn_c_try_link
1942 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1943 # ----------------------------------------------------
1944 # Tries to find if the field MEMBER exists in type AGGR, after including
1945 # INCLUDES, setting cache variable VAR accordingly.
1946 ac_fn_c_check_member
()
1948 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1950 $as_echo_n "checking for $2.$3... " >&6; }
1951 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1952 $as_echo_n "(cached) " >&6
1954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1955 /* end confdefs.h. */
1967 if ac_fn_c_try_compile
"$LINENO"; then :
1970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1971 /* end confdefs.h. */
1977 if (sizeof ac_aggr.$3)
1983 if ac_fn_c_try_compile
"$LINENO"; then :
1988 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1990 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1997 } # ac_fn_c_check_member
1999 # ac_fn_c_check_decl LINENO SYMBOL VAR
2000 # ------------------------------------
2001 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
2002 ac_fn_c_check_decl
()
2004 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
2006 $as_echo_n "checking whether $2 is declared... " >&6; }
2007 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2008 $as_echo_n "(cached) " >&6
2010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2024 if ac_fn_c_try_compile
"$LINENO"; then :
2029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2033 $as_echo "$ac_res" >&6; }
2034 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2036 } # ac_fn_c_check_decl
2038 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2039 # -------------------------------------------
2040 # Tests whether TYPE exists after having included INCLUDES, setting cache
2041 # variable VAR accordingly.
2042 ac_fn_c_check_type
()
2044 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2046 $as_echo_n "checking for $2... " >&6; }
2047 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2048 $as_echo_n "(cached) " >&6
2051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2063 if ac_fn_c_try_compile
"$LINENO"; then :
2064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2076 if ac_fn_c_try_compile
"$LINENO"; then :
2081 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2083 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2087 $as_echo "$ac_res" >&6; }
2088 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2090 } # ac_fn_c_check_type
2092 # ac_fn_c_check_func LINENO FUNC VAR
2093 # ----------------------------------
2094 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2095 ac_fn_c_check_func
()
2097 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2099 $as_echo_n "checking for $2... " >&6; }
2100 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2101 $as_echo_n "(cached) " >&6
2103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2104 /* end confdefs.h. */
2105 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2107 #define $2 innocuous_$2
2109 /* System header to define __stub macros and hopefully few prototypes,
2110 which can conflict with char $2 (); below.
2111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2112 <limits.h> exists even on freestanding compilers. */
2115 # include <limits.h>
2117 # include <assert.h>
2122 /* Override any GCC internal prototype to avoid an error.
2123 Use char because int might match the return type of a GCC
2124 builtin and then its argument prototype would still apply. */
2129 /* The GNU C library defines this for functions which it implements
2130 to always fail with ENOSYS. Some functions are actually named
2131 something starting with __ and the normal name is an alias. */
2132 #if defined __stub_$2 || defined __stub___$2
2144 if ac_fn_c_try_link
"$LINENO"; then :
2149 rm -f core conftest.err conftest.
$ac_objext \
2150 conftest
$ac_exeext conftest.
$ac_ext
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2154 $as_echo "$ac_res" >&6; }
2155 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2157 } # ac_fn_c_check_func
2158 cat >config.log
<<_ACEOF
2159 This file contains any messages produced by compilers while
2160 running configure, to aid debugging if configure makes a mistake.
2162 It was created by $as_me, which was
2163 generated by GNU Autoconf 2.65. Invocation command line was
2175 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2176 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2177 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2178 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2179 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2181 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2182 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2184 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2185 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2186 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2187 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2188 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2189 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2190 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2198 test -z "$as_dir" && as_dir
=.
2199 $as_echo "PATH: $as_dir"
2215 # Keep a trace of the command line.
2216 # Strip out --no-create and --no-recursion so they do not pile up.
2217 # Strip out --silent because we don't want to record it for future runs.
2218 # Also quote any args containing shell meta-characters.
2219 # Make two passes to allow for proper duplicate-argument suppression.
2223 ac_must_keep_next
=false
2229 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2230 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2231 |
-silent |
--silent |
--silen |
--sile |
--sil)
2234 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2237 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2239 as_fn_append ac_configure_args1
" '$ac_arg'"
2240 if test $ac_must_keep_next = true
; then
2241 ac_must_keep_next
=false
# Got value, back to normal.
2244 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2245 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2246 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2247 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2248 case "$ac_configure_args0 " in
2249 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2252 -* ) ac_must_keep_next
=true
;;
2255 as_fn_append ac_configure_args
" '$ac_arg'"
2260 { ac_configure_args0
=; unset ac_configure_args0
;}
2261 { ac_configure_args1
=; unset ac_configure_args1
;}
2263 # When interrupted or exit'd, cleanup temporary files, and complete
2264 # config.log. We remove comments because anyway the quotes in there
2265 # would cause problems or look ugly.
2266 # WARNING: Use '\'' to represent an apostrophe within the trap.
2267 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2268 trap 'exit_status=$?
2269 # Save into config.log some information that might help in debugging.
2274 ## ---------------- ##
2275 ## Cache variables. ##
2276 ## ---------------- ##
2279 # The following way of writing the cache mishandles newlines in values,
2281 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2282 eval ac_val=\$$ac_var
2286 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2287 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2290 _ | IFS | as_nl) ;; #(
2291 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2292 *) { eval $ac_var=; unset $ac_var;} ;;
2297 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2298 *${as_nl}ac_space=\ *)
2300 "s/'\''/'\''\\\\'\'''\''/g;
2301 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2304 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2312 ## ----------------- ##
2313 ## Output variables. ##
2314 ## ----------------- ##
2317 for ac_var in $ac_subst_vars
2319 eval ac_val=\$$ac_var
2321 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2323 $as_echo "$ac_var='\''$ac_val'\''"
2327 if test -n "$ac_subst_files"; then
2329 ## ------------------- ##
2330 ## File substitutions. ##
2331 ## ------------------- ##
2334 for ac_var
in $ac_subst_files
2336 eval ac_val
=\$
$ac_var
2338 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2340 $as_echo "$ac_var='\''$ac_val'\''"
2345 if test -s confdefs.h; then
2355 test "$ac_signal" != 0 &&
2356 $as_echo "$as_me: caught signal $ac_signal"
2357 $as_echo "$as_me: exit $exit_status"
2359 rm -f core *.core core.conftest.* &&
2360 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2363 for ac_signal
in 1 2 13 15; do
2364 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2368 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2369 rm -f -r conftest
* confdefs.h
2371 $as_echo "/* confdefs.h */" > confdefs.h
2373 # Predefined preprocessor variables.
2375 cat >>confdefs.h
<<_ACEOF
2376 #define PACKAGE_NAME "$PACKAGE_NAME"
2379 cat >>confdefs.h
<<_ACEOF
2380 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_STRING "$PACKAGE_STRING"
2391 cat >>confdefs.h
<<_ACEOF
2392 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2395 cat >>confdefs.h
<<_ACEOF
2396 #define PACKAGE_URL "$PACKAGE_URL"
2400 # Let the site file select an alternate cache file if it wants to.
2401 # Prefer an explicitly selected file to automatically selected ones.
2404 if test -n "$CONFIG_SITE"; then
2405 ac_site_file1
=$CONFIG_SITE
2406 elif test "x$prefix" != xNONE
; then
2407 ac_site_file1
=$prefix/share
/config.site
2408 ac_site_file2
=$prefix/etc
/config.site
2410 ac_site_file1
=$ac_default_prefix/share
/config.site
2411 ac_site_file2
=$ac_default_prefix/etc
/config.site
2413 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2415 test "x$ac_site_file" = xNONE
&& continue
2416 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2418 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2419 sed 's/^/| /' "$ac_site_file" >&5
2424 if test -r "$cache_file"; then
2425 # Some versions of bash will fail to source /dev/null (special files
2426 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2427 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2429 $as_echo "$as_me: loading cache $cache_file" >&6;}
2431 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2432 *) .
"./$cache_file";;
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2437 $as_echo "$as_me: creating cache $cache_file" >&6;}
2441 as_fn_append ac_header_list
" stdlib.h"
2442 as_fn_append ac_header_list
" unistd.h"
2443 as_fn_append ac_header_list
" sys/param.h"
2444 # Check that the precious variables saved in the cache have kept the same
2446 ac_cache_corrupted
=false
2447 for ac_var
in $ac_precious_vars; do
2448 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2449 eval ac_new_set
=\
$ac_env_${ac_var}_set
2450 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2451 eval ac_new_val
=\
$ac_env_${ac_var}_value
2452 case $ac_old_set,$ac_new_set in
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2455 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2456 ac_cache_corrupted
=: ;;
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2459 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2460 ac_cache_corrupted
=: ;;
2463 if test "x$ac_old_val" != "x$ac_new_val"; then
2464 # differences in whitespace do not lead to failure.
2465 ac_old_val_w
=`echo x $ac_old_val`
2466 ac_new_val_w
=`echo x $ac_new_val`
2467 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2469 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2470 ac_cache_corrupted
=:
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2473 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2474 eval $ac_var=\
$ac_old_val
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2477 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2479 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2482 # Pass precious variables to config.status.
2483 if test "$ac_new_set" = set; then
2485 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2486 *) ac_arg
=$ac_var=$ac_new_val ;;
2488 case " $ac_configure_args " in
2489 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2490 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2494 if $ac_cache_corrupted; then
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2498 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2499 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2501 ## -------------------- ##
2502 ## Main body of script. ##
2503 ## -------------------- ##
2506 ac_cpp
='$CPP $CPPFLAGS'
2507 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2508 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2509 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2514 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2515 for ac_t
in install-sh
install.sh shtool
; do
2516 if test -f "$ac_dir/$ac_t"; then
2518 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2523 if test -z "$ac_aux_dir"; then
2524 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2527 # These three variables are undocumented and unsupported,
2528 # and are intended to be withdrawn in a future Autoconf release.
2529 # They can cause serious problems if a builder's source tree is in a directory
2530 # whose full name contains unusual characters.
2531 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2532 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2533 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2537 # Check what host we are running on.
2538 # If a target is not suggested, we use this one.
2539 # Note that what we call a target, Autoconf calls a host.
2540 # Make sure we can run config.sub.
2541 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2542 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2545 $as_echo_n "checking build system type... " >&6; }
2546 if test "${ac_cv_build+set}" = set; then :
2547 $as_echo_n "(cached) " >&6
2549 ac_build_alias
=$build_alias
2550 test "x$ac_build_alias" = x
&&
2551 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2552 test "x$ac_build_alias" = x
&&
2553 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2554 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2555 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2559 $as_echo "$ac_cv_build" >&6; }
2560 case $ac_cv_build in
2562 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2565 ac_save_IFS
=$IFS; IFS
='-'
2571 # Remember, the first character of IFS is used to create $*,
2572 # except with old shells:
2575 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2579 $as_echo_n "checking host system type... " >&6; }
2580 if test "${ac_cv_host+set}" = set; then :
2581 $as_echo_n "(cached) " >&6
2583 if test "x$host_alias" = x
; then
2584 ac_cv_host
=$ac_cv_build
2586 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2587 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2592 $as_echo "$ac_cv_host" >&6; }
2595 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2598 ac_save_IFS
=$IFS; IFS
='-'
2604 # Remember, the first character of IFS is used to create $*,
2605 # except with old shells:
2608 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2612 # The AROS target is slightly different to the normal GNU style
2613 # format. We don't have the middle part, and we reverse the order
2614 # of the $(CPU) and $(OS) bits.
2616 # Don't strip the version of the target yet, it might be
2617 # useful on some systems.
2619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2620 $as_echo_n "checking for AROS style target... " >&6; }
2622 if test "$target" = "NONE" ; then
2623 target
=$host_os-$host_cpu
2625 if test "$target" = "" ; then
2626 target
=$host_os-$host_cpu
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2630 $as_echo "$target" >&6; }
2632 if test "$host_os" = "mingw32" ; then
2636 #don't know where else to put this...
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking building AROS in" >&5
2638 $as_echo_n "checking building AROS in... " >&6; }
2639 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2640 AROS_BUILDDIR_UNIX
=${PWD}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2642 $as_echo "$AROS_BUILDDIR" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS source in" >&5
2645 $as_echo_n "checking AROS source in... " >&6; }
2646 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2649 $as_echo "$SRCDIR" >&6; }
2651 # Parse the target field into something useful.
2653 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2654 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2657 aros_default_wbwidth
=800
2658 aros_default_wbheight
=600
2659 aros_default_wbdepth
=4
2662 # The first step is to find the host binaries.
2663 # Check for a compiler.
2665 ac_cpp
='$CPP $CPPFLAGS'
2666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2669 if test -n "$ac_tool_prefix"; then
2670 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2671 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if test "${ac_cv_prog_CC+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$CC"; then
2678 ac_cv_prog_CC
="$CC" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 if test -n "$CC"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2700 $as_echo "$CC" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2708 if test -z "$ac_cv_prog_CC"; then
2710 # Extract the first word of "gcc", so it can be a program name with args.
2711 set dummy gcc
; ac_word
=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$ac_ct_CC"; then
2718 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_ac_ct_CC
="gcc"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2738 if test -n "$ac_ct_CC"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2740 $as_echo "$ac_ct_CC" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2746 if test "x$ac_ct_CC" = x
; then
2749 case $cross_compiling:$ac_tool_warned in
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2753 ac_tool_warned
=yes ;;
2761 if test -z "$CC"; then
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2764 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$CC"; then
2771 ac_cv_prog_CC
="$CC" # Let the user override the test.
2773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir
=.
2778 for ac_exec_ext
in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2802 if test -z "$CC"; then
2803 # Extract the first word of "cc", so it can be a program name with args.
2804 set dummy cc
; ac_word
=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_CC+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC
="$CC" # Let the user override the test.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2822 ac_prog_rejected
=yes
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test $ac_prog_rejected = yes; then
2834 # We found a bogon in the path, so make sure we never use it.
2835 set dummy
$ac_cv_prog_CC
2837 if test $# != 0; then
2838 # We chose a different compiler from the bogus one.
2839 # However, it has the same basename, so the bogon will be chosen
2840 # first if we set CC to just the basename; use the full file name.
2842 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2848 if test -n "$CC"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2850 $as_echo "$CC" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2858 if test -z "$CC"; then
2859 if test -n "$ac_tool_prefix"; then
2860 for ac_prog
in cl.exe
2862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2863 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_CC+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$CC"; then
2870 ac_cv_prog_CC
="$CC" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$CC"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2892 $as_echo "$CC" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2899 test -n "$CC" && break
2902 if test -z "$CC"; then
2904 for ac_prog
in cl.exe
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy
$ac_prog; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$ac_ct_CC"; then
2914 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2923 ac_cv_prog_ac_ct_CC
="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2934 if test -n "$ac_ct_CC"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2936 $as_echo "$ac_ct_CC" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$ac_ct_CC" && break
2946 if test "x$ac_ct_CC" = x
; then
2949 case $cross_compiling:$ac_tool_warned in
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2953 ac_tool_warned
=yes ;;
2962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2964 as_fn_error
"no acceptable C compiler found in \$PATH
2965 See \`config.log' for more details." "$LINENO" 5; }
2967 # Provide some information about the compiler.
2968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2971 for ac_option
in --version -v -V -qversion; do
2972 { { ac_try
="$ac_compiler $ac_option >&5"
2974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 $as_echo "$ac_try_echo"; } >&5
2979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2981 if test -s conftest.err; then
2983 ... rest of stderr output deleted ...
2984 10q' conftest.err >conftest.er1
2985 cat conftest.er1 >&5
2987 rm -f conftest.er1 conftest.err
2988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; }
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
3003 ac_clean_files_save=$ac_clean_files
3004 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3005 # Try to create an executable without -o first, disregard a.out.
3006 # It will help us diagnose broken compilers, and finding out an intuition
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3009 $as_echo_n "checking whether the C compiler works... " >&6; }
3010 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3012 # The possible output files:
3013 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3016 for ac_file in $ac_files
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3020 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3025 if { { ac_try="$ac_link_default"
3027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3028 *) ac_try_echo
=$ac_try;;
3030 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3031 $as_echo "$ac_try_echo"; } >&5
3032 (eval "$ac_link_default") 2>&5
3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; }; then :
3036 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3037 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3038 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3039 # so that the user can short-circuit this test for compilers unknown to
3041 for ac_file
in $ac_files ''
3043 test -f "$ac_file" ||
continue
3045 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3048 # We found the default executable, but exeext='' is most
3052 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3054 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3056 # We set ac_cv_exeext here because the later test for it is not
3057 # safe: cross compilers may not add the suffix if given an `-o'
3058 # argument, so we may need to know it at that point already.
3059 # Even if this section looks crufty: it has the advantage of
3066 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3071 if test -z "$ac_file"; then :
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3074 $as_echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.
$ac_ext >&5
3077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079 { as_fn_set_status
77
3080 as_fn_error
"C compiler cannot create executables
3081 See \`config.log' for more details." "$LINENO" 5; }; }
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3084 $as_echo "yes" >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3087 $as_echo_n "checking for C compiler default output file name... " >&6; }
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3089 $as_echo "$ac_file" >&6; }
3090 ac_exeext
=$ac_cv_exeext
3092 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3093 ac_clean_files
=$ac_clean_files_save
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3095 $as_echo_n "checking for suffix of executables... " >&6; }
3096 if { { ac_try
="$ac_link"
3098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_link") 2>&5
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }; then :
3107 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3108 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3109 # work properly (i.e., refer to `conftest.exe'), while it won't with
3111 for ac_file
in conftest.exe conftest conftest.
*; do
3112 test -f "$ac_file" ||
continue
3114 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3115 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3121 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3123 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3124 See \`config.log' for more details." "$LINENO" 5; }
3126 rm -f conftest conftest
$ac_cv_exeext
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3128 $as_echo "$ac_cv_exeext" >&6; }
3130 rm -f conftest.
$ac_ext
3131 EXEEXT
=$ac_cv_exeext
3133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3134 /* end confdefs.h. */
3139 FILE *f = fopen ("conftest.out", "w");
3140 return ferror (f) || fclose (f) != 0;
3146 ac_clean_files
="$ac_clean_files conftest.out"
3147 # Check that the compiler produces executables we can run. If not, either
3148 # the compiler is broken, or we cross compile.
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3150 $as_echo_n "checking whether we are cross compiling... " >&6; }
3151 if test "$cross_compiling" != yes; then
3152 { { ac_try
="$ac_link"
3154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3155 *) ac_try_echo=$ac_try;;
3157 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3158 $as_echo "$ac_try_echo"; } >&5
3159 (eval "$ac_link") 2>&5
3161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3162 test $ac_status = 0; }
3163 if { ac_try='./conftest$ac_cv_exeext'
3164 { { case "(($ac_try" in
3165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3166 *) ac_try_echo
=$ac_try;;
3168 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3169 $as_echo "$ac_try_echo"; } >&5
3170 (eval "$ac_try") 2>&5
3172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3173 test $ac_status = 0; }; }; then
3176 if test "$cross_compiling" = maybe
; then
3179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3181 as_fn_error
"cannot run C compiled programs.
3182 If you meant to cross compile, use \`--host'.
3183 See \`config.log' for more details." "$LINENO" 5; }
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3188 $as_echo "$cross_compiling" >&6; }
3190 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3191 ac_clean_files
=$ac_clean_files_save
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3193 $as_echo_n "checking for suffix of object files... " >&6; }
3194 if test "${ac_cv_objext+set}" = set; then :
3195 $as_echo_n "(cached) " >&6
3197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3198 /* end confdefs.h. */
3208 rm -f conftest.o conftest.obj
3209 if { { ac_try
="$ac_compile"
3211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3212 *) ac_try_echo=$ac_try;;
3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3215 $as_echo "$ac_try_echo"; } >&5
3216 (eval "$ac_compile") 2>&5
3218 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3219 test $ac_status = 0; }; then :
3220 for ac_file in conftest.o conftest.obj conftest.*; do
3221 test -f "$ac_file" || continue;
3223 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3224 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3229 $as_echo "$as_me: failed program was:" >&5
3230 sed 's/^/| /' conftest.$ac_ext >&5
3232 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3234 as_fn_error "cannot compute suffix of object files
: cannot compile
3235 See \
`config.log' for more details." "$LINENO" 5; }
3237 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3240 $as_echo "$ac_cv_objext" >&6; }
3241 OBJEXT=$ac_cv_objext
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3244 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3245 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3246 $as_echo_n "(cached) " >&6
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3262 if ac_fn_c_try_compile "$LINENO"; then :
3267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3268 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3272 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3273 if test $ac_compiler_gnu = yes; then
3278 ac_test_CFLAGS=${CFLAGS+set}
3279 ac_save_CFLAGS=$CFLAGS
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3281 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3282 if test "${ac_cv_prog_cc_g+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3285 ac_save_c_werror_flag=$ac_c_werror_flag
3286 ac_c_werror_flag=yes
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 if ac_fn_c_try_compile "$LINENO"; then :
3304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3305 /* end confdefs.h. */
3315 if ac_fn_c_try_compile "$LINENO"; then :
3318 ac_c_werror_flag=$ac_save_c_werror_flag
3320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3321 /* end confdefs.h. */
3331 if ac_fn_c_try_compile "$LINENO"; then :
3334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3339 ac_c_werror_flag=$ac_save_c_werror_flag
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3342 $as_echo "$ac_cv_prog_cc_g" >&6; }
3343 if test "$ac_test_CFLAGS" = set; then
3344 CFLAGS=$ac_save_CFLAGS
3345 elif test $ac_cv_prog_cc_g = yes; then
3346 if test "$GCC" = yes; then
3352 if test "$GCC" = yes; then
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3359 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3360 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3361 $as_echo_n "(cached) " >&6
3363 ac_cv_prog_cc_c89=no
3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3369 #include <sys/types.h>
3370 #include <sys/stat.h>
3371 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3372 struct buf { int x; };
3373 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3374 static char *e (p, i)
3380 static char *f (char * (*g) (char **, int), char **p, ...)
3385 s = g (p, va_arg (v,int));
3390 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3391 function prototypes and stuff, but not '\xHH' hex character constants.
3392 These don't provoke an error unfortunately, instead are silently treated
3393 as 'x'. The following induces an error, until -std is added to get
3394 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3395 array size at least. It's necessary to write '\x00'==0 to get something
3396 that's true only with -std. */
3397 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3399 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3400 inside strings and character constants. */
3402 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3404 int test (int i, double x);
3405 struct s1 {int (*f) (int a);};
3406 struct s2 {int (*f) (double a);};
3407 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3413 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3418 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3419 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3421 CC="$ac_save_CC $ac_arg"
3422 if ac_fn_c_try_compile "$LINENO"; then :
3423 ac_cv_prog_cc_c89=$ac_arg
3425 rm -f core conftest.err conftest.$ac_objext
3426 test "x$ac_cv_prog_cc_c89" != "xno" && break
3428 rm -f conftest.$ac_ext
3433 case "x$ac_cv_prog_cc_c89" in
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3436 $as_echo "none needed" >&6; } ;;
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3439 $as_echo "unsupported" >&6; } ;;
3441 CC="$CC $ac_cv_prog_cc_c89"
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3443 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3445 if test "x$ac_cv_prog_cc_c89" != xno; then :
3450 ac_cpp='$CPP $CPPFLAGS'
3451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 case $ac_cv_prog_cc_stdc in #(
3457 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3460 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3461 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3462 $as_echo_n "(cached) " >&6
3464 ac_cv_prog_cc_c99=no
3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3469 #include <stdbool.h>
3474 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3475 #define debug(...) fprintf (stderr, __VA_ARGS__)
3476 #define showlist(...) puts (#__VA_ARGS__)
3477 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3479 test_varargs_macros (void)
3484 debug ("X = %d\n", x);
3485 showlist (The first, second, and third items.);
3486 report (x>y, "x is %d but y is %d", x, y);
3489 // Check long long types.
3490 #define BIG64 18446744073709551615ull
3491 #define BIG32 4294967295ul
3492 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3494 your preprocessor is broken;
3498 your preprocessor is broken;
3500 static long long int bignum = -9223372036854775807LL;
3501 static unsigned long long int ubignum = BIG64;
3503 struct incomplete_array
3511 const wchar_t *name;
3515 typedef const char *ccp;
3518 test_restrict (ccp restrict text)
3520 // See if C++-style comments work.
3521 // Iterate through items via the restricted pointer.
3522 // Also check for declarations in for loops.
3523 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3528 // Check varargs and va_copy.
3530 test_varargs (const char *format, ...)
3533 va_start (args, format);
3535 va_copy (args_copy, args);
3546 str = va_arg (args_copy, const char *);
3549 number = va_arg (args_copy, int);
3552 fnumber = va_arg (args_copy, double);
3567 _Bool success = false;
3570 if (test_restrict ("String literal") == 0)
3572 char *restrict newvar = "Another string";
3575 test_varargs ("s, d' f .", "string", 65, 34.234);
3576 test_varargs_macros ();
3578 // Check flexible array members.
3579 struct incomplete_array *ia =
3580 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3582 for (int i = 0; i < ia->datasize; ++i)
3583 ia->data[i] = i * 1.234;
3585 // Check named initializers.
3586 struct named_init ni = {
3588 .name = L"Test wide string",
3589 .average = 543.34343,
3594 int dynamic_array[ni.number];
3595 dynamic_array[ni.number - 1] = 543;
3597 // work around unused variable warnings
3598 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3599 || dynamic_array[ni.number - 1] != 543);
3605 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3607 CC="$ac_save_CC $ac_arg"
3608 if ac_fn_c_try_compile "$LINENO"; then :
3609 ac_cv_prog_cc_c99=$ac_arg
3611 rm -f core conftest.err conftest.$ac_objext
3612 test "x$ac_cv_prog_cc_c99" != "xno" && break
3614 rm -f conftest.$ac_ext
3619 case "x$ac_cv_prog_cc_c99" in
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3622 $as_echo "none needed" >&6; } ;;
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3625 $as_echo "unsupported" >&6; } ;;
3627 CC="$CC $ac_cv_prog_cc_c99"
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3629 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3631 if test "x$ac_cv_prog_cc_c99" != xno; then :
3632 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3635 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3636 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3639 ac_cv_prog_cc_c89=no
3641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3642 /* end confdefs.h. */
3645 #include <sys/types.h>
3646 #include <sys/stat.h>
3647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3648 struct buf { int x; };
3649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3650 static char *e (p, i)
3656 static char *f (char * (*g) (char **, int), char **p, ...)
3661 s = g (p, va_arg (v,int));
3666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3667 function prototypes and stuff, but not '\xHH' hex character constants.
3668 These don't provoke an error unfortunately, instead are silently treated
3669 as 'x'. The following induces an error, until -std is added to get
3670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3671 array size at least. It's necessary to write '\x00'==0 to get something
3672 that's true only with -std. */
3673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3676 inside strings and character constants. */
3678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3680 int test (int i, double x);
3681 struct s1 {int (*f) (int a);};
3682 struct s2 {int (*f) (double a);};
3683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3697 CC="$ac_save_CC $ac_arg"
3698 if ac_fn_c_try_compile "$LINENO"; then :
3699 ac_cv_prog_cc_c89=$ac_arg
3701 rm -f core conftest.err conftest.$ac_objext
3702 test "x$ac_cv_prog_cc_c89" != "xno" && break
3704 rm -f conftest.$ac_ext
3709 case "x$ac_cv_prog_cc_c89" in
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3712 $as_echo "none needed" >&6; } ;;
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3715 $as_echo "unsupported" >&6; } ;;
3717 CC="$CC $ac_cv_prog_cc_c89"
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3721 if test "x$ac_cv_prog_cc_c89" != xno; then :
3722 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3724 ac_cv_prog_cc_stdc=no
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3731 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3732 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3736 case $ac_cv_prog_cc_stdc in #(
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3739 $as_echo "unsupported" >&6; } ;; #(
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3742 $as_echo "none needed" >&6; } ;; #(
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3745 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3749 ac_cpp='$CPP $CPPFLAGS'
3750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3754 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3755 # On Suns, sometimes $CPP names a directory.
3756 if test -n "$CPP" && test -d "$CPP"; then
3759 if test -z "$CPP"; then
3760 if test "${ac_cv_prog_CPP+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3763 # Double quotes because CPP needs to be expanded
3764 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3767 for ac_c_preproc_warn_flag in '' yes
3769 # Use a header file that comes with gcc, so configuring glibc
3770 # with a fresh cross-compiler works.
3771 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3772 # <limits.h> exists even on freestanding compilers.
3773 # On the NeXT, cc -E runs the code through the compiler's parser,
3774 # not just through cpp. "Syntax error" is here to catch this case.
3775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3776 /* end confdefs.h. */
3778 # include <limits.h>
3780 # include <assert.h>
3784 if ac_fn_c_try_cpp "$LINENO"; then :
3787 # Broken: fails on valid input.
3790 rm -f conftest.err conftest.$ac_ext
3792 # OK, works on sane cases. Now check whether nonexistent headers
3793 # can be detected and how.
3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3796 #include <ac_nonexistent.h>
3798 if ac_fn_c_try_cpp "$LINENO"; then :
3799 # Broken: success on invalid input.
3802 # Passes both tests.
3806 rm -f conftest.err conftest.$ac_ext
3809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3810 rm -f conftest.err conftest.
$ac_ext
3811 if $ac_preproc_ok; then :
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3824 $as_echo "$CPP" >&6; }
3826 for ac_c_preproc_warn_flag
in '' yes
3828 # Use a header file that comes with gcc, so configuring glibc
3829 # with a fresh cross-compiler works.
3830 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3831 # <limits.h> exists even on freestanding compilers.
3832 # On the NeXT, cc -E runs the code through the compiler's parser,
3833 # not just through cpp. "Syntax error" is here to catch this case.
3834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3835 /* end confdefs.h. */
3837 # include <limits.h>
3839 # include <assert.h>
3843 if ac_fn_c_try_cpp
"$LINENO"; then :
3846 # Broken: fails on valid input.
3849 rm -f conftest.err conftest.
$ac_ext
3851 # OK, works on sane cases. Now check whether nonexistent headers
3852 # can be detected and how.
3853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3854 /* end confdefs.h. */
3855 #include <ac_nonexistent.h>
3857 if ac_fn_c_try_cpp
"$LINENO"; then :
3858 # Broken: success on invalid input.
3861 # Passes both tests.
3865 rm -f conftest.err conftest.
$ac_ext
3868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3869 rm -f conftest.err conftest.
$ac_ext
3870 if $ac_preproc_ok; then :
3873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3875 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3876 See \`config.log' for more details." "$LINENO" 5; }
3880 ac_cpp
='$CPP $CPPFLAGS'
3881 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3882 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3883 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3886 # Check for a compatible awk
3887 for ac_prog
in gawk nawk
3889 # Extract the first word of "$ac_prog", so it can be a program name with args.
3890 set dummy
$ac_prog; ac_word
=$2
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3892 $as_echo_n "checking for $ac_word... " >&6; }
3893 if test "${ac_cv_prog_AWK+set}" = set; then :
3894 $as_echo_n "(cached) " >&6
3896 if test -n "$AWK"; then
3897 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3903 test -z "$as_dir" && as_dir
=.
3904 for ac_exec_ext
in '' $ac_executable_extensions; do
3905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3906 ac_cv_prog_AWK
="$ac_prog"
3907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3917 if test -n "$AWK"; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3919 $as_echo "$AWK" >&6; }
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3922 $as_echo "no" >&6; }
3926 test -n "$AWK" && break
3929 if test "$AWK" = ""; then
3930 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3932 # Extract the first word of "mmake", so it can be a program name with args.
3933 set dummy mmake
; ac_word
=$2
3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3935 $as_echo_n "checking for $ac_word... " >&6; }
3936 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3937 $as_echo_n "(cached) " >&6
3939 if test -n "$MMAKE"; then
3940 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3946 test -z "$as_dir" && as_dir
=.
3947 for ac_exec_ext
in '' $ac_executable_extensions; do
3948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3949 ac_cv_prog_MMAKE
="mmake "
3950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3959 MMAKE
=$ac_cv_prog_MMAKE
3960 if test -n "$MMAKE"; then
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3962 $as_echo "$MMAKE" >&6; }
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3965 $as_echo "no" >&6; }
3970 # Perform some default variable assignments. Note all of these will be
3971 # Regenerated from the script, so there is no need to cache them.
3974 if test "$GCC" = "yes"; then
3975 aros_gcc_ld
=`$CC -print-prog-name=ld`
3976 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3977 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3979 $as_echo_n "checking for $ac_word... " >&6; }
3980 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3981 $as_echo_n "(cached) " >&6
3983 case $aros_host_ld in
3985 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 for as_dir
in `dirname $aros_gcc_ld`
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3995 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4006 aros_host_ld
=$ac_cv_path_aros_host_ld
4007 if test -n "$aros_host_ld"; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4009 $as_echo "$aros_host_ld" >&6; }
4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4012 $as_echo "no" >&6; }
4017 if test "$aros_host_ld" = ""; then
4018 # Extract the first word of "ld", so it can be a program name with args.
4019 set dummy ld
; ac_word
=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4023 $as_echo_n "(cached) " >&6
4025 case $aros_host_ld in
4027 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4030 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4034 test -z "$as_dir" && as_dir
=.
4035 for ac_exec_ext
in '' $ac_executable_extensions; do
4036 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4037 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 aros_host_ld
=$ac_cv_path_aros_host_ld
4049 if test -n "$aros_host_ld"; then
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4051 $as_echo "$aros_host_ld" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4059 if test "$aros_host_ld" = ""; then
4060 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4062 aros_host_make
="make"
4063 aros_host_cflags
=$CFLAGS
4064 aros_host_ldflags
=$LDFLAGS
4065 aros_host_debug
="-g -O0"
4066 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4067 aros_host_mkargs
="--no-print-directory"
4068 aros_host_incl
="/usr/include"
4069 aros_host_exe_suffix
="$EXEEXT"
4070 aros_host_lib_suffix
=""
4072 # Ignore all compliance, AROS ROMs = 0
4073 # KickStart v1.0 = 30
4074 # KickStart v1.3 = 34
4075 # KickStart v2.0 = 37
4076 # KickStart v3.0 = 39
4077 # KickStart v3.1 = 40
4079 aros_amigaos_compliance
=0
4081 for ac_prog
in aclocal aclocal19 aclocal-1.9
4083 # Extract the first word of "$ac_prog", so it can be a program name with args.
4084 set dummy
$ac_prog; ac_word
=$2
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4086 $as_echo_n "checking for $ac_word... " >&6; }
4087 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4088 $as_echo_n "(cached) " >&6
4090 if test -n "$aros_host_aclocal"; then
4091 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4097 test -z "$as_dir" && as_dir
=.
4098 for ac_exec_ext
in '' $ac_executable_extensions; do
4099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4100 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4110 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4111 if test -n "$aros_host_aclocal"; then
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4113 $as_echo "$aros_host_aclocal" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4120 test -n "$aros_host_aclocal" && break
4123 for ac_prog
in autoconf autoconf259 autoconf253
4125 # Extract the first word of "$ac_prog", so it can be a program name with args.
4126 set dummy
$ac_prog; ac_word
=$2
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4128 $as_echo_n "checking for $ac_word... " >&6; }
4129 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4130 $as_echo_n "(cached) " >&6
4132 if test -n "$aros_host_autoconf"; then
4133 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4139 test -z "$as_dir" && as_dir
=.
4140 for ac_exec_ext
in '' $ac_executable_extensions; do
4141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4142 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4152 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4153 if test -n "$aros_host_autoconf"; then
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4155 $as_echo "$aros_host_autoconf" >&6; }
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4158 $as_echo "no" >&6; }
4162 test -n "$aros_host_autoconf" && break
4165 for ac_prog
in autoheader autoheader259 autoheader253
4167 # Extract the first word of "$ac_prog", so it can be a program name with args.
4168 set dummy
$ac_prog; ac_word
=$2
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4170 $as_echo_n "checking for $ac_word... " >&6; }
4171 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4172 $as_echo_n "(cached) " >&6
4174 if test -n "$aros_host_autoheader"; then
4175 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4181 test -z "$as_dir" && as_dir
=.
4182 for ac_exec_ext
in '' $ac_executable_extensions; do
4183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4184 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4194 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4195 if test -n "$aros_host_autoheader"; then
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4197 $as_echo "$aros_host_autoheader" >&6; }
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4200 $as_echo "no" >&6; }
4204 test -n "$aros_host_autoheader" && break
4207 for ac_prog
in automake automake19 automake-1.9
4209 # Extract the first word of "$ac_prog", so it can be a program name with args.
4210 set dummy
$ac_prog; ac_word
=$2
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4212 $as_echo_n "checking for $ac_word... " >&6; }
4213 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4216 if test -n "$aros_host_automake"; then
4217 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4223 test -z "$as_dir" && as_dir
=.
4224 for ac_exec_ext
in '' $ac_executable_extensions; do
4225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4226 ac_cv_prog_aros_host_automake
="$ac_prog"
4227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4236 aros_host_automake
=$ac_cv_prog_aros_host_automake
4237 if test -n "$aros_host_automake"; then
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4239 $as_echo "$aros_host_automake" >&6; }
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4242 $as_echo "no" >&6; }
4246 test -n "$aros_host_automake" && break
4250 if test "$aros_host_aclocal" = ""; then
4251 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4253 if test "$aros_host_automake" = ""; then
4254 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4257 case "$aros_host_cc" in
4259 aros_host_cc_pipe
="-pipe"
4262 aros_host_cc_pipe
=""
4265 aros_host_cc_pipe
=""
4269 aros_kernel_cc_includes
=""
4270 aros_target_cc_includes
=""
4272 # ----------------------------------------------------------------------------------------
4273 # Host-specific defaults
4275 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4276 # instead of a wrapper script.
4277 # Useful for non-ELF hosts (like Windows and Darwin).
4278 # Can also be overriden in target section below
4281 # This is the main host configuration section. It is where the host
4282 # can change the values of any variables it needs to change. We do
4283 # not look at anything that compiles to the target yet, we'll get
4288 aros_host_arch
="aros"
4289 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4292 aros_host_cpu
="i386"
4295 aros_host_cpu
="x86_64"
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4302 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4303 aros_host_cpu
="$host_cpu"
4309 aros_host_arch
="linux"
4310 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4313 aros_host_cpu
="i386"
4316 aros_host_cpu
="x86_64"
4319 aros_host_cpu
="m68k"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4329 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4330 aros_host_cpu
="$host_cpu"
4336 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4337 aros_host_make
="gmake"
4338 aros_host_arch
="freebsd"
4339 aros_host_cpu
="i386"
4341 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4345 aros_object_format
="elf_i386"
4349 aros_object_format
="elf_i386_fbsd"
4356 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4357 aros_host_arch
="darwin"
4359 android_build_os
="darwin-x86"
4360 android_tool
="android"
4361 default_android_sdk
="/android-sdk-mac_x86"
4362 default_android_ndk
="/android-ndk-r5b"
4365 aros_host_cpu
="i386"
4368 aros_host_cpu
="x86_64"
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4375 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4376 aros_host_cpu
="$host_cpu"
4380 aros_host_ldflags
="$aros_host_ldflags -liconv"
4385 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4386 aros_host_make
="gmake"
4387 aros_host_arch
="dragonfly"
4390 aros_host_cpu
="i386"
4393 aros_host_cpu
="x86_64"
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4397 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4398 aros_host_cpu
="$host_cpu"
4404 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4405 aros_host_make
="gmake"
4406 aros_host_arch
="netbsd"
4409 aros_host_cpu
="i386"
4412 aros_host_cpu
="m68k"
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4416 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4417 aros_host_cpu
="$host_cpu"
4420 aros_host_lib_suffix
=".0.0"
4424 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4425 aros_host_make
="gmake"
4426 aros_host_arch
="openbsd"
4429 aros_host_cpu
="i386"
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4433 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4434 aros_host_cpu
="$host_cpu"
4440 aros_host_arch
="solaris"
4441 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4444 aros_host_cpu
="i386"
4447 aros_host_cpu
="sparc"
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4451 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4452 aros_host_cpu
="$host_cpu"
4458 aros_host_arch
="morphos"
4463 aros_host_arch
="amiga"
4468 TOUCH
="/gg/bin/touch"
4471 aros_host_cpu
="m68k"
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4478 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4479 aros_host_cpu
="$host_cpu"
4485 aros_host_arch
="cygwin"
4487 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4488 android_build_os
="windows"
4489 android_tool
="android.bat"
4490 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4494 aros_host_cpu
="i386"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4498 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4499 aros_host_cpu
="$host_cpu"
4505 aros_host_arch
="mingw32"
4507 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4508 android_build_os
="windows"
4509 android_tool
="android.bat"
4510 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4514 aros_host_cpu
="i386"
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4518 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4519 aros_host_cpu
="$host_cpu"
4524 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4528 # Extract the first word of "ar", so it can be a program name with args.
4529 set dummy
ar; ac_word
=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4535 if test -n "$aros_host_ar"; then
4536 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4542 test -z "$as_dir" && as_dir
=.
4543 for ac_exec_ext
in '' $ac_executable_extensions; do
4544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4545 ac_cv_prog_aros_host_ar
="ar cr"
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 aros_host_ar
=$ac_cv_prog_aros_host_ar
4556 if test -n "$aros_host_ar"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4558 $as_echo "$aros_host_ar" >&6; }
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4565 if test "$aros_host_ar" = ""; then
4566 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4568 # Extract the first word of "ranlib", so it can be a program name with args.
4569 set dummy ranlib
; ac_word
=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4573 $as_echo_n "(cached) " >&6
4575 if test -n "$aros_host_ranlib"; then
4576 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_aros_host_ranlib
="ranlib "
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4596 if test -n "$aros_host_ranlib"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4598 $as_echo "$aros_host_ranlib" >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4605 if test "$aros_host_ranlib" = ""; then
4606 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4608 # Extract the first word of "strip", so it can be a program name with args.
4609 set dummy strip
; ac_word
=$2
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4611 $as_echo_n "checking for $ac_word... " >&6; }
4612 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4615 if test -n "$aros_host_strip"; then
4616 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4618 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 test -z "$as_dir" && as_dir
=.
4623 for ac_exec_ext
in '' $ac_executable_extensions; do
4624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4625 ac_cv_prog_aros_host_strip
="strip "
4626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4635 aros_host_strip
=$ac_cv_prog_aros_host_strip
4636 if test -n "$aros_host_strip"; then
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4638 $as_echo "$aros_host_strip" >&6; }
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4641 $as_echo "no" >&6; }
4645 if test "$aros_host_strip" = ""; then
4646 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4649 # Extract the first word of "rm", so it can be a program name with args.
4650 set dummy
rm; ac_word
=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if test "${ac_cv_prog_RM+set}" = set; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$RM"; then
4657 ac_cv_prog_RM
="$RM" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4666 ac_cv_prog_RM
="rm -rf"
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 if test -n "$RM"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4679 $as_echo "$RM" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 if test "$RM" = ""; then
4687 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4689 # Extract the first word of "cp", so it can be a program name with args.
4690 set dummy
cp; ac_word
=$2
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 $as_echo_n "checking for $ac_word... " >&6; }
4693 if test "${ac_cv_prog_CP+set}" = set; then :
4694 $as_echo_n "(cached) " >&6
4696 if test -n "$CP"; then
4697 ac_cv_prog_CP
="$CP" # Let the user override the test.
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir
=.
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 if test -n "$CP"; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4719 $as_echo "$CP" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 $as_echo "no" >&6; }
4726 if test "$CP" = ""; then
4727 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4729 # Extract the first word of "mv", so it can be a program name with args.
4730 set dummy
mv; ac_word
=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if test "${ac_cv_prog_MV+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -n "$MV"; then
4737 ac_cv_prog_MV
="$MV" # Let the user override the test.
4739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir
=.
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4757 if test -n "$MV"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4759 $as_echo "$MV" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4766 if test "$MV" = ""; then
4767 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4769 # Extract the first word of "echo", so it can be a program name with args.
4770 set dummy
echo; ac_word
=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if test "${ac_cv_prog_ECHO+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$ECHO"; then
4777 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir
=.
4784 for ac_exec_ext
in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 ac_cv_prog_ECHO
="echo "
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 ECHO
=$ac_cv_prog_ECHO
4797 if test -n "$ECHO"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4799 $as_echo "$ECHO" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4806 if test "$ECHO" = ""; then
4807 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4809 # Extract the first word of "mkdir", so it can be a program name with args.
4810 set dummy mkdir
; ac_word
=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -n "$MKDIR"; then
4817 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_prog_MKDIR
="mkdir -p"
4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 MKDIR
=$ac_cv_prog_MKDIR
4837 if test -n "$MKDIR"; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4839 $as_echo "$MKDIR" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4846 if test "$MKDIR" = ""; then
4847 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4849 # Extract the first word of "touch", so it can be a program name with args.
4850 set dummy
touch; ac_word
=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$TOUCH"; then
4857 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir
=.
4864 for ac_exec_ext
in '' $ac_executable_extensions; do
4865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4866 ac_cv_prog_TOUCH
="touch "
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 TOUCH
=$ac_cv_prog_TOUCH
4877 if test -n "$TOUCH"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4879 $as_echo "$TOUCH" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4886 if test "$TOUCH" = ""; then
4887 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4889 # Extract the first word of "sort", so it can be a program name with args.
4890 set dummy
sort; ac_word
=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if test "${ac_cv_prog_SORT+set}" = set; then :
4894 $as_echo_n "(cached) " >&6
4896 if test -n "$SORT"; then
4897 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir
=.
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4906 ac_cv_prog_SORT
="sort "
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 SORT
=$ac_cv_prog_SORT
4917 if test -n "$SORT"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4919 $as_echo "$SORT" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4926 if test "$SORT" = ""; then
4927 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4929 # Extract the first word of "uniq", so it can be a program name with args.
4930 set dummy
uniq; ac_word
=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4936 if test -n "$UNIQ"; then
4937 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir
=.
4944 for ac_exec_ext
in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_UNIQ
="uniq "
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 UNIQ
=$ac_cv_prog_UNIQ
4957 if test -n "$UNIQ"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4959 $as_echo "$UNIQ" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4966 if test "$UNIQ" = ""; then
4967 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4969 # Extract the first word of "true", so it can be a program name with args.
4970 set dummy true
; ac_word
=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_NOP+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$NOP"; then
4977 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_exec_ext
in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_NOP
="true "
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$NOP"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4999 $as_echo "$NOP" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 if test "$NOP" = ""; then
5007 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5009 # Extract the first word of "cat", so it can be a program name with args.
5010 set dummy
cat; ac_word
=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_CAT+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$CAT"; then
5017 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_CAT
="cat "
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 if test -n "$CAT"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5039 $as_echo "$CAT" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 if test "$CAT" = ""; then
5047 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5049 # Extract the first word of "bison", so it can be a program name with args.
5050 set dummy bison
; ac_word
=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if test "${ac_cv_prog_BISON+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -n "$BISON"; then
5057 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_BISON
="bison "
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 BISON
=$ac_cv_prog_BISON
5077 if test -n "$BISON"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5079 $as_echo "$BISON" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5086 if test "$BISON" = ""; then
5087 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5089 # Extract the first word of "flex", so it can be a program name with args.
5090 set dummy flex
; ac_word
=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if test "${ac_cv_prog_FLEX+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$FLEX"; then
5097 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_FLEX
="flex "
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 FLEX
=$ac_cv_prog_FLEX
5117 if test -n "$FLEX"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5119 $as_echo "$FLEX" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5126 if test "$FLEX" = ""; then
5127 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5129 # Extract the first word of "pngtopnm", so it can be a program name with args.
5130 set dummy pngtopnm
; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$PNGTOPNM"; then
5137 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5146 ac_cv_prog_PNGTOPNM
="pngtopnm "
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5157 if test -n "$PNGTOPNM"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5159 $as_echo "$PNGTOPNM" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 if test "$PNGTOPNM" = ""; then
5167 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5169 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5170 set dummy ppmtoilbm
; ac_word
=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5174 $as_echo_n "(cached) " >&6
5176 if test -n "$PPMTOILBM"; then
5177 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir
=.
5184 for ac_exec_ext
in '' $ac_executable_extensions; do
5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5197 if test -n "$PPMTOILBM"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5199 $as_echo "$PPMTOILBM" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 if test "$PPMTOILBM" = ""; then
5207 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5209 # Extract the first word of "sed", so it can be a program name with args.
5210 set dummy
sed; ac_word
=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_SED+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$SED"; then
5217 ac_cv_prog_SED
="$SED" # Let the user override the test.
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_SED
="sed "
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5237 if test -n "$SED"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5239 $as_echo "$SED" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5246 if test "$SED" = ""; then
5247 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5249 # Extract the first word of "chmod", so it can be a program name with args.
5250 set dummy
chmod; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$CHMOD"; then
5257 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_CHMOD
="chmod "
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 CHMOD
=$ac_cv_prog_CHMOD
5277 if test -n "$CHMOD"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5279 $as_echo "$CHMOD" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 if test "$CHMOD" = ""; then
5287 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5289 # Extract the first word of "patch", so it can be a program name with args.
5290 set dummy
patch; ac_word
=$2
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5292 $as_echo_n "checking for $ac_word... " >&6; }
5293 if test "${ac_cv_prog_PATCH+set}" = set; then :
5294 $as_echo_n "(cached) " >&6
5296 if test -n "$PATCH"; then
5297 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5303 test -z "$as_dir" && as_dir
=.
5304 for ac_exec_ext
in '' $ac_executable_extensions; do
5305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5306 ac_cv_prog_PATCH
="patch "
5307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5316 PATCH
=$ac_cv_prog_PATCH
5317 if test -n "$PATCH"; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5319 $as_echo "$PATCH" >&6; }
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5322 $as_echo "no" >&6; }
5326 if test "$PATCH" = ""; then
5327 as_fn_error
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5334 if test -n "$PYTHON"; then
5335 # If the user set $PYTHON, use it and don't search something else.
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5337 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5338 prog
="import sys, string
5339 # split strings by '.' and convert to numeric. Append some zeros
5340 # because we need at least 4 digits for the hex conversion.
5341 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5343 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5344 sys.exit(sys.hexversion < minverhex)"
5345 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5346 ($PYTHON -c "$prog") >&5 2>&5
5348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5349 (exit $ac_status); }; then :
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5351 $as_echo "yes" >&6; }
5353 as_fn_error
"too old" "$LINENO" 5
5355 am_display_PYTHON
=$PYTHON
5357 # Otherwise, try each interpreter until we find one that satisfies
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5360 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5361 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5365 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
5366 test "$am_cv_pathless_PYTHON" = none
&& break
5367 prog
="import sys, string
5368 # split strings by '.' and convert to numeric. Append some zeros
5369 # because we need at least 4 digits for the hex conversion.
5370 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5372 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5373 sys.exit(sys.hexversion < minverhex)"
5374 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5375 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); }; then :
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5384 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5385 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5386 if test "$am_cv_pathless_PYTHON" = none
; then
5389 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5390 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5392 $as_echo_n "checking for $ac_word... " >&6; }
5393 if test "${ac_cv_path_PYTHON+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5398 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5405 test -z "$as_dir" && as_dir
=.
5406 for ac_exec_ext
in '' $ac_executable_extensions; do
5407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5408 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 PYTHON
=$ac_cv_path_PYTHON
5420 if test -n "$PYTHON"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5422 $as_echo "$PYTHON" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5430 am_display_PYTHON
=$am_cv_pathless_PYTHON
5434 if test "$PYTHON" = :; then
5435 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5440 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5441 if test "${am_cv_python_version+set}" = set; then :
5442 $as_echo_n "(cached) " >&6
5444 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5447 $as_echo "$am_cv_python_version" >&6; }
5448 PYTHON_VERSION
=$am_cv_python_version
5452 PYTHON_PREFIX
='${prefix}'
5454 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5459 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5460 if test "${am_cv_python_platform+set}" = set; then :
5461 $as_echo_n "(cached) " >&6
5463 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5466 $as_echo "$am_cv_python_platform" >&6; }
5467 PYTHON_PLATFORM
=$am_cv_python_platform
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5473 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5474 if test "${am_cv_python_pythondir+set}" = set; then :
5475 $as_echo_n "(cached) " >&6
5477 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5478 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5481 $as_echo "$am_cv_python_pythondir" >&6; }
5482 pythondir
=$am_cv_python_pythondir
5486 pkgpythondir
=\
${pythondir}/$PACKAGE
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5490 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5491 if test "${am_cv_python_pyexecdir+set}" = set; then :
5492 $as_echo_n "(cached) " >&6
5494 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5495 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5498 $as_echo "$am_cv_python_pyexecdir" >&6; }
5499 pyexecdir
=$am_cv_python_pyexecdir
5503 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5521 # Check for some includes for the X11 HIDD and the kernel
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5525 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5526 if test "${ac_cv_path_GREP+set}" = set; then :
5527 $as_echo_n "(cached) " >&6
5529 if test -z "$GREP"; then
5530 ac_path_GREP_found
=false
5531 # Loop through the user's path and test for each of PROGNAME-LIST
5532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5536 test -z "$as_dir" && as_dir
=.
5537 for ac_prog
in grep ggrep
; do
5538 for ac_exec_ext
in '' $ac_executable_extensions; do
5539 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5540 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5541 # Check for GNU ac_path_GREP and select it if it is found.
5542 # Check for GNU $ac_path_GREP
5543 case `"$ac_path_GREP" --version 2>&1` in
5545 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5548 $as_echo_n 0123456789 >"conftest.in"
5551 cat "conftest.in" "conftest.in" >"conftest.tmp"
5552 mv "conftest.tmp" "conftest.in"
5553 cp "conftest.in" "conftest.nl"
5554 $as_echo 'GREP' >> "conftest.nl"
5555 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5556 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5557 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5558 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5559 # Best one so far, save it but keep looking for a better one
5560 ac_cv_path_GREP
="$ac_path_GREP"
5561 ac_path_GREP_max
=$ac_count
5563 # 10*(2^10) chars as input seems more than enough
5564 test $ac_count -gt 10 && break
5566 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5569 $ac_path_GREP_found && break 3
5574 if test -z "$ac_cv_path_GREP"; then
5575 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5578 ac_cv_path_GREP
=$GREP
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5583 $as_echo "$ac_cv_path_GREP" >&6; }
5584 GREP
="$ac_cv_path_GREP"
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5588 $as_echo_n "checking for egrep... " >&6; }
5589 if test "${ac_cv_path_EGREP+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5592 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5593 then ac_cv_path_EGREP
="$GREP -E"
5595 if test -z "$EGREP"; then
5596 ac_path_EGREP_found
=false
5597 # Loop through the user's path and test for each of PROGNAME-LIST
5598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5599 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5602 test -z "$as_dir" && as_dir
=.
5603 for ac_prog
in egrep; do
5604 for ac_exec_ext
in '' $ac_executable_extensions; do
5605 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5606 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5607 # Check for GNU ac_path_EGREP and select it if it is found.
5608 # Check for GNU $ac_path_EGREP
5609 case `"$ac_path_EGREP" --version 2>&1` in
5611 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5614 $as_echo_n 0123456789 >"conftest.in"
5617 cat "conftest.in" "conftest.in" >"conftest.tmp"
5618 mv "conftest.tmp" "conftest.in"
5619 cp "conftest.in" "conftest.nl"
5620 $as_echo 'EGREP' >> "conftest.nl"
5621 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5622 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5623 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5624 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5625 # Best one so far, save it but keep looking for a better one
5626 ac_cv_path_EGREP
="$ac_path_EGREP"
5627 ac_path_EGREP_max
=$ac_count
5629 # 10*(2^10) chars as input seems more than enough
5630 test $ac_count -gt 10 && break
5632 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5635 $ac_path_EGREP_found && break 3
5640 if test -z "$ac_cv_path_EGREP"; then
5641 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5644 ac_cv_path_EGREP
=$EGREP
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5650 $as_echo "$ac_cv_path_EGREP" >&6; }
5651 EGREP
="$ac_cv_path_EGREP"
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5655 $as_echo_n "checking for ANSI C header files... " >&6; }
5656 if test "${ac_cv_header_stdc+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5674 if ac_fn_c_try_compile
"$LINENO"; then :
5675 ac_cv_header_stdc
=yes
5677 ac_cv_header_stdc
=no
5679 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5681 if test $ac_cv_header_stdc = yes; then
5682 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5683 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5684 /* end confdefs.h. */
5688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5689 $EGREP "memchr" >/dev
/null
2>&1; then :
5692 ac_cv_header_stdc
=no
5698 if test $ac_cv_header_stdc = yes; then
5699 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5706 $EGREP "free" >/dev
/null
2>&1; then :
5709 ac_cv_header_stdc
=no
5715 if test $ac_cv_header_stdc = yes; then
5716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5717 if test "$cross_compiling" = yes; then :
5720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5724 #if ((' ' & 0x0FF) == 0x020)
5725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5728 # define ISLOWER(c) \
5729 (('a' <= (c) && (c) <= 'i') \
5730 || ('j' <= (c) && (c) <= 'r') \
5731 || ('s' <= (c) && (c) <= 'z'))
5732 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5735 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5740 for (i = 0; i < 256; i++)
5741 if (XOR (islower (i), ISLOWER (i))
5742 || toupper (i) != TOUPPER (i))
5747 if ac_fn_c_try_run
"$LINENO"; then :
5750 ac_cv_header_stdc
=no
5752 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5753 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5759 $as_echo "$ac_cv_header_stdc" >&6; }
5760 if test $ac_cv_header_stdc = yes; then
5762 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5766 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5767 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5768 inttypes.h stdint.h unistd.h
5770 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5771 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5773 eval as_val
=\$
$as_ac_Header
5774 if test "x$as_val" = x
""yes; then :
5775 cat >>confdefs.h
<<_ACEOF
5776 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5784 for ac_header
in sys
/ipc.h sys
/shm.h \
5785 sys
/mmap.h sys
/mman.h sysexits.h \
5786 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5789 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5790 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5791 eval as_val
=\$
$as_ac_Header
5792 if test "x$as_val" = x
""yes; then :
5793 cat >>confdefs.h
<<_ACEOF
5794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5802 for ac_header
in sys
/mount.h
5804 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5806 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5807 cat >>confdefs.h
<<_ACEOF
5808 #define HAVE_SYS_MOUNT_H 1
5817 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5818 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5820 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5821 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5822 $as_echo_n "(cached) " >&6
5824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5825 /* end confdefs.h. */
5826 #include <sys/types.h>
5838 if ac_fn_c_try_compile
"$LINENO"; then :
5839 eval "$as_ac_Header=yes"
5841 eval "$as_ac_Header=no"
5843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5845 eval ac_res
=\$
$as_ac_Header
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5847 $as_echo "$ac_res" >&6; }
5848 eval as_val
=\$
$as_ac_Header
5849 if test "x$as_val" = x
""yes; then :
5850 cat >>confdefs.h
<<_ACEOF
5851 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5854 ac_header_dirent
=$ac_hdr; break
5858 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5859 if test $ac_header_dirent = dirent.h
; then
5860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5861 $as_echo_n "checking for library containing opendir... " >&6; }
5862 if test "${ac_cv_search_opendir+set}" = set; then :
5863 $as_echo_n "(cached) " >&6
5865 ac_func_search_save_LIBS
=$LIBS
5866 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5869 /* Override any GCC internal prototype to avoid an error.
5870 Use char because int might match the return type of a GCC
5871 builtin and then its argument prototype would still apply. */
5884 for ac_lib
in '' dir
; do
5885 if test -z "$ac_lib"; then
5886 ac_res
="none required"
5889 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5891 if ac_fn_c_try_link
"$LINENO"; then :
5892 ac_cv_search_opendir
=$ac_res
5894 rm -f core conftest.err conftest.
$ac_objext \
5896 if test "${ac_cv_search_opendir+set}" = set; then :
5900 if test "${ac_cv_search_opendir+set}" = set; then :
5903 ac_cv_search_opendir
=no
5906 LIBS
=$ac_func_search_save_LIBS
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5909 $as_echo "$ac_cv_search_opendir" >&6; }
5910 ac_res
=$ac_cv_search_opendir
5911 if test "$ac_res" != no
; then :
5912 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5918 $as_echo_n "checking for library containing opendir... " >&6; }
5919 if test "${ac_cv_search_opendir+set}" = set; then :
5920 $as_echo_n "(cached) " >&6
5922 ac_func_search_save_LIBS
=$LIBS
5923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5924 /* end confdefs.h. */
5926 /* Override any GCC internal prototype to avoid an error.
5927 Use char because int might match the return type of a GCC
5928 builtin and then its argument prototype would still apply. */
5941 for ac_lib
in '' x
; do
5942 if test -z "$ac_lib"; then
5943 ac_res
="none required"
5946 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5948 if ac_fn_c_try_link
"$LINENO"; then :
5949 ac_cv_search_opendir
=$ac_res
5951 rm -f core conftest.err conftest.
$ac_objext \
5953 if test "${ac_cv_search_opendir+set}" = set; then :
5957 if test "${ac_cv_search_opendir+set}" = set; then :
5960 ac_cv_search_opendir
=no
5963 LIBS
=$ac_func_search_save_LIBS
5965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5966 $as_echo "$ac_cv_search_opendir" >&6; }
5967 ac_res
=$ac_cv_search_opendir
5968 if test "$ac_res" != no
; then :
5969 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5976 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5977 if test "${ac_cv_header_stat_broken+set}" = set; then :
5978 $as_echo_n "(cached) " >&6
5980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5981 /* end confdefs.h. */
5982 #include <sys/types.h>
5983 #include <sys/stat.h>
5985 #if defined S_ISBLK && defined S_IFDIR
5986 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5989 #if defined S_ISBLK && defined S_IFCHR
5990 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5993 #if defined S_ISLNK && defined S_IFREG
5994 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5997 #if defined S_ISSOCK && defined S_IFREG
5998 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
6002 if ac_fn_c_try_compile
"$LINENO"; then :
6003 ac_cv_header_stat_broken
=no
6005 ac_cv_header_stat_broken
=yes
6007 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6010 $as_echo "$ac_cv_header_stat_broken" >&6; }
6011 if test $ac_cv_header_stat_broken = yes; then
6013 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6018 $as_echo_n "checking for ANSI C header files... " >&6; }
6019 if test "${ac_cv_header_stdc+set}" = set; then :
6020 $as_echo_n "(cached) " >&6
6022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6023 /* end confdefs.h. */
6037 if ac_fn_c_try_compile
"$LINENO"; then :
6038 ac_cv_header_stdc
=yes
6040 ac_cv_header_stdc
=no
6042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6044 if test $ac_cv_header_stdc = yes; then
6045 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6047 /* end confdefs.h. */
6051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6052 $EGREP "memchr" >/dev
/null
2>&1; then :
6055 ac_cv_header_stdc
=no
6061 if test $ac_cv_header_stdc = yes; then
6062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6064 /* end confdefs.h. */
6068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6069 $EGREP "free" >/dev
/null
2>&1; then :
6072 ac_cv_header_stdc
=no
6078 if test $ac_cv_header_stdc = yes; then
6079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6080 if test "$cross_compiling" = yes; then :
6083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6084 /* end confdefs.h. */
6087 #if ((' ' & 0x0FF) == 0x020)
6088 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6089 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6091 # define ISLOWER(c) \
6092 (('a' <= (c) && (c) <= 'i') \
6093 || ('j' <= (c) && (c) <= 'r') \
6094 || ('s' <= (c) && (c) <= 'z'))
6095 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6098 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6103 for (i = 0; i < 256; i++)
6104 if (XOR (islower (i), ISLOWER (i))
6105 || toupper (i) != TOUPPER (i))
6110 if ac_fn_c_try_run
"$LINENO"; then :
6113 ac_cv_header_stdc
=no
6115 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6116 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6122 $as_echo "$ac_cv_header_stdc" >&6; }
6123 if test $ac_cv_header_stdc = yes; then
6125 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6130 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6131 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6132 $as_echo_n "(cached) " >&6
6134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6135 /* end confdefs.h. */
6136 #include <sys/types.h>
6137 #include <sys/wait.h>
6139 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6142 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6150 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6155 if ac_fn_c_try_compile
"$LINENO"; then :
6156 ac_cv_header_sys_wait_h
=yes
6158 ac_cv_header_sys_wait_h
=no
6160 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6163 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6164 if test $ac_cv_header_sys_wait_h = yes; then
6166 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6171 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6172 if test "${ac_cv_header_time+set}" = set; then :
6173 $as_echo_n "(cached) " >&6
6175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6176 /* end confdefs.h. */
6177 #include <sys/types.h>
6178 #include <sys/time.h>
6184 if ((struct tm *) 0)
6190 if ac_fn_c_try_compile
"$LINENO"; then :
6191 ac_cv_header_time
=yes
6193 ac_cv_header_time
=no
6195 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6198 $as_echo "$ac_cv_header_time" >&6; }
6199 if test $ac_cv_header_time = yes; then
6201 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6205 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6206 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6208 cat >>confdefs.h
<<_ACEOF
6209 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6213 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6218 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6219 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6221 cat >>confdefs.h
<<_ACEOF
6222 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6226 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6229 case " $LIBOBJS " in
6230 *" fileblocks.$ac_objext "* ) ;;
6231 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6238 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6239 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6241 cat >>confdefs.h
<<_ACEOF
6242 #define HAVE_STRUCT_STAT_ST_RDEV 1
6246 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6252 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6253 if test "${ac_cv_struct_tm+set}" = set; then :
6254 $as_echo_n "(cached) " >&6
6256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6257 /* end confdefs.h. */
6258 #include <sys/types.h>
6265 int *p = &tm.tm_sec;
6271 if ac_fn_c_try_compile
"$LINENO"; then :
6272 ac_cv_struct_tm
=time.h
6274 ac_cv_struct_tm
=sys
/time.h
6276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6279 $as_echo "$ac_cv_struct_tm" >&6; }
6280 if test $ac_cv_struct_tm = sys
/time.h
; then
6282 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6286 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6287 #include <$ac_cv_struct_tm>
6290 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6292 cat >>confdefs.h
<<_ACEOF
6293 #define HAVE_STRUCT_TM_TM_ZONE 1
6299 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6301 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6304 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6306 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6312 cat >>confdefs.h
<<_ACEOF
6313 #define HAVE_DECL_TZNAME $ac_have_decl
6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6317 $as_echo_n "checking for tzname... " >&6; }
6318 if test "${ac_cv_var_tzname+set}" = set; then :
6319 $as_echo_n "(cached) " >&6
6321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6322 /* end confdefs.h. */
6324 #if !HAVE_DECL_TZNAME
6325 extern char *tzname[];
6331 return tzname[0][0];
6336 if ac_fn_c_try_link
"$LINENO"; then :
6337 ac_cv_var_tzname
=yes
6341 rm -f core conftest.err conftest.
$ac_objext \
6342 conftest
$ac_exeext conftest.
$ac_ext
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6345 $as_echo "$ac_cv_var_tzname" >&6; }
6346 if test $ac_cv_var_tzname = yes; then
6348 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6353 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6354 if test "x$ac_cv_type_off_t" = x
""yes; then :
6358 cat >>confdefs.h
<<_ACEOF
6359 #define off_t long int
6364 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6365 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6369 cat >>confdefs.h
<<_ACEOF
6375 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6376 if test "x$ac_cv_type_size_t" = x
""yes; then :
6380 cat >>confdefs.h
<<_ACEOF
6381 #define size_t unsigned int
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6387 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6388 if test "${ac_cv_type_uid_t+set}" = set; then :
6389 $as_echo_n "(cached) " >&6
6391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6392 /* end confdefs.h. */
6393 #include <sys/types.h>
6396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6397 $EGREP "uid_t" >/dev
/null
2>&1; then :
6398 ac_cv_type_uid_t
=yes
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6406 $as_echo "$ac_cv_type_uid_t" >&6; }
6407 if test $ac_cv_type_uid_t = no
; then
6409 $as_echo "#define uid_t int" >>confdefs.h
6412 $as_echo "#define gid_t int" >>confdefs.h
6417 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6418 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6420 cat >>confdefs.h
<<_ACEOF
6421 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6428 # Look for some functions
6429 for ac_func
in getpagesize kqueue statfs statvfs \
6430 clone kse_create rfork_thread thr_create sa_register \
6431 getcontext makecontext setcontext sigaltstack swapcontext
6433 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6434 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6435 eval as_val
=\$
$as_ac_var
6436 if test "x$as_val" = x
""yes; then :
6437 cat >>confdefs.h
<<_ACEOF
6438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6448 for ac_header
in $ac_header_list
6450 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6451 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6453 eval as_val
=\$
$as_ac_Header
6454 if test "x$as_val" = x
""yes; then :
6455 cat >>confdefs.h
<<_ACEOF
6456 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6470 for ac_func
in getpagesize
6472 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6473 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6474 cat >>confdefs.h
<<_ACEOF
6475 #define HAVE_GETPAGESIZE 1
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6482 $as_echo_n "checking for working mmap... " >&6; }
6483 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6484 $as_echo_n "(cached) " >&6
6486 if test "$cross_compiling" = yes; then :
6487 ac_cv_func_mmap_fixed_mapped
=no
6489 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6490 /* end confdefs.h. */
6491 $ac_includes_default
6492 /* malloc might have been renamed as rpl_malloc. */
6495 /* Thanks to Mike Haertel and Jim Avera for this test.
6496 Here is a matrix of mmap possibilities:
6497 mmap private not fixed
6498 mmap private fixed at somewhere currently unmapped
6499 mmap private fixed at somewhere already mapped
6500 mmap shared not fixed
6501 mmap shared fixed at somewhere currently unmapped
6502 mmap shared fixed at somewhere already mapped
6503 For private mappings, we should verify that changes cannot be read()
6504 back from the file, nor mmap's back from the file at a different
6505 address. (There have been systems where private was not correctly
6506 implemented like the infamous i386 svr4.0, and systems where the
6507 VM page cache was not coherent with the file system buffer cache
6508 like early versions of FreeBSD and possibly contemporary NetBSD.)
6509 For shared mappings, we should conversely verify that changes get
6510 propagated back to all the places they're supposed to be.
6512 Grep wants private fixed already mapped.
6513 The main things grep needs to know about mmap are:
6514 * does it exist and is it safe to write into the mmap'd area
6515 * how to use it (BSD variants) */
6518 #include <sys/mman.h>
6520 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6524 /* This mess was copied from the GNU getpagesize.h. */
6525 #ifndef HAVE_GETPAGESIZE
6526 # ifdef _SC_PAGESIZE
6527 # define getpagesize() sysconf(_SC_PAGESIZE)
6528 # else /* no _SC_PAGESIZE */
6529 # ifdef HAVE_SYS_PARAM_H
6530 # include <sys/param.h>
6531 # ifdef EXEC_PAGESIZE
6532 # define getpagesize() EXEC_PAGESIZE
6533 # else /* no EXEC_PAGESIZE */
6535 # define getpagesize() NBPG * CLSIZE
6538 # endif /* no CLSIZE */
6539 # else /* no NBPG */
6541 # define getpagesize() NBPC
6542 # else /* no NBPC */
6544 # define getpagesize() PAGESIZE
6545 # endif /* PAGESIZE */
6546 # endif /* no NBPC */
6547 # endif /* no NBPG */
6548 # endif /* no EXEC_PAGESIZE */
6549 # else /* no HAVE_SYS_PARAM_H */
6550 # define getpagesize() 8192 /* punt totally */
6551 # endif /* no HAVE_SYS_PARAM_H */
6552 # endif /* no _SC_PAGESIZE */
6554 #endif /* no HAVE_GETPAGESIZE */
6559 char *data, *data2, *data3;
6563 pagesize = getpagesize ();
6565 /* First, make a file with some known garbage in it. */
6566 data = (char *) malloc (pagesize);
6569 for (i = 0; i < pagesize; ++i)
6570 *(data + i) = rand ();
6572 fd = creat ("conftest.mmap", 0600);
6575 if (write (fd, data, pagesize) != pagesize)
6579 /* Next, check that the tail of a page is zero-filled. File must have
6580 non-zero length, otherwise we risk SIGBUS for entire page. */
6581 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6585 if (write (fd2, data2, 1) != 1)
6587 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6588 if (data2 == MAP_FAILED)
6590 for (i = 0; i < pagesize; ++i)
6594 if (munmap (data2, pagesize))
6597 /* Next, try to mmap the file at a fixed address which already has
6598 something else allocated at it. If we can, also make sure that
6599 we see the same garbage. */
6600 fd = open ("conftest.mmap", O_RDWR);
6603 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6604 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6606 for (i = 0; i < pagesize; ++i)
6607 if (*(data + i) != *(data2 + i))
6610 /* Finally, make sure that changes to the mapped area do not
6611 percolate back to the file as seen by read(). (This is a bug on
6612 some variants of i386 svr4.0.) */
6613 for (i = 0; i < pagesize; ++i)
6614 *(data2 + i) = *(data2 + i) + 1;
6615 data3 = (char *) malloc (pagesize);
6618 if (read (fd, data3, pagesize) != pagesize)
6620 for (i = 0; i < pagesize; ++i)
6621 if (*(data + i) != *(data3 + i))
6627 if ac_fn_c_try_run
"$LINENO"; then :
6628 ac_cv_func_mmap_fixed_mapped
=yes
6630 ac_cv_func_mmap_fixed_mapped
=no
6632 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6633 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6638 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6639 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6641 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6644 rm -f conftest.mmap conftest.txt
6649 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6650 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6651 aros_config_ldflags
=""
6653 aros_shared_default
=yes
6655 aros_shared_cflags
="-fPIC"
6656 aros_shared_aflags
=""
6657 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6658 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6660 aros_kernel_ar_flags
="cr"
6661 aros_target_ar_flags
="cr"
6662 aros_target_nm_flags
="-C -ul"
6663 aros_target_strip_flags
="--strip-unneeded -R.comment"
6668 aros_target_genmap
="-Wl,-Map -Xlinker"
6670 # Native flavour stuff
6671 aros_serial_debug
="0"
6673 # Palm native flavour stuff
6674 aros_palm_debug_hack
="0"
6676 # Unix flavour stuff
6677 aros_nesting_supervisor
="0"
6679 # Collect-aros stuff: "-ius" to ignore undefined symbols
6680 ignore_undefined_symbols
=""
6682 # Check for X11 by default
6685 #-----------------------------------------------------------------------------
6688 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6689 # it switched on by default, and we use the host compiler, so it compiles AROS
6690 # code with this enabled resulting in link failures as we don't have support
6693 # We use two methods to disable it. For the host compiler (used to compile
6694 # some hosted modules), we test to see if the compiler supports stack
6695 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6696 # work on all platforms.
6698 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6699 # (this is done unconditionally, as it should have no effect on compilers
6700 # without the stack protection feature). This may be specific to the way that
6701 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6702 # strong enough to disable it in a generic way though, so we'll live with it
6703 # until another vendor ships GCC with it enabled in a different way, and deal
6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6708 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6709 save_cflags
="$CFLAGS"
6710 CFLAGS
="$CFLAGS -fno-stack-protector"
6711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6722 if ac_fn_c_try_compile
"$LINENO"; then :
6723 use_no_stack_protector
="yes"
6725 use_no_stack_protector
="no"
6727 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6729 $as_echo "$use_no_stack_protector" >&6; }
6730 if test "x-$use_no_stack_protector" = "x-yes" ; then
6731 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6733 CFLAGS
="$save_cflags"
6735 #-----------------------------------------------------------------------------
6737 # Disable pointer-signedness warnings if the compiler recognises the option
6738 # (this only works for the host compiler at the moment)
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6741 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6742 save_cflags
="$CFLAGS"
6743 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6755 if ac_fn_c_try_compile
"$LINENO"; then :
6756 use_no_sign_warning
="yes"
6758 use_no_sign_warning
="no"
6760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6762 $as_echo "$use_no_sign_warning" >&6; }
6763 if test "x-$use_no_sign_warning" = "x-yes" ; then
6764 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6766 CFLAGS
="$save_cflags"
6768 #-----------------------------------------------------------------------------
6770 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6773 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6774 save_cflags
="$CFLAGS"
6775 CFLAGS
="$CFLAGS -fgnu89-inline"
6776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6777 /* end confdefs.h. */
6787 if ac_fn_c_try_compile
"$LINENO"; then :
6788 use_gnu89_inline
="yes"
6790 use_gnu89_inline
="no"
6792 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6794 $as_echo "$use_gnu89_inline" >&6; }
6795 if test "x-$use_gnu89_inline" = "x-yes" ; then
6796 gnu89_inline
="-fgnu89-inline"
6798 CFLAGS
="$save_cflags"
6800 #-----------------------------------------------------------------------------
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6803 $as_echo_n "checking for type of build... " >&6; }
6804 # Check whether --enable-build_type was given.
6805 if test "${enable_build_type+set}" = set; then :
6806 enableval
=$enable_build_type; build_type
=$enableval
6808 build_type
="personal"
6812 if test "$build_type" = "nightly"; then
6813 build_type_string
="NIGHTLY"
6814 elif test "$build_type" = "snapshot"; then
6815 build_type_string
="SNAPSHOT"
6816 elif test "$build_type" = "milestone"; then
6817 build_type_string
="MILESTONE"
6818 elif test "$build_type" = "release"; then
6819 build_type_string
="RELEASE"
6821 build_type_string
="PERSONAL"
6822 build_type
="personal"
6825 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6828 $as_echo "$build_type" >&6; }
6830 #-----------------------------------------------------------------------------
6831 all_debug_types
="messages stack modules mungwall symbols"
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6834 $as_echo_n "checking which debug types to enable... " >&6; }
6835 # Check whether --enable-debug was given.
6836 if test "${enable_debug+set}" = set; then :
6837 enableval
=$enable_debug; debug
="$enableval"
6843 if test "$debug" = "" -o "$debug" = "no"; then
6845 elif test "$debug" = "yes"; then
6849 if test "$debug" = "all" ; then
6850 debug
="messages stack modules symbols"
6851 for d
in $all_debug_types; do
6852 export aros_
${d}_debug
="1"
6855 for d
in $all_debug_types; do
6856 export aros_
${d}_debug
="0"
6860 if test "$debug" != "none"; then
6861 debug
=`echo $debug | sed s/,/\ /g`
6864 for d2
in $all_debug_types; do
6865 if test "$d2" = "$d"; then
6870 if test "$found" = "0"; then
6871 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6873 export aros_
${d}_debug
="1"
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6878 $as_echo "$debug" >&6; }
6880 if test "$aros_messages_debug" = "1"; then
6881 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6883 aros_messages_debug
=""
6885 if test "$aros_symbols_debug" = "1"; then
6886 aros_symbols_debug
="-g"
6888 aros_symbols_debug
=""
6891 # These are the flags to pass when compiling debugged programs
6892 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6893 aros_debug_aflags
=""
6894 aros_debug_ldflags
="$aros_symbols_debug"
6896 #-----------------------------------------------------------------------------
6897 # Checking if we should build crosstools..
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6899 $as_echo_n "checking whether to build crosstools... " >&6; }
6900 # Check whether --enable-crosstools was given.
6901 if test "${enable_crosstools+set}" = set; then :
6902 enableval
=$enable_crosstools; crosstools
="$enableval"
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $crosstools" >&5
6908 $as_echo "$crosstools" >&6; }
6910 #-----------------------------------------------------------------------------
6911 # Checking for distcc and ccache.
6913 # Always apply the transforms in this particular order. Basically you should
6914 # always run 'ccache distcc compiler' in that order for the best performance.
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6917 $as_echo_n "checking whether to enable distcc... " >&6; }
6918 # Check whether --enable-distcc was given.
6919 if test "${enable_distcc+set}" = set; then :
6920 enableval
=$enable_distcc; distcc
="$enableval"
6925 if test "$distcc" != "" -a "$distcc" != "no"; then
6926 # AC_CHECK_PROG will print out the result in this case
6927 # Extract the first word of "distcc", so it can be a program name with args.
6928 set dummy distcc
; ac_word
=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if test "${ac_cv_path_DISTCC+set}" = set; then :
6932 $as_echo_n "(cached) " >&6
6936 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6943 test -z "$as_dir" && as_dir
=.
6944 for ac_exec_ext
in '' $ac_executable_extensions; do
6945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6958 DISTCC
=$ac_cv_path_DISTCC
6959 if test -n "$DISTCC"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6961 $as_echo "$DISTCC" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6970 $as_echo "no" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6974 $as_echo_n "checking whether to enable ccache... " >&6; }
6975 # Check whether --enable-ccache was given.
6976 if test "${enable_ccache+set}" = set; then :
6977 enableval
=$enable_ccache; ccache
="$enableval"
6982 if test "$ccache" != "" -a "$ccache" != "no"; then
6983 # AC_CHECK_PROG will print out the result in this case
6984 # Extract the first word of "ccache", so it can be a program name with args.
6985 set dummy ccache
; ac_word
=$2
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6987 $as_echo_n "checking for $ac_word... " >&6; }
6988 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6989 $as_echo_n "(cached) " >&6
6991 if test -n "$CCACHE"; then
6992 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6998 test -z "$as_dir" && as_dir
=.
6999 for ac_exec_ext
in '' $ac_executable_extensions; do
7000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7001 ac_cv_prog_CCACHE
="ccache"
7002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7011 CCACHE
=$ac_cv_prog_CCACHE
7012 if test -n "$CCACHE"; then
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7014 $as_echo "$CCACHE" >&6; }
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7017 $as_echo "no" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7026 #-----------------------------------------------------------------------------
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7028 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7030 # Check whether --with-gcc-version was given.
7031 if test "${with_gcc_version+set}" = set; then :
7032 withval
=$with_gcc_version; target_tool_version
="$withval"
7034 target_tool_version
="default"
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7038 $as_echo "$target_tool_version" >&6; }
7040 #-----------------------------------------------------------------------------
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7042 $as_echo_n "checking what optimization flags to use... " >&6; }
7044 # Check whether --with-optimization was given.
7045 if test "${with_optimization+set}" = set; then :
7046 withval
=$with_optimization; optimization
="$withval"
7048 optimization
="unknown"
7051 if test "$optimization" = "unknown"; then
7052 if test "$debug" != "none"; then
7058 aros_config_cflags
="$aros_config_cflags $optimization"
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7060 $as_echo "$optimization" >&6; }
7062 #-----------------------------------------------------------------------------
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7064 $as_echo_n "checking what paranoia flags to use... " >&6; }
7066 # Check whether --with-paranoia was given.
7067 if test "${with_paranoia+set}" = set; then :
7068 withval
=$with_paranoia; paranoia_flags
="$withval"
7070 paranoia_flags
="default"
7073 if test "$paranoia_flags" = "default"; then
7075 else if test "$paranoia_flags" = "yes"; then
7076 paranoia_flags
="-Wall -Werror"
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7079 $as_echo "$paranoia_flags" >&6; }
7080 aros_config_cflags
="$aros_config_cflags $paranoia_flags"
7082 #-----------------------------------------------------------------------------
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7084 $as_echo_n "checking what target variant to enable... " >&6; }
7085 # Check whether --enable-target_variant was given.
7086 if test "${enable_target_variant+set}" = set; then :
7087 enableval
=$enable_target_variant; target_variant
=$enableval
7092 if test "$target_variant" = ""; then
7093 aros_target_variant
=""
7094 aros_target_suffix
=""
7097 aros_target_variant
="$target_variant"
7098 aros_target_suffix
="-$target_variant"
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7101 $as_echo "$enableval" >&6; }
7103 #-----------------------------------------------------------------------------
7104 # Target-specific defaults. You can override then on a per-target basis.
7106 # Bootloader name. Currently used by PC target.
7107 target_bootloader
="none"
7109 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7110 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7111 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7112 if test "$crosstools" != "yes"; then
7113 target_tool_prefix
=${target_cpu}-elf-
7115 target_tool_prefix
=${target_cpu}-aros-
7118 #-----------------------------------------------------------------------------
7119 # Additional options for some specific targets
7121 case "$aros_target_variant" in
7123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7124 $as_echo_n "checking XCode path... " >&6; }
7126 # Check whether --with-xcode was given.
7127 if test "${with_xcode+set}" = set; then :
7128 withval
=$with_xcode; aros_xcode_path
="$withval"
7130 aros_xcode_path
="/Developer"
7133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7134 $as_echo "$aros_xcode_path" >&6; }
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7137 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7139 # Check whether --with-ios-version was given.
7140 if test "${with_ios_version+set}" = set; then :
7141 withval
=$with_ios_version; aros_ios_version
="$withval"
7143 aros_ios_version
="3.0"
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7147 $as_echo "$aros_ios_version" >&6; }
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7150 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7152 # Check whether --with-ios-sdk was given.
7153 if test "${with_ios_sdk+set}" = set; then :
7154 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7160 $as_echo "$aros_ios_sdk" >&6; }
7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7166 $as_echo_n "checking Android SDK path... " >&6; }
7168 # Check whether --with-sdk was given.
7169 if test "${with_sdk+set}" = set; then :
7170 withval
=$with_sdk; aros_android_sdk
="$withval"
7172 aros_android_sdk
=$default_android_sdk
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7176 $as_echo "$aros_android_sdk" >&6; }
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7179 $as_echo_n "checking Android NDK path... " >&6; }
7181 # Check whether --with-ndk was given.
7182 if test "${with_ndk+set}" = set; then :
7183 withval
=$with_ndk; aros_android_ndk
="$withval"
7185 aros_android_ndk
="$default_android_ndk"
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7189 $as_echo "$aros_android_ndk" >&6; }
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android SDK version to use" >&5
7192 $as_echo_n "checking what Android SDK version to use... " >&6; }
7194 # Check whether --with-sdk-version was given.
7195 if test "${with_sdk_version+set}" = set; then :
7196 withval
=$with_sdk_version; aros_sdk_version
="$withval"
7198 aros_sdk_version
="8"
7201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_sdk_version" >&5
7202 $as_echo "$aros_sdk_version" >&6; }
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android NDK version to use" >&5
7205 $as_echo_n "checking what Android NDK version to use... " >&6; }
7207 # Check whether --with-ndk-version was given.
7208 if test "${with_ndk_version+set}" = set; then :
7209 withval
=$with_ndk_version; aros_ndk_version
="$withval"
7211 aros_ndk_version
="9"
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ndk_version" >&5
7215 $as_echo "$aros_ndk_version" >&6; }
7217 export PATH
="$aros_android_sdk/tools:$PATH"
7218 # Extract the first word of "$android_tool", so it can be a program name with args.
7219 set dummy
$android_tool; ac_word
=$2
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221 $as_echo_n "checking for $ac_word... " >&6; }
7222 if test "${ac_cv_path_android_tool+set}" = set; then :
7223 $as_echo_n "(cached) " >&6
7225 case $android_tool in
7227 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7234 test -z "$as_dir" && as_dir
=.
7235 for ac_exec_ext
in '' $ac_executable_extensions; do
7236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7237 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 android_tool
=$ac_cv_path_android_tool
7249 if test -n "$android_tool"; then
7250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7251 $as_echo "$android_tool" >&6; }
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7254 $as_echo "no" >&6; }
7258 if test "$android_tool" = ""; then
7259 as_fn_error
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7262 if test $host_os = "mingw32"; then
7263 android_tool
="cmd //c $android_tool"
7269 #-----------------------------------------------------------------------------
7270 # This is the target configuration switch.
7271 case "$target_os" in
7273 aros_target_arch
="linux"
7274 aros_target_family
="unix"
7275 case "$target_cpu" in
7277 aros_target_cpu
="m68k"
7278 aros_object_format
="m68kelf"
7279 aros_flavour
="emulcompat"
7280 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7281 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7282 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7283 gcc_target_cpu
="mc68000"
7286 aros_target_cpu
="i386"
7287 aros_object_format
="elf_i386"
7288 aros_flavour
="emulation"
7289 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7290 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7291 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7292 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7293 aros_config_ldflags
="-m32 -march=i486"
7294 aros_kernel_ldflags
="-melf_i386"
7295 aros_default_wbdepth
=8
7296 gcc_target_cpu
="i386"
7297 pci_hidd_target
="hidd-pci-linux"
7300 aros_target_cpu
="x86_64"
7301 aros_object_format
="elf_x86_64"
7302 aros_flavour
="emulation"
7303 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7304 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7305 aros_default_wbdepth
=8
7306 pci_hidd_target
="hidd-pci-linux"
7309 aros_target_cpu
="ppc"
7310 aros_object_format
="elf32ppc"
7311 aros_flavour
="emulation"
7312 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7313 aros_default_wbdepth
=8
7314 gcc_target_cpu
="ppc"
7317 # Same as powerpc, but I need this for the nightly build to work again.
7318 # Actually, the nightly should be made working with powerpc target.
7319 # That just was too much work for the moment, another week or two.
7321 aros_target_cpu
="ppc"
7322 aros_object_format
="elf32ppc"
7323 aros_flavour
="emulation"
7324 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7325 aros_default_wbdepth
=8
7326 gcc_target_cpu
="ppc"
7329 aros_target_cpu
="arm"
7330 aros_object_format
="armelf_linux_eabi"
7331 aros_flavour
="emulation"
7332 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7333 gcc_target_cpu
="arm"
7334 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"
7335 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"
7336 aros_arch_libs
="-laeabi"
7339 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7342 case "$aros_target_variant" in
7344 aros_android_level
=android-
$aros_sdk_version
7345 aros_default_wbwidth
=320
7346 aros_default_wbheight
=480
7348 if test "$aros_android_ndk" = ""; then
7349 aros_kernel_cflags
="-mandroid"
7350 aros_kernel_ldflags
="-mandroid"
7353 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7354 aros_android_ndk
="$aros_android_ndk/platforms/android-$aros_ndk_version/arch-arm"
7355 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7356 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7357 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7358 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7361 x11_hidd_target
=kernel-hidd-androidgfx-kobj
7362 target_tool_prefix
="arm-linux-androideabi-"
7368 aros_target_arch
="pc"
7369 aros_shared_default
="no"
7370 target_bootloader
="grub2"
7371 case "$target_cpu" in
7373 aros_target_cpu
="i386"
7376 if test "$aros_object_format" = "" ; then
7377 aros_object_format
="elf_i386"
7379 aros_flavour
="standalone"
7380 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7381 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7382 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7383 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7384 aros_config_ldflags
="-m32 -march=i486"
7385 aros_kernel_ldflags
="-melf_i386"
7386 aros_default_wbwidth
=640
7387 aros_default_wbheight
=480
7388 gcc_target_cpu
="i386"
7391 aros_target_cpu
="x86_64"
7393 if test "$aros_object_format" = "" ; then
7394 aros_object_format
="elf_x86_64"
7396 aros_flavour
="standalone"
7397 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7398 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7399 aros_kernel_ldflags
=""
7400 aros_default_wbwidth
=640
7401 aros_default_wbheight
=480
7404 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7410 aros_target_arch
="prep"
7411 aros_shared_default
="no"
7412 aros_target_cpu
="ppc"
7413 aros_object_format
="elf32ppc"
7414 aros_flavour
="ppcnative"
7415 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7416 aros_kernel_ldflags
=""
7417 aros_default_wbwidth
=640
7418 aros_default_wbheight
=480
7419 gcc_target_cpu
="ppc"
7423 aros_target_arch
="freebsd"
7424 aros_target_family
="unix"
7425 aros_target_cpu
="i386"
7426 aros_flavour
="emulation"
7427 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7428 gcc_target_cpu
="i386"
7430 aros_target_strip_flags
="-x"
7434 aros_target_arch
="darwin"
7435 aros_target_family
="unix"
7436 aros_flavour
="emulation"
7437 case "$target_cpu" in
7439 aros_ios_platform
="iPhoneSimulator"
7440 aros_target_cpu
="i386"
7441 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7442 aros_kernel_ldflags
=""
7443 aros_macosx_version
="10.4"
7444 aros_default_wbdepth
=8
7445 gcc_target_cpu
="i386"
7446 aros_object_format
="elf_i386"
7447 aros_kernel_ar_flags
="-cr"
7448 aros_target_strip_flags
="-x"
7449 target_tool_prefix
="i686-apple-darwin10-"
7450 target_tool_flags
="-m32"
7453 aros_target_cpu
="x86_64"
7454 aros_object_format
="elf_x86_64"
7455 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7456 aros_macosx_version
="10.6"
7457 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7458 aros_kernel_cflags
="-m64"
7459 aros_kernel_ldflags
="-m64"
7460 aros_target_cflags
="-mcmodel=large"
7461 aros_default_wbdepth
=8
7463 aros_kernel_ar_flags
="-cr"
7465 aros_kernel_ranlib
="ranlib"
7466 target_tool_prefix
="i686-apple-darwin10-"
7469 aros_target_cpu
="ppc"
7470 aros_object_format
="elf32ppc"
7471 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7472 aros_kernel_ldflags
=""
7473 aros_macosx_version
="10.0"
7474 aros_default_wbdepth
=8
7475 gcc_target_cpu
="ppc"
7477 aros_kernel_ar_flags
="-cr"
7478 aros_kernel_ld
="ld -arch ppc"
7479 aros_kernel_ranlib
="ranlib -arch ppc"
7480 target_tool_prefix
="powerpc-apple-darwin10-"
7483 aros_ios_platform
="iPhoneOS"
7484 aros_target_cpu
="arm"
7485 aros_object_format
="armelf_linux_eabi"
7486 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7487 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7488 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7489 aros_arch_libs
="-laeabi"
7490 aros_default_wbdepth
=8
7491 gcc_target_cpu
="arm"
7493 aros_kernel_ar_flags
="-cr"
7494 aros_kernel_ld
="ld -arch arm"
7495 aros_kernel_ranlib
="ranlib -arch arm"
7496 target_tool_prefix
="arm-apple-darwin10-"
7497 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7500 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7503 case "$aros_target_variant" in
7505 aros_default_wbwidth
=320
7506 aros_default_wbheight
=480
7507 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7508 target_tool_flags
="$target_tool_flags -isysroot $aros_ios_sdk"
7509 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7511 # This is here because it may depend on iOS or SDK version
7512 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7513 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7514 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7517 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7518 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7524 aros_target_arch
="dragonfly"
7525 aros_target_family
="unix"
7526 aros_flavour
="emulation"
7527 case "$target_cpu" in
7529 aros_target_cpu
="i386"
7530 aros_object_format
="elf_i386"
7531 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7534 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7535 aros_target_cpu
="x86_64"
7536 aros_object_format
="elf_x86_64"
7537 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7540 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7546 aros_target_arch
="netbsd"
7547 aros_target_family
="unix"
7548 case "$target_cpu" in
7550 aros_target_cpu
="m68k"
7551 aros_object_format
="m68kelf"
7552 aros_flavour
="emulcompat"
7553 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7554 gcc_target_cpu
="mc68000"
7557 aros_target_cpu
="i386"
7558 aros_object_format
="elf_i386"
7559 aros_flavour
="emulation"
7560 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7561 aros_default_wbdepth
=8
7562 gcc_target_cpu
="i386"
7565 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7568 aros_target_genmap
="-Wl,-M -Xlinker >"
7569 aros_flavour
="emulation"
7570 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7574 aros_target_arch
="openbsd"
7575 aros_target_family
="unix"
7576 case "$target_cpu" in
7578 aros_target_cpu
="i386"
7579 aros_object_format
="elf_i386"
7580 aros_flavour
="emulation"
7581 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7582 gcc_target_cpu
="i386"
7585 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7588 aros_target_genmap
="-Wl,-M -Xlinker >"
7589 aros_target_nm_flags
="-u"
7590 aros_flavour
="emulation"
7594 aros_target_arch
="solaris"
7595 aros_target_family
="unix"
7596 case "$target_cpu" in
7598 aros_target_cpu
="i386"
7599 aros_object_format
="elf_i386"
7600 aros_flavour
="emulation"
7601 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7602 aros_default_wbdepth
=8
7603 gcc_target_cpu
="i386"
7606 aros_target_cpu
="sparc"
7607 aros_object_format
="elf_sparc"
7608 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7609 gcc_target_cpu
="sparc"
7612 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7615 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7616 aros_flavour
="emulation"
7620 aros_target_arch
="morphos"
7621 aros_shared_default
="no"
7622 aros_target_cpu
="ppc"
7623 aros_object_format
="elf_ppc"
7624 aros_flavour
="nativecompat"
7625 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7626 gcc_target_cpu
="ppc"
7630 aros_target_arch
="sam440"
7631 aros_shared_default
="no"
7632 aros_target_cpu
="ppc"
7633 aros_object_format
="elf32ppc"
7634 aros_flavour
="ppcnative"
7635 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7636 aros_kernel_ldflags
=""
7637 aros_default_wbwidth
=1024
7638 aros_default_wbheight
=768
7639 aros_default_wbdepth
=24
7640 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7641 gcc_target_cpu
="powerpc"
7645 aros_target_arch
="efika"
7646 aros_shared_default
="no"
7647 aros_target_cpu
="arm"
7648 aros_object_format
="armelf_linux_eabi"
7649 aros_flavour
="standalone"
7650 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7651 aros_kernel_ldflags
=""
7652 aros_default_wbwidth
=1024
7653 aros_default_wbheight
=600
7654 aros_arch_libs
="-laeabi"
7655 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"
7656 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"
7660 aros_target_arch
="chrp"
7661 aros_shared_default
="no"
7662 aros_target_cpu
="ppc"
7663 aros_object_format
="elf32ppc"
7664 aros_flavour
="ppcnative"
7665 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7666 aros_kernel_ldflags
=""
7667 aros_default_wbwidth
=640
7668 aros_default_wbheight
=480
7669 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7670 gcc_target_cpu
="powerpc"
7671 case "$aros_target_variant" in
7673 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7679 aros_target_arch
="amiga"
7680 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7681 aros_shared_default
="no"
7683 case "$target_cpu" in
7685 # Check whether --enable-amigaos_compliance was given.
7686 if test "${enable_amigaos_compliance+set}" = set; then :
7687 enableval
=$enable_amigaos_compliance; aros_amigaos_compliance
="$enableval"
7691 aros_target_cpu
="m68k"
7692 aros_object_format
="m68kelf"
7693 aros_flavour
="standcompat"
7694 gcc_target_cpu
="m68000"
7695 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -Os"
7696 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7697 target_tool_prefix
="m68k-elf-"
7698 # Needed to get the correct multilib
7699 aros_config_ldflags
="-${gcc_target_cpu}"
7700 aros_shared_ldflags
="-${gcc_target_cpu}"
7701 aros_kernel_ldflags
="-${gcc_target_cpu}"
7702 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7703 aros_target_strip_flags
="-R.comment --strip-debug"
7704 aros_default_wbwidth
=640
7705 aros_default_wbheight
=256
7706 aros_default_wbdepth
=2
7710 aros_flavour
="native"
7711 gcc_target_cpu
="ppc"
7714 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7720 aros_target_arch
="mingw32"
7721 aros_shared_default
="no"
7722 aros_flavour
="emulation"
7723 aros_shared_cflags
=""
7726 case "$target_cpu" in
7728 aros_target_cpu
="i386"
7729 aros_object_format
="elf_i386"
7730 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7731 aros_default_wbdepth
=8
7732 gcc_target_cpu
="i386"
7734 aros_target_as
="i386-aros-as"
7735 aros_target_ar
="i386-aros-ar"
7736 aros_target_ranlib
="i386-aros-ranlib"
7737 aros_target_nm
="i386-aros-nm"
7738 aros_target_strip
="i386-aros-strip"
7739 aros_target_objcopy
="i386-aros-objcopy"
7740 aros_target_objdump
="i386-aros-objdump"
7742 target_tool_prefix
="i386-mingw32-"
7745 aros_target_cpu
="x86_64"
7746 aros_object_format
="elf_x86_64"
7747 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7748 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7749 aros_default_wbdepth
=8
7750 target_tool_prefix
="x86_64-w64-mingw32-"
7753 aros_target_cpu
="arm"
7754 aros_object_format
="armelf_linux_eabi"
7755 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7756 aros_arch_libs
="-laeabi"
7757 aros_default_wbdepth
=8
7758 gcc_target_cpu
="arm"
7759 target_tool_prefix
="arm-mingw32ce-"
7760 aros_default_wbwidth
=160
7761 aros_default_wbheight
=160
7764 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7767 if test $host_os = "cygwin"; then
7768 aros_kernel_cflags
="-mno-cygwin"
7772 aros_target_arch
="pp"
7773 aros_shared_default
="no"
7774 case "$target_cpu" in
7776 aros_target_cpu
="m68k"
7777 aros_object_format
="m68kelf"
7778 aros_flavour
="palmnative"
7779 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7780 aros_default_wbwidth
=160
7781 aros_default_wbheight
=160
7782 aros_default_wbdepth
=1
7783 aros_target_ar_flags
="cru"
7784 aros_compiler_libs
="-lgcc1"
7785 aros_shared_default
=no
7786 aros_shared_cflags
="-fpic"
7787 aros_shared_aflags
=""
7788 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7789 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7790 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7791 aros_debug_aflags
=""
7792 aros_debug_ldflags
="$aros_symbols_debug"
7793 aros_mungwall_debug
="0"
7794 aros_modules_debug
="0"
7795 gcc_target_cpu
="mc68000"
7796 ignore_undefined_symbols
="-ius"
7799 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7805 aros_target_arch
="mac"
7806 aros_shared_default
="no"
7807 case "$target_cpu" in
7809 aros_target_cpu
="m68k"
7810 aros_object_format
="m68kelf"
7811 aros_flavour
="mac68knative"
7812 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7813 aros_default_wbwidth
=512
7814 aros_default_wbheight
=384
7815 aros_default_wbdepth
=8
7816 aros_target_ar_flags
="cru"
7817 aros_compiler_libs
="-lgcc1"
7818 aros_shared_default
=no
7819 aros_shared_cflags
="-fpic"
7820 aros_shared_aflags
=""
7821 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7822 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7823 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug -mc68000"
7824 aros_debug_aflags
=""
7825 aros_debug_ldflags
="$aros_symbols_debug"
7826 aros_mungwall_debug
="0"
7827 aros_modules_debug
="0"
7828 gcc_target_cpu
="mc68000"
7829 ignore_undefined_symbols
="-ius"
7832 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7838 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7842 # Some formats need custom ELF specs.
7843 # For example for x86_64 it is needed in order for -m32 switch to work correctly.
7844 if test -f $SRCDIR/config
/${aros_object_format}-specs.
in; then
7845 elf_specs_in
=config
/${aros_object_format}-specs.
in
7847 elf_specs_in
=config
/elf-specs.
in
7850 #-----------------------------------------------------------------------------
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install or search for cross tools binaries" >&5
7852 $as_echo_n "checking where to install or search for cross tools binaries... " >&6; }
7854 # Check whether --with-crosstools was given.
7855 if test "${with_crosstools+set}" = set; then :
7856 withval
=$with_crosstools; with_crosstools
=$withval
7858 with_crosstools
="default"
7861 if test "$with_crosstools" = "default"; then
7862 AROS_CROSSTOOLSDIR
="$AROS_BUILDDIR_UNIX/bin/$aros_host_arch-$aros_host_cpu/tools/crosstools"
7864 AROS_CROSSTOOLSDIR
="$with_crosstools"
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_CROSSTOOLSDIR" >&5
7867 $as_echo "$AROS_CROSSTOOLSDIR" >&6; }
7869 if test "$crosstools" != "no" -o "$with_crosstools" != "default"; then
7873 PATH
=$AROS_CROSSTOOLSDIR:$PATH
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
7877 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
7879 # Check whether --with-aros-gcc was given.
7880 if test "${with_aros_gcc+set}" = set; then :
7881 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
7883 aros_gcc_version
="$use_aros_gcc"
7886 case "$aros_gcc_version" in
7888 aros_gcc_version
="default"
7891 aros_gcc_version
="none"
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
7895 $as_echo "$aros_gcc_version" >&6; }
7897 if test "$aros_gcc_version" != "none"; then
7900 if test "$aros_gcc_version" != "default"; then
7901 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
7902 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
7904 aros_target_cc
="$aros_target_cpu-aros-gcc"
7905 aros_target_cxx
="$aros_target_cpu-aros-g++"
7908 aros_target_ld
="$aros_target_cpu-aros-ld"
7909 aros_target_as
="$aros_target_cpu-aros-as"
7910 aros_target_ar
="$aros_target_cpu-aros-ar"
7911 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
7912 aros_target_nm
="$aros_target_cpu-aros-nm"
7913 aros_target_strip
="$aros_target_cpu-aros-strip"
7914 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
7915 aros_target_objdump
="$aros_target_cpu-aros-objdump"
7918 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
7919 # Since we override specs, we may need to put these defines there
7920 if test "$gcc_target_cpu" != ""; then
7921 gcc_target_cpu
="-D__${gcc_target_cpu}__"
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to download sourcecode for external ports" >&5
7925 $as_echo_n "checking where to download sourcecode for external ports... " >&6; }
7927 # Check whether --with-portssources was given.
7928 if test "${with_portssources+set}" = set; then :
7929 withval
=$with_portssources; with_portssrcdir
=$withval
7931 with_portssrcdir
="default"
7934 if test "$with_portssrcdir" = "default"; then
7935 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7937 AROS_PORTSSRCDIR
="$with_portssrcdir"
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7940 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7943 $as_echo_n "checking which bootloader to use... " >&6; }
7945 # Check whether --with-bootloader was given.
7946 if test "${with_bootloader+set}" = set; then :
7947 withval
=$with_bootloader; target_bootloader
=$withval
7949 target_bootloader
=$target_bootloader
7952 if test "$target_bootloader" = "none"; then
7953 aros_target_bootloader
=""
7955 aros_target_bootloader
="$target_bootloader"
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7958 $as_echo "$target_bootloader" >&6; }
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7961 $as_echo_n "checking which icon-set to use... " >&6; }
7963 # Check whether --with-iconset was given.
7964 if test "${with_iconset+set}" = set; then :
7965 withval
=$with_iconset; target_iconset
=$withval
7967 target_iconset
="default"
7970 if test "$target_iconset" = "default"; then
7971 aros_target_iconset
="Gorilla"
7972 target_iconset
="default (Gorilla)"
7974 aros_target_iconset
="$target_iconset"
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7977 $as_echo "$target_iconset" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7980 $as_echo_n "checking which GUI Theme to use... " >&6; }
7982 # Check whether --with-theme was given.
7983 if test "${with_theme+set}" = set; then :
7984 withval
=$with_theme; target_guitheme
=$withval
7986 target_guitheme
="default"
7989 if test "$target_guitheme" = "default"; then
7990 aros_target_guitheme
="Ice"
7992 aros_target_guitheme
="$target_guitheme"
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7995 $as_echo "$aros_target_guitheme" >&6; }
7997 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
8000 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
8004 if test "$aros_host_cpu" == "x86_64" ; then
8005 if test "$aros_target_cpu" == "i386" ; then
8006 if test "$aros_target_arch" != "mingw32"; then
8012 if test "$aros_host_arch" == "darwin" ; then
8013 if test "$aros_target_arch" != "darwin" ; then
8018 if test "$aros_host_arch" == "mingw32" ; then
8019 if test "$aros_target_arch" != "mingw32" ; then
8024 # I want to have this information in configure output, although it might be
8025 # misleading, e.g. for darwin hosted you cannot compile target code without a
8026 # cross compiler, but here it says no.
8028 # Note: it says 'yes' only if bootstrap ("kernel") is cross-compiled.
8029 # Target code is a little bit different thing.
8031 echo "checking wether we are (AROS style) cross compiling... $cross_compiling"
8033 # Set prefix for target compiler etc. if we're cross-compiling
8034 # (should possibly be earlier but needs to be after AC_PROG_CC)
8035 if test "$cross_compiling" = "yes" ; then
8037 if test "x-$aros_flavour" = "x-standalone" -o "x-$aros_flavour" = "x-standcompat" ; then
8038 if test "$aros_gcc_version" != "none"; then
8041 target_tool_prefix
=${target_cpu}-aros-
8042 target_tool_version
=$aros_gcc_version
8043 use_kernel_cc_wrapper
=yes
8052 aros_target_objcopy
=
8053 aros_target_objdump
=
8057 CC
=${target_tool_prefix}gcc
8058 CPP
=${target_tool_prefix}cpp
8059 if test "$target_tool_version" != "default"; then
8060 CC
="$CC-$target_tool_version"
8061 CPP
="$CC-$target_tool_version"
8063 if test "$crosstools" != "yes" ; then
8064 # Extract the first word of "$CC", so it can be a program name with args.
8065 set dummy
$CC; ac_word
=$2
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8067 $as_echo_n "checking for $ac_word... " >&6; }
8068 if test "${ac_cv_path_CC+set}" = set; then :
8069 $as_echo_n "(cached) " >&6
8073 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
8076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8080 test -z "$as_dir" && as_dir
=.
8081 for ac_exec_ext
in '' $ac_executable_extensions; do
8082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8083 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
8084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8095 if test -n "$CC"; then
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8097 $as_echo "$CC" >&6; }
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8100 $as_echo "no" >&6; }
8104 if test "$CC" = ""; then
8105 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8108 CC
=$AROS_CROSSTOOLSDIR/$CC
8111 CC
="$CC $target_tool_flags"
8113 #-----------------------------------------------------------------------------
8115 # Disable pointer-signedness warnings if the compiler recognises the option
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8118 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8119 save_cflags
="$CFLAGS"
8120 if test "$crosstools" != "yes" ; then
8121 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8133 if ac_fn_c_try_compile
"$LINENO"; then :
8134 use_no_sign_warning
="yes"
8136 use_no_sign_warning
="no"
8138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8140 # we do know it is supported for the smallest version of gcc we are going to build
8141 # we assume it's also supported by later versions
8142 use_no_sign_warning
=yes
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8145 $as_echo "$use_no_sign_warning" >&6; }
8146 if test "x-$use_no_sign_warning" = "x-yes" ; then
8147 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8149 CFLAGS
="$save_cflags"
8151 #-----------------------------------------------------------------------------
8153 # Find all the tools we need to compile. This could be cross-compiling
8154 # though! If that is the case we use the GNU form of the target and
8155 # simply add this to the front of the binary name. This is rather simple,
8156 # but it should work under most circumstances.
8158 # The default tools are to use the same as the host, but only if the
8159 # host and target CPU are the same. With GCC this is normally enough.
8163 aros_shared_ld
="$aros_host_ld"
8165 aros_target_mkdep
="$aros_host_mkdep"
8166 aros_target_incl_def
="$aros_host_incl"
8168 aros_kernel_cc
="$CC"
8170 # The default tools executables to be linked to.
8171 if test "$rescomp" != ""; then
8172 if test "$cross_compiling" = "yes" ; then
8173 rescomp
=${target_tool_prefix}${rescomp}
8175 # Extract the first word of "$rescomp", so it can be a program name with args.
8176 set dummy
$rescomp; ac_word
=$2
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8178 $as_echo_n "checking for $ac_word... " >&6; }
8179 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
8180 $as_echo_n "(cached) " >&6
8182 case $aros_kernel_rescomp in
8184 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8191 test -z "$as_dir" && as_dir
=.
8192 for ac_exec_ext
in '' $ac_executable_extensions; do
8193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8194 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8205 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8206 if test -n "$aros_kernel_rescomp"; then
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8208 $as_echo "$aros_kernel_rescomp" >&6; }
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8211 $as_echo "no" >&6; }
8215 if test "$aros_kernel_rescomp" = ""; then
8216 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8220 if test "$crosstools" != "yes"; then
8222 if test "$aros_kernel_ld" = ""; then
8223 if test "$cross_compiling" = "yes" ; then
8224 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8225 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8229 $as_echo_n "(cached) " >&6
8231 case $aros_kernel_ld in
8233 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8240 test -z "$as_dir" && as_dir
=.
8241 for ac_exec_ext
in '' $ac_executable_extensions; do
8242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8243 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8254 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8255 if test -n "$aros_kernel_ld"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8257 $as_echo "$aros_kernel_ld" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8265 if test "$GCC" = "yes"; then
8266 aros_gcc_ld
=`$CC -print-prog-name=ld`
8267 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8268 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8270 $as_echo_n "checking for $ac_word... " >&6; }
8271 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8272 $as_echo_n "(cached) " >&6
8274 case $aros_kernel_ld in
8276 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8280 for as_dir
in `dirname $aros_gcc_ld`
8283 test -z "$as_dir" && as_dir
=.
8284 for ac_exec_ext
in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8297 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8298 if test -n "$aros_kernel_ld"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8300 $as_echo "$aros_kernel_ld" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8308 if test "$aros_kernel_ld" = ""; then
8309 # Extract the first word of "ld", so it can be a program name with args.
8310 set dummy ld
; ac_word
=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8314 $as_echo_n "(cached) " >&6
8316 case $aros_kernel_ld in
8318 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir
=.
8326 for ac_exec_ext
in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8339 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8340 if test -n "$aros_kernel_ld"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8342 $as_echo "$aros_kernel_ld" >&6; }
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345 $as_echo "no" >&6; }
8352 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8353 set dummy
$aros_kernel_ld; ac_word
=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355 $as_echo_n "checking for $ac_word... " >&6; }
8356 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8357 $as_echo_n "(cached) " >&6
8359 case $aros_kernel_ld in
8361 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8368 test -z "$as_dir" && as_dir
=.
8369 for ac_exec_ext
in '' $ac_executable_extensions; do
8370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8383 if test -n "$aros_kernel_ld"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8385 $as_echo "$aros_kernel_ld" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8394 if test "$aros_kernel_ld" = ""; then
8395 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8398 if test "$aros_kernel_ar" = ""; then
8399 if test "$cross_compiling" = "yes" ; then
8400 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8401 set dummy
${target_tool_prefix}ar; ac_word
=$2
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8403 $as_echo_n "checking for $ac_word... " >&6; }
8404 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8405 $as_echo_n "(cached) " >&6
8407 case $aros_kernel_ar in
8409 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8416 test -z "$as_dir" && as_dir
=.
8417 for ac_exec_ext
in '' $ac_executable_extensions; do
8418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8419 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8431 if test -n "$aros_kernel_ar"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8433 $as_echo "$aros_kernel_ar" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8441 if test "$GCC" = "yes"; then
8442 aros_gcc_ar
=`$CC -print-prog-name=ar`
8443 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8444 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8448 $as_echo_n "(cached) " >&6
8450 case $aros_kernel_ar in
8452 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8456 for as_dir
in `dirname $aros_gcc_ar`
8459 test -z "$as_dir" && as_dir
=.
8460 for ac_exec_ext
in '' $ac_executable_extensions; do
8461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8462 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8473 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8474 if test -n "$aros_kernel_ar"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8476 $as_echo "$aros_kernel_ar" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 $as_echo "no" >&6; }
8484 if test "$aros_kernel_ar" = ""; then
8485 # Extract the first word of "ar", so it can be a program name with args.
8486 set dummy
ar; ac_word
=$2
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8488 $as_echo_n "checking for $ac_word... " >&6; }
8489 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8490 $as_echo_n "(cached) " >&6
8492 case $aros_kernel_ar in
8494 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8501 test -z "$as_dir" && as_dir
=.
8502 for ac_exec_ext
in '' $ac_executable_extensions; do
8503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8504 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8515 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8516 if test -n "$aros_kernel_ar"; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8518 $as_echo "$aros_kernel_ar" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8521 $as_echo "no" >&6; }
8528 # Extract the first word of "$aros_kernel_ar", so it can be a program name with args.
8529 set dummy
$aros_kernel_ar; ac_word
=$2
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8531 $as_echo_n "checking for $ac_word... " >&6; }
8532 if test "${ac_cv_path_aros_kernel_ar+set}" = set; then :
8533 $as_echo_n "(cached) " >&6
8535 case $aros_kernel_ar in
8537 ac_cv_path_aros_kernel_ar
="$aros_kernel_ar" # Let the user override the test with a path.
8540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8544 test -z "$as_dir" && as_dir
=.
8545 for ac_exec_ext
in '' $ac_executable_extensions; do
8546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8547 ac_cv_path_aros_kernel_ar
="$as_dir/$ac_word$ac_exec_ext"
8548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8558 aros_kernel_ar
=$ac_cv_path_aros_kernel_ar
8559 if test -n "$aros_kernel_ar"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ar" >&5
8561 $as_echo "$aros_kernel_ar" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8570 if test "$aros_kernel_ar" = ""; then
8571 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8574 if test "$aros_kernel_ranlib" = ""; then
8575 if test "$cross_compiling" = "yes" ; then
8576 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8577 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8579 $as_echo_n "checking for $ac_word... " >&6; }
8580 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8583 case $aros_kernel_ranlib in
8585 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8592 test -z "$as_dir" && as_dir
=.
8593 for ac_exec_ext
in '' $ac_executable_extensions; do
8594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8595 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8606 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8607 if test -n "$aros_kernel_ranlib"; then
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8609 $as_echo "$aros_kernel_ranlib" >&6; }
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8612 $as_echo "no" >&6; }
8617 if test "$GCC" = "yes"; then
8618 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8619 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8620 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8622 $as_echo_n "checking for $ac_word... " >&6; }
8623 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8624 $as_echo_n "(cached) " >&6
8626 case $aros_kernel_ranlib in
8628 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8632 for as_dir
in `dirname $aros_gcc_ranlib`
8635 test -z "$as_dir" && as_dir
=.
8636 for ac_exec_ext
in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8649 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8650 if test -n "$aros_kernel_ranlib"; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8652 $as_echo "$aros_kernel_ranlib" >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8655 $as_echo "no" >&6; }
8660 if test "$aros_kernel_ranlib" = ""; then
8661 # Extract the first word of "ranlib", so it can be a program name with args.
8662 set dummy ranlib
; ac_word
=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8666 $as_echo_n "(cached) " >&6
8668 case $aros_kernel_ranlib in
8670 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir
=.
8678 for ac_exec_ext
in '' $ac_executable_extensions; do
8679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8680 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8691 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8692 if test -n "$aros_kernel_ranlib"; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8694 $as_echo "$aros_kernel_ranlib" >&6; }
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8697 $as_echo "no" >&6; }
8704 # Extract the first word of "$aros_kernel_ranlib", so it can be a program name with args.
8705 set dummy
$aros_kernel_ranlib; ac_word
=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if test "${ac_cv_path_aros_kernel_ranlib+set}" = set; then :
8709 $as_echo_n "(cached) " >&6
8711 case $aros_kernel_ranlib in
8713 ac_cv_path_aros_kernel_ranlib
="$aros_kernel_ranlib" # Let the user override the test with a path.
8716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8720 test -z "$as_dir" && as_dir
=.
8721 for ac_exec_ext
in '' $ac_executable_extensions; do
8722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8723 ac_cv_path_aros_kernel_ranlib
="$as_dir/$ac_word$ac_exec_ext"
8724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8734 aros_kernel_ranlib
=$ac_cv_path_aros_kernel_ranlib
8735 if test -n "$aros_kernel_ranlib"; then
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ranlib" >&5
8737 $as_echo "$aros_kernel_ranlib" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8740 $as_echo "no" >&6; }
8746 if test "$aros_kernel_ranlib" = ""; then
8747 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8750 if test "$target_tool_prefix" != "${target_cpu}-elf-" -a "$target_tool_prefix" != "${target_cpu}-aros-" ; then
8751 target_tool_prefix
=${target_cpu}-elf-
8752 if test "$aros_target_cc" == ""; then
8753 aros_target_cc
="${target_tool_prefix}gcc"
8755 if test "$aros_target_ld" == ""; then
8756 aros_target_ld
="${target_tool_prefix}ld"
8760 if test "$aros_target_as" = ""; then
8761 if test "$cross_compiling" = "yes" ; then
8762 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8763 set dummy
${target_tool_prefix}as
; ac_word
=$2
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8765 $as_echo_n "checking for $ac_word... " >&6; }
8766 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8767 $as_echo_n "(cached) " >&6
8769 case $aros_target_as_ln in
8771 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8778 test -z "$as_dir" && as_dir
=.
8779 for ac_exec_ext
in '' $ac_executable_extensions; do
8780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8781 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8792 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8793 if test -n "$aros_target_as_ln"; then
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8795 $as_echo "$aros_target_as_ln" >&6; }
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8798 $as_echo "no" >&6; }
8803 if test "$GCC" = "yes"; then
8804 aros_gcc_as
=`$CC -print-prog-name=as`
8805 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8806 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8808 $as_echo_n "checking for $ac_word... " >&6; }
8809 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8810 $as_echo_n "(cached) " >&6
8812 case $aros_target_as_ln in
8814 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8817 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8818 for as_dir
in `dirname $aros_gcc_as`
8821 test -z "$as_dir" && as_dir
=.
8822 for ac_exec_ext
in '' $ac_executable_extensions; do
8823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8824 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8835 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8836 if test -n "$aros_target_as_ln"; then
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8838 $as_echo "$aros_target_as_ln" >&6; }
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8841 $as_echo "no" >&6; }
8846 if test "$aros_target_as_ln" = ""; then
8847 # Extract the first word of "as", so it can be a program name with args.
8848 set dummy as
; ac_word
=$2
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8850 $as_echo_n "checking for $ac_word... " >&6; }
8851 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8852 $as_echo_n "(cached) " >&6
8854 case $aros_target_as_ln in
8856 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8863 test -z "$as_dir" && as_dir
=.
8864 for ac_exec_ext
in '' $ac_executable_extensions; do
8865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8866 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8877 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8878 if test -n "$aros_target_as_ln"; then
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8880 $as_echo "$aros_target_as_ln" >&6; }
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8883 $as_echo "no" >&6; }
8890 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8891 set dummy
$aros_target_as; ac_word
=$2
8892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8893 $as_echo_n "checking for $ac_word... " >&6; }
8894 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8895 $as_echo_n "(cached) " >&6
8897 case $aros_target_as_ln in
8899 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8906 test -z "$as_dir" && as_dir
=.
8907 for ac_exec_ext
in '' $ac_executable_extensions; do
8908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8909 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8920 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8921 if test -n "$aros_target_as_ln"; then
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8923 $as_echo "$aros_target_as_ln" >&6; }
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8926 $as_echo "no" >&6; }
8932 if test "$aros_target_as_ln" = ""; then
8933 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8936 if test "$aros_target_ar" = ""; then
8937 if test "$cross_compiling" = "yes" ; then
8938 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8939 set dummy
${target_tool_prefix}ar; ac_word
=$2
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8941 $as_echo_n "checking for $ac_word... " >&6; }
8942 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8943 $as_echo_n "(cached) " >&6
8945 case $aros_target_ar_ln in
8947 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir
=.
8955 for ac_exec_ext
in '' $ac_executable_extensions; do
8956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8968 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8969 if test -n "$aros_target_ar_ln"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8971 $as_echo "$aros_target_ar_ln" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8979 if test "$GCC" = "yes"; then
8980 aros_gcc_ar
=`$CC -print-prog-name=ar`
8981 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8982 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8984 $as_echo_n "checking for $ac_word... " >&6; }
8985 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8988 case $aros_target_ar_ln in
8990 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8994 for as_dir
in `dirname $aros_gcc_ar`
8997 test -z "$as_dir" && as_dir
=.
8998 for ac_exec_ext
in '' $ac_executable_extensions; do
8999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9000 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9011 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9012 if test -n "$aros_target_ar_ln"; then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9014 $as_echo "$aros_target_ar_ln" >&6; }
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9017 $as_echo "no" >&6; }
9022 if test "$aros_target_ar_ln" = ""; then
9023 # Extract the first word of "ar", so it can be a program name with args.
9024 set dummy
ar; ac_word
=$2
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9026 $as_echo_n "checking for $ac_word... " >&6; }
9027 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9028 $as_echo_n "(cached) " >&6
9030 case $aros_target_ar_ln in
9032 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9035 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9039 test -z "$as_dir" && as_dir
=.
9040 for ac_exec_ext
in '' $ac_executable_extensions; do
9041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9042 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9043 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9053 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9054 if test -n "$aros_target_ar_ln"; then
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9056 $as_echo "$aros_target_ar_ln" >&6; }
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9059 $as_echo "no" >&6; }
9066 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
9067 set dummy
$aros_target_ar; ac_word
=$2
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9069 $as_echo_n "checking for $ac_word... " >&6; }
9070 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
9071 $as_echo_n "(cached) " >&6
9073 case $aros_target_ar_ln in
9075 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
9078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9082 test -z "$as_dir" && as_dir
=.
9083 for ac_exec_ext
in '' $ac_executable_extensions; do
9084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9085 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
9086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9096 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
9097 if test -n "$aros_target_ar_ln"; then
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
9099 $as_echo "$aros_target_ar_ln" >&6; }
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9102 $as_echo "no" >&6; }
9108 if test "$aros_target_ar_ln" = ""; then
9109 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
9112 if test "$aros_target_nm" = ""; then
9113 if test "$cross_compiling" = "yes" ; then
9114 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
9115 set dummy
${target_tool_prefix}nm
; ac_word
=$2
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9117 $as_echo_n "checking for $ac_word... " >&6; }
9118 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9119 $as_echo_n "(cached) " >&6
9121 case $aros_target_nm_ln in
9123 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9126 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9130 test -z "$as_dir" && as_dir
=.
9131 for ac_exec_ext
in '' $ac_executable_extensions; do
9132 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9133 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9144 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9145 if test -n "$aros_target_nm_ln"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9147 $as_echo "$aros_target_nm_ln" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9150 $as_echo "no" >&6; }
9155 if test "$GCC" = "yes"; then
9156 aros_gcc_nm
=`$CC -print-prog-name=nm`
9157 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
9158 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9160 $as_echo_n "checking for $ac_word... " >&6; }
9161 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9162 $as_echo_n "(cached) " >&6
9164 case $aros_target_nm_ln in
9166 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9170 for as_dir
in `dirname $aros_gcc_nm`
9173 test -z "$as_dir" && as_dir
=.
9174 for ac_exec_ext
in '' $ac_executable_extensions; do
9175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9176 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9187 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9188 if test -n "$aros_target_nm_ln"; then
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9190 $as_echo "$aros_target_nm_ln" >&6; }
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9193 $as_echo "no" >&6; }
9198 if test "$aros_target_nm_ln" = ""; then
9199 # Extract the first word of "nm", so it can be a program name with args.
9200 set dummy nm
; ac_word
=$2
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9202 $as_echo_n "checking for $ac_word... " >&6; }
9203 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9204 $as_echo_n "(cached) " >&6
9206 case $aros_target_nm_ln in
9208 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9211 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9215 test -z "$as_dir" && as_dir
=.
9216 for ac_exec_ext
in '' $ac_executable_extensions; do
9217 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9218 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9229 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9230 if test -n "$aros_target_nm_ln"; then
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9232 $as_echo "$aros_target_nm_ln" >&6; }
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9235 $as_echo "no" >&6; }
9242 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
9243 set dummy
$aros_target_nm; ac_word
=$2
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9245 $as_echo_n "checking for $ac_word... " >&6; }
9246 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
9247 $as_echo_n "(cached) " >&6
9249 case $aros_target_nm_ln in
9251 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
9254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9258 test -z "$as_dir" && as_dir
=.
9259 for ac_exec_ext
in '' $ac_executable_extensions; do
9260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9261 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
9262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9272 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
9273 if test -n "$aros_target_nm_ln"; then
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
9275 $as_echo "$aros_target_nm_ln" >&6; }
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9278 $as_echo "no" >&6; }
9284 if test "$aros_target_nm_ln" = ""; then
9285 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
9288 if test "$aros_target_objcopy" = ""; then
9289 if test "$cross_compiling" = "yes" ; then
9290 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
9291 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
9292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 $as_echo_n "checking for $ac_word... " >&6; }
9294 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9295 $as_echo_n "(cached) " >&6
9297 case $aros_target_objcopy_ln in
9299 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9306 test -z "$as_dir" && as_dir
=.
9307 for ac_exec_ext
in '' $ac_executable_extensions; do
9308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9309 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9320 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9321 if test -n "$aros_target_objcopy_ln"; then
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9323 $as_echo "$aros_target_objcopy_ln" >&6; }
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9326 $as_echo "no" >&6; }
9331 if test "$GCC" = "yes"; then
9332 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
9333 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
9334 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
9335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9336 $as_echo_n "checking for $ac_word... " >&6; }
9337 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9338 $as_echo_n "(cached) " >&6
9340 case $aros_target_objcopy_ln in
9342 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9346 for as_dir
in `dirname $aros_gcc_objcopy`
9349 test -z "$as_dir" && as_dir
=.
9350 for ac_exec_ext
in '' $ac_executable_extensions; do
9351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9352 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9363 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9364 if test -n "$aros_target_objcopy_ln"; then
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9366 $as_echo "$aros_target_objcopy_ln" >&6; }
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9369 $as_echo "no" >&6; }
9374 if test "$aros_target_objcopy_ln" = ""; then
9375 # Extract the first word of "objcopy", so it can be a program name with args.
9376 set dummy objcopy
; ac_word
=$2
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9378 $as_echo_n "checking for $ac_word... " >&6; }
9379 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9380 $as_echo_n "(cached) " >&6
9382 case $aros_target_objcopy_ln in
9384 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9391 test -z "$as_dir" && as_dir
=.
9392 for ac_exec_ext
in '' $ac_executable_extensions; do
9393 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9394 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9405 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9406 if test -n "$aros_target_objcopy_ln"; then
9407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9408 $as_echo "$aros_target_objcopy_ln" >&6; }
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9411 $as_echo "no" >&6; }
9418 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
9419 set dummy
$aros_target_objcopy; ac_word
=$2
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9421 $as_echo_n "checking for $ac_word... " >&6; }
9422 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
9423 $as_echo_n "(cached) " >&6
9425 case $aros_target_objcopy_ln in
9427 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
9430 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9434 test -z "$as_dir" && as_dir
=.
9435 for ac_exec_ext
in '' $ac_executable_extensions; do
9436 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9437 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9438 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9448 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9449 if test -n "$aros_target_objcopy_ln"; then
9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9451 $as_echo "$aros_target_objcopy_ln" >&6; }
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9454 $as_echo "no" >&6; }
9460 if test "$aros_target_objcopy_ln" = ""; then
9461 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9464 if test "$aros_target_objdump" = ""; then
9465 if test "$cross_compiling" = "yes" ; then
9466 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9467 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9469 $as_echo_n "checking for $ac_word... " >&6; }
9470 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9471 $as_echo_n "(cached) " >&6
9473 case $aros_target_objdump_ln in
9475 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9478 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9482 test -z "$as_dir" && as_dir
=.
9483 for ac_exec_ext
in '' $ac_executable_extensions; do
9484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9485 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9496 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9497 if test -n "$aros_target_objdump_ln"; then
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9499 $as_echo "$aros_target_objdump_ln" >&6; }
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9502 $as_echo "no" >&6; }
9507 if test "$GCC" = "yes"; then
9508 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9509 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9510 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9512 $as_echo_n "checking for $ac_word... " >&6; }
9513 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9514 $as_echo_n "(cached) " >&6
9516 case $aros_target_objdump_ln in
9518 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9522 for as_dir
in `dirname $aros_gcc_objdump`
9525 test -z "$as_dir" && as_dir
=.
9526 for ac_exec_ext
in '' $ac_executable_extensions; do
9527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9528 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9539 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9540 if test -n "$aros_target_objdump_ln"; then
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9542 $as_echo "$aros_target_objdump_ln" >&6; }
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9545 $as_echo "no" >&6; }
9550 if test "$aros_target_objdump_ln" = ""; then
9551 # Extract the first word of "objdump", so it can be a program name with args.
9552 set dummy objdump
; ac_word
=$2
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9554 $as_echo_n "checking for $ac_word... " >&6; }
9555 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9556 $as_echo_n "(cached) " >&6
9558 case $aros_target_objdump_ln in
9560 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9567 test -z "$as_dir" && as_dir
=.
9568 for ac_exec_ext
in '' $ac_executable_extensions; do
9569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9570 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9581 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9582 if test -n "$aros_target_objdump_ln"; then
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9584 $as_echo "$aros_target_objdump_ln" >&6; }
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9587 $as_echo "no" >&6; }
9594 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9595 set dummy
$aros_target_objdump; ac_word
=$2
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9597 $as_echo_n "checking for $ac_word... " >&6; }
9598 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9599 $as_echo_n "(cached) " >&6
9601 case $aros_target_objdump_ln in
9603 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9606 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9610 test -z "$as_dir" && as_dir
=.
9611 for ac_exec_ext
in '' $ac_executable_extensions; do
9612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9613 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9624 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9625 if test -n "$aros_target_objdump_ln"; then
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9627 $as_echo "$aros_target_objdump_ln" >&6; }
9629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9630 $as_echo "no" >&6; }
9636 if test "$aros_target_objdump_ln" = ""; then
9637 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9640 if test "$aros_target_ranlib" = ""; then
9641 if test "$cross_compiling" = "yes" ; then
9642 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9643 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9645 $as_echo_n "checking for $ac_word... " >&6; }
9646 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9647 $as_echo_n "(cached) " >&6
9649 case $aros_target_ranlib_ln in
9651 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9658 test -z "$as_dir" && as_dir
=.
9659 for ac_exec_ext
in '' $ac_executable_extensions; do
9660 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9661 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9672 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9673 if test -n "$aros_target_ranlib_ln"; then
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9675 $as_echo "$aros_target_ranlib_ln" >&6; }
9677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9678 $as_echo "no" >&6; }
9683 if test "$GCC" = "yes"; then
9684 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9685 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9686 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9688 $as_echo_n "checking for $ac_word... " >&6; }
9689 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9690 $as_echo_n "(cached) " >&6
9692 case $aros_target_ranlib_ln in
9694 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9698 for as_dir
in `dirname $aros_gcc_ranlib`
9701 test -z "$as_dir" && as_dir
=.
9702 for ac_exec_ext
in '' $ac_executable_extensions; do
9703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9704 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9715 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9716 if test -n "$aros_target_ranlib_ln"; then
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9718 $as_echo "$aros_target_ranlib_ln" >&6; }
9720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9721 $as_echo "no" >&6; }
9726 if test "$aros_target_ranlib_ln" = ""; then
9727 # Extract the first word of "ranlib", so it can be a program name with args.
9728 set dummy ranlib
; ac_word
=$2
9729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9730 $as_echo_n "checking for $ac_word... " >&6; }
9731 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9732 $as_echo_n "(cached) " >&6
9734 case $aros_target_ranlib_ln in
9736 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9743 test -z "$as_dir" && as_dir
=.
9744 for ac_exec_ext
in '' $ac_executable_extensions; do
9745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9746 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9757 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9758 if test -n "$aros_target_ranlib_ln"; then
9759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9760 $as_echo "$aros_target_ranlib_ln" >&6; }
9762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9763 $as_echo "no" >&6; }
9770 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9771 set dummy
$aros_target_ranlib; ac_word
=$2
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9773 $as_echo_n "checking for $ac_word... " >&6; }
9774 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9775 $as_echo_n "(cached) " >&6
9777 case $aros_target_ranlib_ln in
9779 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9782 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9786 test -z "$as_dir" && as_dir
=.
9787 for ac_exec_ext
in '' $ac_executable_extensions; do
9788 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9789 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9800 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9801 if test -n "$aros_target_ranlib_ln"; then
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9803 $as_echo "$aros_target_ranlib_ln" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9806 $as_echo "no" >&6; }
9812 if test "$aros_target_ranlib_ln" = ""; then
9813 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9816 if test "$aros_target_strip" = ""; then
9817 if test "$cross_compiling" = "yes" ; then
9818 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9819 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9821 $as_echo_n "checking for $ac_word... " >&6; }
9822 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9823 $as_echo_n "(cached) " >&6
9825 case $aros_target_strip_ln in
9827 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9834 test -z "$as_dir" && as_dir
=.
9835 for ac_exec_ext
in '' $ac_executable_extensions; do
9836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9837 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9848 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9849 if test -n "$aros_target_strip_ln"; then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9851 $as_echo "$aros_target_strip_ln" >&6; }
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9854 $as_echo "no" >&6; }
9859 if test "$GCC" = "yes"; then
9860 aros_gcc_strip
=`$CC -print-prog-name=strip`
9861 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9862 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9864 $as_echo_n "checking for $ac_word... " >&6; }
9865 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9866 $as_echo_n "(cached) " >&6
9868 case $aros_target_strip_ln in
9870 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9874 for as_dir
in `dirname $aros_gcc_strip`
9877 test -z "$as_dir" && as_dir
=.
9878 for ac_exec_ext
in '' $ac_executable_extensions; do
9879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9880 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9891 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9892 if test -n "$aros_target_strip_ln"; then
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9894 $as_echo "$aros_target_strip_ln" >&6; }
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9897 $as_echo "no" >&6; }
9902 if test "$aros_target_strip_ln" = ""; then
9903 # Extract the first word of "strip", so it can be a program name with args.
9904 set dummy strip
; ac_word
=$2
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9906 $as_echo_n "checking for $ac_word... " >&6; }
9907 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9908 $as_echo_n "(cached) " >&6
9910 case $aros_target_strip_ln in
9912 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9919 test -z "$as_dir" && as_dir
=.
9920 for ac_exec_ext
in '' $ac_executable_extensions; do
9921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9922 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9933 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9934 if test -n "$aros_target_strip_ln"; then
9935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9936 $as_echo "$aros_target_strip_ln" >&6; }
9938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9939 $as_echo "no" >&6; }
9946 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9947 set dummy
$aros_target_strip; ac_word
=$2
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9949 $as_echo_n "checking for $ac_word... " >&6; }
9950 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9951 $as_echo_n "(cached) " >&6
9953 case $aros_target_strip_ln in
9955 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9958 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9962 test -z "$as_dir" && as_dir
=.
9963 for ac_exec_ext
in '' $ac_executable_extensions; do
9964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9965 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9976 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9977 if test -n "$aros_target_strip_ln"; then
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9979 $as_echo "$aros_target_strip_ln" >&6; }
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9982 $as_echo "no" >&6; }
9988 if test "$aros_target_strip_ln" = ""; then
9989 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9991 if test "$aros_target_cxx" != ""; then
9992 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9993 set dummy
$aros_target_cxx; ac_word
=$2
9994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9995 $as_echo_n "checking for $ac_word... " >&6; }
9996 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
9997 $as_echo_n "(cached) " >&6
9999 case $aros_target_cxx in
10001 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
10004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10005 for as_dir
in $PATH
10008 test -z "$as_dir" && as_dir
=.
10009 for ac_exec_ext
in '' $ac_executable_extensions; do
10010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10011 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
10012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10022 aros_target_cxx
=$ac_cv_path_aros_target_cxx
10023 if test -n "$aros_target_cxx"; then
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
10025 $as_echo "$aros_target_cxx" >&6; }
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10028 $as_echo "no" >&6; }
10032 if test "$aros_target_cxx" = ""; then
10033 as_fn_error
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
10037 aros_target_cc
=$AROS_CROSSTOOLSDIR/$aros_target_cc
10038 aros_target_cxx
=$AROS_CROSSTOOLSDIR/$aros_target_cxx
10039 aros_target_as_ln
=$AROS_CROSSTOOLSDIR/$aros_target_as
10040 aros_target_ar_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10041 aros_target_nm_ln
=$AROS_CROSSTOOLSDIR/$aros_target_nm
10042 aros_target_objcopy_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objcopy
10043 aros_target_objdump_ln
=$AROS_CROSSTOOLSDIR/$aros_target_objdump
10044 aros_target_ranlib_ln
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10045 aros_target_strip_ln
=$AROS_CROSSTOOLSDIR/$aros_target_strip
10047 aros_kernel_ar
=$AROS_CROSSTOOLSDIR/$aros_target_ar
10048 aros_kernel_ld
=$AROS_CROSSTOOLSDIR/$aros_target_ld
10049 aros_kernel_ranlib
=$AROS_CROSSTOOLSDIR/$aros_target_ranlib
10051 crosstools_target
=tools-crosstools
10054 aros_kernel_ar
="$aros_kernel_ar $aros_kernel_ar_flags"
10056 orig_target_cc
=$aros_kernel_cc
10057 orig_target_ld
=$aros_kernel_ld
10059 if test "$crosstools" != "yes"; then
10060 if test "$aros_target_cc" != ""; then
10061 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
10062 set dummy
$aros_target_cc; ac_word
=$2
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10064 $as_echo_n "checking for $ac_word... " >&6; }
10065 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
10066 $as_echo_n "(cached) " >&6
10068 case $aros_target_cc in
10070 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
10073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10074 for as_dir
in $PATH
10077 test -z "$as_dir" && as_dir
=.
10078 for ac_exec_ext
in '' $ac_executable_extensions; do
10079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10080 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
10081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10091 aros_target_cc
=$ac_cv_path_aros_target_cc
10092 if test -n "$aros_target_cc"; then
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
10094 $as_echo "$aros_target_cc" >&6; }
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10097 $as_echo "no" >&6; }
10101 if test "$aros_target_cc" = ""; then
10102 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
10104 orig_target_cc
=$aros_target_cc
10106 if test "$aros_target_ld" != ""; then
10107 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
10108 set dummy
$aros_target_ld; ac_word
=$2
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10110 $as_echo_n "checking for $ac_word... " >&6; }
10111 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
10112 $as_echo_n "(cached) " >&6
10114 case $aros_target_ld in
10116 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
10119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10120 for as_dir
in $PATH
10123 test -z "$as_dir" && as_dir
=.
10124 for ac_exec_ext
in '' $ac_executable_extensions; do
10125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10126 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
10127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10137 aros_target_ld
=$ac_cv_path_aros_target_ld
10138 if test -n "$aros_target_ld"; then
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
10140 $as_echo "$aros_target_ld" >&6; }
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10143 $as_echo "no" >&6; }
10147 if test "$aros_target_ld" = ""; then
10148 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
10150 orig_target_ld
=$aros_target_ld
10153 orig_target_cc
=$aros_target_cc
10154 orig_target_ld
=$aros_target_ld
10157 # Build crosstools if we have no C++ - temporary thing
10158 if test "$aros_target_cxx" = "" -a "$crosstools" != "yes"; then
10159 crosstools_cxx_target
=tools-crosstools
10162 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
10163 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
10164 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
10165 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
10166 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
10167 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
10168 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
10170 # aros_cc_pre is a variable that is added to the front of the compiler name
10171 # in the generated aros-gcc shell script. We need this to enable the cache
10172 # to work across cleaned builds. Also, support DISTCC using the correct
10173 # environment variable.
10176 if test "x${DISTCC}" != "x" ; then
10177 if test "x${CCACHE}" != "x" ; then
10178 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
10180 aros_cc_pre
="${DISTCC} "
10183 if test "x${CCACHE}" != "x" ; then
10184 aros_cc_pre
="${CCACHE} "
10188 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
10190 aros_target_nostdinc_cflags
=-nostdinc
10192 aros_target_nostartup_ldflags
=-nostartfiles
10194 aros_target_nix_ldflags
=-nix
10196 aros_target_detach_ldflags
=-detach
10198 aros_target_nostdlib_ldflags
=-nostdlib
10202 if test "$crosstools" != "yes"; then
10203 if test "$GCC" = "yes"; then
10204 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
10207 # We do not know which gcc version we are going to build and what we need to know
10208 # here is different for different versions so this will be set later during the
10209 # build of crosstools.
10210 aros_target_cc_path
=@aros_target_cc_path@
10212 aros_target_cc
="${prefix}-gcc"
10213 aros_target_as
="${prefix}-as"
10214 aros_target_ld
="${prefix}-ld"
10215 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
10216 aros_target_objcopy
=${prefix}-objcopy
10217 aros_target_objdump
=${prefix}-objdump
10218 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
10219 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
10220 aros_target_strip
=${prefix}-strip
10221 aros_plain_nm
="${prefix}-nm"
10222 aros_plain_ar
="${prefix}-ar"
10224 # Find the system include path. We can suggest that an alternative is
10225 # used if we don't get it correct. The default is to use /usr/include.
10226 # Which is set in the aros_target_incl_def variable.
10228 # Check whether --enable-includes was given.
10229 if test "${enable_includes+set}" = set; then :
10230 enableval
=$enable_includes; aros_target_incl
=$enable_includes
10232 aros_target_incl
=$aros_target_incl_def
10236 if test "$aros_kernel_includes" = ""; then
10237 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10238 # FIXME: for cross-compiling this should point to another location
10239 aros_kernel_includes
="-isystem $aros_target_incl"
10243 if test "$aros_kernel_includes" != "" ; then
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
10245 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
10246 if test "$aros_kernel_cc_includes" = "" ; then
10247 # Try to guess where the directory is.
10248 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
10249 if test -d $aros_kernel_cc_includes; then
10250 # Check if there is also an include-fixed directory and add it
10251 # to kernel compiler's include path as it may contain some of
10252 # the headers we need.
10253 if test -d "$aros_kernel_cc_includes"-fixed; then
10254 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
10257 # The directory doesn't exist, we need to do some more work.
10258 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
10260 # These are the headers we're looking for.
10261 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10262 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10266 for h
in $headers; do
10267 # Which other headers are needed by each of the above?
10268 deps
=$
(echo "#include <$h>" | \
10269 $aros_kernel_cc -E -M - 2>/dev
/null | \
10270 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10272 # Copy all the needed headers to a directory beneath gendir.
10275 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
10276 sed -n "s,^.*/include\(/.*\),\1,p")
10277 ! test -d $dir && mkdir
-p $dir
10278 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
10284 $as_echo "$aros_kernel_cc_includes" >&6; }
10285 # Adding -nostdinc to kernel includes as they are always used together.
10286 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
10289 if test "$crosstools" != "yes"; then
10290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
10291 $as_echo_n "checking for the target compiler's include path... " >&6; }
10292 if test "$aros_target_cc_includes" = "" ; then
10293 #try to guess where the directory is
10294 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
10295 if ! test -d $aros_target_cc_includes; then
10296 #the directory doesn't exist, we need to do some more work
10297 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
10299 #these are the headers we're looking for
10300 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
10301 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
10305 for h
in $headers; do
10306 #which other headers each of the above headers needs?
10307 deps
=$
(echo "#include <$h>" | \
10308 $orig_target_cc -E -M - 2>/dev
/null | \
10309 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
10311 #copy all the needed headers to a directory beneath gendir
10314 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
10315 sed -n "s,^.*/include\(/.*\),\1,p")
10316 ! test -d $dir && mkdir
-p $dir
10317 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
10323 $as_echo "$aros_target_cc_includes" >&6; }
10325 # We do not know which gcc version we are going to build and what we need to know
10326 # here is different for different versions so this will be set later during the
10327 # build of crosstools.
10328 aros_target_cc_includes
=@aros_target_cc_includes@
10332 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
10333 # On GCC >= 4.0 -iquote should be used
10337 save_cflags
="$CFLAGS"
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10340 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10341 if test "x-$crosstools" != "x-yes"; then
10342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10353 if ac_fn_c_try_compile
"$LINENO"; then :
10358 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10360 # we do know it is supported for the smallest version of gcc we are going to build
10361 # we assume it's also supported by later versions
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10365 $as_echo "$has_iquote" >&6; }
10366 if test "x-$has_iquote" = "x-yes" ; then
10367 host_cflags_iquote
=-iquote
10368 host_cflags_iquote_end
=
10370 host_cflags_iquote
=-I
10371 host_cflags_iquote_end
=-I-
10373 kernel_cflags_iquote
=$host_cflags_iquote
10374 kernel_cflags_iquote_end
=$host_cflags_iquote_end
10375 if test "x-$cross_compiling" = "x-yes"; then
10376 CC
="$aros_kernel_cc"
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
10378 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
10379 if test "x-$crosstools" != "x-yes"; then
10380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10381 /* end confdefs.h. */
10391 if ac_fn_c_try_compile
"$LINENO"; then :
10392 use_no_stack_protector
="yes"
10394 use_no_stack_protector
="no"
10396 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10398 # we do know it is supported for the smallest version of gcc we are going to build
10399 # we assume it's also supported by later versions
10400 use_no_stack_protector
=yes
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
10403 $as_echo "$use_no_stack_protector" >&6; }
10404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10405 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10406 if test "x-$crosstools" != "x-yes"; then
10407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10408 /* end confdefs.h. */
10418 if ac_fn_c_try_compile
"$LINENO"; then :
10423 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10425 # we do know it is supported for the smallest version of gcc we are going to build
10426 # we assume it's also supported by later versions
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10430 $as_echo "$has_iquote" >&6; }
10431 if test "x-$has_iquote" = "x-yes" ; then
10432 kernel_cflags_iquote
=-iquote
10433 kernel_cflags_iquote_end
=
10435 kernel_cflags_iquote
=-I
10436 kernel_cflags_iquote_end
=-I-
10439 aros_cflags_iquote
=$kernel_cflags_iquote
10440 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
10441 if test "$orig_target_cc" != "$aros_kernel_cc"; then
10442 CC
="$orig_target_cc"
10443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
10444 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
10445 if test "x-$crosstools" != "x-yes"; then
10446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10457 if ac_fn_c_try_compile
"$LINENO"; then :
10462 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10464 # we do know it is supported for the smallest version of gcc we are going to build
10465 # we assume it's also supported by later versions
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
10469 $as_echo "$has_iquote" >&6; }
10470 if test "x-$has_iquote" = "x-yes" ; then
10471 aros_cflags_iquote
=-iquote
10472 aros_cflags_iquote_end
=
10474 aros_cflags_iquote
=-I
10475 aros_cflags_iquote_end
=-I-
10478 if test "x-$use_no_stack_protector" = "x-yes" ; then
10479 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
10482 #-----------------------------------------------------------------------------
10484 # Check if we can explicitly choose older version of symbol hashing
10486 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
10487 CC
="$aros_kernel_cc"
10488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
10489 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
10490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10491 /* end confdefs.h. */
10501 if ac_fn_c_try_link
"$LINENO"; then :
10502 use_hash_style
="yes"
10504 use_hash_style
="no"
10506 rm -f core conftest.err conftest.
$ac_objext \
10507 conftest
$ac_exeext conftest.
$ac_ext
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
10509 $as_echo "$use_hash_style" >&6; }
10510 if test "x-$use_hash_style" = "x-yes" ; then
10511 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
10514 CFLAGS
="$save_cflags"
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
10525 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
10527 # Check whether --with-resolution was given.
10528 if test "${with_resolution+set}" = set; then :
10529 withval
=$with_resolution; resolution
=$withval
10534 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10535 if test "$resolution" = "yes" ; then
10538 if test "$resolution" = "no" ; then
10541 if test "$resolution" != "none" ; then
10542 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10543 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10544 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10547 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10548 aros_cv_default_wbwidth
=$aros_default_wbwidth
10549 aros_cv_default_wbheight
=$aros_default_wbheight
10550 aros_cv_default_wbdepth
=$aros_default_wbdepth
10552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
10553 $as_echo_n "checking if serial debug is enabled... " >&6; }
10555 # Check whether --with-serial-debug was given.
10556 if test "${with_serial_debug+set}" = set; then :
10557 withval
=$with_serial_debug; serial_debug
=$withval
10562 if test "$aros_serial_debug" = 0 ; then
10563 serial_debug_forced
=""
10564 if test "$serial_debug" = "yes" ; then
10567 if test "$serial_debug" = "no" ; then
10568 serial_debug
="none"
10571 serial_debug_forced
="(forced)"
10572 serial_debug
=$aros_serial_debug
10574 if test "$serial_debug" != "none" ; then
10575 aros_serial_debug
=$serial_debug
10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
10577 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10580 $as_echo "no" >&6; }
10583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
10584 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10585 # Check whether --enable-palm_debug_hack was given.
10586 if test "${enable_palm_debug_hack+set}" = set; then :
10587 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10589 palm_debug_hack
="no"
10592 if test "$palm_debug_hack" = "yes" ; then
10593 aros_palm_debug_hack
="1"
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
10596 $as_echo "$palm_debug_hack" >&6; }
10598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if usb3.0 code is enabled" >&5
10599 $as_echo_n "checking if usb3.0 code is enabled... " >&6; }
10600 # Check whether --enable-usb30_code was given.
10601 if test "${enable_usb30_code+set}" = set; then :
10602 enableval
=$enable_usb30_code; usb30_code
="yes"
10607 if test "$usb30_code" = "yes" ; then
10608 aros_usb30_code
="1"
10610 aros_usb30_code
="0"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $usb30_code" >&5
10613 $as_echo "$usb30_code" >&6; }
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
10616 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10617 # Check whether --enable-nesting_supervisor was given.
10618 if test "${enable_nesting_supervisor+set}" = set; then :
10619 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10621 nesting_supervisor
="no"
10624 if test "$nesting_supervisor" = "yes" ; then
10625 aros_nesting_supervisor
="1"
10627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
10628 $as_echo "$nesting_supervisor" >&6; }
10630 if test "$aros_enable_mmu" = "" ; then
10631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
10632 $as_echo_n "checking if MMU support is enabled... " >&6; }
10633 # Check whether --enable-mmu was given.
10634 if test "${enable_mmu+set}" = set; then :
10635 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
10637 aros_enable_mmu
="yes"
10640 if test "$aros_enable_mmu" = "" ; then
10641 aros_enable_mmu
="yes"
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
10644 $as_echo "$aros_enable_mmu" >&6; }
10646 if test "$aros_enable_mmu" = "no" ; then
10647 aros_enable_mmu
="0"
10649 aros_enable_mmu
="1"
10653 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10655 if test "x-$need_dlopen" != "x-no" ; then
10656 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10657 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10663 if test "x-$have_dl" = "x-no" ; then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10665 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10666 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10667 $as_echo_n "(cached) " >&6
10669 ac_check_lib_save_LIBS
=$LIBS
10671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10674 /* Override any GCC internal prototype to avoid an error.
10675 Use char because int might match the return type of a GCC
10676 builtin and then its argument prototype would still apply. */
10689 if ac_fn_c_try_link
"$LINENO"; then :
10690 ac_cv_lib_dl_dlopen
=yes
10692 ac_cv_lib_dl_dlopen
=no
10694 rm -f core conftest.err conftest.
$ac_objext \
10695 conftest
$ac_exeext conftest.
$ac_ext
10696 LIBS
=$ac_check_lib_save_LIBS
10698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10699 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10700 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10702 aros_host_ldflags
="$aros_host_ldflags -ldl"
10708 if test "x-$have_dl" = "x-no" ; then
10709 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
10714 # Check whether --enable-x11_hidd was given.
10715 if test "${enable_x11_hidd+set}" = set; then :
10716 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10718 x11_hidd
="$need_x11"
10721 case "x-$x11_hidd" in
10722 x-yes|x-no|x-auto
) ;;
10723 *) x11_hidd
="$need_x11" ;;
10728 if test "x-$x11_hidd" != "x-no" ; then
10730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10731 $as_echo_n "checking for X... " >&6; }
10734 # Check whether --with-x was given.
10735 if test "${with_x+set}" = set; then :
10739 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10740 if test "x$with_x" = xno
; then
10741 # The user explicitly disabled X.
10744 case $x_includes,$x_libraries in #(
10745 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
10746 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
10747 $as_echo_n "(cached) " >&6
10749 # One or both of the vars are not set, and there is no cached value.
10750 ac_x_includes
=no ac_x_libraries
=no
10751 rm -f -r conftest.dir
10752 if mkdir conftest.dir
; then
10754 cat >Imakefile
<<'_ACEOF'
10756 @echo incroot='${INCROOT}'
10758 @echo usrlibdir='${USRLIBDIR}'
10760 @echo libdir='${LIBDIR}'
10762 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10763 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10764 for ac_var
in incroot usrlibdir libdir
; do
10765 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10767 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10768 for ac_extension
in a so sl dylib la dll
; do
10769 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10770 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10771 ac_im_usrlibdir
=$ac_im_libdir; break
10774 # Screen out bogus values from the imake configuration. They are
10775 # bogus both because they are the default anyway, and because
10776 # using them would break gcc on systems where it needs fixed includes.
10777 case $ac_im_incroot in
10778 /usr
/include
) ac_x_includes
= ;;
10779 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10781 case $ac_im_usrlibdir in
10782 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10783 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10787 rm -f -r conftest.dir
10790 # Standard set of common directories for X headers.
10791 # Check X11 before X11Rn because it is often a symlink to the current release.
10805 /usr/local/X11/include
10806 /usr/local/X11R7/include
10807 /usr/local/X11R6/include
10808 /usr/local/X11R5/include
10809 /usr/local/X11R4/include
10811 /usr/local/include/X11
10812 /usr/local/include/X11R7
10813 /usr/local/include/X11R6
10814 /usr/local/include/X11R5
10815 /usr/local/include/X11R4
10819 /usr/XFree86/include/X11
10823 /usr/unsupported/include
10824 /usr/athena/include
10825 /usr/local/x11r5/include
10826 /usr/lpp/Xamples/include
10828 /usr/openwin/include
10829 /usr/openwin/share/include'
10831 if test "$ac_x_includes" = no
; then
10832 # Guess where to find include files, by looking for Xlib.h.
10833 # First, try using that file with no special directory specified.
10834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 #include <X11/Xlib.h>
10838 if ac_fn_c_try_cpp
"$LINENO"; then :
10839 # We can compile using X headers with no special include directory.
10842 for ac_dir
in $ac_x_header_dirs; do
10843 if test -r "$ac_dir/X11/Xlib.h"; then
10844 ac_x_includes
=$ac_dir
10849 rm -f conftest.err conftest.
$ac_ext
10850 fi # $ac_x_includes = no
10852 if test "$ac_x_libraries" = no
; then
10853 # Check for the libraries.
10854 # See if we find them without any special options.
10855 # Don't add to $LIBS permanently.
10858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10859 /* end confdefs.h. */
10860 #include <X11/Xlib.h>
10869 if ac_fn_c_try_link
"$LINENO"; then :
10871 # We can link X programs with no special library path.
10875 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10877 # Don't even attempt the hair of trying to link an X program!
10878 for ac_extension
in a so sl dylib la dll
; do
10879 if test -r "$ac_dir/libX11.$ac_extension"; then
10880 ac_x_libraries
=$ac_dir
10886 rm -f core conftest.err conftest.
$ac_objext \
10887 conftest
$ac_exeext conftest.
$ac_ext
10888 fi # $ac_x_libraries = no
10890 case $ac_x_includes,$ac_x_libraries in #(
10891 no
,* |
*,no |
*\'*)
10892 # Didn't find X, or a directory has "'" in its name.
10893 ac_cv_have_x
="have_x=no";; #(
10895 # Record where we found X for the cache.
10896 ac_cv_have_x
="have_x=yes\
10897 ac_x_includes='$ac_x_includes'\
10898 ac_x_libraries='$ac_x_libraries'"
10904 eval "$ac_cv_have_x"
10907 if test "$have_x" != yes; then
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10909 $as_echo "$have_x" >&6; }
10912 # If each of the values was on the command line, it overrides each guess.
10913 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10914 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10915 # Update the cache value to reflect the command line values.
10916 ac_cv_have_x
="have_x=yes\
10917 ac_x_includes='$x_includes'\
10918 ac_x_libraries='$x_libraries'"
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10920 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10925 for path
in $x_libraries
10927 x_cflags
="$x_cflags -L$path"
10930 for path
in $x_includes
10932 x_cflags
="$x_cflags -I$path"
10935 if test "x-$no_x" = "x-yes" ; then
10937 if test "x-$x11_hidd" != "x-auto" ; then
10938 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10942 x11_hidd_target
=kernel-x11gfx-kobj
10945 # Check whether --enable-x11_shm was given.
10946 if test "${enable_x11_shm+set}" = set; then :
10947 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10949 x11_hidd_shm
="auto"
10952 case "x-$x11_hidd_shm" in
10953 x-yes|x-no|x-auto
) ;;
10954 *) x11_hidd_shm
="auto" ;;
10959 if test "x-$x11_hidd_shm" != "x-no" ; then
10961 for ac_header
in sys
/ipc.h
10963 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10964 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
10965 cat >>confdefs.h
<<_ACEOF
10966 #define HAVE_SYS_IPC_H 1
10973 for ac_header
in sys
/shm.h
10975 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10976 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
10977 cat >>confdefs.h
<<_ACEOF
10978 #define HAVE_SYS_SHM_H 1
10986 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10988 save_cflags
="$CFLAGS"
10989 CFLAGS
="$CFLAGS $x_cflags"
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10991 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10992 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
10993 $as_echo_n "(cached) " >&6
10995 ac_check_lib_save_LIBS
=$LIBS
10996 LIBS
="-lXext $LIBS"
10997 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10998 /* end confdefs.h. */
11000 /* Override any GCC internal prototype to avoid an error.
11001 Use char because int might match the return type of a GCC
11002 builtin and then its argument prototype would still apply. */
11006 char XShmQueryExtension ();
11010 return XShmQueryExtension ();
11015 if ac_fn_c_try_link
"$LINENO"; then :
11016 ac_cv_lib_Xext_XShmQueryExtension
=yes
11018 ac_cv_lib_Xext_XShmQueryExtension
=no
11020 rm -f core conftest.err conftest.
$ac_objext \
11021 conftest
$ac_exeext conftest.
$ac_ext
11022 LIBS
=$ac_check_lib_save_LIBS
11024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11025 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11026 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
11030 CFLAGS
="$save_cflags"
11034 if test "x-$have_xshm" = "x-yes" ; then
11035 DO_XSHM_SUPPORT
="1"
11036 elif test "x-$x11_hidd_shm" = "x-yes" ; then
11037 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
11039 DO_XSHM_SUPPORT
="0"
11043 # Check whether --enable-x11_vidmode was given.
11044 if test "${enable_x11_vidmode+set}" = set; then :
11045 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
11047 x11_hidd_vidmode
="auto"
11050 case "x-$x11_hidd_vidmode" in
11051 x-yes|x-no|x-auto
) ;;
11052 *) x11_hidd_vidmode
="auto" ;;
11057 if test "x-$x11_hidd_vidmode" != "x-no" ; then
11059 save_cflags
="$CFLAGS"
11060 CFLAGS
="$CFLAGS $x_cflags"
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
11062 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
11063 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
11064 $as_echo_n "(cached) " >&6
11066 ac_check_lib_save_LIBS
=$LIBS
11067 LIBS
="-lXxf86vm $LIBS"
11068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11069 /* end confdefs.h. */
11071 /* Override any GCC internal prototype to avoid an error.
11072 Use char because int might match the return type of a GCC
11073 builtin and then its argument prototype would still apply. */
11077 char XF86VidModeQueryExtension ();
11081 return XF86VidModeQueryExtension ();
11086 if ac_fn_c_try_link
"$LINENO"; then :
11087 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
11089 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
11091 rm -f core conftest.err conftest.
$ac_objext \
11092 conftest
$ac_exeext conftest.
$ac_ext
11093 LIBS
=$ac_check_lib_save_LIBS
11095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
11096 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
11097 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
11101 CFLAGS
="$save_cflags"
11104 if test "x-$have_vidmode" = "x-yes" ; then
11105 DO_VIDMODE_SUPPORT
="1"
11106 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
11107 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
11109 DO_VIDMODE_SUPPORT
="0"
11113 aros_host_x11_includes
=$x_includes
11114 aros_host_x11_libdirs
=$x_libraries
11118 # Check whether --enable-sdl_hidd was given.
11119 if test "${enable_sdl_hidd+set}" = set; then :
11120 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
11125 case "x-$sdl_hidd" in
11126 x-yes|x-no|x-auto
) ;;
11127 *) sdl_hidd
="auto" ;;
11130 if test "x-$sdl_hidd" != "x-no" ; then
11133 # Check whether --with-sdl-prefix was given.
11134 if test "${with_sdl_prefix+set}" = set; then :
11135 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
11141 # Check whether --with-sdl-exec-prefix was given.
11142 if test "${with_sdl_exec_prefix+set}" = set; then :
11143 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
11148 # Check whether --enable-sdltest was given.
11149 if test "${enable_sdltest+set}" = set; then :
11150 enableval
=$enable_sdltest;
11156 if test x
$sdl_exec_prefix != x
; then
11157 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
11158 if test x
${SDL_CONFIG+set} != xset
; then
11159 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
11162 if test x
$sdl_prefix != x
; then
11163 sdl_args
="$sdl_args --prefix=$sdl_prefix"
11164 if test x
${SDL_CONFIG+set} != xset
; then
11165 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
11169 if test "x$prefix" != xNONE
; then
11170 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
11172 # Extract the first word of "sdl-config", so it can be a program name with args.
11173 set dummy sdl-config
; ac_word
=$2
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11175 $as_echo_n "checking for $ac_word... " >&6; }
11176 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
11177 $as_echo_n "(cached) " >&6
11179 case $SDL_CONFIG in
11181 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
11184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11185 for as_dir
in $PATH
11188 test -z "$as_dir" && as_dir
=.
11189 for ac_exec_ext
in '' $ac_executable_extensions; do
11190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11191 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
11192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11199 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
11203 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
11204 if test -n "$SDL_CONFIG"; then
11205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
11206 $as_echo "$SDL_CONFIG" >&6; }
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11209 $as_echo "no" >&6; }
11213 min_sdl_version
=1.2.10
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
11215 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
11217 if test "$SDL_CONFIG" = "no" ; then
11220 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
11221 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
11223 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
11224 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11225 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
11226 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11227 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
11228 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11229 if test "x$enable_sdltest" = "xyes" ; then
11230 ac_save_CFLAGS
="$CFLAGS"
11231 ac_save_CXXFLAGS
="$CXXFLAGS"
11232 ac_save_LIBS
="$LIBS"
11233 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11234 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11235 LIBS
="$LIBS $SDL_LIBS"
11237 if test "$cross_compiling" = yes; then :
11238 echo $ac_n "cross compiling; assumed OK... $ac_c"
11240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11241 /* end confdefs.h. */
11244 #include <stdlib.h>
11245 #include <string.h>
11249 my_strdup (char *str)
11255 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
11256 strcpy (new_str, str);
11264 int main (int argc, char *argv[])
11266 int major, minor, micro;
11269 /* This hangs on some systems (?)
11270 system ("touch conf.sdltest");
11272 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
11274 /* HP/UX 9 (%@#!) writes to sscanf strings */
11275 tmp_version = my_strdup("$min_sdl_version");
11276 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11277 printf("%s, bad version string\n", "$min_sdl_version");
11281 if (($sdl_major_version > major) ||
11282 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
11283 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
11289 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
11290 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
11291 printf("*** best to upgrade to the required version.\n");
11292 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
11293 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
11294 printf("*** config.cache before re-running configure\n");
11301 if ac_fn_c_try_run
"$LINENO"; then :
11306 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11307 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11310 CFLAGS
="$ac_save_CFLAGS"
11311 CXXFLAGS
="$ac_save_CXXFLAGS"
11312 LIBS
="$ac_save_LIBS"
11315 if test "x$no_sdl" = x
; then
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11317 $as_echo "yes" >&6; }
11320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11321 $as_echo "no" >&6; }
11322 if test "$SDL_CONFIG" = "no" ; then
11323 echo "*** The sdl-config script installed by SDL could not be found"
11324 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
11325 echo "*** your path, or set the SDL_CONFIG environment variable to the"
11326 echo "*** full path to sdl-config."
11328 if test -f conf.sdltest
; then
11331 echo "*** Could not run SDL test program, checking why..."
11332 CFLAGS
="$CFLAGS $SDL_CFLAGS"
11333 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
11334 LIBS
="$LIBS $SDL_LIBS"
11335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11341 int main(int argc, char *argv[])
11344 #define main K_and_R_C_main
11354 if ac_fn_c_try_link
"$LINENO"; then :
11355 echo "*** The test program compiled, but did not run. This usually means"
11356 echo "*** that the run-time linker is not finding SDL or finding the wrong"
11357 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
11358 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11359 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11360 echo "*** is required on your system"
11362 echo "*** If you have an old version installed, it is best to remove it, although"
11363 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11365 echo "*** The test program failed to compile or link. See the file config.log for the"
11366 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
11367 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
11368 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
11370 rm -f core conftest.err conftest.
$ac_objext \
11371 conftest
$ac_exeext conftest.
$ac_ext
11372 CFLAGS
="$ac_save_CFLAGS"
11373 CXXFLAGS
="$ac_save_CXXFLAGS"
11374 LIBS
="$ac_save_LIBS"
11386 if test "x-$have_sdl" != "x-yes" ; then
11388 if test "x-$sdl_hidd" != "x-auto" ; then
11389 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
11393 sdl_hidd_target
=kernel-hidd-sdl
11394 aros_host_sdl_cflags
=SDL_CFLAGS
11395 aros_host_sdl_libs
=SDL_LIBS
11399 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11400 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
11405 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
11406 oss_library_target
=workbench-libs-oss-unix
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
11412 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
11413 # Check whether --enable-dbus was given.
11414 if test "${enable_dbus+set}" = set; then :
11415 enableval
=$enable_dbus; dbus
="yes"
11420 if test "$dbus" = "yes" ; then
11422 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
11423 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
11424 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
11425 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
11430 $as_echo "$dbus" >&6; }
11432 if test "$use_kernel_cc_wrapper" = "yes" ; then
11433 aros_kernel_cc
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf-gcc"
11448 # Compatability with other Amiga-like operation systems
11550 # Native version related
11553 # Palm native version related
11559 # Unix/Hosted version related
11565 # Apple iOS related
11590 # Collect-aros stuff: "-ius" to ignore undefined symbols
11593 # C compiler related
11596 case "$aros_flavour" in
11597 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11598 aros_flavour
="emulation" ;;
11599 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11600 aros_flavour
="emulation" ;;
11601 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11602 aros_flavour
="standalone";;
11603 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11604 aros_flavour
="standalone";;
11605 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11606 aros_flavour
="native" ;;
11607 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11608 aros_flavour
="native" ;;
11609 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11610 aros_flavour
="linklib" ;;
11611 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11612 aros_flavour
="palmnative" ;;
11613 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11614 aros_flavour
="mac68knative" ;;
11615 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11616 aros_flavour
="ppcnative" ;;
11619 if test ! -d ${aros_inc_dir} ; then
11620 ${MKDIR} ${aros_inc_dir}
11622 if test ! -d ${aros_geninc_dir} ; then
11623 ${MKDIR} ${aros_geninc_dir}
11625 if test ! -d ${aros_hostcfg_dir} ; then
11626 ${MKDIR} ${aros_hostcfg_dir}
11628 if test ! -d ${aros_targetcfg_dir} ; then
11629 ${MKDIR} ${aros_targetcfg_dir}
11631 if test ! -d ${aros_tools_dir} ; then
11632 ${MKDIR} ${aros_tools_dir}
11634 if test ! -d ${aros_scripts_dir} ; then
11635 ${MKDIR} ${aros_scripts_dir}
11638 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11641 ac_config_commands
="$ac_config_commands compiler_executable"
11643 ac_config_commands
="$ac_config_commands genmf_executable"
11646 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"
11649 cat >confcache
<<\_ACEOF
11650 # This file is a shell script that caches the results of configure
11651 # tests run on this system so they can be shared between configure
11652 # scripts and configure runs, see configure's option --config-cache.
11653 # It is not useful on other systems. If it contains results you don't
11654 # want to keep, you may remove or edit it.
11656 # config.status only pays attention to the cache file if you give it
11657 # the --recheck option to rerun configure.
11659 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11660 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11661 # following values.
11665 # The following way of writing the cache mishandles newlines in values,
11666 # but we know of no workaround that is simple, portable, and efficient.
11667 # So, we kill variables containing newlines.
11668 # Ultrix sh set writes to stderr and can't be redirected directly,
11669 # and sets the high bit in the cache file unless we assign to the vars.
11671 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11672 eval ac_val
=\$
$ac_var
11676 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11677 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11680 _ | IFS | as_nl
) ;; #(
11681 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11682 *) { eval $ac_var=; unset $ac_var;} ;;
11688 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11689 *${as_nl}ac_space
=\
*)
11690 # `set' does not quote correctly, so add quotes: double-quote
11691 # substitution turns \\\\ into \\, and sed turns \\ into \.
11694 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11697 # `set' quotes correctly as required by POSIX, so do not add quotes.
11698 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11707 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11709 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11711 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11712 if test -w "$cache_file"; then
11713 test "x$cache_file" != "x/dev/null" &&
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11715 $as_echo "$as_me: updating cache $cache_file" >&6;}
11716 cat confcache
>$cache_file
11718 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11719 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11724 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11725 # Let make expand exec_prefix.
11726 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11728 DEFS
=-DHAVE_CONFIG_H
11732 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11733 # 1. Remove the extension, and $U if already installed.
11734 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11735 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11736 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11737 # will be set to the directory where LIBOBJS objects are built.
11738 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11739 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11741 LIBOBJS
=$ac_libobjs
11743 LTLIBOBJS
=$ac_ltlibobjs
11747 : ${CONFIG_STATUS=./config.status}
11749 ac_clean_files_save
=$ac_clean_files
11750 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11752 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11754 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11756 # Generated by $as_me.
11757 # Run this file to recreate the current configuration.
11758 # Compiler output produced by configure, useful for debugging
11759 # configure, is in config.log if it exists.
11762 ac_cs_recheck=false
11765 SHELL=\${CONFIG_SHELL-$SHELL}
11768 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11769 ## -------------------- ##
11770 ## M4sh Initialization. ##
11771 ## -------------------- ##
11773 # Be more Bourne compatible
11774 DUALCASE
=1; export DUALCASE
# for MKS sh
11775 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11778 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11779 # is contrary to our usage. Disable this feature.
11780 alias -g '${1+"$@"}'='"$@"'
11781 setopt NO_GLOB_SUBST
11783 case `(set -o) 2>/dev/null` in #(
11795 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11796 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11797 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11798 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11799 # Prefer a ksh shell builtin over an external printf program on Solaris,
11800 # but without wasting forks for bash or zsh.
11801 if test -z "$BASH_VERSION$ZSH_VERSION" \
11802 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11803 as_echo='print
-r --'
11804 as_echo_n='print
-rn --'
11805 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11806 as_echo='printf %s
\n'
11807 as_echo_n='printf %s
'
11809 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11810 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11811 as_echo_n='/usr
/ucb
/echo -n'
11813 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11814 as_echo_n_body='eval
11818 expr "X$arg" : "X\\(.*\\)$as_nl";
11819 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11821 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11823 export as_echo_n_body
11824 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11826 export as_echo_body
11827 as_echo='sh
-c $as_echo_body as_echo
'
11830 # The user is always right.
11831 if test "${PATH_SEPARATOR+set}" != set; then
11833 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11834 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11841 # We need space, tab and new line, in precisely that order. Quoting is
11842 # there to prevent editors from complaining about space-tab.
11843 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11844 # splitting by setting IFS to empty value.)
11847 # Find who we are. Look in the path if we contain no directory separator.
11849 *[\\/]* ) as_myself=$0 ;;
11850 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11851 for as_dir in $PATH
11854 test -z "$as_dir" && as_dir=.
11855 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11861 # We did not find ourselves, most probably we were run as `sh COMMAND'
11862 # in which case we are not to be found in the path.
11863 if test "x$as_myself" = x
; then
11866 if test ! -f "$as_myself"; then
11867 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11871 # Unset variables that we do not need and which cause bugs (e.g. in
11872 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11873 # suppresses any "Segmentation fault" message there. '((' could
11874 # trigger a bug in pdksh 5.2.14.
11875 for as_var
in BASH_ENV ENV MAIL MAILPATH
11876 do eval test x\
${$as_var+set} = xset \
11877 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11890 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11893 # as_fn_error ERROR [LINENO LOG_FD]
11894 # ---------------------------------
11895 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11896 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11897 # script with status $?, using 1 if that was 0.
11900 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11902 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11903 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11905 $as_echo "$as_me: error: $1" >&2
11906 as_fn_exit
$as_status
11910 # as_fn_set_status STATUS
11911 # -----------------------
11912 # Set $? to STATUS, without forking.
11913 as_fn_set_status
()
11916 } # as_fn_set_status
11918 # as_fn_exit STATUS
11919 # -----------------
11920 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11924 as_fn_set_status
$1
11930 # Portably unset VAR.
11933 { eval $1=; unset $1;}
11935 as_unset
=as_fn_unset
11936 # as_fn_append VAR VALUE
11937 # ----------------------
11938 # Append the text in VALUE to the end of the definition contained in VAR. Take
11939 # advantage of any shell optimizations that allow amortized linear growth over
11940 # repeated appends, instead of the typical quadratic growth present in naive
11942 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11943 eval 'as_fn_append ()
11954 # as_fn_arith ARG...
11955 # ------------------
11956 # Perform arithmetic evaluation on the ARGs, and store the result in the
11957 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11958 # must be portable across $(()) and expr.
11959 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11960 eval 'as_fn_arith ()
11967 as_val
=`expr "$@" || test $? -eq 1`
11972 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11973 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11979 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11980 as_basename
=basename
11985 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11991 as_me
=`$as_basename -- "$0" ||
11992 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11993 X"$0" : 'X\(//\)$' \| \
11994 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11996 sed '/^.*\/\([^/][^/]*\)\/*$/{
12010 # Avoid depending upon Character Ranges.
12011 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
12012 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12013 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
12014 as_cr_digits
='0123456789'
12015 as_cr_alnum
=$as_cr_Letters$as_cr_digits
12017 ECHO_C
= ECHO_N
= ECHO_T
=
12018 case `echo -n x` in #(((((
12020 case `echo 'xy\c'` in
12021 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
12023 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
12030 rm -f conf$$ conf$$.exe conf$$.
file
12031 if test -d conf$$.dir
; then
12032 rm -f conf$$.dir
/conf$$.
file
12035 mkdir conf$$.dir
2>/dev
/null
12037 if (echo >conf$$.
file) 2>/dev
/null
; then
12038 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
12040 # ... but there are two gotchas:
12041 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12042 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12043 # In both cases, we have to default to `cp -p'.
12044 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
12046 elif ln conf$$.
file conf$$
2>/dev
/null
; then
12054 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
12055 rmdir conf$$.dir
2>/dev
/null
12060 # Create "$as_dir" as a directory, including parents if necessary.
12065 -*) as_dir
=.
/$as_dir;;
12067 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
12071 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
12072 *) as_qdir
=$as_dir;;
12074 as_dirs
="'$as_qdir' $as_dirs"
12075 as_dir
=`$as_dirname -- "$as_dir" ||
12076 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12077 X"$as_dir" : 'X\(//\)[^/]' \| \
12078 X"$as_dir" : 'X\(//\)$' \| \
12079 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
12080 $as_echo X"$as_dir" |
12081 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12085 /^X\(\/\/\)[^/].*/{
12098 test -d "$as_dir" && break
12100 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
12101 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
12105 if mkdir
-p .
2>/dev
/null
; then
12106 as_mkdir_p
='mkdir -p "$as_dir"'
12108 test -d .
/-p && rmdir .
/-p
12112 if test -x / >/dev
/null
2>&1; then
12113 as_test_x
='test -x'
12115 if ls -dL / >/dev
/null
2>&1; then
12122 if test -d "$1"; then
12128 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
12129 ???[sx]*):;;*)false;;esac;fi
12133 as_executable_p
=$as_test_x
12135 # Sed expression to map a string onto a valid CPP name.
12136 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12138 # Sed expression to map a string onto a valid variable name.
12139 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12143 ## ----------------------------------- ##
12144 ## Main body of $CONFIG_STATUS script. ##
12145 ## ----------------------------------- ##
12147 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
12149 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12150 # Save the log message, to keep $0 and so on meaningful, and to
12151 # report actual input values of CONFIG_FILES etc. instead of their
12152 # values after options handling.
12154 This file was extended by $as_me, which was
12155 generated by GNU Autoconf 2.65. Invocation command line was
12157 CONFIG_FILES = $CONFIG_FILES
12158 CONFIG_HEADERS = $CONFIG_HEADERS
12159 CONFIG_LINKS = $CONFIG_LINKS
12160 CONFIG_COMMANDS = $CONFIG_COMMANDS
12163 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12168 case $ac_config_files in *"
12169 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
12172 case $ac_config_headers in *"
12173 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
12177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12178 # Files that config.status was made for.
12179 config_files="$ac_config_files"
12180 config_headers="$ac_config_headers"
12181 config_commands="$ac_config_commands"
12185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12187 \`$as_me' instantiates files and other configuration actions
12188 from templates according to the current configuration. Unless the files
12189 and actions are specified as TAGs, all are instantiated by default.
12191 Usage: $0 [OPTION]... [TAG]...
12193 -h, --help print this help, then exit
12194 -V, --version print version number and configuration settings, then exit
12195 --config print configuration, then exit
12196 -q, --quiet, --silent
12197 do not print progress messages
12198 -d, --debug don't remove temporary files
12199 --recheck update $as_me by reconfiguring in the same conditions
12200 --file=FILE[:TEMPLATE]
12201 instantiate the configuration file FILE
12202 --header=FILE[:TEMPLATE]
12203 instantiate the configuration header FILE
12205 Configuration files:
12208 Configuration headers:
12211 Configuration commands:
12214 Report bugs to the package provider."
12217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12218 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
12221 configured by $0, generated by GNU Autoconf 2.65,
12222 with options \\"\$ac_cs_config\\"
12224 Copyright (C) 2009 Free Software Foundation, Inc.
12225 This config.status script is free software; the Free Software Foundation
12226 gives unlimited permission to copy, distribute and modify it."
12230 test -n "\$AWK" || AWK=awk
12233 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12234 # The default lists apply if the user does not specify any file.
12240 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
12241 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
12252 # Handling of the options.
12253 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
12255 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
12256 $as_echo "$ac_cs_version"; exit ;;
12257 --config |
--confi |
--conf |
--con |
--co |
--c )
12258 $as_echo "$ac_cs_config"; exit ;;
12259 --debug |
--debu |
--deb |
--de |
--d |
-d )
12261 --file |
--fil |
--fi |
--f )
12264 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12266 as_fn_append CONFIG_FILES
" '$ac_optarg'"
12267 ac_need_defaults
=false
;;
12268 --header |
--heade |
--head |
--hea )
12271 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
12273 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
12274 ac_need_defaults
=false
;;
12276 # Conflict between --help and --header
12277 as_fn_error
"ambiguous option: \`$1'
12278 Try \`$0 --help' for more information.";;
12279 --help |
--hel |
-h )
12280 $as_echo "$ac_cs_usage"; exit ;;
12281 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
12282 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
12285 # This is an error.
12286 -*) as_fn_error
"unrecognized option: \`$1'
12287 Try \`$0 --help' for more information." ;;
12289 *) as_fn_append ac_config_targets
" $1"
12290 ac_need_defaults
=false
;;
12296 ac_configure_extra_args
=
12298 if $ac_cs_silent; then
12300 ac_configure_extra_args
="$ac_configure_extra_args --silent"
12304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12305 if \$ac_cs_recheck; then
12306 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12308 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
12309 CONFIG_SHELL='$SHELL'
12310 export CONFIG_SHELL
12315 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12319 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12320 ## Running $as_me. ##
12326 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12331 aros_host_exe_suffix=${aros_host_exe_suffix}
12332 aros_tools_dir=${aros_tools_dir}
12333 aros_target_cpu=${aros_target_cpu}
12334 aros_target_arch=${aros_target_arch}
12335 aros_target_suffix=${aros_target_suffix}
12336 aros_target_nm_ln=${aros_target_nm_ln}
12337 aros_target_as_ln=${aros_target_as_ln}
12338 aros_target_ar_ln=${aros_target_ar_ln}
12339 aros_target_ranlib_ln=${aros_target_ranlib_ln}
12340 aros_target_objdump_ln=${aros_target_objdump_ln}
12341 aros_target_objcopy_ln=${aros_target_objcopy_ln}
12342 aros_target_strip_ln=${aros_target_strip_ln}
12343 aros_kernel_ld=${aros_kernel_ld}
12346 aros_tools_dir=${aros_tools_dir}
12351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12353 # Handling of arguments.
12354 for ac_config_target
in $ac_config_targets
12356 case $ac_config_target in
12357 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
12358 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
12359 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
12360 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
12361 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
12362 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
12363 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
12364 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
12365 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
12366 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
12367 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
12368 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
12369 "${aros_targetcfg_dir}/elf-specs") CONFIG_FILES="$CONFIG_FILES ${aros_targetcfg_dir}/elf-specs:${elf_specs_in}" ;;
12370 "${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" ;;
12371 "${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" ;;
12372 "${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" ;;
12373 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
12374 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
12375 "${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" ;;
12377 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
12382 # If the user did not use the arguments to specify the items to instantiate,
12383 # then the envvar interface is used. Set only those that are not.
12384 # We use the long form for the default assignment because of an extremely
12385 # bizarre bug on SunOS 4.1.3.
12386 if $ac_need_defaults; then
12387 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
12388 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
12389 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
12392 # Have a temporary directory for convenience. Make it in the build tree
12393 # simply because there is no reason against having it here, and in addition,
12394 # creating and moving files from /tmp can sometimes cause problems.
12395 # Hook for its removal unless debugging.
12396 # Note that there is a small window in which the directory will not be cleaned:
12397 # after its creation but before its name has been assigned to `$tmp'.
12401 trap 'exit_status=$?
12402 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12404 trap 'as_fn_exit 1' 1 2 13 15
12406 # Create a (secure) tmp directory for tmp files.
12409 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12410 test -n "$tmp" && test -d "$tmp"
12413 tmp
=.
/conf$$
-$RANDOM
12414 (umask 077 && mkdir
"$tmp")
12415 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
12417 # Set up the scripts for CONFIG_FILES section.
12418 # No need to generate them if there are no CONFIG_FILES.
12419 # This happens for instance with `./config.status config.h'.
12420 if test -n "$CONFIG_FILES"; then
12423 ac_cr
=`echo X | tr X '\015'`
12424 # On cygwin, bash can eat \r inside `` if the user requested igncr.
12425 # But we know of no other shell where ac_cr would be empty at this
12426 # point, so we can use a bashism as a fallback.
12427 if test "x$ac_cr" = x
; then
12428 eval ac_cr
=\$
\'\\r
\'
12430 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
12431 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
12434 ac_cs_awk_cr
=$ac_cr
12437 echo 'BEGIN {' >"$tmp/subs1.awk" &&
12442 echo "cat >conf$$subs.awk <<_ACEOF" &&
12443 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
12445 } >conf$$subs.sh ||
12446 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12447 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
12449 for ac_last_try in false false false false false :; do
12450 . ./conf$$subs.sh ||
12451 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12453 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
12454 if test $ac_delim_n = $ac_delim_num; then
12456 elif $ac_last_try; then
12457 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
12459 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12462 rm -f conf$$subs.sh
12464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12465 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
12469 s/^/S["/; s
/!.
*/"]=/
12479 s/\(.\{148\}\)..*/\1/
12481 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
12486 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12493 s/\(.\{148\}\)..*/\1/
12495 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
12499 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
12504 ' <conf$$subs.awk | sed '
12509 ' >>$CONFIG_STATUS || ac_write_fail=1
12510 rm -f conf$$subs.awk
12511 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12513 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
12514 for (key in S) S_is_set[key] = 1
12520 nfields = split(line, field, "@
")
12522 len = length(field[1])
12523 for (i = 2; i < nfields; i++) {
12525 keylen = length(key)
12526 if (S_is_set[key]) {
12528 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12529 len += length(value) + length(field[++i])
12540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12541 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12542 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12545 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
12546 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
12549 # VPATH may cause trouble with some makes, so we remove $(srcdir),
12550 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
12551 # trailing colons and then remove the whole line if VPATH becomes empty
12552 # (actually we leave an empty line to preserve line numbers).
12553 if test "x
$srcdir" = x.; then
12554 ac_vpsub='/^[ ]*VPATH[ ]*=/{
12555 s/:*\$(srcdir):*/:/
12556 s/:*\${srcdir}:*/:/
12558 s/^\([^=]*=[ ]*\):*/\1/
12564 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12565 fi # test -n "$CONFIG_FILES"
12567 # Set up the scripts for CONFIG_HEADERS section.
12568 # No need to generate them if there are no CONFIG_HEADERS.
12569 # This happens for instance with `./config.status Makefile'.
12570 if test -n "$CONFIG_HEADERS"; then
12571 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12575 # Transform confdefs.h into an awk script `defines.awk', embedded as
12576 # here-document in config.status, that substitutes the proper values into
12577 # config.h.in to produce config.h.
12579 # Create a delimiter string that does not exist in confdefs.h, to ease
12580 # handling of long lines.
12582 for ac_last_try in false false :; do
12583 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12584 if test -z "$ac_t"; then
12586 elif $ac_last_try; then
12587 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12589 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12593 # For the awk script, D is an array of macro values keyed by name,
12594 # likewise P contains macro parameters if any. Preserve backslash
12595 # newline sequences.
12597 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12599 s/.\{148\}/&'"$ac_delim"'/g
12602 s/^[ ]*#[ ]*define[ ][ ]*/ /
12609 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12611 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12615 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12616 D["\
1"]=" \
3\\\\\\n
"\\/p
12618 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12623 s/.\{148\}/&'"$ac_delim"'/g
12628 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12631 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12633 ' <confdefs.h | sed '
12634 s/'"$ac_delim"'/"\\\
12635 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12638 for (key in D) D_is_set[key] = 1
12641 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12643 split(line, arg, " ")
12644 if (arg[1] == "#") {
12648 defundef
= substr
(arg
[1], 2)
12651 split(mac1
, mac2
, "(") #)
12653 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12654 if (D_is_set
[macro
]) {
12655 # Preserve the white space surrounding the "#".
12656 print prefix
"define", macro P
[macro
] D
[macro
]
12659 # Replace #undef with comments. This is necessary, for example,
12660 # in the case of _POSIX_SOURCE, which is predefined and required
12661 # on some systems where configure will not decide to define it.
12662 if (defundef
== "undef") {
12663 print
"/*", prefix defundef
, macro
, "*/"
12671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12672 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12673 fi # test -n "$CONFIG_HEADERS"
12676 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12681 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12683 case $ac_mode$ac_tag in
12685 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12686 :[FH
]-) ac_tag
=-:-;;
12687 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12704 -) ac_f
="$tmp/stdin";;
12705 *) # Look for the file first in the build tree, then in the source tree
12706 # (if the path is not absolute). The absolute path cannot be DOS-style,
12707 # because $ac_f cannot contain `:'.
12711 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12713 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12715 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12716 as_fn_append ac_file_inputs
" '$ac_f'"
12719 # Let's still pretend it is `configure' which instantiates (i.e., don't
12720 # use $as_me), people would be surprised to read:
12721 # /* config.h. Generated by config.status. */
12722 configure_input
='Generated from '`
12723 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12725 if test x
"$ac_file" != x-
; then
12726 configure_input
="$ac_file. $configure_input"
12727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12728 $as_echo "$as_me: creating $ac_file" >&6;}
12730 # Neutralize special characters interpreted by sed in replacement strings.
12731 case $configure_input in #(
12732 *\
&* |
*\|
* |
*\\* )
12733 ac_sed_conf_input
=`$as_echo "$configure_input" |
12734 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12735 *) ac_sed_conf_input
=$configure_input;;
12739 *:-:* |
*:-) cat >"$tmp/stdin" \
12740 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12745 ac_dir
=`$as_dirname -- "$ac_file" ||
12746 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12747 X"$ac_file" : 'X\(//\)[^/]' \| \
12748 X"$ac_file" : 'X\(//\)$' \| \
12749 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12750 $as_echo X"$ac_file" |
12751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12755 /^X\(\/\/\)[^/].*/{
12768 as_dir
="$ac_dir"; as_fn_mkdir_p
12772 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12774 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12775 # A ".." for each directory in $ac_dir_suffix.
12776 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12777 case $ac_top_builddir_sub in
12778 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12779 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12782 ac_abs_top_builddir
=$ac_pwd
12783 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12784 # for backward compatibility:
12785 ac_top_builddir
=$ac_top_build_prefix
12788 .
) # We are building in place.
12790 ac_top_srcdir
=$ac_top_builddir_sub
12791 ac_abs_top_srcdir
=$ac_pwd ;;
12792 [\\/]* | ?
:[\\/]* ) # Absolute name.
12793 ac_srcdir
=$srcdir$ac_dir_suffix;
12794 ac_top_srcdir
=$srcdir
12795 ac_abs_top_srcdir
=$srcdir ;;
12796 *) # Relative name.
12797 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12798 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12799 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12801 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12813 # If the template does not know about datarootdir, expand it.
12814 # FIXME: This hack should be removed a few years after 2.60.
12815 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12826 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12827 *datarootdir
*) ac_datarootdir_seen
=yes;;
12828 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12830 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12833 ac_datarootdir_hack='
12834 s&@datadir@&$datadir&g
12835 s&@docdir@&$docdir&g
12836 s&@infodir@&$infodir&g
12837 s&@localedir@&$localedir&g
12838 s&@mandir@&$mandir&g
12839 s&\\\${datarootdir}&$datarootdir&g' ;;
12843 # Neutralize VPATH when `$srcdir' = `.'.
12844 # Shell code in configure.ac might set extrasub.
12845 # FIXME: do we really want to maintain this feature?
12846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12847 ac_sed_extra="$ac_vpsub
12850 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12852 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12853 s|@configure_input@|
$ac_sed_conf_input|
;t t
12854 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12855 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12856 s
&@srcdir@
&$ac_srcdir&;t t
12857 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12858 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12859 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12860 s
&@builddir@
&$ac_builddir&;t t
12861 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12862 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12863 $ac_datarootdir_hack
12865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12866 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12869 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12870 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12872 which seems to be undefined. Please make sure it is defined." >&5
12873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12874 which seems to be undefined. Please make sure it is defined." >&2;}
12878 -) cat "$tmp/out" && rm -f "$tmp/out";;
12879 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12881 || as_fn_error "could not create $ac_file" "$LINENO" 5
12887 if test x"$ac_file" != x-; then
12889 $as_echo "/* $configure_input */" \
12890 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12891 } >"$tmp/config.h" \
12892 || as_fn_error "could not create $ac_file" "$LINENO" 5
12893 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12894 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12895 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12898 mv "$tmp/config.h" "$ac_file" \
12899 || as_fn_error "could not create $ac_file" "$LINENO" 5
12902 $as_echo "/* $configure_input */" \
12903 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12904 || as_fn_error "could not create -" "$LINENO" 5
12908 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12909 $as_echo "$as_me: executing $ac_file commands" >&6;}
12914 case $ac_file$ac_mode in
12915 "compiler_executable":C)
12916 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12918 prefix="${prefix}/${aros_target_cpu}-aros"
12919 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12920 prefix3=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-elf
12925 chmod a+x ${prefix2}-gcc ${prefix2}-ld ${prefix3}-gcc
12927 ln -sf ${prefix2}-gcc ${prefix}-gcc
12928 ln -sf ${prefix2}-ld ${prefix}-ld
12930 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12931 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12932 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12933 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12934 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12935 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12936 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12938 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12939 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12940 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12941 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12942 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12943 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12944 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12946 ln -sf $aros_kernel_ld$aros_host_exe_suffix ${prefix3}-ld
12948 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12956 ac_clean_files=$ac_clean_files_save
12958 test $ac_write_fail = 0 ||
12959 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
12962 # configure is writing to config.log, and then calls config.status.
12963 # config.status does its own redirection, appending to config.log.
12964 # Unfortunately, on DOS this fails, as config.log is still kept open
12965 # by configure, so config.status won't be able to
write to it
; its
12966 # output is simply discarded. So we exec the FD to /dev/null,
12967 # effectively closing config.log, so it can be properly (re)opened and
12968 # appended to by config.status. When coming back to configure, we
12969 # need to make the FD available again.
12970 if test "$no_create" != yes; then
12972 ac_config_status_args
=
12973 test "$silent" = yes &&
12974 ac_config_status_args
="$ac_config_status_args --quiet"
12976 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12978 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12979 # would make configure fail if this is the last instruction.
12980 $ac_cs_success || as_fn_exit $?
12982 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12984 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12989 #XXX compatability...
12990 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12992 if test -n "$aros_shared_cflags" ; then
12993 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12994 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg