2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="mmakefile"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='LTLIBOBJS
593 ignore_undefined_symbols
609 aros_nesting_supervisor
614 aros_host_x11_libdirs
615 aros_host_x11_includes
619 aros_default_wbheight
626 aros_target_strip_flags
633 aros_kernel_objcflags
652 aros_target_cc_includes
666 aros_target_bootloader
695 aros_cflags_iquote_end
697 kernel_cflags_iquote_end
699 host_cflags_iquote_end
701 aros_target_nostdlib_ldflags
702 aros_target_detach_ldflags
703 aros_target_nix_ldflags
704 aros_target_nostartup_ldflags
705 aros_target_nostdinc_cflags
709 aros_target_ranlib_ln
710 aros_target_objdump_ln
711 aros_target_objcopy_ln
806 program_transform_name
819 enable_option_checking
828 enable_target_variant
842 enable_palm_debug_hack
843 enable_nesting_supervisor
855 ac_precious_vars
='build_alias
867 # Initialize some variables set by options.
869 ac_init_version
=false
870 ac_unrecognized_opts
=
872 # The variables have the same names as the options, with
873 # dashes changed to underlines.
881 program_transform_name
=s
,x
,x
,
889 # Installation directory options.
890 # These are left unexpanded so users can "make install exec_prefix=/foo"
891 # and all the variables that are supposed to be based on exec_prefix
892 # by default will actually change.
893 # Use braces instead of parens because sh, perl, etc. also accept them.
894 # (The list follows the same order as the GNU Coding Standards.)
895 bindir
='${exec_prefix}/bin'
896 sbindir
='${exec_prefix}/sbin'
897 libexecdir
='${exec_prefix}/libexec'
898 datarootdir
='${prefix}/share'
899 datadir
='${datarootdir}'
900 sysconfdir
='${prefix}/etc'
901 sharedstatedir
='${prefix}/com'
902 localstatedir
='${prefix}/var'
903 includedir
='${prefix}/include'
904 oldincludedir
='/usr/include'
905 docdir
='${datarootdir}/doc/${PACKAGE}'
906 infodir
='${datarootdir}/info'
911 libdir
='${exec_prefix}/lib'
912 localedir
='${datarootdir}/locale'
913 mandir
='${datarootdir}/man'
919 # If the previous option needs an argument, assign it.
920 if test -n "$ac_prev"; then
921 eval $ac_prev=\
$ac_option
927 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
931 # Accept the important Cygnus configure options, so we can diagnose typos.
933 case $ac_dashdash$ac_option in
937 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
939 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
942 -build |
--build |
--buil |
--bui |
--bu)
943 ac_prev
=build_alias
;;
944 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
945 build_alias
=$ac_optarg ;;
947 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
948 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
949 ac_prev
=cache_file
;;
950 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
951 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
952 cache_file
=$ac_optarg ;;
955 cache_file
=config.cache
;;
957 -datadir |
--datadir |
--datadi |
--datad)
959 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
960 datadir
=$ac_optarg ;;
962 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
963 |
--dataroo |
--dataro |
--datar)
964 ac_prev
=datarootdir
;;
965 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
966 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
967 datarootdir
=$ac_optarg ;;
969 -disable-* |
--disable-*)
970 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
973 as_fn_error
"invalid feature name: $ac_useropt"
974 ac_useropt_orig
=$ac_useropt
975 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
981 ac_unrecognized_sep
=', ';;
983 eval enable_
$ac_useropt=no
;;
985 -docdir |
--docdir |
--docdi |
--doc |
--do)
987 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
990 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
992 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
995 -enable-* |
--enable-*)
996 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error
"invalid feature name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_
$ac_useropt"
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval enable_
$ac_useropt=\
$ac_optarg ;;
1011 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1012 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1013 |
--exec |
--exe |
--ex)
1014 ac_prev
=exec_prefix
;;
1015 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1016 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1017 |
--exec=* |
--exe=* |
--ex=*)
1018 exec_prefix
=$ac_optarg ;;
1020 -gas |
--gas |
--ga |
--g)
1021 # Obsolete; use --with-gas.
1024 -help |
--help |
--hel |
--he |
-h)
1025 ac_init_help
=long
;;
1026 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1027 ac_init_help
=recursive
;;
1028 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1029 ac_init_help
=short
;;
1031 -host |
--host |
--hos |
--ho)
1032 ac_prev
=host_alias
;;
1033 -host=* |
--host=* |
--hos=* |
--ho=*)
1034 host_alias
=$ac_optarg ;;
1036 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1038 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1040 htmldir
=$ac_optarg ;;
1042 -includedir |
--includedir |
--includedi |
--included |
--include \
1043 |
--includ |
--inclu |
--incl |
--inc)
1044 ac_prev
=includedir
;;
1045 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1046 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1047 includedir
=$ac_optarg ;;
1049 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1051 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1052 infodir
=$ac_optarg ;;
1054 -libdir |
--libdir |
--libdi |
--libd)
1056 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1057 libdir
=$ac_optarg ;;
1059 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1060 |
--libexe |
--libex |
--libe)
1061 ac_prev
=libexecdir
;;
1062 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1063 |
--libexe=* |
--libex=* |
--libe=*)
1064 libexecdir
=$ac_optarg ;;
1066 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1067 ac_prev
=localedir
;;
1068 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1069 localedir
=$ac_optarg ;;
1071 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1072 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1073 ac_prev
=localstatedir
;;
1074 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1075 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1076 localstatedir
=$ac_optarg ;;
1078 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1080 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1081 mandir
=$ac_optarg ;;
1083 -nfp |
--nfp |
--nf)
1084 # Obsolete; use --without-fp.
1087 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1088 |
--no-cr |
--no-c |
-n)
1091 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1092 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1095 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1096 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1097 |
--oldin |
--oldi |
--old |
--ol |
--o)
1098 ac_prev
=oldincludedir
;;
1099 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1100 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1101 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1102 oldincludedir
=$ac_optarg ;;
1104 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1106 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1107 prefix
=$ac_optarg ;;
1109 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1110 |
--program-pre |
--program-pr |
--program-p)
1111 ac_prev
=program_prefix
;;
1112 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1113 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1114 program_prefix
=$ac_optarg ;;
1116 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1117 |
--program-suf |
--program-su |
--program-s)
1118 ac_prev
=program_suffix
;;
1119 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1120 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1121 program_suffix
=$ac_optarg ;;
1123 -program-transform-name |
--program-transform-name \
1124 |
--program-transform-nam |
--program-transform-na \
1125 |
--program-transform-n |
--program-transform- \
1126 |
--program-transform |
--program-transfor \
1127 |
--program-transfo |
--program-transf \
1128 |
--program-trans |
--program-tran \
1129 |
--progr-tra |
--program-tr |
--program-t)
1130 ac_prev
=program_transform_name
;;
1131 -program-transform-name=* |
--program-transform-name=* \
1132 |
--program-transform-nam=* |
--program-transform-na=* \
1133 |
--program-transform-n=* |
--program-transform-=* \
1134 |
--program-transform=* |
--program-transfor=* \
1135 |
--program-transfo=* |
--program-transf=* \
1136 |
--program-trans=* |
--program-tran=* \
1137 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1138 program_transform_name
=$ac_optarg ;;
1140 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1142 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1143 pdfdir
=$ac_optarg ;;
1145 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1147 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1151 |
-silent |
--silent |
--silen |
--sile |
--sil)
1154 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1156 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1158 sbindir
=$ac_optarg ;;
1160 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1161 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1162 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1164 ac_prev
=sharedstatedir
;;
1165 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1166 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1167 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1169 sharedstatedir
=$ac_optarg ;;
1171 -site |
--site |
--sit)
1173 -site=* |
--site=* |
--sit=*)
1176 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1178 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1179 srcdir
=$ac_optarg ;;
1181 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1182 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1183 ac_prev
=sysconfdir
;;
1184 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1185 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1186 sysconfdir
=$ac_optarg ;;
1188 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1189 ac_prev
=target_alias
;;
1190 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1191 target_alias
=$ac_optarg ;;
1193 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1196 -version |
--version |
--versio |
--versi |
--vers |
-V)
1197 ac_init_version
=: ;;
1200 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1203 as_fn_error
"invalid package name: $ac_useropt"
1204 ac_useropt_orig
=$ac_useropt
1205 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1210 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1211 ac_unrecognized_sep
=', ';;
1213 eval with_
$ac_useropt=\
$ac_optarg ;;
1215 -without-* |
--without-*)
1216 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1219 as_fn_error
"invalid package name: $ac_useropt"
1220 ac_useropt_orig
=$ac_useropt
1221 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1226 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1227 ac_unrecognized_sep
=', ';;
1229 eval with_
$ac_useropt=no
;;
1232 # Obsolete; use --with-x.
1235 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1236 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1237 ac_prev
=x_includes
;;
1238 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1239 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1240 x_includes
=$ac_optarg ;;
1242 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1243 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1244 ac_prev
=x_libraries
;;
1245 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1246 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1247 x_libraries
=$ac_optarg ;;
1249 -*) as_fn_error
"unrecognized option: \`$ac_option'
1250 Try \`$0 --help' for more information."
1254 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 case $ac_envvar in #(
1257 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1258 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1260 eval $ac_envvar=\
$ac_optarg
1261 export $ac_envvar ;;
1264 # FIXME: should be removed in autoconf 3.0.
1265 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1266 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1267 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1268 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1274 if test -n "$ac_prev"; then
1275 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1276 as_fn_error
"missing argument to $ac_option"
1279 if test -n "$ac_unrecognized_opts"; then
1280 case $enable_option_checking in
1282 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1283 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1287 # Check all directory arguments for consistency.
1288 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
1293 eval ac_val
=\$
$ac_var
1294 # Remove trailing slashes.
1297 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1298 eval $ac_var=\
$ac_val;;
1300 # Be sure to have absolute directory names.
1302 [\\/$
]* | ?
:[\\/]* ) continue;;
1303 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1305 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1308 # There might be people who depend on the old broken behavior: `$host'
1309 # used to hold the argument of --host etc.
1310 # FIXME: To remove some day.
1313 target
=$target_alias
1315 # FIXME: To remove some day.
1316 if test "x$host_alias" != x
; then
1317 if test "x$build_alias" = x
; then
1318 cross_compiling
=maybe
1319 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1320 If a cross compiler is detected then cross compile mode will be used." >&2
1321 elif test "x$build_alias" != "x$host_alias"; then
1327 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1329 test "$silent" = yes && exec 6>/dev
/null
1332 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1333 ac_ls_di
=`ls -di .` &&
1334 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1335 as_fn_error
"working directory cannot be determined"
1336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1337 as_fn_error
"pwd does not report name of working directory"
1340 # Find the source files, if location was not specified.
1341 if test -z "$srcdir"; then
1342 ac_srcdir_defaulted
=yes
1343 # Try the directory containing this script, then the parent directory.
1344 ac_confdir
=`$as_dirname -- "$as_myself" ||
1345 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1346 X"$as_myself" : 'X\(//\)[^/]' \| \
1347 X"$as_myself" : 'X\(//\)$' \| \
1348 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1349 $as_echo X"$as_myself" |
1350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1368 if test ! -r "$srcdir/$ac_unique_file"; then
1372 ac_srcdir_defaulted
=no
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1375 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1376 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1378 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1380 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1382 # When building in place, set srcdir=.
1383 if test "$ac_abs_confdir" = "$ac_pwd"; then
1386 # Remove unnecessary trailing slashes from srcdir.
1387 # Double slashes in file names in object file debugging info
1388 # mess up M-x gdb in Emacs.
1390 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1392 for ac_var
in $ac_precious_vars; do
1393 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1394 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1395 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1396 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1400 # Report the --help message.
1402 if test "$ac_init_help" = "long"; then
1403 # Omit some internal or obsolete options to make the list less imposing.
1404 # This message is too long to be a string in the A/UX 3.1 sh.
1406 \`configure' configures this package to adapt to many kinds of systems.
1408 Usage: $0 [OPTION]... [VAR=VALUE]...
1410 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1411 VAR=VALUE. See below for descriptions of some of the useful variables.
1413 Defaults for the options are specified in brackets.
1416 -h, --help display this help and exit
1417 --help=short display options specific to this package
1418 --help=recursive display the short help of all the included packages
1419 -V, --version display version information and exit
1420 -q, --quiet, --silent do not print \`checking...' messages
1421 --cache-file=FILE cache test results in FILE [disabled]
1422 -C, --config-cache alias for \`--cache-file=config.cache'
1423 -n, --no-create do not create output files
1424 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1426 Installation directories:
1427 --prefix=PREFIX install architecture-independent files in PREFIX
1428 [$ac_default_prefix]
1429 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1432 By default, \`make install' will install all the files in
1433 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1434 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1435 for instance \`--prefix=\$HOME'.
1437 For better control, use the options below.
1439 Fine tuning of the installation directories:
1440 --bindir=DIR user executables [EPREFIX/bin]
1441 --sbindir=DIR system admin executables [EPREFIX/sbin]
1442 --libexecdir=DIR program executables [EPREFIX/libexec]
1443 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1444 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1445 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1446 --libdir=DIR object code libraries [EPREFIX/lib]
1447 --includedir=DIR C header files [PREFIX/include]
1448 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1449 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1450 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1451 --infodir=DIR info documentation [DATAROOTDIR/info]
1452 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1453 --mandir=DIR man documentation [DATAROOTDIR/man]
1454 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1455 --htmldir=DIR html documentation [DOCDIR]
1456 --dvidir=DIR dvi documentation [DOCDIR]
1457 --pdfdir=DIR pdf documentation [DOCDIR]
1458 --psdir=DIR ps documentation [DOCDIR]
1464 --x-includes=DIR X include files are
in DIR
1465 --x-libraries=DIR X library files are
in DIR
1468 --build=BUILD configure
for building on BUILD
[guessed
]
1469 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1473 if test -n "$ac_init_help"; then
1478 --disable-option-checking ignore unrecognized
--enable/--with options
1479 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1480 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1481 --enable-build-type=TYPE
1482 Select the build
type. Available types are
:
1483 personal
, nightly
, snapshot
, milestone
, release. Do
1484 NOT use this option unless you know what you are
1485 doing
! (default
=personal
)
1486 --enable-debug=list Enable different types of debug. Commas or
1487 whitespaces can be used to separate the items
in the
1488 list. Available types of debug are
: all
, none
,
1489 messages
, stack
, mungwall
, modules
, symbols. If no
1490 list is provided
then "all" is assumed.
1492 --enable-crosstools Build cross-compiler toolchains
if necessary
1494 --enable-distcc Use distcc as a front end to the compiler
1496 --enable-ccache Use ccache as a front end to the compiler
1498 --enable-target-variant=NAME
1499 Enable a specific target variant
(default
=none
)
1500 --enable-includes=dir Alternative system include directory
1501 --enable-palm-debug-hack
1502 Enable palm debug output hack
in palm native
1504 --enable-nesting-supervisor
1505 Enable nesting supervisor support
in unix
1507 --disable-mmu Disable MMU support
(default
=enabled
)
1508 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1509 --enable-x11-shm use X11 shared memory
(default
=auto
)
1510 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1511 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1512 --disable-sdltest Do not try to compile and run a
test SDL program
1513 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1516 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1517 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1518 --with-gcc-version=VERSION
1519 Use gcc-VERSION
for building AROS
1520 --with-optimization=FLAGS
1521 Use optimization flags FLAGS
(default
=-O2).
1522 --with-paranoia=FLAGS CC flags to
enable paranoia
1523 --with-xcode=PATH Specify XCode path
for iOS targets
1524 (default
=/Developer
).
1525 --with-ios-version=VERSION
1526 Specify minimum supported iOS version
(default
=3.0).
1527 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1528 --with-sdk=PATH Specify Android SDK path
1529 (default
=$default_android_sdk).
1530 --with-ndk=PATH Specify Android NDK path
1531 (default
=$default_android_ndk).
1532 --with-android-version=VERSION
1533 Use Android platform VERSION
(default
=2.2).
1534 --with-portssources=DIR Where to download sourcecode
for external ports
1535 --with-bootloader=NAME Use a specific bootloader
1536 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1537 --with-theme=NAME Use a specific GUI Theme
1538 --with-resolution=XRESxYRESxDEPTH
1539 Default resolution of the initial WorkbenchScreen
1540 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1541 --with-x use the X Window System
1542 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1543 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1545 Some influential environment variables
:
1546 CC C compiler
command
1547 CFLAGS C compiler flags
1548 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1549 nonstandard directory
<lib dir
>
1550 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1551 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1552 you have headers
in a nonstandard directory
<include dir
>
1554 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1556 Use these variables to override the choices made by
`configure' or to help
1557 it to find libraries and programs with nonstandard names/locations.
1559 Report bugs to the package provider.
1564 if test "$ac_init_help" = "recursive"; then
1565 # If there are subdirs, report their specific --help.
1566 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1567 test -d "$ac_dir" ||
1568 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1573 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1575 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1576 # A ".." for each directory in $ac_dir_suffix.
1577 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1578 case $ac_top_builddir_sub in
1579 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1580 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1583 ac_abs_top_builddir=$ac_pwd
1584 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1585 # for backward compatibility:
1586 ac_top_builddir=$ac_top_build_prefix
1589 .) # We are building in place.
1591 ac_top_srcdir=$ac_top_builddir_sub
1592 ac_abs_top_srcdir=$ac_pwd ;;
1593 [\\/]* | ?:[\\/]* ) # Absolute name.
1594 ac_srcdir=$srcdir$ac_dir_suffix;
1595 ac_top_srcdir=$srcdir
1596 ac_abs_top_srcdir=$srcdir ;;
1598 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1599 ac_top_srcdir=$ac_top_build_prefix$srcdir
1600 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1602 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1604 cd "$ac_dir" || { ac_status=$?; continue; }
1605 # Check for guested configure.
1606 if test -f "$ac_srcdir/configure.gnu"; then
1608 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1609 elif test -f "$ac_srcdir/configure"; then
1611 $SHELL "$ac_srcdir/configure" --help=recursive
1613 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1615 cd "$ac_pwd" || { ac_status=$?; break; }
1619 test -n "$ac_init_help" && exit $ac_status
1620 if $ac_init_version; then
1623 generated by GNU Autoconf 2.64
1625 Copyright (C) 2009 Free Software Foundation, Inc.
1626 This configure script is free software; the Free Software Foundation
1627 gives unlimited permission to copy, distribute and modify it.
1632 ## ------------------------ ##
1633 ## Autoconf initialization. ##
1634 ## ------------------------ ##
1636 # ac_fn_c_try_compile LINENO
1637 # --------------------------
1638 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1639 ac_fn_c_try_compile ()
1641 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1642 rm -f conftest.$ac_objext
1643 if { { ac_try="$ac_compile"
1645 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1646 *) ac_try_echo
=$ac_try;;
1648 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1649 $as_echo "$ac_try_echo"; } >&5
1650 (eval "$ac_compile") 2>conftest.err
1652 if test -s conftest.err
; then
1653 grep -v '^ *+' conftest.err
>conftest.er1
1654 cat conftest.er1
>&5
1655 mv -f conftest.er1 conftest.err
1657 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1658 test $ac_status = 0; } && {
1659 test -z "$ac_c_werror_flag" ||
1660 test ! -s conftest.err
1661 } && test -s conftest.
$ac_objext; then :
1664 $as_echo "$as_me: failed program was:" >&5
1665 sed 's/^/| /' conftest.
$ac_ext >&5
1669 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1672 } # ac_fn_c_try_compile
1674 # ac_fn_c_try_cpp LINENO
1675 # ----------------------
1676 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1679 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1680 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } >/dev/null && {
1696 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1701 $as_echo "$as_me: failed program was:" >&5
1702 sed 's/^/| /' conftest.$ac_ext >&5
1706 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1711 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1712 # -------------------------------------------------------
1713 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1714 # the include files in INCLUDES and setting the cache variable VAR
1716 ac_fn_c_check_header_mongrel ()
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1721 $as_echo_n "checking for $2... " >&6; }
1722 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1723 $as_echo_n "(cached) " >&6
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1727 $as_echo "$ac_res" >&6; }
1729 # Is the header compilable?
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1731 $as_echo_n "checking $2 usability... " >&6; }
1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1737 if ac_fn_c_try_compile "$LINENO"; then :
1738 ac_header_compiler=yes
1740 ac_header_compiler=no
1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1744 $as_echo "$ac_header_compiler" >&6; }
1746 # Is the header present?
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1748 $as_echo_n "checking $2 presence... " >&6; }
1749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1750 /* end confdefs.h. */
1753 if ac_fn_c_try_cpp "$LINENO"; then :
1754 ac_header_preproc=yes
1756 ac_header_preproc=no
1758 rm -f conftest.err conftest.$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1760 $as_echo "$ac_header_preproc" >&6; }
1762 # So? What about this header?
1763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1766 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1768 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1772 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1774 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1776 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1778 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1780 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1786 $as_echo_n "(cached) " >&6
1788 eval "$3=\$ac_header_compiler"
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1792 $as_echo "$ac_res" >&6; }
1794 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796 } # ac_fn_c_check_header_mongrel
1798 # ac_fn_c_try_run LINENO
1799 # ----------------------
1800 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1801 # that executables *can* be run.
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 if { { ac_try="$ac_link"
1807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1808 *) ac_try_echo
=$ac_try;;
1810 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1811 $as_echo "$ac_try_echo"; } >&5
1812 (eval "$ac_link") 2>&5
1814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1815 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1816 { { case "(($ac_try" in
1817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1818 *) ac_try_echo=$ac_try;;
1820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1821 $as_echo "$ac_try_echo"; } >&5
1822 (eval "$ac_try") 2>&5
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; }; }; then :
1828 $as_echo "$as_me: program exited with status $ac_status" >&5
1829 $as_echo "$as_me: failed program was:" >&5
1830 sed 's/^/| /' conftest.$ac_ext >&5
1832 ac_retval=$ac_status
1834 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1835 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1840 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1841 # -------------------------------------------------------
1842 # Tests whether HEADER exists and can be compiled using the include files in
1843 # INCLUDES, setting the cache variable VAR accordingly.
1844 ac_fn_c_check_header_compile ()
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1850 $as_echo_n "(cached) " >&6
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1857 if ac_fn_c_try_compile "$LINENO"; then :
1862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1866 $as_echo "$ac_res" >&6; }
1867 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 } # ac_fn_c_check_header_compile
1871 # ac_fn_c_try_link LINENO
1872 # -----------------------
1873 # Try to link conftest.$ac_ext, and return whether this succeeded.
1876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1877 rm -f conftest.$ac_objext conftest$ac_exeext
1878 if { { ac_try="$ac_link"
1880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1881 *) ac_try_echo
=$ac_try;;
1883 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_link") 2>conftest.err
1887 if test -s conftest.err
; then
1888 grep -v '^ *+' conftest.err
>conftest.er1
1889 cat conftest.er1
>&5
1890 mv -f conftest.er1 conftest.err
1892 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1893 test $ac_status = 0; } && {
1894 test -z "$ac_c_werror_flag" ||
1895 test ! -s conftest.err
1896 } && test -s conftest
$ac_exeext && {
1897 test "$cross_compiling" = yes ||
1898 $as_test_x conftest
$ac_exeext
1902 $as_echo "$as_me: failed program was:" >&5
1903 sed 's/^/| /' conftest.
$ac_ext >&5
1907 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1908 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1909 # interfere with the next link command; also delete a directory that is
1910 # left behind by Apple's compiler. We do this before executing the actions.
1911 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1912 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1915 } # ac_fn_c_try_link
1917 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1918 # ----------------------------------------------------
1919 # Tries to find if the field MEMBER exists in type AGGR, after including
1920 # INCLUDES, setting cache variable VAR accordingly.
1921 ac_fn_c_check_member
()
1923 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1925 $as_echo_n "checking for $2.$3... " >&6; }
1926 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1927 $as_echo_n "(cached) " >&6
1929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1930 /* end confdefs.h. */
1942 if ac_fn_c_try_compile
"$LINENO"; then :
1945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1952 if (sizeof ac_aggr.$3)
1958 if ac_fn_c_try_compile
"$LINENO"; then :
1963 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969 $as_echo "$ac_res" >&6; }
1970 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1972 } # ac_fn_c_check_member
1974 # ac_fn_c_check_decl LINENO SYMBOL VAR
1975 # ------------------------------------
1976 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1977 ac_fn_c_check_decl
()
1979 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1981 $as_echo_n "checking whether $2 is declared... " >&6; }
1982 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1983 $as_echo_n "(cached) " >&6
1985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1999 if ac_fn_c_try_compile
"$LINENO"; then :
2004 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2008 $as_echo "$ac_res" >&6; }
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2011 } # ac_fn_c_check_decl
2013 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2014 # -------------------------------------------
2015 # Tests whether TYPE exists after having included INCLUDES, setting cache
2016 # variable VAR accordingly.
2017 ac_fn_c_check_type
()
2019 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021 $as_echo_n "checking for $2... " >&6; }
2022 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2023 $as_echo_n "(cached) " >&6
2026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2027 /* end confdefs.h. */
2038 if ac_fn_c_try_compile
"$LINENO"; then :
2039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2040 /* end confdefs.h. */
2051 if ac_fn_c_try_compile
"$LINENO"; then :
2056 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2058 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2062 $as_echo "$ac_res" >&6; }
2063 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2065 } # ac_fn_c_check_type
2067 # ac_fn_c_check_func LINENO FUNC VAR
2068 # ----------------------------------
2069 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2070 ac_fn_c_check_func
()
2072 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2074 $as_echo_n "checking for $2... " >&6; }
2075 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2076 $as_echo_n "(cached) " >&6
2078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2079 /* end confdefs.h. */
2080 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2082 #define $2 innocuous_$2
2084 /* System header to define __stub macros and hopefully few prototypes,
2085 which can conflict with char $2 (); below.
2086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2087 <limits.h> exists even on freestanding compilers. */
2090 # include <limits.h>
2092 # include <assert.h>
2097 /* Override any GCC internal prototype to avoid an error.
2098 Use char because int might match the return type of a GCC
2099 builtin and then its argument prototype would still apply. */
2104 /* The GNU C library defines this for functions which it implements
2105 to always fail with ENOSYS. Some functions are actually named
2106 something starting with __ and the normal name is an alias. */
2107 #if defined __stub_$2 || defined __stub___$2
2119 if ac_fn_c_try_link
"$LINENO"; then :
2124 rm -f core conftest.err conftest.
$ac_objext \
2125 conftest
$ac_exeext conftest.
$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2132 } # ac_fn_c_check_func
2133 cat >config.log
<<_ACEOF
2134 This file contains any messages produced by compilers while
2135 running configure, to aid debugging if configure makes a mistake.
2137 It was created by $as_me, which was
2138 generated by GNU Autoconf 2.64. Invocation command line was
2150 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2151 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2152 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2153 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2154 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2156 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2162 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir
=.
2174 $as_echo "PATH: $as_dir"
2190 # Keep a trace of the command line.
2191 # Strip out --no-create and --no-recursion so they do not pile up.
2192 # Strip out --silent because we don't want to record it for future runs.
2193 # Also quote any args containing shell meta-characters.
2194 # Make two passes to allow for proper duplicate-argument suppression.
2198 ac_must_keep_next
=false
2204 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2206 |
-silent |
--silent |
--silen |
--sile |
--sil)
2209 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2214 as_fn_append ac_configure_args1
" '$ac_arg'"
2215 if test $ac_must_keep_next = true
; then
2216 ac_must_keep_next
=false
# Got value, back to normal.
2219 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2220 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2221 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2222 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2223 case "$ac_configure_args0 " in
2224 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227 -* ) ac_must_keep_next
=true
;;
2230 as_fn_append ac_configure_args
" '$ac_arg'"
2235 { ac_configure_args0
=; unset ac_configure_args0
;}
2236 { ac_configure_args1
=; unset ac_configure_args1
;}
2238 # When interrupted or exit'd, cleanup temporary files, and complete
2239 # config.log. We remove comments because anyway the quotes in there
2240 # would cause problems or look ugly.
2241 # WARNING: Use '\'' to represent an apostrophe within the trap.
2242 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2243 trap 'exit_status=$?
2244 # Save into config.log some information that might help in debugging.
2249 ## ---------------- ##
2250 ## Cache variables. ##
2251 ## ---------------- ##
2254 # The following way of writing the cache mishandles newlines in values,
2256 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2257 eval ac_val=\$$ac_var
2261 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2262 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2265 _ | IFS | as_nl) ;; #(
2266 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2267 *) { eval $ac_var=; unset $ac_var;} ;;
2272 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2273 *${as_nl}ac_space=\ *)
2275 "s/'\''/'\''\\\\'\'''\''/g;
2276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2279 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2287 ## ----------------- ##
2288 ## Output variables. ##
2289 ## ----------------- ##
2292 for ac_var in $ac_subst_vars
2294 eval ac_val=\$$ac_var
2296 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2298 $as_echo "$ac_var='\''$ac_val'\''"
2302 if test -n "$ac_subst_files"; then
2304 ## ------------------- ##
2305 ## File substitutions. ##
2306 ## ------------------- ##
2309 for ac_var
in $ac_subst_files
2311 eval ac_val
=\$
$ac_var
2313 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2315 $as_echo "$ac_var='\''$ac_val'\''"
2320 if test -s confdefs.h; then
2330 test "$ac_signal" != 0 &&
2331 $as_echo "$as_me: caught signal $ac_signal"
2332 $as_echo "$as_me: exit $exit_status"
2334 rm -f core *.core core.conftest.* &&
2335 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2338 for ac_signal
in 1 2 13 15; do
2339 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2343 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2344 rm -f -r conftest
* confdefs.h
2346 $as_echo "/* confdefs.h */" > confdefs.h
2348 # Predefined preprocessor variables.
2350 cat >>confdefs.h
<<_ACEOF
2351 #define PACKAGE_NAME "$PACKAGE_NAME"
2354 cat >>confdefs.h
<<_ACEOF
2355 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2358 cat >>confdefs.h
<<_ACEOF
2359 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2362 cat >>confdefs.h
<<_ACEOF
2363 #define PACKAGE_STRING "$PACKAGE_STRING"
2366 cat >>confdefs.h
<<_ACEOF
2367 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2370 cat >>confdefs.h
<<_ACEOF
2371 #define PACKAGE_URL "$PACKAGE_URL"
2375 # Let the site file select an alternate cache file if it wants to.
2376 # Prefer an explicitly selected file to automatically selected ones.
2379 if test -n "$CONFIG_SITE"; then
2380 ac_site_file1
=$CONFIG_SITE
2381 elif test "x$prefix" != xNONE
; then
2382 ac_site_file1
=$prefix/share
/config.site
2383 ac_site_file2
=$prefix/etc
/config.site
2385 ac_site_file1
=$ac_default_prefix/share
/config.site
2386 ac_site_file2
=$ac_default_prefix/etc
/config.site
2388 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2390 test "x$ac_site_file" = xNONE
&& continue
2391 if test -r "$ac_site_file"; then
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2393 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2394 sed 's/^/| /' "$ac_site_file" >&5
2399 if test -r "$cache_file"; then
2400 # Some versions of bash will fail to source /dev/null (special
2401 # files actually), so we avoid doing that.
2402 if test -f "$cache_file"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2404 $as_echo "$as_me: loading cache $cache_file" >&6;}
2406 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2407 *) .
"./$cache_file";;
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2412 $as_echo "$as_me: creating cache $cache_file" >&6;}
2416 # Check that the precious variables saved in the cache have kept the same
2418 ac_cache_corrupted
=false
2419 for ac_var
in $ac_precious_vars; do
2420 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2421 eval ac_new_set
=\
$ac_env_${ac_var}_set
2422 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2423 eval ac_new_val
=\
$ac_env_${ac_var}_value
2424 case $ac_old_set,$ac_new_set in
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2427 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2428 ac_cache_corrupted
=: ;;
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2431 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2432 ac_cache_corrupted
=: ;;
2435 if test "x$ac_old_val" != "x$ac_new_val"; then
2436 # differences in whitespace do not lead to failure.
2437 ac_old_val_w
=`echo x $ac_old_val`
2438 ac_new_val_w
=`echo x $ac_new_val`
2439 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2441 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2442 ac_cache_corrupted
=:
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2445 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2446 eval $ac_var=\
$ac_old_val
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2449 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2451 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2454 # Pass precious variables to config.status.
2455 if test "$ac_new_set" = set; then
2457 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2458 *) ac_arg
=$ac_var=$ac_new_val ;;
2460 case " $ac_configure_args " in
2461 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2462 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2466 if $ac_cache_corrupted; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2470 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2471 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2473 ## -------------------- ##
2474 ## Main body of script. ##
2475 ## -------------------- ##
2478 ac_cpp
='$CPP $CPPFLAGS'
2479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2486 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2487 for ac_t
in install-sh
install.sh shtool
; do
2488 if test -f "$ac_dir/$ac_t"; then
2490 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2495 if test -z "$ac_aux_dir"; then
2496 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2499 # These three variables are undocumented and unsupported,
2500 # and are intended to be withdrawn in a future Autoconf release.
2501 # They can cause serious problems if a builder's source tree is in a directory
2502 # whose full name contains unusual characters.
2503 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2504 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2505 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2509 # Check what host we are running on.
2510 # If a target is not suggested, we use this one.
2511 # Note that what we call a target, Autoconf calls a host.
2512 # Make sure we can run config.sub.
2513 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2514 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2517 $as_echo_n "checking build system type... " >&6; }
2518 if test "${ac_cv_build+set}" = set; then :
2519 $as_echo_n "(cached) " >&6
2521 ac_build_alias
=$build_alias
2522 test "x$ac_build_alias" = x
&&
2523 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2524 test "x$ac_build_alias" = x
&&
2525 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2526 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2527 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2531 $as_echo "$ac_cv_build" >&6; }
2532 case $ac_cv_build in
2534 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2537 ac_save_IFS
=$IFS; IFS
='-'
2543 # Remember, the first character of IFS is used to create $*,
2544 # except with old shells:
2547 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2551 $as_echo_n "checking host system type... " >&6; }
2552 if test "${ac_cv_host+set}" = set; then :
2553 $as_echo_n "(cached) " >&6
2555 if test "x$host_alias" = x
; then
2556 ac_cv_host
=$ac_cv_build
2558 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2559 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2564 $as_echo "$ac_cv_host" >&6; }
2567 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2570 ac_save_IFS
=$IFS; IFS
='-'
2576 # Remember, the first character of IFS is used to create $*,
2577 # except with old shells:
2580 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2584 # The AROS target is slightly different to the normal GNU style
2585 # format. We don't have the middle part, and we reverse the order
2586 # of the $(CPU) and $(OS) bits.
2588 # Don't strip the version of the target yet, it might be
2589 # useful on some systems.
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2592 $as_echo_n "checking for AROS style target... " >&6; }
2594 if test "$target" = "NONE" ; then
2595 target
=$host_os-$host_cpu
2598 if test "$target" = "" ; then
2599 target
=$host_os-$host_cpu
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2606 $as_echo "$target" >&6; }
2608 if test "$host_os" = "mingw32" ; then
2612 #don't know where else to put this...
2613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2614 $as_echo_n "checking Building AROS in .. ... " >&6; }
2615 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2616 AROS_BUILDDIR_UNIX
=${PWD}
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2618 $as_echo "$AROS_BUILDDIR" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2621 $as_echo_n "checking AROS Source in .. ... " >&6; }
2622 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2625 $as_echo "$SRCDIR" >&6; }
2627 # Parse the target field into something useful.
2629 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2630 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2633 aros_default_wbwidth
=800
2634 aros_default_wbheight
=600
2635 aros_default_wbdepth
=4
2638 # The first step is to find the host binaries.
2639 # Check for a compiler.
2641 ac_cpp
='$CPP $CPPFLAGS'
2642 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2643 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2644 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2645 if test -n "$ac_tool_prefix"; then
2646 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2647 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 $as_echo_n "checking for $ac_word... " >&6; }
2650 if test "${ac_cv_prog_CC+set}" = set; then :
2651 $as_echo_n "(cached) " >&6
2653 if test -n "$CC"; then
2654 ac_cv_prog_CC
="$CC" # Let the user override the test.
2656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir
=.
2661 for ac_exec_ext
in '' $ac_executable_extensions; do
2662 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2663 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2664 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2674 if test -n "$CC"; then
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2676 $as_echo "$CC" >&6; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2679 $as_echo "no" >&6; }
2684 if test -z "$ac_cv_prog_CC"; then
2686 # Extract the first word of "gcc", so it can be a program name with args.
2687 set dummy gcc
; ac_word
=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$ac_ct_CC"; then
2694 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2703 ac_cv_prog_ac_ct_CC
="gcc"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2714 if test -n "$ac_ct_CC"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2716 $as_echo "$ac_ct_CC" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2722 if test "x$ac_ct_CC" = x
; then
2725 case $cross_compiling:$ac_tool_warned in
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2728 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2729 ac_tool_warned
=yes ;;
2737 if test -z "$CC"; then
2738 if test -n "$ac_tool_prefix"; then
2739 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2740 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2742 $as_echo_n "checking for $ac_word... " >&6; }
2743 if test "${ac_cv_prog_CC+set}" = set; then :
2744 $as_echo_n "(cached) " >&6
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC
="$CC" # Let the user override the test.
2749 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2753 test -z "$as_dir" && as_dir
=.
2754 for ac_exec_ext
in '' $ac_executable_extensions; do
2755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2756 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2767 if test -n "$CC"; then
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2769 $as_echo "$CC" >&6; }
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2772 $as_echo "no" >&6; }
2778 if test -z "$CC"; then
2779 # Extract the first word of "cc", so it can be a program name with args.
2780 set dummy cc
; ac_word
=$2
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 $as_echo_n "checking for $ac_word... " >&6; }
2783 if test "${ac_cv_prog_CC+set}" = set; then :
2784 $as_echo_n "(cached) " >&6
2786 if test -n "$CC"; then
2787 ac_cv_prog_CC
="$CC" # Let the user override the test.
2790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir
=.
2795 for ac_exec_ext
in '' $ac_executable_extensions; do
2796 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2797 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2798 ac_prog_rejected
=yes
2802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809 if test $ac_prog_rejected = yes; then
2810 # We found a bogon in the path, so make sure we never use it.
2811 set dummy
$ac_cv_prog_CC
2813 if test $# != 0; then
2814 # We chose a different compiler from the bogus one.
2815 # However, it has the same basename, so the bogon will be chosen
2816 # first if we set CC to just the basename; use the full file name.
2818 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2824 if test -n "$CC"; then
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2826 $as_echo "$CC" >&6; }
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2829 $as_echo "no" >&6; }
2834 if test -z "$CC"; then
2835 if test -n "$ac_tool_prefix"; then
2836 for ac_prog
in cl.exe
2838 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2839 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2841 $as_echo_n "checking for $ac_word... " >&6; }
2842 if test "${ac_cv_prog_CC+set}" = set; then :
2843 $as_echo_n "(cached) " >&6
2845 if test -n "$CC"; then
2846 ac_cv_prog_CC
="$CC" # Let the user override the test.
2848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir
=.
2853 for ac_exec_ext
in '' $ac_executable_extensions; do
2854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2855 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 if test -n "$CC"; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2868 $as_echo "$CC" >&6; }
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2871 $as_echo "no" >&6; }
2875 test -n "$CC" && break
2878 if test -z "$CC"; then
2880 for ac_prog
in cl.exe
2882 # Extract the first word of "$ac_prog", so it can be a program name with args.
2883 set dummy
$ac_prog; ac_word
=$2
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2887 $as_echo_n "(cached) " >&6
2889 if test -n "$ac_ct_CC"; then
2890 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir
=.
2897 for ac_exec_ext
in '' $ac_executable_extensions; do
2898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899 ac_cv_prog_ac_ct_CC
="$ac_prog"
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2909 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2910 if test -n "$ac_ct_CC"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2912 $as_echo "$ac_ct_CC" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2919 test -n "$ac_ct_CC" && break
2922 if test "x$ac_ct_CC" = x
; then
2925 case $cross_compiling:$ac_tool_warned in
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2928 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2929 ac_tool_warned
=yes ;;
2938 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2940 as_fn_error
"no acceptable C compiler found in \$PATH
2941 See \`config.log' for more details." "$LINENO" 5; }
2943 # Provide some information about the compiler.
2944 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2947 for ac_option
in --version -v -V -qversion; do
2948 { { ac_try
="$ac_compiler $ac_option >&5"
2950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2951 *) ac_try_echo=$ac_try;;
2953 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2954 $as_echo "$ac_try_echo"; } >&5
2955 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2957 if test -s conftest.err; then
2959 ... rest of stderr output deleted ...
2960 10q' conftest.err >conftest.er1
2961 cat conftest.er1 >&5
2962 rm -f conftest.er1 conftest.err
2964 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2965 test $ac_status = 0; }
2968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2969 /* end confdefs.h. */
2974 FILE *f = fopen ("conftest.out", "w");
2975 return ferror (f) || fclose (f) != 0;
2981 ac_clean_files_save=$ac_clean_files
2982 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2983 # Try to create an executable without -o first, disregard a.out.
2984 # It will help us diagnose broken compilers, and finding out an intuition
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2987 $as_echo_n "checking for C compiler default output file name... " >&6; }
2988 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2990 # The possible output files:
2991 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2994 for ac_file in $ac_files
2997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2998 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3003 if { { ac_try="$ac_link_default"
3005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3006 *) ac_try_echo
=$ac_try;;
3008 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3009 $as_echo "$ac_try_echo"; } >&5
3010 (eval "$ac_link_default") 2>&5
3012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3013 test $ac_status = 0; }; then :
3014 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3015 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3016 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3017 # so that the user can short-circuit this test for compilers unknown to
3019 for ac_file
in $ac_files ''
3021 test -f "$ac_file" ||
continue
3023 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3026 # We found the default executable, but exeext='' is most
3030 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3032 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3034 # We set ac_cv_exeext here because the later test for it is not
3035 # safe: cross compilers may not add the suffix if given an `-o'
3036 # argument, so we may need to know it at that point already.
3037 # Even if this section looks crufty: it has the advantage of
3044 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3050 $as_echo "$ac_file" >&6; }
3051 if test -z "$ac_file"; then :
3052 $as_echo "$as_me: failed program was:" >&5
3053 sed 's/^/| /' conftest.
$ac_ext >&5
3055 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3056 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3057 { as_fn_set_status
77
3058 as_fn_error
"C compiler cannot create executables
3059 See \`config.log' for more details." "$LINENO" 5; }; }
3061 ac_exeext
=$ac_cv_exeext
3063 # Check that the compiler produces executables we can run. If not, either
3064 # the compiler is broken, or we cross compile.
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3066 $as_echo_n "checking whether the C compiler works... " >&6; }
3067 # If not cross compiling, check that we can run a simple program.
3068 if test "$cross_compiling" != yes; then
3069 if { ac_try
='./$ac_file'
3070 { { case "(($ac_try" in
3071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3072 *) ac_try_echo=$ac_try;;
3074 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3075 $as_echo "$ac_try_echo"; } >&5
3076 (eval "$ac_try") 2>&5
3078 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3079 test $ac_status = 0; }; }; then
3082 if test "$cross_compiling" = maybe; then
3085 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error "cannot run C compiled programs.
3088 If you meant to cross compile
, use \
`--host'.
3089 See \`config.log
' for more details." "$LINENO" 5; }
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3094 $as_echo "yes" >&6; }
3096 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3097 ac_clean_files=$ac_clean_files_save
3098 # Check that the compiler produces executables we can run. If not, either
3099 # the compiler is broken, or we cross compile.
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3101 $as_echo_n "checking whether we are cross compiling... " >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3103 $as_echo "$cross_compiling" >&6; }
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3106 $as_echo_n "checking for suffix of executables... " >&6; }
3107 if { { ac_try="$ac_link"
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_link") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; then :
3118 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3119 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3120 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3122 for ac_file
in conftest.exe conftest conftest.
*; do
3123 test -f "$ac_file" ||
continue
3125 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3126 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3132 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3133 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3134 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3135 See \`config.log' for more details." "$LINENO" 5; }
3137 rm -f conftest
$ac_cv_exeext
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3139 $as_echo "$ac_cv_exeext" >&6; }
3141 rm -f conftest.
$ac_ext
3142 EXEEXT
=$ac_cv_exeext
3144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3145 $as_echo_n "checking for suffix of object files... " >&6; }
3146 if test "${ac_cv_objext+set}" = set; then :
3147 $as_echo_n "(cached) " >&6
3149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3150 /* end confdefs.h. */
3160 rm -f conftest.o conftest.obj
3161 if { { ac_try
="$ac_compile"
3163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3164 *) ac_try_echo=$ac_try;;
3166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_compile") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }; then :
3172 for ac_file in conftest.o conftest.obj conftest.*; do
3173 test -f "$ac_file" || continue;
3175 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3176 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3181 $as_echo "$as_me: failed program was:" >&5
3182 sed 's/^/| /' conftest.$ac_ext >&5
3184 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error "cannot compute suffix of object files
: cannot compile
3187 See \
`config.log' for more details." "$LINENO" 5; }
3189 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3192 $as_echo "$ac_cv_objext" >&6; }
3193 OBJEXT=$ac_cv_objext
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3196 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3197 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3214 if ac_fn_c_try_compile "$LINENO"; then :
3219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3220 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3224 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3225 if test $ac_compiler_gnu = yes; then
3230 ac_test_CFLAGS=${CFLAGS+set}
3231 ac_save_CFLAGS=$CFLAGS
3232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3233 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3234 if test "${ac_cv_prog_cc_g+set}" = set; then :
3235 $as_echo_n "(cached) " >&6
3237 ac_save_c_werror_flag=$ac_c_werror_flag
3238 ac_c_werror_flag=yes
3241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3242 /* end confdefs.h. */
3252 if ac_fn_c_try_compile "$LINENO"; then :
3256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3257 /* end confdefs.h. */
3267 if ac_fn_c_try_compile "$LINENO"; then :
3270 ac_c_werror_flag=$ac_save_c_werror_flag
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3283 if ac_fn_c_try_compile "$LINENO"; then :
3286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3291 ac_c_werror_flag=$ac_save_c_werror_flag
3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3294 $as_echo "$ac_cv_prog_cc_g" >&6; }
3295 if test "$ac_test_CFLAGS" = set; then
3296 CFLAGS=$ac_save_CFLAGS
3297 elif test $ac_cv_prog_cc_g = yes; then
3298 if test "$GCC" = yes; then
3304 if test "$GCC" = yes; then
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3311 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3312 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3313 $as_echo_n "(cached) " >&6
3315 ac_cv_prog_cc_c89=no
3317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3318 /* end confdefs.h. */
3321 #include <sys/types.h>
3322 #include <sys/stat.h>
3323 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3324 struct buf { int x; };
3325 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3326 static char *e (p, i)
3332 static char *f (char * (*g) (char **, int), char **p, ...)
3337 s = g (p, va_arg (v,int));
3342 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3343 function prototypes and stuff, but not '\xHH' hex character constants.
3344 These don't provoke an error unfortunately, instead are silently treated
3345 as 'x'. The following induces an error, until -std is added to get
3346 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3347 array size at least. It's necessary to write '\x00'==0 to get something
3348 that's true only with -std. */
3349 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3351 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3352 inside strings and character constants. */
3354 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3356 int test (int i, double x);
3357 struct s1 {int (*f) (int a);};
3358 struct s2 {int (*f) (double a);};
3359 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3365 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3370 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3371 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3373 CC="$ac_save_CC $ac_arg"
3374 if ac_fn_c_try_compile "$LINENO"; then :
3375 ac_cv_prog_cc_c89=$ac_arg
3377 rm -f core conftest.err conftest.$ac_objext
3378 test "x$ac_cv_prog_cc_c89" != "xno" && break
3380 rm -f conftest.$ac_ext
3385 case "x$ac_cv_prog_cc_c89" in
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3388 $as_echo "none needed" >&6; } ;;
3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3391 $as_echo "unsupported" >&6; } ;;
3393 CC="$CC $ac_cv_prog_cc_c89"
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3395 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3397 if test "x$ac_cv_prog_cc_c89" != xno; then :
3402 ac_cpp='$CPP $CPPFLAGS'
3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3407 case $ac_cv_prog_cc_stdc in #(
3409 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3412 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3413 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3414 $as_echo_n "(cached) " >&6
3416 ac_cv_prog_cc_c99=no
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3421 #include <stdbool.h>
3426 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3427 #define debug(...) fprintf (stderr, __VA_ARGS__)
3428 #define showlist(...) puts (#__VA_ARGS__)
3429 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3431 test_varargs_macros (void)
3436 debug ("X = %d\n", x);
3437 showlist (The first, second, and third items.);
3438 report (x>y, "x is %d but y is %d", x, y);
3441 // Check long long types.
3442 #define BIG64 18446744073709551615ull
3443 #define BIG32 4294967295ul
3444 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3446 your preprocessor is broken;
3450 your preprocessor is broken;
3452 static long long int bignum = -9223372036854775807LL;
3453 static unsigned long long int ubignum = BIG64;
3455 struct incomplete_array
3463 const wchar_t *name;
3467 typedef const char *ccp;
3470 test_restrict (ccp restrict text)
3472 // See if C++-style comments work.
3473 // Iterate through items via the restricted pointer.
3474 // Also check for declarations in for loops.
3475 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3480 // Check varargs and va_copy.
3482 test_varargs (const char *format, ...)
3485 va_start (args, format);
3487 va_copy (args_copy, args);
3498 str = va_arg (args_copy, const char *);
3501 number = va_arg (args_copy, int);
3504 fnumber = va_arg (args_copy, double);
3519 _Bool success = false;
3522 if (test_restrict ("String literal") == 0)
3524 char *restrict newvar = "Another string";
3527 test_varargs ("s, d' f .", "string", 65, 34.234);
3528 test_varargs_macros ();
3530 // Check flexible array members.
3531 struct incomplete_array *ia =
3532 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3534 for (int i = 0; i < ia->datasize; ++i)
3535 ia->data[i] = i * 1.234;
3537 // Check named initializers.
3538 struct named_init ni = {
3540 .name = L"Test wide string",
3541 .average = 543.34343,
3546 int dynamic_array[ni.number];
3547 dynamic_array[ni.number - 1] = 543;
3549 // work around unused variable warnings
3550 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3551 || dynamic_array[ni.number - 1] != 543);
3557 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3559 CC="$ac_save_CC $ac_arg"
3560 if ac_fn_c_try_compile "$LINENO"; then :
3561 ac_cv_prog_cc_c99=$ac_arg
3563 rm -f core conftest.err conftest.$ac_objext
3564 test "x$ac_cv_prog_cc_c99" != "xno" && break
3566 rm -f conftest.$ac_ext
3571 case "x$ac_cv_prog_cc_c99" in
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3574 $as_echo "none needed" >&6; } ;;
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3577 $as_echo "unsupported" >&6; } ;;
3579 CC="$CC $ac_cv_prog_cc_c99"
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3581 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3583 if test "x$ac_cv_prog_cc_c99" != xno; then :
3584 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3587 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3588 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3589 $as_echo_n "(cached) " >&6
3591 ac_cv_prog_cc_c89=no
3593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3594 /* end confdefs.h. */
3597 #include <sys/types.h>
3598 #include <sys/stat.h>
3599 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3600 struct buf { int x; };
3601 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3602 static char *e (p, i)
3608 static char *f (char * (*g) (char **, int), char **p, ...)
3613 s = g (p, va_arg (v,int));
3618 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3619 function prototypes and stuff, but not '\xHH' hex character constants.
3620 These don't provoke an error unfortunately, instead are silently treated
3621 as 'x'. The following induces an error, until -std is added to get
3622 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3623 array size at least. It's necessary to write '\x00'==0 to get something
3624 that's true only with -std. */
3625 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3627 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3628 inside strings and character constants. */
3630 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3632 int test (int i, double x);
3633 struct s1 {int (*f) (int a);};
3634 struct s2 {int (*f) (double a);};
3635 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3641 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3646 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3647 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3649 CC="$ac_save_CC $ac_arg"
3650 if ac_fn_c_try_compile "$LINENO"; then :
3651 ac_cv_prog_cc_c89=$ac_arg
3653 rm -f core conftest.err conftest.$ac_objext
3654 test "x$ac_cv_prog_cc_c89" != "xno" && break
3656 rm -f conftest.$ac_ext
3661 case "x$ac_cv_prog_cc_c89" in
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3664 $as_echo "none needed" >&6; } ;;
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3667 $as_echo "unsupported" >&6; } ;;
3669 CC="$CC $ac_cv_prog_cc_c89"
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3671 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3673 if test "x$ac_cv_prog_cc_c89" != xno; then :
3674 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3676 ac_cv_prog_cc_stdc=no
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3683 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3684 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3685 $as_echo_n "(cached) " >&6
3688 case $ac_cv_prog_cc_stdc in #(
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3691 $as_echo "unsupported" >&6; } ;; #(
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3694 $as_echo "none needed" >&6; } ;; #(
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3697 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3701 ac_cpp='$CPP $CPPFLAGS'
3702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3706 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3707 # On Suns, sometimes $CPP names a directory.
3708 if test -n "$CPP" && test -d "$CPP"; then
3711 if test -z "$CPP"; then
3712 if test "${ac_cv_prog_CPP+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3715 # Double quotes because CPP needs to be expanded
3716 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3719 for ac_c_preproc_warn_flag in '' yes
3721 # Use a header file that comes with gcc, so configuring glibc
3722 # with a fresh cross-compiler works.
3723 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3724 # <limits.h> exists even on freestanding compilers.
3725 # On the NeXT, cc -E runs the code through the compiler's parser,
3726 # not just through cpp. "Syntax error" is here to catch this case.
3727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3728 /* end confdefs.h. */
3730 # include <limits.h>
3732 # include <assert.h>
3736 if ac_fn_c_try_cpp "$LINENO"; then :
3739 # Broken: fails on valid input.
3742 rm -f conftest.err conftest.$ac_ext
3744 # OK, works on sane cases. Now check whether nonexistent headers
3745 # can be detected and how.
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3748 #include <ac_nonexistent.h>
3750 if ac_fn_c_try_cpp "$LINENO"; then :
3751 # Broken: success on invalid input.
3754 # Passes both tests.
3758 rm -f conftest.err conftest.$ac_ext
3761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3762 rm -f conftest.err conftest.
$ac_ext
3763 if $ac_preproc_ok; then :
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3776 $as_echo "$CPP" >&6; }
3778 for ac_c_preproc_warn_flag
in '' yes
3780 # Use a header file that comes with gcc, so configuring glibc
3781 # with a fresh cross-compiler works.
3782 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3783 # <limits.h> exists even on freestanding compilers.
3784 # On the NeXT, cc -E runs the code through the compiler's parser,
3785 # not just through cpp. "Syntax error" is here to catch this case.
3786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3787 /* end confdefs.h. */
3789 # include <limits.h>
3791 # include <assert.h>
3795 if ac_fn_c_try_cpp
"$LINENO"; then :
3798 # Broken: fails on valid input.
3801 rm -f conftest.err conftest.
$ac_ext
3803 # OK, works on sane cases. Now check whether nonexistent headers
3804 # can be detected and how.
3805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3806 /* end confdefs.h. */
3807 #include <ac_nonexistent.h>
3809 if ac_fn_c_try_cpp
"$LINENO"; then :
3810 # Broken: success on invalid input.
3813 # Passes both tests.
3817 rm -f conftest.err conftest.
$ac_ext
3820 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3821 rm -f conftest.err conftest.
$ac_ext
3822 if $ac_preproc_ok; then :
3825 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3826 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3827 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3828 See \`config.log' for more details." "$LINENO" 5; }
3832 ac_cpp
='$CPP $CPPFLAGS'
3833 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3834 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3835 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3838 # Check for a compatible awk
3839 for ac_prog
in gawk nawk
3841 # Extract the first word of "$ac_prog", so it can be a program name with args.
3842 set dummy
$ac_prog; ac_word
=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if test "${ac_cv_prog_AWK+set}" = set; then :
3846 $as_echo_n "(cached) " >&6
3848 if test -n "$AWK"; then
3849 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3858 ac_cv_prog_AWK
="$ac_prog"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 if test -n "$AWK"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3871 $as_echo "$AWK" >&6; }
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3878 test -n "$AWK" && break
3881 if test "$AWK" = ""; then
3882 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3884 # Extract the first word of "mmake", so it can be a program name with args.
3885 set dummy mmake
; ac_word
=$2
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3887 $as_echo_n "checking for $ac_word... " >&6; }
3888 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3889 $as_echo_n "(cached) " >&6
3891 if test -n "$MMAKE"; then
3892 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3898 test -z "$as_dir" && as_dir
=.
3899 for ac_exec_ext
in '' $ac_executable_extensions; do
3900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3901 ac_cv_prog_MMAKE
="mmake "
3902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 MMAKE
=$ac_cv_prog_MMAKE
3912 if test -n "$MMAKE"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3914 $as_echo "$MMAKE" >&6; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3922 # Perform some default variable assignments. Note all of these will be
3923 # Regenerated from the script, so there is no need to cache them.
3926 if test "$GCC" = "yes"; then
3927 aros_gcc_ld
=`$CC -print-prog-name=ld`
3928 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3929 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3933 $as_echo_n "(cached) " >&6
3935 case $aros_host_ld in
3937 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3941 for as_dir
in `dirname $aros_gcc_ld`
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 aros_host_ld
=$ac_cv_path_aros_host_ld
3959 if test -n "$aros_host_ld"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3961 $as_echo "$aros_host_ld" >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3969 if test "$aros_host_ld" = ""; then
3970 # Extract the first word of "ld", so it can be a program name with args.
3971 set dummy ld
; ac_word
=$2
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3973 $as_echo_n "checking for $ac_word... " >&6; }
3974 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3975 $as_echo_n "(cached) " >&6
3977 case $aros_host_ld in
3979 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_exec_ext
in '' $ac_executable_extensions; do
3988 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3989 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 aros_host_ld
=$ac_cv_path_aros_host_ld
4001 if test -n "$aros_host_ld"; then
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4003 $as_echo "$aros_host_ld" >&6; }
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4006 $as_echo "no" >&6; }
4011 if test "$aros_host_ld" = ""; then
4012 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4014 aros_host_make
="make"
4015 aros_host_cflags
=$CFLAGS
4016 aros_host_ldflags
=$LDFLAGS
4017 aros_host_debug
="-g -O0"
4018 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4019 aros_host_mkargs
="--no-print-directory"
4020 aros_host_incl
="/usr/include"
4021 aros_host_exe_suffix
="$EXEEXT"
4022 aros_host_lib_suffix
=""
4024 for ac_prog
in aclocal aclocal19 aclocal-1.9
4026 # Extract the first word of "$ac_prog", so it can be a program name with args.
4027 set dummy
$ac_prog; ac_word
=$2
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4029 $as_echo_n "checking for $ac_word... " >&6; }
4030 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4031 $as_echo_n "(cached) " >&6
4033 if test -n "$aros_host_aclocal"; then
4034 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
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_prog_aros_host_aclocal
="$ac_prog"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4053 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4054 if test -n "$aros_host_aclocal"; then
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4056 $as_echo "$aros_host_aclocal" >&6; }
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4059 $as_echo "no" >&6; }
4063 test -n "$aros_host_aclocal" && break
4066 for ac_prog
in autoconf autoconf259 autoconf253
4068 # Extract the first word of "$ac_prog", so it can be a program name with args.
4069 set dummy
$ac_prog; ac_word
=$2
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4071 $as_echo_n "checking for $ac_word... " >&6; }
4072 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4073 $as_echo_n "(cached) " >&6
4075 if test -n "$aros_host_autoconf"; then
4076 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4082 test -z "$as_dir" && as_dir
=.
4083 for ac_exec_ext
in '' $ac_executable_extensions; do
4084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4085 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4095 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4096 if test -n "$aros_host_autoconf"; then
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4098 $as_echo "$aros_host_autoconf" >&6; }
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4101 $as_echo "no" >&6; }
4105 test -n "$aros_host_autoconf" && break
4108 for ac_prog
in autoheader autoheader259 autoheader253
4110 # Extract the first word of "$ac_prog", so it can be a program name with args.
4111 set dummy
$ac_prog; ac_word
=$2
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4113 $as_echo_n "checking for $ac_word... " >&6; }
4114 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4115 $as_echo_n "(cached) " >&6
4117 if test -n "$aros_host_autoheader"; then
4118 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4120 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4124 test -z "$as_dir" && as_dir
=.
4125 for ac_exec_ext
in '' $ac_executable_extensions; do
4126 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4127 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4137 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4138 if test -n "$aros_host_autoheader"; then
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4140 $as_echo "$aros_host_autoheader" >&6; }
4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4143 $as_echo "no" >&6; }
4147 test -n "$aros_host_autoheader" && break
4150 for ac_prog
in automake automake19 automake-1.9
4152 # Extract the first word of "$ac_prog", so it can be a program name with args.
4153 set dummy
$ac_prog; ac_word
=$2
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4155 $as_echo_n "checking for $ac_word... " >&6; }
4156 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4159 if test -n "$aros_host_automake"; then
4160 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4166 test -z "$as_dir" && as_dir
=.
4167 for ac_exec_ext
in '' $ac_executable_extensions; do
4168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4169 ac_cv_prog_aros_host_automake
="$ac_prog"
4170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4179 aros_host_automake
=$ac_cv_prog_aros_host_automake
4180 if test -n "$aros_host_automake"; then
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4182 $as_echo "$aros_host_automake" >&6; }
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4185 $as_echo "no" >&6; }
4189 test -n "$aros_host_automake" && break
4193 if test "$aros_host_aclocal" = ""; then
4194 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4196 if test "$aros_host_automake" = ""; then
4197 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4200 case "$aros_host_cc" in
4202 aros_host_cc_pipe
="-pipe"
4205 aros_host_cc_pipe
=""
4208 aros_host_cc_pipe
=""
4212 aros_kernel_cc_includes
=""
4213 aros_target_cc_includes
=""
4215 # This is the main host configuration section. It is where the host
4216 # can change the values of any variables it needs to change. We do
4217 # not look at anything that compiles to the target yet, we'll get
4222 aros_host_arch
="aros"
4223 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4226 aros_host_cpu
="i386"
4229 aros_host_cpu
="x86_64"
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4236 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4237 aros_host_cpu
="$host_cpu"
4243 aros_host_arch
="linux"
4244 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4247 aros_host_cpu
="i386"
4250 aros_host_cpu
="x86_64"
4253 aros_host_cpu
="m68k"
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4263 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4264 aros_host_cpu
="$host_cpu"
4270 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4271 aros_host_make
="gmake"
4272 aros_host_arch
="freebsd"
4273 aros_host_cpu
="i386"
4275 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4279 aros_object_format
="elf_i386"
4283 aros_object_format
="elf_i386_fbsd"
4290 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4291 aros_host_arch
="darwin"
4294 aros_host_cpu
="i386"
4297 aros_host_cpu
="x86_64"
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4304 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4305 aros_host_cpu
="$host_cpu"
4309 aros_host_ldflags
="$aros_host_ldflags -liconv"
4314 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4315 aros_host_make
="gmake"
4316 aros_host_arch
="dragonfly"
4319 aros_host_cpu
="i386"
4322 aros_host_cpu
="x86_64"
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"
4334 aros_host_make
="gmake"
4335 aros_host_arch
="netbsd"
4338 aros_host_cpu
="i386"
4341 aros_host_cpu
="m68k"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4345 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4346 aros_host_cpu
="$host_cpu"
4349 aros_host_lib_suffix
=".0.0"
4353 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4354 aros_host_make
="gmake"
4355 aros_host_arch
="openbsd"
4358 aros_host_cpu
="i386"
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4362 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4363 aros_host_cpu
="$host_cpu"
4369 aros_host_arch
="solaris"
4370 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4373 aros_host_cpu
="i386"
4376 aros_host_cpu
="sparc"
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4380 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4381 aros_host_cpu
="$host_cpu"
4387 aros_host_arch
="morphos"
4392 aros_host_arch
="amiga"
4397 TOUCH
="/gg/bin/touch"
4400 aros_host_cpu
="m68k"
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4407 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4408 aros_host_cpu
="$host_cpu"
4414 aros_host_arch
="cygwin"
4415 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4416 android_build_os
="windows"
4417 android_tool
="android.bat"
4418 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4422 aros_host_cpu
="i386"
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4426 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4427 aros_host_cpu
="$host_cpu"
4433 aros_host_arch
="mingw32"
4434 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4435 android_build_os
="windows"
4436 android_tool
="android.bat"
4437 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4441 aros_host_cpu
="i386"
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4445 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4446 aros_host_cpu
="$host_cpu"
4451 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4455 # Extract the first word of "ar", so it can be a program name with args.
4456 set dummy
ar; ac_word
=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -n "$aros_host_ar"; then
4463 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir
=.
4470 for ac_exec_ext
in '' $ac_executable_extensions; do
4471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4472 ac_cv_prog_aros_host_ar
="ar cr"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 aros_host_ar
=$ac_cv_prog_aros_host_ar
4483 if test -n "$aros_host_ar"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4485 $as_echo "$aros_host_ar" >&6; }
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4492 if test "$aros_host_ar" = ""; then
4493 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4495 # Extract the first word of "ranlib", so it can be a program name with args.
4496 set dummy ranlib
; ac_word
=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4500 $as_echo_n "(cached) " >&6
4502 if test -n "$aros_host_ranlib"; then
4503 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir
=.
4510 for ac_exec_ext
in '' $ac_executable_extensions; do
4511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512 ac_cv_prog_aros_host_ranlib
="ranlib "
4513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4523 if test -n "$aros_host_ranlib"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4525 $as_echo "$aros_host_ranlib" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4532 if test "$aros_host_ranlib" = ""; then
4533 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4535 # Extract the first word of "strip", so it can be a program name with args.
4536 set dummy strip
; ac_word
=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$aros_host_strip"; then
4543 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_aros_host_strip
="strip "
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 aros_host_strip
=$ac_cv_prog_aros_host_strip
4563 if test -n "$aros_host_strip"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4565 $as_echo "$aros_host_strip" >&6; }
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4572 if test "$aros_host_strip" = ""; then
4573 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4576 # Extract the first word of "rm", so it can be a program name with args.
4577 set dummy
rm; ac_word
=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if test "${ac_cv_prog_RM+set}" = set; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$RM"; then
4584 ac_cv_prog_RM
="$RM" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_RM
="rm -rf"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 if test -n "$RM"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4606 $as_echo "$RM" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 if test "$RM" = ""; then
4614 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4616 # Extract the first word of "cp", so it can be a program name with args.
4617 set dummy
cp; ac_word
=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if test "${ac_cv_prog_CP+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$CP"; then
4624 ac_cv_prog_CP
="$CP" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 if test -n "$CP"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4646 $as_echo "$CP" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4653 if test "$CP" = ""; then
4654 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4656 # Extract the first word of "mv", so it can be a program name with args.
4657 set dummy
mv; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_MV+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$MV"; then
4664 ac_cv_prog_MV
="$MV" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test -n "$MV"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4686 $as_echo "$MV" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4693 if test "$MV" = ""; then
4694 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4696 # Extract the first word of "echo", so it can be a program name with args.
4697 set dummy
echo; ac_word
=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_ECHO+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ECHO"; then
4704 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir
=.
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_ECHO
="echo "
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ECHO
=$ac_cv_prog_ECHO
4724 if test -n "$ECHO"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4726 $as_echo "$ECHO" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4733 if test "$ECHO" = ""; then
4734 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4736 # Extract the first word of "mkdir", so it can be a program name with args.
4737 set dummy mkdir
; ac_word
=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4743 if test -n "$MKDIR"; then
4744 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir
=.
4751 for ac_exec_ext
in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_MKDIR
="mkdir -p"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 MKDIR
=$ac_cv_prog_MKDIR
4764 if test -n "$MKDIR"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4766 $as_echo "$MKDIR" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4773 if test "$MKDIR" = ""; then
4774 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4776 # Extract the first word of "touch", so it can be a program name with args.
4777 set dummy
touch; ac_word
=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4781 $as_echo_n "(cached) " >&6
4783 if test -n "$TOUCH"; then
4784 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_exec_ext
in '' $ac_executable_extensions; do
4792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4793 ac_cv_prog_TOUCH
="touch "
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 TOUCH
=$ac_cv_prog_TOUCH
4804 if test -n "$TOUCH"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4806 $as_echo "$TOUCH" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4813 if test "$TOUCH" = ""; then
4814 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4816 # Extract the first word of "sort", so it can be a program name with args.
4817 set dummy
sort; ac_word
=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if test "${ac_cv_prog_SORT+set}" = set; then :
4821 $as_echo_n "(cached) " >&6
4823 if test -n "$SORT"; then
4824 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir
=.
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4833 ac_cv_prog_SORT
="sort "
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 SORT
=$ac_cv_prog_SORT
4844 if test -n "$SORT"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4846 $as_echo "$SORT" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4853 if test "$SORT" = ""; then
4854 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4856 # Extract the first word of "uniq", so it can be a program name with args.
4857 set dummy
uniq; ac_word
=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$UNIQ"; then
4864 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873 ac_cv_prog_UNIQ
="uniq "
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 UNIQ
=$ac_cv_prog_UNIQ
4884 if test -n "$UNIQ"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4886 $as_echo "$UNIQ" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4893 if test "$UNIQ" = ""; then
4894 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4896 # Extract the first word of "true", so it can be a program name with args.
4897 set dummy true
; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_NOP+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$NOP"; then
4904 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_NOP
="true "
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 if test -n "$NOP"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4926 $as_echo "$NOP" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 if test "$NOP" = ""; then
4934 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4936 # Extract the first word of "cat", so it can be a program name with args.
4937 set dummy
cat; ac_word
=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_CAT+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$CAT"; then
4944 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir
=.
4951 for ac_exec_ext
in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_CAT
="cat "
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 if test -n "$CAT"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
4966 $as_echo "$CAT" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4973 if test "$CAT" = ""; then
4974 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
4976 # Extract the first word of "bison", so it can be a program name with args.
4977 set dummy bison
; ac_word
=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_BISON+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$BISON"; then
4984 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_BISON
="bison "
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 BISON
=$ac_cv_prog_BISON
5004 if test -n "$BISON"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5006 $as_echo "$BISON" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 if test "$BISON" = ""; then
5014 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5016 # Extract the first word of "flex", so it can be a program name with args.
5017 set dummy flex
; ac_word
=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_FLEX+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$FLEX"; then
5024 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir
=.
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_FLEX
="flex "
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 FLEX
=$ac_cv_prog_FLEX
5044 if test -n "$FLEX"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5046 $as_echo "$FLEX" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5053 if test "$FLEX" = ""; then
5054 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5056 # Extract the first word of "pngtopnm", so it can be a program name with args.
5057 set dummy pngtopnm
; ac_word
=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$PNGTOPNM"; then
5064 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_prog_PNGTOPNM
="pngtopnm "
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5084 if test -n "$PNGTOPNM"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5086 $as_echo "$PNGTOPNM" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5093 if test "$PNGTOPNM" = ""; then
5094 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5096 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5097 set dummy ppmtoilbm
; ac_word
=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5101 $as_echo_n "(cached) " >&6
5103 if test -n "$PPMTOILBM"; then
5104 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir
=.
5111 for ac_exec_ext
in '' $ac_executable_extensions; do
5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5124 if test -n "$PPMTOILBM"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5126 $as_echo "$PPMTOILBM" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5133 if test "$PPMTOILBM" = ""; then
5134 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5136 # Extract the first word of "sed", so it can be a program name with args.
5137 set dummy
sed; ac_word
=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if test "${ac_cv_prog_SED+set}" = set; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -n "$SED"; then
5144 ac_cv_prog_SED
="$SED" # Let the user override the test.
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_exec_ext
in '' $ac_executable_extensions; do
5152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153 ac_cv_prog_SED
="sed "
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 if test -n "$SED"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5166 $as_echo "$SED" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 if test "$SED" = ""; then
5174 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5176 # Extract the first word of "chmod", so it can be a program name with args.
5177 set dummy
chmod; ac_word
=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5181 $as_echo_n "(cached) " >&6
5183 if test -n "$CHMOD"; then
5184 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir
=.
5191 for ac_exec_ext
in '' $ac_executable_extensions; do
5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193 ac_cv_prog_CHMOD
="chmod "
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 CHMOD
=$ac_cv_prog_CHMOD
5204 if test -n "$CHMOD"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5206 $as_echo "$CHMOD" >&6; }
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 if test "$CHMOD" = ""; then
5214 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5221 if test -n "$PYTHON"; then
5222 # If the user set $PYTHON, use it and don't search something else.
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5224 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5225 prog
="import sys, string
5226 # split strings by '.' and convert to numeric. Append some zeros
5227 # because we need at least 4 digits for the hex conversion.
5228 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5230 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5231 sys.exit(sys.hexversion < minverhex)"
5232 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5233 ($PYTHON -c "$prog") >&5 2>&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); }; then :
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5240 as_fn_error
"too old" "$LINENO" 5
5242 am_display_PYTHON
=$PYTHON
5244 # Otherwise, try each interpreter until we find one that satisfies
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5247 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5248 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5249 $as_echo_n "(cached) " >&6
5252 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
5253 test "$am_cv_pathless_PYTHON" = none
&& break
5254 prog
="import sys, string
5255 # split strings by '.' and convert to numeric. Append some zeros
5256 # because we need at least 4 digits for the hex conversion.
5257 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5259 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5260 sys.exit(sys.hexversion < minverhex)"
5261 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5262 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; then :
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5271 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5272 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5273 if test "$am_cv_pathless_PYTHON" = none
; then
5276 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5277 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if test "${ac_cv_path_PYTHON+set}" = set; then :
5281 $as_echo_n "(cached) " >&6
5285 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 PYTHON
=$ac_cv_path_PYTHON
5307 if test -n "$PYTHON"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5309 $as_echo "$PYTHON" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5317 am_display_PYTHON
=$am_cv_pathless_PYTHON
5321 if test "$PYTHON" = :; then
5322 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5327 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5328 if test "${am_cv_python_version+set}" = set; then :
5329 $as_echo_n "(cached) " >&6
5331 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5334 $as_echo "$am_cv_python_version" >&6; }
5335 PYTHON_VERSION
=$am_cv_python_version
5339 PYTHON_PREFIX
='${prefix}'
5341 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5346 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5347 if test "${am_cv_python_platform+set}" = set; then :
5348 $as_echo_n "(cached) " >&6
5350 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5353 $as_echo "$am_cv_python_platform" >&6; }
5354 PYTHON_PLATFORM
=$am_cv_python_platform
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5360 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5361 if test "${am_cv_python_pythondir+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5364 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5365 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5368 $as_echo "$am_cv_python_pythondir" >&6; }
5369 pythondir
=$am_cv_python_pythondir
5373 pkgpythondir
=\
${pythondir}/$PACKAGE
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5377 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5378 if test "${am_cv_python_pyexecdir+set}" = set; then :
5379 $as_echo_n "(cached) " >&6
5381 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5382 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5385 $as_echo "$am_cv_python_pyexecdir" >&6; }
5386 pyexecdir
=$am_cv_python_pyexecdir
5390 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5408 # Check for some includes for the X11 HIDD and the kernel
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5412 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5413 if test "${ac_cv_path_GREP+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -z "$GREP"; then
5417 ac_path_GREP_found
=false
5418 # Loop through the user's path and test for each of PROGNAME-LIST
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_prog
in grep ggrep
; do
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5427 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5428 # Check for GNU ac_path_GREP and select it if it is found.
5429 # Check for GNU $ac_path_GREP
5430 case `"$ac_path_GREP" --version 2>&1` in
5432 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5435 $as_echo_n 0123456789 >"conftest.in"
5438 cat "conftest.in" "conftest.in" >"conftest.tmp"
5439 mv "conftest.tmp" "conftest.in"
5440 cp "conftest.in" "conftest.nl"
5441 $as_echo 'GREP' >> "conftest.nl"
5442 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5443 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5444 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5445 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5446 # Best one so far, save it but keep looking for a better one
5447 ac_cv_path_GREP
="$ac_path_GREP"
5448 ac_path_GREP_max
=$ac_count
5450 # 10*(2^10) chars as input seems more than enough
5451 test $ac_count -gt 10 && break
5453 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5456 $ac_path_GREP_found && break 3
5461 if test -z "$ac_cv_path_GREP"; then
5462 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5465 ac_cv_path_GREP
=$GREP
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5470 $as_echo "$ac_cv_path_GREP" >&6; }
5471 GREP
="$ac_cv_path_GREP"
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5475 $as_echo_n "checking for egrep... " >&6; }
5476 if test "${ac_cv_path_EGREP+set}" = set; then :
5477 $as_echo_n "(cached) " >&6
5479 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5480 then ac_cv_path_EGREP
="$GREP -E"
5482 if test -z "$EGREP"; then
5483 ac_path_EGREP_found
=false
5484 # Loop through the user's path and test for each of PROGNAME-LIST
5485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5486 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5489 test -z "$as_dir" && as_dir
=.
5490 for ac_prog
in egrep; do
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5493 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5494 # Check for GNU ac_path_EGREP and select it if it is found.
5495 # Check for GNU $ac_path_EGREP
5496 case `"$ac_path_EGREP" --version 2>&1` in
5498 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5501 $as_echo_n 0123456789 >"conftest.in"
5504 cat "conftest.in" "conftest.in" >"conftest.tmp"
5505 mv "conftest.tmp" "conftest.in"
5506 cp "conftest.in" "conftest.nl"
5507 $as_echo 'EGREP' >> "conftest.nl"
5508 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5509 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5510 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5511 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5512 # Best one so far, save it but keep looking for a better one
5513 ac_cv_path_EGREP
="$ac_path_EGREP"
5514 ac_path_EGREP_max
=$ac_count
5516 # 10*(2^10) chars as input seems more than enough
5517 test $ac_count -gt 10 && break
5519 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5522 $ac_path_EGREP_found && break 3
5527 if test -z "$ac_cv_path_EGREP"; then
5528 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5531 ac_cv_path_EGREP
=$EGREP
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5537 $as_echo "$ac_cv_path_EGREP" >&6; }
5538 EGREP
="$ac_cv_path_EGREP"
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5542 $as_echo_n "checking for ANSI C header files... " >&6; }
5543 if test "${ac_cv_header_stdc+set}" = set; then :
5544 $as_echo_n "(cached) " >&6
5546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5561 if ac_fn_c_try_compile
"$LINENO"; then :
5562 ac_cv_header_stdc
=yes
5564 ac_cv_header_stdc
=no
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 if test $ac_cv_header_stdc = yes; then
5569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5576 $EGREP "memchr" >/dev
/null
2>&1; then :
5579 ac_cv_header_stdc
=no
5585 if test $ac_cv_header_stdc = yes; then
5586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5593 $EGREP "free" >/dev
/null
2>&1; then :
5596 ac_cv_header_stdc
=no
5602 if test $ac_cv_header_stdc = yes; then
5603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5604 if test "$cross_compiling" = yes; then :
5607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5611 #if ((' ' & 0x0FF) == 0x020)
5612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5615 # define ISLOWER(c) \
5616 (('a' <= (c) && (c) <= 'i') \
5617 || ('j' <= (c) && (c) <= 'r') \
5618 || ('s' <= (c) && (c) <= 'z'))
5619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5627 for (i = 0; i < 256; i++)
5628 if (XOR (islower (i), ISLOWER (i))
5629 || toupper (i) != TOUPPER (i))
5634 if ac_fn_c_try_run
"$LINENO"; then :
5637 ac_cv_header_stdc
=no
5639 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5640 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5646 $as_echo "$ac_cv_header_stdc" >&6; }
5647 if test $ac_cv_header_stdc = yes; then
5649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5654 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5655 inttypes.h stdint.h unistd.h
5657 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5658 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5660 eval as_val
=\$
$as_ac_Header
5661 if test "x$as_val" = x
""yes; then :
5662 cat >>confdefs.h
<<_ACEOF
5663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5671 for ac_header
in sys
/ipc.h sys
/shm.h \
5672 sys
/mmap.h sys
/mman.h sysexits.h \
5673 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5676 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5677 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5678 eval as_val
=\$
$as_ac_Header
5679 if test "x$as_val" = x
""yes; then :
5680 cat >>confdefs.h
<<_ACEOF
5681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5689 for ac_header
in sys
/mount.h
5691 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5693 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5694 cat >>confdefs.h
<<_ACEOF
5695 #define HAVE_SYS_MOUNT_H 1
5704 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5705 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5707 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5709 $as_echo_n "(cached) " >&6
5711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5713 #include <sys/types.h>
5725 if ac_fn_c_try_compile
"$LINENO"; then :
5726 eval "$as_ac_Header=yes"
5728 eval "$as_ac_Header=no"
5730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5732 eval ac_res
=\$
$as_ac_Header
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5734 $as_echo "$ac_res" >&6; }
5735 eval as_val
=\$
$as_ac_Header
5736 if test "x$as_val" = x
""yes; then :
5737 cat >>confdefs.h
<<_ACEOF
5738 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5741 ac_header_dirent
=$ac_hdr; break
5745 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5746 if test $ac_header_dirent = dirent.h
; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5748 $as_echo_n "checking for library containing opendir... " >&6; }
5749 if test "${ac_cv_search_opendir+set}" = set; then :
5750 $as_echo_n "(cached) " >&6
5752 ac_func_search_save_LIBS
=$LIBS
5753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5756 /* Override any GCC internal prototype to avoid an error.
5757 Use char because int might match the return type of a GCC
5758 builtin and then its argument prototype would still apply. */
5771 for ac_lib
in '' dir
; do
5772 if test -z "$ac_lib"; then
5773 ac_res
="none required"
5776 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5778 if ac_fn_c_try_link
"$LINENO"; then :
5779 ac_cv_search_opendir
=$ac_res
5781 rm -f core conftest.err conftest.
$ac_objext \
5783 if test "${ac_cv_search_opendir+set}" = set; then :
5787 if test "${ac_cv_search_opendir+set}" = set; then :
5790 ac_cv_search_opendir
=no
5793 LIBS
=$ac_func_search_save_LIBS
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5796 $as_echo "$ac_cv_search_opendir" >&6; }
5797 ac_res
=$ac_cv_search_opendir
5798 if test "$ac_res" != no
; then :
5799 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5805 $as_echo_n "checking for library containing opendir... " >&6; }
5806 if test "${ac_cv_search_opendir+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5809 ac_func_search_save_LIBS
=$LIBS
5810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5811 /* end confdefs.h. */
5813 /* Override any GCC internal prototype to avoid an error.
5814 Use char because int might match the return type of a GCC
5815 builtin and then its argument prototype would still apply. */
5828 for ac_lib
in '' x
; do
5829 if test -z "$ac_lib"; then
5830 ac_res
="none required"
5833 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5835 if ac_fn_c_try_link
"$LINENO"; then :
5836 ac_cv_search_opendir
=$ac_res
5838 rm -f core conftest.err conftest.
$ac_objext \
5840 if test "${ac_cv_search_opendir+set}" = set; then :
5844 if test "${ac_cv_search_opendir+set}" = set; then :
5847 ac_cv_search_opendir
=no
5850 LIBS
=$ac_func_search_save_LIBS
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5853 $as_echo "$ac_cv_search_opendir" >&6; }
5854 ac_res
=$ac_cv_search_opendir
5855 if test "$ac_res" != no
; then :
5856 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5863 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5864 if test "${ac_cv_header_stat_broken+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 #include <sys/types.h>
5870 #include <sys/stat.h>
5872 #if defined S_ISBLK && defined S_IFDIR
5873 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5876 #if defined S_ISBLK && defined S_IFCHR
5877 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5880 #if defined S_ISLNK && defined S_IFREG
5881 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5884 #if defined S_ISSOCK && defined S_IFREG
5885 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5889 if ac_fn_c_try_compile
"$LINENO"; then :
5890 ac_cv_header_stat_broken
=no
5892 ac_cv_header_stat_broken
=yes
5894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5897 $as_echo "$ac_cv_header_stat_broken" >&6; }
5898 if test $ac_cv_header_stat_broken = yes; then
5900 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5905 $as_echo_n "checking for ANSI C header files... " >&6; }
5906 if test "${ac_cv_header_stdc+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5924 if ac_fn_c_try_compile
"$LINENO"; then :
5925 ac_cv_header_stdc
=yes
5927 ac_cv_header_stdc
=no
5929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5931 if test $ac_cv_header_stdc = yes; then
5932 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5939 $EGREP "memchr" >/dev
/null
2>&1; then :
5942 ac_cv_header_stdc
=no
5948 if test $ac_cv_header_stdc = yes; then
5949 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5956 $EGREP "free" >/dev
/null
2>&1; then :
5959 ac_cv_header_stdc
=no
5965 if test $ac_cv_header_stdc = yes; then
5966 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5967 if test "$cross_compiling" = yes; then :
5970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5974 #if ((' ' & 0x0FF) == 0x020)
5975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5976 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5978 # define ISLOWER(c) \
5979 (('a' <= (c) && (c) <= 'i') \
5980 || ('j' <= (c) && (c) <= 'r') \
5981 || ('s' <= (c) && (c) <= 'z'))
5982 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5985 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5990 for (i = 0; i < 256; i++)
5991 if (XOR (islower (i), ISLOWER (i))
5992 || toupper (i) != TOUPPER (i))
5997 if ac_fn_c_try_run
"$LINENO"; then :
6000 ac_cv_header_stdc
=no
6002 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6003 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6009 $as_echo "$ac_cv_header_stdc" >&6; }
6010 if test $ac_cv_header_stdc = yes; then
6012 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6017 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6018 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6019 $as_echo_n "(cached) " >&6
6021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include <sys/types.h>
6024 #include <sys/wait.h>
6026 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6029 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6037 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6042 if ac_fn_c_try_compile
"$LINENO"; then :
6043 ac_cv_header_sys_wait_h
=yes
6045 ac_cv_header_sys_wait_h
=no
6047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6050 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6051 if test $ac_cv_header_sys_wait_h = yes; then
6053 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6058 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6059 if test "${ac_cv_header_time+set}" = set; then :
6060 $as_echo_n "(cached) " >&6
6062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6064 #include <sys/types.h>
6065 #include <sys/time.h>
6071 if ((struct tm *) 0)
6077 if ac_fn_c_try_compile
"$LINENO"; then :
6078 ac_cv_header_time
=yes
6080 ac_cv_header_time
=no
6082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6085 $as_echo "$ac_cv_header_time" >&6; }
6086 if test $ac_cv_header_time = yes; then
6088 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6092 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6093 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6095 cat >>confdefs.h
<<_ACEOF
6096 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6100 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6105 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6106 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6108 cat >>confdefs.h
<<_ACEOF
6109 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6113 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6116 case " $LIBOBJS " in
6117 *" fileblocks.$ac_objext "* ) ;;
6118 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6125 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6126 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6128 cat >>confdefs.h
<<_ACEOF
6129 #define HAVE_STRUCT_STAT_ST_RDEV 1
6133 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6139 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6140 if test "${ac_cv_struct_tm+set}" = set; then :
6141 $as_echo_n "(cached) " >&6
6143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6145 #include <sys/types.h>
6152 int *p = &tm.tm_sec;
6158 if ac_fn_c_try_compile
"$LINENO"; then :
6159 ac_cv_struct_tm
=time.h
6161 ac_cv_struct_tm
=sys
/time.h
6163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6166 $as_echo "$ac_cv_struct_tm" >&6; }
6167 if test $ac_cv_struct_tm = sys
/time.h
; then
6169 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6173 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6174 #include <$ac_cv_struct_tm>
6177 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6179 cat >>confdefs.h
<<_ACEOF
6180 #define HAVE_STRUCT_TM_TM_ZONE 1
6186 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6188 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6191 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6193 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6199 cat >>confdefs.h
<<_ACEOF
6200 #define HAVE_DECL_TZNAME $ac_have_decl
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6204 $as_echo_n "checking for tzname... " >&6; }
6205 if test "${ac_cv_var_tzname+set}" = set; then :
6206 $as_echo_n "(cached) " >&6
6208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6209 /* end confdefs.h. */
6211 #if !HAVE_DECL_TZNAME
6212 extern char *tzname[];
6218 return tzname[0][0];
6223 if ac_fn_c_try_link
"$LINENO"; then :
6224 ac_cv_var_tzname
=yes
6228 rm -f core conftest.err conftest.
$ac_objext \
6229 conftest
$ac_exeext conftest.
$ac_ext
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6232 $as_echo "$ac_cv_var_tzname" >&6; }
6233 if test $ac_cv_var_tzname = yes; then
6235 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6240 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6241 if test "x$ac_cv_type_off_t" = x
""yes; then :
6245 cat >>confdefs.h
<<_ACEOF
6246 #define off_t long int
6251 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6252 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6256 cat >>confdefs.h
<<_ACEOF
6262 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6263 if test "x$ac_cv_type_size_t" = x
""yes; then :
6267 cat >>confdefs.h
<<_ACEOF
6268 #define size_t unsigned int
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6274 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6275 if test "${ac_cv_type_uid_t+set}" = set; then :
6276 $as_echo_n "(cached) " >&6
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <sys/types.h>
6283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6284 $EGREP "uid_t" >/dev
/null
2>&1; then :
6285 ac_cv_type_uid_t
=yes
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6293 $as_echo "$ac_cv_type_uid_t" >&6; }
6294 if test $ac_cv_type_uid_t = no
; then
6296 $as_echo "#define uid_t int" >>confdefs.h
6299 $as_echo "#define gid_t int" >>confdefs.h
6304 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6305 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6307 cat >>confdefs.h
<<_ACEOF
6308 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6315 # Look for some functions
6316 for ac_func
in getpagesize kqueue statfs statvfs \
6317 clone kse_create rfork_thread thr_create sa_register \
6318 getcontext makecontext setcontext sigaltstack swapcontext
6320 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6321 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6322 eval as_val
=\$
$as_ac_var
6323 if test "x$as_val" = x
""yes; then :
6324 cat >>confdefs.h
<<_ACEOF
6325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6332 for ac_header
in stdlib.h unistd.h
6334 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6335 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6336 eval as_val
=\$
$as_ac_Header
6337 if test "x$as_val" = x
""yes; then :
6338 cat >>confdefs.h
<<_ACEOF
6339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6346 for ac_func
in getpagesize
6348 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6349 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6350 cat >>confdefs.h
<<_ACEOF
6351 #define HAVE_GETPAGESIZE 1
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6358 $as_echo_n "checking for working mmap... " >&6; }
6359 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6360 $as_echo_n "(cached) " >&6
6362 if test "$cross_compiling" = yes; then :
6363 ac_cv_func_mmap_fixed_mapped
=no
6365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6366 /* end confdefs.h. */
6367 $ac_includes_default
6368 /* malloc might have been renamed as rpl_malloc. */
6371 /* Thanks to Mike Haertel and Jim Avera for this test.
6372 Here is a matrix of mmap possibilities:
6373 mmap private not fixed
6374 mmap private fixed at somewhere currently unmapped
6375 mmap private fixed at somewhere already mapped
6376 mmap shared not fixed
6377 mmap shared fixed at somewhere currently unmapped
6378 mmap shared fixed at somewhere already mapped
6379 For private mappings, we should verify that changes cannot be read()
6380 back from the file, nor mmap's back from the file at a different
6381 address. (There have been systems where private was not correctly
6382 implemented like the infamous i386 svr4.0, and systems where the
6383 VM page cache was not coherent with the file system buffer cache
6384 like early versions of FreeBSD and possibly contemporary NetBSD.)
6385 For shared mappings, we should conversely verify that changes get
6386 propagated back to all the places they're supposed to be.
6388 Grep wants private fixed already mapped.
6389 The main things grep needs to know about mmap are:
6390 * does it exist and is it safe to write into the mmap'd area
6391 * how to use it (BSD variants) */
6394 #include <sys/mman.h>
6396 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6400 /* This mess was copied from the GNU getpagesize.h. */
6401 #ifndef HAVE_GETPAGESIZE
6402 /* Assume that all systems that can run configure have sys/param.h. */
6403 # ifndef HAVE_SYS_PARAM_H
6404 # define HAVE_SYS_PARAM_H 1
6407 # ifdef _SC_PAGESIZE
6408 # define getpagesize() sysconf(_SC_PAGESIZE)
6409 # else /* no _SC_PAGESIZE */
6410 # ifdef HAVE_SYS_PARAM_H
6411 # include <sys/param.h>
6412 # ifdef EXEC_PAGESIZE
6413 # define getpagesize() EXEC_PAGESIZE
6414 # else /* no EXEC_PAGESIZE */
6416 # define getpagesize() NBPG * CLSIZE
6419 # endif /* no CLSIZE */
6420 # else /* no NBPG */
6422 # define getpagesize() NBPC
6423 # else /* no NBPC */
6425 # define getpagesize() PAGESIZE
6426 # endif /* PAGESIZE */
6427 # endif /* no NBPC */
6428 # endif /* no NBPG */
6429 # endif /* no EXEC_PAGESIZE */
6430 # else /* no HAVE_SYS_PARAM_H */
6431 # define getpagesize() 8192 /* punt totally */
6432 # endif /* no HAVE_SYS_PARAM_H */
6433 # endif /* no _SC_PAGESIZE */
6435 #endif /* no HAVE_GETPAGESIZE */
6440 char *data, *data2, *data3;
6444 pagesize = getpagesize ();
6446 /* First, make a file with some known garbage in it. */
6447 data = (char *) malloc (pagesize);
6450 for (i = 0; i < pagesize; ++i)
6451 *(data + i) = rand ();
6453 fd = creat ("conftest.mmap", 0600);
6456 if (write (fd, data, pagesize) != pagesize)
6460 /* Next, try to mmap the file at a fixed address which already has
6461 something else allocated at it. If we can, also make sure that
6462 we see the same garbage. */
6463 fd = open ("conftest.mmap", O_RDWR);
6466 data2 = (char *) malloc (2 * pagesize);
6469 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
6470 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6471 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6473 for (i = 0; i < pagesize; ++i)
6474 if (*(data + i) != *(data2 + i))
6477 /* Finally, make sure that changes to the mapped area do not
6478 percolate back to the file as seen by read(). (This is a bug on
6479 some variants of i386 svr4.0.) */
6480 for (i = 0; i < pagesize; ++i)
6481 *(data2 + i) = *(data2 + i) + 1;
6482 data3 = (char *) malloc (pagesize);
6485 if (read (fd, data3, pagesize) != pagesize)
6487 for (i = 0; i < pagesize; ++i)
6488 if (*(data + i) != *(data3 + i))
6494 if ac_fn_c_try_run
"$LINENO"; then :
6495 ac_cv_func_mmap_fixed_mapped
=yes
6497 ac_cv_func_mmap_fixed_mapped
=no
6499 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6500 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6505 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6506 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6508 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6516 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6517 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6518 aros_config_ldflags
=""
6520 aros_shared_default
=yes
6522 aros_shared_cflags
="-fPIC"
6523 aros_shared_aflags
=""
6524 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6525 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6527 aros_target_ar_flags
="cr"
6528 aros_target_nm_flags
="-C -ul"
6529 aros_target_strip_flags
="--strip-unneeded -R.comment"
6534 aros_target_genmap
="-Wl,-Map -Xlinker"
6536 # Native flavour stuff
6537 aros_serial_debug
="0"
6539 # Palm native flavour stuff
6540 aros_palm_debug_hack
="0"
6542 # Unix flavour stuff
6543 aros_nesting_supervisor
="0"
6545 # Collect-aros stuff: "-ius" to ignore undefined symbols
6546 ignore_undefined_symbols
=""
6548 # Check for X11 by default
6551 #-----------------------------------------------------------------------------
6554 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6555 # it switched on by default, and we use the host compiler, so it compiles AROS
6556 # code with this enabled resulting in link failures as we don't have support
6559 # We use two methods to disable it. For the host compiler (used to compile
6560 # some hosted modules), we test to see if the compiler supports stack
6561 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6562 # work on all platforms.
6564 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6565 # (this is done unconditionally, as it should have no effect on compilers
6566 # without the stack protection feature). This may be specific to the way that
6567 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6568 # strong enough to disable it in a generic way though, so we'll live with it
6569 # until another vendor ships GCC with it enabled in a different way, and deal
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6574 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6575 save_cflags
="$CFLAGS"
6576 CFLAGS
="$CFLAGS -fno-stack-protector"
6577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6578 /* end confdefs.h. */
6588 if ac_fn_c_try_compile
"$LINENO"; then :
6589 use_no_stack_protector
="yes"
6591 use_no_stack_protector
="no"
6593 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6595 $as_echo "$use_no_stack_protector" >&6; }
6596 if test "x-$use_no_stack_protector" = "x-yes" ; then
6597 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6599 CFLAGS
="$save_cflags"
6601 #-----------------------------------------------------------------------------
6603 # Disable pointer-signedness warnings if the compiler recognises the option
6604 # (this only works for the host compiler at the moment)
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6607 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6608 save_cflags
="$CFLAGS"
6609 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6621 if ac_fn_c_try_compile
"$LINENO"; then :
6622 use_no_sign_warning
="yes"
6624 use_no_sign_warning
="no"
6626 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6628 $as_echo "$use_no_sign_warning" >&6; }
6629 if test "x-$use_no_sign_warning" = "x-yes" ; then
6630 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6632 CFLAGS
="$save_cflags"
6634 #-----------------------------------------------------------------------------
6636 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6639 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6640 save_cflags
="$CFLAGS"
6641 CFLAGS
="$CFLAGS -fgnu89-inline"
6642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6653 if ac_fn_c_try_compile
"$LINENO"; then :
6654 use_gnu89_inline
="yes"
6656 use_gnu89_inline
="no"
6658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6660 $as_echo "$use_gnu89_inline" >&6; }
6661 if test "x-$use_gnu89_inline" = "x-yes" ; then
6662 gnu89_inline
="-fgnu89-inline"
6664 CFLAGS
="$save_cflags"
6666 #-----------------------------------------------------------------------------
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6669 $as_echo_n "checking for type of build... " >&6; }
6670 # Check whether --enable-build_type was given.
6671 if test "${enable_build_type+set}" = set; then :
6672 enableval
=$enable_build_type; build_type
=$enableval
6674 build_type
="personal"
6678 if test "$build_type" = "nightly"; then
6679 build_type_string
="NIGHTLY"
6680 elif test "$build_type" = "snapshot"; then
6681 build_type_string
="SNAPSHOT"
6682 elif test "$build_type" = "milestone"; then
6683 build_type_string
="MILESTONE"
6684 elif test "$build_type" = "release"; then
6685 build_type_string
="RELEASE"
6687 build_type_string
="PERSONAL"
6688 build_type
="personal"
6691 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6694 $as_echo "$build_type" >&6; }
6696 #-----------------------------------------------------------------------------
6697 all_debug_types
="messages stack modules mungwall symbols"
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6700 $as_echo_n "checking which debug types to enable... " >&6; }
6701 # Check whether --enable-debug was given.
6702 if test "${enable_debug+set}" = set; then :
6703 enableval
=$enable_debug; debug
="$enableval"
6709 if test "$debug" = "" -o "$debug" = "no"; then
6711 elif test "$debug" = "yes"; then
6715 if test "$debug" = "all" ; then
6716 debug
="messages stack modules symbols"
6717 for d
in $all_debug_types; do
6718 export aros_
${d}_debug
="1"
6721 for d
in $all_debug_types; do
6722 export aros_
${d}_debug
="0"
6726 if test "$debug" != "none"; then
6727 debug
=`echo $debug | sed s/,/\ /g`
6730 for d2
in $all_debug_types; do
6731 if test "$d2" = "$d"; then
6736 if test "$found" = "0"; then
6737 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6739 export aros_
${d}_debug
="1"
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6744 $as_echo "$debug" >&6; }
6746 if test "$aros_messages_debug" = "1"; then
6747 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6749 aros_messages_debug
=""
6751 if test "$aros_symbols_debug" = "1"; then
6752 aros_symbols_debug
="-g"
6754 aros_symbols_debug
=""
6757 # These are the flags to pass when compiling debugged programs
6758 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6759 aros_debug_aflags
=""
6760 aros_debug_ldflags
="$aros_symbols_debug"
6762 aros_crosstools
="no"
6764 #-----------------------------------------------------------------------------
6765 # Checking if we should build crosstools..
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6767 $as_echo_n "checking whether to build crosstools... " >&6; }
6768 # Check whether --enable-crosstools was given.
6769 if test "${enable_crosstools+set}" = set; then :
6770 enableval
=$enable_crosstools; crosstools
="$enableval"
6775 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6777 $as_echo "yes" >&6; }
6778 aros_crosstools
="yes"
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6781 $as_echo "no" >&6; }
6784 #-----------------------------------------------------------------------------
6785 # Checking for distcc and ccache.
6787 # Always apply the transforms in this particular order. Basically you should
6788 # always run 'ccache distcc compiler' in that order for the best performance.
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6791 $as_echo_n "checking whether to enable distcc... " >&6; }
6792 # Check whether --enable-distcc was given.
6793 if test "${enable_distcc+set}" = set; then :
6794 enableval
=$enable_distcc; distcc
="$enableval"
6799 if test "$distcc" != "" -a "$distcc" != "no"; then
6800 # AC_CHECK_PROG will print out the result in this case
6801 # Extract the first word of "distcc", so it can be a program name with args.
6802 set dummy distcc
; ac_word
=$2
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6804 $as_echo_n "checking for $ac_word... " >&6; }
6805 if test "${ac_cv_path_DISTCC+set}" = set; then :
6806 $as_echo_n "(cached) " >&6
6810 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6817 test -z "$as_dir" && as_dir
=.
6818 for ac_exec_ext
in '' $ac_executable_extensions; do
6819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6820 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6828 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6832 DISTCC
=$ac_cv_path_DISTCC
6833 if test -n "$DISTCC"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6835 $as_echo "$DISTCC" >&6; }
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6844 $as_echo "no" >&6; }
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6848 $as_echo_n "checking whether to enable ccache... " >&6; }
6849 # Check whether --enable-ccache was given.
6850 if test "${enable_ccache+set}" = set; then :
6851 enableval
=$enable_ccache; ccache
="$enableval"
6856 if test "$ccache" != "" -a "$ccache" != "no"; then
6857 # AC_CHECK_PROG will print out the result in this case
6858 # Extract the first word of "ccache", so it can be a program name with args.
6859 set dummy ccache
; ac_word
=$2
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6861 $as_echo_n "checking for $ac_word... " >&6; }
6862 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6863 $as_echo_n "(cached) " >&6
6865 if test -n "$CCACHE"; then
6866 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6872 test -z "$as_dir" && as_dir
=.
6873 for ac_exec_ext
in '' $ac_executable_extensions; do
6874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6875 ac_cv_prog_CCACHE
="ccache"
6876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6885 CCACHE
=$ac_cv_prog_CCACHE
6886 if test -n "$CCACHE"; then
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6888 $as_echo "$CCACHE" >&6; }
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6891 $as_echo "no" >&6; }
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6897 $as_echo "no" >&6; }
6900 #-----------------------------------------------------------------------------
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific gcc version to use" >&5
6902 $as_echo_n "checking what specific gcc version to use... " >&6; }
6904 # Check whether --with-gcc-version was given.
6905 if test "${with_gcc_version+set}" = set; then :
6906 withval
=$with_gcc_version; target_tool_version
="$withval"
6908 target_tool_version
="default"
6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
6912 $as_echo "$target_tool_version" >&6; }
6914 #-----------------------------------------------------------------------------
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
6916 $as_echo_n "checking what optimization flags to use... " >&6; }
6918 # Check whether --with-optimization was given.
6919 if test "${with_optimization+set}" = set; then :
6920 withval
=$with_optimization; optimization
="$withval"
6922 optimization
="unknown"
6925 if test "$optimization" = "unknown"; then
6926 if test "$debug" != "none"; then
6932 aros_config_cflags
="$aros_config_cflags $optimization"
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
6934 $as_echo "$optimization" >&6; }
6936 #-----------------------------------------------------------------------------
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
6938 $as_echo_n "checking what paranoia flags to use... " >&6; }
6940 # Check whether --with-paranoia was given.
6941 if test "${with_paranoia+set}" = set; then :
6942 withval
=$with_paranoia; paranoia_flags
="$withval"
6944 paranoia_flags
="default"
6947 if test "$paranoia_flags" = "default"; then
6949 else if test "$paranoia_flags" = "yes"; then
6950 paranoia_flags
="-Wall -Werror"
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
6953 $as_echo "$paranoia_flags" >&6; }
6954 aros_paranoia_cflags
="$paranoia_flags"
6956 #-----------------------------------------------------------------------------
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
6958 $as_echo_n "checking what target variant to enable... " >&6; }
6959 # Check whether --enable-target_variant was given.
6960 if test "${enable_target_variant+set}" = set; then :
6961 enableval
=$enable_target_variant; target_variant
=$enableval
6966 if test "$target_variant" = ""; then
6967 aros_target_variant
=""
6968 aros_target_suffix
=""
6971 aros_target_variant
="$target_variant"
6972 aros_target_suffix
="-$target_variant"
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
6975 $as_echo "$enableval" >&6; }
6977 target_bootloader
="none"
6979 #-----------------------------------------------------------------------------
6980 case "$aros_target_variant" in
6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
6983 $as_echo_n "checking XCode path... " >&6; }
6985 # Check whether --with-xcode was given.
6986 if test "${with_xcode+set}" = set; then :
6987 withval
=$with_xcode; aros_xcode_path
="$withval"
6989 aros_xcode_path
="/Developer"
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
6993 $as_echo "$aros_xcode_path" >&6; }
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
6996 $as_echo_n "checking for minimum supported iOS version... " >&6; }
6998 # Check whether --with-ios-version was given.
6999 if test "${with_ios_version+set}" = set; then :
7000 withval
=$with_ios_version; aros_ios_version
="$withval"
7002 aros_ios_version
="3.0"
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7006 $as_echo "$aros_ios_version" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7009 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7011 # Check whether --with-ios-sdk was given.
7012 if test "${with_ios_sdk+set}" = set; then :
7013 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7019 $as_echo "$aros_ios_sdk" >&6; }
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7025 $as_echo_n "checking Android SDK path... " >&6; }
7027 # Check whether --with-sdk was given.
7028 if test "${with_sdk+set}" = set; then :
7029 withval
=$with_sdk; aros_android_sdk
="$withval"
7031 aros_android_sdk
=$default_android_sdk
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7035 $as_echo "$aros_android_sdk" >&6; }
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7038 $as_echo_n "checking Android NDK path... " >&6; }
7040 # Check whether --with-ndk was given.
7041 if test "${with_ndk+set}" = set; then :
7042 withval
=$with_ndk; aros_android_ndk
="$withval"
7047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7048 $as_echo "$aros_android_ndk" >&6; }
7050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android version to use" >&5
7051 $as_echo_n "checking what Android version to use... " >&6; }
7053 # Check whether --with-android-version was given.
7054 if test "${with_android_version+set}" = set; then :
7055 withval
=$with_android_version; aros_android_version
="$withval"
7057 aros_android_version
="2.2"
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_version" >&5
7061 $as_echo "$aros_android_version" >&6; }
7063 export PATH
="$aros_android_sdk/tools:$PATH"
7064 # Extract the first word of "$android_tool", so it can be a program name with args.
7065 set dummy
$android_tool; ac_word
=$2
7066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7067 $as_echo_n "checking for $ac_word... " >&6; }
7068 if test "${ac_cv_path_android_tool+set}" = set; then :
7069 $as_echo_n "(cached) " >&6
7071 case $android_tool in
7073 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir
=.
7081 for ac_exec_ext
in '' $ac_executable_extensions; do
7082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7094 android_tool
=$ac_cv_path_android_tool
7095 if test -n "$android_tool"; then
7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7097 $as_echo "$android_tool" >&6; }
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7100 $as_echo "no" >&6; }
7104 if test "$android_tool" = ""; then
7105 as_fn_error
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7108 if test $host_os = "mingw32"; then
7109 android_tool
="cmd //c $android_tool"
7115 #-----------------------------------------------------------------------------
7116 # This is the target configuration switch.
7117 case "$target_os" in
7119 aros_target_arch
="linux"
7120 aros_target_family
="unix"
7121 case "$target_cpu" in
7123 aros_target_cpu
="m68k"
7124 aros_object_format
="m68kelf"
7125 aros_flavour
="emulcompat"
7126 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7127 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7128 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7129 gcc_target_cpu
="mc68000"
7132 aros_target_cpu
="i386"
7133 aros_object_format
="elf_i386"
7134 aros_flavour
="emulation"
7135 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7136 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7137 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7138 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7139 aros_config_ldflags
="-m32 -march=i486"
7140 aros_kernel_ldflags
="-melf_i386"
7141 aros_default_wbdepth
=8
7142 gcc_target_cpu
="i386"
7143 pci_hidd_target
="hidd-pci-linux"
7146 aros_target_cpu
="x86_64"
7147 aros_object_format
="elf_x86_64"
7148 aros_flavour
="emulation"
7149 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7150 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
7151 aros_default_wbdepth
=8
7152 gcc_target_cpu
="x86_64"
7153 pci_hidd_target
="hidd-pci-linux"
7156 aros_target_cpu
="ppc"
7157 aros_object_format
="elf32ppc"
7158 aros_flavour
="emulation"
7159 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7160 aros_default_wbdepth
=8
7161 gcc_target_cpu
="ppc"
7164 # Same as powerpc, but I need this for the nightly build to work again.
7165 # Actually, the nightly should be made working with powerpc target.
7166 # That just was too much work for the moment, another week or two.
7168 aros_target_cpu
="ppc"
7169 aros_object_format
="elf32ppc"
7170 aros_flavour
="emulation"
7171 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7172 aros_default_wbdepth
=8
7173 gcc_target_cpu
="ppc"
7176 aros_target_cpu
="arm"
7177 aros_object_format
="armelf_linux_eabi"
7178 aros_flavour
="emulation"
7179 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7180 gcc_target_cpu
="arm"
7181 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7182 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7183 aros_arch_libs
="-laeabi"
7186 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7189 case "$aros_target_variant" in
7191 case "$aros_android_version" in
7193 aros_android_level
=android-8
7196 aros_android_level
=android-9
7199 aros_default_wbwidth
=320
7200 aros_default_wbheight
=480
7201 aros_target_cc
="arm-aros-gcc"
7202 aros_target_cxx
="arm-aros-g++"
7203 aros_target_ld
="arm-aros-ld"
7204 aros_target_as
="arm-aros-as"
7205 aros_target_ar
="arm-aros-ar"
7206 aros_target_ranlib
="arm-aros-ranlib"
7207 aros_target_nm
="arm-aros-nm"
7208 aros_target_strip
="arm-aros-strip"
7209 aros_target_objcopy
="arm-aros-objcopy"
7210 aros_target_objdump
="arm-aros-objdump"
7211 if test "$aros_android_ndk" = ""; then
7212 aros_kernel_cflags
="-mandroid"
7213 aros_kernel_ldflags
="-mandroid"
7216 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7217 aros_android_ndk
="$aros_android_ndk/platforms/$aros_android_level/arch-arm"
7218 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7219 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7220 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7221 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7224 target_tool_prefix
="arm-linux-androideabi-"
7230 aros_target_arch
="pc"
7231 aros_shared_default
="no"
7232 target_bootloader
="grub2"
7233 case "$target_cpu" in
7235 aros_target_cpu
="i386"
7238 if test "$aros_object_format" = "" ; then
7239 aros_object_format
="elf_i386"
7241 aros_flavour
="standalone"
7242 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7243 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7244 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7245 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7246 aros_config_ldflags
="-m32 -march=i486"
7247 aros_kernel_ldflags
="-melf_i386"
7248 aros_default_wbwidth
=640
7249 aros_default_wbheight
=480
7250 gcc_target_cpu
="i386"
7253 aros_target_cpu
="x86_64"
7255 if test "$aros_object_format" = "" ; then
7256 aros_object_format
="elf_x86_64"
7258 aros_flavour
="standalone"
7259 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7260 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
7261 aros_kernel_ldflags
=""
7262 aros_default_wbwidth
=640
7263 aros_default_wbheight
=480
7264 gcc_target_cpu
="x86_64"
7267 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7273 aros_target_arch
="prep"
7274 aros_shared_default
="no"
7275 aros_target_cpu
="ppc"
7276 aros_object_format
="elf32ppc"
7277 aros_flavour
="ppcnative"
7278 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7279 aros_kernel_ldflags
=""
7280 aros_default_wbwidth
=640
7281 aros_default_wbheight
=480
7282 gcc_target_cpu
="ppc"
7286 aros_target_arch
="freebsd"
7287 aros_target_family
="unix"
7288 aros_target_cpu
="i386"
7289 aros_flavour
="emulation"
7290 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7291 gcc_target_cpu
="i386"
7293 aros_target_strip_flags
="-x"
7297 aros_target_arch
="darwin"
7298 aros_target_family
="unix"
7299 aros_flavour
="emulation"
7300 case "$target_cpu" in
7302 aros_ios_platform
="iPhoneSimulator"
7303 aros_target_cpu
="i386"
7304 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7305 aros_kernel_ldflags
=""
7306 aros_macosx_version
="10.4"
7307 aros_default_wbdepth
=8
7308 gcc_target_cpu
="i386"
7309 aros_object_format
="elf_i386"
7310 aros_target_strip_flags
="-x"
7311 aros_target_cc
="i386-aros-gcc"
7312 aros_target_cxx
="i386-aros-g++"
7313 aros_target_ld
="i386-aros-ld"
7314 aros_target_as
="i386-aros-as"
7315 aros_target_ar
="i386-aros-ar"
7316 aros_target_ranlib
="i386-aros-ranlib"
7317 aros_target_nm
="i386-aros-nm"
7318 aros_target_strip
="i386-aros-strip"
7319 aros_target_objcopy
="i386-aros-objcopy"
7320 aros_target_objdump
="i386-aros-objdump"
7321 target_tool_prefix
="i686-apple-darwin10-"
7322 target_tool_flags
="-m32"
7325 aros_target_cpu
="x86_64"
7326 aros_object_format
="elf_x86_64"
7327 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7328 aros_macosx_version
="10.6"
7329 aros_kernel_cflags
="-m64"
7330 aros_kernel_ldflags
="-m64"
7331 aros_default_wbdepth
=8
7332 gcc_target_cpu
="x86_64"
7334 aros_target_cc
="x86_64-aros-gcc"
7335 aros_target_cxx
="x86_64-aros-g++"
7336 aros_target_ld
="x86_64-aros-ld"
7337 aros_target_as
="x86_64-aros-as"
7338 aros_target_ar
="x86_64-aros-ar"
7339 aros_target_ranlib
="x86_64-aros-ranlib"
7340 aros_target_nm
="x86_64-aros-nm"
7341 aros_target_strip
="x86_64-aros-strip"
7342 aros_target_objcopy
="x86_64-aros-objcopy"
7343 aros_target_objdump
="x86_64-aros-objdump"
7344 target_tool_prefix
="i686-apple-darwin10-"
7347 aros_target_cpu
="ppc"
7348 aros_object_format
="elf32ppc"
7349 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7350 aros_kernel_ldflags
=""
7351 aros_macosx_version
="10.0"
7352 aros_default_wbdepth
=8
7353 gcc_target_cpu
="ppc"
7354 aros_kernel_ld
="ld -arch ppc"
7355 aros_target_cc
="ppc-aros-gcc"
7356 aros_target_cxx
="ppc-aros-g++"
7357 aros_target_ld
="ppc-aros-ld"
7358 aros_target_as
="ppc-aros-as"
7359 aros_target_ar
="ppc-aros-ar"
7360 aros_target_ranlib
="ppc-aros-ranlib"
7361 aros_target_nm
="ppc-aros-nm"
7362 aros_target_strip
="ppc-aros-strip"
7363 aros_target_objcopy
="ppc-aros-objcopy"
7364 aros_target_objdump
="ppc-aros-objdump"
7365 target_tool_prefix
="powerpc-apple-darwin10-"
7368 aros_ios_platform
="iPhoneOS"
7369 aros_target_cpu
="arm"
7370 aros_object_format
="armelf_linux_eabi"
7371 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7372 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7373 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7374 aros_arch_libs
="-laeabi"
7375 aros_default_wbdepth
=8
7376 gcc_target_cpu
="arm"
7377 aros_kernel_ld
="ld -arch armv6"
7378 aros_target_cc
="arm-aros-gcc"
7379 aros_target_cxx
="arm-aros-g++"
7380 aros_target_ld
="arm-aros-ld"
7381 aros_target_as
="arm-aros-as"
7382 aros_target_ar
="arm-aros-ar"
7383 aros_target_ranlib
="arm-aros-ranlib"
7384 aros_target_nm
="arm-aros-nm"
7385 aros_target_strip
="arm-aros-strip"
7386 aros_target_objcopy
="arm-aros-objcopy"
7387 aros_target_objdump
="arm-aros-objdump"
7388 target_tool_prefix
="arm-apple-darwin10-"
7389 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7392 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7395 case "$aros_target_variant" in
7397 aros_default_wbwidth
=320
7398 aros_default_wbheight
=480
7399 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7400 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
7401 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7403 # This is here because it may depend on iOS or SDK version
7404 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7405 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7406 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7409 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7410 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7416 aros_target_arch
="dragonfly"
7417 aros_target_family
="unix"
7418 aros_flavour
="emulation"
7419 case "$target_cpu" in
7421 aros_target_cpu
="i386"
7422 aros_object_format
="elf_i386"
7423 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7426 aros_target_cpu
="x86_64"
7427 aros_object_format
="elf_x86_64"
7428 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7431 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7437 aros_target_arch
="netbsd"
7438 aros_target_family
="unix"
7439 case "$target_cpu" in
7441 aros_target_cpu
="m68k"
7442 aros_object_format
="m68kelf"
7443 aros_flavour
="emulcompat"
7444 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7445 gcc_target_cpu
="mc68000"
7448 aros_target_cpu
="i386"
7449 aros_object_format
="elf_i386"
7450 aros_flavour
="emulation"
7451 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7452 aros_default_wbdepth
=8
7453 gcc_target_cpu
="i386"
7456 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7459 aros_target_genmap
="-Wl,-M -Xlinker >"
7460 aros_flavour
="emulation"
7461 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7465 aros_target_arch
="openbsd"
7466 aros_target_family
="unix"
7467 case "$target_cpu" in
7469 aros_target_cpu
="i386"
7470 aros_object_format
="elf_i386"
7471 aros_flavour
="emulation"
7472 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7473 gcc_target_cpu
="i386"
7476 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7479 aros_target_genmap
="-Wl,-M -Xlinker >"
7480 aros_target_nm_flags
="-u"
7481 aros_flavour
="emulation"
7485 aros_target_arch
="solaris"
7486 aros_target_family
="unix"
7487 case "$target_cpu" in
7489 aros_target_cpu
="i386"
7490 aros_object_format
="elf_i386"
7491 aros_flavour
="emulation"
7492 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7493 aros_default_wbdepth
=8
7494 gcc_target_cpu
="i386"
7497 aros_target_cpu
="sparc"
7498 aros_object_format
="elf_sparc"
7499 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7500 gcc_target_cpu
="sparc"
7503 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7506 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7507 aros_flavour
="emulation"
7511 aros_target_arch
="morphos"
7512 aros_shared_default
="no"
7513 aros_target_cpu
="ppc"
7514 aros_object_format
="elf_ppc"
7515 aros_flavour
="nativecompat"
7516 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7517 gcc_target_cpu
="ppc"
7521 aros_target_arch
="sam440"
7522 aros_shared_default
="no"
7523 aros_target_cpu
="ppc"
7524 aros_object_format
="elf32ppc"
7525 aros_flavour
="ppcnative"
7526 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7527 aros_kernel_ldflags
=""
7528 aros_default_wbwidth
=1024
7529 aros_default_wbheight
=768
7530 aros_default_wbdepth
=24
7531 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7532 gcc_target_cpu
="powerpc"
7536 aros_target_arch
="efika"
7537 aros_shared_default
="no"
7538 aros_target_cpu
="arm"
7539 aros_object_format
="armelf_linux_eabi"
7540 aros_flavour
="standalone"
7541 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7542 aros_kernel_ldflags
=""
7543 aros_default_wbwidth
=1024
7544 aros_default_wbheight
=600
7545 aros_arch_libs
="-laeabi"
7546 aros_config_cflags
="$aros_config_cflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7547 aros_config_aflags
="$aros_config_aflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7551 aros_target_arch
="chrp"
7552 aros_shared_default
="no"
7553 aros_target_cpu
="ppc"
7554 aros_object_format
="elf32ppc"
7555 aros_flavour
="ppcnative"
7556 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7557 aros_kernel_ldflags
=""
7558 aros_default_wbwidth
=640
7559 aros_default_wbheight
=480
7560 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7561 gcc_target_cpu
="powerpc"
7562 case "$aros_target_variant" in
7564 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7570 aros_target_arch
="amiga"
7571 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7572 aros_shared_default
="no"
7574 case "$target_cpu" in
7577 aros_target_cpu
="m68k"
7578 aros_object_format
="m68kelf"
7579 aros_flavour
="standcompat"
7580 gcc_target_cpu
="m68000"
7581 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -DAROS_DOS_PACKETS"
7582 aros_config_aflags
="$aros_config_aflags -g3 -${gcc_target_cpu}"
7583 aros_paranoia_cflags
="$aros_paranoia_cflags -Wno-volatile-register-var"
7584 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
7585 target_tool_prefix
="m68k-elf-"
7586 # Needed to get the correct multilib
7587 aros_config_ldflags
="-${gcc_target_cpu}"
7588 aros_debug_ldflags
="-${gcc_target_cpu}"
7589 aros_shared_ldflags
="-${gcc_target_cpu}"
7590 aros_kernel_ldflags
="-${gcc_target_cpu}"
7591 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7592 aros_target_strip_flags
="-R.comment --strip-debug"
7593 aros_default_wbwidth
=640
7594 aros_default_wbheight
=256
7598 aros_flavour
="native"
7599 gcc_target_cpu
="ppc"
7602 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7608 aros_target_arch
="mingw32"
7609 aros_shared_default
="no"
7610 aros_flavour
="emulation"
7611 aros_shared_cflags
=""
7614 case "$target_cpu" in
7616 aros_target_cpu
="i386"
7617 aros_object_format
="elf_i386"
7618 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7619 aros_default_wbdepth
=8
7620 gcc_target_cpu
="i386"
7621 aros_target_cc
="i386-aros-gcc"
7622 aros_target_cxx
="i386-aros-g++"
7623 aros_target_ld
="i386-aros-ld"
7624 aros_target_as
="i386-aros-as"
7625 aros_target_ar
="i386-aros-ar"
7626 aros_target_ranlib
="i386-aros-ranlib"
7627 aros_target_nm
="i386-aros-nm"
7628 aros_target_strip
="i386-aros-strip"
7629 aros_target_objcopy
="i386-aros-objcopy"
7630 aros_target_objdump
="i386-aros-objdump"
7631 target_tool_prefix
="i386-mingw32-"
7634 aros_target_cpu
="x86_64"
7635 aros_object_format
="elf_x86_64"
7636 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7637 aros_default_wbdepth
=8
7638 gcc_target_cpu
="x86_64"
7639 aros_target_cc
="x86_64-aros-gcc"
7640 aros_target_cxx
="x86_64-aros-g++"
7641 aros_target_ld
="x86_64-aros-ld"
7642 aros_target_as
="x86_64-aros-as"
7643 aros_target_ar
="x86_64-aros-ar"
7644 aros_target_ranlib
="x86_64-aros-ranlib"
7645 aros_target_nm
="x86_64-aros-nm"
7646 aros_target_strip
="x86_64-aros-strip"
7647 aros_target_objcopy
="x86_64-aros-objcopy"
7648 aros_target_objdump
="x86_64-aros-objdump"
7649 target_tool_prefix
="x86_64-w64-mingw32-"
7652 aros_target_cpu
="arm"
7653 aros_object_format
="armelf_linux_eabi"
7654 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7655 aros_arch_libs
="-laeabi"
7656 aros_default_wbdepth
=8
7657 gcc_target_cpu
="arm"
7658 aros_target_cc
="arm-aros-gcc"
7659 aros_target_cxx
="arm-aros-g++"
7660 aros_target_ld
="arm-aros-ld"
7661 aros_target_as
="arm-aros-as"
7662 aros_target_ar
="arm-aros-ar"
7663 aros_target_ranlib
="arm-aros-ranlib"
7664 aros_target_nm
="arm-aros-nm"
7665 aros_target_strip
="arm-aros-strip"
7666 aros_target_objcopy
="arm-aros-objcopy"
7667 aros_target_objdump
="arm-aros-objdump"
7668 target_tool_prefix
="arm-mingw32ce-"
7669 aros_default_wbwidth
=160
7670 aros_default_wbheight
=160
7673 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7676 if test $host_os = "cygwin"; then
7677 aros_kernel_cflags
="-mno-cygwin"
7681 aros_target_arch
="pp"
7682 aros_shared_default
="no"
7683 case "$target_cpu" in
7685 aros_target_cpu
="m68k"
7686 aros_object_format
="m68kelf"
7687 aros_flavour
="palmnative"
7688 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7689 aros_default_wbwidth
=160
7690 aros_default_wbheight
=160
7691 aros_default_wbdepth
=1
7692 aros_target_ar_flags
="cru"
7693 aros_compiler_libs
="-lgcc1"
7694 aros_shared_default
=no
7695 aros_shared_cflags
="-fpic"
7696 aros_shared_aflags
=""
7697 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7698 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7699 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7700 aros_debug_aflags
=""
7701 aros_debug_ldflags
="$aros_symbols_debug"
7702 aros_mungwall_debug
="0"
7703 aros_modules_debug
="0"
7704 gcc_target_cpu
="mc68000"
7705 ignore_undefined_symbols
="-ius"
7708 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7714 aros_target_arch
="mac"
7715 aros_shared_default
="no"
7716 case "$target_cpu" in
7718 aros_target_cpu
="m68k"
7719 aros_object_format
="m68kelf"
7720 aros_flavour
="mac68knative"
7721 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7722 aros_default_wbwidth
=512
7723 aros_default_wbheight
=384
7724 aros_default_wbdepth
=8
7725 aros_target_ar_flags
="cru"
7726 aros_compiler_libs
="-lgcc1"
7727 aros_shared_default
=no
7728 aros_shared_cflags
="-fpic"
7729 aros_shared_aflags
=""
7730 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7731 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7732 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7733 aros_debug_aflags
=""
7734 aros_debug_ldflags
="$aros_symbols_debug"
7735 aros_mungwall_debug
="0"
7736 aros_modules_debug
="0"
7737 gcc_target_cpu
="mc68000"
7738 ignore_undefined_symbols
="-ius"
7741 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7747 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7752 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7754 # Check whether --with-portssources was given.
7755 if test "${with_portssources+set}" = set; then :
7756 withval
=$with_portssources; with_portssrcdir
=$withval
7758 with_portssrcdir
="default"
7761 if test "$with_portssrcdir" = "default"; then
7762 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7764 AROS_PORTSSRCDIR
="$with_portssrcdir"
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7767 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7770 $as_echo_n "checking which bootloader to use... " >&6; }
7772 # Check whether --with-bootloader was given.
7773 if test "${with_bootloader+set}" = set; then :
7774 withval
=$with_bootloader; target_bootloader
=$withval
7776 target_bootloader
=$target_bootloader
7779 if test "$target_bootloader" = "none"; then
7780 aros_target_bootloader
=""
7782 aros_target_bootloader
="$target_bootloader"
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7785 $as_echo "$target_bootloader" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7788 $as_echo_n "checking which icon-set to use... " >&6; }
7790 # Check whether --with-iconset was given.
7791 if test "${with_iconset+set}" = set; then :
7792 withval
=$with_iconset; target_iconset
=$withval
7794 target_iconset
="default"
7797 if test "$target_iconset" = "default"; then
7798 aros_target_iconset
="Gorilla"
7799 target_iconset
="default (Gorilla)"
7801 aros_target_iconset
="$target_iconset"
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7804 $as_echo "$target_iconset" >&6; }
7806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7807 $as_echo_n "checking which GUI Theme to use... " >&6; }
7809 # Check whether --with-theme was given.
7810 if test "${with_theme+set}" = set; then :
7811 withval
=$with_theme; target_guitheme
=$withval
7813 target_guitheme
="default"
7816 if test "$target_guitheme" = "default"; then
7817 aros_target_guitheme
="Ice"
7819 aros_target_guitheme
="$target_guitheme"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7822 $as_echo "$aros_target_guitheme" >&6; }
7824 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7827 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7830 if test "$aros_host_cpu" == "x86_64" ; then
7831 if test "$aros_target_cpu" == "i386" ; then
7832 if test "$aros_target_arch" != "mingw32"; then
7837 if test "$aros_host_arch" == "darwin" ; then
7838 if test "$aros_target_arch" != "darwin" ; then
7843 # Set prefix for target compiler etc. if we're cross-compiling
7844 # (should possibly be earlier but needs to be after AC_PROG_CC)
7845 if test "$cross_compiling" = "yes" ; then
7846 if test "$target_tool_prefix" = ""; then
7847 target_tool_prefix
=${target_cpu}-elf-
7849 CC
=${target_tool_prefix}gcc
7850 CPP
=${target_tool_prefix}cpp
7851 if test "$target_tool_version" != "default"; then
7852 CC
="$CC-$target_tool_version"
7853 CPP
="$CC-$target_tool_version"
7855 # Extract the first word of "$CC", so it can be a program name with args.
7856 set dummy
$CC; ac_word
=$2
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7858 $as_echo_n "checking for $ac_word... " >&6; }
7859 if test "${ac_cv_path_CC+set}" = set; then :
7860 $as_echo_n "(cached) " >&6
7864 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
7867 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7871 test -z "$as_dir" && as_dir
=.
7872 for ac_exec_ext
in '' $ac_executable_extensions; do
7873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7874 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
7875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7886 if test -n "$CC"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7888 $as_echo "$CC" >&6; }
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7895 if test "$CC" = ""; then
7896 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7899 CC
="$CC $target_tool_flags"
7901 #-----------------------------------------------------------------------------
7903 # Disable pointer-signedness warnings if the compiler recognises the option
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7906 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7907 save_cflags
="$CFLAGS"
7908 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7920 if ac_fn_c_try_compile
"$LINENO"; then :
7921 use_no_sign_warning
="yes"
7923 use_no_sign_warning
="no"
7925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7927 $as_echo "$use_no_sign_warning" >&6; }
7928 if test "x-$use_no_sign_warning" = "x-yes" ; then
7929 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
7931 CFLAGS
="$save_cflags"
7933 #-----------------------------------------------------------------------------
7935 # Find all the tools we need to compile. This could be cross-compiling
7936 # though! If that is the case we use the GNU form of the target and
7937 # simply add this to the front of the binary name. This is rather simple,
7938 # but it should work under most circumstances.
7940 # The default tools are to use the same as the host, but only if the
7941 # host and target CPU are the same. With GCC this is normally enough.
7945 aros_shared_ld
="$aros_host_ld"
7947 aros_target_mkdep
="$aros_host_mkdep"
7948 aros_target_incl_def
="$aros_host_incl"
7950 aros_kernel_cc
="$CC"
7952 # The default tools executables to be linked to.
7953 if test "$aros_target_cc" != ""; then
7954 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
7955 set dummy
$aros_target_cc; ac_word
=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
7959 $as_echo_n "(cached) " >&6
7961 case $aros_target_cc in
7963 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
7966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7970 test -z "$as_dir" && as_dir
=.
7971 for ac_exec_ext
in '' $ac_executable_extensions; do
7972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7973 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 aros_target_cc
=$ac_cv_path_aros_target_cc
7985 if test -n "$aros_target_cc"; then
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
7987 $as_echo "$aros_target_cc" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7990 $as_echo "no" >&6; }
7994 if test "$aros_target_cc" = ""; then
7995 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7998 if test "$aros_target_ld" != ""; then
7999 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
8000 set dummy
$aros_target_ld; ac_word
=$2
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8002 $as_echo_n "checking for $ac_word... " >&6; }
8003 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
8004 $as_echo_n "(cached) " >&6
8006 case $aros_target_ld in
8008 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
8011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8015 test -z "$as_dir" && as_dir
=.
8016 for ac_exec_ext
in '' $ac_executable_extensions; do
8017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8018 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
8019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8029 aros_target_ld
=$ac_cv_path_aros_target_ld
8030 if test -n "$aros_target_ld"; then
8031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
8032 $as_echo "$aros_target_ld" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8035 $as_echo "no" >&6; }
8039 if test "$aros_target_ld" = ""; then
8040 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8044 if test "$crosstools" != "yes"; then
8046 if test "$aros_target_as" = ""; then
8047 if test "$cross_compiling" = "yes" ; then
8048 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8049 set dummy
${target_tool_prefix}as
; ac_word
=$2
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8051 $as_echo_n "checking for $ac_word... " >&6; }
8052 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8053 $as_echo_n "(cached) " >&6
8055 case $aros_target_as_ln in
8057 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8060 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8064 test -z "$as_dir" && as_dir
=.
8065 for ac_exec_ext
in '' $ac_executable_extensions; do
8066 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8067 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8079 if test -n "$aros_target_as_ln"; then
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8081 $as_echo "$aros_target_as_ln" >&6; }
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8084 $as_echo "no" >&6; }
8089 if test "$GCC" = "yes"; then
8090 aros_gcc_as
=`$CC -print-prog-name=as`
8091 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8092 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8094 $as_echo_n "checking for $ac_word... " >&6; }
8095 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8096 $as_echo_n "(cached) " >&6
8098 case $aros_target_as_ln in
8100 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8104 for as_dir
in `dirname $aros_gcc_as`
8107 test -z "$as_dir" && as_dir
=.
8108 for ac_exec_ext
in '' $ac_executable_extensions; do
8109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8110 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8121 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8122 if test -n "$aros_target_as_ln"; then
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8124 $as_echo "$aros_target_as_ln" >&6; }
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8127 $as_echo "no" >&6; }
8132 if test "$aros_target_as_ln" = ""; then
8133 # Extract the first word of "as", so it can be a program name with args.
8134 set dummy as
; ac_word
=$2
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8136 $as_echo_n "checking for $ac_word... " >&6; }
8137 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8138 $as_echo_n "(cached) " >&6
8140 case $aros_target_as_ln in
8142 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8149 test -z "$as_dir" && as_dir
=.
8150 for ac_exec_ext
in '' $ac_executable_extensions; do
8151 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8152 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8163 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8164 if test -n "$aros_target_as_ln"; then
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8166 $as_echo "$aros_target_as_ln" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8169 $as_echo "no" >&6; }
8176 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8177 set dummy
$aros_target_as; ac_word
=$2
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8179 $as_echo_n "checking for $ac_word... " >&6; }
8180 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8181 $as_echo_n "(cached) " >&6
8183 case $aros_target_as_ln in
8185 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8192 test -z "$as_dir" && as_dir
=.
8193 for ac_exec_ext
in '' $ac_executable_extensions; do
8194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8195 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8206 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8207 if test -n "$aros_target_as_ln"; then
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8209 $as_echo "$aros_target_as_ln" >&6; }
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8212 $as_echo "no" >&6; }
8218 if test "$aros_target_as_ln" = ""; then
8219 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8222 if test "$aros_kernel_ld" = ""; then
8223 if test "$cross_compiling" = "yes" ; then
8224 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8225 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8227 $as_echo_n "checking for $ac_word... " >&6; }
8228 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8229 $as_echo_n "(cached) " >&6
8231 case $aros_kernel_ld in
8233 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8240 test -z "$as_dir" && as_dir
=.
8241 for ac_exec_ext
in '' $ac_executable_extensions; do
8242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8243 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8254 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8255 if test -n "$aros_kernel_ld"; then
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8257 $as_echo "$aros_kernel_ld" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8260 $as_echo "no" >&6; }
8265 if test "$GCC" = "yes"; then
8266 aros_gcc_ld
=`$CC -print-prog-name=ld`
8267 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8268 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8270 $as_echo_n "checking for $ac_word... " >&6; }
8271 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8272 $as_echo_n "(cached) " >&6
8274 case $aros_kernel_ld in
8276 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8280 for as_dir
in `dirname $aros_gcc_ld`
8283 test -z "$as_dir" && as_dir
=.
8284 for ac_exec_ext
in '' $ac_executable_extensions; do
8285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8286 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8297 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8298 if test -n "$aros_kernel_ld"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8300 $as_echo "$aros_kernel_ld" >&6; }
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8308 if test "$aros_kernel_ld" = ""; then
8309 # Extract the first word of "ld", so it can be a program name with args.
8310 set dummy ld
; ac_word
=$2
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8312 $as_echo_n "checking for $ac_word... " >&6; }
8313 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8314 $as_echo_n "(cached) " >&6
8316 case $aros_kernel_ld in
8318 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8325 test -z "$as_dir" && as_dir
=.
8326 for ac_exec_ext
in '' $ac_executable_extensions; do
8327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8328 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8339 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8340 if test -n "$aros_kernel_ld"; then
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8342 $as_echo "$aros_kernel_ld" >&6; }
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8345 $as_echo "no" >&6; }
8352 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8353 set dummy
$aros_kernel_ld; ac_word
=$2
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8355 $as_echo_n "checking for $ac_word... " >&6; }
8356 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8357 $as_echo_n "(cached) " >&6
8359 case $aros_kernel_ld in
8361 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8368 test -z "$as_dir" && as_dir
=.
8369 for ac_exec_ext
in '' $ac_executable_extensions; do
8370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8371 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8382 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8383 if test -n "$aros_kernel_ld"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8385 $as_echo "$aros_kernel_ld" >&6; }
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8394 if test "$aros_kernel_ld" = ""; then
8395 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8398 if test "$aros_target_ar" = ""; then
8399 if test "$cross_compiling" = "yes" ; then
8400 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8401 set dummy
${target_tool_prefix}ar; ac_word
=$2
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8403 $as_echo_n "checking for $ac_word... " >&6; }
8404 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8405 $as_echo_n "(cached) " >&6
8407 case $aros_target_ar_ln in
8409 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8416 test -z "$as_dir" && as_dir
=.
8417 for ac_exec_ext
in '' $ac_executable_extensions; do
8418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8419 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8430 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8431 if test -n "$aros_target_ar_ln"; then
8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8433 $as_echo "$aros_target_ar_ln" >&6; }
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8436 $as_echo "no" >&6; }
8441 if test "$GCC" = "yes"; then
8442 aros_gcc_ar
=`$CC -print-prog-name=ar`
8443 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8444 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8446 $as_echo_n "checking for $ac_word... " >&6; }
8447 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8448 $as_echo_n "(cached) " >&6
8450 case $aros_target_ar_ln in
8452 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8456 for as_dir
in `dirname $aros_gcc_ar`
8459 test -z "$as_dir" && as_dir
=.
8460 for ac_exec_ext
in '' $ac_executable_extensions; do
8461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8462 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8473 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8474 if test -n "$aros_target_ar_ln"; then
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8476 $as_echo "$aros_target_ar_ln" >&6; }
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8479 $as_echo "no" >&6; }
8484 if test "$aros_target_ar_ln" = ""; then
8485 # Extract the first word of "ar", so it can be a program name with args.
8486 set dummy
ar; ac_word
=$2
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8488 $as_echo_n "checking for $ac_word... " >&6; }
8489 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8490 $as_echo_n "(cached) " >&6
8492 case $aros_target_ar_ln in
8494 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8497 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8501 test -z "$as_dir" && as_dir
=.
8502 for ac_exec_ext
in '' $ac_executable_extensions; do
8503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8504 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8515 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8516 if test -n "$aros_target_ar_ln"; then
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8518 $as_echo "$aros_target_ar_ln" >&6; }
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8521 $as_echo "no" >&6; }
8528 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8529 set dummy
$aros_target_ar; ac_word
=$2
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8531 $as_echo_n "checking for $ac_word... " >&6; }
8532 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8533 $as_echo_n "(cached) " >&6
8535 case $aros_target_ar_ln in
8537 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8540 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8544 test -z "$as_dir" && as_dir
=.
8545 for ac_exec_ext
in '' $ac_executable_extensions; do
8546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8547 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8558 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8559 if test -n "$aros_target_ar_ln"; then
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8561 $as_echo "$aros_target_ar_ln" >&6; }
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8564 $as_echo "no" >&6; }
8570 if test "$aros_target_ar_ln" = ""; then
8571 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8574 if test "$aros_target_nm" = ""; then
8575 if test "$cross_compiling" = "yes" ; then
8576 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8577 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8579 $as_echo_n "checking for $ac_word... " >&6; }
8580 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8581 $as_echo_n "(cached) " >&6
8583 case $aros_target_nm_ln in
8585 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8588 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8592 test -z "$as_dir" && as_dir
=.
8593 for ac_exec_ext
in '' $ac_executable_extensions; do
8594 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8595 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8606 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8607 if test -n "$aros_target_nm_ln"; then
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8609 $as_echo "$aros_target_nm_ln" >&6; }
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8612 $as_echo "no" >&6; }
8617 if test "$GCC" = "yes"; then
8618 aros_gcc_nm
=`$CC -print-prog-name=nm`
8619 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8620 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8622 $as_echo_n "checking for $ac_word... " >&6; }
8623 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8624 $as_echo_n "(cached) " >&6
8626 case $aros_target_nm_ln in
8628 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8632 for as_dir
in `dirname $aros_gcc_nm`
8635 test -z "$as_dir" && as_dir
=.
8636 for ac_exec_ext
in '' $ac_executable_extensions; do
8637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8638 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8649 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8650 if test -n "$aros_target_nm_ln"; then
8651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8652 $as_echo "$aros_target_nm_ln" >&6; }
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8655 $as_echo "no" >&6; }
8660 if test "$aros_target_nm_ln" = ""; then
8661 # Extract the first word of "nm", so it can be a program name with args.
8662 set dummy nm
; ac_word
=$2
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8664 $as_echo_n "checking for $ac_word... " >&6; }
8665 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8666 $as_echo_n "(cached) " >&6
8668 case $aros_target_nm_ln in
8670 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8677 test -z "$as_dir" && as_dir
=.
8678 for ac_exec_ext
in '' $ac_executable_extensions; do
8679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8680 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8691 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8692 if test -n "$aros_target_nm_ln"; then
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8694 $as_echo "$aros_target_nm_ln" >&6; }
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8697 $as_echo "no" >&6; }
8704 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8705 set dummy
$aros_target_nm; ac_word
=$2
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8707 $as_echo_n "checking for $ac_word... " >&6; }
8708 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8709 $as_echo_n "(cached) " >&6
8711 case $aros_target_nm_ln in
8713 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8716 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8720 test -z "$as_dir" && as_dir
=.
8721 for ac_exec_ext
in '' $ac_executable_extensions; do
8722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8723 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8734 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8735 if test -n "$aros_target_nm_ln"; then
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8737 $as_echo "$aros_target_nm_ln" >&6; }
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8740 $as_echo "no" >&6; }
8746 if test "$aros_target_nm_ln" = ""; then
8747 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8750 if test "$aros_target_objcopy" = ""; then
8751 if test "$cross_compiling" = "yes" ; then
8752 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8753 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8755 $as_echo_n "checking for $ac_word... " >&6; }
8756 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8757 $as_echo_n "(cached) " >&6
8759 case $aros_target_objcopy_ln in
8761 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8768 test -z "$as_dir" && as_dir
=.
8769 for ac_exec_ext
in '' $ac_executable_extensions; do
8770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8771 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8782 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8783 if test -n "$aros_target_objcopy_ln"; then
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8785 $as_echo "$aros_target_objcopy_ln" >&6; }
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8788 $as_echo "no" >&6; }
8793 if test "$GCC" = "yes"; then
8794 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8795 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8796 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8798 $as_echo_n "checking for $ac_word... " >&6; }
8799 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8800 $as_echo_n "(cached) " >&6
8802 case $aros_target_objcopy_ln in
8804 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8808 for as_dir
in `dirname $aros_gcc_objcopy`
8811 test -z "$as_dir" && as_dir
=.
8812 for ac_exec_ext
in '' $ac_executable_extensions; do
8813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8814 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8825 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8826 if test -n "$aros_target_objcopy_ln"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8828 $as_echo "$aros_target_objcopy_ln" >&6; }
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8831 $as_echo "no" >&6; }
8836 if test "$aros_target_objcopy_ln" = ""; then
8837 # Extract the first word of "objcopy", so it can be a program name with args.
8838 set dummy objcopy
; ac_word
=$2
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8840 $as_echo_n "checking for $ac_word... " >&6; }
8841 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8844 case $aros_target_objcopy_ln in
8846 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8853 test -z "$as_dir" && as_dir
=.
8854 for ac_exec_ext
in '' $ac_executable_extensions; do
8855 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8856 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8867 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8868 if test -n "$aros_target_objcopy_ln"; then
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8870 $as_echo "$aros_target_objcopy_ln" >&6; }
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8873 $as_echo "no" >&6; }
8880 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8881 set dummy
$aros_target_objcopy; ac_word
=$2
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8883 $as_echo_n "checking for $ac_word... " >&6; }
8884 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8885 $as_echo_n "(cached) " >&6
8887 case $aros_target_objcopy_ln in
8889 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8896 test -z "$as_dir" && as_dir
=.
8897 for ac_exec_ext
in '' $ac_executable_extensions; do
8898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8899 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8910 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8911 if test -n "$aros_target_objcopy_ln"; then
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8913 $as_echo "$aros_target_objcopy_ln" >&6; }
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8916 $as_echo "no" >&6; }
8922 if test "$aros_target_objcopy_ln" = ""; then
8923 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
8926 if test "$aros_target_objdump" = ""; then
8927 if test "$cross_compiling" = "yes" ; then
8928 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8929 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8931 $as_echo_n "checking for $ac_word... " >&6; }
8932 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8933 $as_echo_n "(cached) " >&6
8935 case $aros_target_objdump_ln in
8937 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8944 test -z "$as_dir" && as_dir
=.
8945 for ac_exec_ext
in '' $ac_executable_extensions; do
8946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8947 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8958 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8959 if test -n "$aros_target_objdump_ln"; then
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8961 $as_echo "$aros_target_objdump_ln" >&6; }
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8964 $as_echo "no" >&6; }
8969 if test "$GCC" = "yes"; then
8970 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8971 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8972 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8974 $as_echo_n "checking for $ac_word... " >&6; }
8975 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8976 $as_echo_n "(cached) " >&6
8978 case $aros_target_objdump_ln in
8980 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8983 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8984 for as_dir
in `dirname $aros_gcc_objdump`
8987 test -z "$as_dir" && as_dir
=.
8988 for ac_exec_ext
in '' $ac_executable_extensions; do
8989 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8990 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8991 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9001 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9002 if test -n "$aros_target_objdump_ln"; then
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9004 $as_echo "$aros_target_objdump_ln" >&6; }
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9007 $as_echo "no" >&6; }
9012 if test "$aros_target_objdump_ln" = ""; then
9013 # Extract the first word of "objdump", so it can be a program name with args.
9014 set dummy objdump
; ac_word
=$2
9015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9016 $as_echo_n "checking for $ac_word... " >&6; }
9017 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9018 $as_echo_n "(cached) " >&6
9020 case $aros_target_objdump_ln in
9022 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9029 test -z "$as_dir" && as_dir
=.
9030 for ac_exec_ext
in '' $ac_executable_extensions; do
9031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9032 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9043 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9044 if test -n "$aros_target_objdump_ln"; then
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9046 $as_echo "$aros_target_objdump_ln" >&6; }
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9049 $as_echo "no" >&6; }
9056 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9057 set dummy
$aros_target_objdump; ac_word
=$2
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9059 $as_echo_n "checking for $ac_word... " >&6; }
9060 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9061 $as_echo_n "(cached) " >&6
9063 case $aros_target_objdump_ln in
9065 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9068 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9072 test -z "$as_dir" && as_dir
=.
9073 for ac_exec_ext
in '' $ac_executable_extensions; do
9074 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9075 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9086 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9087 if test -n "$aros_target_objdump_ln"; then
9088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9089 $as_echo "$aros_target_objdump_ln" >&6; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9092 $as_echo "no" >&6; }
9098 if test "$aros_target_objdump_ln" = ""; then
9099 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9102 if test "$aros_target_ranlib" = ""; then
9103 if test "$cross_compiling" = "yes" ; then
9104 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9105 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9107 $as_echo_n "checking for $ac_word... " >&6; }
9108 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9109 $as_echo_n "(cached) " >&6
9111 case $aros_target_ranlib_ln in
9113 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9116 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9120 test -z "$as_dir" && as_dir
=.
9121 for ac_exec_ext
in '' $ac_executable_extensions; do
9122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9123 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9134 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9135 if test -n "$aros_target_ranlib_ln"; then
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9137 $as_echo "$aros_target_ranlib_ln" >&6; }
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9140 $as_echo "no" >&6; }
9145 if test "$GCC" = "yes"; then
9146 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9147 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9148 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9150 $as_echo_n "checking for $ac_word... " >&6; }
9151 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9152 $as_echo_n "(cached) " >&6
9154 case $aros_target_ranlib_ln in
9156 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9159 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9160 for as_dir
in `dirname $aros_gcc_ranlib`
9163 test -z "$as_dir" && as_dir
=.
9164 for ac_exec_ext
in '' $ac_executable_extensions; do
9165 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9166 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9177 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9178 if test -n "$aros_target_ranlib_ln"; then
9179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9180 $as_echo "$aros_target_ranlib_ln" >&6; }
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9183 $as_echo "no" >&6; }
9188 if test "$aros_target_ranlib_ln" = ""; then
9189 # Extract the first word of "ranlib", so it can be a program name with args.
9190 set dummy ranlib
; ac_word
=$2
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9192 $as_echo_n "checking for $ac_word... " >&6; }
9193 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9194 $as_echo_n "(cached) " >&6
9196 case $aros_target_ranlib_ln in
9198 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9205 test -z "$as_dir" && as_dir
=.
9206 for ac_exec_ext
in '' $ac_executable_extensions; do
9207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9208 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9219 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9220 if test -n "$aros_target_ranlib_ln"; then
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9222 $as_echo "$aros_target_ranlib_ln" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9225 $as_echo "no" >&6; }
9232 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9233 set dummy
$aros_target_ranlib; ac_word
=$2
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9235 $as_echo_n "checking for $ac_word... " >&6; }
9236 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9237 $as_echo_n "(cached) " >&6
9239 case $aros_target_ranlib_ln in
9241 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9244 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9248 test -z "$as_dir" && as_dir
=.
9249 for ac_exec_ext
in '' $ac_executable_extensions; do
9250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9251 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9262 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9263 if test -n "$aros_target_ranlib_ln"; then
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9265 $as_echo "$aros_target_ranlib_ln" >&6; }
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9268 $as_echo "no" >&6; }
9274 if test "$aros_target_ranlib_ln" = ""; then
9275 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9278 if test "$aros_target_strip" = ""; then
9279 if test "$cross_compiling" = "yes" ; then
9280 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9281 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9283 $as_echo_n "checking for $ac_word... " >&6; }
9284 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9285 $as_echo_n "(cached) " >&6
9287 case $aros_target_strip_ln in
9289 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9292 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9296 test -z "$as_dir" && as_dir
=.
9297 for ac_exec_ext
in '' $ac_executable_extensions; do
9298 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9299 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9310 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9311 if test -n "$aros_target_strip_ln"; then
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9313 $as_echo "$aros_target_strip_ln" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 $as_echo "no" >&6; }
9321 if test "$GCC" = "yes"; then
9322 aros_gcc_strip
=`$CC -print-prog-name=strip`
9323 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9324 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9326 $as_echo_n "checking for $ac_word... " >&6; }
9327 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9328 $as_echo_n "(cached) " >&6
9330 case $aros_target_strip_ln in
9332 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9336 for as_dir
in `dirname $aros_gcc_strip`
9339 test -z "$as_dir" && as_dir
=.
9340 for ac_exec_ext
in '' $ac_executable_extensions; do
9341 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9342 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9353 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9354 if test -n "$aros_target_strip_ln"; then
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9356 $as_echo "$aros_target_strip_ln" >&6; }
9358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9359 $as_echo "no" >&6; }
9364 if test "$aros_target_strip_ln" = ""; then
9365 # Extract the first word of "strip", so it can be a program name with args.
9366 set dummy strip
; ac_word
=$2
9367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9368 $as_echo_n "checking for $ac_word... " >&6; }
9369 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9370 $as_echo_n "(cached) " >&6
9372 case $aros_target_strip_ln in
9374 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9381 test -z "$as_dir" && as_dir
=.
9382 for ac_exec_ext
in '' $ac_executable_extensions; do
9383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9384 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9395 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9396 if test -n "$aros_target_strip_ln"; then
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9398 $as_echo "$aros_target_strip_ln" >&6; }
9400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9401 $as_echo "no" >&6; }
9408 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9409 set dummy
$aros_target_strip; ac_word
=$2
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9411 $as_echo_n "checking for $ac_word... " >&6; }
9412 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9413 $as_echo_n "(cached) " >&6
9415 case $aros_target_strip_ln in
9417 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9424 test -z "$as_dir" && as_dir
=.
9425 for ac_exec_ext
in '' $ac_executable_extensions; do
9426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9427 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9438 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9439 if test -n "$aros_target_strip_ln"; then
9440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9441 $as_echo "$aros_target_strip_ln" >&6; }
9443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9444 $as_echo "no" >&6; }
9450 if test "$aros_target_strip_ln" = ""; then
9451 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9453 if test "$aros_target_cxx" != ""; then
9454 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9455 set dummy
$aros_target_cxx; ac_word
=$2
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9457 $as_echo_n "checking for $ac_word... " >&6; }
9458 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
9459 $as_echo_n "(cached) " >&6
9461 case $aros_target_cxx in
9463 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
9466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9470 test -z "$as_dir" && as_dir
=.
9471 for ac_exec_ext
in '' $ac_executable_extensions; do
9472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9473 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
9474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9484 aros_target_cxx
=$ac_cv_path_aros_target_cxx
9485 if test -n "$aros_target_cxx"; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
9487 $as_echo "$aros_target_cxx" >&6; }
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9490 $as_echo "no" >&6; }
9494 # Temporarily disabled in order to let Mingw32-hosted nightly build to work
9495 # AROS_REQUIRED(c++,$aros_target_cxx)
9498 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
9502 # Build crosstools if we have no C++ - temporary thing
9503 if test "$aros_target_cxx" = ""; then
9504 crosstools_target
=tools-crosstools
9507 if test "$rescomp" != ""; then
9508 if test "$cross_compiling" = "yes" ; then
9509 rescomp
=${target_tool_prefix}${rescomp}
9511 # Extract the first word of "$rescomp", so it can be a program name with args.
9512 set dummy
$rescomp; ac_word
=$2
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9514 $as_echo_n "checking for $ac_word... " >&6; }
9515 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
9516 $as_echo_n "(cached) " >&6
9518 case $aros_kernel_rescomp in
9520 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9527 test -z "$as_dir" && as_dir
=.
9528 for ac_exec_ext
in '' $ac_executable_extensions; do
9529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9530 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9541 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9542 if test -n "$aros_kernel_rescomp"; then
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
9544 $as_echo "$aros_kernel_rescomp" >&6; }
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9547 $as_echo "no" >&6; }
9551 if test "$aros_kernel_rescomp" = ""; then
9552 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
9556 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9557 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9558 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9559 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9560 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9561 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9562 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9564 # aros_cc_pre is a variable that is added to the front of the compiler name
9565 # in the generated aros-gcc shell script. We need this to enable the cache
9566 # to work across cleaned builds. Also, support DISTCC using the correct
9567 # environment variable.
9570 if test "x${DISTCC}" != "x" ; then
9571 if test "x${CCACHE}" != "x" ; then
9572 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9574 aros_cc_pre
="${DISTCC} "
9577 if test "x${CCACHE}" != "x" ; then
9578 aros_cc_pre
="${CCACHE} "
9582 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9584 aros_target_nostdinc_cflags
=-nostdinc
9586 aros_target_nostartup_ldflags
=-nostartfiles
9588 aros_target_nix_ldflags
=-nix
9590 aros_target_detach_ldflags
=-detach
9592 aros_target_nostdlib_ldflags
=-nostdlib
9596 if test "$aros_target_cc" = ""; then
9597 orig_target_cc
=$aros_kernel_cc
9599 orig_target_cc
=$aros_target_cc
9601 if test "$aros_target_ld" = ""; then
9602 orig_target_ld
=$aros_kernel_ld
9604 orig_target_ld
=$aros_target_ld
9606 if test "$GCC" = "yes"; then
9607 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9609 aros_target_cc
="${prefix}-gcc"
9610 aros_target_as
="${prefix}-as"
9611 aros_target_ld
="${prefix}-ld"
9612 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9613 aros_target_objcopy
=${prefix}-objcopy
9614 aros_target_objdump
=${prefix}-objdump
9615 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9616 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9617 aros_kernel_nm
="${prefix}-nm"
9618 aros_target_strip
=${prefix}-strip
9620 # Find the system include path. We can suggest that an alternative is
9621 # used if we don't get it correct. The default is to use /usr/include.
9622 # Which is set in the aros_target_incl_def variable.
9624 # Check whether --enable-includes was given.
9625 if test "${enable_includes+set}" = set; then :
9626 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9628 aros_target_incl
=$aros_target_incl_def
9632 if test "$aros_kernel_includes" = ""; then
9633 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9634 # FIXME: for cross-compiling this should point to another location
9635 aros_kernel_includes
="-isystem $aros_target_incl"
9639 if test "$aros_kernel_includes" != "" ; then
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
9641 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
9642 if test "$aros_kernel_cc_includes" = "" ; then
9643 # Try to guess where the directory is.
9644 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
9645 if test -d $aros_kernel_cc_includes; then
9646 # Check if there is also an include-fixed directory and add it
9647 # to kernel compiler's include path as it may contain some of
9648 # the headers we need.
9649 if test -d "$aros_kernel_cc_includes"-fixed; then
9650 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
9653 # The directory doesn't exist, we need to do some more work.
9654 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
9656 # These are the headers we're looking for.
9657 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9658 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9662 for h
in $headers; do
9663 # Which other headers are needed by each of the above?
9664 deps
=$
(echo "#include <$h>" | \
9665 $aros_kernel_cc -E -M - 2>/dev
/null | \
9666 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9668 # Copy all the needed headers to a directory beneath gendir.
9671 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
9672 sed -n "s,^.*/include\(/.*\),\1,p")
9673 ! test -d $dir && mkdir
-p $dir
9674 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
9680 $as_echo "$aros_kernel_cc_includes" >&6; }
9681 # Adding -nostdinc to kernel includes as they are always used together.
9682 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9686 $as_echo_n "checking for the target compiler's include path... " >&6; }
9687 if test "$aros_target_cc_includes" = "" ; then
9688 #try to guess where the directory is
9689 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9690 if ! test -d $aros_target_cc_includes; then
9691 #the directory doesn't exist, we need to do some more work
9692 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9694 #these are the headers we're looling for
9695 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9696 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9700 for h
in $headers; do
9701 #which other headers each of the above headers needs?
9702 deps
=$
(echo "#include <$h>" | \
9703 $orig_target_cc -E -M - 2>/dev
/null | \
9704 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9706 #copy all the needed headers to a directory beneath gendir
9709 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9710 sed -n "s,^.*/include\(/.*\),\1,p")
9711 ! test -d $dir && mkdir
-p $dir
9712 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9718 $as_echo "$aros_target_cc_includes" >&6; }
9721 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9722 # On GCC >= 4.0 -iquote should be used
9726 save_cflags
="$CFLAGS"
9728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9729 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9741 if ac_fn_c_try_compile
"$LINENO"; then :
9746 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9748 $as_echo "$has_iquote" >&6; }
9749 if test "x-$has_iquote" = "x-yes" ; then
9750 host_cflags_iquote
=-iquote
9751 host_cflags_iquote_end
=
9753 host_cflags_iquote
=-I
9754 host_cflags_iquote_end
=-I-
9756 kernel_cflags_iquote
=$host_cflags_iquote
9757 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9758 if test "x-$cross_compiling" = "x-yes"; then
9759 CC
="$aros_kernel_cc"
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9761 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9763 /* end confdefs.h. */
9773 if ac_fn_c_try_compile
"$LINENO"; then :
9774 use_no_stack_protector
="yes"
9776 use_no_stack_protector
="no"
9778 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9780 $as_echo "$use_no_stack_protector" >&6; }
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9782 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9784 /* end confdefs.h. */
9794 if ac_fn_c_try_compile
"$LINENO"; then :
9799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9801 $as_echo "$has_iquote" >&6; }
9802 if test "x-$has_iquote" = "x-yes" ; then
9803 kernel_cflags_iquote
=-iquote
9804 kernel_cflags_iquote_end
=
9806 kernel_cflags_iquote
=-I
9807 kernel_cflags_iquote_end
=-I-
9810 aros_cflags_iquote
=$kernel_cflags_iquote
9811 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9812 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9813 CC
="$orig_target_cc"
9814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9815 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9817 /* end confdefs.h. */
9827 if ac_fn_c_try_compile
"$LINENO"; then :
9832 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9834 $as_echo "$has_iquote" >&6; }
9835 if test "x-$has_iquote" = "x-yes" ; then
9836 aros_cflags_iquote
=-iquote
9837 aros_cflags_iquote_end
=
9839 aros_cflags_iquote
=-I
9840 aros_cflags_iquote_end
=-I-
9843 if test "x-$use_no_stack_protector" = "x-yes" ; then
9844 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9847 #-----------------------------------------------------------------------------
9849 # Check if we can explicitly choose older version of symbol hashing
9851 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9852 CC
="$aros_kernel_cc"
9853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9854 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9866 if ac_fn_c_try_link
"$LINENO"; then :
9867 use_hash_style
="yes"
9871 rm -f core conftest.err conftest.
$ac_objext \
9872 conftest
$ac_exeext conftest.
$ac_ext
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9874 $as_echo "$use_hash_style" >&6; }
9875 if test "x-$use_hash_style" = "x-yes" ; then
9876 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9879 CFLAGS
="$save_cflags"
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9890 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9892 # Check whether --with-resolution was given.
9893 if test "${with_resolution+set}" = set; then :
9894 withval
=$with_resolution; resolution
=$withval
9899 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9900 if test "$resolution" = "yes" ; then
9903 if test "$resolution" = "no" ; then
9906 if test "$resolution" != "none" ; then
9907 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9908 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9909 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9912 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9913 aros_cv_default_wbwidth
=$aros_default_wbwidth
9914 aros_cv_default_wbheight
=$aros_default_wbheight
9915 aros_cv_default_wbdepth
=$aros_default_wbdepth
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
9918 $as_echo_n "checking if serial debug is enabled... " >&6; }
9920 # Check whether --with-serial-debug was given.
9921 if test "${with_serial_debug+set}" = set; then :
9922 withval
=$with_serial_debug; serial_debug
=$withval
9927 if test "$aros_serial_debug" = 0 ; then
9928 serial_debug_forced
=""
9929 if test "$serial_debug" = "yes" ; then
9932 if test "$serial_debug" = "no" ; then
9936 serial_debug_forced
="(forced)"
9937 serial_debug
=$aros_serial_debug
9939 if test "$serial_debug" != "none" ; then
9940 aros_serial_debug
=$serial_debug
9941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
9942 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9945 $as_echo "no" >&6; }
9948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
9949 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
9950 # Check whether --enable-palm_debug_hack was given.
9951 if test "${enable_palm_debug_hack+set}" = set; then :
9952 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
9954 palm_debug_hack
="no"
9957 if test "$palm_debug_hack" = "yes" ; then
9958 aros_palm_debug_hack
="1"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
9961 $as_echo "$palm_debug_hack" >&6; }
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
9965 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
9966 # Check whether --enable-nesting_supervisor was given.
9967 if test "${enable_nesting_supervisor+set}" = set; then :
9968 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
9970 nesting_supervisor
="no"
9973 if test "$nesting_supervisor" = "yes" ; then
9974 aros_nesting_supervisor
="1"
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
9977 $as_echo "$nesting_supervisor" >&6; }
9979 if test "$aros_enable_mmu" = "" ; then
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
9981 $as_echo_n "checking if MMU support is enabled... " >&6; }
9982 # Check whether --enable-mmu was given.
9983 if test "${enable_mmu+set}" = set; then :
9984 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
9986 aros_enable_mmu
="yes"
9989 if test "$aros_enable_mmu" = "" ; then
9990 aros_enable_mmu
="yes"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
9993 $as_echo "$aros_enable_mmu" >&6; }
9995 if test "$aros_enable_mmu" = "no" ; then
10002 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10004 if test "x-$need_dlopen" != "x-no" ; then
10005 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10006 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10012 if test "x-$have_dl" = "x-no" ; then
10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10014 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10015 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10016 $as_echo_n "(cached) " >&6
10018 ac_check_lib_save_LIBS
=$LIBS
10020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10023 /* Override any GCC internal prototype to avoid an error.
10024 Use char because int might match the return type of a GCC
10025 builtin and then its argument prototype would still apply. */
10038 if ac_fn_c_try_link
"$LINENO"; then :
10039 ac_cv_lib_dl_dlopen
=yes
10041 ac_cv_lib_dl_dlopen
=no
10043 rm -f core conftest.err conftest.
$ac_objext \
10044 conftest
$ac_exeext conftest.
$ac_ext
10045 LIBS
=$ac_check_lib_save_LIBS
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10048 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10049 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10051 aros_host_ldflags
="$aros_host_ldflags -ldl"
10057 if test "x-$have_dl" = "x-no" ; then
10058 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
10063 # Check whether --enable-x11_hidd was given.
10064 if test "${enable_x11_hidd+set}" = set; then :
10065 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10067 x11_hidd
="$need_x11"
10070 case "x-$x11_hidd" in
10071 x-yes|x-no|x-auto
) ;;
10072 *) x11_hidd
="$need_x11" ;;
10077 if test "x-$x11_hidd" != "x-no" ; then
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10080 $as_echo_n "checking for X... " >&6; }
10083 # Check whether --with-x was given.
10084 if test "${with_x+set}" = set; then :
10088 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10089 if test "x$with_x" = xno
; then
10090 # The user explicitly disabled X.
10093 case $x_includes,$x_libraries in #(
10094 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
10095 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
10096 $as_echo_n "(cached) " >&6
10098 # One or both of the vars are not set, and there is no cached value.
10099 ac_x_includes
=no ac_x_libraries
=no
10100 rm -f -r conftest.dir
10101 if mkdir conftest.dir
; then
10103 cat >Imakefile
<<'_ACEOF'
10105 @echo incroot='${INCROOT}'
10107 @echo usrlibdir='${USRLIBDIR}'
10109 @echo libdir='${LIBDIR}'
10111 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10112 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10113 for ac_var
in incroot usrlibdir libdir
; do
10114 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10116 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10117 for ac_extension
in a so sl dylib la dll
; do
10118 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10119 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10120 ac_im_usrlibdir
=$ac_im_libdir; break
10123 # Screen out bogus values from the imake configuration. They are
10124 # bogus both because they are the default anyway, and because
10125 # using them would break gcc on systems where it needs fixed includes.
10126 case $ac_im_incroot in
10127 /usr
/include
) ac_x_includes
= ;;
10128 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10130 case $ac_im_usrlibdir in
10131 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10132 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10136 rm -f -r conftest.dir
10139 # Standard set of common directories for X headers.
10140 # Check X11 before X11Rn because it is often a symlink to the current release.
10154 /usr/local/X11/include
10155 /usr/local/X11R7/include
10156 /usr/local/X11R6/include
10157 /usr/local/X11R5/include
10158 /usr/local/X11R4/include
10160 /usr/local/include/X11
10161 /usr/local/include/X11R7
10162 /usr/local/include/X11R6
10163 /usr/local/include/X11R5
10164 /usr/local/include/X11R4
10168 /usr/XFree86/include/X11
10172 /usr/unsupported/include
10173 /usr/athena/include
10174 /usr/local/x11r5/include
10175 /usr/lpp/Xamples/include
10177 /usr/openwin/include
10178 /usr/openwin/share/include'
10180 if test "$ac_x_includes" = no
; then
10181 # Guess where to find include files, by looking for Xlib.h.
10182 # First, try using that file with no special directory specified.
10183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 #include <X11/Xlib.h>
10187 if ac_fn_c_try_cpp
"$LINENO"; then :
10188 # We can compile using X headers with no special include directory.
10191 for ac_dir
in $ac_x_header_dirs; do
10192 if test -r "$ac_dir/X11/Xlib.h"; then
10193 ac_x_includes
=$ac_dir
10198 rm -f conftest.err conftest.
$ac_ext
10199 fi # $ac_x_includes = no
10201 if test "$ac_x_libraries" = no
; then
10202 # Check for the libraries.
10203 # See if we find them without any special options.
10204 # Don't add to $LIBS permanently.
10207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10208 /* end confdefs.h. */
10209 #include <X11/Xlib.h>
10218 if ac_fn_c_try_link
"$LINENO"; then :
10220 # We can link X programs with no special library path.
10224 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10226 # Don't even attempt the hair of trying to link an X program!
10227 for ac_extension
in a so sl dylib la dll
; do
10228 if test -r "$ac_dir/libX11.$ac_extension"; then
10229 ac_x_libraries
=$ac_dir
10235 rm -f core conftest.err conftest.
$ac_objext \
10236 conftest
$ac_exeext conftest.
$ac_ext
10237 fi # $ac_x_libraries = no
10239 case $ac_x_includes,$ac_x_libraries in #(
10240 no
,* |
*,no |
*\'*)
10241 # Didn't find X, or a directory has "'" in its name.
10242 ac_cv_have_x
="have_x=no";; #(
10244 # Record where we found X for the cache.
10245 ac_cv_have_x
="have_x=yes\
10246 ac_x_includes='$ac_x_includes'\
10247 ac_x_libraries='$ac_x_libraries'"
10253 eval "$ac_cv_have_x"
10256 if test "$have_x" != yes; then
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10258 $as_echo "$have_x" >&6; }
10261 # If each of the values was on the command line, it overrides each guess.
10262 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10263 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10264 # Update the cache value to reflect the command line values.
10265 ac_cv_have_x
="have_x=yes\
10266 ac_x_includes='$x_includes'\
10267 ac_x_libraries='$x_libraries'"
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10269 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10274 for path
in $x_libraries
10276 x_cflags
="$x_cflags -L$path"
10279 for path
in $x_includes
10281 x_cflags
="$x_cflags -I$path"
10284 if test "x-$no_x" = "x-yes" ; then
10286 if test "x-$x11_hidd" != "x-auto" ; then
10287 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10291 x11_hidd_target
=kernel-x11gfx-kobj
10294 # Check whether --enable-x11_shm was given.
10295 if test "${enable_x11_shm+set}" = set; then :
10296 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10298 x11_hidd_shm
="auto"
10301 case "x-$x11_hidd_shm" in
10302 x-yes|x-no|x-auto
) ;;
10303 *) x11_hidd_shm
="auto" ;;
10308 if test "x-$x11_hidd_shm" != "x-no" ; then
10310 for ac_header
in sys
/ipc.h
10312 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10313 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
10314 cat >>confdefs.h
<<_ACEOF
10315 #define HAVE_SYS_IPC_H 1
10322 for ac_header
in sys
/shm.h
10324 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10325 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
10326 cat >>confdefs.h
<<_ACEOF
10327 #define HAVE_SYS_SHM_H 1
10335 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10337 save_cflags
="$CFLAGS"
10338 CFLAGS
="$CFLAGS $x_cflags"
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10340 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10341 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
10342 $as_echo_n "(cached) " >&6
10344 ac_check_lib_save_LIBS
=$LIBS
10345 LIBS
="-lXext $LIBS"
10346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10349 /* Override any GCC internal prototype to avoid an error.
10350 Use char because int might match the return type of a GCC
10351 builtin and then its argument prototype would still apply. */
10355 char XShmQueryExtension ();
10359 return XShmQueryExtension ();
10364 if ac_fn_c_try_link
"$LINENO"; then :
10365 ac_cv_lib_Xext_XShmQueryExtension
=yes
10367 ac_cv_lib_Xext_XShmQueryExtension
=no
10369 rm -f core conftest.err conftest.
$ac_objext \
10370 conftest
$ac_exeext conftest.
$ac_ext
10371 LIBS
=$ac_check_lib_save_LIBS
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10374 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10375 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
10379 CFLAGS
="$save_cflags"
10383 if test "x-$have_xshm" = "x-yes" ; then
10384 DO_XSHM_SUPPORT
="1"
10385 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10386 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10388 DO_XSHM_SUPPORT
="0"
10392 # Check whether --enable-x11_vidmode was given.
10393 if test "${enable_x11_vidmode+set}" = set; then :
10394 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10396 x11_hidd_vidmode
="auto"
10399 case "x-$x11_hidd_vidmode" in
10400 x-yes|x-no|x-auto
) ;;
10401 *) x11_hidd_vidmode
="auto" ;;
10406 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10408 save_cflags
="$CFLAGS"
10409 CFLAGS
="$CFLAGS $x_cflags"
10410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10411 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
10412 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
10413 $as_echo_n "(cached) " >&6
10415 ac_check_lib_save_LIBS
=$LIBS
10416 LIBS
="-lXxf86vm $LIBS"
10417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10418 /* end confdefs.h. */
10420 /* Override any GCC internal prototype to avoid an error.
10421 Use char because int might match the return type of a GCC
10422 builtin and then its argument prototype would still apply. */
10426 char XF86VidModeQueryExtension ();
10430 return XF86VidModeQueryExtension ();
10435 if ac_fn_c_try_link
"$LINENO"; then :
10436 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10438 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10440 rm -f core conftest.err conftest.
$ac_objext \
10441 conftest
$ac_exeext conftest.
$ac_ext
10442 LIBS
=$ac_check_lib_save_LIBS
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10445 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10446 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
10450 CFLAGS
="$save_cflags"
10453 if test "x-$have_vidmode" = "x-yes" ; then
10454 DO_VIDMODE_SUPPORT
="1"
10455 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10456 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
10458 DO_VIDMODE_SUPPORT
="0"
10462 aros_host_x11_includes
=$x_includes
10463 aros_host_x11_libdirs
=$x_libraries
10467 # Check whether --enable-sdl_hidd was given.
10468 if test "${enable_sdl_hidd+set}" = set; then :
10469 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10474 case "x-$sdl_hidd" in
10475 x-yes|x-no|x-auto
) ;;
10476 *) sdl_hidd
="auto" ;;
10479 if test "x-$sdl_hidd" != "x-no" ; then
10482 # Check whether --with-sdl-prefix was given.
10483 if test "${with_sdl_prefix+set}" = set; then :
10484 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10490 # Check whether --with-sdl-exec-prefix was given.
10491 if test "${with_sdl_exec_prefix+set}" = set; then :
10492 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10497 # Check whether --enable-sdltest was given.
10498 if test "${enable_sdltest+set}" = set; then :
10499 enableval
=$enable_sdltest;
10505 if test x
$sdl_exec_prefix != x
; then
10506 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10507 if test x
${SDL_CONFIG+set} != xset
; then
10508 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10511 if test x
$sdl_prefix != x
; then
10512 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10513 if test x
${SDL_CONFIG+set} != xset
; then
10514 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10518 if test "x$prefix" != xNONE
; then
10519 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10521 # Extract the first word of "sdl-config", so it can be a program name with args.
10522 set dummy sdl-config
; ac_word
=$2
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10524 $as_echo_n "checking for $ac_word... " >&6; }
10525 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
10526 $as_echo_n "(cached) " >&6
10528 case $SDL_CONFIG in
10530 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10534 for as_dir
in $PATH
10537 test -z "$as_dir" && as_dir
=.
10538 for ac_exec_ext
in '' $ac_executable_extensions; do
10539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10540 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10548 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10552 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10553 if test -n "$SDL_CONFIG"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
10555 $as_echo "$SDL_CONFIG" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10558 $as_echo "no" >&6; }
10562 min_sdl_version
=1.2.10
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10564 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10566 if test "$SDL_CONFIG" = "no" ; then
10569 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10570 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10572 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10573 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10574 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10575 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10576 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10577 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10578 if test "x$enable_sdltest" = "xyes" ; then
10579 ac_save_CFLAGS
="$CFLAGS"
10580 ac_save_CXXFLAGS
="$CXXFLAGS"
10581 ac_save_LIBS
="$LIBS"
10582 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10583 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10584 LIBS
="$LIBS $SDL_LIBS"
10586 if test "$cross_compiling" = yes; then :
10587 echo $ac_n "cross compiling; assumed OK... $ac_c"
10589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10593 #include <stdlib.h>
10594 #include <string.h>
10598 my_strdup (char *str)
10604 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10605 strcpy (new_str, str);
10613 int main (int argc, char *argv[])
10615 int major, minor, micro;
10618 /* This hangs on some systems (?)
10619 system ("touch conf.sdltest");
10621 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10623 /* HP/UX 9 (%@#!) writes to sscanf strings */
10624 tmp_version = my_strdup("$min_sdl_version");
10625 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10626 printf("%s, bad version string\n", "$min_sdl_version");
10630 if (($sdl_major_version > major) ||
10631 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10632 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10638 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10639 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10640 printf("*** best to upgrade to the required version.\n");
10641 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10642 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10643 printf("*** config.cache before re-running configure\n");
10650 if ac_fn_c_try_run
"$LINENO"; then :
10655 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10656 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10659 CFLAGS
="$ac_save_CFLAGS"
10660 CXXFLAGS
="$ac_save_CXXFLAGS"
10661 LIBS
="$ac_save_LIBS"
10664 if test "x$no_sdl" = x
; then
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10666 $as_echo "yes" >&6; }
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10670 $as_echo "no" >&6; }
10671 if test "$SDL_CONFIG" = "no" ; then
10672 echo "*** The sdl-config script installed by SDL could not be found"
10673 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10674 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10675 echo "*** full path to sdl-config."
10677 if test -f conf.sdltest
; then
10680 echo "*** Could not run SDL test program, checking why..."
10681 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10682 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10683 LIBS
="$LIBS $SDL_LIBS"
10684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10685 /* end confdefs.h. */
10690 int main(int argc, char *argv[])
10693 #define main K_and_R_C_main
10703 if ac_fn_c_try_link
"$LINENO"; then :
10704 echo "*** The test program compiled, but did not run. This usually means"
10705 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10706 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10707 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10708 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10709 echo "*** is required on your system"
10711 echo "*** If you have an old version installed, it is best to remove it, although"
10712 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10714 echo "*** The test program failed to compile or link. See the file config.log for the"
10715 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10716 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10717 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10719 rm -f core conftest.err conftest.
$ac_objext \
10720 conftest
$ac_exeext conftest.
$ac_ext
10721 CFLAGS
="$ac_save_CFLAGS"
10722 CXXFLAGS
="$ac_save_CXXFLAGS"
10723 LIBS
="$ac_save_LIBS"
10735 if test "x-$have_sdl" != "x-yes" ; then
10737 if test "x-$sdl_hidd" != "x-auto" ; then
10738 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10742 sdl_hidd_target
=kernel-hidd-sdl
10743 aros_host_sdl_cflags
=SDL_CFLAGS
10744 aros_host_sdl_libs
=SDL_LIBS
10748 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10749 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
10754 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
10755 oss_library_target
=workbench-libs-oss-unix
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10761 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10762 # Check whether --enable-dbus was given.
10763 if test "${enable_dbus+set}" = set; then :
10764 enableval
=$enable_dbus; dbus
="yes"
10769 if test "$dbus" = "yes" ; then
10771 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10772 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10773 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10774 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10779 $as_echo "$dbus" >&6; }
10888 # Native version related
10891 # Palm native version related
10894 # Unix/Hosted version related
10900 # Apple iOS related
10925 # Collect-aros stuff: "-ius" to ignore undefined symbols
10928 # C compiler related
10931 case "$aros_flavour" in
10932 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10933 aros_flavour
="emulation" ;;
10934 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10935 aros_flavour
="emulation" ;;
10936 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10937 aros_flavour
="standalone";;
10938 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10939 aros_flavour
="standalone";;
10940 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10941 aros_flavour
="native" ;;
10942 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10943 aros_flavour
="native" ;;
10944 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10945 aros_flavour
="linklib" ;;
10946 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10947 aros_flavour
="palmnative" ;;
10948 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10949 aros_flavour
="mac68knative" ;;
10950 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10951 aros_flavour
="ppcnative" ;;
10954 if test ! -d ${aros_inc_dir} ; then
10955 ${MKDIR} ${aros_inc_dir}
10957 if test ! -d ${aros_geninc_dir} ; then
10958 ${MKDIR} ${aros_geninc_dir}
10960 if test ! -d ${aros_hostcfg_dir} ; then
10961 ${MKDIR} ${aros_hostcfg_dir}
10963 if test ! -d ${aros_targetcfg_dir} ; then
10964 ${MKDIR} ${aros_targetcfg_dir}
10966 if test ! -d ${aros_tools_dir} ; then
10967 ${MKDIR} ${aros_tools_dir}
10969 if test ! -d ${aros_scripts_dir} ; then
10970 ${MKDIR} ${aros_scripts_dir}
10973 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10976 ac_config_commands
="$ac_config_commands compiler_executable"
10978 ac_config_commands
="$ac_config_commands genshared_executable"
10980 ac_config_commands
="$ac_config_commands genmf_executable"
10983 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"
10986 cat >confcache
<<\_ACEOF
10987 # This file is a shell script that caches the results of configure
10988 # tests run on this system so they can be shared between configure
10989 # scripts and configure runs, see configure's option --config-cache.
10990 # It is not useful on other systems. If it contains results you don't
10991 # want to keep, you may remove or edit it.
10993 # config.status only pays attention to the cache file if you give it
10994 # the --recheck option to rerun configure.
10996 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10997 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10998 # following values.
11002 # The following way of writing the cache mishandles newlines in values,
11003 # but we know of no workaround that is simple, portable, and efficient.
11004 # So, we kill variables containing newlines.
11005 # Ultrix sh set writes to stderr and can't be redirected directly,
11006 # and sets the high bit in the cache file unless we assign to the vars.
11008 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11009 eval ac_val
=\$
$ac_var
11013 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11014 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11017 _ | IFS | as_nl
) ;; #(
11018 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11019 *) { eval $ac_var=; unset $ac_var;} ;;
11025 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11026 *${as_nl}ac_space
=\
*)
11027 # `set' does not quote correctly, so add quotes: double-quote
11028 # substitution turns \\\\ into \\, and sed turns \\ into \.
11031 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11034 # `set' quotes correctly as required by POSIX, so do not add quotes.
11035 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11044 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11046 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11048 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11049 if test -w "$cache_file"; then
11050 test "x$cache_file" != "x/dev/null" &&
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11052 $as_echo "$as_me: updating cache $cache_file" >&6;}
11053 cat confcache
>$cache_file
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11056 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11061 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11062 # Let make expand exec_prefix.
11063 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11065 DEFS
=-DHAVE_CONFIG_H
11069 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11070 # 1. Remove the extension, and $U if already installed.
11071 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11072 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11073 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11074 # will be set to the directory where LIBOBJS objects are built.
11075 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11076 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11078 LIBOBJS
=$ac_libobjs
11080 LTLIBOBJS
=$ac_ltlibobjs
11084 : ${CONFIG_STATUS=./config.status}
11086 ac_clean_files_save
=$ac_clean_files
11087 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11089 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11091 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11093 # Generated by $as_me.
11094 # Run this file to recreate the current configuration.
11095 # Compiler output produced by configure, useful for debugging
11096 # configure, is in config.log if it exists.
11099 ac_cs_recheck=false
11102 SHELL=\${CONFIG_SHELL-$SHELL}
11105 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11106 ## -------------------- ##
11107 ## M4sh Initialization. ##
11108 ## -------------------- ##
11110 # Be more Bourne compatible
11111 DUALCASE
=1; export DUALCASE
# for MKS sh
11112 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11115 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11116 # is contrary to our usage. Disable this feature.
11117 alias -g '${1+"$@"}'='"$@"'
11118 setopt NO_GLOB_SUBST
11120 case `(set -o) 2>/dev/null` in #(
11132 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11133 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11134 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11135 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11136 # Prefer a ksh shell builtin over an external printf program on Solaris,
11137 # but without wasting forks for bash or zsh.
11138 if test -z "$BASH_VERSION$ZSH_VERSION" \
11139 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11140 as_echo='print
-r --'
11141 as_echo_n='print
-rn --'
11142 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11143 as_echo='printf %s
\n'
11144 as_echo_n='printf %s
'
11146 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11147 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11148 as_echo_n='/usr
/ucb
/echo -n'
11150 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11151 as_echo_n_body='eval
11155 expr "X$arg" : "X\\(.*\\)$as_nl";
11156 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11158 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11160 export as_echo_n_body
11161 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11163 export as_echo_body
11164 as_echo='sh
-c $as_echo_body as_echo
'
11167 # The user is always right.
11168 if test "${PATH_SEPARATOR+set}" != set; then
11170 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11171 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11178 # We need space, tab and new line, in precisely that order. Quoting is
11179 # there to prevent editors from complaining about space-tab.
11180 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11181 # splitting by setting IFS to empty value.)
11184 # Find who we are. Look in the path if we contain no directory separator.
11186 *[\\/]* ) as_myself=$0 ;;
11187 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11188 for as_dir in $PATH
11191 test -z "$as_dir" && as_dir=.
11192 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11198 # We did not find ourselves, most probably we were run as `sh COMMAND'
11199 # in which case we are not to be found in the path.
11200 if test "x$as_myself" = x
; then
11203 if test ! -f "$as_myself"; then
11204 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11208 # Unset variables that we do not need and which cause bugs (e.g. in
11209 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11210 # suppresses any "Segmentation fault" message there. '((' could
11211 # trigger a bug in pdksh 5.2.14.
11212 for as_var
in BASH_ENV ENV MAIL MAILPATH
11213 do eval test x\
${$as_var+set} = xset \
11214 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11227 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11230 # as_fn_error ERROR [LINENO LOG_FD]
11231 # ---------------------------------
11232 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11233 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11234 # script with status $?, using 1 if that was 0.
11237 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11239 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11240 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11242 $as_echo "$as_me: error: $1" >&2
11243 as_fn_exit
$as_status
11247 # as_fn_set_status STATUS
11248 # -----------------------
11249 # Set $? to STATUS, without forking.
11250 as_fn_set_status
()
11253 } # as_fn_set_status
11255 # as_fn_exit STATUS
11256 # -----------------
11257 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11261 as_fn_set_status
$1
11267 # Portably unset VAR.
11270 { eval $1=; unset $1;}
11272 as_unset
=as_fn_unset
11273 # as_fn_append VAR VALUE
11274 # ----------------------
11275 # Append the text in VALUE to the end of the definition contained in VAR. Take
11276 # advantage of any shell optimizations that allow amortized linear growth over
11277 # repeated appends, instead of the typical quadratic growth present in naive
11279 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11280 eval 'as_fn_append ()
11291 # as_fn_arith ARG...
11292 # ------------------
11293 # Perform arithmetic evaluation on the ARGs, and store the result in the
11294 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11295 # must be portable across $(()) and expr.
11296 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11297 eval 'as_fn_arith ()
11304 as_val
=`expr "$@" || test $? -eq 1`
11309 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11310 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11316 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11317 as_basename
=basename
11322 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11328 as_me
=`$as_basename -- "$0" ||
11329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11330 X"$0" : 'X\(//\)$' \| \
11331 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11333 sed '/^.*\/\([^/][^/]*\)\/*$/{
11347 # Avoid depending upon Character Ranges.
11348 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11349 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11350 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11351 as_cr_digits
='0123456789'
11352 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11354 ECHO_C
= ECHO_N
= ECHO_T
=
11355 case `echo -n x` in #(((((
11357 case `echo 'xy\c'` in
11358 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11360 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11367 rm -f conf$$ conf$$.exe conf$$.
file
11368 if test -d conf$$.dir
; then
11369 rm -f conf$$.dir
/conf$$.
file
11372 mkdir conf$$.dir
2>/dev
/null
11374 if (echo >conf$$.
file) 2>/dev
/null
; then
11375 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11377 # ... but there are two gotchas:
11378 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11379 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11380 # In both cases, we have to default to `cp -p'.
11381 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11383 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11391 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11392 rmdir conf$$.dir
2>/dev
/null
11397 # Create "$as_dir" as a directory, including parents if necessary.
11402 -*) as_dir
=.
/$as_dir;;
11404 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11408 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11409 *) as_qdir
=$as_dir;;
11411 as_dirs
="'$as_qdir' $as_dirs"
11412 as_dir
=`$as_dirname -- "$as_dir" ||
11413 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11414 X"$as_dir" : 'X\(//\)[^/]' \| \
11415 X"$as_dir" : 'X\(//\)$' \| \
11416 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11417 $as_echo X"$as_dir" |
11418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11422 /^X\(\/\/\)[^/].*/{
11435 test -d "$as_dir" && break
11437 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11438 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11442 if mkdir
-p .
2>/dev
/null
; then
11443 as_mkdir_p
='mkdir -p "$as_dir"'
11445 test -d .
/-p && rmdir .
/-p
11449 if test -x / >/dev
/null
2>&1; then
11450 as_test_x
='test -x'
11452 if ls -dL / >/dev
/null
2>&1; then
11459 if test -d "$1"; then
11465 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11466 ???[sx]*):;;*)false;;esac;fi
11470 as_executable_p
=$as_test_x
11472 # Sed expression to map a string onto a valid CPP name.
11473 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11475 # Sed expression to map a string onto a valid variable name.
11476 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11480 ## ----------------------------------- ##
11481 ## Main body of $CONFIG_STATUS script. ##
11482 ## ----------------------------------- ##
11484 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11487 # Save the log message, to keep $0 and so on meaningful, and to
11488 # report actual input values of CONFIG_FILES etc. instead of their
11489 # values after options handling.
11491 This file was extended by $as_me, which was
11492 generated by GNU Autoconf 2.64. Invocation command line was
11494 CONFIG_FILES = $CONFIG_FILES
11495 CONFIG_HEADERS = $CONFIG_HEADERS
11496 CONFIG_LINKS = $CONFIG_LINKS
11497 CONFIG_COMMANDS = $CONFIG_COMMANDS
11500 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11505 case $ac_config_files in *"
11506 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11509 case $ac_config_headers in *"
11510 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11515 # Files that config.status was made for.
11516 config_files="$ac_config_files"
11517 config_headers="$ac_config_headers"
11518 config_commands="$ac_config_commands"
11522 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11524 \`$as_me' instantiates files and other configuration actions
11525 from templates according to the current configuration. Unless the files
11526 and actions are specified as TAGs, all are instantiated by default.
11528 Usage: $0 [OPTION]... [TAG]...
11530 -h, --help print this help, then exit
11531 -V, --version print version number and configuration settings, then exit
11532 -q, --quiet, --silent
11533 do not print progress messages
11534 -d, --debug don't remove temporary files
11535 --recheck update $as_me by reconfiguring in the same conditions
11536 --file=FILE[:TEMPLATE]
11537 instantiate the configuration file FILE
11538 --header=FILE[:TEMPLATE]
11539 instantiate the configuration header FILE
11541 Configuration files:
11544 Configuration headers:
11547 Configuration commands:
11550 Report bugs to the package provider."
11553 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11556 configured by $0, generated by GNU Autoconf 2.64,
11557 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
11559 Copyright (C) 2009 Free Software Foundation, Inc.
11560 This config.status script is free software; the Free Software Foundation
11561 gives unlimited permission to copy, distribute and modify it."
11565 test -n "\$AWK" || AWK=awk
11568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11569 # The default lists apply if the user does not specify any file.
11575 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11576 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11587 # Handling of the options.
11588 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11590 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11591 $as_echo "$ac_cs_version"; exit ;;
11592 --debug |
--debu |
--deb |
--de |
--d |
-d )
11594 --file |
--fil |
--fi |
--f )
11597 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11599 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11600 ac_need_defaults
=false
;;
11601 --header |
--heade |
--head |
--hea )
11604 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11606 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11607 ac_need_defaults
=false
;;
11609 # Conflict between --help and --header
11610 as_fn_error
"ambiguous option: \`$1'
11611 Try \`$0 --help' for more information.";;
11612 --help |
--hel |
-h )
11613 $as_echo "$ac_cs_usage"; exit ;;
11614 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11615 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11618 # This is an error.
11619 -*) as_fn_error
"unrecognized option: \`$1'
11620 Try \`$0 --help' for more information." ;;
11622 *) as_fn_append ac_config_targets
" $1"
11623 ac_need_defaults
=false
;;
11629 ac_configure_extra_args
=
11631 if $ac_cs_silent; then
11633 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11638 if \$ac_cs_recheck; then
11639 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11641 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11642 CONFIG_SHELL='$SHELL'
11643 export CONFIG_SHELL
11648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11652 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11653 ## Running $as_me. ##
11659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11664 aros_host_exe_suffix=${aros_host_exe_suffix}
11665 aros_tools_dir=${aros_tools_dir}
11666 aros_target_cpu=${aros_target_cpu}
11667 aros_target_arch=${aros_target_arch}
11668 aros_target_suffix=${aros_target_suffix}
11669 aros_target_nm_ln=${aros_target_nm_ln}
11670 aros_target_as_ln=${aros_target_as_ln}
11671 aros_target_ar_ln=${aros_target_ar_ln}
11672 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11673 aros_target_objdump_ln=${aros_target_objdump_ln}
11674 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11675 aros_target_strip_ln=${aros_target_strip_ln}
11678 aros_scripts_dir=${aros_scripts_dir}
11680 aros_tools_dir=${aros_tools_dir}
11685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11687 # Handling of arguments.
11688 for ac_config_target
in $ac_config_targets
11690 case $ac_config_target in
11691 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11692 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11693 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11694 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11695 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11696 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11697 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11698 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11699 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11700 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11701 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11702 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11703 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11704 "${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" ;;
11705 "${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" ;;
11706 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/library_template_c/source/lib_source/genshared.in" ;;
11707 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11708 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11709 "${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" ;;
11711 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11716 # If the user did not use the arguments to specify the items to instantiate,
11717 # then the envvar interface is used. Set only those that are not.
11718 # We use the long form for the default assignment because of an extremely
11719 # bizarre bug on SunOS 4.1.3.
11720 if $ac_need_defaults; then
11721 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11722 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11723 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11726 # Have a temporary directory for convenience. Make it in the build tree
11727 # simply because there is no reason against having it here, and in addition,
11728 # creating and moving files from /tmp can sometimes cause problems.
11729 # Hook for its removal unless debugging.
11730 # Note that there is a small window in which the directory will not be cleaned:
11731 # after its creation but before its name has been assigned to `$tmp'.
11735 trap 'exit_status=$?
11736 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11738 trap 'as_fn_exit 1' 1 2 13 15
11740 # Create a (secure) tmp directory for tmp files.
11743 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11744 test -n "$tmp" && test -d "$tmp"
11747 tmp
=.
/conf$$
-$RANDOM
11748 (umask 077 && mkdir
"$tmp")
11749 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11751 # Set up the scripts for CONFIG_FILES section.
11752 # No need to generate them if there are no CONFIG_FILES.
11753 # This happens for instance with `./config.status config.h'.
11754 if test -n "$CONFIG_FILES"; then
11757 ac_cr
=`echo X | tr X '\015'`
11758 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11759 # But we know of no other shell where ac_cr would be empty at this
11760 # point, so we can use a bashism as a fallback.
11761 if test "x$ac_cr" = x
; then
11762 eval ac_cr
=\$
\'\\r
\'
11764 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11765 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11768 ac_cs_awk_cr
=$ac_cr
11771 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11776 echo "cat >conf$$subs.awk <<_ACEOF" &&
11777 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11779 } >conf$$subs.sh ||
11780 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11781 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11783 for ac_last_try in false false false false false :; do
11784 . ./conf$$subs.sh ||
11785 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11787 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11788 if test $ac_delim_n = $ac_delim_num; then
11790 elif $ac_last_try; then
11791 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11793 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11796 rm -f conf$$subs.sh
11798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11799 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11803 s/^/S["/; s
/!.
*/"]=/
11813 s/\(.\{148\}\).*/\1/
11815 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11820 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11827 s/\(.\{148\}\).*/\1/
11829 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11833 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11838 ' <conf$$subs.awk | sed '
11843 ' >>$CONFIG_STATUS || ac_write_fail=1
11844 rm -f conf$$subs.awk
11845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11847 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11848 for (key in S) S_is_set[key] = 1
11854 nfields = split(line, field, "@
")
11856 len = length(field[1])
11857 for (i = 2; i < nfields; i++) {
11859 keylen = length(key)
11860 if (S_is_set[key]) {
11862 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11863 len += length(value) + length(field[++i])
11874 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11875 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11876 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11879 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11880 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11883 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11884 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11885 # trailing colons and then remove the whole line if VPATH becomes empty
11886 # (actually we leave an empty line to preserve line numbers).
11887 if test "x
$srcdir" = x.; then
11888 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11889 s/:*\$(srcdir):*/:/
11890 s/:*\${srcdir}:*/:/
11892 s/^\([^=]*=[ ]*\):*/\1/
11898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11899 fi # test -n "$CONFIG_FILES"
11901 # Set up the scripts for CONFIG_HEADERS section.
11902 # No need to generate them if there are no CONFIG_HEADERS.
11903 # This happens for instance with `./config.status Makefile'.
11904 if test -n "$CONFIG_HEADERS"; then
11905 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11909 # Transform confdefs.h into an awk script `defines.awk', embedded as
11910 # here-document in config.status, that substitutes the proper values into
11911 # config.h.in to produce config.h.
11913 # Create a delimiter string that does not exist in confdefs.h, to ease
11914 # handling of long lines.
11916 for ac_last_try in false false :; do
11917 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11918 if test -z "$ac_t"; then
11920 elif $ac_last_try; then
11921 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11923 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11927 # For the awk script, D is an array of macro values keyed by name,
11928 # likewise P contains macro parameters if any. Preserve backslash
11929 # newline sequences.
11931 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11933 s/.\{148\}/&'"$ac_delim"'/g
11936 s/^[ ]*#[ ]*define[ ][ ]*/ /
11943 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11945 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11949 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11950 D["\
1"]=" \
3\\\\\\n
"\\/p
11952 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11957 s/.\{148\}/&'"$ac_delim"'/g
11962 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11965 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11967 ' <confdefs.h | sed '
11968 s/'"$ac_delim"'/"\\\
11969 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11972 for (key in D) D_is_set[key] = 1
11975 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11977 split(line, arg, " ")
11978 if (arg[1] == "#") {
11982 defundef
= substr
(arg
[1], 2)
11985 split(mac1
, mac2
, "(") #)
11987 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11988 if (D_is_set
[macro
]) {
11989 # Preserve the white space surrounding the "#".
11990 print prefix
"define", macro P
[macro
] D
[macro
]
11993 # Replace #undef with comments. This is necessary, for example,
11994 # in the case of _POSIX_SOURCE, which is predefined and required
11995 # on some systems where configure will not decide to define it.
11996 if (defundef
== "undef") {
11997 print
"/*", prefix defundef
, macro
, "*/"
12005 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12006 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12007 fi # test -n "$CONFIG_HEADERS"
12010 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12015 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12017 case $ac_mode$ac_tag in
12019 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12020 :[FH
]-) ac_tag
=-:-;;
12021 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12038 -) ac_f
="$tmp/stdin";;
12039 *) # Look for the file first in the build tree, then in the source tree
12040 # (if the path is not absolute). The absolute path cannot be DOS-style,
12041 # because $ac_f cannot contain `:'.
12045 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12047 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12049 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12050 as_fn_append ac_file_inputs
" '$ac_f'"
12053 # Let's still pretend it is `configure' which instantiates (i.e., don't
12054 # use $as_me), people would be surprised to read:
12055 # /* config.h. Generated by config.status. */
12056 configure_input
='Generated from '`
12057 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12059 if test x
"$ac_file" != x-
; then
12060 configure_input
="$ac_file. $configure_input"
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12062 $as_echo "$as_me: creating $ac_file" >&6;}
12064 # Neutralize special characters interpreted by sed in replacement strings.
12065 case $configure_input in #(
12066 *\
&* |
*\|
* |
*\\* )
12067 ac_sed_conf_input
=`$as_echo "$configure_input" |
12068 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12069 *) ac_sed_conf_input
=$configure_input;;
12073 *:-:* |
*:-) cat >"$tmp/stdin" \
12074 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12079 ac_dir
=`$as_dirname -- "$ac_file" ||
12080 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12081 X"$ac_file" : 'X\(//\)[^/]' \| \
12082 X"$ac_file" : 'X\(//\)$' \| \
12083 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12084 $as_echo X"$ac_file" |
12085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12089 /^X\(\/\/\)[^/].*/{
12102 as_dir
="$ac_dir"; as_fn_mkdir_p
12106 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12108 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12109 # A ".." for each directory in $ac_dir_suffix.
12110 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12111 case $ac_top_builddir_sub in
12112 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12113 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12116 ac_abs_top_builddir
=$ac_pwd
12117 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12118 # for backward compatibility:
12119 ac_top_builddir
=$ac_top_build_prefix
12122 .
) # We are building in place.
12124 ac_top_srcdir
=$ac_top_builddir_sub
12125 ac_abs_top_srcdir
=$ac_pwd ;;
12126 [\\/]* | ?
:[\\/]* ) # Absolute name.
12127 ac_srcdir
=$srcdir$ac_dir_suffix;
12128 ac_top_srcdir
=$srcdir
12129 ac_abs_top_srcdir
=$srcdir ;;
12130 *) # Relative name.
12131 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12132 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12133 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12135 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12146 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12147 # If the template does not know about datarootdir, expand it.
12148 # FIXME: This hack should be removed a few years after 2.60.
12149 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12160 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12161 *datarootdir
*) ac_datarootdir_seen
=yes;;
12162 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12164 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12166 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12167 ac_datarootdir_hack='
12168 s&@datadir@&$datadir&g
12169 s&@docdir@&$docdir&g
12170 s&@infodir@&$infodir&g
12171 s&@localedir@&$localedir&g
12172 s&@mandir@&$mandir&g
12173 s&\\\${datarootdir}&$datarootdir&g' ;;
12177 # Neutralize VPATH when `$srcdir' = `.'.
12178 # Shell code in configure.ac might set extrasub.
12179 # FIXME: do we really want to maintain this feature?
12180 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12181 ac_sed_extra="$ac_vpsub
12184 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12186 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12187 s|@configure_input@|
$ac_sed_conf_input|
;t t
12188 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12189 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12190 s
&@srcdir@
&$ac_srcdir&;t t
12191 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12192 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12193 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12194 s
&@builddir@
&$ac_builddir&;t t
12195 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12196 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12197 $ac_datarootdir_hack
12199 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12200 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12202 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12203 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12204 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12206 which seems to be undefined. Please make sure it is defined." >&5
12207 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12208 which seems to be undefined. Please make sure it is defined." >&2;}
12212 -) cat "$tmp/out" && rm -f "$tmp/out";;
12213 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12215 || as_fn_error "could not create $ac_file" "$LINENO" 5
12221 if test x"$ac_file" != x-; then
12223 $as_echo "/* $configure_input */" \
12224 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12225 } >"$tmp/config.h" \
12226 || as_fn_error "could not create $ac_file" "$LINENO" 5
12227 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12229 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12232 mv "$tmp/config.h" "$ac_file" \
12233 || as_fn_error "could not create $ac_file" "$LINENO" 5
12236 $as_echo "/* $configure_input */" \
12237 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12238 || as_fn_error "could not create -" "$LINENO" 5
12242 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12243 $as_echo "$as_me: executing $ac_file commands" >&6;}
12248 case $ac_file$ac_mode in
12249 "compiler_executable":C)
12250 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12252 prefix="${prefix}/${aros_target_cpu}-aros"
12253 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12257 chmod a+x ${prefix2}-gcc ${prefix2}-ld
12259 ln -sf ${prefix2}-gcc ${prefix}-gcc
12260 ln -sf ${prefix2}-ld ${prefix}-ld
12262 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12263 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12264 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12265 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12266 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12267 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12268 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12270 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12271 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12272 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12273 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12274 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12275 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12276 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12278 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
12279 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12287 ac_clean_files=$ac_clean_files_save
12289 test $ac_write_fail = 0 ||
12290 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
12293 # configure is writing to config.log, and then calls config.status.
12294 # config.status does its own redirection, appending to config.log.
12295 # Unfortunately, on DOS this fails, as config.log is still kept open
12296 # by configure, so config.status won't be able to
write to it
; its
12297 # output is simply discarded. So we exec the FD to /dev/null,
12298 # effectively closing config.log, so it can be properly (re)opened and
12299 # appended to by config.status. When coming back to configure, we
12300 # need to make the FD available again.
12301 if test "$no_create" != yes; then
12303 ac_config_status_args
=
12304 test "$silent" = yes &&
12305 ac_config_status_args
="$ac_config_status_args --quiet"
12307 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12309 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12310 # would make configure fail if this is the last instruction.
12311 $ac_cs_success || as_fn_exit $?
12313 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12315 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12320 #XXX compatability...
12321 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12323 if test -n "$aros_shared_cflags" ; then
12324 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12325 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg