2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
612 aros_nesting_supervisor
617 aros_host_x11_libdirs
618 aros_host_x11_includes
622 aros_default_wbheight
629 aros_target_strip_flags
636 aros_kernel_objcflags
655 aros_target_cc_includes
669 aros_target_bootloader
697 aros_cflags_iquote_end
699 kernel_cflags_iquote_end
701 host_cflags_iquote_end
703 aros_target_nostdlib_ldflags
704 aros_target_detach_ldflags
705 aros_target_nix_ldflags
706 aros_target_nostartup_ldflags
707 aros_target_nostdinc_cflags
711 aros_target_ranlib_ln
712 aros_target_objdump_ln
713 aros_target_objcopy_ln
808 program_transform_name
821 enable_option_checking
830 enable_target_variant
844 enable_palm_debug_hack
845 enable_nesting_supervisor
856 ac_precious_vars
='build_alias
868 # Initialize some variables set by options.
870 ac_init_version
=false
871 ac_unrecognized_opts
=
873 # The variables have the same names as the options, with
874 # dashes changed to underlines.
882 program_transform_name
=s
,x
,x
,
890 # Installation directory options.
891 # These are left unexpanded so users can "make install exec_prefix=/foo"
892 # and all the variables that are supposed to be based on exec_prefix
893 # by default will actually change.
894 # Use braces instead of parens because sh, perl, etc. also accept them.
895 # (The list follows the same order as the GNU Coding Standards.)
896 bindir
='${exec_prefix}/bin'
897 sbindir
='${exec_prefix}/sbin'
898 libexecdir
='${exec_prefix}/libexec'
899 datarootdir
='${prefix}/share'
900 datadir
='${datarootdir}'
901 sysconfdir
='${prefix}/etc'
902 sharedstatedir
='${prefix}/com'
903 localstatedir
='${prefix}/var'
904 includedir
='${prefix}/include'
905 oldincludedir
='/usr/include'
906 docdir
='${datarootdir}/doc/${PACKAGE}'
907 infodir
='${datarootdir}/info'
912 libdir
='${exec_prefix}/lib'
913 localedir
='${datarootdir}/locale'
914 mandir
='${datarootdir}/man'
920 # If the previous option needs an argument, assign it.
921 if test -n "$ac_prev"; then
922 eval $ac_prev=\
$ac_option
928 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
932 # Accept the important Cygnus configure options, so we can diagnose typos.
934 case $ac_dashdash$ac_option in
938 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
940 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
943 -build |
--build |
--buil |
--bui |
--bu)
944 ac_prev
=build_alias
;;
945 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
946 build_alias
=$ac_optarg ;;
948 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
949 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
950 ac_prev
=cache_file
;;
951 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
952 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
953 cache_file
=$ac_optarg ;;
956 cache_file
=config.cache
;;
958 -datadir |
--datadir |
--datadi |
--datad)
960 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
961 datadir
=$ac_optarg ;;
963 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
964 |
--dataroo |
--dataro |
--datar)
965 ac_prev
=datarootdir
;;
966 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
967 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
968 datarootdir
=$ac_optarg ;;
970 -disable-* |
--disable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=no
;;
986 -docdir |
--docdir |
--docdi |
--doc |
--do)
988 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
991 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
993 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
996 -enable-* |
--enable-*)
997 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
998 # Reject names that are not valid shell variable names.
999 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1000 as_fn_error
"invalid feature name: $ac_useropt"
1001 ac_useropt_orig
=$ac_useropt
1002 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1003 case $ac_user_opts in
1005 "enable_
$ac_useropt"
1007 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1008 ac_unrecognized_sep
=', ';;
1010 eval enable_
$ac_useropt=\
$ac_optarg ;;
1012 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1013 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1014 |
--exec |
--exe |
--ex)
1015 ac_prev
=exec_prefix
;;
1016 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1017 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1018 |
--exec=* |
--exe=* |
--ex=*)
1019 exec_prefix
=$ac_optarg ;;
1021 -gas |
--gas |
--ga |
--g)
1022 # Obsolete; use --with-gas.
1025 -help |
--help |
--hel |
--he |
-h)
1026 ac_init_help
=long
;;
1027 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1028 ac_init_help
=recursive
;;
1029 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1030 ac_init_help
=short
;;
1032 -host |
--host |
--hos |
--ho)
1033 ac_prev
=host_alias
;;
1034 -host=* |
--host=* |
--hos=* |
--ho=*)
1035 host_alias
=$ac_optarg ;;
1037 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1039 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1041 htmldir
=$ac_optarg ;;
1043 -includedir |
--includedir |
--includedi |
--included |
--include \
1044 |
--includ |
--inclu |
--incl |
--inc)
1045 ac_prev
=includedir
;;
1046 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1047 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1048 includedir
=$ac_optarg ;;
1050 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1052 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1053 infodir
=$ac_optarg ;;
1055 -libdir |
--libdir |
--libdi |
--libd)
1057 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1058 libdir
=$ac_optarg ;;
1060 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1061 |
--libexe |
--libex |
--libe)
1062 ac_prev
=libexecdir
;;
1063 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1064 |
--libexe=* |
--libex=* |
--libe=*)
1065 libexecdir
=$ac_optarg ;;
1067 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1068 ac_prev
=localedir
;;
1069 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1070 localedir
=$ac_optarg ;;
1072 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1073 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1074 ac_prev
=localstatedir
;;
1075 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1076 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1077 localstatedir
=$ac_optarg ;;
1079 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1081 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1082 mandir
=$ac_optarg ;;
1084 -nfp |
--nfp |
--nf)
1085 # Obsolete; use --without-fp.
1088 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1089 |
--no-cr |
--no-c |
-n)
1092 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1093 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1096 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1097 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1098 |
--oldin |
--oldi |
--old |
--ol |
--o)
1099 ac_prev
=oldincludedir
;;
1100 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1101 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1102 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1103 oldincludedir
=$ac_optarg ;;
1105 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1107 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1108 prefix
=$ac_optarg ;;
1110 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1111 |
--program-pre |
--program-pr |
--program-p)
1112 ac_prev
=program_prefix
;;
1113 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1114 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1115 program_prefix
=$ac_optarg ;;
1117 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1118 |
--program-suf |
--program-su |
--program-s)
1119 ac_prev
=program_suffix
;;
1120 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1121 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1122 program_suffix
=$ac_optarg ;;
1124 -program-transform-name |
--program-transform-name \
1125 |
--program-transform-nam |
--program-transform-na \
1126 |
--program-transform-n |
--program-transform- \
1127 |
--program-transform |
--program-transfor \
1128 |
--program-transfo |
--program-transf \
1129 |
--program-trans |
--program-tran \
1130 |
--progr-tra |
--program-tr |
--program-t)
1131 ac_prev
=program_transform_name
;;
1132 -program-transform-name=* |
--program-transform-name=* \
1133 |
--program-transform-nam=* |
--program-transform-na=* \
1134 |
--program-transform-n=* |
--program-transform-=* \
1135 |
--program-transform=* |
--program-transfor=* \
1136 |
--program-transfo=* |
--program-transf=* \
1137 |
--program-trans=* |
--program-tran=* \
1138 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1139 program_transform_name
=$ac_optarg ;;
1141 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1143 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1144 pdfdir
=$ac_optarg ;;
1146 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1148 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1151 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1152 |
-silent |
--silent |
--silen |
--sile |
--sil)
1155 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1157 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1159 sbindir
=$ac_optarg ;;
1161 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1162 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1163 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1165 ac_prev
=sharedstatedir
;;
1166 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1167 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1168 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1170 sharedstatedir
=$ac_optarg ;;
1172 -site |
--site |
--sit)
1174 -site=* |
--site=* |
--sit=*)
1177 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1179 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1180 srcdir
=$ac_optarg ;;
1182 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1183 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1184 ac_prev
=sysconfdir
;;
1185 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1186 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1187 sysconfdir
=$ac_optarg ;;
1189 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1190 ac_prev
=target_alias
;;
1191 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1192 target_alias
=$ac_optarg ;;
1194 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1197 -version |
--version |
--versio |
--versi |
--vers |
-V)
1198 ac_init_version
=: ;;
1201 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1202 # Reject names that are not valid shell variable names.
1203 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1204 as_fn_error
"invalid package name: $ac_useropt"
1205 ac_useropt_orig
=$ac_useropt
1206 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1207 case $ac_user_opts in
1211 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1212 ac_unrecognized_sep
=', ';;
1214 eval with_
$ac_useropt=\
$ac_optarg ;;
1216 -without-* |
--without-*)
1217 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1218 # Reject names that are not valid shell variable names.
1219 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1220 as_fn_error
"invalid package name: $ac_useropt"
1221 ac_useropt_orig
=$ac_useropt
1222 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1223 case $ac_user_opts in
1227 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1228 ac_unrecognized_sep
=', ';;
1230 eval with_
$ac_useropt=no
;;
1233 # Obsolete; use --with-x.
1236 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1237 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1238 ac_prev
=x_includes
;;
1239 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1240 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1241 x_includes
=$ac_optarg ;;
1243 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1244 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1245 ac_prev
=x_libraries
;;
1246 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1247 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1248 x_libraries
=$ac_optarg ;;
1250 -*) as_fn_error
"unrecognized option: \`$ac_option'
1251 Try \`$0 --help' for more information."
1255 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1256 # Reject names that are not valid shell variable names.
1257 case $ac_envvar in #(
1258 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1259 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1261 eval $ac_envvar=\
$ac_optarg
1262 export $ac_envvar ;;
1265 # FIXME: should be removed in autoconf 3.0.
1266 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1267 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1268 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1269 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1275 if test -n "$ac_prev"; then
1276 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1277 as_fn_error
"missing argument to $ac_option"
1280 if test -n "$ac_unrecognized_opts"; then
1281 case $enable_option_checking in
1283 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1284 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1288 # Check all directory arguments for consistency.
1289 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1290 datadir sysconfdir sharedstatedir localstatedir includedir \
1291 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1292 libdir localedir mandir
1294 eval ac_val
=\$
$ac_var
1295 # Remove trailing slashes.
1298 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1299 eval $ac_var=\
$ac_val;;
1301 # Be sure to have absolute directory names.
1303 [\\/$
]* | ?
:[\\/]* ) continue;;
1304 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1306 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1309 # There might be people who depend on the old broken behavior: `$host'
1310 # used to hold the argument of --host etc.
1311 # FIXME: To remove some day.
1314 target
=$target_alias
1316 # FIXME: To remove some day.
1317 if test "x$host_alias" != x
; then
1318 if test "x$build_alias" = x
; then
1319 cross_compiling
=maybe
1320 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1321 If a cross compiler is detected then cross compile mode will be used." >&2
1322 elif test "x$build_alias" != "x$host_alias"; then
1328 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1330 test "$silent" = yes && exec 6>/dev
/null
1333 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1334 ac_ls_di
=`ls -di .` &&
1335 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1336 as_fn_error
"working directory cannot be determined"
1337 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1338 as_fn_error
"pwd does not report name of working directory"
1341 # Find the source files, if location was not specified.
1342 if test -z "$srcdir"; then
1343 ac_srcdir_defaulted
=yes
1344 # Try the directory containing this script, then the parent directory.
1345 ac_confdir
=`$as_dirname -- "$as_myself" ||
1346 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1347 X"$as_myself" : 'X\(//\)[^/]' \| \
1348 X"$as_myself" : 'X\(//\)$' \| \
1349 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1350 $as_echo X"$as_myself" |
1351 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1369 if test ! -r "$srcdir/$ac_unique_file"; then
1373 ac_srcdir_defaulted
=no
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1376 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1377 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1379 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1381 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1383 # When building in place, set srcdir=.
1384 if test "$ac_abs_confdir" = "$ac_pwd"; then
1387 # Remove unnecessary trailing slashes from srcdir.
1388 # Double slashes in file names in object file debugging info
1389 # mess up M-x gdb in Emacs.
1391 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1393 for ac_var
in $ac_precious_vars; do
1394 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1395 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1396 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1397 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1401 # Report the --help message.
1403 if test "$ac_init_help" = "long"; then
1404 # Omit some internal or obsolete options to make the list less imposing.
1405 # This message is too long to be a string in the A/UX 3.1 sh.
1407 \`configure' configures this package to adapt to many kinds of systems.
1409 Usage: $0 [OPTION]... [VAR=VALUE]...
1411 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1412 VAR=VALUE. See below for descriptions of some of the useful variables.
1414 Defaults for the options are specified in brackets.
1417 -h, --help display this help and exit
1418 --help=short display options specific to this package
1419 --help=recursive display the short help of all the included packages
1420 -V, --version display version information and exit
1421 -q, --quiet, --silent do not print \`checking...' messages
1422 --cache-file=FILE cache test results in FILE [disabled]
1423 -C, --config-cache alias for \`--cache-file=config.cache'
1424 -n, --no-create do not create output files
1425 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1427 Installation directories:
1428 --prefix=PREFIX install architecture-independent files in PREFIX
1429 [$ac_default_prefix]
1430 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1433 By default, \`make install' will install all the files in
1434 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1435 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1436 for instance \`--prefix=\$HOME'.
1438 For better control, use the options below.
1440 Fine tuning of the installation directories:
1441 --bindir=DIR user executables [EPREFIX/bin]
1442 --sbindir=DIR system admin executables [EPREFIX/sbin]
1443 --libexecdir=DIR program executables [EPREFIX/libexec]
1444 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1445 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1446 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1447 --libdir=DIR object code libraries [EPREFIX/lib]
1448 --includedir=DIR C header files [PREFIX/include]
1449 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1450 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1451 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1452 --infodir=DIR info documentation [DATAROOTDIR/info]
1453 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1454 --mandir=DIR man documentation [DATAROOTDIR/man]
1455 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1456 --htmldir=DIR html documentation [DOCDIR]
1457 --dvidir=DIR dvi documentation [DOCDIR]
1458 --pdfdir=DIR pdf documentation [DOCDIR]
1459 --psdir=DIR ps documentation [DOCDIR]
1465 --x-includes=DIR X include files are
in DIR
1466 --x-libraries=DIR X library files are
in DIR
1469 --build=BUILD configure
for building on BUILD
[guessed
]
1470 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1474 if test -n "$ac_init_help"; then
1479 --disable-option-checking ignore unrecognized
--enable/--with options
1480 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1481 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1482 --enable-build-type=TYPE
1483 Select the build
type. Available types are
:
1484 personal
, nightly
, snapshot
, milestone
, release. Do
1485 NOT use this option unless you know what you are
1486 doing
! (default
=personal
)
1487 --enable-debug=list Enable different types of debug. Commas or
1488 whitespaces can be used to separate the items
in the
1489 list. Available types of debug are
: all
, none
,
1490 messages
, stack
, mungwall
, modules
, symbols. If no
1491 list is provided
then "all" is assumed.
1493 --enable-crosstools Build cross-compiler toolchains
if necessary
1495 --enable-distcc Use distcc as a front end to the compiler
1497 --enable-ccache Use ccache as a front end to the compiler
1499 --enable-target-variant=NAME
1500 Enable a specific target variant
(default
=none
)
1501 --enable-includes=dir Alternative system include directory
1502 --enable-palm-debug-hack
1503 Enable palm debug output hack
in palm native
1505 --enable-nesting-supervisor
1506 Enable nesting supervisor support
in unix
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.1).
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
(Objective
) C
/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.65
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
;}
1670 as_fn_set_status
$ac_retval
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;}
1707 as_fn_set_status $ac_retval
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;}
1836 as_fn_set_status $ac_retval
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
;}
1913 as_fn_set_status
$ac_retval
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.65. 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 /dev
/null
!= "$ac_site_file" && 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 files
2401 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2402 if test /dev
/null
!= "$cache_file" && 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 as_fn_append ac_header_list
" stdlib.h"
2417 as_fn_append ac_header_list
" unistd.h"
2418 as_fn_append ac_header_list
" sys/param.h"
2419 # Check that the precious variables saved in the cache have kept the same
2421 ac_cache_corrupted
=false
2422 for ac_var
in $ac_precious_vars; do
2423 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2424 eval ac_new_set
=\
$ac_env_${ac_var}_set
2425 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2426 eval ac_new_val
=\
$ac_env_${ac_var}_value
2427 case $ac_old_set,$ac_new_set in
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2430 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2431 ac_cache_corrupted
=: ;;
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2434 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2435 ac_cache_corrupted
=: ;;
2438 if test "x$ac_old_val" != "x$ac_new_val"; then
2439 # differences in whitespace do not lead to failure.
2440 ac_old_val_w
=`echo x $ac_old_val`
2441 ac_new_val_w
=`echo x $ac_new_val`
2442 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2443 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2444 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2445 ac_cache_corrupted
=:
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2448 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2449 eval $ac_var=\
$ac_old_val
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2452 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2454 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2457 # Pass precious variables to config.status.
2458 if test "$ac_new_set" = set; then
2460 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2461 *) ac_arg
=$ac_var=$ac_new_val ;;
2463 case " $ac_configure_args " in
2464 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2465 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2469 if $ac_cache_corrupted; then
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2471 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2473 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2474 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2476 ## -------------------- ##
2477 ## Main body of script. ##
2478 ## -------------------- ##
2481 ac_cpp
='$CPP $CPPFLAGS'
2482 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2483 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2484 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2489 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2490 for ac_t
in install-sh
install.sh shtool
; do
2491 if test -f "$ac_dir/$ac_t"; then
2493 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2498 if test -z "$ac_aux_dir"; then
2499 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2502 # These three variables are undocumented and unsupported,
2503 # and are intended to be withdrawn in a future Autoconf release.
2504 # They can cause serious problems if a builder's source tree is in a directory
2505 # whose full name contains unusual characters.
2506 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2507 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2508 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2512 # Check what host we are running on.
2513 # If a target is not suggested, we use this one.
2514 # Note that what we call a target, Autoconf calls a host.
2515 # Make sure we can run config.sub.
2516 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2517 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2520 $as_echo_n "checking build system type... " >&6; }
2521 if test "${ac_cv_build+set}" = set; then :
2522 $as_echo_n "(cached) " >&6
2524 ac_build_alias
=$build_alias
2525 test "x$ac_build_alias" = x
&&
2526 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2527 test "x$ac_build_alias" = x
&&
2528 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2529 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2530 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2534 $as_echo "$ac_cv_build" >&6; }
2535 case $ac_cv_build in
2537 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2540 ac_save_IFS
=$IFS; IFS
='-'
2546 # Remember, the first character of IFS is used to create $*,
2547 # except with old shells:
2550 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2554 $as_echo_n "checking host system type... " >&6; }
2555 if test "${ac_cv_host+set}" = set; then :
2556 $as_echo_n "(cached) " >&6
2558 if test "x$host_alias" = x
; then
2559 ac_cv_host
=$ac_cv_build
2561 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2562 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2567 $as_echo "$ac_cv_host" >&6; }
2570 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2573 ac_save_IFS
=$IFS; IFS
='-'
2579 # Remember, the first character of IFS is used to create $*,
2580 # except with old shells:
2583 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2587 # The AROS target is slightly different to the normal GNU style
2588 # format. We don't have the middle part, and we reverse the order
2589 # of the $(CPU) and $(OS) bits.
2591 # Don't strip the version of the target yet, it might be
2592 # useful on some systems.
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2595 $as_echo_n "checking for AROS style target... " >&6; }
2597 if test "$target" = "NONE" ; then
2598 target
=$host_os-$host_cpu
2601 if test "$target" = "" ; then
2602 target
=$host_os-$host_cpu
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2609 $as_echo "$target" >&6; }
2611 if test "$host_os" = "mingw32" ; then
2615 #don't know where else to put this...
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2617 $as_echo_n "checking Building AROS in .. ... " >&6; }
2618 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2619 AROS_BUILDDIR_UNIX
=${PWD}
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2621 $as_echo "$AROS_BUILDDIR" >&6; }
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2624 $as_echo_n "checking AROS Source in .. ... " >&6; }
2625 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2628 $as_echo "$SRCDIR" >&6; }
2630 # Parse the target field into something useful.
2632 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2633 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2636 aros_default_wbwidth
=800
2637 aros_default_wbheight
=600
2638 aros_default_wbdepth
=4
2641 # The first step is to find the host binaries.
2642 # Check for a compiler.
2644 ac_cpp
='$CPP $CPPFLAGS'
2645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2648 if test -n "$ac_tool_prefix"; then
2649 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2650 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if test "${ac_cv_prog_CC+set}" = set; then :
2654 $as_echo_n "(cached) " >&6
2656 if test -n "$CC"; then
2657 ac_cv_prog_CC
="$CC" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 if test -n "$CC"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2679 $as_echo "$CC" >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2687 if test -z "$ac_cv_prog_CC"; then
2689 # Extract the first word of "gcc", so it can be a program name with args.
2690 set dummy gcc
; ac_word
=$2
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2692 $as_echo_n "checking for $ac_word... " >&6; }
2693 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2694 $as_echo_n "(cached) " >&6
2696 if test -n "$ac_ct_CC"; then
2697 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2703 test -z "$as_dir" && as_dir
=.
2704 for ac_exec_ext
in '' $ac_executable_extensions; do
2705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2706 ac_cv_prog_ac_ct_CC
="gcc"
2707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2717 if test -n "$ac_ct_CC"; then
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2719 $as_echo "$ac_ct_CC" >&6; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2722 $as_echo "no" >&6; }
2725 if test "x$ac_ct_CC" = x
; then
2728 case $cross_compiling:$ac_tool_warned in
2730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2731 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2732 ac_tool_warned
=yes ;;
2740 if test -z "$CC"; then
2741 if test -n "$ac_tool_prefix"; then
2742 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2743 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if test "${ac_cv_prog_CC+set}" = set; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$CC"; then
2750 ac_cv_prog_CC
="$CC" # Let the user override the test.
2752 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir
=.
2757 for ac_exec_ext
in '' $ac_executable_extensions; do
2758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2759 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 if test -n "$CC"; then
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2772 $as_echo "$CC" >&6; }
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2775 $as_echo "no" >&6; }
2781 if test -z "$CC"; then
2782 # Extract the first word of "cc", so it can be a program name with args.
2783 set dummy cc
; ac_word
=$2
2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2785 $as_echo_n "checking for $ac_word... " >&6; }
2786 if test "${ac_cv_prog_CC+set}" = set; then :
2787 $as_echo_n "(cached) " >&6
2789 if test -n "$CC"; then
2790 ac_cv_prog_CC
="$CC" # Let the user override the test.
2793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir
=.
2798 for ac_exec_ext
in '' $ac_executable_extensions; do
2799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2800 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2801 ac_prog_rejected
=yes
2805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 if test $ac_prog_rejected = yes; then
2813 # We found a bogon in the path, so make sure we never use it.
2814 set dummy
$ac_cv_prog_CC
2816 if test $# != 0; then
2817 # We chose a different compiler from the bogus one.
2818 # However, it has the same basename, so the bogon will be chosen
2819 # first if we set CC to just the basename; use the full file name.
2821 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2827 if test -n "$CC"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2829 $as_echo "$CC" >&6; }
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2832 $as_echo "no" >&6; }
2837 if test -z "$CC"; then
2838 if test -n "$ac_tool_prefix"; then
2839 for ac_prog
in cl.exe
2841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2842 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2844 $as_echo_n "checking for $ac_word... " >&6; }
2845 if test "${ac_cv_prog_CC+set}" = set; then :
2846 $as_echo_n "(cached) " >&6
2848 if test -n "$CC"; then
2849 ac_cv_prog_CC
="$CC" # Let the user override the test.
2851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2855 test -z "$as_dir" && as_dir
=.
2856 for ac_exec_ext
in '' $ac_executable_extensions; do
2857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2858 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 if test -n "$CC"; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2871 $as_echo "$CC" >&6; }
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2874 $as_echo "no" >&6; }
2878 test -n "$CC" && break
2881 if test -z "$CC"; then
2883 for ac_prog
in cl.exe
2885 # Extract the first word of "$ac_prog", so it can be a program name with args.
2886 set dummy
$ac_prog; ac_word
=$2
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 $as_echo_n "checking for $ac_word... " >&6; }
2889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2890 $as_echo_n "(cached) " >&6
2892 if test -n "$ac_ct_CC"; then
2893 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2899 test -z "$as_dir" && as_dir
=.
2900 for ac_exec_ext
in '' $ac_executable_extensions; do
2901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2902 ac_cv_prog_ac_ct_CC
="$ac_prog"
2903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2912 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2913 if test -n "$ac_ct_CC"; then
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2915 $as_echo "$ac_ct_CC" >&6; }
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2918 $as_echo "no" >&6; }
2922 test -n "$ac_ct_CC" && break
2925 if test "x$ac_ct_CC" = x
; then
2928 case $cross_compiling:$ac_tool_warned in
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2931 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2932 ac_tool_warned
=yes ;;
2941 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2943 as_fn_error
"no acceptable C compiler found in \$PATH
2944 See \`config.log' for more details." "$LINENO" 5; }
2946 # Provide some information about the compiler.
2947 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2950 for ac_option
in --version -v -V -qversion; do
2951 { { ac_try
="$ac_compiler $ac_option >&5"
2953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2954 *) ac_try_echo=$ac_try;;
2956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2957 $as_echo "$ac_try_echo"; } >&5
2958 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2960 if test -s conftest.err; then
2962 ... rest of stderr output deleted ...
2963 10q' conftest.err >conftest.er1
2964 cat conftest.er1 >&5
2966 rm -f conftest.er1 conftest.err
2967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2968 test $ac_status = 0; }
2971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972 /* end confdefs.h. */
2982 ac_clean_files_save=$ac_clean_files
2983 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2984 # Try to create an executable without -o first, disregard a.out.
2985 # It will help us diagnose broken compilers, and finding out an intuition
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2988 $as_echo_n "checking whether the C compiler works... " >&6; }
2989 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2991 # The possible output files:
2992 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2995 for ac_file in $ac_files
2998 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2999 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3004 if { { ac_try="$ac_link_default"
3006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3007 *) ac_try_echo
=$ac_try;;
3009 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010 $as_echo "$ac_try_echo"; } >&5
3011 (eval "$ac_link_default") 2>&5
3013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014 test $ac_status = 0; }; then :
3015 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3016 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3017 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3018 # so that the user can short-circuit this test for compilers unknown to
3020 for ac_file
in $ac_files ''
3022 test -f "$ac_file" ||
continue
3024 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3027 # We found the default executable, but exeext='' is most
3031 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3033 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3035 # We set ac_cv_exeext here because the later test for it is not
3036 # safe: cross compilers may not add the suffix if given an `-o'
3037 # argument, so we may need to know it at that point already.
3038 # Even if this section looks crufty: it has the advantage of
3045 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3050 if test -z "$ac_file"; then :
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3052 $as_echo "no" >&6; }
3053 $as_echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.
$ac_ext >&5
3056 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 { as_fn_set_status
77
3059 as_fn_error
"C compiler cannot create executables
3060 See \`config.log' for more details." "$LINENO" 5; }; }
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3063 $as_echo "yes" >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3066 $as_echo_n "checking for C compiler default output file name... " >&6; }
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3068 $as_echo "$ac_file" >&6; }
3069 ac_exeext
=$ac_cv_exeext
3071 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3072 ac_clean_files
=$ac_clean_files_save
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3074 $as_echo_n "checking for suffix of executables... " >&6; }
3075 if { { ac_try
="$ac_link"
3077 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3078 *) ac_try_echo=$ac_try;;
3080 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3081 $as_echo "$ac_try_echo"; } >&5
3082 (eval "$ac_link") 2>&5
3084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3085 test $ac_status = 0; }; then :
3086 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3087 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3088 # work properly (i.e., refer to `conftest.exe'), while it won't with
3090 for ac_file
in conftest.exe conftest conftest.
*; do
3091 test -f "$ac_file" ||
continue
3093 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3094 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3102 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3103 See \`config.log' for more details." "$LINENO" 5; }
3105 rm -f conftest conftest
$ac_cv_exeext
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3107 $as_echo "$ac_cv_exeext" >&6; }
3109 rm -f conftest.
$ac_ext
3110 EXEEXT
=$ac_cv_exeext
3112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3118 FILE *f = fopen ("conftest.out", "w");
3119 return ferror (f) || fclose (f) != 0;
3125 ac_clean_files
="$ac_clean_files conftest.out"
3126 # Check that the compiler produces executables we can run. If not, either
3127 # the compiler is broken, or we cross compile.
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3129 $as_echo_n "checking whether we are cross compiling... " >&6; }
3130 if test "$cross_compiling" != yes; then
3131 { { ac_try
="$ac_link"
3133 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3134 *) ac_try_echo=$ac_try;;
3136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3137 $as_echo "$ac_try_echo"; } >&5
3138 (eval "$ac_link") 2>&5
3140 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3141 test $ac_status = 0; }
3142 if { ac_try='./conftest$ac_cv_exeext'
3143 { { case "(($ac_try" in
3144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3145 *) ac_try_echo
=$ac_try;;
3147 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3148 $as_echo "$ac_try_echo"; } >&5
3149 (eval "$ac_try") 2>&5
3151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3152 test $ac_status = 0; }; }; then
3155 if test "$cross_compiling" = maybe
; then
3158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3160 as_fn_error
"cannot run C compiled programs.
3161 If you meant to cross compile, use \`--host'.
3162 See \`config.log' for more details." "$LINENO" 5; }
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3167 $as_echo "$cross_compiling" >&6; }
3169 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3170 ac_clean_files
=$ac_clean_files_save
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3172 $as_echo_n "checking for suffix of object files... " >&6; }
3173 if test "${ac_cv_objext+set}" = set; then :
3174 $as_echo_n "(cached) " >&6
3176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3187 rm -f conftest.o conftest.obj
3188 if { { ac_try
="$ac_compile"
3190 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3191 *) ac_try_echo=$ac_try;;
3193 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3194 $as_echo "$ac_try_echo"; } >&5
3195 (eval "$ac_compile") 2>&5
3197 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3198 test $ac_status = 0; }; then :
3199 for ac_file in conftest.o conftest.obj conftest.*; do
3200 test -f "$ac_file" || continue;
3202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3203 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3208 $as_echo "$as_me: failed program was:" >&5
3209 sed 's/^/| /' conftest.$ac_ext >&5
3211 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3213 as_fn_error "cannot compute suffix of object files
: cannot compile
3214 See \
`config.log' for more details." "$LINENO" 5; }
3216 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3219 $as_echo "$ac_cv_objext" >&6; }
3220 OBJEXT=$ac_cv_objext
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3223 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3224 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3225 $as_echo_n "(cached) " >&6
3227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3228 /* end confdefs.h. */
3241 if ac_fn_c_try_compile "$LINENO"; then :
3246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3247 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3251 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3252 if test $ac_compiler_gnu = yes; then
3257 ac_test_CFLAGS=${CFLAGS+set}
3258 ac_save_CFLAGS=$CFLAGS
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3260 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3261 if test "${ac_cv_prog_cc_g+set}" = set; then :
3262 $as_echo_n "(cached) " >&6
3264 ac_save_c_werror_flag=$ac_c_werror_flag
3265 ac_c_werror_flag=yes
3268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3269 /* end confdefs.h. */
3279 if ac_fn_c_try_compile "$LINENO"; then :
3283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3284 /* end confdefs.h. */
3294 if ac_fn_c_try_compile "$LINENO"; then :
3297 ac_c_werror_flag=$ac_save_c_werror_flag
3299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3300 /* end confdefs.h. */
3310 if ac_fn_c_try_compile "$LINENO"; then :
3313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3318 ac_c_werror_flag=$ac_save_c_werror_flag
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3321 $as_echo "$ac_cv_prog_cc_g" >&6; }
3322 if test "$ac_test_CFLAGS" = set; then
3323 CFLAGS=$ac_save_CFLAGS
3324 elif test $ac_cv_prog_cc_g = yes; then
3325 if test "$GCC" = yes; then
3331 if test "$GCC" = yes; then
3337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3338 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3339 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3340 $as_echo_n "(cached) " >&6
3342 ac_cv_prog_cc_c89=no
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3348 #include <sys/types.h>
3349 #include <sys/stat.h>
3350 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3351 struct buf { int x; };
3352 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3353 static char *e (p, i)
3359 static char *f (char * (*g) (char **, int), char **p, ...)
3364 s = g (p, va_arg (v,int));
3369 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3370 function prototypes and stuff, but not '\xHH' hex character constants.
3371 These don't provoke an error unfortunately, instead are silently treated
3372 as 'x'. The following induces an error, until -std is added to get
3373 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3374 array size at least. It's necessary to write '\x00'==0 to get something
3375 that's true only with -std. */
3376 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3378 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3379 inside strings and character constants. */
3381 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3383 int test (int i, double x);
3384 struct s1 {int (*f) (int a);};
3385 struct s2 {int (*f) (double a);};
3386 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3392 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3397 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3398 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3400 CC="$ac_save_CC $ac_arg"
3401 if ac_fn_c_try_compile "$LINENO"; then :
3402 ac_cv_prog_cc_c89=$ac_arg
3404 rm -f core conftest.err conftest.$ac_objext
3405 test "x$ac_cv_prog_cc_c89" != "xno" && break
3407 rm -f conftest.$ac_ext
3412 case "x$ac_cv_prog_cc_c89" in
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3415 $as_echo "none needed" >&6; } ;;
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3418 $as_echo "unsupported" >&6; } ;;
3420 CC="$CC $ac_cv_prog_cc_c89"
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3422 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3424 if test "x$ac_cv_prog_cc_c89" != xno; then :
3429 ac_cpp='$CPP $CPPFLAGS'
3430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3434 case $ac_cv_prog_cc_stdc in #(
3436 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3439 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3440 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3443 ac_cv_prog_cc_c99=no
3445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3446 /* end confdefs.h. */
3448 #include <stdbool.h>
3453 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3454 #define debug(...) fprintf (stderr, __VA_ARGS__)
3455 #define showlist(...) puts (#__VA_ARGS__)
3456 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3458 test_varargs_macros (void)
3463 debug ("X = %d\n", x);
3464 showlist (The first, second, and third items.);
3465 report (x>y, "x is %d but y is %d", x, y);
3468 // Check long long types.
3469 #define BIG64 18446744073709551615ull
3470 #define BIG32 4294967295ul
3471 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3473 your preprocessor is broken;
3477 your preprocessor is broken;
3479 static long long int bignum = -9223372036854775807LL;
3480 static unsigned long long int ubignum = BIG64;
3482 struct incomplete_array
3490 const wchar_t *name;
3494 typedef const char *ccp;
3497 test_restrict (ccp restrict text)
3499 // See if C++-style comments work.
3500 // Iterate through items via the restricted pointer.
3501 // Also check for declarations in for loops.
3502 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3507 // Check varargs and va_copy.
3509 test_varargs (const char *format, ...)
3512 va_start (args, format);
3514 va_copy (args_copy, args);
3525 str = va_arg (args_copy, const char *);
3528 number = va_arg (args_copy, int);
3531 fnumber = va_arg (args_copy, double);
3546 _Bool success = false;
3549 if (test_restrict ("String literal") == 0)
3551 char *restrict newvar = "Another string";
3554 test_varargs ("s, d' f .", "string", 65, 34.234);
3555 test_varargs_macros ();
3557 // Check flexible array members.
3558 struct incomplete_array *ia =
3559 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3561 for (int i = 0; i < ia->datasize; ++i)
3562 ia->data[i] = i * 1.234;
3564 // Check named initializers.
3565 struct named_init ni = {
3567 .name = L"Test wide string",
3568 .average = 543.34343,
3573 int dynamic_array[ni.number];
3574 dynamic_array[ni.number - 1] = 543;
3576 // work around unused variable warnings
3577 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3578 || dynamic_array[ni.number - 1] != 543);
3584 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3586 CC="$ac_save_CC $ac_arg"
3587 if ac_fn_c_try_compile "$LINENO"; then :
3588 ac_cv_prog_cc_c99=$ac_arg
3590 rm -f core conftest.err conftest.$ac_objext
3591 test "x$ac_cv_prog_cc_c99" != "xno" && break
3593 rm -f conftest.$ac_ext
3598 case "x$ac_cv_prog_cc_c99" in
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3601 $as_echo "none needed" >&6; } ;;
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3604 $as_echo "unsupported" >&6; } ;;
3606 CC="$CC $ac_cv_prog_cc_c99"
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3608 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3610 if test "x$ac_cv_prog_cc_c99" != xno; then :
3611 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3614 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3615 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3616 $as_echo_n "(cached) " >&6
3618 ac_cv_prog_cc_c89=no
3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3621 /* end confdefs.h. */
3624 #include <sys/types.h>
3625 #include <sys/stat.h>
3626 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3627 struct buf { int x; };
3628 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3629 static char *e (p, i)
3635 static char *f (char * (*g) (char **, int), char **p, ...)
3640 s = g (p, va_arg (v,int));
3645 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3646 function prototypes and stuff, but not '\xHH' hex character constants.
3647 These don't provoke an error unfortunately, instead are silently treated
3648 as 'x'. The following induces an error, until -std is added to get
3649 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3650 array size at least. It's necessary to write '\x00'==0 to get something
3651 that's true only with -std. */
3652 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3654 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3655 inside strings and character constants. */
3657 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3659 int test (int i, double x);
3660 struct s1 {int (*f) (int a);};
3661 struct s2 {int (*f) (double a);};
3662 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3668 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3673 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3674 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3676 CC="$ac_save_CC $ac_arg"
3677 if ac_fn_c_try_compile "$LINENO"; then :
3678 ac_cv_prog_cc_c89=$ac_arg
3680 rm -f core conftest.err conftest.$ac_objext
3681 test "x$ac_cv_prog_cc_c89" != "xno" && break
3683 rm -f conftest.$ac_ext
3688 case "x$ac_cv_prog_cc_c89" in
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3691 $as_echo "none needed" >&6; } ;;
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3694 $as_echo "unsupported" >&6; } ;;
3696 CC="$CC $ac_cv_prog_cc_c89"
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3698 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3700 if test "x$ac_cv_prog_cc_c89" != xno; then :
3701 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3703 ac_cv_prog_cc_stdc=no
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3710 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3711 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3712 $as_echo_n "(cached) " >&6
3715 case $ac_cv_prog_cc_stdc in #(
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3718 $as_echo "unsupported" >&6; } ;; #(
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3721 $as_echo "none needed" >&6; } ;; #(
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3724 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3728 ac_cpp='$CPP $CPPFLAGS'
3729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3733 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3734 # On Suns, sometimes $CPP names a directory.
3735 if test -n "$CPP" && test -d "$CPP"; then
3738 if test -z "$CPP"; then
3739 if test "${ac_cv_prog_CPP+set}" = set; then :
3740 $as_echo_n "(cached) " >&6
3742 # Double quotes because CPP needs to be expanded
3743 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3746 for ac_c_preproc_warn_flag in '' yes
3748 # Use a header file that comes with gcc, so configuring glibc
3749 # with a fresh cross-compiler works.
3750 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3751 # <limits.h> exists even on freestanding compilers.
3752 # On the NeXT, cc -E runs the code through the compiler's parser,
3753 # not just through cpp. "Syntax error" is here to catch this case.
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3757 # include <limits.h>
3759 # include <assert.h>
3763 if ac_fn_c_try_cpp "$LINENO"; then :
3766 # Broken: fails on valid input.
3769 rm -f conftest.err conftest.$ac_ext
3771 # OK, works on sane cases. Now check whether nonexistent headers
3772 # can be detected and how.
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3775 #include <ac_nonexistent.h>
3777 if ac_fn_c_try_cpp "$LINENO"; then :
3778 # Broken: success on invalid input.
3781 # Passes both tests.
3785 rm -f conftest.err conftest.$ac_ext
3788 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3789 rm -f conftest.err conftest.
$ac_ext
3790 if $ac_preproc_ok; then :
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3803 $as_echo "$CPP" >&6; }
3805 for ac_c_preproc_warn_flag
in '' yes
3807 # Use a header file that comes with gcc, so configuring glibc
3808 # with a fresh cross-compiler works.
3809 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3810 # <limits.h> exists even on freestanding compilers.
3811 # On the NeXT, cc -E runs the code through the compiler's parser,
3812 # not just through cpp. "Syntax error" is here to catch this case.
3813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3816 # include <limits.h>
3818 # include <assert.h>
3822 if ac_fn_c_try_cpp
"$LINENO"; then :
3825 # Broken: fails on valid input.
3828 rm -f conftest.err conftest.
$ac_ext
3830 # OK, works on sane cases. Now check whether nonexistent headers
3831 # can be detected and how.
3832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3834 #include <ac_nonexistent.h>
3836 if ac_fn_c_try_cpp
"$LINENO"; then :
3837 # Broken: success on invalid input.
3840 # Passes both tests.
3844 rm -f conftest.err conftest.
$ac_ext
3847 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3848 rm -f conftest.err conftest.
$ac_ext
3849 if $ac_preproc_ok; then :
3852 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3853 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3854 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3855 See \`config.log' for more details." "$LINENO" 5; }
3859 ac_cpp
='$CPP $CPPFLAGS'
3860 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3861 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3862 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3865 # Check for a compatible awk
3866 for ac_prog
in gawk nawk
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy
$ac_prog; ac_word
=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_AWK+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3875 if test -n "$AWK"; then
3876 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3878 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3882 test -z "$as_dir" && as_dir
=.
3883 for ac_exec_ext
in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_AWK
="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 if test -n "$AWK"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3898 $as_echo "$AWK" >&6; }
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3905 test -n "$AWK" && break
3908 if test "$AWK" = ""; then
3909 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3911 # Extract the first word of "mmake", so it can be a program name with args.
3912 set dummy mmake
; ac_word
=$2
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3914 $as_echo_n "checking for $ac_word... " >&6; }
3915 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3916 $as_echo_n "(cached) " >&6
3918 if test -n "$MMAKE"; then
3919 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3925 test -z "$as_dir" && as_dir
=.
3926 for ac_exec_ext
in '' $ac_executable_extensions; do
3927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3928 ac_cv_prog_MMAKE
="mmake "
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 MMAKE
=$ac_cv_prog_MMAKE
3939 if test -n "$MMAKE"; then
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3941 $as_echo "$MMAKE" >&6; }
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3944 $as_echo "no" >&6; }
3949 # Perform some default variable assignments. Note all of these will be
3950 # Regenerated from the script, so there is no need to cache them.
3953 if test "$GCC" = "yes"; then
3954 aros_gcc_ld
=`$CC -print-prog-name=ld`
3955 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3956 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3958 $as_echo_n "checking for $ac_word... " >&6; }
3959 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3960 $as_echo_n "(cached) " >&6
3962 case $aros_host_ld in
3964 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3967 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3968 for as_dir
in `dirname $aros_gcc_ld`
3971 test -z "$as_dir" && as_dir
=.
3972 for ac_exec_ext
in '' $ac_executable_extensions; do
3973 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3974 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3985 aros_host_ld
=$ac_cv_path_aros_host_ld
3986 if test -n "$aros_host_ld"; then
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3988 $as_echo "$aros_host_ld" >&6; }
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3991 $as_echo "no" >&6; }
3996 if test "$aros_host_ld" = ""; then
3997 # Extract the first word of "ld", so it can be a program name with args.
3998 set dummy ld
; ac_word
=$2
3999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4000 $as_echo_n "checking for $ac_word... " >&6; }
4001 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4002 $as_echo_n "(cached) " >&6
4004 case $aros_host_ld in
4006 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4013 test -z "$as_dir" && as_dir
=.
4014 for ac_exec_ext
in '' $ac_executable_extensions; do
4015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4016 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4027 aros_host_ld
=$ac_cv_path_aros_host_ld
4028 if test -n "$aros_host_ld"; then
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4030 $as_echo "$aros_host_ld" >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4033 $as_echo "no" >&6; }
4038 if test "$aros_host_ld" = ""; then
4039 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4041 aros_host_make
="make"
4042 aros_host_cflags
=$CFLAGS
4043 aros_host_ldflags
=$LDFLAGS
4044 aros_host_debug
="-g -O0"
4045 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4046 aros_host_mkargs
="--no-print-directory"
4047 aros_host_incl
="/usr/include"
4048 aros_host_exe_suffix
="$EXEEXT"
4049 aros_host_lib_suffix
=""
4051 for ac_prog
in aclocal aclocal19 aclocal-1.9
4053 # Extract the first word of "$ac_prog", so it can be a program name with args.
4054 set dummy
$ac_prog; ac_word
=$2
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4058 $as_echo_n "(cached) " >&6
4060 if test -n "$aros_host_aclocal"; then
4061 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4067 test -z "$as_dir" && as_dir
=.
4068 for ac_exec_ext
in '' $ac_executable_extensions; do
4069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4070 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4080 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4081 if test -n "$aros_host_aclocal"; then
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4083 $as_echo "$aros_host_aclocal" >&6; }
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4086 $as_echo "no" >&6; }
4090 test -n "$aros_host_aclocal" && break
4093 for ac_prog
in autoconf autoconf259 autoconf253
4095 # Extract the first word of "$ac_prog", so it can be a program name with args.
4096 set dummy
$ac_prog; ac_word
=$2
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4098 $as_echo_n "checking for $ac_word... " >&6; }
4099 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4100 $as_echo_n "(cached) " >&6
4102 if test -n "$aros_host_autoconf"; then
4103 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir
=.
4110 for ac_exec_ext
in '' $ac_executable_extensions; do
4111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4112 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4123 if test -n "$aros_host_autoconf"; then
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4125 $as_echo "$aros_host_autoconf" >&6; }
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4128 $as_echo "no" >&6; }
4132 test -n "$aros_host_autoconf" && break
4135 for ac_prog
in autoheader autoheader259 autoheader253
4137 # Extract the first word of "$ac_prog", so it can be a program name with args.
4138 set dummy
$ac_prog; ac_word
=$2
4139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4140 $as_echo_n "checking for $ac_word... " >&6; }
4141 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4142 $as_echo_n "(cached) " >&6
4144 if test -n "$aros_host_autoheader"; then
4145 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4151 test -z "$as_dir" && as_dir
=.
4152 for ac_exec_ext
in '' $ac_executable_extensions; do
4153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4154 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4164 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4165 if test -n "$aros_host_autoheader"; then
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4167 $as_echo "$aros_host_autoheader" >&6; }
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4170 $as_echo "no" >&6; }
4174 test -n "$aros_host_autoheader" && break
4177 for ac_prog
in automake automake19 automake-1.9
4179 # Extract the first word of "$ac_prog", so it can be a program name with args.
4180 set dummy
$ac_prog; ac_word
=$2
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4182 $as_echo_n "checking for $ac_word... " >&6; }
4183 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4184 $as_echo_n "(cached) " >&6
4186 if test -n "$aros_host_automake"; then
4187 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196 ac_cv_prog_aros_host_automake
="$ac_prog"
4197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 aros_host_automake
=$ac_cv_prog_aros_host_automake
4207 if test -n "$aros_host_automake"; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4209 $as_echo "$aros_host_automake" >&6; }
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212 $as_echo "no" >&6; }
4216 test -n "$aros_host_automake" && break
4220 if test "$aros_host_aclocal" = ""; then
4221 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4223 if test "$aros_host_automake" = ""; then
4224 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4227 case "$aros_host_cc" in
4229 aros_host_cc_pipe
="-pipe"
4232 aros_host_cc_pipe
=""
4235 aros_host_cc_pipe
=""
4239 aros_kernel_cc_includes
=""
4240 aros_target_cc_includes
=""
4242 # This is the main host configuration section. It is where the host
4243 # can change the values of any variables it needs to change. We do
4244 # not look at anything that compiles to the target yet, we'll get
4249 aros_host_arch
="aros"
4250 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4253 aros_host_cpu
="i386"
4256 aros_host_cpu
="x86_64"
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_arch
="linux"
4271 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4274 aros_host_cpu
="i386"
4277 aros_host_cpu
="x86_64"
4280 aros_host_cpu
="m68k"
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4290 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4291 aros_host_cpu
="$host_cpu"
4297 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4298 aros_host_make
="gmake"
4299 aros_host_arch
="freebsd"
4300 aros_host_cpu
="i386"
4302 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4306 aros_object_format
="elf_i386"
4310 aros_object_format
="elf_i386_fbsd"
4317 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4318 aros_host_arch
="darwin"
4321 aros_host_cpu
="i386"
4324 aros_host_cpu
="x86_64"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4331 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4332 aros_host_cpu
="$host_cpu"
4336 aros_host_ldflags
="$aros_host_ldflags -liconv"
4341 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4342 aros_host_make
="gmake"
4343 aros_host_arch
="dragonfly"
4346 aros_host_cpu
="i386"
4349 aros_host_cpu
="x86_64"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4353 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4354 aros_host_cpu
="$host_cpu"
4360 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4361 aros_host_make
="gmake"
4362 aros_host_arch
="netbsd"
4365 aros_host_cpu
="i386"
4368 aros_host_cpu
="m68k"
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4372 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4373 aros_host_cpu
="$host_cpu"
4376 aros_host_lib_suffix
=".0.0"
4380 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4381 aros_host_make
="gmake"
4382 aros_host_arch
="openbsd"
4385 aros_host_cpu
="i386"
4388 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4389 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4390 aros_host_cpu
="$host_cpu"
4396 aros_host_arch
="solaris"
4397 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4400 aros_host_cpu
="i386"
4403 aros_host_cpu
="sparc"
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
="morphos"
4419 aros_host_arch
="amiga"
4424 TOUCH
="/gg/bin/touch"
4427 aros_host_cpu
="m68k"
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4434 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4435 aros_host_cpu
="$host_cpu"
4441 aros_host_arch
="cygwin"
4442 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4443 android_build_os
="windows"
4444 android_tool
="android.bat"
4445 default_android_ndk
="/cygdrive/c/android-ndk-r5"
4446 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4450 aros_host_cpu
="i386"
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4454 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4455 aros_host_cpu
="$host_cpu"
4461 aros_host_arch
="mingw32"
4462 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4463 android_build_os
="windows"
4464 android_tool
="android.bat"
4465 default_android_ndk
="/c/android-ndk-r5"
4466 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4470 aros_host_cpu
="i386"
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4474 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4475 aros_host_cpu
="$host_cpu"
4480 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4484 # Extract the first word of "ar", so it can be a program name with args.
4485 set dummy
ar; ac_word
=$2
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4487 $as_echo_n "checking for $ac_word... " >&6; }
4488 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4489 $as_echo_n "(cached) " >&6
4491 if test -n "$aros_host_ar"; then
4492 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4498 test -z "$as_dir" && as_dir
=.
4499 for ac_exec_ext
in '' $ac_executable_extensions; do
4500 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4501 ac_cv_prog_aros_host_ar
="ar cr"
4502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4511 aros_host_ar
=$ac_cv_prog_aros_host_ar
4512 if test -n "$aros_host_ar"; then
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4514 $as_echo "$aros_host_ar" >&6; }
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4517 $as_echo "no" >&6; }
4521 if test "$aros_host_ar" = ""; then
4522 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4524 # Extract the first word of "ranlib", so it can be a program name with args.
4525 set dummy ranlib
; ac_word
=$2
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4527 $as_echo_n "checking for $ac_word... " >&6; }
4528 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4529 $as_echo_n "(cached) " >&6
4531 if test -n "$aros_host_ranlib"; then
4532 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4538 test -z "$as_dir" && as_dir
=.
4539 for ac_exec_ext
in '' $ac_executable_extensions; do
4540 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4541 ac_cv_prog_aros_host_ranlib
="ranlib "
4542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4551 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4552 if test -n "$aros_host_ranlib"; then
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4554 $as_echo "$aros_host_ranlib" >&6; }
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557 $as_echo "no" >&6; }
4561 if test "$aros_host_ranlib" = ""; then
4562 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4564 # Extract the first word of "strip", so it can be a program name with args.
4565 set dummy strip
; ac_word
=$2
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4567 $as_echo_n "checking for $ac_word... " >&6; }
4568 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4569 $as_echo_n "(cached) " >&6
4571 if test -n "$aros_host_strip"; then
4572 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4578 test -z "$as_dir" && as_dir
=.
4579 for ac_exec_ext
in '' $ac_executable_extensions; do
4580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4581 ac_cv_prog_aros_host_strip
="strip "
4582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4591 aros_host_strip
=$ac_cv_prog_aros_host_strip
4592 if test -n "$aros_host_strip"; then
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4594 $as_echo "$aros_host_strip" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4597 $as_echo "no" >&6; }
4601 if test "$aros_host_strip" = ""; then
4602 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4605 # Extract the first word of "rm", so it can be a program name with args.
4606 set dummy
rm; ac_word
=$2
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4608 $as_echo_n "checking for $ac_word... " >&6; }
4609 if test "${ac_cv_prog_RM+set}" = set; then :
4610 $as_echo_n "(cached) " >&6
4612 if test -n "$RM"; then
4613 ac_cv_prog_RM
="$RM" # Let the user override the test.
4615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4619 test -z "$as_dir" && as_dir
=.
4620 for ac_exec_ext
in '' $ac_executable_extensions; do
4621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4622 ac_cv_prog_RM
="rm -rf"
4623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4633 if test -n "$RM"; then
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4635 $as_echo "$RM" >&6; }
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 $as_echo "no" >&6; }
4642 if test "$RM" = ""; then
4643 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4645 # Extract the first word of "cp", so it can be a program name with args.
4646 set dummy
cp; ac_word
=$2
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 $as_echo_n "checking for $ac_word... " >&6; }
4649 if test "${ac_cv_prog_CP+set}" = set; then :
4650 $as_echo_n "(cached) " >&6
4652 if test -n "$CP"; then
4653 ac_cv_prog_CP
="$CP" # Let the user override the test.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4673 if test -n "$CP"; then
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4675 $as_echo "$CP" >&6; }
4677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4678 $as_echo "no" >&6; }
4682 if test "$CP" = ""; then
4683 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4685 # Extract the first word of "mv", so it can be a program name with args.
4686 set dummy
mv; ac_word
=$2
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4688 $as_echo_n "checking for $ac_word... " >&6; }
4689 if test "${ac_cv_prog_MV+set}" = set; then :
4690 $as_echo_n "(cached) " >&6
4692 if test -n "$MV"; then
4693 ac_cv_prog_MV
="$MV" # Let the user override the test.
4695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4699 test -z "$as_dir" && as_dir
=.
4700 for ac_exec_ext
in '' $ac_executable_extensions; do
4701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4713 if test -n "$MV"; then
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4715 $as_echo "$MV" >&6; }
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4718 $as_echo "no" >&6; }
4722 if test "$MV" = ""; then
4723 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4725 # Extract the first word of "echo", so it can be a program name with args.
4726 set dummy
echo; ac_word
=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if test "${ac_cv_prog_ECHO+set}" = set; then :
4730 $as_echo_n "(cached) " >&6
4732 if test -n "$ECHO"; then
4733 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4739 test -z "$as_dir" && as_dir
=.
4740 for ac_exec_ext
in '' $ac_executable_extensions; do
4741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4742 ac_cv_prog_ECHO
="echo "
4743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4752 ECHO
=$ac_cv_prog_ECHO
4753 if test -n "$ECHO"; then
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4755 $as_echo "$ECHO" >&6; }
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 $as_echo "no" >&6; }
4762 if test "$ECHO" = ""; then
4763 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4765 # Extract the first word of "mkdir", so it can be a program name with args.
4766 set dummy mkdir
; ac_word
=$2
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 $as_echo_n "checking for $ac_word... " >&6; }
4769 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4770 $as_echo_n "(cached) " >&6
4772 if test -n "$MKDIR"; then
4773 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4779 test -z "$as_dir" && as_dir
=.
4780 for ac_exec_ext
in '' $ac_executable_extensions; do
4781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4782 ac_cv_prog_MKDIR
="mkdir -p"
4783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4792 MKDIR
=$ac_cv_prog_MKDIR
4793 if test -n "$MKDIR"; then
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4795 $as_echo "$MKDIR" >&6; }
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798 $as_echo "no" >&6; }
4802 if test "$MKDIR" = ""; then
4803 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4805 # Extract the first word of "touch", so it can be a program name with args.
4806 set dummy
touch; ac_word
=$2
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4808 $as_echo_n "checking for $ac_word... " >&6; }
4809 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4810 $as_echo_n "(cached) " >&6
4812 if test -n "$TOUCH"; then
4813 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4819 test -z "$as_dir" && as_dir
=.
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4822 ac_cv_prog_TOUCH
="touch "
4823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4832 TOUCH
=$ac_cv_prog_TOUCH
4833 if test -n "$TOUCH"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4835 $as_echo "$TOUCH" >&6; }
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838 $as_echo "no" >&6; }
4842 if test "$TOUCH" = ""; then
4843 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4845 # Extract the first word of "sort", so it can be a program name with args.
4846 set dummy
sort; ac_word
=$2
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4848 $as_echo_n "checking for $ac_word... " >&6; }
4849 if test "${ac_cv_prog_SORT+set}" = set; then :
4850 $as_echo_n "(cached) " >&6
4852 if test -n "$SORT"; then
4853 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4859 test -z "$as_dir" && as_dir
=.
4860 for ac_exec_ext
in '' $ac_executable_extensions; do
4861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4862 ac_cv_prog_SORT
="sort "
4863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4872 SORT
=$ac_cv_prog_SORT
4873 if test -n "$SORT"; then
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4875 $as_echo "$SORT" >&6; }
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4878 $as_echo "no" >&6; }
4882 if test "$SORT" = ""; then
4883 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4885 # Extract the first word of "uniq", so it can be a program name with args.
4886 set dummy
uniq; ac_word
=$2
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888 $as_echo_n "checking for $ac_word... " >&6; }
4889 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4890 $as_echo_n "(cached) " >&6
4892 if test -n "$UNIQ"; then
4893 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4899 test -z "$as_dir" && as_dir
=.
4900 for ac_exec_ext
in '' $ac_executable_extensions; do
4901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4902 ac_cv_prog_UNIQ
="uniq "
4903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4912 UNIQ
=$ac_cv_prog_UNIQ
4913 if test -n "$UNIQ"; then
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4915 $as_echo "$UNIQ" >&6; }
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4918 $as_echo "no" >&6; }
4922 if test "$UNIQ" = ""; then
4923 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4925 # Extract the first word of "true", so it can be a program name with args.
4926 set dummy true
; ac_word
=$2
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4928 $as_echo_n "checking for $ac_word... " >&6; }
4929 if test "${ac_cv_prog_NOP+set}" = set; then :
4930 $as_echo_n "(cached) " >&6
4932 if test -n "$NOP"; then
4933 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4939 test -z "$as_dir" && as_dir
=.
4940 for ac_exec_ext
in '' $ac_executable_extensions; do
4941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4942 ac_cv_prog_NOP
="true "
4943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4953 if test -n "$NOP"; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4955 $as_echo "$NOP" >&6; }
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4958 $as_echo "no" >&6; }
4962 if test "$NOP" = ""; then
4963 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4965 # Extract the first word of "cat", so it can be a program name with args.
4966 set dummy
cat; ac_word
=$2
4967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4968 $as_echo_n "checking for $ac_word... " >&6; }
4969 if test "${ac_cv_prog_CAT+set}" = set; then :
4970 $as_echo_n "(cached) " >&6
4972 if test -n "$CAT"; then
4973 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4979 test -z "$as_dir" && as_dir
=.
4980 for ac_exec_ext
in '' $ac_executable_extensions; do
4981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4982 ac_cv_prog_CAT
="cat "
4983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4993 if test -n "$CAT"; then
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
4995 $as_echo "$CAT" >&6; }
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4998 $as_echo "no" >&6; }
5002 if test "$CAT" = ""; then
5003 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5005 # Extract the first word of "bison", so it can be a program name with args.
5006 set dummy bison
; ac_word
=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if test "${ac_cv_prog_BISON+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5012 if test -n "$BISON"; then
5013 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022 ac_cv_prog_BISON
="bison "
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 BISON
=$ac_cv_prog_BISON
5033 if test -n "$BISON"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5035 $as_echo "$BISON" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5042 if test "$BISON" = ""; then
5043 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5045 # Extract the first word of "flex", so it can be a program name with args.
5046 set dummy flex
; ac_word
=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if test "${ac_cv_prog_FLEX+set}" = set; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$FLEX"; then
5053 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_exec_ext
in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_FLEX
="flex "
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 FLEX
=$ac_cv_prog_FLEX
5073 if test -n "$FLEX"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5075 $as_echo "$FLEX" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 if test "$FLEX" = ""; then
5083 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5085 # Extract the first word of "pngtopnm", so it can be a program name with args.
5086 set dummy pngtopnm
; ac_word
=$2
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5088 $as_echo_n "checking for $ac_word... " >&6; }
5089 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5090 $as_echo_n "(cached) " >&6
5092 if test -n "$PNGTOPNM"; then
5093 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5102 ac_cv_prog_PNGTOPNM
="pngtopnm "
5103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5112 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5113 if test -n "$PNGTOPNM"; then
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5115 $as_echo "$PNGTOPNM" >&6; }
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5118 $as_echo "no" >&6; }
5122 if test "$PNGTOPNM" = ""; then
5123 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5125 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5126 set dummy ppmtoilbm
; ac_word
=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5130 $as_echo_n "(cached) " >&6
5132 if test -n "$PPMTOILBM"; then
5133 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5139 test -z "$as_dir" && as_dir
=.
5140 for ac_exec_ext
in '' $ac_executable_extensions; do
5141 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5142 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5152 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5153 if test -n "$PPMTOILBM"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5155 $as_echo "$PPMTOILBM" >&6; }
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 if test "$PPMTOILBM" = ""; then
5163 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5165 # Extract the first word of "sed", so it can be a program name with args.
5166 set dummy
sed; ac_word
=$2
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5168 $as_echo_n "checking for $ac_word... " >&6; }
5169 if test "${ac_cv_prog_SED+set}" = set; then :
5170 $as_echo_n "(cached) " >&6
5172 if test -n "$SED"; then
5173 ac_cv_prog_SED
="$SED" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5182 ac_cv_prog_SED
="sed "
5183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 if test -n "$SED"; then
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5195 $as_echo "$SED" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 if test "$SED" = ""; then
5203 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5205 # Extract the first word of "chmod", so it can be a program name with args.
5206 set dummy
chmod; ac_word
=$2
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5208 $as_echo_n "checking for $ac_word... " >&6; }
5209 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5210 $as_echo_n "(cached) " >&6
5212 if test -n "$CHMOD"; then
5213 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5215 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5219 test -z "$as_dir" && as_dir
=.
5220 for ac_exec_ext
in '' $ac_executable_extensions; do
5221 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5222 ac_cv_prog_CHMOD
="chmod "
5223 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5232 CHMOD
=$ac_cv_prog_CHMOD
5233 if test -n "$CHMOD"; then
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5235 $as_echo "$CHMOD" >&6; }
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5238 $as_echo "no" >&6; }
5242 if test "$CHMOD" = ""; then
5243 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5250 if test -n "$PYTHON"; then
5251 # If the user set $PYTHON, use it and don't search something else.
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5253 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
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: $PYTHON -c "$prog"" >&5
5262 ($PYTHON -c "$prog") >&5 2>&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; then :
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5267 $as_echo "yes" >&6; }
5269 as_fn_error
"too old" "$LINENO" 5
5271 am_display_PYTHON
=$PYTHON
5273 # Otherwise, try each interpreter until we find one that satisfies
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5276 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5277 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5278 $as_echo_n "(cached) " >&6
5281 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
5282 test "$am_cv_pathless_PYTHON" = none
&& break
5283 prog
="import sys, string
5284 # split strings by '.' and convert to numeric. Append some zeros
5285 # because we need at least 4 digits for the hex conversion.
5286 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5288 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5289 sys.exit(sys.hexversion < minverhex)"
5290 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5291 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); }; then :
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5300 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5301 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5302 if test "$am_cv_pathless_PYTHON" = none
; then
5305 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5306 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5308 $as_echo_n "checking for $ac_word... " >&6; }
5309 if test "${ac_cv_path_PYTHON+set}" = set; then :
5310 $as_echo_n "(cached) " >&6
5314 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5317 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5321 test -z "$as_dir" && as_dir
=.
5322 for ac_exec_ext
in '' $ac_executable_extensions; do
5323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5324 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5335 PYTHON
=$ac_cv_path_PYTHON
5336 if test -n "$PYTHON"; then
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5338 $as_echo "$PYTHON" >&6; }
5340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5341 $as_echo "no" >&6; }
5346 am_display_PYTHON
=$am_cv_pathless_PYTHON
5350 if test "$PYTHON" = :; then
5351 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5356 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5357 if test "${am_cv_python_version+set}" = set; then :
5358 $as_echo_n "(cached) " >&6
5360 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5363 $as_echo "$am_cv_python_version" >&6; }
5364 PYTHON_VERSION
=$am_cv_python_version
5368 PYTHON_PREFIX
='${prefix}'
5370 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5375 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5376 if test "${am_cv_python_platform+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5379 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5382 $as_echo "$am_cv_python_platform" >&6; }
5383 PYTHON_PLATFORM
=$am_cv_python_platform
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5389 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5390 if test "${am_cv_python_pythondir+set}" = set; then :
5391 $as_echo_n "(cached) " >&6
5393 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5394 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5397 $as_echo "$am_cv_python_pythondir" >&6; }
5398 pythondir
=$am_cv_python_pythondir
5402 pkgpythondir
=\
${pythondir}/$PACKAGE
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5406 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5407 if test "${am_cv_python_pyexecdir+set}" = set; then :
5408 $as_echo_n "(cached) " >&6
5410 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5411 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5414 $as_echo "$am_cv_python_pyexecdir" >&6; }
5415 pyexecdir
=$am_cv_python_pyexecdir
5419 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5437 # Check for some includes for the X11 HIDD and the kernel
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5441 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5442 if test "${ac_cv_path_GREP+set}" = set; then :
5443 $as_echo_n "(cached) " >&6
5445 if test -z "$GREP"; then
5446 ac_path_GREP_found
=false
5447 # Loop through the user's path and test for each of PROGNAME-LIST
5448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5449 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5452 test -z "$as_dir" && as_dir
=.
5453 for ac_prog
in grep ggrep
; do
5454 for ac_exec_ext
in '' $ac_executable_extensions; do
5455 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5456 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5457 # Check for GNU ac_path_GREP and select it if it is found.
5458 # Check for GNU $ac_path_GREP
5459 case `"$ac_path_GREP" --version 2>&1` in
5461 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5464 $as_echo_n 0123456789 >"conftest.in"
5467 cat "conftest.in" "conftest.in" >"conftest.tmp"
5468 mv "conftest.tmp" "conftest.in"
5469 cp "conftest.in" "conftest.nl"
5470 $as_echo 'GREP' >> "conftest.nl"
5471 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5472 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5473 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5474 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5475 # Best one so far, save it but keep looking for a better one
5476 ac_cv_path_GREP
="$ac_path_GREP"
5477 ac_path_GREP_max
=$ac_count
5479 # 10*(2^10) chars as input seems more than enough
5480 test $ac_count -gt 10 && break
5482 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5485 $ac_path_GREP_found && break 3
5490 if test -z "$ac_cv_path_GREP"; then
5491 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5494 ac_cv_path_GREP
=$GREP
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5499 $as_echo "$ac_cv_path_GREP" >&6; }
5500 GREP
="$ac_cv_path_GREP"
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5504 $as_echo_n "checking for egrep... " >&6; }
5505 if test "${ac_cv_path_EGREP+set}" = set; then :
5506 $as_echo_n "(cached) " >&6
5508 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5509 then ac_cv_path_EGREP
="$GREP -E"
5511 if test -z "$EGREP"; then
5512 ac_path_EGREP_found
=false
5513 # Loop through the user's path and test for each of PROGNAME-LIST
5514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5515 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5518 test -z "$as_dir" && as_dir
=.
5519 for ac_prog
in egrep; do
5520 for ac_exec_ext
in '' $ac_executable_extensions; do
5521 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5522 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5523 # Check for GNU ac_path_EGREP and select it if it is found.
5524 # Check for GNU $ac_path_EGREP
5525 case `"$ac_path_EGREP" --version 2>&1` in
5527 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5530 $as_echo_n 0123456789 >"conftest.in"
5533 cat "conftest.in" "conftest.in" >"conftest.tmp"
5534 mv "conftest.tmp" "conftest.in"
5535 cp "conftest.in" "conftest.nl"
5536 $as_echo 'EGREP' >> "conftest.nl"
5537 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5538 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5539 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5540 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5541 # Best one so far, save it but keep looking for a better one
5542 ac_cv_path_EGREP
="$ac_path_EGREP"
5543 ac_path_EGREP_max
=$ac_count
5545 # 10*(2^10) chars as input seems more than enough
5546 test $ac_count -gt 10 && break
5548 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5551 $ac_path_EGREP_found && break 3
5556 if test -z "$ac_cv_path_EGREP"; then
5557 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5560 ac_cv_path_EGREP
=$EGREP
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5566 $as_echo "$ac_cv_path_EGREP" >&6; }
5567 EGREP
="$ac_cv_path_EGREP"
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5571 $as_echo_n "checking for ANSI C header files... " >&6; }
5572 if test "${ac_cv_header_stdc+set}" = set; then :
5573 $as_echo_n "(cached) " >&6
5575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5576 /* end confdefs.h. */
5590 if ac_fn_c_try_compile
"$LINENO"; then :
5591 ac_cv_header_stdc
=yes
5593 ac_cv_header_stdc
=no
5595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5597 if test $ac_cv_header_stdc = yes; then
5598 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5599 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5600 /* end confdefs.h. */
5604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5605 $EGREP "memchr" >/dev
/null
2>&1; then :
5608 ac_cv_header_stdc
=no
5614 if test $ac_cv_header_stdc = yes; then
5615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5616 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5617 /* end confdefs.h. */
5621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5622 $EGREP "free" >/dev
/null
2>&1; then :
5625 ac_cv_header_stdc
=no
5631 if test $ac_cv_header_stdc = yes; then
5632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5633 if test "$cross_compiling" = yes; then :
5636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5637 /* end confdefs.h. */
5640 #if ((' ' & 0x0FF) == 0x020)
5641 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5642 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5644 # define ISLOWER(c) \
5645 (('a' <= (c) && (c) <= 'i') \
5646 || ('j' <= (c) && (c) <= 'r') \
5647 || ('s' <= (c) && (c) <= 'z'))
5648 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5651 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5656 for (i = 0; i < 256; i++)
5657 if (XOR (islower (i), ISLOWER (i))
5658 || toupper (i) != TOUPPER (i))
5663 if ac_fn_c_try_run
"$LINENO"; then :
5666 ac_cv_header_stdc
=no
5668 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5669 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5675 $as_echo "$ac_cv_header_stdc" >&6; }
5676 if test $ac_cv_header_stdc = yes; then
5678 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5682 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5683 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5684 inttypes.h stdint.h unistd.h
5686 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5687 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5689 eval as_val
=\$
$as_ac_Header
5690 if test "x$as_val" = x
""yes; then :
5691 cat >>confdefs.h
<<_ACEOF
5692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5700 for ac_header
in sys
/ipc.h sys
/shm.h \
5701 sys
/mmap.h sys
/mman.h sysexits.h \
5702 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5705 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5706 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5707 eval as_val
=\$
$as_ac_Header
5708 if test "x$as_val" = x
""yes; then :
5709 cat >>confdefs.h
<<_ACEOF
5710 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5718 for ac_header
in sys
/mount.h
5720 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5722 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5723 cat >>confdefs.h
<<_ACEOF
5724 #define HAVE_SYS_MOUNT_H 1
5733 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5734 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5736 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5737 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5738 $as_echo_n "(cached) " >&6
5740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5742 #include <sys/types.h>
5754 if ac_fn_c_try_compile
"$LINENO"; then :
5755 eval "$as_ac_Header=yes"
5757 eval "$as_ac_Header=no"
5759 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5761 eval ac_res
=\$
$as_ac_Header
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5763 $as_echo "$ac_res" >&6; }
5764 eval as_val
=\$
$as_ac_Header
5765 if test "x$as_val" = x
""yes; then :
5766 cat >>confdefs.h
<<_ACEOF
5767 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5770 ac_header_dirent
=$ac_hdr; break
5774 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5775 if test $ac_header_dirent = dirent.h
; then
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5777 $as_echo_n "checking for library containing opendir... " >&6; }
5778 if test "${ac_cv_search_opendir+set}" = set; then :
5779 $as_echo_n "(cached) " >&6
5781 ac_func_search_save_LIBS
=$LIBS
5782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5785 /* Override any GCC internal prototype to avoid an error.
5786 Use char because int might match the return type of a GCC
5787 builtin and then its argument prototype would still apply. */
5800 for ac_lib
in '' dir
; do
5801 if test -z "$ac_lib"; then
5802 ac_res
="none required"
5805 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5807 if ac_fn_c_try_link
"$LINENO"; then :
5808 ac_cv_search_opendir
=$ac_res
5810 rm -f core conftest.err conftest.
$ac_objext \
5812 if test "${ac_cv_search_opendir+set}" = set; then :
5816 if test "${ac_cv_search_opendir+set}" = set; then :
5819 ac_cv_search_opendir
=no
5822 LIBS
=$ac_func_search_save_LIBS
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5825 $as_echo "$ac_cv_search_opendir" >&6; }
5826 ac_res
=$ac_cv_search_opendir
5827 if test "$ac_res" != no
; then :
5828 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5834 $as_echo_n "checking for library containing opendir... " >&6; }
5835 if test "${ac_cv_search_opendir+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5838 ac_func_search_save_LIBS
=$LIBS
5839 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5840 /* end confdefs.h. */
5842 /* Override any GCC internal prototype to avoid an error.
5843 Use char because int might match the return type of a GCC
5844 builtin and then its argument prototype would still apply. */
5857 for ac_lib
in '' x
; do
5858 if test -z "$ac_lib"; then
5859 ac_res
="none required"
5862 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5864 if ac_fn_c_try_link
"$LINENO"; then :
5865 ac_cv_search_opendir
=$ac_res
5867 rm -f core conftest.err conftest.
$ac_objext \
5869 if test "${ac_cv_search_opendir+set}" = set; then :
5873 if test "${ac_cv_search_opendir+set}" = set; then :
5876 ac_cv_search_opendir
=no
5879 LIBS
=$ac_func_search_save_LIBS
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5882 $as_echo "$ac_cv_search_opendir" >&6; }
5883 ac_res
=$ac_cv_search_opendir
5884 if test "$ac_res" != no
; then :
5885 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5892 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5893 if test "${ac_cv_header_stat_broken+set}" = set; then :
5894 $as_echo_n "(cached) " >&6
5896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5898 #include <sys/types.h>
5899 #include <sys/stat.h>
5901 #if defined S_ISBLK && defined S_IFDIR
5902 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5905 #if defined S_ISBLK && defined S_IFCHR
5906 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5909 #if defined S_ISLNK && defined S_IFREG
5910 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5913 #if defined S_ISSOCK && defined S_IFREG
5914 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5918 if ac_fn_c_try_compile
"$LINENO"; then :
5919 ac_cv_header_stat_broken
=no
5921 ac_cv_header_stat_broken
=yes
5923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5926 $as_echo "$ac_cv_header_stat_broken" >&6; }
5927 if test $ac_cv_header_stat_broken = yes; then
5929 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5934 $as_echo_n "checking for ANSI C header files... " >&6; }
5935 if test "${ac_cv_header_stdc+set}" = set; then :
5936 $as_echo_n "(cached) " >&6
5938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5939 /* end confdefs.h. */
5953 if ac_fn_c_try_compile
"$LINENO"; then :
5954 ac_cv_header_stdc
=yes
5956 ac_cv_header_stdc
=no
5958 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5960 if test $ac_cv_header_stdc = yes; then
5961 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5963 /* end confdefs.h. */
5967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5968 $EGREP "memchr" >/dev
/null
2>&1; then :
5971 ac_cv_header_stdc
=no
5977 if test $ac_cv_header_stdc = yes; then
5978 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5980 /* end confdefs.h. */
5984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5985 $EGREP "free" >/dev
/null
2>&1; then :
5988 ac_cv_header_stdc
=no
5994 if test $ac_cv_header_stdc = yes; then
5995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5996 if test "$cross_compiling" = yes; then :
5999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6000 /* end confdefs.h. */
6003 #if ((' ' & 0x0FF) == 0x020)
6004 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6005 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6007 # define ISLOWER(c) \
6008 (('a' <= (c) && (c) <= 'i') \
6009 || ('j' <= (c) && (c) <= 'r') \
6010 || ('s' <= (c) && (c) <= 'z'))
6011 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6014 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6019 for (i = 0; i < 256; i++)
6020 if (XOR (islower (i), ISLOWER (i))
6021 || toupper (i) != TOUPPER (i))
6026 if ac_fn_c_try_run
"$LINENO"; then :
6029 ac_cv_header_stdc
=no
6031 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6032 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6038 $as_echo "$ac_cv_header_stdc" >&6; }
6039 if test $ac_cv_header_stdc = yes; then
6041 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6046 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6047 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6048 $as_echo_n "(cached) " >&6
6050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6051 /* end confdefs.h. */
6052 #include <sys/types.h>
6053 #include <sys/wait.h>
6055 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6058 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6066 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6071 if ac_fn_c_try_compile
"$LINENO"; then :
6072 ac_cv_header_sys_wait_h
=yes
6074 ac_cv_header_sys_wait_h
=no
6076 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6079 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6080 if test $ac_cv_header_sys_wait_h = yes; then
6082 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6087 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6088 if test "${ac_cv_header_time+set}" = set; then :
6089 $as_echo_n "(cached) " >&6
6091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6092 /* end confdefs.h. */
6093 #include <sys/types.h>
6094 #include <sys/time.h>
6100 if ((struct tm *) 0)
6106 if ac_fn_c_try_compile
"$LINENO"; then :
6107 ac_cv_header_time
=yes
6109 ac_cv_header_time
=no
6111 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6114 $as_echo "$ac_cv_header_time" >&6; }
6115 if test $ac_cv_header_time = yes; then
6117 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6121 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6122 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6124 cat >>confdefs.h
<<_ACEOF
6125 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6129 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6134 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6135 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6137 cat >>confdefs.h
<<_ACEOF
6138 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6142 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6145 case " $LIBOBJS " in
6146 *" fileblocks.$ac_objext "* ) ;;
6147 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6154 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6155 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6157 cat >>confdefs.h
<<_ACEOF
6158 #define HAVE_STRUCT_STAT_ST_RDEV 1
6162 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6168 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6169 if test "${ac_cv_struct_tm+set}" = set; then :
6170 $as_echo_n "(cached) " >&6
6172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6173 /* end confdefs.h. */
6174 #include <sys/types.h>
6181 int *p = &tm.tm_sec;
6187 if ac_fn_c_try_compile
"$LINENO"; then :
6188 ac_cv_struct_tm
=time.h
6190 ac_cv_struct_tm
=sys
/time.h
6192 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6195 $as_echo "$ac_cv_struct_tm" >&6; }
6196 if test $ac_cv_struct_tm = sys
/time.h
; then
6198 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6202 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6203 #include <$ac_cv_struct_tm>
6206 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6208 cat >>confdefs.h
<<_ACEOF
6209 #define HAVE_STRUCT_TM_TM_ZONE 1
6215 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6217 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6220 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6222 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6228 cat >>confdefs.h
<<_ACEOF
6229 #define HAVE_DECL_TZNAME $ac_have_decl
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6233 $as_echo_n "checking for tzname... " >&6; }
6234 if test "${ac_cv_var_tzname+set}" = set; then :
6235 $as_echo_n "(cached) " >&6
6237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6238 /* end confdefs.h. */
6240 #if !HAVE_DECL_TZNAME
6241 extern char *tzname[];
6247 return tzname[0][0];
6252 if ac_fn_c_try_link
"$LINENO"; then :
6253 ac_cv_var_tzname
=yes
6257 rm -f core conftest.err conftest.
$ac_objext \
6258 conftest
$ac_exeext conftest.
$ac_ext
6260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6261 $as_echo "$ac_cv_var_tzname" >&6; }
6262 if test $ac_cv_var_tzname = yes; then
6264 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6269 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6270 if test "x$ac_cv_type_off_t" = x
""yes; then :
6274 cat >>confdefs.h
<<_ACEOF
6275 #define off_t long int
6280 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6281 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6285 cat >>confdefs.h
<<_ACEOF
6291 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6292 if test "x$ac_cv_type_size_t" = x
""yes; then :
6296 cat >>confdefs.h
<<_ACEOF
6297 #define size_t unsigned int
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6303 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6304 if test "${ac_cv_type_uid_t+set}" = set; then :
6305 $as_echo_n "(cached) " >&6
6307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6308 /* end confdefs.h. */
6309 #include <sys/types.h>
6312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6313 $EGREP "uid_t" >/dev
/null
2>&1; then :
6314 ac_cv_type_uid_t
=yes
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6322 $as_echo "$ac_cv_type_uid_t" >&6; }
6323 if test $ac_cv_type_uid_t = no
; then
6325 $as_echo "#define uid_t int" >>confdefs.h
6328 $as_echo "#define gid_t int" >>confdefs.h
6333 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6334 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6336 cat >>confdefs.h
<<_ACEOF
6337 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6344 # Look for some functions
6345 for ac_func
in getpagesize kqueue statfs statvfs \
6346 clone kse_create rfork_thread thr_create sa_register \
6347 getcontext makecontext setcontext sigaltstack swapcontext
6349 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6350 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6351 eval as_val
=\$
$as_ac_var
6352 if test "x$as_val" = x
""yes; then :
6353 cat >>confdefs.h
<<_ACEOF
6354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6364 for ac_header
in $ac_header_list
6366 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6367 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6369 eval as_val
=\$
$as_ac_Header
6370 if test "x$as_val" = x
""yes; then :
6371 cat >>confdefs.h
<<_ACEOF
6372 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6386 for ac_func
in getpagesize
6388 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6389 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6390 cat >>confdefs.h
<<_ACEOF
6391 #define HAVE_GETPAGESIZE 1
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6398 $as_echo_n "checking for working mmap... " >&6; }
6399 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6400 $as_echo_n "(cached) " >&6
6402 if test "$cross_compiling" = yes; then :
6403 ac_cv_func_mmap_fixed_mapped
=no
6405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6407 $ac_includes_default
6408 /* malloc might have been renamed as rpl_malloc. */
6411 /* Thanks to Mike Haertel and Jim Avera for this test.
6412 Here is a matrix of mmap possibilities:
6413 mmap private not fixed
6414 mmap private fixed at somewhere currently unmapped
6415 mmap private fixed at somewhere already mapped
6416 mmap shared not fixed
6417 mmap shared fixed at somewhere currently unmapped
6418 mmap shared fixed at somewhere already mapped
6419 For private mappings, we should verify that changes cannot be read()
6420 back from the file, nor mmap's back from the file at a different
6421 address. (There have been systems where private was not correctly
6422 implemented like the infamous i386 svr4.0, and systems where the
6423 VM page cache was not coherent with the file system buffer cache
6424 like early versions of FreeBSD and possibly contemporary NetBSD.)
6425 For shared mappings, we should conversely verify that changes get
6426 propagated back to all the places they're supposed to be.
6428 Grep wants private fixed already mapped.
6429 The main things grep needs to know about mmap are:
6430 * does it exist and is it safe to write into the mmap'd area
6431 * how to use it (BSD variants) */
6434 #include <sys/mman.h>
6436 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6440 /* This mess was copied from the GNU getpagesize.h. */
6441 #ifndef HAVE_GETPAGESIZE
6442 # ifdef _SC_PAGESIZE
6443 # define getpagesize() sysconf(_SC_PAGESIZE)
6444 # else /* no _SC_PAGESIZE */
6445 # ifdef HAVE_SYS_PARAM_H
6446 # include <sys/param.h>
6447 # ifdef EXEC_PAGESIZE
6448 # define getpagesize() EXEC_PAGESIZE
6449 # else /* no EXEC_PAGESIZE */
6451 # define getpagesize() NBPG * CLSIZE
6454 # endif /* no CLSIZE */
6455 # else /* no NBPG */
6457 # define getpagesize() NBPC
6458 # else /* no NBPC */
6460 # define getpagesize() PAGESIZE
6461 # endif /* PAGESIZE */
6462 # endif /* no NBPC */
6463 # endif /* no NBPG */
6464 # endif /* no EXEC_PAGESIZE */
6465 # else /* no HAVE_SYS_PARAM_H */
6466 # define getpagesize() 8192 /* punt totally */
6467 # endif /* no HAVE_SYS_PARAM_H */
6468 # endif /* no _SC_PAGESIZE */
6470 #endif /* no HAVE_GETPAGESIZE */
6475 char *data, *data2, *data3;
6479 pagesize = getpagesize ();
6481 /* First, make a file with some known garbage in it. */
6482 data = (char *) malloc (pagesize);
6485 for (i = 0; i < pagesize; ++i)
6486 *(data + i) = rand ();
6488 fd = creat ("conftest.mmap", 0600);
6491 if (write (fd, data, pagesize) != pagesize)
6495 /* Next, check that the tail of a page is zero-filled. File must have
6496 non-zero length, otherwise we risk SIGBUS for entire page. */
6497 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6501 if (write (fd2, data2, 1) != 1)
6503 data2 = mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6504 if (data2 == MAP_FAILED)
6506 for (i = 0; i < pagesize; ++i)
6510 if (munmap (data2, pagesize))
6513 /* Next, try to mmap the file at a fixed address which already has
6514 something else allocated at it. If we can, also make sure that
6515 we see the same garbage. */
6516 fd = open ("conftest.mmap", O_RDWR);
6519 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6520 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6522 for (i = 0; i < pagesize; ++i)
6523 if (*(data + i) != *(data2 + i))
6526 /* Finally, make sure that changes to the mapped area do not
6527 percolate back to the file as seen by read(). (This is a bug on
6528 some variants of i386 svr4.0.) */
6529 for (i = 0; i < pagesize; ++i)
6530 *(data2 + i) = *(data2 + i) + 1;
6531 data3 = (char *) malloc (pagesize);
6534 if (read (fd, data3, pagesize) != pagesize)
6536 for (i = 0; i < pagesize; ++i)
6537 if (*(data + i) != *(data3 + i))
6543 if ac_fn_c_try_run
"$LINENO"; then :
6544 ac_cv_func_mmap_fixed_mapped
=yes
6546 ac_cv_func_mmap_fixed_mapped
=no
6548 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6549 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6554 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6555 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6557 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6560 rm -f conftest.mmap conftest.txt
6565 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6566 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6567 aros_config_ldflags
=""
6569 aros_shared_default
=yes
6571 aros_shared_cflags
="-fPIC"
6572 aros_shared_aflags
=""
6573 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6574 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6576 aros_target_ar_flags
="cr"
6577 aros_target_nm_flags
="-C -ul"
6578 aros_target_strip_flags
="--strip-unneeded -R.comment"
6583 aros_target_genmap
="-Wl,-Map -Xlinker"
6585 # Native flavour stuff
6586 aros_serial_debug
="0"
6588 # Palm native flavour stuff
6589 aros_palm_debug_hack
="0"
6591 # Unix flavour stuff
6592 aros_nesting_supervisor
="0"
6594 # Collect-aros stuff: "-ius" to ignore undefined symbols
6595 ignore_undefined_symbols
=""
6597 # Check for X11 by default
6600 #-----------------------------------------------------------------------------
6603 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6604 # it switched on by default, and we use the host compiler, so it compiles AROS
6605 # code with this enabled resulting in link failures as we don't have support
6608 # We use two methods to disable it. For the host compiler (used to compile
6609 # some hosted modules), we test to see if the compiler supports stack
6610 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6611 # work on all platforms.
6613 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6614 # (this is done unconditionally, as it should have no effect on compilers
6615 # without the stack protection feature). This may be specific to the way that
6616 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6617 # strong enough to disable it in a generic way though, so we'll live with it
6618 # until another vendor ships GCC with it enabled in a different way, and deal
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6623 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6624 save_cflags
="$CFLAGS"
6625 CFLAGS
="$CFLAGS -fno-stack-protector"
6626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6627 /* end confdefs.h. */
6637 if ac_fn_c_try_compile
"$LINENO"; then :
6638 use_no_stack_protector
="yes"
6640 use_no_stack_protector
="no"
6642 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6644 $as_echo "$use_no_stack_protector" >&6; }
6645 if test "x-$use_no_stack_protector" = "x-yes" ; then
6646 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6648 CFLAGS
="$save_cflags"
6650 #-----------------------------------------------------------------------------
6652 # Disable pointer-signedness warnings if the compiler recognises the option
6653 # (this only works for the host compiler at the moment)
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6656 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6657 save_cflags
="$CFLAGS"
6658 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6670 if ac_fn_c_try_compile
"$LINENO"; then :
6671 use_no_sign_warning
="yes"
6673 use_no_sign_warning
="no"
6675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6677 $as_echo "$use_no_sign_warning" >&6; }
6678 if test "x-$use_no_sign_warning" = "x-yes" ; then
6679 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6681 CFLAGS
="$save_cflags"
6683 #-----------------------------------------------------------------------------
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6686 $as_echo_n "checking for type of build... " >&6; }
6687 # Check whether --enable-build_type was given.
6688 if test "${enable_build_type+set}" = set; then :
6689 enableval
=$enable_build_type; build_type
=$enableval
6691 build_type
="personal"
6695 if test "$build_type" = "nightly"; then
6696 build_type_string
="NIGHTLY"
6697 elif test "$build_type" = "snapshot"; then
6698 build_type_string
="SNAPSHOT"
6699 elif test "$build_type" = "milestone"; then
6700 build_type_string
="MILESTONE"
6701 elif test "$build_type" = "release"; then
6702 build_type_string
="RELEASE"
6704 build_type_string
="PERSONAL"
6705 build_type
="personal"
6708 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6711 $as_echo "$build_type" >&6; }
6713 #-----------------------------------------------------------------------------
6714 all_debug_types
="messages stack modules mungwall symbols"
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6717 $as_echo_n "checking which debug types to enable... " >&6; }
6718 # Check whether --enable-debug was given.
6719 if test "${enable_debug+set}" = set; then :
6720 enableval
=$enable_debug; debug
="$enableval"
6726 if test "$debug" = "" -o "$debug" = "no"; then
6728 elif test "$debug" = "yes"; then
6732 if test "$debug" = "all" ; then
6733 debug
="messages stack modules symbols"
6734 for d
in $all_debug_types; do
6735 export aros_
${d}_debug
="1"
6738 for d
in $all_debug_types; do
6739 export aros_
${d}_debug
="0"
6743 if test "$debug" != "none"; then
6744 debug
=`echo $debug | sed s/,/\ /g`
6747 for d2
in $all_debug_types; do
6748 if test "$d2" = "$d"; then
6753 if test "$found" = "0"; then
6754 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6756 export aros_
${d}_debug
="1"
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6761 $as_echo "$debug" >&6; }
6763 if test "$aros_messages_debug" = "1"; then
6764 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6766 aros_messages_debug
=""
6768 if test "$aros_symbols_debug" = "1"; then
6769 aros_symbols_debug
="-g"
6771 aros_symbols_debug
=""
6774 # These are the flags to pass when compiling debugged programs
6775 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6776 aros_debug_aflags
=""
6777 aros_debug_ldflags
="$aros_symbols_debug"
6779 aros_crosstools
="no"
6781 #-----------------------------------------------------------------------------
6782 # Checking if we should build crosstools..
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6784 $as_echo_n "checking whether to build crosstools... " >&6; }
6785 # Check whether --enable-crosstools was given.
6786 if test "${enable_crosstools+set}" = set; then :
6787 enableval
=$enable_crosstools; crosstools
="$enableval"
6792 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6794 $as_echo "yes" >&6; }
6795 aros_crosstools
="yes"
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6801 #-----------------------------------------------------------------------------
6802 # Checking for distcc and ccache.
6804 # Always apply the transforms in this particular order. Basically you should
6805 # always run 'ccache distcc compiler' in that order for the best performance.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6808 $as_echo_n "checking whether to enable distcc... " >&6; }
6809 # Check whether --enable-distcc was given.
6810 if test "${enable_distcc+set}" = set; then :
6811 enableval
=$enable_distcc; distcc
="$enableval"
6816 if test "$distcc" != "" -a "$distcc" != "no"; then
6817 # AC_CHECK_PROG will print out the result in this case
6818 # Extract the first word of "distcc", so it can be a program name with args.
6819 set dummy distcc
; ac_word
=$2
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6821 $as_echo_n "checking for $ac_word... " >&6; }
6822 if test "${ac_cv_path_DISTCC+set}" = set; then :
6823 $as_echo_n "(cached) " >&6
6827 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6834 test -z "$as_dir" && as_dir
=.
6835 for ac_exec_ext
in '' $ac_executable_extensions; do
6836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6837 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6845 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6849 DISTCC
=$ac_cv_path_DISTCC
6850 if test -n "$DISTCC"; then
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6852 $as_echo "$DISTCC" >&6; }
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6855 $as_echo "no" >&6; }
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6861 $as_echo "no" >&6; }
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6865 $as_echo_n "checking whether to enable ccache... " >&6; }
6866 # Check whether --enable-ccache was given.
6867 if test "${enable_ccache+set}" = set; then :
6868 enableval
=$enable_ccache; ccache
="$enableval"
6873 if test "$ccache" != "" -a "$ccache" != "no"; then
6874 # AC_CHECK_PROG will print out the result in this case
6875 # Extract the first word of "ccache", so it can be a program name with args.
6876 set dummy ccache
; ac_word
=$2
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6878 $as_echo_n "checking for $ac_word... " >&6; }
6879 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6882 if test -n "$CCACHE"; then
6883 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6889 test -z "$as_dir" && as_dir
=.
6890 for ac_exec_ext
in '' $ac_executable_extensions; do
6891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6892 ac_cv_prog_CCACHE
="ccache"
6893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6902 CCACHE
=$ac_cv_prog_CCACHE
6903 if test -n "$CCACHE"; then
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6905 $as_echo "$CCACHE" >&6; }
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6908 $as_echo "no" >&6; }
6913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6914 $as_echo "no" >&6; }
6917 #-----------------------------------------------------------------------------
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific gcc version to use" >&5
6919 $as_echo_n "checking what specific gcc version to use... " >&6; }
6921 # Check whether --with-gcc-version was given.
6922 if test "${with_gcc_version+set}" = set; then :
6923 withval
=$with_gcc_version; target_tool_version
="$withval"
6925 target_tool_version
="default"
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
6929 $as_echo "$target_tool_version" >&6; }
6931 #-----------------------------------------------------------------------------
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
6933 $as_echo_n "checking what optimization flags to use... " >&6; }
6935 # Check whether --with-optimization was given.
6936 if test "${with_optimization+set}" = set; then :
6937 withval
=$with_optimization; optimization
="$withval"
6939 optimization
="unknown"
6942 if test "$optimization" = "unknown"; then
6943 if test "$debug" != "none"; then
6949 aros_config_cflags
="$aros_config_cflags $optimization"
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
6951 $as_echo "$optimization" >&6; }
6953 #-----------------------------------------------------------------------------
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
6955 $as_echo_n "checking what paranoia flags to use... " >&6; }
6957 # Check whether --with-paranoia was given.
6958 if test "${with_paranoia+set}" = set; then :
6959 withval
=$with_paranoia; paranoia_flags
="$withval"
6961 paranoia_flags
="default"
6964 if test "$paranoia_flags" = "default"; then
6966 else if test "$paranoia_flags" = "yes"; then
6967 paranoia_flags
="-Wall -Werror"
6969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
6970 $as_echo "$paranoia_flags" >&6; }
6971 aros_paranoia_cflags
="$paranoia_flags"
6973 #-----------------------------------------------------------------------------
6974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
6975 $as_echo_n "checking what target variant to enable... " >&6; }
6976 # Check whether --enable-target_variant was given.
6977 if test "${enable_target_variant+set}" = set; then :
6978 enableval
=$enable_target_variant; target_variant
=$enableval
6983 if test "$target_variant" = ""; then
6984 aros_target_variant
=""
6985 aros_target_suffix
=""
6988 aros_target_variant
="$target_variant"
6989 aros_target_suffix
="-$target_variant"
6991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
6992 $as_echo "$enableval" >&6; }
6994 target_bootloader
="none"
6996 #-----------------------------------------------------------------------------
6997 case "$aros_target_variant" in
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7000 $as_echo_n "checking XCode path... " >&6; }
7002 # Check whether --with-xcode was given.
7003 if test "${with_xcode+set}" = set; then :
7004 withval
=$with_xcode; aros_xcode_path
="$withval"
7006 aros_xcode_path
="/Developer"
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7010 $as_echo "$aros_xcode_path" >&6; }
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7013 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7015 # Check whether --with-ios-version was given.
7016 if test "${with_ios_version+set}" = set; then :
7017 withval
=$with_ios_version; aros_ios_version
="$withval"
7019 aros_ios_version
="3.0"
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7023 $as_echo "$aros_ios_version" >&6; }
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7026 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7028 # Check whether --with-ios-sdk was given.
7029 if test "${with_ios_sdk+set}" = set; then :
7030 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7036 $as_echo "$aros_ios_sdk" >&6; }
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7042 $as_echo_n "checking Android SDK path... " >&6; }
7044 # Check whether --with-sdk was given.
7045 if test "${with_sdk+set}" = set; then :
7046 withval
=$with_sdk; aros_android_sdk
="$withval"
7048 aros_android_sdk
=$default_android_sdk
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7052 $as_echo "$aros_android_sdk" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7055 $as_echo_n "checking Android NDK path... " >&6; }
7057 # Check whether --with-ndk was given.
7058 if test "${with_ndk+set}" = set; then :
7059 withval
=$with_ndk; aros_android_ndk
="$withval"
7061 aros_android_ndk
=$default_android_ndk
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7065 $as_echo "$aros_android_ndk" >&6; }
7067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android version to use" >&5
7068 $as_echo_n "checking what Android version to use... " >&6; }
7070 # Check whether --with-android-version was given.
7071 if test "${with_android_version+set}" = set; then :
7072 withval
=$with_android_version; aros_android_version
="$withval"
7074 aros_android_version
="2.2.1"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_version" >&5
7078 $as_echo "$aros_android_version" >&6; }
7080 export PATH
="$aros_android_sdk/tools:$PATH"
7081 # Extract the first word of "$android_tool", so it can be a program name with args.
7082 set dummy
$android_tool; ac_word
=$2
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 $as_echo_n "checking for $ac_word... " >&6; }
7085 if test "${ac_cv_path_android_tool+set}" = set; then :
7086 $as_echo_n "(cached) " >&6
7088 case $android_tool in
7090 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7093 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7097 test -z "$as_dir" && as_dir
=.
7098 for ac_exec_ext
in '' $ac_executable_extensions; do
7099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7100 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7111 android_tool
=$ac_cv_path_android_tool
7112 if test -n "$android_tool"; then
7113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7114 $as_echo "$android_tool" >&6; }
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7117 $as_echo "no" >&6; }
7121 if test "$android_tool" = ""; then
7122 as_fn_error
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7128 #-----------------------------------------------------------------------------
7129 # This is the target configuration switch.
7130 case "$target_os" in
7132 aros_target_arch
="linux"
7133 aros_target_family
="unix"
7134 case "$target_cpu" in
7136 aros_target_cpu
="m68k"
7137 aros_object_format
="m68kelf"
7138 aros_flavour
="emulcompat"
7139 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7140 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7141 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7142 gcc_target_cpu
="mc68000"
7145 aros_target_cpu
="i386"
7146 aros_object_format
="elf_i386"
7147 aros_flavour
="emulation"
7148 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7149 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7150 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7151 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7152 aros_config_ldflags
="-m32 -march=i486"
7153 aros_kernel_ldflags
="-melf_i386"
7154 aros_default_wbdepth
=8
7155 gcc_target_cpu
="i386"
7156 pci_hidd_target
="hidd-pci-linux"
7159 aros_target_cpu
="x86_64"
7160 aros_object_format
="elf_x86_64"
7161 aros_flavour
="emulation"
7162 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7163 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
7164 aros_default_wbdepth
=8
7165 gcc_target_cpu
="x86_64"
7166 pci_hidd_target
="hidd-pci-linux"
7169 aros_target_cpu
="ppc"
7170 aros_object_format
="elf32ppc"
7171 aros_flavour
="emulation"
7172 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7173 aros_default_wbdepth
=8
7174 gcc_target_cpu
="ppc"
7177 # Same as powerpc, but I need this for the nightly build to work again.
7178 # Actually, the nightly should be made working with powerpc target.
7179 # That just was too much work for the moment, another week or two.
7181 aros_target_cpu
="ppc"
7182 aros_object_format
="elf32ppc"
7183 aros_flavour
="emulation"
7184 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7185 aros_default_wbdepth
=8
7186 gcc_target_cpu
="ppc"
7189 aros_target_cpu
="arm"
7190 aros_object_format
="armelf_linux_eabi"
7191 aros_flavour
="emulation"
7192 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7193 gcc_target_cpu
="arm"
7194 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7195 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7196 aros_arch_libs
="-laeabi"
7199 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7202 case "$aros_target_variant" in
7204 case "$aros_android_version" in
7206 aros_android_level
=android-8
7209 aros_android_level
=android-9
7212 aros_default_wbwidth
=320
7213 aros_default_wbheight
=480
7214 aros_target_cc
="arm-aros-gcc"
7215 aros_target_cxx
="arm-aros-g++"
7216 aros_target_ld
="arm-aros-ld"
7217 aros_target_as
="arm-aros-as"
7218 aros_target_ar
="arm-aros-ar"
7219 aros_target_ranlib
="arm-aros-ranlib"
7220 aros_target_nm
="arm-aros-nm"
7221 aros_target_strip
="arm-aros-strip"
7222 aros_target_objcopy
="arm-aros-objcopy"
7223 aros_target_objdump
="arm-aros-objdump"
7224 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7225 aros_android_ndk
="$aros_android_ndk/platforms/$aros_android_level/arch-arm"
7226 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7227 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7228 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7229 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7231 target_tool_prefix
="arm-linux-androideabi-"
7237 aros_target_arch
="pc"
7238 aros_shared_default
="no"
7239 target_bootloader
="grub2"
7240 case "$target_cpu" in
7242 aros_target_cpu
="i386"
7245 if test "$aros_object_format" = "" ; then
7246 aros_object_format
="elf_i386"
7248 aros_flavour
="standalone"
7249 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7250 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7251 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7252 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7253 aros_config_ldflags
="-m32 -march=i486"
7254 aros_kernel_ldflags
="-melf_i386"
7255 aros_default_wbwidth
=640
7256 aros_default_wbheight
=480
7257 gcc_target_cpu
="i386"
7260 aros_target_cpu
="x86_64"
7262 if test "$aros_object_format" = "" ; then
7263 aros_object_format
="elf_x86_64"
7265 aros_flavour
="standalone"
7266 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7267 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
7268 aros_kernel_ldflags
=""
7269 aros_default_wbwidth
=640
7270 aros_default_wbheight
=480
7271 gcc_target_cpu
="x86_64"
7274 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7280 aros_target_arch
="prep"
7281 aros_shared_default
="no"
7282 aros_target_cpu
="ppc"
7283 aros_object_format
="elf32ppc"
7284 aros_flavour
="ppcnative"
7285 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7286 aros_kernel_ldflags
=""
7287 aros_default_wbwidth
=640
7288 aros_default_wbheight
=480
7289 gcc_target_cpu
="ppc"
7293 aros_target_arch
="freebsd"
7294 aros_target_family
="unix"
7295 aros_target_cpu
="i386"
7296 aros_flavour
="emulation"
7297 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7298 gcc_target_cpu
="i386"
7300 aros_target_strip_flags
="-x"
7304 aros_target_arch
="darwin"
7305 aros_target_family
="unix"
7306 aros_flavour
="emulation"
7307 case "$target_cpu" in
7309 aros_ios_platform
="iPhoneSimulator"
7310 aros_target_cpu
="i386"
7311 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7312 aros_kernel_ldflags
=""
7313 aros_macosx_version
="10.4"
7314 aros_default_wbdepth
=8
7315 gcc_target_cpu
="i386"
7316 aros_object_format
="elf_i386"
7317 aros_target_strip_flags
="-x"
7318 aros_target_cc
="i386-aros-gcc"
7319 aros_target_cxx
="i386-aros-g++"
7320 aros_target_ld
="i386-aros-ld"
7321 aros_target_as
="i386-aros-as"
7322 aros_target_ar
="i386-aros-ar"
7323 aros_target_ranlib
="i386-aros-ranlib"
7324 aros_target_nm
="i386-aros-nm"
7325 aros_target_strip
="i386-aros-strip"
7326 aros_target_objcopy
="i386-aros-objcopy"
7327 aros_target_objdump
="i386-aros-objdump"
7328 target_tool_prefix
="i686-apple-darwin10-"
7329 target_tool_flags
="-m32"
7332 aros_target_cpu
="x86_64"
7333 aros_object_format
="elf_x86_64"
7334 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7335 aros_macosx_version
="10.6"
7336 aros_kernel_cflags
="-m64"
7337 aros_kernel_ldflags
="-m64"
7338 aros_default_wbdepth
=8
7339 gcc_target_cpu
="x86_64"
7341 aros_target_cc
="x86_64-aros-gcc"
7342 aros_target_cxx
="x86_64-aros-g++"
7343 aros_target_ld
="x86_64-aros-ld"
7344 aros_target_as
="x86_64-aros-as"
7345 aros_target_ar
="x86_64-aros-ar"
7346 aros_target_ranlib
="x86_64-aros-ranlib"
7347 aros_target_nm
="x86_64-aros-nm"
7348 aros_target_strip
="x86_64-aros-strip"
7349 aros_target_objcopy
="x86_64-aros-objcopy"
7350 aros_target_objdump
="x86_64-aros-objdump"
7351 target_tool_prefix
="i686-apple-darwin10-"
7354 aros_target_cpu
="ppc"
7355 aros_object_format
="elf32ppc"
7356 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7357 aros_kernel_ldflags
=""
7358 aros_macosx_version
="10.0"
7359 aros_default_wbdepth
=8
7360 gcc_target_cpu
="ppc"
7361 aros_kernel_ld
="ld -arch ppc"
7362 aros_target_cc
="ppc-aros-gcc"
7363 aros_target_cxx
="ppc-aros-g++"
7364 aros_target_ld
="ppc-aros-ld"
7365 aros_target_as
="ppc-aros-as"
7366 aros_target_ar
="ppc-aros-ar"
7367 aros_target_ranlib
="ppc-aros-ranlib"
7368 aros_target_nm
="ppc-aros-nm"
7369 aros_target_strip
="ppc-aros-strip"
7370 aros_target_objcopy
="ppc-aros-objcopy"
7371 aros_target_objdump
="ppc-aros-objdump"
7372 target_tool_prefix
="powerpc-apple-darwin10-"
7375 aros_ios_platform
="iPhoneOS"
7376 aros_target_cpu
="arm"
7377 aros_object_format
="armelf_linux_eabi"
7378 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7379 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7380 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7381 aros_arch_libs
="-laeabi"
7382 aros_default_wbdepth
=8
7383 gcc_target_cpu
="arm"
7384 aros_kernel_ld
="ld -arch armv6"
7385 aros_target_cc
="arm-aros-gcc"
7386 aros_target_cxx
="arm-aros-g++"
7387 aros_target_ld
="arm-aros-ld"
7388 aros_target_as
="arm-aros-as"
7389 aros_target_ar
="arm-aros-ar"
7390 aros_target_ranlib
="arm-aros-ranlib"
7391 aros_target_nm
="arm-aros-nm"
7392 aros_target_strip
="arm-aros-strip"
7393 aros_target_objcopy
="arm-aros-objcopy"
7394 aros_target_objdump
="arm-aros-objdump"
7395 target_tool_prefix
="arm-apple-darwin10-"
7396 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7399 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7402 case "$aros_target_variant" in
7404 aros_default_wbwidth
=320
7405 aros_default_wbheight
=480
7406 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7407 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
7408 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7410 # This is here because it may depend on iOS or SDK version
7411 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7412 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7413 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7416 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7417 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7423 aros_target_arch
="dragonfly"
7424 aros_target_family
="unix"
7425 aros_flavour
="emulation"
7426 case "$target_cpu" in
7428 aros_target_cpu
="i386"
7429 aros_object_format
="elf_i386"
7430 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7433 aros_target_cpu
="x86_64"
7434 aros_object_format
="elf_x86_64"
7435 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7438 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7444 aros_target_arch
="netbsd"
7445 aros_target_family
="unix"
7446 case "$target_cpu" in
7448 aros_target_cpu
="m68k"
7449 aros_object_format
="m68kelf"
7450 aros_flavour
="emulcompat"
7451 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7452 gcc_target_cpu
="mc68000"
7455 aros_target_cpu
="i386"
7456 aros_object_format
="elf_i386"
7457 aros_flavour
="emulation"
7458 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7459 aros_default_wbdepth
=8
7460 gcc_target_cpu
="i386"
7463 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7466 aros_target_genmap
="-Wl,-M -Xlinker >"
7467 aros_flavour
="emulation"
7468 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7472 aros_target_arch
="openbsd"
7473 aros_target_family
="unix"
7474 case "$target_cpu" in
7476 aros_target_cpu
="i386"
7477 aros_object_format
="elf_i386"
7478 aros_flavour
="emulation"
7479 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7480 gcc_target_cpu
="i386"
7483 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7486 aros_target_genmap
="-Wl,-M -Xlinker >"
7487 aros_target_nm_flags
="-u"
7488 aros_flavour
="emulation"
7492 aros_target_arch
="solaris"
7493 aros_target_family
="unix"
7494 case "$target_cpu" in
7496 aros_target_cpu
="i386"
7497 aros_object_format
="elf_i386"
7498 aros_flavour
="emulation"
7499 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7500 aros_default_wbdepth
=8
7501 gcc_target_cpu
="i386"
7504 aros_target_cpu
="sparc"
7505 aros_object_format
="elf_sparc"
7506 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7507 gcc_target_cpu
="sparc"
7510 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7513 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7514 aros_flavour
="emulation"
7518 aros_target_arch
="morphos"
7519 aros_shared_default
="no"
7520 aros_target_cpu
="ppc"
7521 aros_object_format
="elf_ppc"
7522 aros_flavour
="nativecompat"
7523 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7524 gcc_target_cpu
="ppc"
7528 aros_target_arch
="sam440"
7529 aros_shared_default
="no"
7530 aros_target_cpu
="ppc"
7531 aros_object_format
="elf32ppc"
7532 aros_flavour
="ppcnative"
7533 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7534 aros_kernel_ldflags
=""
7535 aros_default_wbwidth
=1024
7536 aros_default_wbheight
=768
7537 aros_default_wbdepth
=24
7538 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7539 gcc_target_cpu
="powerpc"
7543 aros_target_arch
="efika"
7544 aros_shared_default
="no"
7545 aros_target_cpu
="arm"
7546 aros_object_format
="armelf_linux_eabi"
7547 aros_flavour
="standalone"
7548 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7549 aros_kernel_ldflags
=""
7550 aros_default_wbwidth
=1024
7551 aros_default_wbheight
=600
7552 aros_arch_libs
="-laeabi"
7553 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"
7554 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"
7558 aros_target_arch
="chrp"
7559 aros_shared_default
="no"
7560 aros_target_cpu
="ppc"
7561 aros_object_format
="elf32ppc"
7562 aros_flavour
="ppcnative"
7563 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7564 aros_kernel_ldflags
=""
7565 aros_default_wbwidth
=640
7566 aros_default_wbheight
=480
7567 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7568 gcc_target_cpu
="powerpc"
7569 case "$aros_target_variant" in
7571 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7577 aros_target_arch
="amiga"
7578 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7579 aros_shared_default
="no"
7581 case "$target_cpu" in
7583 aros_target_cpu
="m68k"
7584 aros_object_format
="m68kelf"
7585 aros_flavour
="standcompat"
7586 gcc_target_cpu
="m68000"
7587 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -DAROS_CREATE_ROM -DAROS_DOS_PACKETS"
7588 aros_config_aflags
="$aros_config_aflags -g3 -${gcc_target_cpu}"
7589 aros_paranoia_cflags
="$aros_paranoia_cflags -Wno-volatile-register-var"
7590 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
7591 target_tool_prefix
="m68k-elf-"
7592 # Needed to get the correct multilib
7593 aros_config_ldflags
="-${gcc_target_cpu}"
7594 aros_debug_ldflags
="-${gcc_target_cpu}"
7595 aros_shared_ldflags
="-${gcc_target_cpu}"
7596 aros_kernel_ldflags
="-${gcc_target_cpu}"
7597 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7598 aros_target_strip_flags
="-R.comment --strip-debug"
7599 aros_default_wbwidth
=640
7600 aros_default_wbheight
=480
7604 aros_flavour
="native"
7605 gcc_target_cpu
="ppc"
7608 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7614 aros_target_arch
="mingw32"
7615 aros_shared_default
="no"
7616 aros_flavour
="emulation"
7617 aros_shared_cflags
=""
7620 case "$target_cpu" in
7622 aros_target_cpu
="i386"
7623 aros_object_format
="elf_i386"
7624 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7625 aros_default_wbdepth
=8
7626 gcc_target_cpu
="i386"
7627 aros_target_cc
="i386-aros-gcc"
7628 aros_target_cxx
="i386-aros-g++"
7629 aros_target_ld
="i386-aros-ld"
7630 aros_target_as
="i386-aros-as"
7631 aros_target_ar
="i386-aros-ar"
7632 aros_target_ranlib
="i386-aros-ranlib"
7633 aros_target_nm
="i386-aros-nm"
7634 aros_target_strip
="i386-aros-strip"
7635 aros_target_objcopy
="i386-aros-objcopy"
7636 aros_target_objdump
="i386-aros-objdump"
7637 target_tool_prefix
="i386-mingw32-"
7640 aros_target_cpu
="x86_64"
7641 aros_object_format
="elf_x86_64"
7642 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7643 aros_default_wbdepth
=8
7644 gcc_target_cpu
="x86_64"
7645 aros_target_cc
="x86_64-aros-gcc"
7646 aros_target_cxx
="x86_64-aros-g++"
7647 aros_target_ld
="x86_64-aros-ld"
7648 aros_target_as
="x86_64-aros-as"
7649 aros_target_ar
="x86_64-aros-ar"
7650 aros_target_ranlib
="x86_64-aros-ranlib"
7651 aros_target_nm
="x86_64-aros-nm"
7652 aros_target_strip
="x86_64-aros-strip"
7653 aros_target_objcopy
="x86_64-aros-objcopy"
7654 aros_target_objdump
="x86_64-aros-objdump"
7655 target_tool_prefix
="x86_64-w64-mingw32-"
7658 aros_target_cpu
="arm"
7659 aros_object_format
="armelf_linux_eabi"
7660 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7661 aros_arch_libs
="-laeabi"
7662 aros_default_wbdepth
=8
7663 gcc_target_cpu
="arm"
7664 aros_target_cc
="arm-aros-gcc"
7665 aros_target_cxx
="arm-aros-g++"
7666 aros_target_ld
="arm-aros-ld"
7667 aros_target_as
="arm-aros-as"
7668 aros_target_ar
="arm-aros-ar"
7669 aros_target_ranlib
="arm-aros-ranlib"
7670 aros_target_nm
="arm-aros-nm"
7671 aros_target_strip
="arm-aros-strip"
7672 aros_target_objcopy
="arm-aros-objcopy"
7673 aros_target_objdump
="arm-aros-objdump"
7674 target_tool_prefix
="arm-mingw32ce-"
7675 aros_default_wbwidth
=160
7676 aros_default_wbheight
=160
7679 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7682 if test $host_os = "cygwin"; then
7683 aros_kernel_cflags
="-mno-cygwin"
7687 aros_target_arch
="pp"
7688 aros_shared_default
="no"
7689 case "$target_cpu" in
7691 aros_target_cpu
="m68k"
7692 aros_object_format
="m68kelf"
7693 aros_flavour
="palmnative"
7694 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7695 aros_default_wbwidth
=160
7696 aros_default_wbheight
=160
7697 aros_default_wbdepth
=1
7698 aros_target_ar_flags
="cru"
7699 aros_compiler_libs
="-lgcc1"
7700 aros_shared_default
=no
7701 aros_shared_cflags
="-fpic"
7702 aros_shared_aflags
=""
7703 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7704 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7705 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7706 aros_debug_aflags
=""
7707 aros_debug_ldflags
="$aros_symbols_debug"
7708 aros_mungwall_debug
="0"
7709 aros_modules_debug
="0"
7710 gcc_target_cpu
="mc68000"
7711 ignore_undefined_symbols
="-ius"
7714 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7720 aros_target_arch
="mac"
7721 aros_shared_default
="no"
7722 case "$target_cpu" in
7724 aros_target_cpu
="m68k"
7725 aros_object_format
="m68kelf"
7726 aros_flavour
="mac68knative"
7727 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7728 aros_default_wbwidth
=512
7729 aros_default_wbheight
=384
7730 aros_default_wbdepth
=8
7731 aros_target_ar_flags
="cru"
7732 aros_compiler_libs
="-lgcc1"
7733 aros_shared_default
=no
7734 aros_shared_cflags
="-fpic"
7735 aros_shared_aflags
=""
7736 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7737 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7738 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7739 aros_debug_aflags
=""
7740 aros_debug_ldflags
="$aros_symbols_debug"
7741 aros_mungwall_debug
="0"
7742 aros_modules_debug
="0"
7743 gcc_target_cpu
="mc68000"
7744 ignore_undefined_symbols
="-ius"
7747 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7753 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7758 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7760 # Check whether --with-portssources was given.
7761 if test "${with_portssources+set}" = set; then :
7762 withval
=$with_portssources; with_portssrcdir
=$withval
7764 with_portssrcdir
="default"
7767 if test "$with_portssrcdir" = "default"; then
7768 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7770 AROS_PORTSSRCDIR
="$with_portssrcdir"
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7773 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7776 $as_echo_n "checking which bootloader to use... " >&6; }
7778 # Check whether --with-bootloader was given.
7779 if test "${with_bootloader+set}" = set; then :
7780 withval
=$with_bootloader; target_bootloader
=$withval
7782 target_bootloader
=$target_bootloader
7785 if test "$target_bootloader" = "none"; then
7786 aros_target_bootloader
=""
7788 aros_target_bootloader
="$target_bootloader"
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7791 $as_echo "$target_bootloader" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7794 $as_echo_n "checking which icon-set to use... " >&6; }
7796 # Check whether --with-iconset was given.
7797 if test "${with_iconset+set}" = set; then :
7798 withval
=$with_iconset; target_iconset
=$withval
7800 target_iconset
="default"
7803 if test "$target_iconset" = "default"; then
7804 aros_target_iconset
="Gorilla"
7805 target_iconset
="default (Gorilla)"
7807 aros_target_iconset
="$target_iconset"
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7810 $as_echo "$target_iconset" >&6; }
7812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7813 $as_echo_n "checking which GUI Theme to use... " >&6; }
7815 # Check whether --with-theme was given.
7816 if test "${with_theme+set}" = set; then :
7817 withval
=$with_theme; target_guitheme
=$withval
7819 target_guitheme
="default"
7822 if test "$target_guitheme" = "default"; then
7823 aros_target_guitheme
="Ice"
7825 aros_target_guitheme
="$target_guitheme"
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7828 $as_echo "$aros_target_guitheme" >&6; }
7830 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7833 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7836 if test "$aros_host_cpu" == "x86_64" ; then
7837 if test "$aros_target_cpu" == "i386" ; then
7838 if test "$aros_target_arch" != "mingw32"; then
7843 if test "$aros_host_arch" == "darwin" ; then
7844 if test "$aros_target_arch" != "darwin" ; then
7849 # Set prefix for target compiler etc. if we're cross-compiling
7850 # (should possibly be earlier but needs to be after AC_PROG_CC)
7851 if test "$cross_compiling" = "yes" ; then
7852 if test "$target_tool_prefix" = ""; then
7853 target_tool_prefix
=${target_cpu}-elf-
7855 CC
=${target_tool_prefix}gcc
7856 CPP
=${target_tool_prefix}cpp
7857 if test "$target_tool_version" != "default"; then
7858 CC
="$CC-$target_tool_version"
7859 CPP
="$CC-$target_tool_version"
7861 # Extract the first word of "$CC", so it can be a program name with args.
7862 set dummy
$CC; ac_word
=$2
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7864 $as_echo_n "checking for $ac_word... " >&6; }
7865 if test "${ac_cv_path_CC+set}" = set; then :
7866 $as_echo_n "(cached) " >&6
7870 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
7873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7877 test -z "$as_dir" && as_dir
=.
7878 for ac_exec_ext
in '' $ac_executable_extensions; do
7879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7880 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
7881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7892 if test -n "$CC"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7894 $as_echo "$CC" >&6; }
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7901 if test "$CC" = ""; then
7902 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7905 CC
="$CC $target_tool_flags"
7907 #-----------------------------------------------------------------------------
7909 # Disable pointer-signedness warnings if the compiler recognises the option
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7912 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7913 save_cflags
="$CFLAGS"
7914 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7926 if ac_fn_c_try_compile
"$LINENO"; then :
7927 use_no_sign_warning
="yes"
7929 use_no_sign_warning
="no"
7931 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7933 $as_echo "$use_no_sign_warning" >&6; }
7934 if test "x-$use_no_sign_warning" = "x-yes" ; then
7935 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
7937 CFLAGS
="$save_cflags"
7939 #-----------------------------------------------------------------------------
7941 # Find all the tools we need to compile. This could be cross-compiling
7942 # though! If that is the case we use the GNU form of the target and
7943 # simply add this to the front of the binary name. This is rather simple,
7944 # but it should work under most circumstances.
7946 # The default tools are to use the same as the host, but only if the
7947 # host and target CPU are the same. With GCC this is normally enough.
7951 aros_shared_ld
="$aros_host_ld"
7953 aros_target_mkdep
="$aros_host_mkdep"
7954 aros_target_incl_def
="$aros_host_incl"
7956 aros_kernel_cc
="$CC"
7958 # The default tools executables to be linked to.
7959 if test "$aros_target_cc" != ""; then
7960 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
7961 set dummy
$aros_target_cc; ac_word
=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
7965 $as_echo_n "(cached) " >&6
7967 case $aros_target_cc in
7969 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
7972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7976 test -z "$as_dir" && as_dir
=.
7977 for ac_exec_ext
in '' $ac_executable_extensions; do
7978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 aros_target_cc
=$ac_cv_path_aros_target_cc
7991 if test -n "$aros_target_cc"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
7993 $as_echo "$aros_target_cc" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
8000 if test "$aros_target_cc" = ""; then
8001 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8004 if test "$aros_target_ld" != ""; then
8005 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
8006 set dummy
$aros_target_ld; ac_word
=$2
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8008 $as_echo_n "checking for $ac_word... " >&6; }
8009 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
8010 $as_echo_n "(cached) " >&6
8012 case $aros_target_ld in
8014 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
8017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8021 test -z "$as_dir" && as_dir
=.
8022 for ac_exec_ext
in '' $ac_executable_extensions; do
8023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8024 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
8025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8035 aros_target_ld
=$ac_cv_path_aros_target_ld
8036 if test -n "$aros_target_ld"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
8038 $as_echo "$aros_target_ld" >&6; }
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8045 if test "$aros_target_ld" = ""; then
8046 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8050 if test "$crosstools" != "yes"; then
8052 if test "$aros_target_as" = ""; then
8053 if test "$cross_compiling" = "yes" ; then
8054 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8055 set dummy
${target_tool_prefix}as
; ac_word
=$2
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8057 $as_echo_n "checking for $ac_word... " >&6; }
8058 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8059 $as_echo_n "(cached) " >&6
8061 case $aros_target_as_ln in
8063 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8070 test -z "$as_dir" && as_dir
=.
8071 for ac_exec_ext
in '' $ac_executable_extensions; do
8072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8073 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8084 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8085 if test -n "$aros_target_as_ln"; then
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8087 $as_echo "$aros_target_as_ln" >&6; }
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8090 $as_echo "no" >&6; }
8095 if test "$GCC" = "yes"; then
8096 aros_gcc_as
=`$CC -print-prog-name=as`
8097 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8098 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100 $as_echo_n "checking for $ac_word... " >&6; }
8101 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8102 $as_echo_n "(cached) " >&6
8104 case $aros_target_as_ln in
8106 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8110 for as_dir
in `dirname $aros_gcc_as`
8113 test -z "$as_dir" && as_dir
=.
8114 for ac_exec_ext
in '' $ac_executable_extensions; do
8115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8116 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8128 if test -n "$aros_target_as_ln"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8130 $as_echo "$aros_target_as_ln" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8138 if test "$aros_target_as_ln" = ""; then
8139 # Extract the first word of "as", so it can be a program name with args.
8140 set dummy as
; ac_word
=$2
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8142 $as_echo_n "checking for $ac_word... " >&6; }
8143 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8144 $as_echo_n "(cached) " >&6
8146 case $aros_target_as_ln in
8148 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8155 test -z "$as_dir" && as_dir
=.
8156 for ac_exec_ext
in '' $ac_executable_extensions; do
8157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8158 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8169 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8170 if test -n "$aros_target_as_ln"; then
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8172 $as_echo "$aros_target_as_ln" >&6; }
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8175 $as_echo "no" >&6; }
8182 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8183 set dummy
$aros_target_as; ac_word
=$2
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8185 $as_echo_n "checking for $ac_word... " >&6; }
8186 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8187 $as_echo_n "(cached) " >&6
8189 case $aros_target_as_ln in
8191 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8198 test -z "$as_dir" && as_dir
=.
8199 for ac_exec_ext
in '' $ac_executable_extensions; do
8200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8201 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8212 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8213 if test -n "$aros_target_as_ln"; then
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8215 $as_echo "$aros_target_as_ln" >&6; }
8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8218 $as_echo "no" >&6; }
8224 if test "$aros_target_as_ln" = ""; then
8225 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8228 if test "$aros_kernel_ld" = ""; then
8229 if test "$cross_compiling" = "yes" ; then
8230 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8231 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8235 $as_echo_n "(cached) " >&6
8237 case $aros_kernel_ld in
8239 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8242 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8246 test -z "$as_dir" && as_dir
=.
8247 for ac_exec_ext
in '' $ac_executable_extensions; do
8248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8249 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8260 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8261 if test -n "$aros_kernel_ld"; then
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8263 $as_echo "$aros_kernel_ld" >&6; }
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8266 $as_echo "no" >&6; }
8271 if test "$GCC" = "yes"; then
8272 aros_gcc_ld
=`$CC -print-prog-name=ld`
8273 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8274 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8276 $as_echo_n "checking for $ac_word... " >&6; }
8277 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8278 $as_echo_n "(cached) " >&6
8280 case $aros_kernel_ld in
8282 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8285 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8286 for as_dir
in `dirname $aros_gcc_ld`
8289 test -z "$as_dir" && as_dir
=.
8290 for ac_exec_ext
in '' $ac_executable_extensions; do
8291 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8292 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8304 if test -n "$aros_kernel_ld"; then
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8306 $as_echo "$aros_kernel_ld" >&6; }
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8309 $as_echo "no" >&6; }
8314 if test "$aros_kernel_ld" = ""; then
8315 # Extract the first word of "ld", so it can be a program name with args.
8316 set dummy ld
; ac_word
=$2
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8318 $as_echo_n "checking for $ac_word... " >&6; }
8319 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8320 $as_echo_n "(cached) " >&6
8322 case $aros_kernel_ld in
8324 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8331 test -z "$as_dir" && as_dir
=.
8332 for ac_exec_ext
in '' $ac_executable_extensions; do
8333 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8334 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8345 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8346 if test -n "$aros_kernel_ld"; then
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8348 $as_echo "$aros_kernel_ld" >&6; }
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8351 $as_echo "no" >&6; }
8358 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8359 set dummy
$aros_kernel_ld; ac_word
=$2
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8361 $as_echo_n "checking for $ac_word... " >&6; }
8362 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8363 $as_echo_n "(cached) " >&6
8365 case $aros_kernel_ld in
8367 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8374 test -z "$as_dir" && as_dir
=.
8375 for ac_exec_ext
in '' $ac_executable_extensions; do
8376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8377 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8388 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8389 if test -n "$aros_kernel_ld"; then
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8391 $as_echo "$aros_kernel_ld" >&6; }
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8394 $as_echo "no" >&6; }
8400 if test "$aros_kernel_ld" = ""; then
8401 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8404 if test "$aros_target_ar" = ""; then
8405 if test "$cross_compiling" = "yes" ; then
8406 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8407 set dummy
${target_tool_prefix}ar; ac_word
=$2
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8409 $as_echo_n "checking for $ac_word... " >&6; }
8410 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8411 $as_echo_n "(cached) " >&6
8413 case $aros_target_ar_ln in
8415 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8422 test -z "$as_dir" && as_dir
=.
8423 for ac_exec_ext
in '' $ac_executable_extensions; do
8424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8425 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8436 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8437 if test -n "$aros_target_ar_ln"; then
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8439 $as_echo "$aros_target_ar_ln" >&6; }
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8442 $as_echo "no" >&6; }
8447 if test "$GCC" = "yes"; then
8448 aros_gcc_ar
=`$CC -print-prog-name=ar`
8449 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8450 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8452 $as_echo_n "checking for $ac_word... " >&6; }
8453 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8454 $as_echo_n "(cached) " >&6
8456 case $aros_target_ar_ln in
8458 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8462 for as_dir
in `dirname $aros_gcc_ar`
8465 test -z "$as_dir" && as_dir
=.
8466 for ac_exec_ext
in '' $ac_executable_extensions; do
8467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8468 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8479 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8480 if test -n "$aros_target_ar_ln"; then
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8482 $as_echo "$aros_target_ar_ln" >&6; }
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8485 $as_echo "no" >&6; }
8490 if test "$aros_target_ar_ln" = ""; then
8491 # Extract the first word of "ar", so it can be a program name with args.
8492 set dummy
ar; ac_word
=$2
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8494 $as_echo_n "checking for $ac_word... " >&6; }
8495 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8496 $as_echo_n "(cached) " >&6
8498 case $aros_target_ar_ln in
8500 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8507 test -z "$as_dir" && as_dir
=.
8508 for ac_exec_ext
in '' $ac_executable_extensions; do
8509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8510 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8521 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8522 if test -n "$aros_target_ar_ln"; then
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8524 $as_echo "$aros_target_ar_ln" >&6; }
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8527 $as_echo "no" >&6; }
8534 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8535 set dummy
$aros_target_ar; ac_word
=$2
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8537 $as_echo_n "checking for $ac_word... " >&6; }
8538 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8539 $as_echo_n "(cached) " >&6
8541 case $aros_target_ar_ln in
8543 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8550 test -z "$as_dir" && as_dir
=.
8551 for ac_exec_ext
in '' $ac_executable_extensions; do
8552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8553 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8564 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8565 if test -n "$aros_target_ar_ln"; then
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8567 $as_echo "$aros_target_ar_ln" >&6; }
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8570 $as_echo "no" >&6; }
8576 if test "$aros_target_ar_ln" = ""; then
8577 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8580 if test "$aros_target_nm" = ""; then
8581 if test "$cross_compiling" = "yes" ; then
8582 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8583 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8585 $as_echo_n "checking for $ac_word... " >&6; }
8586 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8587 $as_echo_n "(cached) " >&6
8589 case $aros_target_nm_ln in
8591 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8598 test -z "$as_dir" && as_dir
=.
8599 for ac_exec_ext
in '' $ac_executable_extensions; do
8600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8601 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8612 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8613 if test -n "$aros_target_nm_ln"; then
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8615 $as_echo "$aros_target_nm_ln" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8618 $as_echo "no" >&6; }
8623 if test "$GCC" = "yes"; then
8624 aros_gcc_nm
=`$CC -print-prog-name=nm`
8625 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8626 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8628 $as_echo_n "checking for $ac_word... " >&6; }
8629 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8630 $as_echo_n "(cached) " >&6
8632 case $aros_target_nm_ln in
8634 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8637 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8638 for as_dir
in `dirname $aros_gcc_nm`
8641 test -z "$as_dir" && as_dir
=.
8642 for ac_exec_ext
in '' $ac_executable_extensions; do
8643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8644 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8655 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8656 if test -n "$aros_target_nm_ln"; then
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8658 $as_echo "$aros_target_nm_ln" >&6; }
8660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8661 $as_echo "no" >&6; }
8666 if test "$aros_target_nm_ln" = ""; then
8667 # Extract the first word of "nm", so it can be a program name with args.
8668 set dummy nm
; ac_word
=$2
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8670 $as_echo_n "checking for $ac_word... " >&6; }
8671 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8672 $as_echo_n "(cached) " >&6
8674 case $aros_target_nm_ln in
8676 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8683 test -z "$as_dir" && as_dir
=.
8684 for ac_exec_ext
in '' $ac_executable_extensions; do
8685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8686 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8697 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8698 if test -n "$aros_target_nm_ln"; then
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8700 $as_echo "$aros_target_nm_ln" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8703 $as_echo "no" >&6; }
8710 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8711 set dummy
$aros_target_nm; ac_word
=$2
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8713 $as_echo_n "checking for $ac_word... " >&6; }
8714 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8715 $as_echo_n "(cached) " >&6
8717 case $aros_target_nm_ln in
8719 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8722 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8726 test -z "$as_dir" && as_dir
=.
8727 for ac_exec_ext
in '' $ac_executable_extensions; do
8728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8729 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8740 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8741 if test -n "$aros_target_nm_ln"; then
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8743 $as_echo "$aros_target_nm_ln" >&6; }
8745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8746 $as_echo "no" >&6; }
8752 if test "$aros_target_nm_ln" = ""; then
8753 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8756 if test "$aros_target_objcopy" = ""; then
8757 if test "$cross_compiling" = "yes" ; then
8758 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8759 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8761 $as_echo_n "checking for $ac_word... " >&6; }
8762 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8763 $as_echo_n "(cached) " >&6
8765 case $aros_target_objcopy_ln in
8767 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8770 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8774 test -z "$as_dir" && as_dir
=.
8775 for ac_exec_ext
in '' $ac_executable_extensions; do
8776 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8777 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8788 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8789 if test -n "$aros_target_objcopy_ln"; then
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8791 $as_echo "$aros_target_objcopy_ln" >&6; }
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8794 $as_echo "no" >&6; }
8799 if test "$GCC" = "yes"; then
8800 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8801 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8802 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8804 $as_echo_n "checking for $ac_word... " >&6; }
8805 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8806 $as_echo_n "(cached) " >&6
8808 case $aros_target_objcopy_ln in
8810 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8814 for as_dir
in `dirname $aros_gcc_objcopy`
8817 test -z "$as_dir" && as_dir
=.
8818 for ac_exec_ext
in '' $ac_executable_extensions; do
8819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8820 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8831 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8832 if test -n "$aros_target_objcopy_ln"; then
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8834 $as_echo "$aros_target_objcopy_ln" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8837 $as_echo "no" >&6; }
8842 if test "$aros_target_objcopy_ln" = ""; then
8843 # Extract the first word of "objcopy", so it can be a program name with args.
8844 set dummy objcopy
; ac_word
=$2
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8846 $as_echo_n "checking for $ac_word... " >&6; }
8847 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8848 $as_echo_n "(cached) " >&6
8850 case $aros_target_objcopy_ln in
8852 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8859 test -z "$as_dir" && as_dir
=.
8860 for ac_exec_ext
in '' $ac_executable_extensions; do
8861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8862 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8873 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8874 if test -n "$aros_target_objcopy_ln"; then
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8876 $as_echo "$aros_target_objcopy_ln" >&6; }
8878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8879 $as_echo "no" >&6; }
8886 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8887 set dummy
$aros_target_objcopy; ac_word
=$2
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8889 $as_echo_n "checking for $ac_word... " >&6; }
8890 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8891 $as_echo_n "(cached) " >&6
8893 case $aros_target_objcopy_ln in
8895 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8902 test -z "$as_dir" && as_dir
=.
8903 for ac_exec_ext
in '' $ac_executable_extensions; do
8904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8905 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8916 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8917 if test -n "$aros_target_objcopy_ln"; then
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8919 $as_echo "$aros_target_objcopy_ln" >&6; }
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8928 if test "$aros_target_objcopy_ln" = ""; then
8929 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
8932 if test "$aros_target_objdump" = ""; then
8933 if test "$cross_compiling" = "yes" ; then
8934 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8935 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8937 $as_echo_n "checking for $ac_word... " >&6; }
8938 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8939 $as_echo_n "(cached) " >&6
8941 case $aros_target_objdump_ln in
8943 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8950 test -z "$as_dir" && as_dir
=.
8951 for ac_exec_ext
in '' $ac_executable_extensions; do
8952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8953 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8964 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8965 if test -n "$aros_target_objdump_ln"; then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8967 $as_echo "$aros_target_objdump_ln" >&6; }
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8970 $as_echo "no" >&6; }
8975 if test "$GCC" = "yes"; then
8976 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8977 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8978 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8980 $as_echo_n "checking for $ac_word... " >&6; }
8981 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8982 $as_echo_n "(cached) " >&6
8984 case $aros_target_objdump_ln in
8986 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8990 for as_dir
in `dirname $aros_gcc_objdump`
8993 test -z "$as_dir" && as_dir
=.
8994 for ac_exec_ext
in '' $ac_executable_extensions; do
8995 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8996 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9007 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9008 if test -n "$aros_target_objdump_ln"; then
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9010 $as_echo "$aros_target_objdump_ln" >&6; }
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9013 $as_echo "no" >&6; }
9018 if test "$aros_target_objdump_ln" = ""; then
9019 # Extract the first word of "objdump", so it can be a program name with args.
9020 set dummy objdump
; ac_word
=$2
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9022 $as_echo_n "checking for $ac_word... " >&6; }
9023 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9024 $as_echo_n "(cached) " >&6
9026 case $aros_target_objdump_ln in
9028 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9035 test -z "$as_dir" && as_dir
=.
9036 for ac_exec_ext
in '' $ac_executable_extensions; do
9037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9038 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9049 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9050 if test -n "$aros_target_objdump_ln"; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9052 $as_echo "$aros_target_objdump_ln" >&6; }
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9055 $as_echo "no" >&6; }
9062 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9063 set dummy
$aros_target_objdump; ac_word
=$2
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9065 $as_echo_n "checking for $ac_word... " >&6; }
9066 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9069 case $aros_target_objdump_ln in
9071 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9078 test -z "$as_dir" && as_dir
=.
9079 for ac_exec_ext
in '' $ac_executable_extensions; do
9080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9081 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9092 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9093 if test -n "$aros_target_objdump_ln"; then
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9095 $as_echo "$aros_target_objdump_ln" >&6; }
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9098 $as_echo "no" >&6; }
9104 if test "$aros_target_objdump_ln" = ""; then
9105 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9108 if test "$aros_target_ranlib" = ""; then
9109 if test "$cross_compiling" = "yes" ; then
9110 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9111 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9113 $as_echo_n "checking for $ac_word... " >&6; }
9114 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9115 $as_echo_n "(cached) " >&6
9117 case $aros_target_ranlib_ln in
9119 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9126 test -z "$as_dir" && as_dir
=.
9127 for ac_exec_ext
in '' $ac_executable_extensions; do
9128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9129 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9140 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9141 if test -n "$aros_target_ranlib_ln"; then
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9143 $as_echo "$aros_target_ranlib_ln" >&6; }
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9146 $as_echo "no" >&6; }
9151 if test "$GCC" = "yes"; then
9152 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9153 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9154 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9156 $as_echo_n "checking for $ac_word... " >&6; }
9157 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9158 $as_echo_n "(cached) " >&6
9160 case $aros_target_ranlib_ln in
9162 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9166 for as_dir
in `dirname $aros_gcc_ranlib`
9169 test -z "$as_dir" && as_dir
=.
9170 for ac_exec_ext
in '' $ac_executable_extensions; do
9171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9172 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9183 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9184 if test -n "$aros_target_ranlib_ln"; then
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9186 $as_echo "$aros_target_ranlib_ln" >&6; }
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9189 $as_echo "no" >&6; }
9194 if test "$aros_target_ranlib_ln" = ""; then
9195 # Extract the first word of "ranlib", so it can be a program name with args.
9196 set dummy ranlib
; ac_word
=$2
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9198 $as_echo_n "checking for $ac_word... " >&6; }
9199 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9200 $as_echo_n "(cached) " >&6
9202 case $aros_target_ranlib_ln in
9204 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9211 test -z "$as_dir" && as_dir
=.
9212 for ac_exec_ext
in '' $ac_executable_extensions; do
9213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9214 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9225 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9226 if test -n "$aros_target_ranlib_ln"; then
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9228 $as_echo "$aros_target_ranlib_ln" >&6; }
9230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9231 $as_echo "no" >&6; }
9238 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9239 set dummy
$aros_target_ranlib; ac_word
=$2
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9241 $as_echo_n "checking for $ac_word... " >&6; }
9242 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9243 $as_echo_n "(cached) " >&6
9245 case $aros_target_ranlib_ln in
9247 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9254 test -z "$as_dir" && as_dir
=.
9255 for ac_exec_ext
in '' $ac_executable_extensions; do
9256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9257 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9268 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9269 if test -n "$aros_target_ranlib_ln"; then
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9271 $as_echo "$aros_target_ranlib_ln" >&6; }
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9274 $as_echo "no" >&6; }
9280 if test "$aros_target_ranlib_ln" = ""; then
9281 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9284 if test "$aros_target_strip" = ""; then
9285 if test "$cross_compiling" = "yes" ; then
9286 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9287 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9289 $as_echo_n "checking for $ac_word... " >&6; }
9290 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9291 $as_echo_n "(cached) " >&6
9293 case $aros_target_strip_ln in
9295 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9302 test -z "$as_dir" && as_dir
=.
9303 for ac_exec_ext
in '' $ac_executable_extensions; do
9304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9305 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9316 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9317 if test -n "$aros_target_strip_ln"; then
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9319 $as_echo "$aros_target_strip_ln" >&6; }
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9322 $as_echo "no" >&6; }
9327 if test "$GCC" = "yes"; then
9328 aros_gcc_strip
=`$CC -print-prog-name=strip`
9329 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9330 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9332 $as_echo_n "checking for $ac_word... " >&6; }
9333 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9334 $as_echo_n "(cached) " >&6
9336 case $aros_target_strip_ln in
9338 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9342 for as_dir
in `dirname $aros_gcc_strip`
9345 test -z "$as_dir" && as_dir
=.
9346 for ac_exec_ext
in '' $ac_executable_extensions; do
9347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9348 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9359 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9360 if test -n "$aros_target_strip_ln"; then
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9362 $as_echo "$aros_target_strip_ln" >&6; }
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9365 $as_echo "no" >&6; }
9370 if test "$aros_target_strip_ln" = ""; then
9371 # Extract the first word of "strip", so it can be a program name with args.
9372 set dummy strip
; ac_word
=$2
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9374 $as_echo_n "checking for $ac_word... " >&6; }
9375 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9376 $as_echo_n "(cached) " >&6
9378 case $aros_target_strip_ln in
9380 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9383 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9387 test -z "$as_dir" && as_dir
=.
9388 for ac_exec_ext
in '' $ac_executable_extensions; do
9389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9390 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9401 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9402 if test -n "$aros_target_strip_ln"; then
9403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9404 $as_echo "$aros_target_strip_ln" >&6; }
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9407 $as_echo "no" >&6; }
9414 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9415 set dummy
$aros_target_strip; ac_word
=$2
9416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9417 $as_echo_n "checking for $ac_word... " >&6; }
9418 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9419 $as_echo_n "(cached) " >&6
9421 case $aros_target_strip_ln in
9423 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9430 test -z "$as_dir" && as_dir
=.
9431 for ac_exec_ext
in '' $ac_executable_extensions; do
9432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9433 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9444 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9445 if test -n "$aros_target_strip_ln"; then
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9447 $as_echo "$aros_target_strip_ln" >&6; }
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9450 $as_echo "no" >&6; }
9456 if test "$aros_target_strip_ln" = ""; then
9457 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9459 if test "$aros_target_cxx" != ""; then
9460 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9461 set dummy
$aros_target_cxx; ac_word
=$2
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9463 $as_echo_n "checking for $ac_word... " >&6; }
9464 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
9465 $as_echo_n "(cached) " >&6
9467 case $aros_target_cxx in
9469 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
9472 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9476 test -z "$as_dir" && as_dir
=.
9477 for ac_exec_ext
in '' $ac_executable_extensions; do
9478 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9479 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
9480 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9490 aros_target_cxx
=$ac_cv_path_aros_target_cxx
9491 if test -n "$aros_target_cxx"; then
9492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
9493 $as_echo "$aros_target_cxx" >&6; }
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9496 $as_echo "no" >&6; }
9500 # Temporarily disabled in order to let Mingw32-hosted nightly build to work
9501 # AROS_REQUIRED(c++,$aros_target_cxx)
9504 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
9508 # Build crosstools if we have no C++ - temporary thing
9509 if test "$aros_target_cxx" = ""; then
9510 crosstools_target
=tools-crosstools
9513 if test "$rescomp" != ""; then
9514 if test "$cross_compiling" = "yes" ; then
9515 rescomp
=${target_tool_prefix}${rescomp}
9517 # Extract the first word of "$rescomp", so it can be a program name with args.
9518 set dummy
$rescomp; ac_word
=$2
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9520 $as_echo_n "checking for $ac_word... " >&6; }
9521 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
9522 $as_echo_n "(cached) " >&6
9524 case $aros_kernel_rescomp in
9526 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9533 test -z "$as_dir" && as_dir
=.
9534 for ac_exec_ext
in '' $ac_executable_extensions; do
9535 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9536 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9547 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9548 if test -n "$aros_kernel_rescomp"; then
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
9550 $as_echo "$aros_kernel_rescomp" >&6; }
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9553 $as_echo "no" >&6; }
9557 if test "$aros_kernel_rescomp" = ""; then
9558 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
9562 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9563 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9564 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9565 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9566 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9567 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9568 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9570 # aros_cc_pre is a variable that is added to the front of the compiler name
9571 # in the generated aros-gcc shell script. We need this to enable the cache
9572 # to work across cleaned builds. Also, support DISTCC using the correct
9573 # environment variable.
9576 if test "x${DISTCC}" != "x" ; then
9577 if test "x${CCACHE}" != "x" ; then
9578 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9580 aros_cc_pre
="${DISTCC} "
9583 if test "x${CCACHE}" != "x" ; then
9584 aros_cc_pre
="${CCACHE} "
9588 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9590 aros_target_nostdinc_cflags
=-nostdinc
9592 aros_target_nostartup_ldflags
=-nostartfiles
9594 aros_target_nix_ldflags
=-nix
9596 aros_target_detach_ldflags
=-detach
9598 aros_target_nostdlib_ldflags
=-nostdlib
9602 if test "$aros_target_cc" = ""; then
9603 orig_target_cc
=$aros_kernel_cc
9605 orig_target_cc
=$aros_target_cc
9607 if test "$aros_target_ld" = ""; then
9608 orig_target_ld
=$aros_kernel_ld
9610 orig_target_ld
=$aros_target_ld
9612 if test "$GCC" = "yes"; then
9613 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9615 aros_target_cc
="${prefix}-gcc"
9616 aros_target_as
="${prefix}-as"
9617 aros_target_ld
="${prefix}-ld"
9618 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9619 aros_target_objcopy
=${prefix}-objcopy
9620 aros_target_objdump
=${prefix}-objdump
9621 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9622 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9623 aros_kernel_nm
="${prefix}-nm"
9624 aros_target_strip
=${prefix}-strip
9626 # Find the system include path. We can suggest that an alternative is
9627 # used if we don't get it correct. The default is to use /usr/include.
9628 # Which is set in the aros_target_incl_def variable.
9630 # Check whether --enable-includes was given.
9631 if test "${enable_includes+set}" = set; then :
9632 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9634 aros_target_incl
=$aros_target_incl_def
9638 if test "$aros_kernel_includes" = ""; then
9639 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9640 # FIXME: for cross-compiling this should point to another location
9641 aros_kernel_includes
="-isystem $aros_target_incl"
9645 if test "$aros_kernel_includes" != "" ; then
9646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
9647 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
9648 if test "$aros_kernel_cc_includes" = "" ; then
9649 # Try to guess where the directory is.
9650 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
9651 if test -d $aros_kernel_cc_includes; then
9652 # Check if there is also an include-fixed directory and add it
9653 # to kernel compiler's include path as it may contain some of
9654 # the headers we need.
9655 if test -d "$aros_kernel_cc_includes"-fixed; then
9656 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
9659 # The directory doesn't exist, we need to do some more work.
9660 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
9662 # These are the headers we're looking for.
9663 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9664 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9668 for h
in $headers; do
9669 # Which other headers are needed by each of the above?
9670 deps
=$
(echo "#include <$h>" | \
9671 $aros_kernel_cc -E -M - 2>/dev
/null | \
9672 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9674 # Copy all the needed headers to a directory beneath gendir.
9677 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
9678 sed -n "s,^.*/include\(/.*\),\1,p")
9679 ! test -d $dir && mkdir
-p $dir
9680 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
9686 $as_echo "$aros_kernel_cc_includes" >&6; }
9687 # Adding -nostdinc to kernel includes as they are always used together.
9688 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
9691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9692 $as_echo_n "checking for the target compiler's include path... " >&6; }
9693 if test "$aros_target_cc_includes" = "" ; then
9694 #try to guess where the directory is
9695 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9696 if ! test -d $aros_target_cc_includes; then
9697 #the directory doesn't exist, we need to do some more work
9698 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9700 #these are the headers we're looling for
9701 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9702 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9706 for h
in $headers; do
9707 #which other headers each of the above headers needs?
9708 deps
=$
(echo "#include <$h>" | \
9709 $orig_target_cc -E -M - 2>/dev
/null | \
9710 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9712 #copy all the needed headers to a directory beneath gendir
9715 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9716 sed -n "s,^.*/include\(/.*\),\1,p")
9717 ! test -d $dir && mkdir
-p $dir
9718 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9724 $as_echo "$aros_target_cc_includes" >&6; }
9727 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9728 # On GCC >= 4.0 -iquote should be used
9732 save_cflags
="$CFLAGS"
9734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9735 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9737 /* end confdefs.h. */
9747 if ac_fn_c_try_compile
"$LINENO"; then :
9752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9754 $as_echo "$has_iquote" >&6; }
9755 if test "x-$has_iquote" = "x-yes" ; then
9756 host_cflags_iquote
=-iquote
9757 host_cflags_iquote_end
=
9759 host_cflags_iquote
=-I
9760 host_cflags_iquote_end
=-I-
9762 kernel_cflags_iquote
=$host_cflags_iquote
9763 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9764 if test "x-$cross_compiling" = "x-yes"; then
9765 CC
="$aros_kernel_cc"
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9767 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9769 /* end confdefs.h. */
9779 if ac_fn_c_try_compile
"$LINENO"; then :
9780 use_no_stack_protector
="yes"
9782 use_no_stack_protector
="no"
9784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9786 $as_echo "$use_no_stack_protector" >&6; }
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9788 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9790 /* end confdefs.h. */
9800 if ac_fn_c_try_compile
"$LINENO"; then :
9805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9807 $as_echo "$has_iquote" >&6; }
9808 if test "x-$has_iquote" = "x-yes" ; then
9809 kernel_cflags_iquote
=-iquote
9810 kernel_cflags_iquote_end
=
9812 kernel_cflags_iquote
=-I
9813 kernel_cflags_iquote_end
=-I-
9816 aros_cflags_iquote
=$kernel_cflags_iquote
9817 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9818 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9819 CC
="$orig_target_cc"
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9821 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9833 if ac_fn_c_try_compile
"$LINENO"; then :
9838 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9840 $as_echo "$has_iquote" >&6; }
9841 if test "x-$has_iquote" = "x-yes" ; then
9842 aros_cflags_iquote
=-iquote
9843 aros_cflags_iquote_end
=
9845 aros_cflags_iquote
=-I
9846 aros_cflags_iquote_end
=-I-
9849 if test "x-$use_no_stack_protector" = "x-yes" ; then
9850 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9853 #-----------------------------------------------------------------------------
9855 # Check if we can explicitly choose older version of symbol hashing
9857 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9858 CC
="$aros_kernel_cc"
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9860 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9862 /* end confdefs.h. */
9872 if ac_fn_c_try_link
"$LINENO"; then :
9873 use_hash_style
="yes"
9877 rm -f core conftest.err conftest.
$ac_objext \
9878 conftest
$ac_exeext conftest.
$ac_ext
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9880 $as_echo "$use_hash_style" >&6; }
9881 if test "x-$use_hash_style" = "x-yes" ; then
9882 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9885 CFLAGS
="$save_cflags"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9896 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9898 # Check whether --with-resolution was given.
9899 if test "${with_resolution+set}" = set; then :
9900 withval
=$with_resolution; resolution
=$withval
9905 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9906 if test "$resolution" = "yes" ; then
9909 if test "$resolution" = "no" ; then
9912 if test "$resolution" != "none" ; then
9913 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9914 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9915 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9918 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9919 aros_cv_default_wbwidth
=$aros_default_wbwidth
9920 aros_cv_default_wbheight
=$aros_default_wbheight
9921 aros_cv_default_wbdepth
=$aros_default_wbdepth
9923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
9924 $as_echo_n "checking if serial debug is enabled... " >&6; }
9926 # Check whether --with-serial-debug was given.
9927 if test "${with_serial_debug+set}" = set; then :
9928 withval
=$with_serial_debug; serial_debug
=$withval
9933 if test "$aros_serial_debug" = 0 ; then
9934 serial_debug_forced
=""
9935 if test "$serial_debug" = "yes" ; then
9938 if test "$serial_debug" = "no" ; then
9942 serial_debug_forced
="(forced)"
9943 serial_debug
=$aros_serial_debug
9945 if test "$serial_debug" != "none" ; then
9946 aros_serial_debug
=$serial_debug
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
9948 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9951 $as_echo "no" >&6; }
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
9955 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
9956 # Check whether --enable-palm_debug_hack was given.
9957 if test "${enable_palm_debug_hack+set}" = set; then :
9958 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
9960 palm_debug_hack
="no"
9963 if test "$palm_debug_hack" = "yes" ; then
9964 aros_palm_debug_hack
="1"
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
9967 $as_echo "$palm_debug_hack" >&6; }
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
9971 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
9972 # Check whether --enable-nesting_supervisor was given.
9973 if test "${enable_nesting_supervisor+set}" = set; then :
9974 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
9976 nesting_supervisor
="no"
9979 if test "$nesting_supervisor" = "yes" ; then
9980 aros_nesting_supervisor
="1"
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
9983 $as_echo "$nesting_supervisor" >&6; }
9986 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9988 if test "x-$need_dlopen" != "x-no" ; then
9989 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9990 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9996 if test "x-$have_dl" = "x-no" ; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9998 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9999 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10000 $as_echo_n "(cached) " >&6
10002 ac_check_lib_save_LIBS
=$LIBS
10004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10005 /* end confdefs.h. */
10007 /* Override any GCC internal prototype to avoid an error.
10008 Use char because int might match the return type of a GCC
10009 builtin and then its argument prototype would still apply. */
10022 if ac_fn_c_try_link
"$LINENO"; then :
10023 ac_cv_lib_dl_dlopen
=yes
10025 ac_cv_lib_dl_dlopen
=no
10027 rm -f core conftest.err conftest.
$ac_objext \
10028 conftest
$ac_exeext conftest.
$ac_ext
10029 LIBS
=$ac_check_lib_save_LIBS
10031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10032 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10033 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10035 aros_host_ldflags
="$aros_host_ldflags -ldl"
10041 if test "x-$have_dl" = "x-no" ; then
10042 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
10047 # Check whether --enable-x11_hidd was given.
10048 if test "${enable_x11_hidd+set}" = set; then :
10049 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10051 x11_hidd
="$need_x11"
10054 case "x-$x11_hidd" in
10055 x-yes|x-no|x-auto
) ;;
10056 *) x11_hidd
="$need_x11" ;;
10061 if test "x-$x11_hidd" != "x-no" ; then
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10064 $as_echo_n "checking for X... " >&6; }
10067 # Check whether --with-x was given.
10068 if test "${with_x+set}" = set; then :
10072 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10073 if test "x$with_x" = xno
; then
10074 # The user explicitly disabled X.
10077 case $x_includes,$x_libraries in #(
10078 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
10079 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
10080 $as_echo_n "(cached) " >&6
10082 # One or both of the vars are not set, and there is no cached value.
10083 ac_x_includes
=no ac_x_libraries
=no
10084 rm -f -r conftest.dir
10085 if mkdir conftest.dir
; then
10087 cat >Imakefile
<<'_ACEOF'
10089 @echo incroot='${INCROOT}'
10091 @echo usrlibdir='${USRLIBDIR}'
10093 @echo libdir='${LIBDIR}'
10095 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10096 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10097 for ac_var
in incroot usrlibdir libdir
; do
10098 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10100 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10101 for ac_extension
in a so sl dylib la dll
; do
10102 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10103 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10104 ac_im_usrlibdir
=$ac_im_libdir; break
10107 # Screen out bogus values from the imake configuration. They are
10108 # bogus both because they are the default anyway, and because
10109 # using them would break gcc on systems where it needs fixed includes.
10110 case $ac_im_incroot in
10111 /usr
/include
) ac_x_includes
= ;;
10112 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10114 case $ac_im_usrlibdir in
10115 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10116 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10120 rm -f -r conftest.dir
10123 # Standard set of common directories for X headers.
10124 # Check X11 before X11Rn because it is often a symlink to the current release.
10138 /usr/local/X11/include
10139 /usr/local/X11R7/include
10140 /usr/local/X11R6/include
10141 /usr/local/X11R5/include
10142 /usr/local/X11R4/include
10144 /usr/local/include/X11
10145 /usr/local/include/X11R7
10146 /usr/local/include/X11R6
10147 /usr/local/include/X11R5
10148 /usr/local/include/X11R4
10152 /usr/XFree86/include/X11
10156 /usr/unsupported/include
10157 /usr/athena/include
10158 /usr/local/x11r5/include
10159 /usr/lpp/Xamples/include
10161 /usr/openwin/include
10162 /usr/openwin/share/include'
10164 if test "$ac_x_includes" = no
; then
10165 # Guess where to find include files, by looking for Xlib.h.
10166 # First, try using that file with no special directory specified.
10167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10168 /* end confdefs.h. */
10169 #include <X11/Xlib.h>
10171 if ac_fn_c_try_cpp
"$LINENO"; then :
10172 # We can compile using X headers with no special include directory.
10175 for ac_dir
in $ac_x_header_dirs; do
10176 if test -r "$ac_dir/X11/Xlib.h"; then
10177 ac_x_includes
=$ac_dir
10182 rm -f conftest.err conftest.
$ac_ext
10183 fi # $ac_x_includes = no
10185 if test "$ac_x_libraries" = no
; then
10186 # Check for the libraries.
10187 # See if we find them without any special options.
10188 # Don't add to $LIBS permanently.
10191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10192 /* end confdefs.h. */
10193 #include <X11/Xlib.h>
10202 if ac_fn_c_try_link
"$LINENO"; then :
10204 # We can link X programs with no special library path.
10208 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10210 # Don't even attempt the hair of trying to link an X program!
10211 for ac_extension
in a so sl dylib la dll
; do
10212 if test -r "$ac_dir/libX11.$ac_extension"; then
10213 ac_x_libraries
=$ac_dir
10219 rm -f core conftest.err conftest.
$ac_objext \
10220 conftest
$ac_exeext conftest.
$ac_ext
10221 fi # $ac_x_libraries = no
10223 case $ac_x_includes,$ac_x_libraries in #(
10224 no
,* |
*,no |
*\'*)
10225 # Didn't find X, or a directory has "'" in its name.
10226 ac_cv_have_x
="have_x=no";; #(
10228 # Record where we found X for the cache.
10229 ac_cv_have_x
="have_x=yes\
10230 ac_x_includes='$ac_x_includes'\
10231 ac_x_libraries='$ac_x_libraries'"
10237 eval "$ac_cv_have_x"
10240 if test "$have_x" != yes; then
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10242 $as_echo "$have_x" >&6; }
10245 # If each of the values was on the command line, it overrides each guess.
10246 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10247 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10248 # Update the cache value to reflect the command line values.
10249 ac_cv_have_x
="have_x=yes\
10250 ac_x_includes='$x_includes'\
10251 ac_x_libraries='$x_libraries'"
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10253 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10258 for path
in $x_libraries
10260 x_cflags
="$x_cflags -L$path"
10263 for path
in $x_includes
10265 x_cflags
="$x_cflags -I$path"
10268 if test "x-$no_x" = "x-yes" ; then
10270 if test "x-$x11_hidd" != "x-auto" ; then
10271 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10275 x11_hidd_target
=kernel-x11gfx-kobj
10278 # Check whether --enable-x11_shm was given.
10279 if test "${enable_x11_shm+set}" = set; then :
10280 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10282 x11_hidd_shm
="auto"
10285 case "x-$x11_hidd_shm" in
10286 x-yes|x-no|x-auto
) ;;
10287 *) x11_hidd_shm
="auto" ;;
10292 if test "x-$x11_hidd_shm" != "x-no" ; then
10294 for ac_header
in sys
/ipc.h
10296 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10297 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
10298 cat >>confdefs.h
<<_ACEOF
10299 #define HAVE_SYS_IPC_H 1
10306 for ac_header
in sys
/shm.h
10308 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10309 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
10310 cat >>confdefs.h
<<_ACEOF
10311 #define HAVE_SYS_SHM_H 1
10319 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10321 save_cflags
="$CFLAGS"
10322 CFLAGS
="$CFLAGS $x_cflags"
10323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10324 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10325 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
10326 $as_echo_n "(cached) " >&6
10328 ac_check_lib_save_LIBS
=$LIBS
10329 LIBS
="-lXext $LIBS"
10330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10331 /* end confdefs.h. */
10333 /* Override any GCC internal prototype to avoid an error.
10334 Use char because int might match the return type of a GCC
10335 builtin and then its argument prototype would still apply. */
10339 char XShmQueryExtension ();
10343 return XShmQueryExtension ();
10348 if ac_fn_c_try_link
"$LINENO"; then :
10349 ac_cv_lib_Xext_XShmQueryExtension
=yes
10351 ac_cv_lib_Xext_XShmQueryExtension
=no
10353 rm -f core conftest.err conftest.
$ac_objext \
10354 conftest
$ac_exeext conftest.
$ac_ext
10355 LIBS
=$ac_check_lib_save_LIBS
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10358 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10359 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
10363 CFLAGS
="$save_cflags"
10367 if test "x-$have_xshm" = "x-yes" ; then
10368 DO_XSHM_SUPPORT
="1"
10369 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10370 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10372 DO_XSHM_SUPPORT
="0"
10376 # Check whether --enable-x11_vidmode was given.
10377 if test "${enable_x11_vidmode+set}" = set; then :
10378 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10380 x11_hidd_vidmode
="auto"
10383 case "x-$x11_hidd_vidmode" in
10384 x-yes|x-no|x-auto
) ;;
10385 *) x11_hidd_vidmode
="auto" ;;
10390 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10392 save_cflags
="$CFLAGS"
10393 CFLAGS
="$CFLAGS $x_cflags"
10394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10395 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
10396 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
10397 $as_echo_n "(cached) " >&6
10399 ac_check_lib_save_LIBS
=$LIBS
10400 LIBS
="-lXxf86vm $LIBS"
10401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10404 /* Override any GCC internal prototype to avoid an error.
10405 Use char because int might match the return type of a GCC
10406 builtin and then its argument prototype would still apply. */
10410 char XF86VidModeQueryExtension ();
10414 return XF86VidModeQueryExtension ();
10419 if ac_fn_c_try_link
"$LINENO"; then :
10420 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10422 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10424 rm -f core conftest.err conftest.
$ac_objext \
10425 conftest
$ac_exeext conftest.
$ac_ext
10426 LIBS
=$ac_check_lib_save_LIBS
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10429 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10430 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
10434 CFLAGS
="$save_cflags"
10437 if test "x-$have_vidmode" = "x-yes" ; then
10438 DO_VIDMODE_SUPPORT
="1"
10439 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10440 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
10442 DO_VIDMODE_SUPPORT
="0"
10446 aros_host_x11_includes
=$x_includes
10447 aros_host_x11_libdirs
=$x_libraries
10451 # Check whether --enable-sdl_hidd was given.
10452 if test "${enable_sdl_hidd+set}" = set; then :
10453 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10458 case "x-$sdl_hidd" in
10459 x-yes|x-no|x-auto
) ;;
10460 *) sdl_hidd
="auto" ;;
10463 if test "x-$sdl_hidd" != "x-no" ; then
10466 # Check whether --with-sdl-prefix was given.
10467 if test "${with_sdl_prefix+set}" = set; then :
10468 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10474 # Check whether --with-sdl-exec-prefix was given.
10475 if test "${with_sdl_exec_prefix+set}" = set; then :
10476 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10481 # Check whether --enable-sdltest was given.
10482 if test "${enable_sdltest+set}" = set; then :
10483 enableval
=$enable_sdltest;
10489 if test x
$sdl_exec_prefix != x
; then
10490 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10491 if test x
${SDL_CONFIG+set} != xset
; then
10492 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10495 if test x
$sdl_prefix != x
; then
10496 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10497 if test x
${SDL_CONFIG+set} != xset
; then
10498 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10502 if test "x$prefix" != xNONE
; then
10503 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10505 # Extract the first word of "sdl-config", so it can be a program name with args.
10506 set dummy sdl-config
; ac_word
=$2
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10508 $as_echo_n "checking for $ac_word... " >&6; }
10509 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
10510 $as_echo_n "(cached) " >&6
10512 case $SDL_CONFIG in
10514 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10517 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10518 for as_dir
in $PATH
10521 test -z "$as_dir" && as_dir
=.
10522 for ac_exec_ext
in '' $ac_executable_extensions; do
10523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10524 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10532 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10536 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10537 if test -n "$SDL_CONFIG"; then
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
10539 $as_echo "$SDL_CONFIG" >&6; }
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10542 $as_echo "no" >&6; }
10546 min_sdl_version
=1.2.10
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10548 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10550 if test "$SDL_CONFIG" = "no" ; then
10553 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10554 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10556 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10557 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10558 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10559 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10560 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10561 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10562 if test "x$enable_sdltest" = "xyes" ; then
10563 ac_save_CFLAGS
="$CFLAGS"
10564 ac_save_CXXFLAGS
="$CXXFLAGS"
10565 ac_save_LIBS
="$LIBS"
10566 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10567 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10568 LIBS
="$LIBS $SDL_LIBS"
10570 if test "$cross_compiling" = yes; then :
10571 echo $ac_n "cross compiling; assumed OK... $ac_c"
10573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10574 /* end confdefs.h. */
10577 #include <stdlib.h>
10578 #include <string.h>
10582 my_strdup (char *str)
10588 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10589 strcpy (new_str, str);
10597 int main (int argc, char *argv[])
10599 int major, minor, micro;
10602 /* This hangs on some systems (?)
10603 system ("touch conf.sdltest");
10605 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10607 /* HP/UX 9 (%@#!) writes to sscanf strings */
10608 tmp_version = my_strdup("$min_sdl_version");
10609 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10610 printf("%s, bad version string\n", "$min_sdl_version");
10614 if (($sdl_major_version > major) ||
10615 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10616 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10622 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10623 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10624 printf("*** best to upgrade to the required version.\n");
10625 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10626 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10627 printf("*** config.cache before re-running configure\n");
10634 if ac_fn_c_try_run
"$LINENO"; then :
10639 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10640 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10643 CFLAGS
="$ac_save_CFLAGS"
10644 CXXFLAGS
="$ac_save_CXXFLAGS"
10645 LIBS
="$ac_save_LIBS"
10648 if test "x$no_sdl" = x
; then
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10650 $as_echo "yes" >&6; }
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10654 $as_echo "no" >&6; }
10655 if test "$SDL_CONFIG" = "no" ; then
10656 echo "*** The sdl-config script installed by SDL could not be found"
10657 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10658 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10659 echo "*** full path to sdl-config."
10661 if test -f conf.sdltest
; then
10664 echo "*** Could not run SDL test program, checking why..."
10665 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10666 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10667 LIBS
="$LIBS $SDL_LIBS"
10668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10674 int main(int argc, char *argv[])
10677 #define main K_and_R_C_main
10687 if ac_fn_c_try_link
"$LINENO"; then :
10688 echo "*** The test program compiled, but did not run. This usually means"
10689 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10690 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10691 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10692 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10693 echo "*** is required on your system"
10695 echo "*** If you have an old version installed, it is best to remove it, although"
10696 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10698 echo "*** The test program failed to compile or link. See the file config.log for the"
10699 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10700 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10701 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10703 rm -f core conftest.err conftest.
$ac_objext \
10704 conftest
$ac_exeext conftest.
$ac_ext
10705 CFLAGS
="$ac_save_CFLAGS"
10706 CXXFLAGS
="$ac_save_CXXFLAGS"
10707 LIBS
="$ac_save_LIBS"
10719 if test "x-$have_sdl" != "x-yes" ; then
10721 if test "x-$sdl_hidd" != "x-auto" ; then
10722 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10726 sdl_hidd_target
=kernel-hidd-sdl
10727 aros_host_sdl_cflags
=SDL_CFLAGS
10728 aros_host_sdl_libs
=SDL_LIBS
10732 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10733 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
10738 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
10739 oss_library_target
=workbench-libs-oss-unix
10744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10745 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10746 # Check whether --enable-dbus was given.
10747 if test "${enable_dbus+set}" = set; then :
10748 enableval
=$enable_dbus; dbus
="yes"
10753 if test "$dbus" = "yes" ; then
10755 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10756 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10757 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10758 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10763 $as_echo "$dbus" >&6; }
10871 # Native version related
10874 # Palm native version related
10877 # Unix/Hosted version related
10880 # Apple iOS related
10905 # Collect-aros stuff: "-ius" to ignore undefined symbols
10908 # C compiler related
10911 case "$aros_flavour" in
10912 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10913 aros_flavour
="emulation" ;;
10914 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10915 aros_flavour
="emulation" ;;
10916 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10917 aros_flavour
="standalone";;
10918 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10919 aros_flavour
="standalone";;
10920 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10921 aros_flavour
="native" ;;
10922 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10923 aros_flavour
="native" ;;
10924 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10925 aros_flavour
="linklib" ;;
10926 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10927 aros_flavour
="palmnative" ;;
10928 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10929 aros_flavour
="mac68knative" ;;
10930 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10931 aros_flavour
="ppcnative" ;;
10934 if test ! -d ${aros_inc_dir} ; then
10935 ${MKDIR} ${aros_inc_dir}
10937 if test ! -d ${aros_geninc_dir} ; then
10938 ${MKDIR} ${aros_geninc_dir}
10940 if test ! -d ${aros_hostcfg_dir} ; then
10941 ${MKDIR} ${aros_hostcfg_dir}
10943 if test ! -d ${aros_targetcfg_dir} ; then
10944 ${MKDIR} ${aros_targetcfg_dir}
10946 if test ! -d ${aros_tools_dir} ; then
10947 ${MKDIR} ${aros_tools_dir}
10949 if test ! -d ${aros_scripts_dir} ; then
10950 ${MKDIR} ${aros_scripts_dir}
10953 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10956 ac_config_commands
="$ac_config_commands compiler_executable"
10958 ac_config_commands
="$ac_config_commands genshared_executable"
10960 ac_config_commands
="$ac_config_commands genmf_executable"
10963 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"
10966 cat >confcache
<<\_ACEOF
10967 # This file is a shell script that caches the results of configure
10968 # tests run on this system so they can be shared between configure
10969 # scripts and configure runs, see configure's option --config-cache.
10970 # It is not useful on other systems. If it contains results you don't
10971 # want to keep, you may remove or edit it.
10973 # config.status only pays attention to the cache file if you give it
10974 # the --recheck option to rerun configure.
10976 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10977 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10978 # following values.
10982 # The following way of writing the cache mishandles newlines in values,
10983 # but we know of no workaround that is simple, portable, and efficient.
10984 # So, we kill variables containing newlines.
10985 # Ultrix sh set writes to stderr and can't be redirected directly,
10986 # and sets the high bit in the cache file unless we assign to the vars.
10988 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10989 eval ac_val
=\$
$ac_var
10993 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10994 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10997 _ | IFS | as_nl
) ;; #(
10998 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10999 *) { eval $ac_var=; unset $ac_var;} ;;
11005 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11006 *${as_nl}ac_space
=\
*)
11007 # `set' does not quote correctly, so add quotes: double-quote
11008 # substitution turns \\\\ into \\, and sed turns \\ into \.
11011 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11014 # `set' quotes correctly as required by POSIX, so do not add quotes.
11015 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11024 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11026 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11028 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11029 if test -w "$cache_file"; then
11030 test "x$cache_file" != "x/dev/null" &&
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11032 $as_echo "$as_me: updating cache $cache_file" >&6;}
11033 cat confcache
>$cache_file
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11036 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11041 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11042 # Let make expand exec_prefix.
11043 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11045 DEFS
=-DHAVE_CONFIG_H
11049 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11050 # 1. Remove the extension, and $U if already installed.
11051 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11052 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11053 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11054 # will be set to the directory where LIBOBJS objects are built.
11055 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11056 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11058 LIBOBJS
=$ac_libobjs
11060 LTLIBOBJS
=$ac_ltlibobjs
11064 : ${CONFIG_STATUS=./config.status}
11066 ac_clean_files_save
=$ac_clean_files
11067 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11069 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11071 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11073 # Generated by $as_me.
11074 # Run this file to recreate the current configuration.
11075 # Compiler output produced by configure, useful for debugging
11076 # configure, is in config.log if it exists.
11079 ac_cs_recheck=false
11082 SHELL=\${CONFIG_SHELL-$SHELL}
11085 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11086 ## -------------------- ##
11087 ## M4sh Initialization. ##
11088 ## -------------------- ##
11090 # Be more Bourne compatible
11091 DUALCASE
=1; export DUALCASE
# for MKS sh
11092 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11095 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11096 # is contrary to our usage. Disable this feature.
11097 alias -g '${1+"$@"}'='"$@"'
11098 setopt NO_GLOB_SUBST
11100 case `(set -o) 2>/dev/null` in #(
11112 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11113 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11114 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11115 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11116 # Prefer a ksh shell builtin over an external printf program on Solaris,
11117 # but without wasting forks for bash or zsh.
11118 if test -z "$BASH_VERSION$ZSH_VERSION" \
11119 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11120 as_echo='print
-r --'
11121 as_echo_n='print
-rn --'
11122 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11123 as_echo='printf %s
\n'
11124 as_echo_n='printf %s
'
11126 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11127 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11128 as_echo_n='/usr
/ucb
/echo -n'
11130 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11131 as_echo_n_body='eval
11135 expr "X$arg" : "X\\(.*\\)$as_nl";
11136 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11138 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11140 export as_echo_n_body
11141 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11143 export as_echo_body
11144 as_echo='sh
-c $as_echo_body as_echo
'
11147 # The user is always right.
11148 if test "${PATH_SEPARATOR+set}" != set; then
11150 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11151 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11158 # We need space, tab and new line, in precisely that order. Quoting is
11159 # there to prevent editors from complaining about space-tab.
11160 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11161 # splitting by setting IFS to empty value.)
11164 # Find who we are. Look in the path if we contain no directory separator.
11166 *[\\/]* ) as_myself=$0 ;;
11167 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11168 for as_dir in $PATH
11171 test -z "$as_dir" && as_dir=.
11172 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11178 # We did not find ourselves, most probably we were run as `sh COMMAND'
11179 # in which case we are not to be found in the path.
11180 if test "x$as_myself" = x
; then
11183 if test ! -f "$as_myself"; then
11184 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11188 # Unset variables that we do not need and which cause bugs (e.g. in
11189 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11190 # suppresses any "Segmentation fault" message there. '((' could
11191 # trigger a bug in pdksh 5.2.14.
11192 for as_var
in BASH_ENV ENV MAIL MAILPATH
11193 do eval test x\
${$as_var+set} = xset \
11194 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11207 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11210 # as_fn_error ERROR [LINENO LOG_FD]
11211 # ---------------------------------
11212 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11213 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11214 # script with status $?, using 1 if that was 0.
11217 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11219 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11220 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11222 $as_echo "$as_me: error: $1" >&2
11223 as_fn_exit
$as_status
11227 # as_fn_set_status STATUS
11228 # -----------------------
11229 # Set $? to STATUS, without forking.
11230 as_fn_set_status
()
11233 } # as_fn_set_status
11235 # as_fn_exit STATUS
11236 # -----------------
11237 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11241 as_fn_set_status
$1
11247 # Portably unset VAR.
11250 { eval $1=; unset $1;}
11252 as_unset
=as_fn_unset
11253 # as_fn_append VAR VALUE
11254 # ----------------------
11255 # Append the text in VALUE to the end of the definition contained in VAR. Take
11256 # advantage of any shell optimizations that allow amortized linear growth over
11257 # repeated appends, instead of the typical quadratic growth present in naive
11259 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11260 eval 'as_fn_append ()
11271 # as_fn_arith ARG...
11272 # ------------------
11273 # Perform arithmetic evaluation on the ARGs, and store the result in the
11274 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11275 # must be portable across $(()) and expr.
11276 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11277 eval 'as_fn_arith ()
11284 as_val
=`expr "$@" || test $? -eq 1`
11289 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11290 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11296 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11297 as_basename
=basename
11302 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11308 as_me
=`$as_basename -- "$0" ||
11309 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11310 X"$0" : 'X\(//\)$' \| \
11311 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11313 sed '/^.*\/\([^/][^/]*\)\/*$/{
11327 # Avoid depending upon Character Ranges.
11328 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11329 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11330 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11331 as_cr_digits
='0123456789'
11332 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11334 ECHO_C
= ECHO_N
= ECHO_T
=
11335 case `echo -n x` in #(((((
11337 case `echo 'xy\c'` in
11338 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11340 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11347 rm -f conf$$ conf$$.exe conf$$.
file
11348 if test -d conf$$.dir
; then
11349 rm -f conf$$.dir
/conf$$.
file
11352 mkdir conf$$.dir
2>/dev
/null
11354 if (echo >conf$$.
file) 2>/dev
/null
; then
11355 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11357 # ... but there are two gotchas:
11358 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11359 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11360 # In both cases, we have to default to `cp -p'.
11361 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11363 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11371 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11372 rmdir conf$$.dir
2>/dev
/null
11377 # Create "$as_dir" as a directory, including parents if necessary.
11382 -*) as_dir
=.
/$as_dir;;
11384 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11388 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11389 *) as_qdir
=$as_dir;;
11391 as_dirs
="'$as_qdir' $as_dirs"
11392 as_dir
=`$as_dirname -- "$as_dir" ||
11393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11394 X"$as_dir" : 'X\(//\)[^/]' \| \
11395 X"$as_dir" : 'X\(//\)$' \| \
11396 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11397 $as_echo X"$as_dir" |
11398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11402 /^X\(\/\/\)[^/].*/{
11415 test -d "$as_dir" && break
11417 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11418 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11422 if mkdir
-p .
2>/dev
/null
; then
11423 as_mkdir_p
='mkdir -p "$as_dir"'
11425 test -d .
/-p && rmdir .
/-p
11429 if test -x / >/dev
/null
2>&1; then
11430 as_test_x
='test -x'
11432 if ls -dL / >/dev
/null
2>&1; then
11439 if test -d "$1"; then
11445 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11446 ???[sx]*):;;*)false;;esac;fi
11450 as_executable_p
=$as_test_x
11452 # Sed expression to map a string onto a valid CPP name.
11453 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11455 # Sed expression to map a string onto a valid variable name.
11456 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11460 ## ----------------------------------- ##
11461 ## Main body of $CONFIG_STATUS script. ##
11462 ## ----------------------------------- ##
11464 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11467 # Save the log message, to keep $0 and so on meaningful, and to
11468 # report actual input values of CONFIG_FILES etc. instead of their
11469 # values after options handling.
11471 This file was extended by $as_me, which was
11472 generated by GNU Autoconf 2.65. Invocation command line was
11474 CONFIG_FILES = $CONFIG_FILES
11475 CONFIG_HEADERS = $CONFIG_HEADERS
11476 CONFIG_LINKS = $CONFIG_LINKS
11477 CONFIG_COMMANDS = $CONFIG_COMMANDS
11480 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11485 case $ac_config_files in *"
11486 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11489 case $ac_config_headers in *"
11490 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11495 # Files that config.status was made for.
11496 config_files="$ac_config_files"
11497 config_headers="$ac_config_headers"
11498 config_commands="$ac_config_commands"
11502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11504 \`$as_me' instantiates files and other configuration actions
11505 from templates according to the current configuration. Unless the files
11506 and actions are specified as TAGs, all are instantiated by default.
11508 Usage: $0 [OPTION]... [TAG]...
11510 -h, --help print this help, then exit
11511 -V, --version print version number and configuration settings, then exit
11512 --config print configuration, then exit
11513 -q, --quiet, --silent
11514 do not print progress messages
11515 -d, --debug don't remove temporary files
11516 --recheck update $as_me by reconfiguring in the same conditions
11517 --file=FILE[:TEMPLATE]
11518 instantiate the configuration file FILE
11519 --header=FILE[:TEMPLATE]
11520 instantiate the configuration header FILE
11522 Configuration files:
11525 Configuration headers:
11528 Configuration commands:
11531 Report bugs to the package provider."
11534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11535 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11538 configured by $0, generated by GNU Autoconf 2.65,
11539 with options \\"\$ac_cs_config\\"
11541 Copyright (C) 2009 Free Software Foundation, Inc.
11542 This config.status script is free software; the Free Software Foundation
11543 gives unlimited permission to copy, distribute and modify it."
11547 test -n "\$AWK" || AWK=awk
11550 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11551 # The default lists apply if the user does not specify any file.
11557 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11558 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11569 # Handling of the options.
11570 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11572 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11573 $as_echo "$ac_cs_version"; exit ;;
11574 --config |
--confi |
--conf |
--con |
--co |
--c )
11575 $as_echo "$ac_cs_config"; exit ;;
11576 --debug |
--debu |
--deb |
--de |
--d |
-d )
11578 --file |
--fil |
--fi |
--f )
11581 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11583 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11584 ac_need_defaults
=false
;;
11585 --header |
--heade |
--head |
--hea )
11588 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11590 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11591 ac_need_defaults
=false
;;
11593 # Conflict between --help and --header
11594 as_fn_error
"ambiguous option: \`$1'
11595 Try \`$0 --help' for more information.";;
11596 --help |
--hel |
-h )
11597 $as_echo "$ac_cs_usage"; exit ;;
11598 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11599 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11602 # This is an error.
11603 -*) as_fn_error
"unrecognized option: \`$1'
11604 Try \`$0 --help' for more information." ;;
11606 *) as_fn_append ac_config_targets
" $1"
11607 ac_need_defaults
=false
;;
11613 ac_configure_extra_args
=
11615 if $ac_cs_silent; then
11617 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11622 if \$ac_cs_recheck; then
11623 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11625 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11626 CONFIG_SHELL='$SHELL'
11627 export CONFIG_SHELL
11632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11636 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11637 ## Running $as_me. ##
11643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11648 aros_host_exe_suffix=${aros_host_exe_suffix}
11649 aros_tools_dir=${aros_tools_dir}
11650 aros_target_cpu=${aros_target_cpu}
11651 aros_target_arch=${aros_target_arch}
11652 aros_target_suffix=${aros_target_suffix}
11653 aros_target_nm_ln=${aros_target_nm_ln}
11654 aros_target_as_ln=${aros_target_as_ln}
11655 aros_target_ar_ln=${aros_target_ar_ln}
11656 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11657 aros_target_objdump_ln=${aros_target_objdump_ln}
11658 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11659 aros_target_strip_ln=${aros_target_strip_ln}
11662 aros_scripts_dir=${aros_scripts_dir}
11664 aros_tools_dir=${aros_tools_dir}
11669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11671 # Handling of arguments.
11672 for ac_config_target
in $ac_config_targets
11674 case $ac_config_target in
11675 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11676 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11677 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11678 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11679 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11680 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11681 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11682 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11683 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11684 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11685 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11686 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11687 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11688 "${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" ;;
11689 "${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" ;;
11690 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/library_template_c/source/lib_source/genshared.in" ;;
11691 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11692 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11693 "${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" ;;
11695 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11700 # If the user did not use the arguments to specify the items to instantiate,
11701 # then the envvar interface is used. Set only those that are not.
11702 # We use the long form for the default assignment because of an extremely
11703 # bizarre bug on SunOS 4.1.3.
11704 if $ac_need_defaults; then
11705 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11706 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11707 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11710 # Have a temporary directory for convenience. Make it in the build tree
11711 # simply because there is no reason against having it here, and in addition,
11712 # creating and moving files from /tmp can sometimes cause problems.
11713 # Hook for its removal unless debugging.
11714 # Note that there is a small window in which the directory will not be cleaned:
11715 # after its creation but before its name has been assigned to `$tmp'.
11719 trap 'exit_status=$?
11720 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11722 trap 'as_fn_exit 1' 1 2 13 15
11724 # Create a (secure) tmp directory for tmp files.
11727 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11728 test -n "$tmp" && test -d "$tmp"
11731 tmp
=.
/conf$$
-$RANDOM
11732 (umask 077 && mkdir
"$tmp")
11733 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11735 # Set up the scripts for CONFIG_FILES section.
11736 # No need to generate them if there are no CONFIG_FILES.
11737 # This happens for instance with `./config.status config.h'.
11738 if test -n "$CONFIG_FILES"; then
11741 ac_cr
=`echo X | tr X '\015'`
11742 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11743 # But we know of no other shell where ac_cr would be empty at this
11744 # point, so we can use a bashism as a fallback.
11745 if test "x$ac_cr" = x
; then
11746 eval ac_cr
=\$
\'\\r
\'
11748 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11749 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11752 ac_cs_awk_cr
=$ac_cr
11755 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11760 echo "cat >conf$$subs.awk <<_ACEOF" &&
11761 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11763 } >conf$$subs.sh ||
11764 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11765 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11767 for ac_last_try in false false false false false :; do
11768 . ./conf$$subs.sh ||
11769 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11771 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11772 if test $ac_delim_n = $ac_delim_num; then
11774 elif $ac_last_try; then
11775 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11777 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11780 rm -f conf$$subs.sh
11782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11783 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11787 s/^/S["/; s
/!.
*/"]=/
11797 s/\(.\{148\}\)..*/\1/
11799 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11804 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11811 s/\(.\{148\}\)..*/\1/
11813 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11817 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11822 ' <conf$$subs.awk | sed '
11827 ' >>$CONFIG_STATUS || ac_write_fail=1
11828 rm -f conf$$subs.awk
11829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11831 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11832 for (key in S) S_is_set[key] = 1
11838 nfields = split(line, field, "@
")
11840 len = length(field[1])
11841 for (i = 2; i < nfields; i++) {
11843 keylen = length(key)
11844 if (S_is_set[key]) {
11846 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11847 len += length(value) + length(field[++i])
11858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11859 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11860 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11863 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11864 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11867 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11868 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11869 # trailing colons and then remove the whole line if VPATH becomes empty
11870 # (actually we leave an empty line to preserve line numbers).
11871 if test "x
$srcdir" = x.; then
11872 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11873 s/:*\$(srcdir):*/:/
11874 s/:*\${srcdir}:*/:/
11876 s/^\([^=]*=[ ]*\):*/\1/
11882 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11883 fi # test -n "$CONFIG_FILES"
11885 # Set up the scripts for CONFIG_HEADERS section.
11886 # No need to generate them if there are no CONFIG_HEADERS.
11887 # This happens for instance with `./config.status Makefile'.
11888 if test -n "$CONFIG_HEADERS"; then
11889 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11893 # Transform confdefs.h into an awk script `defines.awk', embedded as
11894 # here-document in config.status, that substitutes the proper values into
11895 # config.h.in to produce config.h.
11897 # Create a delimiter string that does not exist in confdefs.h, to ease
11898 # handling of long lines.
11900 for ac_last_try in false false :; do
11901 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11902 if test -z "$ac_t"; then
11904 elif $ac_last_try; then
11905 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11907 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11911 # For the awk script, D is an array of macro values keyed by name,
11912 # likewise P contains macro parameters if any. Preserve backslash
11913 # newline sequences.
11915 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11917 s/.\{148\}/&'"$ac_delim"'/g
11920 s/^[ ]*#[ ]*define[ ][ ]*/ /
11927 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11929 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11933 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11934 D["\
1"]=" \
3\\\\\\n
"\\/p
11936 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11941 s/.\{148\}/&'"$ac_delim"'/g
11946 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11949 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11951 ' <confdefs.h | sed '
11952 s/'"$ac_delim"'/"\\\
11953 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11955 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11956 for (key in D) D_is_set[key] = 1
11959 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11961 split(line, arg, " ")
11962 if (arg[1] == "#") {
11966 defundef
= substr
(arg
[1], 2)
11969 split(mac1
, mac2
, "(") #)
11971 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11972 if (D_is_set
[macro
]) {
11973 # Preserve the white space surrounding the "#".
11974 print prefix
"define", macro P
[macro
] D
[macro
]
11977 # Replace #undef with comments. This is necessary, for example,
11978 # in the case of _POSIX_SOURCE, which is predefined and required
11979 # on some systems where configure will not decide to define it.
11980 if (defundef
== "undef") {
11981 print
"/*", prefix defundef
, macro
, "*/"
11989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11990 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
11991 fi # test -n "$CONFIG_HEADERS"
11994 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11999 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12001 case $ac_mode$ac_tag in
12003 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12004 :[FH
]-) ac_tag
=-:-;;
12005 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12022 -) ac_f
="$tmp/stdin";;
12023 *) # Look for the file first in the build tree, then in the source tree
12024 # (if the path is not absolute). The absolute path cannot be DOS-style,
12025 # because $ac_f cannot contain `:'.
12029 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12031 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12033 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12034 as_fn_append ac_file_inputs
" '$ac_f'"
12037 # Let's still pretend it is `configure' which instantiates (i.e., don't
12038 # use $as_me), people would be surprised to read:
12039 # /* config.h. Generated by config.status. */
12040 configure_input
='Generated from '`
12041 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12043 if test x
"$ac_file" != x-
; then
12044 configure_input
="$ac_file. $configure_input"
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12046 $as_echo "$as_me: creating $ac_file" >&6;}
12048 # Neutralize special characters interpreted by sed in replacement strings.
12049 case $configure_input in #(
12050 *\
&* |
*\|
* |
*\\* )
12051 ac_sed_conf_input
=`$as_echo "$configure_input" |
12052 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12053 *) ac_sed_conf_input
=$configure_input;;
12057 *:-:* |
*:-) cat >"$tmp/stdin" \
12058 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12063 ac_dir
=`$as_dirname -- "$ac_file" ||
12064 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12065 X"$ac_file" : 'X\(//\)[^/]' \| \
12066 X"$ac_file" : 'X\(//\)$' \| \
12067 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12068 $as_echo X"$ac_file" |
12069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12073 /^X\(\/\/\)[^/].*/{
12086 as_dir
="$ac_dir"; as_fn_mkdir_p
12090 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12092 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12093 # A ".." for each directory in $ac_dir_suffix.
12094 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12095 case $ac_top_builddir_sub in
12096 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12097 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12100 ac_abs_top_builddir
=$ac_pwd
12101 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12102 # for backward compatibility:
12103 ac_top_builddir
=$ac_top_build_prefix
12106 .
) # We are building in place.
12108 ac_top_srcdir
=$ac_top_builddir_sub
12109 ac_abs_top_srcdir
=$ac_pwd ;;
12110 [\\/]* | ?
:[\\/]* ) # Absolute name.
12111 ac_srcdir
=$srcdir$ac_dir_suffix;
12112 ac_top_srcdir
=$srcdir
12113 ac_abs_top_srcdir
=$srcdir ;;
12114 *) # Relative name.
12115 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12116 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12117 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12119 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12131 # If the template does not know about datarootdir, expand it.
12132 # FIXME: This hack should be removed a few years after 2.60.
12133 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12144 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12145 *datarootdir
*) ac_datarootdir_seen
=yes;;
12146 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12148 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12150 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12151 ac_datarootdir_hack='
12152 s&@datadir@&$datadir&g
12153 s&@docdir@&$docdir&g
12154 s&@infodir@&$infodir&g
12155 s&@localedir@&$localedir&g
12156 s&@mandir@&$mandir&g
12157 s&\\\${datarootdir}&$datarootdir&g' ;;
12161 # Neutralize VPATH when `$srcdir' = `.'.
12162 # Shell code in configure.ac might set extrasub.
12163 # FIXME: do we really want to maintain this feature?
12164 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12165 ac_sed_extra="$ac_vpsub
12168 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12170 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12171 s|@configure_input@|
$ac_sed_conf_input|
;t t
12172 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12173 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12174 s
&@srcdir@
&$ac_srcdir&;t t
12175 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12176 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12177 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12178 s
&@builddir@
&$ac_builddir&;t t
12179 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12180 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12181 $ac_datarootdir_hack
12183 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12184 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12186 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12187 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12188 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12190 which seems to be undefined. Please make sure it is defined." >&5
12191 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12192 which seems to be undefined. Please make sure it is defined." >&2;}
12196 -) cat "$tmp/out" && rm -f "$tmp/out";;
12197 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12199 || as_fn_error "could not create $ac_file" "$LINENO" 5
12205 if test x"$ac_file" != x-; then
12207 $as_echo "/* $configure_input */" \
12208 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12209 } >"$tmp/config.h" \
12210 || as_fn_error "could not create $ac_file" "$LINENO" 5
12211 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12213 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12216 mv "$tmp/config.h" "$ac_file" \
12217 || as_fn_error "could not create $ac_file" "$LINENO" 5
12220 $as_echo "/* $configure_input */" \
12221 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12222 || as_fn_error "could not create -" "$LINENO" 5
12226 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12227 $as_echo "$as_me: executing $ac_file commands" >&6;}
12232 case $ac_file$ac_mode in
12233 "compiler_executable":C)
12234 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12236 prefix="${prefix}/${aros_target_cpu}-aros"
12237 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12241 chmod a+x ${prefix2}-gcc ${prefix2}-ld
12243 ln -sf ${prefix2}-gcc ${prefix}-gcc
12244 ln -sf ${prefix2}-ld ${prefix}-ld
12246 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12247 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12248 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12249 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12250 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12251 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12252 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12254 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12255 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12256 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12257 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12258 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12259 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12260 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12262 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
12263 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12271 ac_clean_files=$ac_clean_files_save
12273 test $ac_write_fail = 0 ||
12274 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
12277 # configure is writing to config.log, and then calls config.status.
12278 # config.status does its own redirection, appending to config.log.
12279 # Unfortunately, on DOS this fails, as config.log is still kept open
12280 # by configure, so config.status won't be able to
write to it
; its
12281 # output is simply discarded. So we exec the FD to /dev/null,
12282 # effectively closing config.log, so it can be properly (re)opened and
12283 # appended to by config.status. When coming back to configure, we
12284 # need to make the FD available again.
12285 if test "$no_create" != yes; then
12287 ac_config_status_args
=
12288 test "$silent" = yes &&
12289 ac_config_status_args
="$ac_config_status_args --quiet"
12291 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12293 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12294 # would make configure fail if this is the last instruction.
12295 $ac_cs_success || as_fn_exit $?
12297 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12299 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12304 #XXX compatability...
12305 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12307 if test -n "$aros_shared_cflags" ; then
12308 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12309 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg