2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x
; then
138 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required
="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev
/null
; then :
181 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
186 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir
=.
193 for as_base
in sh bash ksh sh5
; do
194 # Try only shells that exist, to save several forks.
195 as_shell
=$as_dir/$as_base
196 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
198 CONFIG_SHELL
=$as_shell as_have_required
=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
207 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
209 CONFIG_SHELL
=$SHELL as_have_required
=yes
214 if test "x$CONFIG_SHELL" != x
; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
224 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x
$as_have_required = xno
; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x
${ZSH_VERSION+set} = xset
; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL
=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE
= GREP_OPTIONS
=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir
=.
/$as_dir;;
293 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
297 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs
="'$as_qdir' $as_dirs"
301 as_dir
=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
327 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
362 as_val
=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status
=$1; test $as_status -eq 0 && as_status
=1
376 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit
$as_status
383 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
390 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
402 as_me
=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits
='0123456789'
426 as_cr_alnum
=$as_cr_Letters$as_cr_digits
429 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
430 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C
= ECHO_N
= ECHO_T
=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
473 rm -f conf$$ conf$$.exe conf$$.
file
474 if test -d conf$$.dir
; then
475 rm -f conf$$.dir
/conf$$.
file
478 mkdir conf$$.dir
2>/dev
/null
480 if (echo >conf$$.
file) 2>/dev
/null
; then
481 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
489 elif ln conf$$.
file conf$$
2>/dev
/null
; then
497 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
498 rmdir conf$$.dir
2>/dev
/null
500 if mkdir
-p .
2>/dev
/null
; then
501 as_mkdir_p
='mkdir -p "$as_dir"'
503 test -d .
/-p && rmdir .
/-p
507 if test -x / >/dev
/null
2>&1; then
510 if ls -dL / >/dev
/null
2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p
=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix
=/usr
/local
550 ac_config_libobj_dir
=.
557 # Identity of this package.
565 ac_unique_file
="mmakefile"
566 # Factoring default headers for most tests.
567 ac_includes_default
="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
603 ac_subst_vars
='LTLIBOBJS
605 ignore_undefined_symbols
621 aros_nesting_supervisor
626 aros_host_x11_libdirs
627 aros_host_x11_includes
631 aros_default_wbheight
638 aros_target_strip_flags
646 aros_kernel_objcflags
665 aros_target_cc_includes
679 aros_target_bootloader
708 aros_cflags_iquote_end
710 kernel_cflags_iquote_end
712 host_cflags_iquote_end
714 aros_target_nostdlib_ldflags
715 aros_target_detach_ldflags
716 aros_target_nix_ldflags
717 aros_target_nostartup_ldflags
718 aros_target_nostdinc_cflags
723 aros_target_ranlib_ln
724 aros_target_objdump_ln
725 aros_target_objcopy_ln
820 program_transform_name
833 enable_option_checking
842 enable_target_variant
857 enable_palm_debug_hack
858 enable_nesting_supervisor
870 ac_precious_vars
='build_alias
883 # Initialize some variables set by options.
885 ac_init_version
=false
886 ac_unrecognized_opts
=
888 # The variables have the same names as the options, with
889 # dashes changed to underlines.
897 program_transform_name
=s
,x
,x
,
905 # Installation directory options.
906 # These are left unexpanded so users can "make install exec_prefix=/foo"
907 # and all the variables that are supposed to be based on exec_prefix
908 # by default will actually change.
909 # Use braces instead of parens because sh, perl, etc. also accept them.
910 # (The list follows the same order as the GNU Coding Standards.)
911 bindir
='${exec_prefix}/bin'
912 sbindir
='${exec_prefix}/sbin'
913 libexecdir
='${exec_prefix}/libexec'
914 datarootdir
='${prefix}/share'
915 datadir
='${datarootdir}'
916 sysconfdir
='${prefix}/etc'
917 sharedstatedir
='${prefix}/com'
918 localstatedir
='${prefix}/var'
919 includedir
='${prefix}/include'
920 oldincludedir
='/usr/include'
921 docdir
='${datarootdir}/doc/${PACKAGE}'
922 infodir
='${datarootdir}/info'
927 libdir
='${exec_prefix}/lib'
928 localedir
='${datarootdir}/locale'
929 mandir
='${datarootdir}/man'
935 # If the previous option needs an argument, assign it.
936 if test -n "$ac_prev"; then
937 eval $ac_prev=\
$ac_option
943 *=?
*) 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-includes=dir Alternative system include directory
1518 --enable-palm-debug-hack
1519 Enable palm debug output hack
in palm native
1521 --enable-nesting-supervisor
1522 Enable nesting supervisor support
in unix
1524 --disable-mmu Disable MMU support
(default
=enabled
)
1525 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1526 --enable-x11-shm use X11 shared memory
(default
=auto
)
1527 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1528 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1529 --disable-sdltest Do not try to compile and run a
test SDL program
1530 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1533 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1534 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1535 --with-gcc-version=VERSION
1536 Use
host gcc-VERSION
for building AROS
1537 --with-optimization=FLAGS
1538 Use optimization flags FLAGS
(default
=-O2).
1539 --with-paranoia=FLAGS CC flags to
enable paranoia
1540 --with-xcode=PATH Specify XCode path
for iOS targets
1541 (default
=/Developer
).
1542 --with-ios-version=VERSION
1543 Specify minimum supported iOS version
(default
=3.0).
1544 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1545 --with-sdk=PATH Specify Android SDK path
1546 (default
=$default_android_sdk).
1547 --with-ndk=PATH Specify Android NDK path
1548 (default
=$default_android_ndk).
1549 --with-android-version=VERSION
1550 Use Android platform VERSION
(default
=2.2).
1551 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1552 --with-portssources=DIR Where to download sourcecode
for external ports
1553 --with-bootloader=NAME Use a specific bootloader
1554 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1555 --with-theme=NAME Use a specific GUI Theme
1556 --with-resolution=XRESxYRESxDEPTH
1557 Default resolution of the initial WorkbenchScreen
1558 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1559 --with-x use the X Window System
1560 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1561 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1563 Some influential environment variables
:
1564 CC C compiler
command
1565 CFLAGS C compiler flags
1566 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1567 nonstandard directory
<lib dir
>
1568 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1569 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1570 you have headers
in a nonstandard directory
<include dir
>
1572 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1574 Use these variables to override the choices made by
`configure' or to help
1575 it to find libraries and programs with nonstandard names/locations.
1577 Report bugs to the package provider.
1582 if test "$ac_init_help" = "recursive"; then
1583 # If there are subdirs, report their specific --help.
1584 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1585 test -d "$ac_dir" ||
1586 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1591 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1593 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1594 # A ".." for each directory in $ac_dir_suffix.
1595 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1596 case $ac_top_builddir_sub in
1597 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1598 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1601 ac_abs_top_builddir=$ac_pwd
1602 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1603 # for backward compatibility:
1604 ac_top_builddir=$ac_top_build_prefix
1607 .) # We are building in place.
1609 ac_top_srcdir=$ac_top_builddir_sub
1610 ac_abs_top_srcdir=$ac_pwd ;;
1611 [\\/]* | ?:[\\/]* ) # Absolute name.
1612 ac_srcdir=$srcdir$ac_dir_suffix;
1613 ac_top_srcdir=$srcdir
1614 ac_abs_top_srcdir=$srcdir ;;
1616 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1617 ac_top_srcdir=$ac_top_build_prefix$srcdir
1618 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1620 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1622 cd "$ac_dir" || { ac_status=$?; continue; }
1623 # Check for guested configure.
1624 if test -f "$ac_srcdir/configure.gnu"; then
1626 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1627 elif test -f "$ac_srcdir/configure"; then
1629 $SHELL "$ac_srcdir/configure" --help=recursive
1631 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1633 cd "$ac_pwd" || { ac_status=$?; break; }
1637 test -n "$ac_init_help" && exit $ac_status
1638 if $ac_init_version; then
1641 generated by GNU Autoconf 2.68
1643 Copyright (C) 2010 Free Software Foundation, Inc.
1644 This configure script is free software; the Free Software Foundation
1645 gives unlimited permission to copy, distribute and modify it.
1650 ## ------------------------ ##
1651 ## Autoconf initialization. ##
1652 ## ------------------------ ##
1654 # ac_fn_c_try_compile LINENO
1655 # --------------------------
1656 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1657 ac_fn_c_try_compile ()
1659 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1660 rm -f conftest.$ac_objext
1661 if { { ac_try="$ac_compile"
1663 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1664 *) ac_try_echo
=$ac_try;;
1666 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_compile") 2>conftest.err
1670 if test -s conftest.err
; then
1671 grep -v '^ *+' conftest.err
>conftest.er1
1672 cat conftest.er1
>&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } && {
1677 test -z "$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1679 } && test -s conftest.
$ac_objext; then :
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.
$ac_ext >&5
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1688 as_fn_set_status
$ac_retval
1690 } # ac_fn_c_try_compile
1692 # ac_fn_c_try_cpp LINENO
1693 # ----------------------
1694 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1697 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1698 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } > conftest.i && {
1714 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1724 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1725 as_fn_set_status $ac_retval
1729 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1730 # -------------------------------------------------------
1731 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1732 # the include files in INCLUDES and setting the cache variable VAR
1734 ac_fn_c_check_header_mongrel ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if eval \${$3+:} false; then :
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1739 $as_echo_n "checking for $2... " >&6; }
1740 if eval \${$3+:} false; then :
1741 $as_echo_n "(cached) " >&6
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1745 $as_echo "$ac_res" >&6; }
1747 # Is the header compilable?
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1749 $as_echo_n "checking $2 usability... " >&6; }
1750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1751 /* end confdefs.h. */
1755 if ac_fn_c_try_compile "$LINENO"; then :
1756 ac_header_compiler=yes
1758 ac_header_compiler=no
1760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1762 $as_echo "$ac_header_compiler" >&6; }
1764 # Is the header present?
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1766 $as_echo_n "checking $2 presence... " >&6; }
1767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768 /* end confdefs.h. */
1771 if ac_fn_c_try_cpp "$LINENO"; then :
1772 ac_header_preproc=yes
1774 ac_header_preproc=no
1776 rm -f conftest.err conftest.i conftest.$ac_ext
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1778 $as_echo "$ac_header_preproc" >&6; }
1780 # So? What about this header?
1781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1784 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1786 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1790 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1792 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1794 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1796 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1798 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \${$3+:} false; then :
1804 $as_echo_n "(cached) " >&6
1806 eval "$3=\$ac_header_compiler"
1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1810 $as_echo "$ac_res" >&6; }
1812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1814 } # ac_fn_c_check_header_mongrel
1816 # ac_fn_c_try_run LINENO
1817 # ----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1819 # that executables *can* be run.
1822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1823 if { { ac_try="$ac_link"
1825 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1826 *) ac_try_echo
=$ac_try;;
1828 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>&5
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1834 { { case "(($ac_try" in
1835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1836 *) ac_try_echo=$ac_try;;
1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1839 $as_echo "$ac_try_echo"; } >&5
1840 (eval "$ac_try") 2>&5
1842 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1843 test $ac_status = 0; }; }; then :
1846 $as_echo "$as_me: program exited with status $ac_status" >&5
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1850 ac_retval=$ac_status
1852 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1854 as_fn_set_status $ac_retval
1858 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1859 # -------------------------------------------------------
1860 # Tests whether HEADER exists and can be compiled using the include files in
1861 # INCLUDES, setting the cache variable VAR accordingly.
1862 ac_fn_c_check_header_compile ()
1864 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1866 $as_echo_n "checking for $2... " >&6; }
1867 if eval \${$3+:} false; then :
1868 $as_echo_n "(cached) " >&6
1870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1871 /* end confdefs.h. */
1875 if ac_fn_c_try_compile "$LINENO"; then :
1880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1884 $as_echo "$ac_res" >&6; }
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 } # ac_fn_c_check_header_compile
1889 # ac_fn_c_try_link LINENO
1890 # -----------------------
1891 # Try to link conftest.$ac_ext, and return whether this succeeded.
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 rm -f conftest.$ac_objext conftest$ac_exeext
1896 if { { ac_try="$ac_link"
1898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1899 *) ac_try_echo
=$ac_try;;
1901 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1902 $as_echo "$ac_try_echo"; } >&5
1903 (eval "$ac_link") 2>conftest.err
1905 if test -s conftest.err
; then
1906 grep -v '^ *+' conftest.err
>conftest.er1
1907 cat conftest.er1
>&5
1908 mv -f conftest.er1 conftest.err
1910 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911 test $ac_status = 0; } && {
1912 test -z "$ac_c_werror_flag" ||
1913 test ! -s conftest.err
1914 } && test -s conftest
$ac_exeext && {
1915 test "$cross_compiling" = yes ||
1916 $as_test_x conftest
$ac_exeext
1920 $as_echo "$as_me: failed program was:" >&5
1921 sed 's/^/| /' conftest.
$ac_ext >&5
1925 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1926 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1927 # interfere with the next link command; also delete a directory that is
1928 # left behind by Apple's compiler. We do this before executing the actions.
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 as_fn_set_status
$ac_retval
1933 } # ac_fn_c_try_link
1935 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1936 # ----------------------------------------------------
1937 # Tries to find if the field MEMBER exists in type AGGR, after including
1938 # INCLUDES, setting cache variable VAR accordingly.
1939 ac_fn_c_check_member
()
1941 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1943 $as_echo_n "checking for $2.$3... " >&6; }
1944 if eval \
${$4+:} false
; then :
1945 $as_echo_n "(cached) " >&6
1947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1948 /* end confdefs.h. */
1960 if ac_fn_c_try_compile
"$LINENO"; then :
1963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1970 if (sizeof ac_aggr.$3)
1976 if ac_fn_c_try_compile
"$LINENO"; then :
1981 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1983 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1987 $as_echo "$ac_res" >&6; }
1988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1990 } # ac_fn_c_check_member
1992 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1993 # ---------------------------------------------
1994 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1996 ac_fn_c_check_decl
()
1998 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1999 as_decl_name
=`echo $2|sed 's/ *(.*//'`
2000 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2002 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2003 if eval \
${$3+:} false
; then :
2004 $as_echo_n "(cached) " >&6
2006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2012 #ifndef $as_decl_name
2014 (void) $as_decl_use;
2016 (void) $as_decl_name;
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; ${as_lineno_stack:+:} 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 eval \
${$3+:} false
; 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; ${as_lineno_stack:+:} 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 eval \
${$3+:} false
; 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; ${as_lineno_stack:+:} 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.68. 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.
2273 $as_echo "## ---------------- ##
2274 ## Cache variables. ##
2275 ## ---------------- ##"
2277 # The following way of writing the cache mishandles newlines in values,
2279 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2280 eval ac_val=\$$ac_var
2284 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2285 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2288 _ | IFS | as_nl) ;; #(
2289 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2290 *) { eval $ac_var=; unset $ac_var;} ;;
2295 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2296 *${as_nl}ac_space=\ *)
2298 "s/'\''/'\''\\\\'\'''\''/g;
2299 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2309 $as_echo "## ----------------- ##
2310 ## Output variables. ##
2311 ## ----------------- ##"
2313 for ac_var in $ac_subst_vars
2315 eval ac_val=\$$ac_var
2317 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2319 $as_echo "$ac_var='\''$ac_val'\''"
2323 if test -n "$ac_subst_files"; then
2324 $as_echo "## ------------------- ##
2325 ## File substitutions. ##
2326 ## ------------------- ##"
2328 for ac_var
in $ac_subst_files
2330 eval ac_val
=\$
$ac_var
2332 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2334 $as_echo "$ac_var='\''$ac_val'\''"
2339 if test -s confdefs.h; then
2340 $as_echo "## ----------- ##
2347 test "$ac_signal" != 0 &&
2348 $as_echo "$as_me: caught signal $ac_signal"
2349 $as_echo "$as_me: exit $exit_status"
2351 rm -f core *.core core.conftest.* &&
2352 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2355 for ac_signal
in 1 2 13 15; do
2356 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2360 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2361 rm -f -r conftest
* confdefs.h
2363 $as_echo "/* confdefs.h */" > confdefs.h
2365 # Predefined preprocessor variables.
2367 cat >>confdefs.h
<<_ACEOF
2368 #define PACKAGE_NAME "$PACKAGE_NAME"
2371 cat >>confdefs.h
<<_ACEOF
2372 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2375 cat >>confdefs.h
<<_ACEOF
2376 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2379 cat >>confdefs.h
<<_ACEOF
2380 #define PACKAGE_STRING "$PACKAGE_STRING"
2383 cat >>confdefs.h
<<_ACEOF
2384 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2387 cat >>confdefs.h
<<_ACEOF
2388 #define PACKAGE_URL "$PACKAGE_URL"
2392 # Let the site file select an alternate cache file if it wants to.
2393 # Prefer an explicitly selected file to automatically selected ones.
2396 if test -n "$CONFIG_SITE"; then
2397 # We do not want a PATH search for config.site.
2398 case $CONFIG_SITE in #((
2399 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2400 */*) ac_site_file1
=$CONFIG_SITE;;
2401 *) ac_site_file1
=.
/$CONFIG_SITE;;
2403 elif test "x$prefix" != xNONE
; then
2404 ac_site_file1
=$prefix/share
/config.site
2405 ac_site_file2
=$prefix/etc
/config.site
2407 ac_site_file1
=$ac_default_prefix/share
/config.site
2408 ac_site_file2
=$ac_default_prefix/etc
/config.site
2410 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2412 test "x$ac_site_file" = xNONE
&& continue
2413 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2415 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2416 sed 's/^/| /' "$ac_site_file" >&5
2418 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2420 as_fn_error $?
"failed to load site script $ac_site_file
2421 See \`config.log' for more details" "$LINENO" 5; }
2425 if test -r "$cache_file"; then
2426 # Some versions of bash will fail to source /dev/null (special files
2427 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2428 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2430 $as_echo "$as_me: loading cache $cache_file" >&6;}
2432 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2433 *) .
"./$cache_file";;
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2438 $as_echo "$as_me: creating cache $cache_file" >&6;}
2442 as_fn_append ac_header_list
" stdlib.h"
2443 as_fn_append ac_header_list
" unistd.h"
2444 as_fn_append ac_header_list
" sys/param.h"
2445 # Check that the precious variables saved in the cache have kept the same
2447 ac_cache_corrupted
=false
2448 for ac_var
in $ac_precious_vars; do
2449 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2450 eval ac_new_set
=\
$ac_env_${ac_var}_set
2451 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2452 eval ac_new_val
=\
$ac_env_${ac_var}_value
2453 case $ac_old_set,$ac_new_set in
2455 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2456 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2457 ac_cache_corrupted
=: ;;
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2460 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2461 ac_cache_corrupted
=: ;;
2464 if test "x$ac_old_val" != "x$ac_new_val"; then
2465 # differences in whitespace do not lead to failure.
2466 ac_old_val_w
=`echo x $ac_old_val`
2467 ac_new_val_w
=`echo x $ac_new_val`
2468 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2470 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2471 ac_cache_corrupted
=:
2473 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2474 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2475 eval $ac_var=\
$ac_old_val
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2478 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2480 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2483 # Pass precious variables to config.status.
2484 if test "$ac_new_set" = set; then
2486 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2487 *) ac_arg
=$ac_var=$ac_new_val ;;
2489 case " $ac_configure_args " in
2490 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2491 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2495 if $ac_cache_corrupted; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2499 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2500 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2502 ## -------------------- ##
2503 ## Main body of script. ##
2504 ## -------------------- ##
2507 ac_cpp
='$CPP $CPPFLAGS'
2508 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2509 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2510 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2515 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2516 if test -f "$ac_dir/install-sh"; then
2518 ac_install_sh
="$ac_aux_dir/install-sh -c"
2520 elif test -f "$ac_dir/install.sh"; then
2522 ac_install_sh
="$ac_aux_dir/install.sh -c"
2524 elif test -f "$ac_dir/shtool"; then
2526 ac_install_sh
="$ac_aux_dir/shtool install -c"
2530 if test -z "$ac_aux_dir"; then
2531 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2534 # These three variables are undocumented and unsupported,
2535 # and are intended to be withdrawn in a future Autoconf release.
2536 # They can cause serious problems if a builder's source tree is in a directory
2537 # whose full name contains unusual characters.
2538 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2539 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2540 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2544 # Check what host we are running on.
2545 # If a target is not suggested, we use this one.
2546 # Note that what we call a target, Autoconf calls a host.
2547 # Make sure we can run config.sub.
2548 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2549 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2552 $as_echo_n "checking build system type... " >&6; }
2553 if ${ac_cv_build+:} false
; then :
2554 $as_echo_n "(cached) " >&6
2556 ac_build_alias
=$build_alias
2557 test "x$ac_build_alias" = x
&&
2558 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2559 test "x$ac_build_alias" = x
&&
2560 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2561 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2562 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2566 $as_echo "$ac_cv_build" >&6; }
2567 case $ac_cv_build in
2569 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2572 ac_save_IFS
=$IFS; IFS
='-'
2578 # Remember, the first character of IFS is used to create $*,
2579 # except with old shells:
2582 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2586 $as_echo_n "checking host system type... " >&6; }
2587 if ${ac_cv_host+:} false
; then :
2588 $as_echo_n "(cached) " >&6
2590 if test "x$host_alias" = x
; then
2591 ac_cv_host
=$ac_cv_build
2593 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2594 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2599 $as_echo "$ac_cv_host" >&6; }
2602 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2605 ac_save_IFS
=$IFS; IFS
='-'
2611 # Remember, the first character of IFS is used to create $*,
2612 # except with old shells:
2615 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2619 # The AROS target is slightly different to the normal GNU style
2620 # format. We don't have the middle part, and we reverse the order
2621 # of the $(CPU) and $(OS) bits.
2623 # Don't strip the version of the target yet, it might be
2624 # useful on some systems.
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2627 $as_echo_n "checking for AROS style target... " >&6; }
2629 if test "$target" = "NONE" ; then
2630 target
=$host_os-$host_cpu
2632 if test "$target" = "" ; then
2633 target
=$host_os-$host_cpu
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2637 $as_echo "$target" >&6; }
2639 if test "$host_os" = "mingw32" ; then
2643 #don't know where else to put this...
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2645 $as_echo_n "checking Building AROS in .. ... " >&6; }
2646 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2647 AROS_BUILDDIR_UNIX
=${PWD}
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2649 $as_echo "$AROS_BUILDDIR" >&6; }
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2652 $as_echo_n "checking AROS Source in .. ... " >&6; }
2653 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2656 $as_echo "$SRCDIR" >&6; }
2658 # Parse the target field into something useful.
2660 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2661 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2664 aros_default_wbwidth
=800
2665 aros_default_wbheight
=600
2666 aros_default_wbdepth
=4
2669 # The first step is to find the host binaries.
2670 # Check for a compiler.
2672 ac_cpp
='$CPP $CPPFLAGS'
2673 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2674 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2675 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2676 if test -n "$ac_tool_prefix"; then
2677 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2678 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2680 $as_echo_n "checking for $ac_word... " >&6; }
2681 if ${ac_cv_prog_CC+:} false
; then :
2682 $as_echo_n "(cached) " >&6
2684 if test -n "$CC"; then
2685 ac_cv_prog_CC
="$CC" # Let the user override the test.
2687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2691 test -z "$as_dir" && as_dir
=.
2692 for ac_exec_ext
in '' $ac_executable_extensions; do
2693 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2694 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2705 if test -n "$CC"; then
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2707 $as_echo "$CC" >&6; }
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2710 $as_echo "no" >&6; }
2715 if test -z "$ac_cv_prog_CC"; then
2717 # Extract the first word of "gcc", so it can be a program name with args.
2718 set dummy gcc
; ac_word
=$2
2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2720 $as_echo_n "checking for $ac_word... " >&6; }
2721 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2722 $as_echo_n "(cached) " >&6
2724 if test -n "$ac_ct_CC"; then
2725 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2727 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 test -z "$as_dir" && as_dir
=.
2732 for ac_exec_ext
in '' $ac_executable_extensions; do
2733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2734 ac_cv_prog_ac_ct_CC
="gcc"
2735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2744 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2745 if test -n "$ac_ct_CC"; then
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2747 $as_echo "$ac_ct_CC" >&6; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2750 $as_echo "no" >&6; }
2753 if test "x$ac_ct_CC" = x
; then
2756 case $cross_compiling:$ac_tool_warned in
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2760 ac_tool_warned
=yes ;;
2768 if test -z "$CC"; then
2769 if test -n "$ac_tool_prefix"; then
2770 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2771 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2773 $as_echo_n "checking for $ac_word... " >&6; }
2774 if ${ac_cv_prog_CC+:} false
; then :
2775 $as_echo_n "(cached) " >&6
2777 if test -n "$CC"; then
2778 ac_cv_prog_CC
="$CC" # Let the user override the test.
2780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir
=.
2785 for ac_exec_ext
in '' $ac_executable_extensions; do
2786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2787 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2798 if test -n "$CC"; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2800 $as_echo "$CC" >&6; }
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2803 $as_echo "no" >&6; }
2809 if test -z "$CC"; then
2810 # Extract the first word of "cc", so it can be a program name with args.
2811 set dummy cc
; ac_word
=$2
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2813 $as_echo_n "checking for $ac_word... " >&6; }
2814 if ${ac_cv_prog_CC+:} false
; then :
2815 $as_echo_n "(cached) " >&6
2817 if test -n "$CC"; then
2818 ac_cv_prog_CC
="$CC" # Let the user override the test.
2821 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2825 test -z "$as_dir" && as_dir
=.
2826 for ac_exec_ext
in '' $ac_executable_extensions; do
2827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2828 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2829 ac_prog_rejected
=yes
2833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 if test $ac_prog_rejected = yes; then
2841 # We found a bogon in the path, so make sure we never use it.
2842 set dummy
$ac_cv_prog_CC
2844 if test $# != 0; then
2845 # We chose a different compiler from the bogus one.
2846 # However, it has the same basename, so the bogon will be chosen
2847 # first if we set CC to just the basename; use the full file name.
2849 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2855 if test -n "$CC"; then
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2857 $as_echo "$CC" >&6; }
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2860 $as_echo "no" >&6; }
2865 if test -z "$CC"; then
2866 if test -n "$ac_tool_prefix"; then
2867 for ac_prog
in cl.exe
2869 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2870 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2872 $as_echo_n "checking for $ac_word... " >&6; }
2873 if ${ac_cv_prog_CC+:} false
; then :
2874 $as_echo_n "(cached) " >&6
2876 if test -n "$CC"; then
2877 ac_cv_prog_CC
="$CC" # Let the user override the test.
2879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2883 test -z "$as_dir" && as_dir
=.
2884 for ac_exec_ext
in '' $ac_executable_extensions; do
2885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2886 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 if test -n "$CC"; then
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2899 $as_echo "$CC" >&6; }
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2902 $as_echo "no" >&6; }
2906 test -n "$CC" && break
2909 if test -z "$CC"; then
2911 for ac_prog
in cl.exe
2913 # Extract the first word of "$ac_prog", so it can be a program name with args.
2914 set dummy
$ac_prog; ac_word
=$2
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916 $as_echo_n "checking for $ac_word... " >&6; }
2917 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2918 $as_echo_n "(cached) " >&6
2920 if test -n "$ac_ct_CC"; then
2921 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir
=.
2928 for ac_exec_ext
in '' $ac_executable_extensions; do
2929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2930 ac_cv_prog_ac_ct_CC
="$ac_prog"
2931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2940 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2941 if test -n "$ac_ct_CC"; then
2942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2943 $as_echo "$ac_ct_CC" >&6; }
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2946 $as_echo "no" >&6; }
2950 test -n "$ac_ct_CC" && break
2953 if test "x$ac_ct_CC" = x
; then
2956 case $cross_compiling:$ac_tool_warned in
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2960 ac_tool_warned
=yes ;;
2969 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2971 as_fn_error $?
"no acceptable C compiler found in \$PATH
2972 See \`config.log' for more details" "$LINENO" 5; }
2974 # Provide some information about the compiler.
2975 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2978 for ac_option
in --version -v -V -qversion; do
2979 { { ac_try
="$ac_compiler $ac_option >&5"
2981 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2982 *) ac_try_echo=$ac_try;;
2984 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2985 $as_echo "$ac_try_echo"; } >&5
2986 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2988 if test -s conftest.err; then
2990 ... rest of stderr output deleted ...
2991 10q' conftest.err >conftest.er1
2992 cat conftest.er1 >&5
2994 rm -f conftest.er1 conftest.err
2995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2996 test $ac_status = 0; }
2999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3000 /* end confdefs.h. */
3010 ac_clean_files_save=$ac_clean_files
3011 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3012 # Try to create an executable without -o first, disregard a.out.
3013 # It will help us diagnose broken compilers, and finding out an intuition
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3016 $as_echo_n "checking whether the C compiler works... " >&6; }
3017 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3019 # The possible output files:
3020 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3023 for ac_file in $ac_files
3026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3027 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3032 if { { ac_try="$ac_link_default"
3034 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3035 *) ac_try_echo
=$ac_try;;
3037 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_link_default") 2>&5
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; }; then :
3043 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3044 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3045 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3046 # so that the user can short-circuit this test for compilers unknown to
3048 for ac_file
in $ac_files ''
3050 test -f "$ac_file" ||
continue
3052 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3055 # We found the default executable, but exeext='' is most
3059 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3061 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3063 # We set ac_cv_exeext here because the later test for it is not
3064 # safe: cross compilers may not add the suffix if given an `-o'
3065 # argument, so we may need to know it at that point already.
3066 # Even if this section looks crufty: it has the advantage of
3073 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3078 if test -z "$ac_file"; then :
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3080 $as_echo "no" >&6; }
3081 $as_echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.
$ac_ext >&5
3084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 as_fn_error
77 "C compiler cannot create executables
3087 See \`config.log' for more details" "$LINENO" 5; }
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3090 $as_echo "yes" >&6; }
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3093 $as_echo_n "checking for C compiler default output file name... " >&6; }
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3095 $as_echo "$ac_file" >&6; }
3096 ac_exeext
=$ac_cv_exeext
3098 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3099 ac_clean_files
=$ac_clean_files_save
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3101 $as_echo_n "checking for suffix of executables... " >&6; }
3102 if { { ac_try
="$ac_link"
3104 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3105 *) ac_try_echo=$ac_try;;
3107 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3108 $as_echo "$ac_try_echo"; } >&5
3109 (eval "$ac_link") 2>&5
3111 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3112 test $ac_status = 0; }; then :
3113 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3114 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3115 # work properly (i.e., refer to `conftest.exe'), while it won't with
3117 for ac_file
in conftest.exe conftest conftest.
*; do
3118 test -f "$ac_file" ||
continue
3120 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3121 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3129 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3130 See \`config.log' for more details" "$LINENO" 5; }
3132 rm -f conftest conftest
$ac_cv_exeext
3133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3134 $as_echo "$ac_cv_exeext" >&6; }
3136 rm -f conftest.
$ac_ext
3137 EXEEXT
=$ac_cv_exeext
3139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3145 FILE *f = fopen ("conftest.out", "w");
3146 return ferror (f) || fclose (f) != 0;
3152 ac_clean_files
="$ac_clean_files conftest.out"
3153 # Check that the compiler produces executables we can run. If not, either
3154 # the compiler is broken, or we cross compile.
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3156 $as_echo_n "checking whether we are cross compiling... " >&6; }
3157 if test "$cross_compiling" != yes; then
3158 { { ac_try
="$ac_link"
3160 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3161 *) ac_try_echo=$ac_try;;
3163 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3164 $as_echo "$ac_try_echo"; } >&5
3165 (eval "$ac_link") 2>&5
3167 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3168 test $ac_status = 0; }
3169 if { ac_try='./conftest$ac_cv_exeext'
3170 { { case "(($ac_try" in
3171 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3172 *) ac_try_echo
=$ac_try;;
3174 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_try") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }; }; then
3182 if test "$cross_compiling" = maybe
; then
3185 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $?
"cannot run C compiled programs.
3188 If you meant to cross compile, use \`--host'.
3189 See \`config.log' for more details" "$LINENO" 5; }
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3194 $as_echo "$cross_compiling" >&6; }
3196 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3197 ac_clean_files
=$ac_clean_files_save
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3199 $as_echo_n "checking for suffix of object files... " >&6; }
3200 if ${ac_cv_objext+:} false
; then :
3201 $as_echo_n "(cached) " >&6
3203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3214 rm -f conftest.o conftest.obj
3215 if { { ac_try
="$ac_compile"
3217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3221 $as_echo "$ac_try_echo"; } >&5
3222 (eval "$ac_compile") 2>&5
3224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3225 test $ac_status = 0; }; then :
3226 for ac_file in conftest.o conftest.obj conftest.*; do
3227 test -f "$ac_file" || continue;
3229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3230 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3235 $as_echo "$as_me: failed program was:" >&5
3236 sed 's/^/| /' conftest.$ac_ext >&5
3238 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3239 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3240 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3241 See \
`config.log' for more details" "$LINENO" 5; }
3243 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3246 $as_echo "$ac_cv_objext" >&6; }
3247 OBJEXT=$ac_cv_objext
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3250 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3251 if ${ac_cv_c_compiler_gnu+:} false; then :
3252 $as_echo_n "(cached) " >&6
3254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3255 /* end confdefs.h. */
3268 if ac_fn_c_try_compile "$LINENO"; then :
3273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3274 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3278 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3279 if test $ac_compiler_gnu = yes; then
3284 ac_test_CFLAGS=${CFLAGS+set}
3285 ac_save_CFLAGS=$CFLAGS
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3287 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3288 if ${ac_cv_prog_cc_g+:} false; then :
3289 $as_echo_n "(cached) " >&6
3291 ac_save_c_werror_flag=$ac_c_werror_flag
3292 ac_c_werror_flag=yes
3295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3296 /* end confdefs.h. */
3306 if ac_fn_c_try_compile "$LINENO"; then :
3310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3311 /* end confdefs.h. */
3321 if ac_fn_c_try_compile "$LINENO"; then :
3324 ac_c_werror_flag=$ac_save_c_werror_flag
3326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3327 /* end confdefs.h. */
3337 if ac_fn_c_try_compile "$LINENO"; then :
3340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 ac_c_werror_flag=$ac_save_c_werror_flag
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3348 $as_echo "$ac_cv_prog_cc_g" >&6; }
3349 if test "$ac_test_CFLAGS" = set; then
3350 CFLAGS=$ac_save_CFLAGS
3351 elif test $ac_cv_prog_cc_g = yes; then
3352 if test "$GCC" = yes; then
3358 if test "$GCC" = yes; then
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3365 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3366 if ${ac_cv_prog_cc_c89+:} false; then :
3367 $as_echo_n "(cached) " >&6
3369 ac_cv_prog_cc_c89=no
3371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3372 /* end confdefs.h. */
3375 #include <sys/types.h>
3376 #include <sys/stat.h>
3377 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3378 struct buf { int x; };
3379 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3380 static char *e (p, i)
3386 static char *f (char * (*g) (char **, int), char **p, ...)
3391 s = g (p, va_arg (v,int));
3396 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3397 function prototypes and stuff, but not '\xHH' hex character constants.
3398 These don't provoke an error unfortunately, instead are silently treated
3399 as 'x'. The following induces an error, until -std is added to get
3400 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3401 array size at least. It's necessary to write '\x00'==0 to get something
3402 that's true only with -std. */
3403 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3405 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3406 inside strings and character constants. */
3408 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3410 int test (int i, double x);
3411 struct s1 {int (*f) (int a);};
3412 struct s2 {int (*f) (double a);};
3413 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3419 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3424 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3425 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3427 CC="$ac_save_CC $ac_arg"
3428 if ac_fn_c_try_compile "$LINENO"; then :
3429 ac_cv_prog_cc_c89=$ac_arg
3431 rm -f core conftest.err conftest.$ac_objext
3432 test "x$ac_cv_prog_cc_c89" != "xno" && break
3434 rm -f conftest.$ac_ext
3439 case "x$ac_cv_prog_cc_c89" in
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3442 $as_echo "none needed" >&6; } ;;
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3445 $as_echo "unsupported" >&6; } ;;
3447 CC="$CC $ac_cv_prog_cc_c89"
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3449 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3451 if test "x$ac_cv_prog_cc_c89" != xno; then :
3456 ac_cpp='$CPP $CPPFLAGS'
3457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3461 case $ac_cv_prog_cc_stdc in #(
3463 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3466 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3467 if ${ac_cv_prog_cc_c99+:} false; then :
3468 $as_echo_n "(cached) " >&6
3470 ac_cv_prog_cc_c99=no
3472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3473 /* end confdefs.h. */
3475 #include <stdbool.h>
3480 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3481 #define debug(...) fprintf (stderr, __VA_ARGS__)
3482 #define showlist(...) puts (#__VA_ARGS__)
3483 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3485 test_varargs_macros (void)
3490 debug ("X = %d\n", x);
3491 showlist (The first, second, and third items.);
3492 report (x>y, "x is %d but y is %d", x, y);
3495 // Check long long types.
3496 #define BIG64 18446744073709551615ull
3497 #define BIG32 4294967295ul
3498 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3500 your preprocessor is broken;
3504 your preprocessor is broken;
3506 static long long int bignum = -9223372036854775807LL;
3507 static unsigned long long int ubignum = BIG64;
3509 struct incomplete_array
3517 const wchar_t *name;
3521 typedef const char *ccp;
3524 test_restrict (ccp restrict text)
3526 // See if C++-style comments work.
3527 // Iterate through items via the restricted pointer.
3528 // Also check for declarations in for loops.
3529 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3534 // Check varargs and va_copy.
3536 test_varargs (const char *format, ...)
3539 va_start (args, format);
3541 va_copy (args_copy, args);
3552 str = va_arg (args_copy, const char *);
3555 number = va_arg (args_copy, int);
3558 fnumber = va_arg (args_copy, double);
3573 _Bool success = false;
3576 if (test_restrict ("String literal") == 0)
3578 char *restrict newvar = "Another string";
3581 test_varargs ("s, d' f .", "string", 65, 34.234);
3582 test_varargs_macros ();
3584 // Check flexible array members.
3585 struct incomplete_array *ia =
3586 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3588 for (int i = 0; i < ia->datasize; ++i)
3589 ia->data[i] = i * 1.234;
3591 // Check named initializers.
3592 struct named_init ni = {
3594 .name = L"Test wide string",
3595 .average = 543.34343,
3600 int dynamic_array[ni.number];
3601 dynamic_array[ni.number - 1] = 543;
3603 // work around unused variable warnings
3604 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3605 || dynamic_array[ni.number - 1] != 543);
3611 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3613 CC="$ac_save_CC $ac_arg"
3614 if ac_fn_c_try_compile "$LINENO"; then :
3615 ac_cv_prog_cc_c99=$ac_arg
3617 rm -f core conftest.err conftest.$ac_objext
3618 test "x$ac_cv_prog_cc_c99" != "xno" && break
3620 rm -f conftest.$ac_ext
3625 case "x$ac_cv_prog_cc_c99" in
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3628 $as_echo "none needed" >&6; } ;;
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3631 $as_echo "unsupported" >&6; } ;;
3633 CC="$CC $ac_cv_prog_cc_c99"
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3635 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3637 if test "x$ac_cv_prog_cc_c99" != xno; then :
3638 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3641 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3642 if ${ac_cv_prog_cc_c89+:} false; then :
3643 $as_echo_n "(cached) " >&6
3645 ac_cv_prog_cc_c89=no
3647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3648 /* end confdefs.h. */
3651 #include <sys/types.h>
3652 #include <sys/stat.h>
3653 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3654 struct buf { int x; };
3655 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3656 static char *e (p, i)
3662 static char *f (char * (*g) (char **, int), char **p, ...)
3667 s = g (p, va_arg (v,int));
3672 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3673 function prototypes and stuff, but not '\xHH' hex character constants.
3674 These don't provoke an error unfortunately, instead are silently treated
3675 as 'x'. The following induces an error, until -std is added to get
3676 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3677 array size at least. It's necessary to write '\x00'==0 to get something
3678 that's true only with -std. */
3679 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3681 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3682 inside strings and character constants. */
3684 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3686 int test (int i, double x);
3687 struct s1 {int (*f) (int a);};
3688 struct s2 {int (*f) (double a);};
3689 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3695 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3700 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3701 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3703 CC="$ac_save_CC $ac_arg"
3704 if ac_fn_c_try_compile "$LINENO"; then :
3705 ac_cv_prog_cc_c89=$ac_arg
3707 rm -f core conftest.err conftest.$ac_objext
3708 test "x$ac_cv_prog_cc_c89" != "xno" && break
3710 rm -f conftest.$ac_ext
3715 case "x$ac_cv_prog_cc_c89" in
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3718 $as_echo "none needed" >&6; } ;;
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3721 $as_echo "unsupported" >&6; } ;;
3723 CC="$CC $ac_cv_prog_cc_c89"
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3725 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3727 if test "x$ac_cv_prog_cc_c89" != xno; then :
3728 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3730 ac_cv_prog_cc_stdc=no
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3737 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3738 if ${ac_cv_prog_cc_stdc+:} false; then :
3739 $as_echo_n "(cached) " >&6
3742 case $ac_cv_prog_cc_stdc in #(
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3745 $as_echo "unsupported" >&6; } ;; #(
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3748 $as_echo "none needed" >&6; } ;; #(
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3751 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3755 ac_cpp='$CPP $CPPFLAGS'
3756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3760 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3761 # On Suns, sometimes $CPP names a directory.
3762 if test -n "$CPP" && test -d "$CPP"; then
3765 if test -z "$CPP"; then
3766 if ${ac_cv_prog_CPP+:} false; then :
3767 $as_echo_n "(cached) " >&6
3769 # Double quotes because CPP needs to be expanded
3770 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3773 for ac_c_preproc_warn_flag in '' yes
3775 # Use a header file that comes with gcc, so configuring glibc
3776 # with a fresh cross-compiler works.
3777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3778 # <limits.h> exists even on freestanding compilers.
3779 # On the NeXT, cc -E runs the code through the compiler's parser,
3780 # not just through cpp. "Syntax error" is here to catch this case.
3781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3782 /* end confdefs.h. */
3784 # include <limits.h>
3786 # include <assert.h>
3790 if ac_fn_c_try_cpp "$LINENO"; then :
3793 # Broken: fails on valid input.
3796 rm -f conftest.err conftest.i conftest.$ac_ext
3798 # OK, works on sane cases. Now check whether nonexistent headers
3799 # can be detected and how.
3800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3801 /* end confdefs.h. */
3802 #include <ac_nonexistent.h>
3804 if ac_fn_c_try_cpp "$LINENO"; then :
3805 # Broken: success on invalid input.
3808 # Passes both tests.
3812 rm -f conftest.err conftest.i conftest.$ac_ext
3815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3816 rm -f conftest.i conftest.err conftest.
$ac_ext
3817 if $ac_preproc_ok; then :
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3830 $as_echo "$CPP" >&6; }
3832 for ac_c_preproc_warn_flag
in '' yes
3834 # Use a header file that comes with gcc, so configuring glibc
3835 # with a fresh cross-compiler works.
3836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3837 # <limits.h> exists even on freestanding compilers.
3838 # On the NeXT, cc -E runs the code through the compiler's parser,
3839 # not just through cpp. "Syntax error" is here to catch this case.
3840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3841 /* end confdefs.h. */
3843 # include <limits.h>
3845 # include <assert.h>
3849 if ac_fn_c_try_cpp
"$LINENO"; then :
3852 # Broken: fails on valid input.
3855 rm -f conftest.err conftest.i conftest.
$ac_ext
3857 # OK, works on sane cases. Now check whether nonexistent headers
3858 # can be detected and how.
3859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3861 #include <ac_nonexistent.h>
3863 if ac_fn_c_try_cpp
"$LINENO"; then :
3864 # Broken: success on invalid input.
3867 # Passes both tests.
3871 rm -f conftest.err conftest.i conftest.
$ac_ext
3874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3875 rm -f conftest.i conftest.err conftest.
$ac_ext
3876 if $ac_preproc_ok; then :
3879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3881 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3882 See \`config.log' for more details" "$LINENO" 5; }
3886 ac_cpp
='$CPP $CPPFLAGS'
3887 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3888 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3889 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3892 # Check for a compatible awk
3893 for ac_prog
in gawk nawk
3895 # Extract the first word of "$ac_prog", so it can be a program name with args.
3896 set dummy
$ac_prog; ac_word
=$2
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3898 $as_echo_n "checking for $ac_word... " >&6; }
3899 if ${ac_cv_prog_AWK+:} false
; then :
3900 $as_echo_n "(cached) " >&6
3902 if test -n "$AWK"; then
3903 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir
=.
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3912 ac_cv_prog_AWK
="$ac_prog"
3913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 if test -n "$AWK"; then
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3925 $as_echo "$AWK" >&6; }
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3928 $as_echo "no" >&6; }
3932 test -n "$AWK" && break
3935 if test "$AWK" = ""; then
3936 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3938 # Extract the first word of "mmake", so it can be a program name with args.
3939 set dummy mmake
; ac_word
=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if ${ac_cv_prog_MMAKE+:} false
; then :
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$MMAKE"; then
3946 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_prog_MMAKE
="mmake "
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 MMAKE
=$ac_cv_prog_MMAKE
3966 if test -n "$MMAKE"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3968 $as_echo "$MMAKE" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3976 # Perform some default variable assignments. Note all of these will be
3977 # Regenerated from the script, so there is no need to cache them.
3980 if test "$GCC" = "yes"; then
3981 aros_gcc_ld
=`$CC -print-prog-name=ld`
3982 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3983 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3985 $as_echo_n "checking for $ac_word... " >&6; }
3986 if ${ac_cv_path_aros_host_ld+:} false
; then :
3987 $as_echo_n "(cached) " >&6
3989 case $aros_host_ld in
3991 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3995 for as_dir
in `dirname $aros_gcc_ld`
3998 test -z "$as_dir" && as_dir
=.
3999 for ac_exec_ext
in '' $ac_executable_extensions; do
4000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4001 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 aros_host_ld
=$ac_cv_path_aros_host_ld
4013 if test -n "$aros_host_ld"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4015 $as_echo "$aros_host_ld" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4023 if test "$aros_host_ld" = ""; then
4024 # Extract the first word of "ld", so it can be a program name with args.
4025 set dummy ld
; ac_word
=$2
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027 $as_echo_n "checking for $ac_word... " >&6; }
4028 if ${ac_cv_path_aros_host_ld+:} false
; then :
4029 $as_echo_n "(cached) " >&6
4031 case $aros_host_ld in
4033 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4040 test -z "$as_dir" && as_dir
=.
4041 for ac_exec_ext
in '' $ac_executable_extensions; do
4042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4043 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4054 aros_host_ld
=$ac_cv_path_aros_host_ld
4055 if test -n "$aros_host_ld"; then
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4057 $as_echo "$aros_host_ld" >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4065 if test "$aros_host_ld" = ""; then
4066 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4068 aros_host_make
="make"
4069 aros_host_cflags
=$CFLAGS
4070 aros_host_ldflags
=$LDFLAGS
4071 aros_host_debug
="-g -O0"
4072 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4073 aros_host_mkargs
="--no-print-directory"
4074 aros_host_incl
="/usr/include"
4075 aros_host_exe_suffix
="$EXEEXT"
4076 aros_host_lib_suffix
=""
4078 for ac_prog
in aclocal aclocal19 aclocal-1.9
4080 # Extract the first word of "$ac_prog", so it can be a program name with args.
4081 set dummy
$ac_prog; ac_word
=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_aros_host_aclocal+:} false
; then :
4085 $as_echo_n "(cached) " >&6
4087 if test -n "$aros_host_aclocal"; then
4088 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4094 test -z "$as_dir" && as_dir
=.
4095 for ac_exec_ext
in '' $ac_executable_extensions; do
4096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4097 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4107 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4108 if test -n "$aros_host_aclocal"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4110 $as_echo "$aros_host_aclocal" >&6; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4117 test -n "$aros_host_aclocal" && break
4120 for ac_prog
in autoconf autoconf259 autoconf253
4122 # Extract the first word of "$ac_prog", so it can be a program name with args.
4123 set dummy
$ac_prog; ac_word
=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if ${ac_cv_prog_aros_host_autoconf+:} false
; then :
4127 $as_echo_n "(cached) " >&6
4129 if test -n "$aros_host_autoconf"; then
4130 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4136 test -z "$as_dir" && as_dir
=.
4137 for ac_exec_ext
in '' $ac_executable_extensions; do
4138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4139 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4149 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4150 if test -n "$aros_host_autoconf"; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4152 $as_echo "$aros_host_autoconf" >&6; }
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4159 test -n "$aros_host_autoconf" && break
4162 for ac_prog
in autoheader autoheader259 autoheader253
4164 # Extract the first word of "$ac_prog", so it can be a program name with args.
4165 set dummy
$ac_prog; ac_word
=$2
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4167 $as_echo_n "checking for $ac_word... " >&6; }
4168 if ${ac_cv_prog_aros_host_autoheader+:} false
; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -n "$aros_host_autoheader"; then
4172 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4178 test -z "$as_dir" && as_dir
=.
4179 for ac_exec_ext
in '' $ac_executable_extensions; do
4180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4181 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4191 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4192 if test -n "$aros_host_autoheader"; then
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4194 $as_echo "$aros_host_autoheader" >&6; }
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4197 $as_echo "no" >&6; }
4201 test -n "$aros_host_autoheader" && break
4204 for ac_prog
in automake automake19 automake-1.9
4206 # Extract the first word of "$ac_prog", so it can be a program name with args.
4207 set dummy
$ac_prog; ac_word
=$2
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4209 $as_echo_n "checking for $ac_word... " >&6; }
4210 if ${ac_cv_prog_aros_host_automake+:} false
; then :
4211 $as_echo_n "(cached) " >&6
4213 if test -n "$aros_host_automake"; then
4214 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4220 test -z "$as_dir" && as_dir
=.
4221 for ac_exec_ext
in '' $ac_executable_extensions; do
4222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4223 ac_cv_prog_aros_host_automake
="$ac_prog"
4224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4233 aros_host_automake
=$ac_cv_prog_aros_host_automake
4234 if test -n "$aros_host_automake"; then
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4236 $as_echo "$aros_host_automake" >&6; }
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4239 $as_echo "no" >&6; }
4243 test -n "$aros_host_automake" && break
4247 if test "$aros_host_aclocal" = ""; then
4248 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4250 if test "$aros_host_automake" = ""; then
4251 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4254 case "$aros_host_cc" in
4256 aros_host_cc_pipe
="-pipe"
4259 aros_host_cc_pipe
=""
4262 aros_host_cc_pipe
=""
4266 aros_kernel_cc_includes
=""
4267 aros_target_cc_includes
=""
4269 # ----------------------------------------------------------------------------------------
4270 # Host-specific defaults
4272 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4273 # instead of a wrapper script.
4274 # Useful for non-ELF hosts (like Windows and Darwin).
4275 # Can also be overriden in target section below
4278 # This is the main host configuration section. It is where the host
4279 # can change the values of any variables it needs to change. We do
4280 # not look at anything that compiles to the target yet, we'll get
4285 aros_host_arch
="aros"
4286 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4289 aros_host_cpu
="i386"
4292 aros_host_cpu
="x86_64"
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4299 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4300 aros_host_cpu
="$host_cpu"
4306 aros_host_arch
="linux"
4307 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4310 aros_host_cpu
="i386"
4313 aros_host_cpu
="x86_64"
4316 aros_host_cpu
="m68k"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4326 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4327 aros_host_cpu
="$host_cpu"
4333 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4334 aros_host_make
="gmake"
4335 aros_host_arch
="freebsd"
4336 aros_host_cpu
="i386"
4338 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4342 aros_object_format
="elf_i386"
4346 aros_object_format
="elf_i386_fbsd"
4353 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4354 aros_host_arch
="darwin"
4356 android_build_os
="darwin-x86"
4357 android_tool
="android"
4358 default_android_sdk
="/android-sdk-mac_x86"
4359 default_android_ndk
="/android-ndk-r5b"
4362 aros_host_cpu
="i386"
4365 aros_host_cpu
="x86_64"
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4372 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4373 aros_host_cpu
="$host_cpu"
4377 aros_host_ldflags
="$aros_host_ldflags -liconv"
4382 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4383 aros_host_make
="gmake"
4384 aros_host_arch
="dragonfly"
4387 aros_host_cpu
="i386"
4390 aros_host_cpu
="x86_64"
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4394 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4395 aros_host_cpu
="$host_cpu"
4401 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4402 aros_host_make
="gmake"
4403 aros_host_arch
="netbsd"
4406 aros_host_cpu
="i386"
4409 aros_host_cpu
="m68k"
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4413 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4414 aros_host_cpu
="$host_cpu"
4417 aros_host_lib_suffix
=".0.0"
4421 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4422 aros_host_make
="gmake"
4423 aros_host_arch
="openbsd"
4426 aros_host_cpu
="i386"
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4430 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4431 aros_host_cpu
="$host_cpu"
4437 aros_host_arch
="solaris"
4438 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4441 aros_host_cpu
="i386"
4444 aros_host_cpu
="sparc"
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4448 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4449 aros_host_cpu
="$host_cpu"
4455 aros_host_arch
="morphos"
4460 aros_host_arch
="amiga"
4465 TOUCH
="/gg/bin/touch"
4468 aros_host_cpu
="m68k"
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4475 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4476 aros_host_cpu
="$host_cpu"
4482 aros_host_arch
="cygwin"
4484 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4485 android_build_os
="windows"
4486 android_tool
="android.bat"
4487 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4491 aros_host_cpu
="i386"
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4495 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4496 aros_host_cpu
="$host_cpu"
4502 aros_host_arch
="mingw32"
4504 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4505 android_build_os
="windows"
4506 android_tool
="android.bat"
4507 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4511 aros_host_cpu
="i386"
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4515 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4516 aros_host_cpu
="$host_cpu"
4521 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4525 # Extract the first word of "ar", so it can be a program name with args.
4526 set dummy
ar; ac_word
=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_aros_host_ar+:} false
; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$aros_host_ar"; then
4533 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542 ac_cv_prog_aros_host_ar
="ar cr"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 aros_host_ar
=$ac_cv_prog_aros_host_ar
4553 if test -n "$aros_host_ar"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4555 $as_echo "$aros_host_ar" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4562 if test "$aros_host_ar" = ""; then
4563 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4565 # Extract the first word of "ranlib", so it can be a program name with args.
4566 set dummy ranlib
; ac_word
=$2
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4568 $as_echo_n "checking for $ac_word... " >&6; }
4569 if ${ac_cv_prog_aros_host_ranlib+:} false
; then :
4570 $as_echo_n "(cached) " >&6
4572 if test -n "$aros_host_ranlib"; then
4573 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4579 test -z "$as_dir" && as_dir
=.
4580 for ac_exec_ext
in '' $ac_executable_extensions; do
4581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4582 ac_cv_prog_aros_host_ranlib
="ranlib "
4583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4592 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4593 if test -n "$aros_host_ranlib"; then
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4595 $as_echo "$aros_host_ranlib" >&6; }
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 $as_echo "no" >&6; }
4602 if test "$aros_host_ranlib" = ""; then
4603 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4605 # Extract the first word of "strip", so it can be a program name with args.
4606 set dummy strip
; ac_word
=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if ${ac_cv_prog_aros_host_strip+:} false
; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$aros_host_strip"; then
4613 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_aros_host_strip
="strip "
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4632 aros_host_strip
=$ac_cv_prog_aros_host_strip
4633 if test -n "$aros_host_strip"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4635 $as_echo "$aros_host_strip" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 if test "$aros_host_strip" = ""; then
4643 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4646 # Extract the first word of "rm", so it can be a program name with args.
4647 set dummy
rm; ac_word
=$2
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4649 $as_echo_n "checking for $ac_word... " >&6; }
4650 if ${ac_cv_prog_RM+:} false
; then :
4651 $as_echo_n "(cached) " >&6
4653 if test -n "$RM"; then
4654 ac_cv_prog_RM
="$RM" # Let the user override the test.
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_exec_ext
in '' $ac_executable_extensions; do
4662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4663 ac_cv_prog_RM
="rm -rf"
4664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 if test -n "$RM"; then
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4676 $as_echo "$RM" >&6; }
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4679 $as_echo "no" >&6; }
4683 if test "$RM" = ""; then
4684 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4686 # Extract the first word of "cp", so it can be a program name with args.
4687 set dummy
cp; ac_word
=$2
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4689 $as_echo_n "checking for $ac_word... " >&6; }
4690 if ${ac_cv_prog_CP+:} false
; then :
4691 $as_echo_n "(cached) " >&6
4693 if test -n "$CP"; then
4694 ac_cv_prog_CP
="$CP" # Let the user override the test.
4696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4700 test -z "$as_dir" && as_dir
=.
4701 for ac_exec_ext
in '' $ac_executable_extensions; do
4702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4714 if test -n "$CP"; then
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4716 $as_echo "$CP" >&6; }
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4719 $as_echo "no" >&6; }
4723 if test "$CP" = ""; then
4724 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4726 # Extract the first word of "mv", so it can be a program name with args.
4727 set dummy
mv; ac_word
=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if ${ac_cv_prog_MV+:} false
; then :
4731 $as_echo_n "(cached) " >&6
4733 if test -n "$MV"; then
4734 ac_cv_prog_MV
="$MV" # Let the user override the test.
4736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4740 test -z "$as_dir" && as_dir
=.
4741 for ac_exec_ext
in '' $ac_executable_extensions; do
4742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4754 if test -n "$MV"; then
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4756 $as_echo "$MV" >&6; }
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4759 $as_echo "no" >&6; }
4763 if test "$MV" = ""; then
4764 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4766 # Extract the first word of "echo", so it can be a program name with args.
4767 set dummy
echo; ac_word
=$2
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4769 $as_echo_n "checking for $ac_word... " >&6; }
4770 if ${ac_cv_prog_ECHO+:} false
; then :
4771 $as_echo_n "(cached) " >&6
4773 if test -n "$ECHO"; then
4774 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4776 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4780 test -z "$as_dir" && as_dir
=.
4781 for ac_exec_ext
in '' $ac_executable_extensions; do
4782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4783 ac_cv_prog_ECHO
="echo "
4784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4793 ECHO
=$ac_cv_prog_ECHO
4794 if test -n "$ECHO"; then
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4796 $as_echo "$ECHO" >&6; }
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4799 $as_echo "no" >&6; }
4803 if test "$ECHO" = ""; then
4804 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4806 # Extract the first word of "mkdir", so it can be a program name with args.
4807 set dummy mkdir
; ac_word
=$2
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4809 $as_echo_n "checking for $ac_word... " >&6; }
4810 if ${ac_cv_prog_MKDIR+:} false
; then :
4811 $as_echo_n "(cached) " >&6
4813 if test -n "$MKDIR"; then
4814 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4820 test -z "$as_dir" && as_dir
=.
4821 for ac_exec_ext
in '' $ac_executable_extensions; do
4822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4823 ac_cv_prog_MKDIR
="mkdir -p"
4824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4833 MKDIR
=$ac_cv_prog_MKDIR
4834 if test -n "$MKDIR"; then
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4836 $as_echo "$MKDIR" >&6; }
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4839 $as_echo "no" >&6; }
4843 if test "$MKDIR" = ""; then
4844 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4846 # Extract the first word of "touch", so it can be a program name with args.
4847 set dummy
touch; ac_word
=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_TOUCH+:} false
; then :
4851 $as_echo_n "(cached) " >&6
4853 if test -n "$TOUCH"; then
4854 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4860 test -z "$as_dir" && as_dir
=.
4861 for ac_exec_ext
in '' $ac_executable_extensions; do
4862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4863 ac_cv_prog_TOUCH
="touch "
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4873 TOUCH
=$ac_cv_prog_TOUCH
4874 if test -n "$TOUCH"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4876 $as_echo "$TOUCH" >&6; }
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 if test "$TOUCH" = ""; then
4884 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4886 # Extract the first word of "sort", so it can be a program name with args.
4887 set dummy
sort; ac_word
=$2
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4889 $as_echo_n "checking for $ac_word... " >&6; }
4890 if ${ac_cv_prog_SORT+:} false
; then :
4891 $as_echo_n "(cached) " >&6
4893 if test -n "$SORT"; then
4894 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4896 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4900 test -z "$as_dir" && as_dir
=.
4901 for ac_exec_ext
in '' $ac_executable_extensions; do
4902 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4903 ac_cv_prog_SORT
="sort "
4904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4913 SORT
=$ac_cv_prog_SORT
4914 if test -n "$SORT"; then
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4916 $as_echo "$SORT" >&6; }
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4919 $as_echo "no" >&6; }
4923 if test "$SORT" = ""; then
4924 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4926 # Extract the first word of "uniq", so it can be a program name with args.
4927 set dummy
uniq; ac_word
=$2
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4929 $as_echo_n "checking for $ac_word... " >&6; }
4930 if ${ac_cv_prog_UNIQ+:} false
; then :
4931 $as_echo_n "(cached) " >&6
4933 if test -n "$UNIQ"; then
4934 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4936 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4940 test -z "$as_dir" && as_dir
=.
4941 for ac_exec_ext
in '' $ac_executable_extensions; do
4942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4943 ac_cv_prog_UNIQ
="uniq "
4944 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 UNIQ
=$ac_cv_prog_UNIQ
4954 if test -n "$UNIQ"; then
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4956 $as_echo "$UNIQ" >&6; }
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 $as_echo "no" >&6; }
4963 if test "$UNIQ" = ""; then
4964 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4966 # Extract the first word of "true", so it can be a program name with args.
4967 set dummy true
; ac_word
=$2
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 $as_echo_n "checking for $ac_word... " >&6; }
4970 if ${ac_cv_prog_NOP+:} false
; then :
4971 $as_echo_n "(cached) " >&6
4973 if test -n "$NOP"; then
4974 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4980 test -z "$as_dir" && as_dir
=.
4981 for ac_exec_ext
in '' $ac_executable_extensions; do
4982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4983 ac_cv_prog_NOP
="true "
4984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 if test -n "$NOP"; then
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4996 $as_echo "$NOP" >&6; }
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4999 $as_echo "no" >&6; }
5003 if test "$NOP" = ""; then
5004 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
5006 # Extract the first word of "cat", so it can be a program name with args.
5007 set dummy
cat; ac_word
=$2
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5009 $as_echo_n "checking for $ac_word... " >&6; }
5010 if ${ac_cv_prog_CAT+:} false
; then :
5011 $as_echo_n "(cached) " >&6
5013 if test -n "$CAT"; then
5014 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5016 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5020 test -z "$as_dir" && as_dir
=.
5021 for ac_exec_ext
in '' $ac_executable_extensions; do
5022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5023 ac_cv_prog_CAT
="cat "
5024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5034 if test -n "$CAT"; then
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5036 $as_echo "$CAT" >&6; }
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5039 $as_echo "no" >&6; }
5043 if test "$CAT" = ""; then
5044 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5046 # Extract the first word of "bison", so it can be a program name with args.
5047 set dummy bison
; ac_word
=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if ${ac_cv_prog_BISON+:} false
; then :
5051 $as_echo_n "(cached) " >&6
5053 if test -n "$BISON"; then
5054 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5060 test -z "$as_dir" && as_dir
=.
5061 for ac_exec_ext
in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_BISON
="bison "
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 BISON
=$ac_cv_prog_BISON
5074 if test -n "$BISON"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5076 $as_echo "$BISON" >&6; }
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5083 if test "$BISON" = ""; then
5084 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5086 # Extract the first word of "flex", so it can be a program name with args.
5087 set dummy flex
; ac_word
=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if ${ac_cv_prog_FLEX+:} false
; then :
5091 $as_echo_n "(cached) " >&6
5093 if test -n "$FLEX"; then
5094 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 test -z "$as_dir" && as_dir
=.
5101 for ac_exec_ext
in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 ac_cv_prog_FLEX
="flex "
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5113 FLEX
=$ac_cv_prog_FLEX
5114 if test -n "$FLEX"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5116 $as_echo "$FLEX" >&6; }
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5123 if test "$FLEX" = ""; then
5124 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5126 # Extract the first word of "pngtopnm", so it can be a program name with args.
5127 set dummy pngtopnm
; ac_word
=$2
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5129 $as_echo_n "checking for $ac_word... " >&6; }
5130 if ${ac_cv_prog_PNGTOPNM+:} false
; then :
5131 $as_echo_n "(cached) " >&6
5133 if test -n "$PNGTOPNM"; then
5134 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5140 test -z "$as_dir" && as_dir
=.
5141 for ac_exec_ext
in '' $ac_executable_extensions; do
5142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5143 ac_cv_prog_PNGTOPNM
="pngtopnm "
5144 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5154 if test -n "$PNGTOPNM"; then
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5156 $as_echo "$PNGTOPNM" >&6; }
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5159 $as_echo "no" >&6; }
5163 if test "$PNGTOPNM" = ""; then
5164 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5166 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5167 set dummy ppmtoilbm
; ac_word
=$2
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5169 $as_echo_n "checking for $ac_word... " >&6; }
5170 if ${ac_cv_prog_PPMTOILBM+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5173 if test -n "$PPMTOILBM"; then
5174 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5180 test -z "$as_dir" && as_dir
=.
5181 for ac_exec_ext
in '' $ac_executable_extensions; do
5182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5183 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5194 if test -n "$PPMTOILBM"; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5196 $as_echo "$PPMTOILBM" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5199 $as_echo "no" >&6; }
5203 if test "$PPMTOILBM" = ""; then
5204 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5206 # Extract the first word of "sed", so it can be a program name with args.
5207 set dummy
sed; ac_word
=$2
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5209 $as_echo_n "checking for $ac_word... " >&6; }
5210 if ${ac_cv_prog_SED+:} false
; then :
5211 $as_echo_n "(cached) " >&6
5213 if test -n "$SED"; then
5214 ac_cv_prog_SED
="$SED" # Let the user override the test.
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_exec_ext
in '' $ac_executable_extensions; do
5222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5223 ac_cv_prog_SED
="sed "
5224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5234 if test -n "$SED"; then
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5236 $as_echo "$SED" >&6; }
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5239 $as_echo "no" >&6; }
5243 if test "$SED" = ""; then
5244 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5246 # Extract the first word of "chmod", so it can be a program name with args.
5247 set dummy
chmod; ac_word
=$2
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5249 $as_echo_n "checking for $ac_word... " >&6; }
5250 if ${ac_cv_prog_CHMOD+:} false
; then :
5251 $as_echo_n "(cached) " >&6
5253 if test -n "$CHMOD"; then
5254 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5260 test -z "$as_dir" && as_dir
=.
5261 for ac_exec_ext
in '' $ac_executable_extensions; do
5262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5263 ac_cv_prog_CHMOD
="chmod "
5264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5273 CHMOD
=$ac_cv_prog_CHMOD
5274 if test -n "$CHMOD"; then
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5276 $as_echo "$CHMOD" >&6; }
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5279 $as_echo "no" >&6; }
5283 if test "$CHMOD" = ""; then
5284 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5286 # Extract the first word of "patch", so it can be a program name with args.
5287 set dummy
patch; ac_word
=$2
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5289 $as_echo_n "checking for $ac_word... " >&6; }
5290 if ${ac_cv_prog_PATCH+:} false
; then :
5291 $as_echo_n "(cached) " >&6
5293 if test -n "$PATCH"; then
5294 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5300 test -z "$as_dir" && as_dir
=.
5301 for ac_exec_ext
in '' $ac_executable_extensions; do
5302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5303 ac_cv_prog_PATCH
="patch "
5304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 PATCH
=$ac_cv_prog_PATCH
5314 if test -n "$PATCH"; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5316 $as_echo "$PATCH" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5319 $as_echo "no" >&6; }
5323 if test "$PATCH" = ""; then
5324 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5331 if test -n "$PYTHON"; then
5332 # If the user set $PYTHON, use it and don't search something else.
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5334 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5335 prog
="import sys, string
5336 # split strings by '.' and convert to numeric. Append some zeros
5337 # because we need at least 4 digits for the hex conversion.
5338 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5340 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5341 sys.exit(sys.hexversion < minverhex)"
5342 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5343 ($PYTHON -c "$prog") >&5 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; then :
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5348 $as_echo "yes" >&6; }
5350 as_fn_error $?
"too old" "$LINENO" 5
5352 am_display_PYTHON
=$PYTHON
5354 # Otherwise, try each interpreter until we find one that satisfies
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5357 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5358 if ${am_cv_pathless_PYTHON+:} false
; then :
5359 $as_echo_n "(cached) " >&6
5362 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
5363 test "$am_cv_pathless_PYTHON" = none
&& break
5364 prog
="import sys, string
5365 # split strings by '.' and convert to numeric. Append some zeros
5366 # because we need at least 4 digits for the hex conversion.
5367 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5369 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5370 sys.exit(sys.hexversion < minverhex)"
5371 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5372 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); }; then :
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5381 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5382 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5383 if test "$am_cv_pathless_PYTHON" = none
; then
5386 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5387 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5389 $as_echo_n "checking for $ac_word... " >&6; }
5390 if ${ac_cv_path_PYTHON+:} false
; then :
5391 $as_echo_n "(cached) " >&6
5395 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5402 test -z "$as_dir" && as_dir
=.
5403 for ac_exec_ext
in '' $ac_executable_extensions; do
5404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5405 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5416 PYTHON
=$ac_cv_path_PYTHON
5417 if test -n "$PYTHON"; then
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5419 $as_echo "$PYTHON" >&6; }
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5422 $as_echo "no" >&6; }
5427 am_display_PYTHON
=$am_cv_pathless_PYTHON
5431 if test "$PYTHON" = :; then
5432 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5437 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5438 if ${am_cv_python_version+:} false
; then :
5439 $as_echo_n "(cached) " >&6
5441 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5444 $as_echo "$am_cv_python_version" >&6; }
5445 PYTHON_VERSION
=$am_cv_python_version
5449 PYTHON_PREFIX
='${prefix}'
5451 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5456 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5457 if ${am_cv_python_platform+:} false
; then :
5458 $as_echo_n "(cached) " >&6
5460 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5463 $as_echo "$am_cv_python_platform" >&6; }
5464 PYTHON_PLATFORM
=$am_cv_python_platform
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5470 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5471 if ${am_cv_python_pythondir+:} false
; then :
5472 $as_echo_n "(cached) " >&6
5474 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5475 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5478 $as_echo "$am_cv_python_pythondir" >&6; }
5479 pythondir
=$am_cv_python_pythondir
5483 pkgpythondir
=\
${pythondir}/$PACKAGE
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5487 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5488 if ${am_cv_python_pyexecdir+:} false
; then :
5489 $as_echo_n "(cached) " >&6
5491 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5492 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5495 $as_echo "$am_cv_python_pyexecdir" >&6; }
5496 pyexecdir
=$am_cv_python_pyexecdir
5500 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5518 # Check for some includes for the X11 HIDD and the kernel
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5522 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5523 if ${ac_cv_path_GREP+:} false
; then :
5524 $as_echo_n "(cached) " >&6
5526 if test -z "$GREP"; then
5527 ac_path_GREP_found
=false
5528 # Loop through the user's path and test for each of PROGNAME-LIST
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5530 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_prog
in grep ggrep
; do
5535 for ac_exec_ext
in '' $ac_executable_extensions; do
5536 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5537 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5538 # Check for GNU ac_path_GREP and select it if it is found.
5539 # Check for GNU $ac_path_GREP
5540 case `"$ac_path_GREP" --version 2>&1` in
5542 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5545 $as_echo_n 0123456789 >"conftest.in"
5548 cat "conftest.in" "conftest.in" >"conftest.tmp"
5549 mv "conftest.tmp" "conftest.in"
5550 cp "conftest.in" "conftest.nl"
5551 $as_echo 'GREP' >> "conftest.nl"
5552 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5553 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5554 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5555 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5556 # Best one so far, save it but keep looking for a better one
5557 ac_cv_path_GREP
="$ac_path_GREP"
5558 ac_path_GREP_max
=$ac_count
5560 # 10*(2^10) chars as input seems more than enough
5561 test $ac_count -gt 10 && break
5563 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5566 $ac_path_GREP_found && break 3
5571 if test -z "$ac_cv_path_GREP"; then
5572 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5575 ac_cv_path_GREP
=$GREP
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5580 $as_echo "$ac_cv_path_GREP" >&6; }
5581 GREP
="$ac_cv_path_GREP"
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5585 $as_echo_n "checking for egrep... " >&6; }
5586 if ${ac_cv_path_EGREP+:} false
; then :
5587 $as_echo_n "(cached) " >&6
5589 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5590 then ac_cv_path_EGREP
="$GREP -E"
5592 if test -z "$EGREP"; then
5593 ac_path_EGREP_found
=false
5594 # Loop through the user's path and test for each of PROGNAME-LIST
5595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5596 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5599 test -z "$as_dir" && as_dir
=.
5600 for ac_prog
in egrep; do
5601 for ac_exec_ext
in '' $ac_executable_extensions; do
5602 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5603 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5604 # Check for GNU ac_path_EGREP and select it if it is found.
5605 # Check for GNU $ac_path_EGREP
5606 case `"$ac_path_EGREP" --version 2>&1` in
5608 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5611 $as_echo_n 0123456789 >"conftest.in"
5614 cat "conftest.in" "conftest.in" >"conftest.tmp"
5615 mv "conftest.tmp" "conftest.in"
5616 cp "conftest.in" "conftest.nl"
5617 $as_echo 'EGREP' >> "conftest.nl"
5618 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5619 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5620 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5621 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5622 # Best one so far, save it but keep looking for a better one
5623 ac_cv_path_EGREP
="$ac_path_EGREP"
5624 ac_path_EGREP_max
=$ac_count
5626 # 10*(2^10) chars as input seems more than enough
5627 test $ac_count -gt 10 && break
5629 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5632 $ac_path_EGREP_found && break 3
5637 if test -z "$ac_cv_path_EGREP"; then
5638 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5641 ac_cv_path_EGREP
=$EGREP
5646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5647 $as_echo "$ac_cv_path_EGREP" >&6; }
5648 EGREP
="$ac_cv_path_EGREP"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5652 $as_echo_n "checking for ANSI C header files... " >&6; }
5653 if ${ac_cv_header_stdc+:} false
; then :
5654 $as_echo_n "(cached) " >&6
5656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5657 /* end confdefs.h. */
5671 if ac_fn_c_try_compile
"$LINENO"; then :
5672 ac_cv_header_stdc
=yes
5674 ac_cv_header_stdc
=no
5676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5678 if test $ac_cv_header_stdc = yes; then
5679 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5686 $EGREP "memchr" >/dev
/null
2>&1; then :
5689 ac_cv_header_stdc
=no
5695 if test $ac_cv_header_stdc = yes; then
5696 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5697 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5703 $EGREP "free" >/dev
/null
2>&1; then :
5706 ac_cv_header_stdc
=no
5712 if test $ac_cv_header_stdc = yes; then
5713 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5714 if test "$cross_compiling" = yes; then :
5717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5718 /* end confdefs.h. */
5721 #if ((' ' & 0x0FF) == 0x020)
5722 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5723 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5725 # define ISLOWER(c) \
5726 (('a' <= (c) && (c) <= 'i') \
5727 || ('j' <= (c) && (c) <= 'r') \
5728 || ('s' <= (c) && (c) <= 'z'))
5729 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5732 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5737 for (i = 0; i < 256; i++)
5738 if (XOR (islower (i), ISLOWER (i))
5739 || toupper (i) != TOUPPER (i))
5744 if ac_fn_c_try_run
"$LINENO"; then :
5747 ac_cv_header_stdc
=no
5749 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5750 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5756 $as_echo "$ac_cv_header_stdc" >&6; }
5757 if test $ac_cv_header_stdc = yes; then
5759 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5763 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5764 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5765 inttypes.h stdint.h unistd.h
5767 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5768 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5770 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5771 cat >>confdefs.h
<<_ACEOF
5772 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5780 for ac_header
in sys
/ipc.h sys
/shm.h \
5781 sys
/mmap.h sys
/mman.h sysexits.h \
5782 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5785 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5786 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5787 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5788 cat >>confdefs.h
<<_ACEOF
5789 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5797 for ac_header
in sys
/mount.h
5799 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5801 if test "x$ac_cv_header_sys_mount_h" = xyes
; then :
5802 cat >>confdefs.h
<<_ACEOF
5803 #define HAVE_SYS_MOUNT_H 1
5812 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5813 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5815 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5816 if eval \
${$as_ac_Header+:} false
; then :
5817 $as_echo_n "(cached) " >&6
5819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5820 /* end confdefs.h. */
5821 #include <sys/types.h>
5833 if ac_fn_c_try_compile
"$LINENO"; then :
5834 eval "$as_ac_Header=yes"
5836 eval "$as_ac_Header=no"
5838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5840 eval ac_res
=\$
$as_ac_Header
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5842 $as_echo "$ac_res" >&6; }
5843 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5844 cat >>confdefs.h
<<_ACEOF
5845 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5848 ac_header_dirent
=$ac_hdr; break
5852 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5853 if test $ac_header_dirent = dirent.h
; then
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5855 $as_echo_n "checking for library containing opendir... " >&6; }
5856 if ${ac_cv_search_opendir+:} false
; then :
5857 $as_echo_n "(cached) " >&6
5859 ac_func_search_save_LIBS
=$LIBS
5860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5861 /* end confdefs.h. */
5863 /* Override any GCC internal prototype to avoid an error.
5864 Use char because int might match the return type of a GCC
5865 builtin and then its argument prototype would still apply. */
5878 for ac_lib
in '' dir
; do
5879 if test -z "$ac_lib"; then
5880 ac_res
="none required"
5883 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5885 if ac_fn_c_try_link
"$LINENO"; then :
5886 ac_cv_search_opendir
=$ac_res
5888 rm -f core conftest.err conftest.
$ac_objext \
5890 if ${ac_cv_search_opendir+:} false
; then :
5894 if ${ac_cv_search_opendir+:} false
; then :
5897 ac_cv_search_opendir
=no
5900 LIBS
=$ac_func_search_save_LIBS
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5903 $as_echo "$ac_cv_search_opendir" >&6; }
5904 ac_res
=$ac_cv_search_opendir
5905 if test "$ac_res" != no
; then :
5906 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5912 $as_echo_n "checking for library containing opendir... " >&6; }
5913 if ${ac_cv_search_opendir+:} false
; then :
5914 $as_echo_n "(cached) " >&6
5916 ac_func_search_save_LIBS
=$LIBS
5917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5918 /* end confdefs.h. */
5920 /* Override any GCC internal prototype to avoid an error.
5921 Use char because int might match the return type of a GCC
5922 builtin and then its argument prototype would still apply. */
5935 for ac_lib
in '' x
; do
5936 if test -z "$ac_lib"; then
5937 ac_res
="none required"
5940 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5942 if ac_fn_c_try_link
"$LINENO"; then :
5943 ac_cv_search_opendir
=$ac_res
5945 rm -f core conftest.err conftest.
$ac_objext \
5947 if ${ac_cv_search_opendir+:} false
; then :
5951 if ${ac_cv_search_opendir+:} false
; then :
5954 ac_cv_search_opendir
=no
5957 LIBS
=$ac_func_search_save_LIBS
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5960 $as_echo "$ac_cv_search_opendir" >&6; }
5961 ac_res
=$ac_cv_search_opendir
5962 if test "$ac_res" != no
; then :
5963 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5970 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5971 if ${ac_cv_header_stat_broken+:} false
; then :
5972 $as_echo_n "(cached) " >&6
5974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5975 /* end confdefs.h. */
5976 #include <sys/types.h>
5977 #include <sys/stat.h>
5979 #if defined S_ISBLK && defined S_IFDIR
5980 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5983 #if defined S_ISBLK && defined S_IFCHR
5984 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5987 #if defined S_ISLNK && defined S_IFREG
5988 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5991 #if defined S_ISSOCK && defined S_IFREG
5992 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5996 if ac_fn_c_try_compile
"$LINENO"; then :
5997 ac_cv_header_stat_broken
=no
5999 ac_cv_header_stat_broken
=yes
6001 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
6004 $as_echo "$ac_cv_header_stat_broken" >&6; }
6005 if test $ac_cv_header_stat_broken = yes; then
6007 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6012 $as_echo_n "checking for ANSI C header files... " >&6; }
6013 if ${ac_cv_header_stdc+:} false
; then :
6014 $as_echo_n "(cached) " >&6
6016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6017 /* end confdefs.h. */
6031 if ac_fn_c_try_compile
"$LINENO"; then :
6032 ac_cv_header_stdc
=yes
6034 ac_cv_header_stdc
=no
6036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6038 if test $ac_cv_header_stdc = yes; then
6039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6041 /* end confdefs.h. */
6045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6046 $EGREP "memchr" >/dev
/null
2>&1; then :
6049 ac_cv_header_stdc
=no
6055 if test $ac_cv_header_stdc = yes; then
6056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6058 /* end confdefs.h. */
6062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6063 $EGREP "free" >/dev
/null
2>&1; then :
6066 ac_cv_header_stdc
=no
6072 if test $ac_cv_header_stdc = yes; then
6073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6074 if test "$cross_compiling" = yes; then :
6077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6078 /* end confdefs.h. */
6081 #if ((' ' & 0x0FF) == 0x020)
6082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6085 # define ISLOWER(c) \
6086 (('a' <= (c) && (c) <= 'i') \
6087 || ('j' <= (c) && (c) <= 'r') \
6088 || ('s' <= (c) && (c) <= 'z'))
6089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6097 for (i = 0; i < 256; i++)
6098 if (XOR (islower (i), ISLOWER (i))
6099 || toupper (i) != TOUPPER (i))
6104 if ac_fn_c_try_run
"$LINENO"; then :
6107 ac_cv_header_stdc
=no
6109 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6110 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6116 $as_echo "$ac_cv_header_stdc" >&6; }
6117 if test $ac_cv_header_stdc = yes; then
6119 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6124 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6125 if ${ac_cv_header_sys_wait_h+:} false
; then :
6126 $as_echo_n "(cached) " >&6
6128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6129 /* end confdefs.h. */
6130 #include <sys/types.h>
6131 #include <sys/wait.h>
6133 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6136 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6144 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6149 if ac_fn_c_try_compile
"$LINENO"; then :
6150 ac_cv_header_sys_wait_h
=yes
6152 ac_cv_header_sys_wait_h
=no
6154 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6157 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6158 if test $ac_cv_header_sys_wait_h = yes; then
6160 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6165 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6166 if ${ac_cv_header_time+:} false
; then :
6167 $as_echo_n "(cached) " >&6
6169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6170 /* end confdefs.h. */
6171 #include <sys/types.h>
6172 #include <sys/time.h>
6178 if ((struct tm *) 0)
6184 if ac_fn_c_try_compile
"$LINENO"; then :
6185 ac_cv_header_time
=yes
6187 ac_cv_header_time
=no
6189 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6192 $as_echo "$ac_cv_header_time" >&6; }
6193 if test $ac_cv_header_time = yes; then
6195 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6199 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6200 if test "x$ac_cv_member_struct_stat_st_blksize" = xyes
; then :
6202 cat >>confdefs.h
<<_ACEOF
6203 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6207 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6212 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6213 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
6215 cat >>confdefs.h
<<_ACEOF
6216 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6220 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6223 case " $LIBOBJS " in
6224 *" fileblocks.$ac_objext "* ) ;;
6225 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6232 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6233 if test "x$ac_cv_member_struct_stat_st_rdev" = xyes
; then :
6235 cat >>confdefs.h
<<_ACEOF
6236 #define HAVE_STRUCT_STAT_ST_RDEV 1
6240 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6246 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6247 if ${ac_cv_struct_tm+:} false
; then :
6248 $as_echo_n "(cached) " >&6
6250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6251 /* end confdefs.h. */
6252 #include <sys/types.h>
6259 int *p = &tm.tm_sec;
6265 if ac_fn_c_try_compile
"$LINENO"; then :
6266 ac_cv_struct_tm
=time.h
6268 ac_cv_struct_tm
=sys
/time.h
6270 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6273 $as_echo "$ac_cv_struct_tm" >&6; }
6274 if test $ac_cv_struct_tm = sys
/time.h
; then
6276 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6280 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6281 #include <$ac_cv_struct_tm>
6284 if test "x$ac_cv_member_struct_tm_tm_zone" = xyes
; then :
6286 cat >>confdefs.h
<<_ACEOF
6287 #define HAVE_STRUCT_TM_TM_ZONE 1
6293 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6295 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6298 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6300 if test "x$ac_cv_have_decl_tzname" = xyes
; then :
6306 cat >>confdefs.h
<<_ACEOF
6307 #define HAVE_DECL_TZNAME $ac_have_decl
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6311 $as_echo_n "checking for tzname... " >&6; }
6312 if ${ac_cv_var_tzname+:} false
; then :
6313 $as_echo_n "(cached) " >&6
6315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6316 /* end confdefs.h. */
6318 #if !HAVE_DECL_TZNAME
6319 extern char *tzname[];
6325 return tzname[0][0];
6330 if ac_fn_c_try_link
"$LINENO"; then :
6331 ac_cv_var_tzname
=yes
6335 rm -f core conftest.err conftest.
$ac_objext \
6336 conftest
$ac_exeext conftest.
$ac_ext
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6339 $as_echo "$ac_cv_var_tzname" >&6; }
6340 if test $ac_cv_var_tzname = yes; then
6342 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6347 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6348 if test "x$ac_cv_type_off_t" = xyes
; then :
6352 cat >>confdefs.h
<<_ACEOF
6353 #define off_t long int
6358 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6359 if test "x$ac_cv_type_pid_t" = xyes
; then :
6363 cat >>confdefs.h
<<_ACEOF
6369 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6370 if test "x$ac_cv_type_size_t" = xyes
; then :
6374 cat >>confdefs.h
<<_ACEOF
6375 #define size_t unsigned int
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6381 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6382 if ${ac_cv_type_uid_t+:} false
; then :
6383 $as_echo_n "(cached) " >&6
6385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6386 /* end confdefs.h. */
6387 #include <sys/types.h>
6390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6391 $EGREP "uid_t" >/dev
/null
2>&1; then :
6392 ac_cv_type_uid_t
=yes
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6400 $as_echo "$ac_cv_type_uid_t" >&6; }
6401 if test $ac_cv_type_uid_t = no
; then
6403 $as_echo "#define uid_t int" >>confdefs.h
6406 $as_echo "#define gid_t int" >>confdefs.h
6411 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6412 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = xyes
; then :
6414 cat >>confdefs.h
<<_ACEOF
6415 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6422 # Look for some functions
6423 for ac_func
in getpagesize kqueue statfs statvfs \
6424 clone kse_create rfork_thread thr_create sa_register \
6425 getcontext makecontext setcontext sigaltstack swapcontext
6427 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6428 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6429 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6430 cat >>confdefs.h
<<_ACEOF
6431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6441 for ac_header
in $ac_header_list
6443 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6444 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6446 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6447 cat >>confdefs.h
<<_ACEOF
6448 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6462 for ac_func
in getpagesize
6464 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6465 if test "x$ac_cv_func_getpagesize" = xyes
; then :
6466 cat >>confdefs.h
<<_ACEOF
6467 #define HAVE_GETPAGESIZE 1
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6474 $as_echo_n "checking for working mmap... " >&6; }
6475 if ${ac_cv_func_mmap_fixed_mapped+:} false
; then :
6476 $as_echo_n "(cached) " >&6
6478 if test "$cross_compiling" = yes; then :
6479 ac_cv_func_mmap_fixed_mapped
=no
6481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6482 /* end confdefs.h. */
6483 $ac_includes_default
6484 /* malloc might have been renamed as rpl_malloc. */
6487 /* Thanks to Mike Haertel and Jim Avera for this test.
6488 Here is a matrix of mmap possibilities:
6489 mmap private not fixed
6490 mmap private fixed at somewhere currently unmapped
6491 mmap private fixed at somewhere already mapped
6492 mmap shared not fixed
6493 mmap shared fixed at somewhere currently unmapped
6494 mmap shared fixed at somewhere already mapped
6495 For private mappings, we should verify that changes cannot be read()
6496 back from the file, nor mmap's back from the file at a different
6497 address. (There have been systems where private was not correctly
6498 implemented like the infamous i386 svr4.0, and systems where the
6499 VM page cache was not coherent with the file system buffer cache
6500 like early versions of FreeBSD and possibly contemporary NetBSD.)
6501 For shared mappings, we should conversely verify that changes get
6502 propagated back to all the places they're supposed to be.
6504 Grep wants private fixed already mapped.
6505 The main things grep needs to know about mmap are:
6506 * does it exist and is it safe to write into the mmap'd area
6507 * how to use it (BSD variants) */
6510 #include <sys/mman.h>
6512 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6516 /* This mess was copied from the GNU getpagesize.h. */
6517 #ifndef HAVE_GETPAGESIZE
6518 # ifdef _SC_PAGESIZE
6519 # define getpagesize() sysconf(_SC_PAGESIZE)
6520 # else /* no _SC_PAGESIZE */
6521 # ifdef HAVE_SYS_PARAM_H
6522 # include <sys/param.h>
6523 # ifdef EXEC_PAGESIZE
6524 # define getpagesize() EXEC_PAGESIZE
6525 # else /* no EXEC_PAGESIZE */
6527 # define getpagesize() NBPG * CLSIZE
6530 # endif /* no CLSIZE */
6531 # else /* no NBPG */
6533 # define getpagesize() NBPC
6534 # else /* no NBPC */
6536 # define getpagesize() PAGESIZE
6537 # endif /* PAGESIZE */
6538 # endif /* no NBPC */
6539 # endif /* no NBPG */
6540 # endif /* no EXEC_PAGESIZE */
6541 # else /* no HAVE_SYS_PARAM_H */
6542 # define getpagesize() 8192 /* punt totally */
6543 # endif /* no HAVE_SYS_PARAM_H */
6544 # endif /* no _SC_PAGESIZE */
6546 #endif /* no HAVE_GETPAGESIZE */
6551 char *data, *data2, *data3;
6556 pagesize = getpagesize ();
6558 /* First, make a file with some known garbage in it. */
6559 data = (char *) malloc (pagesize);
6562 for (i = 0; i < pagesize; ++i)
6563 *(data + i) = rand ();
6565 fd = creat ("conftest.mmap", 0600);
6568 if (write (fd, data, pagesize) != pagesize)
6572 /* Next, check that the tail of a page is zero-filled. File must have
6573 non-zero length, otherwise we risk SIGBUS for entire page. */
6574 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6578 if (write (fd2, cdata2, 1) != 1)
6580 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6581 if (data2 == MAP_FAILED)
6583 for (i = 0; i < pagesize; ++i)
6587 if (munmap (data2, pagesize))
6590 /* Next, try to mmap the file at a fixed address which already has
6591 something else allocated at it. If we can, also make sure that
6592 we see the same garbage. */
6593 fd = open ("conftest.mmap", O_RDWR);
6596 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6597 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6599 for (i = 0; i < pagesize; ++i)
6600 if (*(data + i) != *(data2 + i))
6603 /* Finally, make sure that changes to the mapped area do not
6604 percolate back to the file as seen by read(). (This is a bug on
6605 some variants of i386 svr4.0.) */
6606 for (i = 0; i < pagesize; ++i)
6607 *(data2 + i) = *(data2 + i) + 1;
6608 data3 = (char *) malloc (pagesize);
6611 if (read (fd, data3, pagesize) != pagesize)
6613 for (i = 0; i < pagesize; ++i)
6614 if (*(data + i) != *(data3 + i))
6620 if ac_fn_c_try_run
"$LINENO"; then :
6621 ac_cv_func_mmap_fixed_mapped
=yes
6623 ac_cv_func_mmap_fixed_mapped
=no
6625 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6626 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6631 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6632 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6634 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6637 rm -f conftest.mmap conftest.txt
6642 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6643 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6644 aros_config_ldflags
=""
6646 aros_shared_default
=yes
6648 aros_shared_cflags
="-fPIC"
6649 aros_shared_aflags
=""
6650 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6651 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6653 aros_target_ar_flags
="cr"
6654 aros_target_nm_flags
="-C -ul"
6655 aros_target_strip_flags
="--strip-unneeded -R.comment"
6660 aros_target_genmap
="-Wl,-Map -Xlinker"
6662 # Native flavour stuff
6663 aros_serial_debug
="0"
6665 # Palm native flavour stuff
6666 aros_palm_debug_hack
="0"
6668 # Unix flavour stuff
6669 aros_nesting_supervisor
="0"
6671 # Collect-aros stuff: "-ius" to ignore undefined symbols
6672 ignore_undefined_symbols
=""
6674 # Check for X11 by default
6677 #-----------------------------------------------------------------------------
6680 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6681 # it switched on by default, and we use the host compiler, so it compiles AROS
6682 # code with this enabled resulting in link failures as we don't have support
6685 # We use two methods to disable it. For the host compiler (used to compile
6686 # some hosted modules), we test to see if the compiler supports stack
6687 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6688 # work on all platforms.
6690 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6691 # (this is done unconditionally, as it should have no effect on compilers
6692 # without the stack protection feature). This may be specific to the way that
6693 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6694 # strong enough to disable it in a generic way though, so we'll live with it
6695 # until another vendor ships GCC with it enabled in a different way, and deal
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6700 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6701 save_cflags
="$CFLAGS"
6702 CFLAGS
="$CFLAGS -fno-stack-protector"
6703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6714 if ac_fn_c_try_compile
"$LINENO"; then :
6715 use_no_stack_protector
="yes"
6717 use_no_stack_protector
="no"
6719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6721 $as_echo "$use_no_stack_protector" >&6; }
6722 if test "x-$use_no_stack_protector" = "x-yes" ; then
6723 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6725 CFLAGS
="$save_cflags"
6727 #-----------------------------------------------------------------------------
6729 # Disable pointer-signedness warnings if the compiler recognises the option
6730 # (this only works for the host compiler at the moment)
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6733 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6734 save_cflags
="$CFLAGS"
6735 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h. */
6747 if ac_fn_c_try_compile
"$LINENO"; then :
6748 use_no_sign_warning
="yes"
6750 use_no_sign_warning
="no"
6752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6754 $as_echo "$use_no_sign_warning" >&6; }
6755 if test "x-$use_no_sign_warning" = "x-yes" ; then
6756 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6758 CFLAGS
="$save_cflags"
6760 #-----------------------------------------------------------------------------
6762 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6765 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6766 save_cflags
="$CFLAGS"
6767 CFLAGS
="$CFLAGS -fgnu89-inline"
6768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */
6779 if ac_fn_c_try_compile
"$LINENO"; then :
6780 use_gnu89_inline
="yes"
6782 use_gnu89_inline
="no"
6784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6786 $as_echo "$use_gnu89_inline" >&6; }
6787 if test "x-$use_gnu89_inline" = "x-yes" ; then
6788 gnu89_inline
="-fgnu89-inline"
6790 CFLAGS
="$save_cflags"
6792 #-----------------------------------------------------------------------------
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6795 $as_echo_n "checking for type of build... " >&6; }
6796 # Check whether --enable-build_type was given.
6797 if test "${enable_build_type+set}" = set; then :
6798 enableval
=$enable_build_type; build_type
=$enableval
6800 build_type
="personal"
6804 if test "$build_type" = "nightly"; then
6805 build_type_string
="NIGHTLY"
6806 elif test "$build_type" = "snapshot"; then
6807 build_type_string
="SNAPSHOT"
6808 elif test "$build_type" = "milestone"; then
6809 build_type_string
="MILESTONE"
6810 elif test "$build_type" = "release"; then
6811 build_type_string
="RELEASE"
6813 build_type_string
="PERSONAL"
6814 build_type
="personal"
6817 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6820 $as_echo "$build_type" >&6; }
6822 #-----------------------------------------------------------------------------
6823 all_debug_types
="messages stack modules mungwall symbols"
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6826 $as_echo_n "checking which debug types to enable... " >&6; }
6827 # Check whether --enable-debug was given.
6828 if test "${enable_debug+set}" = set; then :
6829 enableval
=$enable_debug; debug
="$enableval"
6835 if test "$debug" = "" -o "$debug" = "no"; then
6837 elif test "$debug" = "yes"; then
6841 if test "$debug" = "all" ; then
6842 debug
="messages stack modules symbols"
6843 for d
in $all_debug_types; do
6844 export aros_
${d}_debug
="1"
6847 for d
in $all_debug_types; do
6848 export aros_
${d}_debug
="0"
6852 if test "$debug" != "none"; then
6853 debug
=`echo $debug | sed s/,/\ /g`
6856 for d2
in $all_debug_types; do
6857 if test "$d2" = "$d"; then
6862 if test "$found" = "0"; then
6863 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6865 export aros_
${d}_debug
="1"
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6870 $as_echo "$debug" >&6; }
6872 if test "$aros_messages_debug" = "1"; then
6873 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6875 aros_messages_debug
=""
6877 if test "$aros_symbols_debug" = "1"; then
6878 aros_symbols_debug
="-g"
6880 aros_symbols_debug
=""
6883 # These are the flags to pass when compiling debugged programs
6884 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6885 aros_debug_aflags
=""
6886 aros_debug_ldflags
="$aros_symbols_debug"
6888 aros_crosstools
="no"
6890 #-----------------------------------------------------------------------------
6891 # Checking if we should build crosstools..
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6893 $as_echo_n "checking whether to build crosstools... " >&6; }
6894 # Check whether --enable-crosstools was given.
6895 if test "${enable_crosstools+set}" = set; then :
6896 enableval
=$enable_crosstools; crosstools
="$enableval"
6901 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6903 $as_echo "yes" >&6; }
6904 aros_crosstools
="yes"
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6907 $as_echo "no" >&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 ${ac_cv_path_DISTCC+:} false
; 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 ${ac_cv_prog_CCACHE+:} false
; 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_paranoia_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 target_tool_prefix
=${target_cpu}-elf-
7114 #-----------------------------------------------------------------------------
7115 # Additional options for some specific targets
7117 case "$aros_target_variant" in
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7120 $as_echo_n "checking XCode path... " >&6; }
7122 # Check whether --with-xcode was given.
7123 if test "${with_xcode+set}" = set; then :
7124 withval
=$with_xcode; aros_xcode_path
="$withval"
7126 aros_xcode_path
="/Developer"
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7130 $as_echo "$aros_xcode_path" >&6; }
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7133 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7135 # Check whether --with-ios-version was given.
7136 if test "${with_ios_version+set}" = set; then :
7137 withval
=$with_ios_version; aros_ios_version
="$withval"
7139 aros_ios_version
="3.0"
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7143 $as_echo "$aros_ios_version" >&6; }
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7146 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7148 # Check whether --with-ios-sdk was given.
7149 if test "${with_ios_sdk+set}" = set; then :
7150 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7156 $as_echo "$aros_ios_sdk" >&6; }
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7162 $as_echo_n "checking Android SDK path... " >&6; }
7164 # Check whether --with-sdk was given.
7165 if test "${with_sdk+set}" = set; then :
7166 withval
=$with_sdk; aros_android_sdk
="$withval"
7168 aros_android_sdk
=$default_android_sdk
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7172 $as_echo "$aros_android_sdk" >&6; }
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7175 $as_echo_n "checking Android NDK path... " >&6; }
7177 # Check whether --with-ndk was given.
7178 if test "${with_ndk+set}" = set; then :
7179 withval
=$with_ndk; aros_android_ndk
="$withval"
7181 aros_android_ndk
="$default_android_ndk"
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7185 $as_echo "$aros_android_ndk" >&6; }
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android version to use" >&5
7188 $as_echo_n "checking what Android version to use... " >&6; }
7190 # Check whether --with-android-version was given.
7191 if test "${with_android_version+set}" = set; then :
7192 withval
=$with_android_version; aros_android_version
="$withval"
7194 aros_android_version
="2.2"
7197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_version" >&5
7198 $as_echo "$aros_android_version" >&6; }
7200 export PATH
="$aros_android_sdk/tools:$PATH"
7201 # Extract the first word of "$android_tool", so it can be a program name with args.
7202 set dummy
$android_tool; ac_word
=$2
7203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7204 $as_echo_n "checking for $ac_word... " >&6; }
7205 if ${ac_cv_path_android_tool+:} false
; then :
7206 $as_echo_n "(cached) " >&6
7208 case $android_tool in
7210 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7217 test -z "$as_dir" && as_dir
=.
7218 for ac_exec_ext
in '' $ac_executable_extensions; do
7219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7220 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7231 android_tool
=$ac_cv_path_android_tool
7232 if test -n "$android_tool"; then
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7234 $as_echo "$android_tool" >&6; }
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7237 $as_echo "no" >&6; }
7241 if test "$android_tool" = ""; then
7242 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7245 if test $host_os = "mingw32"; then
7246 android_tool
="cmd //c $android_tool"
7252 #-----------------------------------------------------------------------------
7253 # This is the target configuration switch.
7254 case "$target_os" in
7256 aros_target_arch
="linux"
7257 aros_target_family
="unix"
7258 case "$target_cpu" in
7260 aros_target_cpu
="m68k"
7261 aros_object_format
="m68kelf"
7262 aros_flavour
="emulcompat"
7263 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7264 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7265 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7266 gcc_target_cpu
="mc68000"
7269 aros_target_cpu
="i386"
7270 aros_object_format
="elf_i386"
7271 aros_flavour
="emulation"
7272 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7273 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7274 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7275 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7276 aros_config_ldflags
="-m32 -march=i486"
7277 aros_kernel_ldflags
="-melf_i386"
7278 aros_default_wbdepth
=8
7279 gcc_target_cpu
="i386"
7280 pci_hidd_target
="hidd-pci-linux"
7283 aros_target_cpu
="x86_64"
7284 aros_object_format
="elf_x86_64"
7285 aros_flavour
="emulation"
7286 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7287 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7288 aros_default_wbdepth
=8
7289 pci_hidd_target
="hidd-pci-linux"
7292 aros_target_cpu
="ppc"
7293 aros_object_format
="elf32ppc"
7294 aros_flavour
="emulation"
7295 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7296 aros_default_wbdepth
=8
7297 gcc_target_cpu
="ppc"
7300 # Same as powerpc, but I need this for the nightly build to work again.
7301 # Actually, the nightly should be made working with powerpc target.
7302 # That just was too much work for the moment, another week or two.
7304 aros_target_cpu
="ppc"
7305 aros_object_format
="elf32ppc"
7306 aros_flavour
="emulation"
7307 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7308 aros_default_wbdepth
=8
7309 gcc_target_cpu
="ppc"
7312 aros_target_cpu
="arm"
7313 aros_object_format
="armelf_linux_eabi"
7314 aros_flavour
="emulation"
7315 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7316 gcc_target_cpu
="arm"
7317 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7318 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7319 aros_arch_libs
="-laeabi"
7322 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7325 case "$aros_target_variant" in
7327 case "$aros_android_version" in
7329 aros_android_level
=android-8
7332 aros_android_level
=android-9
7335 aros_default_wbwidth
=320
7336 aros_default_wbheight
=480
7338 if test "$aros_android_ndk" = ""; then
7339 aros_kernel_cflags
="-mandroid"
7340 aros_kernel_ldflags
="-mandroid"
7343 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7344 aros_android_ndk
="$aros_android_ndk/platforms/$aros_android_level/arch-arm"
7345 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7346 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7347 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7348 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7351 target_tool_prefix
="arm-linux-androideabi-"
7357 aros_target_arch
="pc"
7358 aros_shared_default
="no"
7359 target_bootloader
="grub2"
7360 case "$target_cpu" in
7362 aros_target_cpu
="i386"
7365 if test "$aros_object_format" = "" ; then
7366 aros_object_format
="elf_i386"
7368 aros_flavour
="standalone"
7369 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7370 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7371 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7372 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7373 aros_config_ldflags
="-m32 -march=i486"
7374 aros_kernel_ldflags
="-melf_i386"
7375 aros_default_wbwidth
=640
7376 aros_default_wbheight
=480
7377 gcc_target_cpu
="i386"
7380 aros_target_cpu
="x86_64"
7382 if test "$aros_object_format" = "" ; then
7383 aros_object_format
="elf_x86_64"
7385 aros_flavour
="standalone"
7386 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7387 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7388 aros_kernel_ldflags
=""
7389 aros_default_wbwidth
=640
7390 aros_default_wbheight
=480
7393 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7399 aros_target_arch
="prep"
7400 aros_shared_default
="no"
7401 aros_target_cpu
="ppc"
7402 aros_object_format
="elf32ppc"
7403 aros_flavour
="ppcnative"
7404 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7405 aros_kernel_ldflags
=""
7406 aros_default_wbwidth
=640
7407 aros_default_wbheight
=480
7408 gcc_target_cpu
="ppc"
7412 aros_target_arch
="freebsd"
7413 aros_target_family
="unix"
7414 aros_target_cpu
="i386"
7415 aros_flavour
="emulation"
7416 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7417 gcc_target_cpu
="i386"
7419 aros_target_strip_flags
="-x"
7423 aros_target_arch
="darwin"
7424 aros_target_family
="unix"
7425 aros_flavour
="emulation"
7426 case "$target_cpu" in
7428 aros_ios_platform
="iPhoneSimulator"
7429 aros_target_cpu
="i386"
7430 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7431 aros_kernel_ldflags
=""
7432 aros_macosx_version
="10.4"
7433 aros_default_wbdepth
=8
7434 gcc_target_cpu
="i386"
7435 aros_object_format
="elf_i386"
7436 aros_target_strip_flags
="-x"
7437 target_tool_prefix
="i686-apple-darwin10-"
7438 target_tool_flags
="-m32"
7441 aros_target_cpu
="x86_64"
7442 aros_object_format
="elf_x86_64"
7443 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7444 aros_macosx_version
="10.6"
7445 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7446 aros_kernel_cflags
="-m64"
7447 aros_kernel_ldflags
="-m64"
7448 aros_target_cflags
="-mcmodel=large"
7449 aros_default_wbdepth
=8
7451 target_tool_prefix
="i686-apple-darwin10-"
7454 aros_target_cpu
="ppc"
7455 aros_object_format
="elf32ppc"
7456 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7457 aros_kernel_ldflags
=""
7458 aros_macosx_version
="10.0"
7459 aros_default_wbdepth
=8
7460 gcc_target_cpu
="ppc"
7461 aros_kernel_ld
="ld -arch ppc"
7462 target_tool_prefix
="powerpc-apple-darwin10-"
7465 aros_ios_platform
="iPhoneOS"
7466 aros_target_cpu
="arm"
7467 aros_object_format
="armelf_linux_eabi"
7468 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7469 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7470 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7471 aros_arch_libs
="-laeabi"
7472 aros_default_wbdepth
=8
7473 gcc_target_cpu
="arm"
7474 target_tool_prefix
="arm-apple-darwin10-"
7475 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7478 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7481 case "$aros_target_variant" in
7483 aros_default_wbwidth
=320
7484 aros_default_wbheight
=480
7485 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7486 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
7487 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7489 # This is here because it may depend on iOS or SDK version
7490 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7491 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7492 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7495 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7496 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7502 aros_target_arch
="dragonfly"
7503 aros_target_family
="unix"
7504 aros_flavour
="emulation"
7505 case "$target_cpu" in
7507 aros_target_cpu
="i386"
7508 aros_object_format
="elf_i386"
7509 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7512 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7513 aros_target_cpu
="x86_64"
7514 aros_object_format
="elf_x86_64"
7515 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7518 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7524 aros_target_arch
="netbsd"
7525 aros_target_family
="unix"
7526 case "$target_cpu" in
7528 aros_target_cpu
="m68k"
7529 aros_object_format
="m68kelf"
7530 aros_flavour
="emulcompat"
7531 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7532 gcc_target_cpu
="mc68000"
7535 aros_target_cpu
="i386"
7536 aros_object_format
="elf_i386"
7537 aros_flavour
="emulation"
7538 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7539 aros_default_wbdepth
=8
7540 gcc_target_cpu
="i386"
7543 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7546 aros_target_genmap
="-Wl,-M -Xlinker >"
7547 aros_flavour
="emulation"
7548 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7552 aros_target_arch
="openbsd"
7553 aros_target_family
="unix"
7554 case "$target_cpu" in
7556 aros_target_cpu
="i386"
7557 aros_object_format
="elf_i386"
7558 aros_flavour
="emulation"
7559 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7560 gcc_target_cpu
="i386"
7563 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7566 aros_target_genmap
="-Wl,-M -Xlinker >"
7567 aros_target_nm_flags
="-u"
7568 aros_flavour
="emulation"
7572 aros_target_arch
="solaris"
7573 aros_target_family
="unix"
7574 case "$target_cpu" in
7576 aros_target_cpu
="i386"
7577 aros_object_format
="elf_i386"
7578 aros_flavour
="emulation"
7579 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7580 aros_default_wbdepth
=8
7581 gcc_target_cpu
="i386"
7584 aros_target_cpu
="sparc"
7585 aros_object_format
="elf_sparc"
7586 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7587 gcc_target_cpu
="sparc"
7590 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7593 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7594 aros_flavour
="emulation"
7598 aros_target_arch
="morphos"
7599 aros_shared_default
="no"
7600 aros_target_cpu
="ppc"
7601 aros_object_format
="elf_ppc"
7602 aros_flavour
="nativecompat"
7603 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7604 gcc_target_cpu
="ppc"
7608 aros_target_arch
="sam440"
7609 aros_shared_default
="no"
7610 aros_target_cpu
="ppc"
7611 aros_object_format
="elf32ppc"
7612 aros_flavour
="ppcnative"
7613 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7614 aros_kernel_ldflags
=""
7615 aros_default_wbwidth
=1024
7616 aros_default_wbheight
=768
7617 aros_default_wbdepth
=24
7618 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7619 gcc_target_cpu
="powerpc"
7623 aros_target_arch
="efika"
7624 aros_shared_default
="no"
7625 aros_target_cpu
="arm"
7626 aros_object_format
="armelf_linux_eabi"
7627 aros_flavour
="standalone"
7628 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7629 aros_kernel_ldflags
=""
7630 aros_default_wbwidth
=1024
7631 aros_default_wbheight
=600
7632 aros_arch_libs
="-laeabi"
7633 aros_config_cflags
="$aros_config_cflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7634 aros_config_aflags
="$aros_config_aflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7638 aros_target_arch
="chrp"
7639 aros_shared_default
="no"
7640 aros_target_cpu
="ppc"
7641 aros_object_format
="elf32ppc"
7642 aros_flavour
="ppcnative"
7643 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7644 aros_kernel_ldflags
=""
7645 aros_default_wbwidth
=640
7646 aros_default_wbheight
=480
7647 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7648 gcc_target_cpu
="powerpc"
7649 case "$aros_target_variant" in
7651 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7657 aros_target_arch
="amiga"
7658 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7659 aros_shared_default
="no"
7661 case "$target_cpu" in
7664 aros_target_cpu
="m68k"
7665 aros_object_format
="m68kelf"
7666 aros_flavour
="standcompat"
7667 gcc_target_cpu
="m68000"
7668 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -DAROS_DOS_PACKETS"
7669 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7670 aros_paranoia_cflags
="$aros_paranoia_cflags -Wno-volatile-register-var"
7671 aros_debug_cflags
="$aros_debug_cflags -Wall -Wno-volatile-register-var"
7672 target_tool_prefix
="m68k-elf-"
7673 # Needed to get the correct multilib
7674 aros_config_ldflags
="-${gcc_target_cpu}"
7675 aros_shared_ldflags
="-${gcc_target_cpu}"
7676 aros_kernel_ldflags
="-${gcc_target_cpu}"
7677 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7678 aros_target_strip_flags
="-R.comment --strip-debug"
7679 aros_default_wbwidth
=640
7680 aros_default_wbheight
=256
7681 aros_default_wbdepth
=2
7685 aros_flavour
="native"
7686 gcc_target_cpu
="ppc"
7689 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7695 aros_target_arch
="mingw32"
7696 aros_shared_default
="no"
7697 aros_flavour
="emulation"
7698 aros_shared_cflags
=""
7701 case "$target_cpu" in
7703 aros_target_cpu
="i386"
7704 aros_object_format
="elf_i386"
7705 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7706 aros_default_wbdepth
=8
7707 gcc_target_cpu
="i386"
7709 aros_target_as
="i386-aros-as"
7710 aros_target_ar
="i386-aros-ar"
7711 aros_target_ranlib
="i386-aros-ranlib"
7712 aros_target_nm
="i386-aros-nm"
7713 aros_target_strip
="i386-aros-strip"
7714 aros_target_objcopy
="i386-aros-objcopy"
7715 aros_target_objdump
="i386-aros-objdump"
7717 target_tool_prefix
="i386-mingw32-"
7720 aros_target_cpu
="x86_64"
7721 aros_object_format
="elf_x86_64"
7722 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7723 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7724 aros_default_wbdepth
=8
7725 target_tool_prefix
="x86_64-w64-mingw32-"
7728 aros_target_cpu
="arm"
7729 aros_object_format
="armelf_linux_eabi"
7730 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7731 aros_arch_libs
="-laeabi"
7732 aros_default_wbdepth
=8
7733 gcc_target_cpu
="arm"
7734 target_tool_prefix
="arm-mingw32ce-"
7735 aros_default_wbwidth
=160
7736 aros_default_wbheight
=160
7739 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7742 if test $host_os = "cygwin"; then
7743 aros_kernel_cflags
="-mno-cygwin"
7747 aros_target_arch
="pp"
7748 aros_shared_default
="no"
7749 case "$target_cpu" in
7751 aros_target_cpu
="m68k"
7752 aros_object_format
="m68kelf"
7753 aros_flavour
="palmnative"
7754 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7755 aros_default_wbwidth
=160
7756 aros_default_wbheight
=160
7757 aros_default_wbdepth
=1
7758 aros_target_ar_flags
="cru"
7759 aros_compiler_libs
="-lgcc1"
7760 aros_shared_default
=no
7761 aros_shared_cflags
="-fpic"
7762 aros_shared_aflags
=""
7763 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7764 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7765 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7766 aros_debug_aflags
=""
7767 aros_debug_ldflags
="$aros_symbols_debug"
7768 aros_mungwall_debug
="0"
7769 aros_modules_debug
="0"
7770 gcc_target_cpu
="mc68000"
7771 ignore_undefined_symbols
="-ius"
7774 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7780 aros_target_arch
="mac"
7781 aros_shared_default
="no"
7782 case "$target_cpu" in
7784 aros_target_cpu
="m68k"
7785 aros_object_format
="m68kelf"
7786 aros_flavour
="mac68knative"
7787 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7788 aros_default_wbwidth
=512
7789 aros_default_wbheight
=384
7790 aros_default_wbdepth
=8
7791 aros_target_ar_flags
="cru"
7792 aros_compiler_libs
="-lgcc1"
7793 aros_shared_default
=no
7794 aros_shared_cflags
="-fpic"
7795 aros_shared_aflags
=""
7796 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7797 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7798 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7799 aros_debug_aflags
=""
7800 aros_debug_ldflags
="$aros_symbols_debug"
7801 aros_mungwall_debug
="0"
7802 aros_modules_debug
="0"
7803 gcc_target_cpu
="mc68000"
7804 ignore_undefined_symbols
="-ius"
7807 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7813 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7817 #-----------------------------------------------------------------------------
7818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
7819 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
7821 # Check whether --with-aros-gcc was given.
7822 if test "${with_aros_gcc+set}" = set; then :
7823 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
7825 aros_gcc_version
="$use_aros_gcc"
7828 case "$aros_gcc_version" in
7830 aros_gcc_version
="default"
7833 aros_gcc_version
="none"
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
7837 $as_echo "$aros_gcc_version" >&6; }
7839 if test "$aros_gcc_version" != "none"; then
7840 if test "$aros_gcc_version" != "default"; then
7841 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
7842 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
7844 aros_target_cc
="$aros_target_cpu-aros-gcc"
7845 aros_target_cxx
="$aros_target_cpu-aros-g++"
7848 aros_target_ld
="$aros_target_cpu-aros-ld"
7849 aros_target_as
="$aros_target_cpu-aros-as"
7850 aros_target_ar
="$aros_target_cpu-aros-ar"
7851 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
7852 aros_target_nm
="$aros_target_cpu-aros-nm"
7853 aros_target_strip
="$aros_target_cpu-aros-strip"
7854 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
7855 aros_target_objdump
="$aros_target_cpu-aros-objdump"
7858 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
7859 # Since we override specs, we may need to put these defines there
7860 if test "$gcc_target_cpu" != ""; then
7861 gcc_target_cpu
="-D__${gcc_target_cpu}__"
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7865 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7867 # Check whether --with-portssources was given.
7868 if test "${with_portssources+set}" = set; then :
7869 withval
=$with_portssources; with_portssrcdir
=$withval
7871 with_portssrcdir
="default"
7874 if test "$with_portssrcdir" = "default"; then
7875 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7877 AROS_PORTSSRCDIR
="$with_portssrcdir"
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7880 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7883 $as_echo_n "checking which bootloader to use... " >&6; }
7885 # Check whether --with-bootloader was given.
7886 if test "${with_bootloader+set}" = set; then :
7887 withval
=$with_bootloader; target_bootloader
=$withval
7889 target_bootloader
=$target_bootloader
7892 if test "$target_bootloader" = "none"; then
7893 aros_target_bootloader
=""
7895 aros_target_bootloader
="$target_bootloader"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7898 $as_echo "$target_bootloader" >&6; }
7900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7901 $as_echo_n "checking which icon-set to use... " >&6; }
7903 # Check whether --with-iconset was given.
7904 if test "${with_iconset+set}" = set; then :
7905 withval
=$with_iconset; target_iconset
=$withval
7907 target_iconset
="default"
7910 if test "$target_iconset" = "default"; then
7911 aros_target_iconset
="Gorilla"
7912 target_iconset
="default (Gorilla)"
7914 aros_target_iconset
="$target_iconset"
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7917 $as_echo "$target_iconset" >&6; }
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7920 $as_echo_n "checking which GUI Theme to use... " >&6; }
7922 # Check whether --with-theme was given.
7923 if test "${with_theme+set}" = set; then :
7924 withval
=$with_theme; target_guitheme
=$withval
7926 target_guitheme
="default"
7929 if test "$target_guitheme" = "default"; then
7930 aros_target_guitheme
="Ice"
7932 aros_target_guitheme
="$target_guitheme"
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7935 $as_echo "$aros_target_guitheme" >&6; }
7937 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7940 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7944 if test "$aros_host_cpu" == "x86_64" ; then
7945 if test "$aros_target_cpu" == "i386" ; then
7946 if test "$aros_target_arch" != "mingw32"; then
7952 if test "$aros_host_arch" == "darwin" ; then
7953 if test "$aros_target_arch" != "darwin" ; then
7958 # Set prefix for target compiler etc. if we're cross-compiling
7959 # (should possibly be earlier but needs to be after AC_PROG_CC)
7960 if test "$cross_compiling" = "yes" ; then
7961 CC
=${target_tool_prefix}gcc
7962 CPP
=${target_tool_prefix}cpp
7963 if test "$target_tool_version" != "default"; then
7964 CC
="$CC-$target_tool_version"
7965 CPP
="$CC-$target_tool_version"
7967 # Extract the first word of "$CC", so it can be a program name with args.
7968 set dummy
$CC; ac_word
=$2
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7970 $as_echo_n "checking for $ac_word... " >&6; }
7971 if ${ac_cv_path_CC+:} false
; then :
7972 $as_echo_n "(cached) " >&6
7976 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
7979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7983 test -z "$as_dir" && as_dir
=.
7984 for ac_exec_ext
in '' $ac_executable_extensions; do
7985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7986 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
7987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7998 if test -n "$CC"; then
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
8000 $as_echo "$CC" >&6; }
8002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8003 $as_echo "no" >&6; }
8007 if test "$CC" = ""; then
8008 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8011 CC
="$CC $target_tool_flags"
8013 #-----------------------------------------------------------------------------
8015 # Disable pointer-signedness warnings if the compiler recognises the option
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8018 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8019 save_cflags
="$CFLAGS"
8020 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8022 /* end confdefs.h. */
8032 if ac_fn_c_try_compile
"$LINENO"; then :
8033 use_no_sign_warning
="yes"
8035 use_no_sign_warning
="no"
8037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8039 $as_echo "$use_no_sign_warning" >&6; }
8040 if test "x-$use_no_sign_warning" = "x-yes" ; then
8041 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8043 CFLAGS
="$save_cflags"
8045 #-----------------------------------------------------------------------------
8047 # Find all the tools we need to compile. This could be cross-compiling
8048 # though! If that is the case we use the GNU form of the target and
8049 # simply add this to the front of the binary name. This is rather simple,
8050 # but it should work under most circumstances.
8052 # The default tools are to use the same as the host, but only if the
8053 # host and target CPU are the same. With GCC this is normally enough.
8057 aros_shared_ld
="$aros_host_ld"
8059 aros_target_mkdep
="$aros_host_mkdep"
8060 aros_target_incl_def
="$aros_host_incl"
8062 aros_kernel_cc
="$CC"
8064 # The default tools executables to be linked to.
8065 if test "$rescomp" != ""; then
8066 if test "$cross_compiling" = "yes" ; then
8067 rescomp
=${target_tool_prefix}${rescomp}
8069 # Extract the first word of "$rescomp", so it can be a program name with args.
8070 set dummy
$rescomp; ac_word
=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if ${ac_cv_path_aros_kernel_rescomp+:} false
; then :
8074 $as_echo_n "(cached) " >&6
8076 case $aros_kernel_rescomp in
8078 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir
=.
8086 for ac_exec_ext
in '' $ac_executable_extensions; do
8087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8099 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8100 if test -n "$aros_kernel_rescomp"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8102 $as_echo "$aros_kernel_rescomp" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8109 if test "$aros_kernel_rescomp" = ""; then
8110 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8114 if test "$crosstools" != "yes"; then
8116 if test "$aros_kernel_ld" = ""; then
8117 if test "$cross_compiling" = "yes" ; then
8118 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8119 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8121 $as_echo_n "checking for $ac_word... " >&6; }
8122 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8123 $as_echo_n "(cached) " >&6
8125 case $aros_kernel_ld in
8127 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8134 test -z "$as_dir" && as_dir
=.
8135 for ac_exec_ext
in '' $ac_executable_extensions; do
8136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8137 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8149 if test -n "$aros_kernel_ld"; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8151 $as_echo "$aros_kernel_ld" >&6; }
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8154 $as_echo "no" >&6; }
8159 if test "$GCC" = "yes"; then
8160 aros_gcc_ld
=`$CC -print-prog-name=ld`
8161 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8162 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8164 $as_echo_n "checking for $ac_word... " >&6; }
8165 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8166 $as_echo_n "(cached) " >&6
8168 case $aros_kernel_ld in
8170 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8174 for as_dir
in `dirname $aros_gcc_ld`
8177 test -z "$as_dir" && as_dir
=.
8178 for ac_exec_ext
in '' $ac_executable_extensions; do
8179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8180 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8191 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8192 if test -n "$aros_kernel_ld"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8194 $as_echo "$aros_kernel_ld" >&6; }
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8202 if test "$aros_kernel_ld" = ""; then
8203 # Extract the first word of "ld", so it can be a program name with args.
8204 set dummy ld
; ac_word
=$2
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8206 $as_echo_n "checking for $ac_word... " >&6; }
8207 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8208 $as_echo_n "(cached) " >&6
8210 case $aros_kernel_ld in
8212 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8219 test -z "$as_dir" && as_dir
=.
8220 for ac_exec_ext
in '' $ac_executable_extensions; do
8221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8222 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8233 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8234 if test -n "$aros_kernel_ld"; then
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8236 $as_echo "$aros_kernel_ld" >&6; }
8238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8239 $as_echo "no" >&6; }
8246 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8247 set dummy
$aros_kernel_ld; ac_word
=$2
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8249 $as_echo_n "checking for $ac_word... " >&6; }
8250 if ${ac_cv_path_aros_kernel_ld+:} false
; then :
8251 $as_echo_n "(cached) " >&6
8253 case $aros_kernel_ld in
8255 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8262 test -z "$as_dir" && as_dir
=.
8263 for ac_exec_ext
in '' $ac_executable_extensions; do
8264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8265 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8276 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8277 if test -n "$aros_kernel_ld"; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8279 $as_echo "$aros_kernel_ld" >&6; }
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8282 $as_echo "no" >&6; }
8288 if test "$aros_kernel_ld" = ""; then
8289 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8292 if test "$target_tool_prefix" != "${target_cpu}-elf-" ; then
8293 target_tool_prefix
=${target_cpu}-elf-
8294 if test "$aros_target_cc" == ""; then
8295 aros_target_cc
="${target_tool_prefix}gcc"
8297 if test "$aros_target_ld" == ""; then
8298 aros_target_ld
="${target_tool_prefix}ld"
8302 if test "$aros_target_as" = ""; then
8303 if test "$cross_compiling" = "yes" ; then
8304 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8305 set dummy
${target_tool_prefix}as
; ac_word
=$2
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8307 $as_echo_n "checking for $ac_word... " >&6; }
8308 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8309 $as_echo_n "(cached) " >&6
8311 case $aros_target_as_ln in
8313 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8320 test -z "$as_dir" && as_dir
=.
8321 for ac_exec_ext
in '' $ac_executable_extensions; do
8322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8323 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8334 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8335 if test -n "$aros_target_as_ln"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8337 $as_echo "$aros_target_as_ln" >&6; }
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8345 if test "$GCC" = "yes"; then
8346 aros_gcc_as
=`$CC -print-prog-name=as`
8347 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8348 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8350 $as_echo_n "checking for $ac_word... " >&6; }
8351 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8352 $as_echo_n "(cached) " >&6
8354 case $aros_target_as_ln in
8356 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8360 for as_dir
in `dirname $aros_gcc_as`
8363 test -z "$as_dir" && as_dir
=.
8364 for ac_exec_ext
in '' $ac_executable_extensions; do
8365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8366 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8377 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8378 if test -n "$aros_target_as_ln"; then
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8380 $as_echo "$aros_target_as_ln" >&6; }
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8383 $as_echo "no" >&6; }
8388 if test "$aros_target_as_ln" = ""; then
8389 # Extract the first word of "as", so it can be a program name with args.
8390 set dummy as
; ac_word
=$2
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8392 $as_echo_n "checking for $ac_word... " >&6; }
8393 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8394 $as_echo_n "(cached) " >&6
8396 case $aros_target_as_ln in
8398 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8401 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8405 test -z "$as_dir" && as_dir
=.
8406 for ac_exec_ext
in '' $ac_executable_extensions; do
8407 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8408 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8419 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8420 if test -n "$aros_target_as_ln"; then
8421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8422 $as_echo "$aros_target_as_ln" >&6; }
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8425 $as_echo "no" >&6; }
8432 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8433 set dummy
$aros_target_as; ac_word
=$2
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8435 $as_echo_n "checking for $ac_word... " >&6; }
8436 if ${ac_cv_path_aros_target_as_ln+:} false
; then :
8437 $as_echo_n "(cached) " >&6
8439 case $aros_target_as_ln in
8441 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8448 test -z "$as_dir" && as_dir
=.
8449 for ac_exec_ext
in '' $ac_executable_extensions; do
8450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8451 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8462 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8463 if test -n "$aros_target_as_ln"; then
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8465 $as_echo "$aros_target_as_ln" >&6; }
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8468 $as_echo "no" >&6; }
8474 if test "$aros_target_as_ln" = ""; then
8475 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8478 if test "$aros_target_ar" = ""; then
8479 if test "$cross_compiling" = "yes" ; then
8480 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8481 set dummy
${target_tool_prefix}ar; ac_word
=$2
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8483 $as_echo_n "checking for $ac_word... " >&6; }
8484 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
8485 $as_echo_n "(cached) " >&6
8487 case $aros_target_ar_ln in
8489 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8496 test -z "$as_dir" && as_dir
=.
8497 for ac_exec_ext
in '' $ac_executable_extensions; do
8498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8499 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8510 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8511 if test -n "$aros_target_ar_ln"; then
8512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8513 $as_echo "$aros_target_ar_ln" >&6; }
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8516 $as_echo "no" >&6; }
8521 if test "$GCC" = "yes"; then
8522 aros_gcc_ar
=`$CC -print-prog-name=ar`
8523 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8524 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8526 $as_echo_n "checking for $ac_word... " >&6; }
8527 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
8528 $as_echo_n "(cached) " >&6
8530 case $aros_target_ar_ln in
8532 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8536 for as_dir
in `dirname $aros_gcc_ar`
8539 test -z "$as_dir" && as_dir
=.
8540 for ac_exec_ext
in '' $ac_executable_extensions; do
8541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8542 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8553 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8554 if test -n "$aros_target_ar_ln"; then
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8556 $as_echo "$aros_target_ar_ln" >&6; }
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8559 $as_echo "no" >&6; }
8564 if test "$aros_target_ar_ln" = ""; then
8565 # Extract the first word of "ar", so it can be a program name with args.
8566 set dummy
ar; ac_word
=$2
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8568 $as_echo_n "checking for $ac_word... " >&6; }
8569 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
8570 $as_echo_n "(cached) " >&6
8572 case $aros_target_ar_ln in
8574 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8577 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8581 test -z "$as_dir" && as_dir
=.
8582 for ac_exec_ext
in '' $ac_executable_extensions; do
8583 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8584 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8585 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8595 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8596 if test -n "$aros_target_ar_ln"; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8598 $as_echo "$aros_target_ar_ln" >&6; }
8600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8601 $as_echo "no" >&6; }
8608 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8609 set dummy
$aros_target_ar; ac_word
=$2
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8611 $as_echo_n "checking for $ac_word... " >&6; }
8612 if ${ac_cv_path_aros_target_ar_ln+:} false
; then :
8613 $as_echo_n "(cached) " >&6
8615 case $aros_target_ar_ln in
8617 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8624 test -z "$as_dir" && as_dir
=.
8625 for ac_exec_ext
in '' $ac_executable_extensions; do
8626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8627 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8638 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8639 if test -n "$aros_target_ar_ln"; then
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8641 $as_echo "$aros_target_ar_ln" >&6; }
8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8644 $as_echo "no" >&6; }
8650 if test "$aros_target_ar_ln" = ""; then
8651 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8654 if test "$aros_target_nm" = ""; then
8655 if test "$cross_compiling" = "yes" ; then
8656 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8657 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8659 $as_echo_n "checking for $ac_word... " >&6; }
8660 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
8661 $as_echo_n "(cached) " >&6
8663 case $aros_target_nm_ln in
8665 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8672 test -z "$as_dir" && as_dir
=.
8673 for ac_exec_ext
in '' $ac_executable_extensions; do
8674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8675 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8686 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8687 if test -n "$aros_target_nm_ln"; then
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8689 $as_echo "$aros_target_nm_ln" >&6; }
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8692 $as_echo "no" >&6; }
8697 if test "$GCC" = "yes"; then
8698 aros_gcc_nm
=`$CC -print-prog-name=nm`
8699 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8700 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8702 $as_echo_n "checking for $ac_word... " >&6; }
8703 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
8704 $as_echo_n "(cached) " >&6
8706 case $aros_target_nm_ln in
8708 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8711 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8712 for as_dir
in `dirname $aros_gcc_nm`
8715 test -z "$as_dir" && as_dir
=.
8716 for ac_exec_ext
in '' $ac_executable_extensions; do
8717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8718 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8719 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8729 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8730 if test -n "$aros_target_nm_ln"; then
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8732 $as_echo "$aros_target_nm_ln" >&6; }
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8735 $as_echo "no" >&6; }
8740 if test "$aros_target_nm_ln" = ""; then
8741 # Extract the first word of "nm", so it can be a program name with args.
8742 set dummy nm
; ac_word
=$2
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8744 $as_echo_n "checking for $ac_word... " >&6; }
8745 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
8746 $as_echo_n "(cached) " >&6
8748 case $aros_target_nm_ln in
8750 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8757 test -z "$as_dir" && as_dir
=.
8758 for ac_exec_ext
in '' $ac_executable_extensions; do
8759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8760 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8771 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8772 if test -n "$aros_target_nm_ln"; then
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8774 $as_echo "$aros_target_nm_ln" >&6; }
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8777 $as_echo "no" >&6; }
8784 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8785 set dummy
$aros_target_nm; ac_word
=$2
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8787 $as_echo_n "checking for $ac_word... " >&6; }
8788 if ${ac_cv_path_aros_target_nm_ln+:} false
; then :
8789 $as_echo_n "(cached) " >&6
8791 case $aros_target_nm_ln in
8793 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8800 test -z "$as_dir" && as_dir
=.
8801 for ac_exec_ext
in '' $ac_executable_extensions; do
8802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8803 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8814 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8815 if test -n "$aros_target_nm_ln"; then
8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8817 $as_echo "$aros_target_nm_ln" >&6; }
8819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8820 $as_echo "no" >&6; }
8826 if test "$aros_target_nm_ln" = ""; then
8827 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8830 if test "$aros_target_objcopy" = ""; then
8831 if test "$cross_compiling" = "yes" ; then
8832 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8833 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8835 $as_echo_n "checking for $ac_word... " >&6; }
8836 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
8837 $as_echo_n "(cached) " >&6
8839 case $aros_target_objcopy_ln in
8841 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8848 test -z "$as_dir" && as_dir
=.
8849 for ac_exec_ext
in '' $ac_executable_extensions; do
8850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8851 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8862 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8863 if test -n "$aros_target_objcopy_ln"; then
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8865 $as_echo "$aros_target_objcopy_ln" >&6; }
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8868 $as_echo "no" >&6; }
8873 if test "$GCC" = "yes"; then
8874 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8875 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8876 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8878 $as_echo_n "checking for $ac_word... " >&6; }
8879 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
8880 $as_echo_n "(cached) " >&6
8882 case $aros_target_objcopy_ln in
8884 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8888 for as_dir
in `dirname $aros_gcc_objcopy`
8891 test -z "$as_dir" && as_dir
=.
8892 for ac_exec_ext
in '' $ac_executable_extensions; do
8893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8894 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8905 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8906 if test -n "$aros_target_objcopy_ln"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8908 $as_echo "$aros_target_objcopy_ln" >&6; }
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8911 $as_echo "no" >&6; }
8916 if test "$aros_target_objcopy_ln" = ""; then
8917 # Extract the first word of "objcopy", so it can be a program name with args.
8918 set dummy objcopy
; ac_word
=$2
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8920 $as_echo_n "checking for $ac_word... " >&6; }
8921 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
8922 $as_echo_n "(cached) " >&6
8924 case $aros_target_objcopy_ln in
8926 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8933 test -z "$as_dir" && as_dir
=.
8934 for ac_exec_ext
in '' $ac_executable_extensions; do
8935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8936 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8947 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8948 if test -n "$aros_target_objcopy_ln"; then
8949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8950 $as_echo "$aros_target_objcopy_ln" >&6; }
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8953 $as_echo "no" >&6; }
8960 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8961 set dummy
$aros_target_objcopy; ac_word
=$2
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8963 $as_echo_n "checking for $ac_word... " >&6; }
8964 if ${ac_cv_path_aros_target_objcopy_ln+:} false
; then :
8965 $as_echo_n "(cached) " >&6
8967 case $aros_target_objcopy_ln in
8969 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8976 test -z "$as_dir" && as_dir
=.
8977 for ac_exec_ext
in '' $ac_executable_extensions; do
8978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8979 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8990 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8991 if test -n "$aros_target_objcopy_ln"; then
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8993 $as_echo "$aros_target_objcopy_ln" >&6; }
8995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8996 $as_echo "no" >&6; }
9002 if test "$aros_target_objcopy_ln" = ""; then
9003 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9006 if test "$aros_target_objdump" = ""; then
9007 if test "$cross_compiling" = "yes" ; then
9008 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9009 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9011 $as_echo_n "checking for $ac_word... " >&6; }
9012 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9013 $as_echo_n "(cached) " >&6
9015 case $aros_target_objdump_ln in
9017 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9024 test -z "$as_dir" && as_dir
=.
9025 for ac_exec_ext
in '' $ac_executable_extensions; do
9026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9027 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9038 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9039 if test -n "$aros_target_objdump_ln"; then
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9041 $as_echo "$aros_target_objdump_ln" >&6; }
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9044 $as_echo "no" >&6; }
9049 if test "$GCC" = "yes"; then
9050 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9051 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9052 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9054 $as_echo_n "checking for $ac_word... " >&6; }
9055 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9056 $as_echo_n "(cached) " >&6
9058 case $aros_target_objdump_ln in
9060 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9064 for as_dir
in `dirname $aros_gcc_objdump`
9067 test -z "$as_dir" && as_dir
=.
9068 for ac_exec_ext
in '' $ac_executable_extensions; do
9069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9070 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9081 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9082 if test -n "$aros_target_objdump_ln"; then
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9084 $as_echo "$aros_target_objdump_ln" >&6; }
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9087 $as_echo "no" >&6; }
9092 if test "$aros_target_objdump_ln" = ""; then
9093 # Extract the first word of "objdump", so it can be a program name with args.
9094 set dummy objdump
; ac_word
=$2
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9096 $as_echo_n "checking for $ac_word... " >&6; }
9097 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9098 $as_echo_n "(cached) " >&6
9100 case $aros_target_objdump_ln in
9102 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9109 test -z "$as_dir" && as_dir
=.
9110 for ac_exec_ext
in '' $ac_executable_extensions; do
9111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9112 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9123 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9124 if test -n "$aros_target_objdump_ln"; then
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9126 $as_echo "$aros_target_objdump_ln" >&6; }
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9129 $as_echo "no" >&6; }
9136 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9137 set dummy
$aros_target_objdump; ac_word
=$2
9138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9139 $as_echo_n "checking for $ac_word... " >&6; }
9140 if ${ac_cv_path_aros_target_objdump_ln+:} false
; then :
9141 $as_echo_n "(cached) " >&6
9143 case $aros_target_objdump_ln in
9145 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9152 test -z "$as_dir" && as_dir
=.
9153 for ac_exec_ext
in '' $ac_executable_extensions; do
9154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9155 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9166 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9167 if test -n "$aros_target_objdump_ln"; then
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9169 $as_echo "$aros_target_objdump_ln" >&6; }
9171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9172 $as_echo "no" >&6; }
9178 if test "$aros_target_objdump_ln" = ""; then
9179 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9182 if test "$aros_target_ranlib" = ""; then
9183 if test "$cross_compiling" = "yes" ; then
9184 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9185 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9187 $as_echo_n "checking for $ac_word... " >&6; }
9188 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9189 $as_echo_n "(cached) " >&6
9191 case $aros_target_ranlib_ln in
9193 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9200 test -z "$as_dir" && as_dir
=.
9201 for ac_exec_ext
in '' $ac_executable_extensions; do
9202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9203 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9214 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9215 if test -n "$aros_target_ranlib_ln"; then
9216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9217 $as_echo "$aros_target_ranlib_ln" >&6; }
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9220 $as_echo "no" >&6; }
9225 if test "$GCC" = "yes"; then
9226 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9227 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9228 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9230 $as_echo_n "checking for $ac_word... " >&6; }
9231 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9232 $as_echo_n "(cached) " >&6
9234 case $aros_target_ranlib_ln in
9236 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9240 for as_dir
in `dirname $aros_gcc_ranlib`
9243 test -z "$as_dir" && as_dir
=.
9244 for ac_exec_ext
in '' $ac_executable_extensions; do
9245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9246 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9257 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9258 if test -n "$aros_target_ranlib_ln"; then
9259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9260 $as_echo "$aros_target_ranlib_ln" >&6; }
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9263 $as_echo "no" >&6; }
9268 if test "$aros_target_ranlib_ln" = ""; then
9269 # Extract the first word of "ranlib", so it can be a program name with args.
9270 set dummy ranlib
; ac_word
=$2
9271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9272 $as_echo_n "checking for $ac_word... " >&6; }
9273 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9274 $as_echo_n "(cached) " >&6
9276 case $aros_target_ranlib_ln in
9278 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9285 test -z "$as_dir" && as_dir
=.
9286 for ac_exec_ext
in '' $ac_executable_extensions; do
9287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9288 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9299 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9300 if test -n "$aros_target_ranlib_ln"; then
9301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9302 $as_echo "$aros_target_ranlib_ln" >&6; }
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9305 $as_echo "no" >&6; }
9312 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9313 set dummy
$aros_target_ranlib; ac_word
=$2
9314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9315 $as_echo_n "checking for $ac_word... " >&6; }
9316 if ${ac_cv_path_aros_target_ranlib_ln+:} false
; then :
9317 $as_echo_n "(cached) " >&6
9319 case $aros_target_ranlib_ln in
9321 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9328 test -z "$as_dir" && as_dir
=.
9329 for ac_exec_ext
in '' $ac_executable_extensions; do
9330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9331 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9342 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9343 if test -n "$aros_target_ranlib_ln"; then
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9345 $as_echo "$aros_target_ranlib_ln" >&6; }
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9348 $as_echo "no" >&6; }
9354 if test "$aros_target_ranlib_ln" = ""; then
9355 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9358 if test "$aros_target_strip" = ""; then
9359 if test "$cross_compiling" = "yes" ; then
9360 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9361 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9363 $as_echo_n "checking for $ac_word... " >&6; }
9364 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9365 $as_echo_n "(cached) " >&6
9367 case $aros_target_strip_ln in
9369 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9376 test -z "$as_dir" && as_dir
=.
9377 for ac_exec_ext
in '' $ac_executable_extensions; do
9378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9379 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9390 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9391 if test -n "$aros_target_strip_ln"; then
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9393 $as_echo "$aros_target_strip_ln" >&6; }
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9396 $as_echo "no" >&6; }
9401 if test "$GCC" = "yes"; then
9402 aros_gcc_strip
=`$CC -print-prog-name=strip`
9403 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9404 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9406 $as_echo_n "checking for $ac_word... " >&6; }
9407 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9408 $as_echo_n "(cached) " >&6
9410 case $aros_target_strip_ln in
9412 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9416 for as_dir
in `dirname $aros_gcc_strip`
9419 test -z "$as_dir" && as_dir
=.
9420 for ac_exec_ext
in '' $ac_executable_extensions; do
9421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9422 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9433 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9434 if test -n "$aros_target_strip_ln"; then
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9436 $as_echo "$aros_target_strip_ln" >&6; }
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9439 $as_echo "no" >&6; }
9444 if test "$aros_target_strip_ln" = ""; then
9445 # Extract the first word of "strip", so it can be a program name with args.
9446 set dummy strip
; ac_word
=$2
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9448 $as_echo_n "checking for $ac_word... " >&6; }
9449 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9450 $as_echo_n "(cached) " >&6
9452 case $aros_target_strip_ln in
9454 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9461 test -z "$as_dir" && as_dir
=.
9462 for ac_exec_ext
in '' $ac_executable_extensions; do
9463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9464 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9475 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9476 if test -n "$aros_target_strip_ln"; then
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9478 $as_echo "$aros_target_strip_ln" >&6; }
9480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9481 $as_echo "no" >&6; }
9488 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9489 set dummy
$aros_target_strip; ac_word
=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9491 $as_echo_n "checking for $ac_word... " >&6; }
9492 if ${ac_cv_path_aros_target_strip_ln+:} false
; then :
9493 $as_echo_n "(cached) " >&6
9495 case $aros_target_strip_ln in
9497 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9504 test -z "$as_dir" && as_dir
=.
9505 for ac_exec_ext
in '' $ac_executable_extensions; do
9506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9507 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9518 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9519 if test -n "$aros_target_strip_ln"; then
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9521 $as_echo "$aros_target_strip_ln" >&6; }
9523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9524 $as_echo "no" >&6; }
9530 if test "$aros_target_strip_ln" = ""; then
9531 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9533 if test "$aros_target_cxx" != ""; then
9534 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9535 set dummy
$aros_target_cxx; ac_word
=$2
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9537 $as_echo_n "checking for $ac_word... " >&6; }
9538 if ${ac_cv_path_aros_target_cxx+:} false
; then :
9539 $as_echo_n "(cached) " >&6
9541 case $aros_target_cxx in
9543 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
9546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9550 test -z "$as_dir" && as_dir
=.
9551 for ac_exec_ext
in '' $ac_executable_extensions; do
9552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9553 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
9554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9564 aros_target_cxx
=$ac_cv_path_aros_target_cxx
9565 if test -n "$aros_target_cxx"; then
9566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
9567 $as_echo "$aros_target_cxx" >&6; }
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9570 $as_echo "no" >&6; }
9574 if test "$aros_target_cxx" = ""; then
9575 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
9582 orig_target_cc
=$aros_kernel_cc
9583 orig_target_ld
=$aros_kernel_ld
9585 if test "$aros_target_cc" != ""; then
9586 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9587 set dummy
$aros_target_cc; ac_word
=$2
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9589 $as_echo_n "checking for $ac_word... " >&6; }
9590 if ${ac_cv_path_aros_target_cc+:} false
; then :
9591 $as_echo_n "(cached) " >&6
9593 case $aros_target_cc in
9595 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9602 test -z "$as_dir" && as_dir
=.
9603 for ac_exec_ext
in '' $ac_executable_extensions; do
9604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9605 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9616 aros_target_cc
=$ac_cv_path_aros_target_cc
9617 if test -n "$aros_target_cc"; then
9618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
9619 $as_echo "$aros_target_cc" >&6; }
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9622 $as_echo "no" >&6; }
9626 if test "$aros_target_cc" = ""; then
9627 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
9629 orig_target_cc
=$aros_target_cc
9631 if test "$aros_target_ld" != ""; then
9632 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9633 set dummy
$aros_target_ld; ac_word
=$2
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9635 $as_echo_n "checking for $ac_word... " >&6; }
9636 if ${ac_cv_path_aros_target_ld+:} false
; then :
9637 $as_echo_n "(cached) " >&6
9639 case $aros_target_ld in
9641 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir
=.
9649 for ac_exec_ext
in '' $ac_executable_extensions; do
9650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9651 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9662 aros_target_ld
=$ac_cv_path_aros_target_ld
9663 if test -n "$aros_target_ld"; then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
9665 $as_echo "$aros_target_ld" >&6; }
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9668 $as_echo "no" >&6; }
9672 if test "$aros_target_ld" = ""; then
9673 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9675 orig_target_ld
=$aros_target_ld
9678 # Build crosstools if we have no C++ - temporary thing
9679 if test "$aros_target_cxx" = ""; then
9680 crosstools_target
=tools-crosstools
9683 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9684 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9685 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9686 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9687 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9688 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9689 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9691 # aros_cc_pre is a variable that is added to the front of the compiler name
9692 # in the generated aros-gcc shell script. We need this to enable the cache
9693 # to work across cleaned builds. Also, support DISTCC using the correct
9694 # environment variable.
9697 if test "x${DISTCC}" != "x" ; then
9698 if test "x${CCACHE}" != "x" ; then
9699 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9701 aros_cc_pre
="${DISTCC} "
9704 if test "x${CCACHE}" != "x" ; then
9705 aros_cc_pre
="${CCACHE} "
9709 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9711 aros_target_nostdinc_cflags
=-nostdinc
9713 aros_target_nostartup_ldflags
=-nostartfiles
9715 aros_target_nix_ldflags
=-nix
9717 aros_target_detach_ldflags
=-detach
9719 aros_target_nostdlib_ldflags
=-nostdlib
9723 if test "$GCC" = "yes"; then
9724 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9726 aros_target_cc
="${prefix}-gcc"
9727 aros_target_as
="${prefix}-as"
9728 aros_target_ld
="${prefix}-ld"
9729 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9730 aros_target_objcopy
=${prefix}-objcopy
9731 aros_target_objdump
=${prefix}-objdump
9732 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9733 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9734 aros_kernel_nm
="${prefix}-nm"
9735 aros_target_strip
=${prefix}-strip
9737 # Find the system include path. We can suggest that an alternative is
9738 # used if we don't get it correct. The default is to use /usr/include.
9739 # Which is set in the aros_target_incl_def variable.
9741 # Check whether --enable-includes was given.
9742 if test "${enable_includes+set}" = set; then :
9743 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9745 aros_target_incl
=$aros_target_incl_def
9749 if test "$aros_kernel_includes" = ""; then
9750 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9751 # FIXME: for cross-compiling this should point to another location
9752 aros_kernel_includes
="-isystem $aros_target_incl"
9756 if test "$aros_kernel_includes" != "" ; then
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
9758 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
9759 if test "$aros_kernel_cc_includes" = "" ; then
9760 # Try to guess where the directory is.
9761 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
9762 if test -d $aros_kernel_cc_includes; then
9763 # Check if there is also an include-fixed directory and add it
9764 # to kernel compiler's include path as it may contain some of
9765 # the headers we need.
9766 if test -d "$aros_kernel_cc_includes"-fixed; then
9767 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
9770 # The directory doesn't exist, we need to do some more work.
9771 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
9773 # These are the headers we're looking for.
9774 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9775 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9779 for h
in $headers; do
9780 # Which other headers are needed by each of the above?
9781 deps
=$
(echo "#include <$h>" | \
9782 $aros_kernel_cc -E -M - 2>/dev
/null | \
9783 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9785 # Copy all the needed headers to a directory beneath gendir.
9788 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
9789 sed -n "s,^.*/include\(/.*\),\1,p")
9790 ! test -d $dir && mkdir
-p $dir
9791 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
9797 $as_echo "$aros_kernel_cc_includes" >&6; }
9798 # Adding -nostdinc to kernel includes as they are always used together.
9799 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9803 $as_echo_n "checking for the target compiler's include path... " >&6; }
9804 if test "$aros_target_cc_includes" = "" ; then
9805 #try to guess where the directory is
9806 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9807 if ! test -d $aros_target_cc_includes; then
9808 #the directory doesn't exist, we need to do some more work
9809 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9811 #these are the headers we're looling for
9812 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9813 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9817 for h
in $headers; do
9818 #which other headers each of the above headers needs?
9819 deps
=$
(echo "#include <$h>" | \
9820 $orig_target_cc -E -M - 2>/dev
/null | \
9821 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9823 #copy all the needed headers to a directory beneath gendir
9826 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9827 sed -n "s,^.*/include\(/.*\),\1,p")
9828 ! test -d $dir && mkdir
-p $dir
9829 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9835 $as_echo "$aros_target_cc_includes" >&6; }
9838 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9839 # On GCC >= 4.0 -iquote should be used
9843 save_cflags
="$CFLAGS"
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9846 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9847 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9848 /* end confdefs.h. */
9858 if ac_fn_c_try_compile
"$LINENO"; then :
9863 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9865 $as_echo "$has_iquote" >&6; }
9866 if test "x-$has_iquote" = "x-yes" ; then
9867 host_cflags_iquote
=-iquote
9868 host_cflags_iquote_end
=
9870 host_cflags_iquote
=-I
9871 host_cflags_iquote_end
=-I-
9873 kernel_cflags_iquote
=$host_cflags_iquote
9874 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9875 if test "x-$cross_compiling" = "x-yes"; then
9876 CC
="$aros_kernel_cc"
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9878 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9890 if ac_fn_c_try_compile
"$LINENO"; then :
9891 use_no_stack_protector
="yes"
9893 use_no_stack_protector
="no"
9895 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9897 $as_echo "$use_no_stack_protector" >&6; }
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9899 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9901 /* end confdefs.h. */
9911 if ac_fn_c_try_compile
"$LINENO"; then :
9916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9918 $as_echo "$has_iquote" >&6; }
9919 if test "x-$has_iquote" = "x-yes" ; then
9920 kernel_cflags_iquote
=-iquote
9921 kernel_cflags_iquote_end
=
9923 kernel_cflags_iquote
=-I
9924 kernel_cflags_iquote_end
=-I-
9927 aros_cflags_iquote
=$kernel_cflags_iquote
9928 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9929 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9930 CC
="$orig_target_cc"
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9932 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9934 /* end confdefs.h. */
9944 if ac_fn_c_try_compile
"$LINENO"; then :
9949 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9951 $as_echo "$has_iquote" >&6; }
9952 if test "x-$has_iquote" = "x-yes" ; then
9953 aros_cflags_iquote
=-iquote
9954 aros_cflags_iquote_end
=
9956 aros_cflags_iquote
=-I
9957 aros_cflags_iquote_end
=-I-
9960 if test "x-$use_no_stack_protector" = "x-yes" ; then
9961 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9964 #-----------------------------------------------------------------------------
9966 # Check if we can explicitly choose older version of symbol hashing
9968 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9969 CC
="$aros_kernel_cc"
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9971 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9972 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9973 /* end confdefs.h. */
9983 if ac_fn_c_try_link
"$LINENO"; then :
9984 use_hash_style
="yes"
9988 rm -f core conftest.err conftest.
$ac_objext \
9989 conftest
$ac_exeext conftest.
$ac_ext
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9991 $as_echo "$use_hash_style" >&6; }
9992 if test "x-$use_hash_style" = "x-yes" ; then
9993 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9996 CFLAGS
="$save_cflags"
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
10007 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
10009 # Check whether --with-resolution was given.
10010 if test "${with_resolution+set}" = set; then :
10011 withval
=$with_resolution; resolution
=$withval
10016 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10017 if test "$resolution" = "yes" ; then
10020 if test "$resolution" = "no" ; then
10023 if test "$resolution" != "none" ; then
10024 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10025 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10026 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10029 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10030 aros_cv_default_wbwidth
=$aros_default_wbwidth
10031 aros_cv_default_wbheight
=$aros_default_wbheight
10032 aros_cv_default_wbdepth
=$aros_default_wbdepth
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
10035 $as_echo_n "checking if serial debug is enabled... " >&6; }
10037 # Check whether --with-serial-debug was given.
10038 if test "${with_serial_debug+set}" = set; then :
10039 withval
=$with_serial_debug; serial_debug
=$withval
10044 if test "$aros_serial_debug" = 0 ; then
10045 serial_debug_forced
=""
10046 if test "$serial_debug" = "yes" ; then
10049 if test "$serial_debug" = "no" ; then
10050 serial_debug
="none"
10053 serial_debug_forced
="(forced)"
10054 serial_debug
=$aros_serial_debug
10056 if test "$serial_debug" != "none" ; then
10057 aros_serial_debug
=$serial_debug
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
10059 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10062 $as_echo "no" >&6; }
10065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
10066 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10067 # Check whether --enable-palm_debug_hack was given.
10068 if test "${enable_palm_debug_hack+set}" = set; then :
10069 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10071 palm_debug_hack
="no"
10074 if test "$palm_debug_hack" = "yes" ; then
10075 aros_palm_debug_hack
="1"
10077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
10078 $as_echo "$palm_debug_hack" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
10082 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10083 # Check whether --enable-nesting_supervisor was given.
10084 if test "${enable_nesting_supervisor+set}" = set; then :
10085 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10087 nesting_supervisor
="no"
10090 if test "$nesting_supervisor" = "yes" ; then
10091 aros_nesting_supervisor
="1"
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
10094 $as_echo "$nesting_supervisor" >&6; }
10096 if test "$aros_enable_mmu" = "" ; then
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
10098 $as_echo_n "checking if MMU support is enabled... " >&6; }
10099 # Check whether --enable-mmu was given.
10100 if test "${enable_mmu+set}" = set; then :
10101 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
10103 aros_enable_mmu
="yes"
10106 if test "$aros_enable_mmu" = "" ; then
10107 aros_enable_mmu
="yes"
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
10110 $as_echo "$aros_enable_mmu" >&6; }
10112 if test "$aros_enable_mmu" = "no" ; then
10113 aros_enable_mmu
="0"
10115 aros_enable_mmu
="1"
10119 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10121 if test "x-$need_dlopen" != "x-no" ; then
10122 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10123 if test "x$ac_cv_func_dlopen" = xyes
; then :
10129 if test "x-$have_dl" = "x-no" ; then
10130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10131 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10132 if ${ac_cv_lib_dl_dlopen+:} false
; then :
10133 $as_echo_n "(cached) " >&6
10135 ac_check_lib_save_LIBS
=$LIBS
10137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10138 /* end confdefs.h. */
10140 /* Override any GCC internal prototype to avoid an error.
10141 Use char because int might match the return type of a GCC
10142 builtin and then its argument prototype would still apply. */
10155 if ac_fn_c_try_link
"$LINENO"; then :
10156 ac_cv_lib_dl_dlopen
=yes
10158 ac_cv_lib_dl_dlopen
=no
10160 rm -f core conftest.err conftest.
$ac_objext \
10161 conftest
$ac_exeext conftest.
$ac_ext
10162 LIBS
=$ac_check_lib_save_LIBS
10164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10165 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10166 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
10168 aros_host_ldflags
="$aros_host_ldflags -ldl"
10174 if test "x-$have_dl" = "x-no" ; then
10175 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
10180 # Check whether --enable-x11_hidd was given.
10181 if test "${enable_x11_hidd+set}" = set; then :
10182 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10184 x11_hidd
="$need_x11"
10187 case "x-$x11_hidd" in
10188 x-yes|x-no|x-auto
) ;;
10189 *) x11_hidd
="$need_x11" ;;
10194 if test "x-$x11_hidd" != "x-no" ; then
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10197 $as_echo_n "checking for X... " >&6; }
10200 # Check whether --with-x was given.
10201 if test "${with_x+set}" = set; then :
10205 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10206 if test "x$with_x" = xno
; then
10207 # The user explicitly disabled X.
10210 case $x_includes,$x_libraries in #(
10211 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
10212 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
10213 $as_echo_n "(cached) " >&6
10215 # One or both of the vars are not set, and there is no cached value.
10216 ac_x_includes
=no ac_x_libraries
=no
10217 rm -f -r conftest.dir
10218 if mkdir conftest.dir
; then
10220 cat >Imakefile
<<'_ACEOF'
10222 @echo incroot='${INCROOT}'
10224 @echo usrlibdir='${USRLIBDIR}'
10226 @echo libdir='${LIBDIR}'
10228 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10229 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10230 for ac_var
in incroot usrlibdir libdir
; do
10231 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10233 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10234 for ac_extension
in a so sl dylib la dll
; do
10235 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10236 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10237 ac_im_usrlibdir
=$ac_im_libdir; break
10240 # Screen out bogus values from the imake configuration. They are
10241 # bogus both because they are the default anyway, and because
10242 # using them would break gcc on systems where it needs fixed includes.
10243 case $ac_im_incroot in
10244 /usr
/include
) ac_x_includes
= ;;
10245 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10247 case $ac_im_usrlibdir in
10248 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10249 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10253 rm -f -r conftest.dir
10256 # Standard set of common directories for X headers.
10257 # Check X11 before X11Rn because it is often a symlink to the current release.
10271 /usr/local/X11/include
10272 /usr/local/X11R7/include
10273 /usr/local/X11R6/include
10274 /usr/local/X11R5/include
10275 /usr/local/X11R4/include
10277 /usr/local/include/X11
10278 /usr/local/include/X11R7
10279 /usr/local/include/X11R6
10280 /usr/local/include/X11R5
10281 /usr/local/include/X11R4
10285 /usr/XFree86/include/X11
10289 /usr/unsupported/include
10290 /usr/athena/include
10291 /usr/local/x11r5/include
10292 /usr/lpp/Xamples/include
10294 /usr/openwin/include
10295 /usr/openwin/share/include'
10297 if test "$ac_x_includes" = no
; then
10298 # Guess where to find include files, by looking for Xlib.h.
10299 # First, try using that file with no special directory specified.
10300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10301 /* end confdefs.h. */
10302 #include <X11/Xlib.h>
10304 if ac_fn_c_try_cpp
"$LINENO"; then :
10305 # We can compile using X headers with no special include directory.
10308 for ac_dir
in $ac_x_header_dirs; do
10309 if test -r "$ac_dir/X11/Xlib.h"; then
10310 ac_x_includes
=$ac_dir
10315 rm -f conftest.err conftest.i conftest.
$ac_ext
10316 fi # $ac_x_includes = no
10318 if test "$ac_x_libraries" = no
; then
10319 # Check for the libraries.
10320 # See if we find them without any special options.
10321 # Don't add to $LIBS permanently.
10324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10325 /* end confdefs.h. */
10326 #include <X11/Xlib.h>
10335 if ac_fn_c_try_link
"$LINENO"; then :
10337 # We can link X programs with no special library path.
10341 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10343 # Don't even attempt the hair of trying to link an X program!
10344 for ac_extension
in a so sl dylib la dll
; do
10345 if test -r "$ac_dir/libX11.$ac_extension"; then
10346 ac_x_libraries
=$ac_dir
10352 rm -f core conftest.err conftest.
$ac_objext \
10353 conftest
$ac_exeext conftest.
$ac_ext
10354 fi # $ac_x_libraries = no
10356 case $ac_x_includes,$ac_x_libraries in #(
10357 no
,* |
*,no |
*\'*)
10358 # Didn't find X, or a directory has "'" in its name.
10359 ac_cv_have_x
="have_x=no";; #(
10361 # Record where we found X for the cache.
10362 ac_cv_have_x
="have_x=yes\
10363 ac_x_includes='$ac_x_includes'\
10364 ac_x_libraries='$ac_x_libraries'"
10370 eval "$ac_cv_have_x"
10373 if test "$have_x" != yes; then
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10375 $as_echo "$have_x" >&6; }
10378 # If each of the values was on the command line, it overrides each guess.
10379 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10380 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10381 # Update the cache value to reflect the command line values.
10382 ac_cv_have_x
="have_x=yes\
10383 ac_x_includes='$x_includes'\
10384 ac_x_libraries='$x_libraries'"
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10386 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10391 for path
in $x_libraries
10393 x_cflags
="$x_cflags -L$path"
10396 for path
in $x_includes
10398 x_cflags
="$x_cflags -I$path"
10401 if test "x-$no_x" = "x-yes" ; then
10403 if test "x-$x11_hidd" != "x-auto" ; then
10404 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10408 x11_hidd_target
=kernel-x11gfx-kobj
10411 # Check whether --enable-x11_shm was given.
10412 if test "${enable_x11_shm+set}" = set; then :
10413 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10415 x11_hidd_shm
="auto"
10418 case "x-$x11_hidd_shm" in
10419 x-yes|x-no|x-auto
) ;;
10420 *) x11_hidd_shm
="auto" ;;
10425 if test "x-$x11_hidd_shm" != "x-no" ; then
10427 for ac_header
in sys
/ipc.h
10429 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10430 if test "x$ac_cv_header_sys_ipc_h" = xyes
; then :
10431 cat >>confdefs.h
<<_ACEOF
10432 #define HAVE_SYS_IPC_H 1
10439 for ac_header
in sys
/shm.h
10441 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10442 if test "x$ac_cv_header_sys_shm_h" = xyes
; then :
10443 cat >>confdefs.h
<<_ACEOF
10444 #define HAVE_SYS_SHM_H 1
10452 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10454 save_cflags
="$CFLAGS"
10455 CFLAGS
="$CFLAGS $x_cflags"
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10457 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10458 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
10459 $as_echo_n "(cached) " >&6
10461 ac_check_lib_save_LIBS
=$LIBS
10462 LIBS
="-lXext $LIBS"
10463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10464 /* end confdefs.h. */
10466 /* Override any GCC internal prototype to avoid an error.
10467 Use char because int might match the return type of a GCC
10468 builtin and then its argument prototype would still apply. */
10472 char XShmQueryExtension ();
10476 return XShmQueryExtension ();
10481 if ac_fn_c_try_link
"$LINENO"; then :
10482 ac_cv_lib_Xext_XShmQueryExtension
=yes
10484 ac_cv_lib_Xext_XShmQueryExtension
=no
10486 rm -f core conftest.err conftest.
$ac_objext \
10487 conftest
$ac_exeext conftest.
$ac_ext
10488 LIBS
=$ac_check_lib_save_LIBS
10490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10491 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10492 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
10496 CFLAGS
="$save_cflags"
10500 if test "x-$have_xshm" = "x-yes" ; then
10501 DO_XSHM_SUPPORT
="1"
10502 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10503 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10505 DO_XSHM_SUPPORT
="0"
10509 # Check whether --enable-x11_vidmode was given.
10510 if test "${enable_x11_vidmode+set}" = set; then :
10511 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10513 x11_hidd_vidmode
="auto"
10516 case "x-$x11_hidd_vidmode" in
10517 x-yes|x-no|x-auto
) ;;
10518 *) x11_hidd_vidmode
="auto" ;;
10523 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10525 save_cflags
="$CFLAGS"
10526 CFLAGS
="$CFLAGS $x_cflags"
10527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10528 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
10529 if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false
; then :
10530 $as_echo_n "(cached) " >&6
10532 ac_check_lib_save_LIBS
=$LIBS
10533 LIBS
="-lXxf86vm $LIBS"
10534 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10535 /* end confdefs.h. */
10537 /* Override any GCC internal prototype to avoid an error.
10538 Use char because int might match the return type of a GCC
10539 builtin and then its argument prototype would still apply. */
10543 char XF86VidModeQueryExtension ();
10547 return XF86VidModeQueryExtension ();
10552 if ac_fn_c_try_link
"$LINENO"; then :
10553 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10555 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10557 rm -f core conftest.err conftest.
$ac_objext \
10558 conftest
$ac_exeext conftest.
$ac_ext
10559 LIBS
=$ac_check_lib_save_LIBS
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10562 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10563 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes
; then :
10567 CFLAGS
="$save_cflags"
10570 if test "x-$have_vidmode" = "x-yes" ; then
10571 DO_VIDMODE_SUPPORT
="1"
10572 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10573 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
10575 DO_VIDMODE_SUPPORT
="0"
10579 aros_host_x11_includes
=$x_includes
10580 aros_host_x11_libdirs
=$x_libraries
10584 # Check whether --enable-sdl_hidd was given.
10585 if test "${enable_sdl_hidd+set}" = set; then :
10586 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10591 case "x-$sdl_hidd" in
10592 x-yes|x-no|x-auto
) ;;
10593 *) sdl_hidd
="auto" ;;
10596 if test "x-$sdl_hidd" != "x-no" ; then
10599 # Check whether --with-sdl-prefix was given.
10600 if test "${with_sdl_prefix+set}" = set; then :
10601 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10607 # Check whether --with-sdl-exec-prefix was given.
10608 if test "${with_sdl_exec_prefix+set}" = set; then :
10609 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10614 # Check whether --enable-sdltest was given.
10615 if test "${enable_sdltest+set}" = set; then :
10616 enableval
=$enable_sdltest;
10622 if test x
$sdl_exec_prefix != x
; then
10623 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10624 if test x
${SDL_CONFIG+set} != xset
; then
10625 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10628 if test x
$sdl_prefix != x
; then
10629 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10630 if test x
${SDL_CONFIG+set} != xset
; then
10631 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10635 if test "x$prefix" != xNONE
; then
10636 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10638 # Extract the first word of "sdl-config", so it can be a program name with args.
10639 set dummy sdl-config
; ac_word
=$2
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10641 $as_echo_n "checking for $ac_word... " >&6; }
10642 if ${ac_cv_path_SDL_CONFIG+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 case $SDL_CONFIG in
10647 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10651 for as_dir
in $PATH
10654 test -z "$as_dir" && as_dir
=.
10655 for ac_exec_ext
in '' $ac_executable_extensions; do
10656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10657 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10665 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10669 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10670 if test -n "$SDL_CONFIG"; then
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
10672 $as_echo "$SDL_CONFIG" >&6; }
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10675 $as_echo "no" >&6; }
10679 min_sdl_version
=1.2.10
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10681 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10683 if test "$SDL_CONFIG" = "no" ; then
10686 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10687 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10689 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10690 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10691 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10692 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10693 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10694 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10695 if test "x$enable_sdltest" = "xyes" ; then
10696 ac_save_CFLAGS
="$CFLAGS"
10697 ac_save_CXXFLAGS
="$CXXFLAGS"
10698 ac_save_LIBS
="$LIBS"
10699 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10700 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10701 LIBS
="$LIBS $SDL_LIBS"
10703 if test "$cross_compiling" = yes; then :
10704 echo $ac_n "cross compiling; assumed OK... $ac_c"
10706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10707 /* end confdefs.h. */
10710 #include <stdlib.h>
10711 #include <string.h>
10715 my_strdup (char *str)
10721 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10722 strcpy (new_str, str);
10730 int main (int argc, char *argv[])
10732 int major, minor, micro;
10735 /* This hangs on some systems (?)
10736 system ("touch conf.sdltest");
10738 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10740 /* HP/UX 9 (%@#!) writes to sscanf strings */
10741 tmp_version = my_strdup("$min_sdl_version");
10742 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10743 printf("%s, bad version string\n", "$min_sdl_version");
10747 if (($sdl_major_version > major) ||
10748 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10749 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10755 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10756 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10757 printf("*** best to upgrade to the required version.\n");
10758 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10759 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10760 printf("*** config.cache before re-running configure\n");
10767 if ac_fn_c_try_run
"$LINENO"; then :
10772 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10773 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10776 CFLAGS
="$ac_save_CFLAGS"
10777 CXXFLAGS
="$ac_save_CXXFLAGS"
10778 LIBS
="$ac_save_LIBS"
10781 if test "x$no_sdl" = x
; then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10783 $as_echo "yes" >&6; }
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10787 $as_echo "no" >&6; }
10788 if test "$SDL_CONFIG" = "no" ; then
10789 echo "*** The sdl-config script installed by SDL could not be found"
10790 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10791 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10792 echo "*** full path to sdl-config."
10794 if test -f conf.sdltest
; then
10797 echo "*** Could not run SDL test program, checking why..."
10798 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10799 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10800 LIBS
="$LIBS $SDL_LIBS"
10801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10807 int main(int argc, char *argv[])
10810 #define main K_and_R_C_main
10820 if ac_fn_c_try_link
"$LINENO"; then :
10821 echo "*** The test program compiled, but did not run. This usually means"
10822 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10823 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10824 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10825 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10826 echo "*** is required on your system"
10828 echo "*** If you have an old version installed, it is best to remove it, although"
10829 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10831 echo "*** The test program failed to compile or link. See the file config.log for the"
10832 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10833 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10834 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10836 rm -f core conftest.err conftest.
$ac_objext \
10837 conftest
$ac_exeext conftest.
$ac_ext
10838 CFLAGS
="$ac_save_CFLAGS"
10839 CXXFLAGS
="$ac_save_CXXFLAGS"
10840 LIBS
="$ac_save_LIBS"
10852 if test "x-$have_sdl" != "x-yes" ; then
10854 if test "x-$sdl_hidd" != "x-auto" ; then
10855 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10859 sdl_hidd_target
=kernel-hidd-sdl
10860 aros_host_sdl_cflags
=SDL_CFLAGS
10861 aros_host_sdl_libs
=SDL_LIBS
10865 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10866 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10871 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
10872 oss_library_target
=workbench-libs-oss-unix
10877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10878 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10879 # Check whether --enable-dbus was given.
10880 if test "${enable_dbus+set}" = set; then :
10881 enableval
=$enable_dbus; dbus
="yes"
10886 if test "$dbus" = "yes" ; then
10888 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10889 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10890 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10891 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10896 $as_echo "$dbus" >&6; }
11006 # Native version related
11009 # Palm native version related
11012 # Unix/Hosted version related
11018 # Apple iOS related
11043 # Collect-aros stuff: "-ius" to ignore undefined symbols
11046 # C compiler related
11049 case "$aros_flavour" in
11050 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11051 aros_flavour
="emulation" ;;
11052 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11053 aros_flavour
="emulation" ;;
11054 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11055 aros_flavour
="standalone";;
11056 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11057 aros_flavour
="standalone";;
11058 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11059 aros_flavour
="native" ;;
11060 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11061 aros_flavour
="native" ;;
11062 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11063 aros_flavour
="linklib" ;;
11064 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11065 aros_flavour
="palmnative" ;;
11066 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11067 aros_flavour
="mac68knative" ;;
11068 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11069 aros_flavour
="ppcnative" ;;
11072 if test ! -d ${aros_inc_dir} ; then
11073 ${MKDIR} ${aros_inc_dir}
11075 if test ! -d ${aros_geninc_dir} ; then
11076 ${MKDIR} ${aros_geninc_dir}
11078 if test ! -d ${aros_hostcfg_dir} ; then
11079 ${MKDIR} ${aros_hostcfg_dir}
11081 if test ! -d ${aros_targetcfg_dir} ; then
11082 ${MKDIR} ${aros_targetcfg_dir}
11084 if test ! -d ${aros_tools_dir} ; then
11085 ${MKDIR} ${aros_tools_dir}
11087 if test ! -d ${aros_scripts_dir} ; then
11088 ${MKDIR} ${aros_scripts_dir}
11091 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11094 ac_config_commands
="$ac_config_commands compiler_executable"
11096 ac_config_commands
="$ac_config_commands genshared_executable"
11098 ac_config_commands
="$ac_config_commands genmf_executable"
11101 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_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/library_template_c/source/lib_source/genshared.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"
11104 cat >confcache
<<\_ACEOF
11105 # This file is a shell script that caches the results of configure
11106 # tests run on this system so they can be shared between configure
11107 # scripts and configure runs, see configure's option --config-cache.
11108 # It is not useful on other systems. If it contains results you don't
11109 # want to keep, you may remove or edit it.
11111 # config.status only pays attention to the cache file if you give it
11112 # the --recheck option to rerun configure.
11114 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11115 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11116 # following values.
11120 # The following way of writing the cache mishandles newlines in values,
11121 # but we know of no workaround that is simple, portable, and efficient.
11122 # So, we kill variables containing newlines.
11123 # Ultrix sh set writes to stderr and can't be redirected directly,
11124 # and sets the high bit in the cache file unless we assign to the vars.
11126 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11127 eval ac_val
=\$
$ac_var
11131 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11132 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11135 _ | IFS | as_nl
) ;; #(
11136 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11137 *) { eval $ac_var=; unset $ac_var;} ;;
11143 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11144 *${as_nl}ac_space
=\
*)
11145 # `set' does not quote correctly, so add quotes: double-quote
11146 # substitution turns \\\\ into \\, and sed turns \\ into \.
11149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11152 # `set' quotes correctly as required by POSIX, so do not add quotes.
11153 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11162 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11164 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11166 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11167 if test -w "$cache_file"; then
11168 if test "x$cache_file" != "x/dev/null"; then
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11170 $as_echo "$as_me: updating cache $cache_file" >&6;}
11171 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
11172 cat confcache
>"$cache_file"
11174 case $cache_file in #(
11176 mv -f confcache
"$cache_file"$$
&&
11177 mv -f "$cache_file"$$
"$cache_file" ;; #(
11179 mv -f confcache
"$cache_file" ;;
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11185 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11190 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11191 # Let make expand exec_prefix.
11192 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11194 DEFS
=-DHAVE_CONFIG_H
11199 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11200 # 1. Remove the extension, and $U if already installed.
11201 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11202 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11203 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11204 # will be set to the directory where LIBOBJS objects are built.
11205 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11206 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11208 LIBOBJS
=$ac_libobjs
11210 LTLIBOBJS
=$ac_ltlibobjs
11214 : "${CONFIG_STATUS=./config.status}"
11216 ac_clean_files_save
=$ac_clean_files
11217 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11219 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11221 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11223 # Generated by $as_me.
11224 # Run this file to recreate the current configuration.
11225 # Compiler output produced by configure, useful for debugging
11226 # configure, is in config.log if it exists.
11229 ac_cs_recheck=false
11232 SHELL=\${CONFIG_SHELL-$SHELL}
11235 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11236 ## -------------------- ##
11237 ## M4sh Initialization. ##
11238 ## -------------------- ##
11240 # Be more Bourne compatible
11241 DUALCASE
=1; export DUALCASE
# for MKS sh
11242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11245 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11246 # is contrary to our usage. Disable this feature.
11247 alias -g '${1+"$@"}'='"$@"'
11248 setopt NO_GLOB_SUBST
11250 case `(set -o) 2>/dev/null` in #(
11262 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11263 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11264 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11265 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11266 # Prefer a ksh shell builtin over an external printf program on Solaris,
11267 # but without wasting forks for bash or zsh.
11268 if test -z "$BASH_VERSION$ZSH_VERSION" \
11269 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11270 as_echo='print
-r --'
11271 as_echo_n='print
-rn --'
11272 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11273 as_echo='printf %s
\n'
11274 as_echo_n='printf %s
'
11276 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11277 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11278 as_echo_n='/usr
/ucb
/echo -n'
11280 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11281 as_echo_n_body='eval
11285 expr "X$arg" : "X\\(.*\\)$as_nl";
11286 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11288 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11290 export as_echo_n_body
11291 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11293 export as_echo_body
11294 as_echo='sh
-c $as_echo_body as_echo
'
11297 # The user is always right.
11298 if test "${PATH_SEPARATOR+set}" != set; then
11300 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11301 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11308 # We need space, tab and new line, in precisely that order. Quoting is
11309 # there to prevent editors from complaining about space-tab.
11310 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11311 # splitting by setting IFS to empty value.)
11314 # Find who we are. Look in the path if we contain no directory separator.
11317 *[\\/]* ) as_myself=$0 ;;
11318 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11319 for as_dir in $PATH
11322 test -z "$as_dir" && as_dir=.
11323 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11329 # We did not find ourselves, most probably we were run as `sh COMMAND'
11330 # in which case we are not to be found in the path.
11331 if test "x$as_myself" = x
; then
11334 if test ! -f "$as_myself"; then
11335 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11339 # Unset variables that we do not need and which cause bugs (e.g. in
11340 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11341 # suppresses any "Segmentation fault" message there. '((' could
11342 # trigger a bug in pdksh 5.2.14.
11343 for as_var
in BASH_ENV ENV MAIL MAILPATH
11344 do eval test x\
${$as_var+set} = xset \
11345 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11358 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11361 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11362 # ----------------------------------------
11363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11365 # script with STATUS, using 1 if that was 0.
11368 as_status
=$1; test $as_status -eq 0 && as_status
=1
11370 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11373 $as_echo "$as_me: error: $2" >&2
11374 as_fn_exit
$as_status
11378 # as_fn_set_status STATUS
11379 # -----------------------
11380 # Set $? to STATUS, without forking.
11381 as_fn_set_status
()
11384 } # as_fn_set_status
11386 # as_fn_exit STATUS
11387 # -----------------
11388 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11392 as_fn_set_status
$1
11398 # Portably unset VAR.
11401 { eval $1=; unset $1;}
11403 as_unset
=as_fn_unset
11404 # as_fn_append VAR VALUE
11405 # ----------------------
11406 # Append the text in VALUE to the end of the definition contained in VAR. Take
11407 # advantage of any shell optimizations that allow amortized linear growth over
11408 # repeated appends, instead of the typical quadratic growth present in naive
11410 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11411 eval 'as_fn_append ()
11422 # as_fn_arith ARG...
11423 # ------------------
11424 # Perform arithmetic evaluation on the ARGs, and store the result in the
11425 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11426 # must be portable across $(()) and expr.
11427 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11428 eval 'as_fn_arith ()
11435 as_val
=`expr "$@" || test $? -eq 1`
11440 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11441 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11447 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11448 as_basename
=basename
11453 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11459 as_me
=`$as_basename -- "$0" ||
11460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11461 X"$0" : 'X\(//\)$' \| \
11462 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11464 sed '/^.*\/\([^/][^/]*\)\/*$/{
11478 # Avoid depending upon Character Ranges.
11479 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11480 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11481 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11482 as_cr_digits
='0123456789'
11483 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11485 ECHO_C
= ECHO_N
= ECHO_T
=
11486 case `echo -n x` in #(((((
11488 case `echo 'xy\c'` in
11489 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11491 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11498 rm -f conf$$ conf$$.exe conf$$.
file
11499 if test -d conf$$.dir
; then
11500 rm -f conf$$.dir
/conf$$.
file
11503 mkdir conf$$.dir
2>/dev
/null
11505 if (echo >conf$$.
file) 2>/dev
/null
; then
11506 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11508 # ... but there are two gotchas:
11509 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11510 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11511 # In both cases, we have to default to `cp -p'.
11512 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11514 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11522 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11523 rmdir conf$$.dir
2>/dev
/null
11528 # Create "$as_dir" as a directory, including parents if necessary.
11533 -*) as_dir
=.
/$as_dir;;
11535 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11539 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11540 *) as_qdir
=$as_dir;;
11542 as_dirs
="'$as_qdir' $as_dirs"
11543 as_dir
=`$as_dirname -- "$as_dir" ||
11544 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11545 X"$as_dir" : 'X\(//\)[^/]' \| \
11546 X"$as_dir" : 'X\(//\)$' \| \
11547 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11548 $as_echo X"$as_dir" |
11549 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11553 /^X\(\/\/\)[^/].*/{
11566 test -d "$as_dir" && break
11568 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11569 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
11573 if mkdir
-p .
2>/dev
/null
; then
11574 as_mkdir_p
='mkdir -p "$as_dir"'
11576 test -d .
/-p && rmdir .
/-p
11580 if test -x / >/dev
/null
2>&1; then
11581 as_test_x
='test -x'
11583 if ls -dL / >/dev
/null
2>&1; then
11590 if test -d "$1"; then
11596 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11597 ???[sx]*):;;*)false;;esac;fi
11601 as_executable_p
=$as_test_x
11603 # Sed expression to map a string onto a valid CPP name.
11604 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11606 # Sed expression to map a string onto a valid variable name.
11607 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11611 ## ----------------------------------- ##
11612 ## Main body of $CONFIG_STATUS script. ##
11613 ## ----------------------------------- ##
11615 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11617 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11618 # Save the log message, to keep $0 and so on meaningful, and to
11619 # report actual input values of CONFIG_FILES etc. instead of their
11620 # values after options handling.
11622 This file was extended by $as_me, which was
11623 generated by GNU Autoconf 2.68. Invocation command line was
11625 CONFIG_FILES = $CONFIG_FILES
11626 CONFIG_HEADERS = $CONFIG_HEADERS
11627 CONFIG_LINKS = $CONFIG_LINKS
11628 CONFIG_COMMANDS = $CONFIG_COMMANDS
11631 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11636 case $ac_config_files in *"
11637 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11640 case $ac_config_headers in *"
11641 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11645 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11646 # Files that config.status was made for.
11647 config_files="$ac_config_files"
11648 config_headers="$ac_config_headers"
11649 config_commands="$ac_config_commands"
11653 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11655 \`$as_me' instantiates files and other configuration actions
11656 from templates according to the current configuration. Unless the files
11657 and actions are specified as TAGs, all are instantiated by default.
11659 Usage: $0 [OPTION]... [TAG]...
11661 -h, --help print this help, then exit
11662 -V, --version print version number and configuration settings, then exit
11663 --config print configuration, then exit
11664 -q, --quiet, --silent
11665 do not print progress messages
11666 -d, --debug don't remove temporary files
11667 --recheck update $as_me by reconfiguring in the same conditions
11668 --file=FILE[:TEMPLATE]
11669 instantiate the configuration file FILE
11670 --header=FILE[:TEMPLATE]
11671 instantiate the configuration header FILE
11673 Configuration files:
11676 Configuration headers:
11679 Configuration commands:
11682 Report bugs to the package provider."
11685 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11686 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11689 configured by $0, generated by GNU Autoconf 2.68,
11690 with options \\"\$ac_cs_config\\"
11692 Copyright (C) 2010 Free Software Foundation, Inc.
11693 This config.status script is free software; the Free Software Foundation
11694 gives unlimited permission to copy, distribute and modify it."
11698 test -n "\$AWK" || AWK=awk
11701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11702 # The default lists apply if the user does not specify any file.
11708 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11709 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11713 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11725 # Handling of the options.
11726 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11728 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11729 $as_echo "$ac_cs_version"; exit ;;
11730 --config |
--confi |
--conf |
--con |
--co |
--c )
11731 $as_echo "$ac_cs_config"; exit ;;
11732 --debug |
--debu |
--deb |
--de |
--d |
-d )
11734 --file |
--fil |
--fi |
--f )
11737 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11738 '') as_fn_error $?
"missing file argument" ;;
11740 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11741 ac_need_defaults
=false
;;
11742 --header |
--heade |
--head |
--hea )
11745 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11747 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11748 ac_need_defaults
=false
;;
11750 # Conflict between --help and --header
11751 as_fn_error $?
"ambiguous option: \`$1'
11752 Try \`$0 --help' for more information.";;
11753 --help |
--hel |
-h )
11754 $as_echo "$ac_cs_usage"; exit ;;
11755 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11756 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11759 # This is an error.
11760 -*) as_fn_error $?
"unrecognized option: \`$1'
11761 Try \`$0 --help' for more information." ;;
11763 *) as_fn_append ac_config_targets
" $1"
11764 ac_need_defaults
=false
;;
11770 ac_configure_extra_args
=
11772 if $ac_cs_silent; then
11774 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11779 if \$ac_cs_recheck; then
11780 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11782 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11783 CONFIG_SHELL='$SHELL'
11784 export CONFIG_SHELL
11789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11793 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11794 ## Running $as_me. ##
11800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11805 aros_host_exe_suffix=${aros_host_exe_suffix}
11806 aros_tools_dir=${aros_tools_dir}
11807 aros_target_cpu=${aros_target_cpu}
11808 aros_target_arch=${aros_target_arch}
11809 aros_target_suffix=${aros_target_suffix}
11810 aros_target_nm_ln=${aros_target_nm_ln}
11811 aros_target_as_ln=${aros_target_as_ln}
11812 aros_target_ar_ln=${aros_target_ar_ln}
11813 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11814 aros_target_objdump_ln=${aros_target_objdump_ln}
11815 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11816 aros_target_strip_ln=${aros_target_strip_ln}
11819 aros_scripts_dir=${aros_scripts_dir}
11821 aros_tools_dir=${aros_tools_dir}
11826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11828 # Handling of arguments.
11829 for ac_config_target
in $ac_config_targets
11831 case $ac_config_target in
11832 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11833 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11834 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11835 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11836 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11837 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11838 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11839 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11840 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11841 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11842 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11843 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11844 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11845 "${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" ;;
11846 "${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" ;;
11847 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/library_template_c/source/lib_source/genshared.in" ;;
11848 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11849 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11850 "${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" ;;
11852 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11857 # If the user did not use the arguments to specify the items to instantiate,
11858 # then the envvar interface is used. Set only those that are not.
11859 # We use the long form for the default assignment because of an extremely
11860 # bizarre bug on SunOS 4.1.3.
11861 if $ac_need_defaults; then
11862 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11863 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11864 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11867 # Have a temporary directory for convenience. Make it in the build tree
11868 # simply because there is no reason against having it here, and in addition,
11869 # creating and moving files from /tmp can sometimes cause problems.
11870 # Hook for its removal unless debugging.
11871 # Note that there is a small window in which the directory will not be cleaned:
11872 # after its creation but before its name has been assigned to `$tmp'.
11876 trap 'exit_status=$?
11877 : "${ac_tmp:=$tmp}"
11878 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
11880 trap 'as_fn_exit 1' 1 2 13 15
11882 # Create a (secure) tmp directory for tmp files.
11885 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11889 tmp
=.
/conf$$
-$RANDOM
11890 (umask 077 && mkdir
"$tmp")
11891 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
11894 # Set up the scripts for CONFIG_FILES section.
11895 # No need to generate them if there are no CONFIG_FILES.
11896 # This happens for instance with `./config.status config.h'.
11897 if test -n "$CONFIG_FILES"; then
11900 ac_cr
=`echo X | tr X '\015'`
11901 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11902 # But we know of no other shell where ac_cr would be empty at this
11903 # point, so we can use a bashism as a fallback.
11904 if test "x$ac_cr" = x
; then
11905 eval ac_cr
=\$
\'\\r
\'
11907 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11908 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11911 ac_cs_awk_cr
=$ac_cr
11914 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
11919 echo "cat >conf$$subs.awk <<_ACEOF" &&
11920 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11922 } >conf$$subs.sh ||
11923 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11924 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11926 for ac_last_try in false false false false false :; do
11927 . ./conf$$subs.sh ||
11928 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11930 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11931 if test $ac_delim_n = $ac_delim_num; then
11933 elif $ac_last_try; then
11934 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11936 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11939 rm -f conf$$subs.sh
11941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11942 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
11946 s/^/S["/; s
/!.
*/"]=/
11956 s/\(.\{148\}\)..*/\1/
11958 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11963 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11970 s/\(.\{148\}\)..*/\1/
11972 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11976 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11981 ' <conf$$subs.awk | sed '
11986 ' >>$CONFIG_STATUS || ac_write_fail=1
11987 rm -f conf$$subs.awk
11988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11990 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
11991 for (key in S) S_is_set[key] = 1
11997 nfields = split(line, field, "@
")
11999 len = length(field[1])
12000 for (i = 2; i < nfields; i++) {
12002 keylen = length(key)
12003 if (S_is_set[key]) {
12005 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
12006 len += length(value) + length(field[++i])
12017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12018 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
12019 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
12022 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
12023 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12026 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12027 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12028 # trailing colons and then remove the whole line if VPATH becomes empty
12029 # (actually we leave an empty line to preserve line numbers).
12030 if test "x
$srcdir" = x.; then
12031 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12050 fi # test -n "$CONFIG_FILES"
12052 # Set up the scripts for CONFIG_HEADERS section.
12053 # No need to generate them if there are no CONFIG_HEADERS.
12054 # This happens for instance with `./config.status Makefile'.
12055 if test -n "$CONFIG_HEADERS"; then
12056 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
12060 # Transform confdefs.h into an awk script `defines.awk', embedded as
12061 # here-document in config.status, that substitutes the proper values into
12062 # config.h.in to produce config.h.
12064 # Create a delimiter string that does not exist in confdefs.h, to ease
12065 # handling of long lines.
12067 for ac_last_try in false false :; do
12068 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
12069 if test -z "$ac_tt"; then
12071 elif $ac_last_try; then
12072 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12074 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12078 # For the awk script, D is an array of macro values keyed by name,
12079 # likewise P contains macro parameters if any. Preserve backslash
12080 # newline sequences.
12082 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12084 s/.\{148\}/&'"$ac_delim"'/g
12087 s/^[ ]*#[ ]*define[ ][ ]*/ /
12094 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12096 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12100 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12101 D["\
1"]=" \
3\\\\\\n
"\\/p
12103 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12108 s/.\{148\}/&'"$ac_delim"'/g
12113 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12116 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12118 ' <confdefs.h | sed '
12119 s/'"$ac_delim"'/"\\\
12120 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12123 for (key in D) D_is_set[key] = 1
12126 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12128 split(line, arg, " ")
12129 if (arg[1] == "#") {
12133 defundef
= substr
(arg
[1], 2)
12136 split(mac1
, mac2
, "(") #)
12138 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12139 if (D_is_set
[macro
]) {
12140 # Preserve the white space surrounding the "#".
12141 print prefix
"define", macro P
[macro
] D
[macro
]
12144 # Replace #undef with comments. This is necessary, for example,
12145 # in the case of _POSIX_SOURCE, which is predefined and required
12146 # on some systems where configure will not decide to define it.
12147 if (defundef
== "undef") {
12148 print
"/*", prefix defundef
, macro
, "*/"
12156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12157 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12158 fi # test -n "$CONFIG_HEADERS"
12161 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12166 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12168 case $ac_mode$ac_tag in
12170 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12171 :[FH
]-) ac_tag
=-:-;;
12172 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12189 -) ac_f
="$ac_tmp/stdin";;
12190 *) # Look for the file first in the build tree, then in the source tree
12191 # (if the path is not absolute). The absolute path cannot be DOS-style,
12192 # because $ac_f cannot contain `:'.
12196 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12198 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
12200 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12201 as_fn_append ac_file_inputs
" '$ac_f'"
12204 # Let's still pretend it is `configure' which instantiates (i.e., don't
12205 # use $as_me), people would be surprised to read:
12206 # /* config.h. Generated by config.status. */
12207 configure_input
='Generated from '`
12208 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12210 if test x
"$ac_file" != x-
; then
12211 configure_input
="$ac_file. $configure_input"
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12213 $as_echo "$as_me: creating $ac_file" >&6;}
12215 # Neutralize special characters interpreted by sed in replacement strings.
12216 case $configure_input in #(
12217 *\
&* |
*\|
* |
*\\* )
12218 ac_sed_conf_input
=`$as_echo "$configure_input" |
12219 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12220 *) ac_sed_conf_input
=$configure_input;;
12224 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
12225 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12230 ac_dir
=`$as_dirname -- "$ac_file" ||
12231 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12232 X"$ac_file" : 'X\(//\)[^/]' \| \
12233 X"$ac_file" : 'X\(//\)$' \| \
12234 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12235 $as_echo X"$ac_file" |
12236 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12240 /^X\(\/\/\)[^/].*/{
12253 as_dir
="$ac_dir"; as_fn_mkdir_p
12257 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12259 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12260 # A ".." for each directory in $ac_dir_suffix.
12261 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12262 case $ac_top_builddir_sub in
12263 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12264 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12267 ac_abs_top_builddir
=$ac_pwd
12268 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12269 # for backward compatibility:
12270 ac_top_builddir
=$ac_top_build_prefix
12273 .
) # We are building in place.
12275 ac_top_srcdir
=$ac_top_builddir_sub
12276 ac_abs_top_srcdir
=$ac_pwd ;;
12277 [\\/]* | ?
:[\\/]* ) # Absolute name.
12278 ac_srcdir
=$srcdir$ac_dir_suffix;
12279 ac_top_srcdir
=$srcdir
12280 ac_abs_top_srcdir
=$srcdir ;;
12281 *) # Relative name.
12282 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12283 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12284 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12286 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12298 # If the template does not know about datarootdir, expand it.
12299 # FIXME: This hack should be removed a few years after 2.60.
12300 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12311 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12312 *datarootdir
*) ac_datarootdir_seen
=yes;;
12313 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12315 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12318 ac_datarootdir_hack='
12319 s&@datadir@&$datadir&g
12320 s&@docdir@&$docdir&g
12321 s&@infodir@&$infodir&g
12322 s&@localedir@&$localedir&g
12323 s&@mandir@&$mandir&g
12324 s&\\\${datarootdir}&$datarootdir&g' ;;
12328 # Neutralize VPATH when `$srcdir' = `.'.
12329 # Shell code in configure.ac might set extrasub.
12330 # FIXME: do we really want to maintain this feature?
12331 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12332 ac_sed_extra="$ac_vpsub
12335 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12337 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12338 s|@configure_input@|
$ac_sed_conf_input|
;t t
12339 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12340 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12341 s
&@srcdir@
&$ac_srcdir&;t t
12342 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12343 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12344 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12345 s
&@builddir@
&$ac_builddir&;t t
12346 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12347 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12348 $ac_datarootdir_hack
12350 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
12351 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12353 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12354 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
12355 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
12356 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12358 which seems to be undefined. Please make sure it is defined" >&5
12359 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12360 which seems to be undefined. Please make sure it is defined" >&2;}
12362 rm -f "$ac_tmp/stdin"
12364 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
12365 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
12367 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12373 if test x"$ac_file" != x-; then
12375 $as_echo "/* $configure_input */" \
12376 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
12377 } >"$ac_tmp/config.h" \
12378 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12379 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12381 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12384 mv "$ac_tmp/config.h" "$ac_file" \
12385 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12388 $as_echo "/* $configure_input */" \
12389 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
12390 || as_fn_error $? "could not create -" "$LINENO" 5
12394 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12395 $as_echo "$as_me: executing $ac_file commands" >&6;}
12400 case $ac_file$ac_mode in
12401 "compiler_executable":C)
12402 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12404 prefix="${prefix}/${aros_target_cpu}-aros"
12405 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12409 chmod a+x ${prefix2}-gcc ${prefix2}-ld
12411 ln -sf ${prefix2}-gcc ${prefix}-gcc
12412 ln -sf ${prefix2}-ld ${prefix}-ld
12414 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12415 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12416 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12417 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12418 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12419 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12420 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12422 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12423 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12424 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12425 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12426 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12427 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12428 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12430 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
12431 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12439 ac_clean_files=$ac_clean_files_save
12441 test $ac_write_fail = 0 ||
12442 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12445 # configure is writing to config.log, and then calls config.status.
12446 # config.status does its own redirection, appending to config.log.
12447 # Unfortunately, on DOS this fails, as config.log is still kept open
12448 # by configure, so config.status won't be able to
write to it
; its
12449 # output is simply discarded. So we exec the FD to /dev/null,
12450 # effectively closing config.log, so it can be properly (re)opened and
12451 # appended to by config.status. When coming back to configure, we
12452 # need to make the FD available again.
12453 if test "$no_create" != yes; then
12455 ac_config_status_args
=
12456 test "$silent" = yes &&
12457 ac_config_status_args
="$ac_config_status_args --quiet"
12459 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12461 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12462 # would make configure fail if this is the last instruction.
12463 $ac_cs_success || as_fn_exit
1
12465 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12467 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12472 #XXX compatability...
12473 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12475 if test -n "$aros_shared_cflags" ; then
12476 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12477 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg