2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
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 STATUS 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
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&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, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
613 aros_nesting_supervisor
618 aros_host_x11_libdirs
619 aros_host_x11_includes
623 aros_default_wbheight
630 aros_target_strip_flags
638 aros_kernel_objcflags
657 aros_target_cc_includes
672 aros_target_bootloader
701 aros_cflags_iquote_end
703 kernel_cflags_iquote_end
705 host_cflags_iquote_end
707 aros_target_nostdlib_ldflags
708 aros_target_detach_ldflags
709 aros_target_nix_ldflags
710 aros_target_nostartup_ldflags
711 aros_target_nostdinc_cflags
716 aros_target_ranlib_ln
717 aros_target_objdump_ln
718 aros_target_objcopy_ln
813 program_transform_name
826 enable_option_checking
835 enable_target_variant
850 enable_palm_debug_hack
851 enable_nesting_supervisor
863 ac_precious_vars
='build_alias
875 # Initialize some variables set by options.
877 ac_init_version
=false
878 ac_unrecognized_opts
=
880 # The variables have the same names as the options, with
881 # dashes changed to underlines.
889 program_transform_name
=s
,x
,x
,
897 # Installation directory options.
898 # These are left unexpanded so users can "make install exec_prefix=/foo"
899 # and all the variables that are supposed to be based on exec_prefix
900 # by default will actually change.
901 # Use braces instead of parens because sh, perl, etc. also accept them.
902 # (The list follows the same order as the GNU Coding Standards.)
903 bindir
='${exec_prefix}/bin'
904 sbindir
='${exec_prefix}/sbin'
905 libexecdir
='${exec_prefix}/libexec'
906 datarootdir
='${prefix}/share'
907 datadir
='${datarootdir}'
908 sysconfdir
='${prefix}/etc'
909 sharedstatedir
='${prefix}/com'
910 localstatedir
='${prefix}/var'
911 includedir
='${prefix}/include'
912 oldincludedir
='/usr/include'
913 docdir
='${datarootdir}/doc/${PACKAGE}'
914 infodir
='${datarootdir}/info'
919 libdir
='${exec_prefix}/lib'
920 localedir
='${datarootdir}/locale'
921 mandir
='${datarootdir}/man'
927 # If the previous option needs an argument, assign it.
928 if test -n "$ac_prev"; then
929 eval $ac_prev=\
$ac_option
935 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
940 # Accept the important Cygnus configure options, so we can diagnose typos.
942 case $ac_dashdash$ac_option in
946 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
948 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
951 -build |
--build |
--buil |
--bui |
--bu)
952 ac_prev
=build_alias
;;
953 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
954 build_alias
=$ac_optarg ;;
956 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
957 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
958 ac_prev
=cache_file
;;
959 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
960 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
961 cache_file
=$ac_optarg ;;
964 cache_file
=config.cache
;;
966 -datadir |
--datadir |
--datadi |
--datad)
968 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
969 datadir
=$ac_optarg ;;
971 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
972 |
--dataroo |
--dataro |
--datar)
973 ac_prev
=datarootdir
;;
974 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
975 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
976 datarootdir
=$ac_optarg ;;
978 -disable-* |
--disable-*)
979 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
980 # Reject names that are not valid shell variable names.
981 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
982 as_fn_error $?
"invalid feature name: $ac_useropt"
983 ac_useropt_orig
=$ac_useropt
984 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
985 case $ac_user_opts in
989 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
990 ac_unrecognized_sep
=', ';;
992 eval enable_
$ac_useropt=no
;;
994 -docdir |
--docdir |
--docdi |
--doc |
--do)
996 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
999 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1001 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1002 dvidir
=$ac_optarg ;;
1004 -enable-* |
--enable-*)
1005 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1008 as_fn_error $?
"invalid feature name: $ac_useropt"
1009 ac_useropt_orig
=$ac_useropt
1010 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1013 "enable_
$ac_useropt"
1015 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1016 ac_unrecognized_sep
=', ';;
1018 eval enable_
$ac_useropt=\
$ac_optarg ;;
1020 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1021 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1022 |
--exec |
--exe |
--ex)
1023 ac_prev
=exec_prefix
;;
1024 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1025 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1026 |
--exec=* |
--exe=* |
--ex=*)
1027 exec_prefix
=$ac_optarg ;;
1029 -gas |
--gas |
--ga |
--g)
1030 # Obsolete; use --with-gas.
1033 -help |
--help |
--hel |
--he |
-h)
1034 ac_init_help
=long
;;
1035 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1036 ac_init_help
=recursive
;;
1037 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1038 ac_init_help
=short
;;
1040 -host |
--host |
--hos |
--ho)
1041 ac_prev
=host_alias
;;
1042 -host=* |
--host=* |
--hos=* |
--ho=*)
1043 host_alias
=$ac_optarg ;;
1045 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1047 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1049 htmldir
=$ac_optarg ;;
1051 -includedir |
--includedir |
--includedi |
--included |
--include \
1052 |
--includ |
--inclu |
--incl |
--inc)
1053 ac_prev
=includedir
;;
1054 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1055 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1056 includedir
=$ac_optarg ;;
1058 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1060 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1061 infodir
=$ac_optarg ;;
1063 -libdir |
--libdir |
--libdi |
--libd)
1065 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1066 libdir
=$ac_optarg ;;
1068 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1069 |
--libexe |
--libex |
--libe)
1070 ac_prev
=libexecdir
;;
1071 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1072 |
--libexe=* |
--libex=* |
--libe=*)
1073 libexecdir
=$ac_optarg ;;
1075 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1076 ac_prev
=localedir
;;
1077 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1078 localedir
=$ac_optarg ;;
1080 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1081 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1082 ac_prev
=localstatedir
;;
1083 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1084 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1085 localstatedir
=$ac_optarg ;;
1087 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1089 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1090 mandir
=$ac_optarg ;;
1092 -nfp |
--nfp |
--nf)
1093 # Obsolete; use --without-fp.
1096 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1097 |
--no-cr |
--no-c |
-n)
1100 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1101 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1104 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1105 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1106 |
--oldin |
--oldi |
--old |
--ol |
--o)
1107 ac_prev
=oldincludedir
;;
1108 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1109 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1110 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1111 oldincludedir
=$ac_optarg ;;
1113 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1115 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1116 prefix
=$ac_optarg ;;
1118 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1119 |
--program-pre |
--program-pr |
--program-p)
1120 ac_prev
=program_prefix
;;
1121 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1122 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1123 program_prefix
=$ac_optarg ;;
1125 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1126 |
--program-suf |
--program-su |
--program-s)
1127 ac_prev
=program_suffix
;;
1128 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1129 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1130 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1140 -program-transform-name=* |
--program-transform-name=* \
1141 |
--program-transform-nam=* |
--program-transform-na=* \
1142 |
--program-transform-n=* |
--program-transform-=* \
1143 |
--program-transform=* |
--program-transfor=* \
1144 |
--program-transfo=* |
--program-transf=* \
1145 |
--program-trans=* |
--program-tran=* \
1146 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1147 program_transform_name
=$ac_optarg ;;
1149 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1151 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1152 pdfdir
=$ac_optarg ;;
1154 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1156 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1159 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1160 |
-silent |
--silent |
--silen |
--sile |
--sil)
1163 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1165 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1167 sbindir
=$ac_optarg ;;
1169 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1170 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1171 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1173 ac_prev
=sharedstatedir
;;
1174 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1175 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1176 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1178 sharedstatedir
=$ac_optarg ;;
1180 -site |
--site |
--sit)
1182 -site=* |
--site=* |
--sit=*)
1185 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1187 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1188 srcdir
=$ac_optarg ;;
1190 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1191 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1192 ac_prev
=sysconfdir
;;
1193 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1194 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1195 sysconfdir
=$ac_optarg ;;
1197 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1198 ac_prev
=target_alias
;;
1199 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1200 target_alias
=$ac_optarg ;;
1202 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1205 -version |
--version |
--versio |
--versi |
--vers |
-V)
1206 ac_init_version
=: ;;
1209 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1210 # Reject names that are not valid shell variable names.
1211 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1212 as_fn_error $?
"invalid package name: $ac_useropt"
1213 ac_useropt_orig
=$ac_useropt
1214 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1215 case $ac_user_opts in
1219 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1220 ac_unrecognized_sep
=', ';;
1222 eval with_
$ac_useropt=\
$ac_optarg ;;
1224 -without-* |
--without-*)
1225 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1228 as_fn_error $?
"invalid package name: $ac_useropt"
1229 ac_useropt_orig
=$ac_useropt
1230 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1235 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1236 ac_unrecognized_sep
=', ';;
1238 eval with_
$ac_useropt=no
;;
1241 # Obsolete; use --with-x.
1244 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1245 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1246 ac_prev
=x_includes
;;
1247 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1248 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1249 x_includes
=$ac_optarg ;;
1251 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1252 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1253 ac_prev
=x_libraries
;;
1254 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1255 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1256 x_libraries
=$ac_optarg ;;
1258 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1259 Try \`$0 --help' for more information"
1263 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1264 # Reject names that are not valid shell variable names.
1265 case $ac_envvar in #(
1266 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1267 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1269 eval $ac_envvar=\
$ac_optarg
1270 export $ac_envvar ;;
1273 # FIXME: should be removed in autoconf 3.0.
1274 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1275 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1276 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1277 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1283 if test -n "$ac_prev"; then
1284 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1285 as_fn_error $?
"missing argument to $ac_option"
1288 if test -n "$ac_unrecognized_opts"; then
1289 case $enable_option_checking in
1291 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1292 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1296 # Check all directory arguments for consistency.
1297 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1298 datadir sysconfdir sharedstatedir localstatedir includedir \
1299 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1300 libdir localedir mandir
1302 eval ac_val
=\$
$ac_var
1303 # Remove trailing slashes.
1306 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1307 eval $ac_var=\
$ac_val;;
1309 # Be sure to have absolute directory names.
1311 [\\/$
]* | ?
:[\\/]* ) continue;;
1312 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1314 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1317 # There might be people who depend on the old broken behavior: `$host'
1318 # used to hold the argument of --host etc.
1319 # FIXME: To remove some day.
1322 target
=$target_alias
1324 # FIXME: To remove some day.
1325 if test "x$host_alias" != x
; then
1326 if test "x$build_alias" = x
; then
1327 cross_compiling
=maybe
1328 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1329 If a cross compiler is detected then cross compile mode will be used" >&2
1330 elif test "x$build_alias" != "x$host_alias"; then
1336 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1338 test "$silent" = yes && exec 6>/dev
/null
1341 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1342 ac_ls_di
=`ls -di .` &&
1343 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1344 as_fn_error $?
"working directory cannot be determined"
1345 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1346 as_fn_error $?
"pwd does not report name of working directory"
1349 # Find the source files, if location was not specified.
1350 if test -z "$srcdir"; then
1351 ac_srcdir_defaulted
=yes
1352 # Try the directory containing this script, then the parent directory.
1353 ac_confdir
=`$as_dirname -- "$as_myself" ||
1354 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1355 X"$as_myself" : 'X\(//\)[^/]' \| \
1356 X"$as_myself" : 'X\(//\)$' \| \
1357 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1358 $as_echo X"$as_myself" |
1359 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1377 if test ! -r "$srcdir/$ac_unique_file"; then
1381 ac_srcdir_defaulted
=no
1383 if test ! -r "$srcdir/$ac_unique_file"; then
1384 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1385 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1387 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1389 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1391 # When building in place, set srcdir=.
1392 if test "$ac_abs_confdir" = "$ac_pwd"; then
1395 # Remove unnecessary trailing slashes from srcdir.
1396 # Double slashes in file names in object file debugging info
1397 # mess up M-x gdb in Emacs.
1399 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1401 for ac_var
in $ac_precious_vars; do
1402 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1403 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1404 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1405 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1409 # Report the --help message.
1411 if test "$ac_init_help" = "long"; then
1412 # Omit some internal or obsolete options to make the list less imposing.
1413 # This message is too long to be a string in the A/UX 3.1 sh.
1415 \`configure' configures this package to adapt to many kinds of systems.
1417 Usage: $0 [OPTION]... [VAR=VALUE]...
1419 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1420 VAR=VALUE. See below for descriptions of some of the useful variables.
1422 Defaults for the options are specified in brackets.
1425 -h, --help display this help and exit
1426 --help=short display options specific to this package
1427 --help=recursive display the short help of all the included packages
1428 -V, --version display version information and exit
1429 -q, --quiet, --silent do not print \`checking ...' messages
1430 --cache-file=FILE cache test results in FILE [disabled]
1431 -C, --config-cache alias for \`--cache-file=config.cache'
1432 -n, --no-create do not create output files
1433 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1435 Installation directories:
1436 --prefix=PREFIX install architecture-independent files in PREFIX
1437 [$ac_default_prefix]
1438 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1441 By default, \`make install' will install all the files in
1442 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1443 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1444 for instance \`--prefix=\$HOME'.
1446 For better control, use the options below.
1448 Fine tuning of the installation directories:
1449 --bindir=DIR user executables [EPREFIX/bin]
1450 --sbindir=DIR system admin executables [EPREFIX/sbin]
1451 --libexecdir=DIR program executables [EPREFIX/libexec]
1452 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1453 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1454 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1455 --libdir=DIR object code libraries [EPREFIX/lib]
1456 --includedir=DIR C header files [PREFIX/include]
1457 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1458 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1459 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1460 --infodir=DIR info documentation [DATAROOTDIR/info]
1461 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1462 --mandir=DIR man documentation [DATAROOTDIR/man]
1463 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1464 --htmldir=DIR html documentation [DOCDIR]
1465 --dvidir=DIR dvi documentation [DOCDIR]
1466 --pdfdir=DIR pdf documentation [DOCDIR]
1467 --psdir=DIR ps documentation [DOCDIR]
1473 --x-includes=DIR X include files are
in DIR
1474 --x-libraries=DIR X library files are
in DIR
1477 --build=BUILD configure
for building on BUILD
[guessed
]
1478 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1482 if test -n "$ac_init_help"; then
1487 --disable-option-checking ignore unrecognized
--enable/--with options
1488 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1489 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1490 --enable-build-type=TYPE
1491 Select the build
type. Available types are
:
1492 personal
, nightly
, snapshot
, milestone
, release. Do
1493 NOT use this option unless you know what you are
1494 doing
! (default
=personal
)
1495 --enable-debug=list Enable different types of debug. Commas or
1496 whitespaces can be used to separate the items
in the
1497 list. Available types of debug are
: all
, none
,
1498 messages
, stack
, mungwall
, modules
, symbols. If no
1499 list is provided
then "all" is assumed.
1501 --enable-crosstools Build cross-compiler toolchains
if necessary
1503 --enable-distcc Use distcc as a front end to the compiler
1505 --enable-ccache Use ccache as a front end to the compiler
1507 --enable-target-variant=NAME
1508 Enable a specific target variant
(default
=none
)
1509 --enable-includes=dir Alternative system include directory
1510 --enable-palm-debug-hack
1511 Enable palm debug output hack
in palm native
1513 --enable-nesting-supervisor
1514 Enable nesting supervisor support
in unix
1516 --disable-mmu Disable MMU support
(default
=enabled
)
1517 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1518 --enable-x11-shm use X11 shared memory
(default
=auto
)
1519 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1520 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1521 --disable-sdltest Do not try to compile and run a
test SDL program
1522 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1525 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1526 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1527 --with-gcc-version=VERSION
1528 Use
host gcc-VERSION
for building AROS
1529 --with-optimization=FLAGS
1530 Use optimization flags FLAGS
(default
=-O2).
1531 --with-paranoia=FLAGS CC flags to
enable paranoia
1532 --with-xcode=PATH Specify XCode path
for iOS targets
1533 (default
=/Developer
).
1534 --with-ios-version=VERSION
1535 Specify minimum supported iOS version
(default
=3.0).
1536 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1537 --with-sdk=PATH Specify Android SDK path
1538 (default
=$default_android_sdk).
1539 --with-ndk=PATH Specify Android NDK path
1540 (default
=$default_android_ndk).
1541 --with-android-version=VERSION
1542 Use Android platform VERSION
(default
=2.2).
1543 --with-aros-gcc=VERSION Use aros-gcc-VERSION
for building AROS
1544 --with-portssources=DIR Where to download sourcecode
for external ports
1545 --with-bootloader=NAME Use a specific bootloader
1546 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1547 --with-theme=NAME Use a specific GUI Theme
1548 --with-resolution=XRESxYRESxDEPTH
1549 Default resolution of the initial WorkbenchScreen
1550 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1551 --with-x use the X Window System
1552 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1553 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1555 Some influential environment variables
:
1556 CC C compiler
command
1557 CFLAGS C compiler flags
1558 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1559 nonstandard directory
<lib dir
>
1560 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1561 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1562 you have headers
in a nonstandard directory
<include dir
>
1564 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1566 Use these variables to override the choices made by
`configure' or to help
1567 it to find libraries and programs with nonstandard names/locations.
1569 Report bugs to the package provider.
1574 if test "$ac_init_help" = "recursive"; then
1575 # If there are subdirs, report their specific --help.
1576 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1577 test -d "$ac_dir" ||
1578 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1583 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1585 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1586 # A ".." for each directory in $ac_dir_suffix.
1587 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1588 case $ac_top_builddir_sub in
1589 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1590 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1593 ac_abs_top_builddir=$ac_pwd
1594 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1595 # for backward compatibility:
1596 ac_top_builddir=$ac_top_build_prefix
1599 .) # We are building in place.
1601 ac_top_srcdir=$ac_top_builddir_sub
1602 ac_abs_top_srcdir=$ac_pwd ;;
1603 [\\/]* | ?:[\\/]* ) # Absolute name.
1604 ac_srcdir=$srcdir$ac_dir_suffix;
1605 ac_top_srcdir=$srcdir
1606 ac_abs_top_srcdir=$srcdir ;;
1608 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1609 ac_top_srcdir=$ac_top_build_prefix$srcdir
1610 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1612 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1614 cd "$ac_dir" || { ac_status=$?; continue; }
1615 # Check for guested configure.
1616 if test -f "$ac_srcdir/configure.gnu"; then
1618 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1619 elif test -f "$ac_srcdir/configure"; then
1621 $SHELL "$ac_srcdir/configure" --help=recursive
1623 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1625 cd "$ac_pwd" || { ac_status=$?; break; }
1629 test -n "$ac_init_help" && exit $ac_status
1630 if $ac_init_version; then
1633 generated by GNU Autoconf 2.67
1635 Copyright (C) 2010 Free Software Foundation, Inc.
1636 This configure script is free software; the Free Software Foundation
1637 gives unlimited permission to copy, distribute and modify it.
1642 ## ------------------------ ##
1643 ## Autoconf initialization. ##
1644 ## ------------------------ ##
1646 # ac_fn_c_try_compile LINENO
1647 # --------------------------
1648 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1649 ac_fn_c_try_compile ()
1651 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1652 rm -f conftest.$ac_objext
1653 if { { ac_try="$ac_compile"
1655 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1656 *) ac_try_echo
=$ac_try;;
1658 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1659 $as_echo "$ac_try_echo"; } >&5
1660 (eval "$ac_compile") 2>conftest.err
1662 if test -s conftest.err
; then
1663 grep -v '^ *+' conftest.err
>conftest.er1
1664 cat conftest.er1
>&5
1665 mv -f conftest.er1 conftest.err
1667 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1668 test $ac_status = 0; } && {
1669 test -z "$ac_c_werror_flag" ||
1670 test ! -s conftest.err
1671 } && test -s conftest.
$ac_objext; then :
1674 $as_echo "$as_me: failed program was:" >&5
1675 sed 's/^/| /' conftest.
$ac_ext >&5
1679 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1680 as_fn_set_status
$ac_retval
1682 } # ac_fn_c_try_compile
1684 # ac_fn_c_try_cpp LINENO
1685 # ----------------------
1686 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1689 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1690 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1699 if test -s conftest.err; then
1700 grep -v '^ *+' conftest.err >conftest.er1
1701 cat conftest.er1 >&5
1702 mv -f conftest.er1 conftest.err
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } > conftest.i && {
1706 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1707 test ! -s conftest.err
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1716 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1717 as_fn_set_status $ac_retval
1721 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1722 # -------------------------------------------------------
1723 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1724 # the include files in INCLUDES and setting the cache variable VAR
1726 ac_fn_c_check_header_mongrel ()
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if eval "test \"\${$3+set}\"" = set; then :
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval "test \"\${$3+set}\"" = set; then :
1733 $as_echo_n "(cached) " >&6
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1737 $as_echo "$ac_res" >&6; }
1739 # Is the header compilable?
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1741 $as_echo_n "checking $2 usability... " >&6; }
1742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1743 /* end confdefs.h. */
1747 if ac_fn_c_try_compile "$LINENO"; then :
1748 ac_header_compiler=yes
1750 ac_header_compiler=no
1752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1754 $as_echo "$ac_header_compiler" >&6; }
1756 # Is the header present?
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1758 $as_echo_n "checking $2 presence... " >&6; }
1759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1760 /* end confdefs.h. */
1763 if ac_fn_c_try_cpp "$LINENO"; then :
1764 ac_header_preproc=yes
1766 ac_header_preproc=no
1768 rm -f conftest.err conftest.i conftest.$ac_ext
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1770 $as_echo "$ac_header_preproc" >&6; }
1772 # So? What about this header?
1773 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1776 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1778 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1782 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1784 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1786 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1788 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1790 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1794 $as_echo_n "checking for $2... " >&6; }
1795 if eval "test \"\${$3+set}\"" = set; then :
1796 $as_echo_n "(cached) " >&6
1798 eval "$3=\$ac_header_compiler"
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1802 $as_echo "$ac_res" >&6; }
1804 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1806 } # ac_fn_c_check_header_mongrel
1808 # ac_fn_c_try_run LINENO
1809 # ----------------------
1810 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1811 # that executables *can* be run.
1814 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1815 if { { ac_try="$ac_link"
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_link") 2>&5
1824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1825 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1826 { { case "(($ac_try" in
1827 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1828 *) ac_try_echo=$ac_try;;
1830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831 $as_echo "$ac_try_echo"; } >&5
1832 (eval "$ac_try") 2>&5
1834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1835 test $ac_status = 0; }; }; then :
1838 $as_echo "$as_me: program exited with status $ac_status" >&5
1839 $as_echo "$as_me: failed program was:" >&5
1840 sed 's/^/| /' conftest.$ac_ext >&5
1842 ac_retval=$ac_status
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 as_fn_set_status $ac_retval
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if eval "test \"\${$3+set}\"" = set; then :
1860 $as_echo_n "(cached) " >&6
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1867 if ac_fn_c_try_compile "$LINENO"; then :
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_header_compile
1881 # ac_fn_c_try_link LINENO
1882 # -----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded.
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 rm -f conftest.$ac_objext conftest$ac_exeext
1888 if { { ac_try="$ac_link"
1890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1891 *) ac_try_echo
=$ac_try;;
1893 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>conftest.err
1897 if test -s conftest.err
; then
1898 grep -v '^ *+' conftest.err
>conftest.er1
1899 cat conftest.er1
>&5
1900 mv -f conftest.er1 conftest.err
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && {
1904 test -z "$ac_c_werror_flag" ||
1905 test ! -s conftest.err
1906 } && test -s conftest
$ac_exeext && {
1907 test "$cross_compiling" = yes ||
1908 $as_test_x conftest
$ac_exeext
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.
$ac_ext >&5
1917 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1918 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1919 # interfere with the next link command; also delete a directory that is
1920 # left behind by Apple's compiler. We do this before executing the actions.
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1922 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1923 as_fn_set_status
$ac_retval
1925 } # ac_fn_c_try_link
1927 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1928 # ----------------------------------------------------
1929 # Tries to find if the field MEMBER exists in type AGGR, after including
1930 # INCLUDES, setting cache variable VAR accordingly.
1931 ac_fn_c_check_member
()
1933 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1935 $as_echo_n "checking for $2.$3... " >&6; }
1936 if eval "test \"\${$4+set}\"" = set; then :
1937 $as_echo_n "(cached) " >&6
1939 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1952 if ac_fn_c_try_compile
"$LINENO"; then :
1955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1962 if (sizeof ac_aggr.$3)
1968 if ac_fn_c_try_compile
"$LINENO"; then :
1973 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1979 $as_echo "$ac_res" >&6; }
1980 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1982 } # ac_fn_c_check_member
1984 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1985 # ---------------------------------------------
1986 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1988 ac_fn_c_check_decl
()
1990 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1991 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1992 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1994 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1995 if eval "test \"\${$3+set}\"" = set; then :
1996 $as_echo_n "(cached) " >&6
1998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1999 /* end confdefs.h. */
2004 #ifndef $as_decl_name
2006 (void) $as_decl_use;
2008 (void) $as_decl_name;
2016 if ac_fn_c_try_compile
"$LINENO"; then :
2021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2025 $as_echo "$ac_res" >&6; }
2026 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2028 } # ac_fn_c_check_decl
2030 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2031 # -------------------------------------------
2032 # Tests whether TYPE exists after having included INCLUDES, setting cache
2033 # variable VAR accordingly.
2034 ac_fn_c_check_type
()
2036 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 $as_echo_n "checking for $2... " >&6; }
2039 if eval "test \"\${$3+set}\"" = set; then :
2040 $as_echo_n "(cached) " >&6
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2055 if ac_fn_c_try_compile
"$LINENO"; then :
2056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2057 /* end confdefs.h. */
2068 if ac_fn_c_try_compile
"$LINENO"; then :
2073 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2079 $as_echo "$ac_res" >&6; }
2080 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2082 } # ac_fn_c_check_type
2084 # ac_fn_c_check_func LINENO FUNC VAR
2085 # ----------------------------------
2086 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2087 ac_fn_c_check_func
()
2089 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2091 $as_echo_n "checking for $2... " >&6; }
2092 if eval "test \"\${$3+set}\"" = set; then :
2093 $as_echo_n "(cached) " >&6
2095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2096 /* end confdefs.h. */
2097 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2099 #define $2 innocuous_$2
2101 /* System header to define __stub macros and hopefully few prototypes,
2102 which can conflict with char $2 (); below.
2103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2104 <limits.h> exists even on freestanding compilers. */
2107 # include <limits.h>
2109 # include <assert.h>
2114 /* Override any GCC internal prototype to avoid an error.
2115 Use char because int might match the return type of a GCC
2116 builtin and then its argument prototype would still apply. */
2121 /* The GNU C library defines this for functions which it implements
2122 to always fail with ENOSYS. Some functions are actually named
2123 something starting with __ and the normal name is an alias. */
2124 #if defined __stub_$2 || defined __stub___$2
2136 if ac_fn_c_try_link
"$LINENO"; then :
2141 rm -f core conftest.err conftest.
$ac_objext \
2142 conftest
$ac_exeext conftest.
$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2146 $as_echo "$ac_res" >&6; }
2147 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2149 } # ac_fn_c_check_func
2150 cat >config.log
<<_ACEOF
2151 This file contains any messages produced by compilers while
2152 running configure, to aid debugging if configure makes a mistake.
2154 It was created by $as_me, which was
2155 generated by GNU Autoconf 2.67. Invocation command line was
2167 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2168 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2169 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2170 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2171 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2173 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2174 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2176 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2177 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2178 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2179 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2180 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2181 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2182 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir
=.
2191 $as_echo "PATH: $as_dir"
2207 # Keep a trace of the command line.
2208 # Strip out --no-create and --no-recursion so they do not pile up.
2209 # Strip out --silent because we don't want to record it for future runs.
2210 # Also quote any args containing shell meta-characters.
2211 # Make two passes to allow for proper duplicate-argument suppression.
2215 ac_must_keep_next
=false
2221 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2222 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2223 |
-silent |
--silent |
--silen |
--sile |
--sil)
2226 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2229 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2231 as_fn_append ac_configure_args1
" '$ac_arg'"
2232 if test $ac_must_keep_next = true
; then
2233 ac_must_keep_next
=false
# Got value, back to normal.
2236 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2237 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2238 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2239 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2240 case "$ac_configure_args0 " in
2241 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2244 -* ) ac_must_keep_next
=true
;;
2247 as_fn_append ac_configure_args
" '$ac_arg'"
2252 { ac_configure_args0
=; unset ac_configure_args0
;}
2253 { ac_configure_args1
=; unset ac_configure_args1
;}
2255 # When interrupted or exit'd, cleanup temporary files, and complete
2256 # config.log. We remove comments because anyway the quotes in there
2257 # would cause problems or look ugly.
2258 # WARNING: Use '\'' to represent an apostrophe within the trap.
2259 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2260 trap 'exit_status=$?
2261 # Save into config.log some information that might help in debugging.
2265 $as_echo "## ---------------- ##
2266 ## Cache variables. ##
2267 ## ---------------- ##"
2269 # The following way of writing the cache mishandles newlines in values,
2271 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2272 eval ac_val=\$$ac_var
2276 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2277 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2280 _ | IFS | as_nl) ;; #(
2281 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2282 *) { eval $ac_var=; unset $ac_var;} ;;
2287 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2288 *${as_nl}ac_space=\ *)
2290 "s/'\''/'\''\\\\'\'''\''/g;
2291 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2294 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2301 $as_echo "## ----------------- ##
2302 ## Output variables. ##
2303 ## ----------------- ##"
2305 for ac_var in $ac_subst_vars
2307 eval ac_val=\$$ac_var
2309 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2311 $as_echo "$ac_var='\''$ac_val'\''"
2315 if test -n "$ac_subst_files"; then
2316 $as_echo "## ------------------- ##
2317 ## File substitutions. ##
2318 ## ------------------- ##"
2320 for ac_var
in $ac_subst_files
2322 eval ac_val
=\$
$ac_var
2324 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2326 $as_echo "$ac_var='\''$ac_val'\''"
2331 if test -s confdefs.h; then
2332 $as_echo "## ----------- ##
2339 test "$ac_signal" != 0 &&
2340 $as_echo "$as_me: caught signal $ac_signal"
2341 $as_echo "$as_me: exit $exit_status"
2343 rm -f core *.core core.conftest.* &&
2344 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2347 for ac_signal
in 1 2 13 15; do
2348 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2352 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2353 rm -f -r conftest
* confdefs.h
2355 $as_echo "/* confdefs.h */" > confdefs.h
2357 # Predefined preprocessor variables.
2359 cat >>confdefs.h
<<_ACEOF
2360 #define PACKAGE_NAME "$PACKAGE_NAME"
2363 cat >>confdefs.h
<<_ACEOF
2364 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2367 cat >>confdefs.h
<<_ACEOF
2368 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2371 cat >>confdefs.h
<<_ACEOF
2372 #define PACKAGE_STRING "$PACKAGE_STRING"
2375 cat >>confdefs.h
<<_ACEOF
2376 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2379 cat >>confdefs.h
<<_ACEOF
2380 #define PACKAGE_URL "$PACKAGE_URL"
2384 # Let the site file select an alternate cache file if it wants to.
2385 # Prefer an explicitly selected file to automatically selected ones.
2388 if test -n "$CONFIG_SITE"; then
2389 # We do not want a PATH search for config.site.
2390 case $CONFIG_SITE in #((
2391 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2392 */*) ac_site_file1
=$CONFIG_SITE;;
2393 *) ac_site_file1
=.
/$CONFIG_SITE;;
2395 elif test "x$prefix" != xNONE
; then
2396 ac_site_file1
=$prefix/share
/config.site
2397 ac_site_file2
=$prefix/etc
/config.site
2399 ac_site_file1
=$ac_default_prefix/share
/config.site
2400 ac_site_file2
=$ac_default_prefix/etc
/config.site
2402 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2404 test "x$ac_site_file" = xNONE
&& continue
2405 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2407 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2408 sed 's/^/| /' "$ac_site_file" >&5
2410 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2412 as_fn_error $?
"failed to load site script $ac_site_file
2413 See \`config.log' for more details" "$LINENO" 5 ; }
2417 if test -r "$cache_file"; then
2418 # Some versions of bash will fail to source /dev/null (special files
2419 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2420 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2422 $as_echo "$as_me: loading cache $cache_file" >&6;}
2424 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2425 *) .
"./$cache_file";;
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2430 $as_echo "$as_me: creating cache $cache_file" >&6;}
2434 as_fn_append ac_header_list
" stdlib.h"
2435 as_fn_append ac_header_list
" unistd.h"
2436 as_fn_append ac_header_list
" sys/param.h"
2437 # Check that the precious variables saved in the cache have kept the same
2439 ac_cache_corrupted
=false
2440 for ac_var
in $ac_precious_vars; do
2441 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2442 eval ac_new_set
=\
$ac_env_${ac_var}_set
2443 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2444 eval ac_new_val
=\
$ac_env_${ac_var}_value
2445 case $ac_old_set,$ac_new_set in
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2448 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2449 ac_cache_corrupted
=: ;;
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2452 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2453 ac_cache_corrupted
=: ;;
2456 if test "x$ac_old_val" != "x$ac_new_val"; then
2457 # differences in whitespace do not lead to failure.
2458 ac_old_val_w
=`echo x $ac_old_val`
2459 ac_new_val_w
=`echo x $ac_new_val`
2460 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2462 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2463 ac_cache_corrupted
=:
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2466 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2467 eval $ac_var=\
$ac_old_val
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2470 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2472 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2475 # Pass precious variables to config.status.
2476 if test "$ac_new_set" = set; then
2478 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2479 *) ac_arg
=$ac_var=$ac_new_val ;;
2481 case " $ac_configure_args " in
2482 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2483 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2487 if $ac_cache_corrupted; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2491 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2492 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2494 ## -------------------- ##
2495 ## Main body of script. ##
2496 ## -------------------- ##
2499 ac_cpp
='$CPP $CPPFLAGS'
2500 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2501 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2502 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2507 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2508 if test -f "$ac_dir/install-sh"; then
2510 ac_install_sh
="$ac_aux_dir/install-sh -c"
2512 elif test -f "$ac_dir/install.sh"; then
2514 ac_install_sh
="$ac_aux_dir/install.sh -c"
2516 elif test -f "$ac_dir/shtool"; then
2518 ac_install_sh
="$ac_aux_dir/shtool install -c"
2522 if test -z "$ac_aux_dir"; then
2523 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2526 # These three variables are undocumented and unsupported,
2527 # and are intended to be withdrawn in a future Autoconf release.
2528 # They can cause serious problems if a builder's source tree is in a directory
2529 # whose full name contains unusual characters.
2530 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2531 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2532 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2536 # Check what host we are running on.
2537 # If a target is not suggested, we use this one.
2538 # Note that what we call a target, Autoconf calls a host.
2539 # Make sure we can run config.sub.
2540 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2541 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2544 $as_echo_n "checking build system type... " >&6; }
2545 if test "${ac_cv_build+set}" = set; then :
2546 $as_echo_n "(cached) " >&6
2548 ac_build_alias
=$build_alias
2549 test "x$ac_build_alias" = x
&&
2550 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2551 test "x$ac_build_alias" = x
&&
2552 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2553 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2554 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2558 $as_echo "$ac_cv_build" >&6; }
2559 case $ac_cv_build in
2561 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2564 ac_save_IFS
=$IFS; IFS
='-'
2570 # Remember, the first character of IFS is used to create $*,
2571 # except with old shells:
2574 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2578 $as_echo_n "checking host system type... " >&6; }
2579 if test "${ac_cv_host+set}" = set; then :
2580 $as_echo_n "(cached) " >&6
2582 if test "x$host_alias" = x
; then
2583 ac_cv_host
=$ac_cv_build
2585 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2586 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2591 $as_echo "$ac_cv_host" >&6; }
2594 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2597 ac_save_IFS
=$IFS; IFS
='-'
2603 # Remember, the first character of IFS is used to create $*,
2604 # except with old shells:
2607 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2611 # The AROS target is slightly different to the normal GNU style
2612 # format. We don't have the middle part, and we reverse the order
2613 # of the $(CPU) and $(OS) bits.
2615 # Don't strip the version of the target yet, it might be
2616 # useful on some systems.
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2619 $as_echo_n "checking for AROS style target... " >&6; }
2621 if test "$target" = "NONE" ; then
2622 target
=$host_os-$host_cpu
2624 if test "$target" = "" ; then
2625 target
=$host_os-$host_cpu
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2629 $as_echo "$target" >&6; }
2631 if test "$host_os" = "mingw32" ; then
2635 #don't know where else to put this...
2636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2637 $as_echo_n "checking Building AROS in .. ... " >&6; }
2638 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2639 AROS_BUILDDIR_UNIX
=${PWD}
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2641 $as_echo "$AROS_BUILDDIR" >&6; }
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2644 $as_echo_n "checking AROS Source in .. ... " >&6; }
2645 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2648 $as_echo "$SRCDIR" >&6; }
2650 # Parse the target field into something useful.
2652 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2653 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2656 aros_default_wbwidth
=800
2657 aros_default_wbheight
=600
2658 aros_default_wbdepth
=4
2661 # The first step is to find the host binaries.
2662 # Check for a compiler.
2664 ac_cpp
='$CPP $CPPFLAGS'
2665 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2666 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2667 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2668 if test -n "$ac_tool_prefix"; then
2669 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2670 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2672 $as_echo_n "checking for $ac_word... " >&6; }
2673 if test "${ac_cv_prog_CC+set}" = set; then :
2674 $as_echo_n "(cached) " >&6
2676 if test -n "$CC"; then
2677 ac_cv_prog_CC
="$CC" # Let the user override the test.
2679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2683 test -z "$as_dir" && as_dir
=.
2684 for ac_exec_ext
in '' $ac_executable_extensions; do
2685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2686 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 if test -n "$CC"; then
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2699 $as_echo "$CC" >&6; }
2701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2702 $as_echo "no" >&6; }
2707 if test -z "$ac_cv_prog_CC"; then
2709 # Extract the first word of "gcc", so it can be a program name with args.
2710 set dummy gcc
; ac_word
=$2
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2712 $as_echo_n "checking for $ac_word... " >&6; }
2713 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2714 $as_echo_n "(cached) " >&6
2716 if test -n "$ac_ct_CC"; then
2717 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2723 test -z "$as_dir" && as_dir
=.
2724 for ac_exec_ext
in '' $ac_executable_extensions; do
2725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2726 ac_cv_prog_ac_ct_CC
="gcc"
2727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2736 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2737 if test -n "$ac_ct_CC"; then
2738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2739 $as_echo "$ac_ct_CC" >&6; }
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2742 $as_echo "no" >&6; }
2745 if test "x$ac_ct_CC" = x
; then
2748 case $cross_compiling:$ac_tool_warned in
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2752 ac_tool_warned
=yes ;;
2760 if test -z "$CC"; then
2761 if test -n "$ac_tool_prefix"; then
2762 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2763 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2765 $as_echo_n "checking for $ac_word... " >&6; }
2766 if test "${ac_cv_prog_CC+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 if test -n "$CC"; then
2770 ac_cv_prog_CC
="$CC" # Let the user override the test.
2772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2776 test -z "$as_dir" && as_dir
=.
2777 for ac_exec_ext
in '' $ac_executable_extensions; do
2778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2779 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 if test -n "$CC"; then
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2792 $as_echo "$CC" >&6; }
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2795 $as_echo "no" >&6; }
2801 if test -z "$CC"; then
2802 # Extract the first word of "cc", so it can be a program name with args.
2803 set dummy cc
; ac_word
=$2
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2805 $as_echo_n "checking for $ac_word... " >&6; }
2806 if test "${ac_cv_prog_CC+set}" = set; then :
2807 $as_echo_n "(cached) " >&6
2809 if test -n "$CC"; then
2810 ac_cv_prog_CC
="$CC" # Let the user override the test.
2813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2817 test -z "$as_dir" && as_dir
=.
2818 for ac_exec_ext
in '' $ac_executable_extensions; do
2819 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2820 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2821 ac_prog_rejected
=yes
2825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2832 if test $ac_prog_rejected = yes; then
2833 # We found a bogon in the path, so make sure we never use it.
2834 set dummy
$ac_cv_prog_CC
2836 if test $# != 0; then
2837 # We chose a different compiler from the bogus one.
2838 # However, it has the same basename, so the bogon will be chosen
2839 # first if we set CC to just the basename; use the full file name.
2841 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2847 if test -n "$CC"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2849 $as_echo "$CC" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2857 if test -z "$CC"; then
2858 if test -n "$ac_tool_prefix"; then
2859 for ac_prog
in cl.exe
2861 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2862 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2864 $as_echo_n "checking for $ac_word... " >&6; }
2865 if test "${ac_cv_prog_CC+set}" = set; then :
2866 $as_echo_n "(cached) " >&6
2868 if test -n "$CC"; then
2869 ac_cv_prog_CC
="$CC" # Let the user override the test.
2871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2875 test -z "$as_dir" && as_dir
=.
2876 for ac_exec_ext
in '' $ac_executable_extensions; do
2877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2878 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test -n "$CC"; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2891 $as_echo "$CC" >&6; }
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2894 $as_echo "no" >&6; }
2898 test -n "$CC" && break
2901 if test -z "$CC"; then
2903 for ac_prog
in cl.exe
2905 # Extract the first word of "$ac_prog", so it can be a program name with args.
2906 set dummy
$ac_prog; ac_word
=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$ac_ct_CC"; then
2913 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2915 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir
=.
2920 for ac_exec_ext
in '' $ac_executable_extensions; do
2921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2922 ac_cv_prog_ac_ct_CC
="$ac_prog"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2932 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2933 if test -n "$ac_ct_CC"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2935 $as_echo "$ac_ct_CC" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2942 test -n "$ac_ct_CC" && break
2945 if test "x$ac_ct_CC" = x
; then
2948 case $cross_compiling:$ac_tool_warned in
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2951 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2952 ac_tool_warned
=yes ;;
2961 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2962 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2963 as_fn_error $?
"no acceptable C compiler found in \$PATH
2964 See \`config.log' for more details" "$LINENO" 5 ; }
2966 # Provide some information about the compiler.
2967 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2970 for ac_option
in --version -v -V -qversion; do
2971 { { ac_try
="$ac_compiler $ac_option >&5"
2973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 $as_echo "$ac_try_echo"; } >&5
2978 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2980 if test -s conftest.err; then
2982 ... rest of stderr output deleted ...
2983 10q' conftest.err >conftest.er1
2984 cat conftest.er1 >&5
2986 rm -f conftest.er1 conftest.err
2987 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2988 test $ac_status = 0; }
2991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2992 /* end confdefs.h. */
3002 ac_clean_files_save=$ac_clean_files
3003 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3004 # Try to create an executable without -o first, disregard a.out.
3005 # It will help us diagnose broken compilers, and finding out an intuition
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3008 $as_echo_n "checking whether the C compiler works... " >&6; }
3009 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3011 # The possible output files:
3012 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3015 for ac_file in $ac_files
3018 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3019 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3024 if { { ac_try="$ac_link_default"
3026 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3027 *) ac_try_echo
=$ac_try;;
3029 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3030 $as_echo "$ac_try_echo"; } >&5
3031 (eval "$ac_link_default") 2>&5
3033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3034 test $ac_status = 0; }; then :
3035 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3036 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3037 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3038 # so that the user can short-circuit this test for compilers unknown to
3040 for ac_file
in $ac_files ''
3042 test -f "$ac_file" ||
continue
3044 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3047 # We found the default executable, but exeext='' is most
3051 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3053 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3055 # We set ac_cv_exeext here because the later test for it is not
3056 # safe: cross compilers may not add the suffix if given an `-o'
3057 # argument, so we may need to know it at that point already.
3058 # Even if this section looks crufty: it has the advantage of
3065 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3070 if test -z "$ac_file"; then :
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3073 $as_echo "$as_me: failed program was:" >&5
3074 sed 's/^/| /' conftest.
$ac_ext >&5
3076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3078 as_fn_error
77 "C compiler cannot create executables
3079 See \`config.log' for more details" "$LINENO" 5 ; }
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3082 $as_echo "yes" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3085 $as_echo_n "checking for C compiler default output file name... " >&6; }
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3087 $as_echo "$ac_file" >&6; }
3088 ac_exeext
=$ac_cv_exeext
3090 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3091 ac_clean_files
=$ac_clean_files_save
3092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3093 $as_echo_n "checking for suffix of executables... " >&6; }
3094 if { { ac_try
="$ac_link"
3096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3097 *) ac_try_echo=$ac_try;;
3099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3100 $as_echo "$ac_try_echo"; } >&5
3101 (eval "$ac_link") 2>&5
3103 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3104 test $ac_status = 0; }; then :
3105 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3106 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3107 # work properly (i.e., refer to `conftest.exe'), while it won't with
3109 for ac_file
in conftest.exe conftest conftest.
*; do
3110 test -f "$ac_file" ||
continue
3112 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3113 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3119 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3121 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3122 See \`config.log' for more details" "$LINENO" 5 ; }
3124 rm -f conftest conftest
$ac_cv_exeext
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3126 $as_echo "$ac_cv_exeext" >&6; }
3128 rm -f conftest.
$ac_ext
3129 EXEEXT
=$ac_cv_exeext
3131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3137 FILE *f = fopen ("conftest.out", "w");
3138 return ferror (f) || fclose (f) != 0;
3144 ac_clean_files
="$ac_clean_files conftest.out"
3145 # Check that the compiler produces executables we can run. If not, either
3146 # the compiler is broken, or we cross compile.
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3148 $as_echo_n "checking whether we are cross compiling... " >&6; }
3149 if test "$cross_compiling" != yes; then
3150 { { ac_try
="$ac_link"
3152 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3153 *) ac_try_echo=$ac_try;;
3155 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3156 $as_echo "$ac_try_echo"; } >&5
3157 (eval "$ac_link") 2>&5
3159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3160 test $ac_status = 0; }
3161 if { ac_try='./conftest$ac_cv_exeext'
3162 { { case "(($ac_try" in
3163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3164 *) ac_try_echo
=$ac_try;;
3166 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3167 $as_echo "$ac_try_echo"; } >&5
3168 (eval "$ac_try") 2>&5
3170 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3171 test $ac_status = 0; }; }; then
3174 if test "$cross_compiling" = maybe
; then
3177 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3179 as_fn_error $?
"cannot run C compiled programs.
3180 If you meant to cross compile, use \`--host'.
3181 See \`config.log' for more details" "$LINENO" 5 ; }
3185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3186 $as_echo "$cross_compiling" >&6; }
3188 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3189 ac_clean_files
=$ac_clean_files_save
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3191 $as_echo_n "checking for suffix of object files... " >&6; }
3192 if test "${ac_cv_objext+set}" = set; then :
3193 $as_echo_n "(cached) " >&6
3195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3206 rm -f conftest.o conftest.obj
3207 if { { ac_try
="$ac_compile"
3209 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_compile") 2>&5
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; }; then :
3218 for ac_file in conftest.o conftest.obj conftest.*; do
3219 test -f "$ac_file" || continue;
3221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3222 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3227 $as_echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3230 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3232 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3233 See \
`config.log' for more details" "$LINENO" 5 ; }
3235 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3238 $as_echo "$ac_cv_objext" >&6; }
3239 OBJEXT=$ac_cv_objext
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3242 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3243 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3244 $as_echo_n "(cached) " >&6
3246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3247 /* end confdefs.h. */
3260 if ac_fn_c_try_compile "$LINENO"; then :
3265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3266 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3270 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3271 if test $ac_compiler_gnu = yes; then
3276 ac_test_CFLAGS=${CFLAGS+set}
3277 ac_save_CFLAGS=$CFLAGS
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3279 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3280 if test "${ac_cv_prog_cc_g+set}" = set; then :
3281 $as_echo_n "(cached) " >&6
3283 ac_save_c_werror_flag=$ac_c_werror_flag
3284 ac_c_werror_flag=yes
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3298 if ac_fn_c_try_compile "$LINENO"; then :
3302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3303 /* end confdefs.h. */
3313 if ac_fn_c_try_compile "$LINENO"; then :
3316 ac_c_werror_flag=$ac_save_c_werror_flag
3318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3319 /* end confdefs.h. */
3329 if ac_fn_c_try_compile "$LINENO"; then :
3332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 ac_c_werror_flag=$ac_save_c_werror_flag
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3340 $as_echo "$ac_cv_prog_cc_g" >&6; }
3341 if test "$ac_test_CFLAGS" = set; then
3342 CFLAGS=$ac_save_CFLAGS
3343 elif test $ac_cv_prog_cc_g = yes; then
3344 if test "$GCC" = yes; then
3350 if test "$GCC" = yes; then
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3357 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3358 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3359 $as_echo_n "(cached) " >&6
3361 ac_cv_prog_cc_c89=no
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 #include <sys/types.h>
3368 #include <sys/stat.h>
3369 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3370 struct buf { int x; };
3371 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3372 static char *e (p, i)
3378 static char *f (char * (*g) (char **, int), char **p, ...)
3383 s = g (p, va_arg (v,int));
3388 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3389 function prototypes and stuff, but not '\xHH' hex character constants.
3390 These don't provoke an error unfortunately, instead are silently treated
3391 as 'x'. The following induces an error, until -std is added to get
3392 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3393 array size at least. It's necessary to write '\x00'==0 to get something
3394 that's true only with -std. */
3395 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3397 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3398 inside strings and character constants. */
3400 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3402 int test (int i, double x);
3403 struct s1 {int (*f) (int a);};
3404 struct s2 {int (*f) (double a);};
3405 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3411 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3416 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3417 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3419 CC="$ac_save_CC $ac_arg"
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 ac_cv_prog_cc_c89=$ac_arg
3423 rm -f core conftest.err conftest.$ac_objext
3424 test "x$ac_cv_prog_cc_c89" != "xno" && break
3426 rm -f conftest.$ac_ext
3431 case "x$ac_cv_prog_cc_c89" in
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3434 $as_echo "none needed" >&6; } ;;
3436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3437 $as_echo "unsupported" >&6; } ;;
3439 CC="$CC $ac_cv_prog_cc_c89"
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3441 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3443 if test "x$ac_cv_prog_cc_c89" != xno; then :
3448 ac_cpp='$CPP $CPPFLAGS'
3449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 case $ac_cv_prog_cc_stdc in #(
3455 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3458 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3459 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3460 $as_echo_n "(cached) " >&6
3462 ac_cv_prog_cc_c99=no
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3467 #include <stdbool.h>
3472 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3473 #define debug(...) fprintf (stderr, __VA_ARGS__)
3474 #define showlist(...) puts (#__VA_ARGS__)
3475 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3477 test_varargs_macros (void)
3482 debug ("X = %d\n", x);
3483 showlist (The first, second, and third items.);
3484 report (x>y, "x is %d but y is %d", x, y);
3487 // Check long long types.
3488 #define BIG64 18446744073709551615ull
3489 #define BIG32 4294967295ul
3490 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3492 your preprocessor is broken;
3496 your preprocessor is broken;
3498 static long long int bignum = -9223372036854775807LL;
3499 static unsigned long long int ubignum = BIG64;
3501 struct incomplete_array
3509 const wchar_t *name;
3513 typedef const char *ccp;
3516 test_restrict (ccp restrict text)
3518 // See if C++-style comments work.
3519 // Iterate through items via the restricted pointer.
3520 // Also check for declarations in for loops.
3521 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3526 // Check varargs and va_copy.
3528 test_varargs (const char *format, ...)
3531 va_start (args, format);
3533 va_copy (args_copy, args);
3544 str = va_arg (args_copy, const char *);
3547 number = va_arg (args_copy, int);
3550 fnumber = va_arg (args_copy, double);
3565 _Bool success = false;
3568 if (test_restrict ("String literal") == 0)
3570 char *restrict newvar = "Another string";
3573 test_varargs ("s, d' f .", "string", 65, 34.234);
3574 test_varargs_macros ();
3576 // Check flexible array members.
3577 struct incomplete_array *ia =
3578 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3580 for (int i = 0; i < ia->datasize; ++i)
3581 ia->data[i] = i * 1.234;
3583 // Check named initializers.
3584 struct named_init ni = {
3586 .name = L"Test wide string",
3587 .average = 543.34343,
3592 int dynamic_array[ni.number];
3593 dynamic_array[ni.number - 1] = 543;
3595 // work around unused variable warnings
3596 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3597 || dynamic_array[ni.number - 1] != 543);
3603 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3605 CC="$ac_save_CC $ac_arg"
3606 if ac_fn_c_try_compile "$LINENO"; then :
3607 ac_cv_prog_cc_c99=$ac_arg
3609 rm -f core conftest.err conftest.$ac_objext
3610 test "x$ac_cv_prog_cc_c99" != "xno" && break
3612 rm -f conftest.$ac_ext
3617 case "x$ac_cv_prog_cc_c99" in
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3620 $as_echo "none needed" >&6; } ;;
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3623 $as_echo "unsupported" >&6; } ;;
3625 CC="$CC $ac_cv_prog_cc_c99"
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3627 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3629 if test "x$ac_cv_prog_cc_c99" != xno; then :
3630 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3633 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3634 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3635 $as_echo_n "(cached) " >&6
3637 ac_cv_prog_cc_c89=no
3639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3640 /* end confdefs.h. */
3643 #include <sys/types.h>
3644 #include <sys/stat.h>
3645 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3646 struct buf { int x; };
3647 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3648 static char *e (p, i)
3654 static char *f (char * (*g) (char **, int), char **p, ...)
3659 s = g (p, va_arg (v,int));
3664 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3665 function prototypes and stuff, but not '\xHH' hex character constants.
3666 These don't provoke an error unfortunately, instead are silently treated
3667 as 'x'. The following induces an error, until -std is added to get
3668 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3669 array size at least. It's necessary to write '\x00'==0 to get something
3670 that's true only with -std. */
3671 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3673 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3674 inside strings and character constants. */
3676 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3678 int test (int i, double x);
3679 struct s1 {int (*f) (int a);};
3680 struct s2 {int (*f) (double a);};
3681 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3687 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3692 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3693 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3695 CC="$ac_save_CC $ac_arg"
3696 if ac_fn_c_try_compile "$LINENO"; then :
3697 ac_cv_prog_cc_c89=$ac_arg
3699 rm -f core conftest.err conftest.$ac_objext
3700 test "x$ac_cv_prog_cc_c89" != "xno" && break
3702 rm -f conftest.$ac_ext
3707 case "x$ac_cv_prog_cc_c89" in
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3710 $as_echo "none needed" >&6; } ;;
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3713 $as_echo "unsupported" >&6; } ;;
3715 CC="$CC $ac_cv_prog_cc_c89"
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3717 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3719 if test "x$ac_cv_prog_cc_c89" != xno; then :
3720 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3722 ac_cv_prog_cc_stdc=no
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3729 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3730 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3731 $as_echo_n "(cached) " >&6
3734 case $ac_cv_prog_cc_stdc in #(
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3737 $as_echo "unsupported" >&6; } ;; #(
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3740 $as_echo "none needed" >&6; } ;; #(
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3743 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3747 ac_cpp='$CPP $CPPFLAGS'
3748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3752 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3753 # On Suns, sometimes $CPP names a directory.
3754 if test -n "$CPP" && test -d "$CPP"; then
3757 if test -z "$CPP"; then
3758 if test "${ac_cv_prog_CPP+set}" = set; then :
3759 $as_echo_n "(cached) " >&6
3761 # Double quotes because CPP needs to be expanded
3762 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3765 for ac_c_preproc_warn_flag in '' yes
3767 # Use a header file that comes with gcc, so configuring glibc
3768 # with a fresh cross-compiler works.
3769 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3770 # <limits.h> exists even on freestanding compilers.
3771 # On the NeXT, cc -E runs the code through the compiler's parser,
3772 # not just through cpp. "Syntax error" is here to catch this case.
3773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3774 /* end confdefs.h. */
3776 # include <limits.h>
3778 # include <assert.h>
3782 if ac_fn_c_try_cpp "$LINENO"; then :
3785 # Broken: fails on valid input.
3788 rm -f conftest.err conftest.i conftest.$ac_ext
3790 # OK, works on sane cases. Now check whether nonexistent headers
3791 # can be detected and how.
3792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3793 /* end confdefs.h. */
3794 #include <ac_nonexistent.h>
3796 if ac_fn_c_try_cpp "$LINENO"; then :
3797 # Broken: success on invalid input.
3800 # Passes both tests.
3804 rm -f conftest.err conftest.i conftest.$ac_ext
3807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3808 rm -f conftest.i conftest.err conftest.
$ac_ext
3809 if $ac_preproc_ok; then :
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3822 $as_echo "$CPP" >&6; }
3824 for ac_c_preproc_warn_flag
in '' yes
3826 # Use a header file that comes with gcc, so configuring glibc
3827 # with a fresh cross-compiler works.
3828 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3829 # <limits.h> exists even on freestanding compilers.
3830 # On the NeXT, cc -E runs the code through the compiler's parser,
3831 # not just through cpp. "Syntax error" is here to catch this case.
3832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3833 /* end confdefs.h. */
3835 # include <limits.h>
3837 # include <assert.h>
3841 if ac_fn_c_try_cpp
"$LINENO"; then :
3844 # Broken: fails on valid input.
3847 rm -f conftest.err conftest.i conftest.
$ac_ext
3849 # OK, works on sane cases. Now check whether nonexistent headers
3850 # can be detected and how.
3851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3852 /* end confdefs.h. */
3853 #include <ac_nonexistent.h>
3855 if ac_fn_c_try_cpp
"$LINENO"; then :
3856 # Broken: success on invalid input.
3859 # Passes both tests.
3863 rm -f conftest.err conftest.i conftest.
$ac_ext
3866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3867 rm -f conftest.i conftest.err conftest.
$ac_ext
3868 if $ac_preproc_ok; then :
3871 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3872 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3873 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3874 See \`config.log' for more details" "$LINENO" 5 ; }
3878 ac_cpp
='$CPP $CPPFLAGS'
3879 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3880 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3881 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3884 # Check for a compatible awk
3885 for ac_prog
in gawk nawk
3887 # Extract the first word of "$ac_prog", so it can be a program name with args.
3888 set dummy
$ac_prog; ac_word
=$2
3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3890 $as_echo_n "checking for $ac_word... " >&6; }
3891 if test "${ac_cv_prog_AWK+set}" = set; then :
3892 $as_echo_n "(cached) " >&6
3894 if test -n "$AWK"; then
3895 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3901 test -z "$as_dir" && as_dir
=.
3902 for ac_exec_ext
in '' $ac_executable_extensions; do
3903 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3904 ac_cv_prog_AWK
="$ac_prog"
3905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3915 if test -n "$AWK"; then
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3917 $as_echo "$AWK" >&6; }
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3920 $as_echo "no" >&6; }
3924 test -n "$AWK" && break
3927 if test "$AWK" = ""; then
3928 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3930 # Extract the first word of "mmake", so it can be a program name with args.
3931 set dummy mmake
; ac_word
=$2
3932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3933 $as_echo_n "checking for $ac_word... " >&6; }
3934 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3935 $as_echo_n "(cached) " >&6
3937 if test -n "$MMAKE"; then
3938 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3944 test -z "$as_dir" && as_dir
=.
3945 for ac_exec_ext
in '' $ac_executable_extensions; do
3946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3947 ac_cv_prog_MMAKE
="mmake "
3948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3957 MMAKE
=$ac_cv_prog_MMAKE
3958 if test -n "$MMAKE"; then
3959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3960 $as_echo "$MMAKE" >&6; }
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3963 $as_echo "no" >&6; }
3968 # Perform some default variable assignments. Note all of these will be
3969 # Regenerated from the script, so there is no need to cache them.
3972 if test "$GCC" = "yes"; then
3973 aros_gcc_ld
=`$CC -print-prog-name=ld`
3974 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3975 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 case $aros_host_ld in
3983 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3987 for as_dir
in `dirname $aros_gcc_ld`
3990 test -z "$as_dir" && as_dir
=.
3991 for ac_exec_ext
in '' $ac_executable_extensions; do
3992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3993 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 aros_host_ld
=$ac_cv_path_aros_host_ld
4005 if test -n "$aros_host_ld"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4007 $as_echo "$aros_host_ld" >&6; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4015 if test "$aros_host_ld" = ""; then
4016 # Extract the first word of "ld", so it can be a program name with args.
4017 set dummy ld
; ac_word
=$2
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4019 $as_echo_n "checking for $ac_word... " >&6; }
4020 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4021 $as_echo_n "(cached) " >&6
4023 case $aros_host_ld in
4025 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4046 aros_host_ld
=$ac_cv_path_aros_host_ld
4047 if test -n "$aros_host_ld"; then
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4049 $as_echo "$aros_host_ld" >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4052 $as_echo "no" >&6; }
4057 if test "$aros_host_ld" = ""; then
4058 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4060 aros_host_make
="make"
4061 aros_host_cflags
=$CFLAGS
4062 aros_host_ldflags
=$LDFLAGS
4063 aros_host_debug
="-g -O0"
4064 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4065 aros_host_mkargs
="--no-print-directory"
4066 aros_host_incl
="/usr/include"
4067 aros_host_exe_suffix
="$EXEEXT"
4068 aros_host_lib_suffix
=""
4070 for ac_prog
in aclocal aclocal19 aclocal-1.9
4072 # Extract the first word of "$ac_prog", so it can be a program name with args.
4073 set dummy
$ac_prog; ac_word
=$2
4074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4075 $as_echo_n "checking for $ac_word... " >&6; }
4076 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4077 $as_echo_n "(cached) " >&6
4079 if test -n "$aros_host_aclocal"; then
4080 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4082 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4086 test -z "$as_dir" && as_dir
=.
4087 for ac_exec_ext
in '' $ac_executable_extensions; do
4088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4089 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4100 if test -n "$aros_host_aclocal"; then
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4102 $as_echo "$aros_host_aclocal" >&6; }
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4105 $as_echo "no" >&6; }
4109 test -n "$aros_host_aclocal" && break
4112 for ac_prog
in autoconf autoconf259 autoconf253
4114 # Extract the first word of "$ac_prog", so it can be a program name with args.
4115 set dummy
$ac_prog; ac_word
=$2
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4117 $as_echo_n "checking for $ac_word... " >&6; }
4118 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4119 $as_echo_n "(cached) " >&6
4121 if test -n "$aros_host_autoconf"; then
4122 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4128 test -z "$as_dir" && as_dir
=.
4129 for ac_exec_ext
in '' $ac_executable_extensions; do
4130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4131 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4142 if test -n "$aros_host_autoconf"; then
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4144 $as_echo "$aros_host_autoconf" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4151 test -n "$aros_host_autoconf" && break
4154 for ac_prog
in autoheader autoheader259 autoheader253
4156 # Extract the first word of "$ac_prog", so it can be a program name with args.
4157 set dummy
$ac_prog; ac_word
=$2
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 $as_echo_n "checking for $ac_word... " >&6; }
4160 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4161 $as_echo_n "(cached) " >&6
4163 if test -n "$aros_host_autoheader"; then
4164 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4170 test -z "$as_dir" && as_dir
=.
4171 for ac_exec_ext
in '' $ac_executable_extensions; do
4172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4173 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4183 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4184 if test -n "$aros_host_autoheader"; then
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4186 $as_echo "$aros_host_autoheader" >&6; }
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4189 $as_echo "no" >&6; }
4193 test -n "$aros_host_autoheader" && break
4196 for ac_prog
in automake automake19 automake-1.9
4198 # Extract the first word of "$ac_prog", so it can be a program name with args.
4199 set dummy
$ac_prog; ac_word
=$2
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4201 $as_echo_n "checking for $ac_word... " >&6; }
4202 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4203 $as_echo_n "(cached) " >&6
4205 if test -n "$aros_host_automake"; then
4206 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4212 test -z "$as_dir" && as_dir
=.
4213 for ac_exec_ext
in '' $ac_executable_extensions; do
4214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4215 ac_cv_prog_aros_host_automake
="$ac_prog"
4216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4225 aros_host_automake
=$ac_cv_prog_aros_host_automake
4226 if test -n "$aros_host_automake"; then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4228 $as_echo "$aros_host_automake" >&6; }
4230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4231 $as_echo "no" >&6; }
4235 test -n "$aros_host_automake" && break
4239 if test "$aros_host_aclocal" = ""; then
4240 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4242 if test "$aros_host_automake" = ""; then
4243 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4246 case "$aros_host_cc" in
4248 aros_host_cc_pipe
="-pipe"
4251 aros_host_cc_pipe
=""
4254 aros_host_cc_pipe
=""
4258 aros_kernel_cc_includes
=""
4259 aros_target_cc_includes
=""
4261 # ----------------------------------------------------------------------------------------
4262 # Host-specific defaults
4264 # Override this to "yes" in order to force a specific build to use real AROS crosscompiler
4265 # instead of a wrapper script.
4266 # Useful for non-ELF hosts (like Windows and Darwin).
4267 # Can also be overriden in target section below
4270 # This is the main host configuration section. It is where the host
4271 # can change the values of any variables it needs to change. We do
4272 # not look at anything that compiles to the target yet, we'll get
4277 aros_host_arch
="aros"
4278 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4281 aros_host_cpu
="i386"
4284 aros_host_cpu
="x86_64"
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4291 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4292 aros_host_cpu
="$host_cpu"
4298 aros_host_arch
="linux"
4299 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4302 aros_host_cpu
="i386"
4305 aros_host_cpu
="x86_64"
4308 aros_host_cpu
="m68k"
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4318 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4319 aros_host_cpu
="$host_cpu"
4325 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4326 aros_host_make
="gmake"
4327 aros_host_arch
="freebsd"
4328 aros_host_cpu
="i386"
4330 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4334 aros_object_format
="elf_i386"
4338 aros_object_format
="elf_i386_fbsd"
4345 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4346 aros_host_arch
="darwin"
4348 android_build_os
="darwin-x86"
4349 android_tool
="android"
4350 default_android_sdk
="/android-sdk-mac_x86"
4351 default_android_ndk
="/android-ndk-r5b"
4354 aros_host_cpu
="i386"
4357 aros_host_cpu
="x86_64"
4363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4364 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4365 aros_host_cpu
="$host_cpu"
4369 aros_host_ldflags
="$aros_host_ldflags -liconv"
4374 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4375 aros_host_make
="gmake"
4376 aros_host_arch
="dragonfly"
4379 aros_host_cpu
="i386"
4382 aros_host_cpu
="x86_64"
4385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4386 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4387 aros_host_cpu
="$host_cpu"
4393 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4394 aros_host_make
="gmake"
4395 aros_host_arch
="netbsd"
4398 aros_host_cpu
="i386"
4401 aros_host_cpu
="m68k"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4405 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4406 aros_host_cpu
="$host_cpu"
4409 aros_host_lib_suffix
=".0.0"
4413 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4414 aros_host_make
="gmake"
4415 aros_host_arch
="openbsd"
4418 aros_host_cpu
="i386"
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4422 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4423 aros_host_cpu
="$host_cpu"
4429 aros_host_arch
="solaris"
4430 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4433 aros_host_cpu
="i386"
4436 aros_host_cpu
="sparc"
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4440 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4441 aros_host_cpu
="$host_cpu"
4447 aros_host_arch
="morphos"
4452 aros_host_arch
="amiga"
4457 TOUCH
="/gg/bin/touch"
4460 aros_host_cpu
="m68k"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4467 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4468 aros_host_cpu
="$host_cpu"
4474 aros_host_arch
="cygwin"
4476 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4477 android_build_os
="windows"
4478 android_tool
="android.bat"
4479 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4483 aros_host_cpu
="i386"
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4487 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4488 aros_host_cpu
="$host_cpu"
4494 aros_host_arch
="mingw32"
4496 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4497 android_build_os
="windows"
4498 android_tool
="android.bat"
4499 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4503 aros_host_cpu
="i386"
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4507 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4508 aros_host_cpu
="$host_cpu"
4513 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4517 # Extract the first word of "ar", so it can be a program name with args.
4518 set dummy
ar; ac_word
=$2
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4520 $as_echo_n "checking for $ac_word... " >&6; }
4521 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4524 if test -n "$aros_host_ar"; then
4525 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4531 test -z "$as_dir" && as_dir
=.
4532 for ac_exec_ext
in '' $ac_executable_extensions; do
4533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4534 ac_cv_prog_aros_host_ar
="ar cr"
4535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 aros_host_ar
=$ac_cv_prog_aros_host_ar
4545 if test -n "$aros_host_ar"; then
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4547 $as_echo "$aros_host_ar" >&6; }
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4550 $as_echo "no" >&6; }
4554 if test "$aros_host_ar" = ""; then
4555 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4557 # Extract the first word of "ranlib", so it can be a program name with args.
4558 set dummy ranlib
; ac_word
=$2
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4560 $as_echo_n "checking for $ac_word... " >&6; }
4561 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4564 if test -n "$aros_host_ranlib"; then
4565 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4571 test -z "$as_dir" && as_dir
=.
4572 for ac_exec_ext
in '' $ac_executable_extensions; do
4573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4574 ac_cv_prog_aros_host_ranlib
="ranlib "
4575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4584 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4585 if test -n "$aros_host_ranlib"; then
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4587 $as_echo "$aros_host_ranlib" >&6; }
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4590 $as_echo "no" >&6; }
4594 if test "$aros_host_ranlib" = ""; then
4595 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4597 # Extract the first word of "strip", so it can be a program name with args.
4598 set dummy strip
; ac_word
=$2
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4600 $as_echo_n "checking for $ac_word... " >&6; }
4601 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -n "$aros_host_strip"; then
4605 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_exec_ext
in '' $ac_executable_extensions; do
4613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4614 ac_cv_prog_aros_host_strip
="strip "
4615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4624 aros_host_strip
=$ac_cv_prog_aros_host_strip
4625 if test -n "$aros_host_strip"; then
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4627 $as_echo "$aros_host_strip" >&6; }
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4630 $as_echo "no" >&6; }
4634 if test "$aros_host_strip" = ""; then
4635 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4638 # Extract the first word of "rm", so it can be a program name with args.
4639 set dummy
rm; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if test "${ac_cv_prog_RM+set}" = set; then :
4643 $as_echo_n "(cached) " >&6
4645 if test -n "$RM"; then
4646 ac_cv_prog_RM
="$RM" # Let the user override the test.
4648 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4652 test -z "$as_dir" && as_dir
=.
4653 for ac_exec_ext
in '' $ac_executable_extensions; do
4654 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4655 ac_cv_prog_RM
="rm -rf"
4656 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4666 if test -n "$RM"; then
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4668 $as_echo "$RM" >&6; }
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4671 $as_echo "no" >&6; }
4675 if test "$RM" = ""; then
4676 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4678 # Extract the first word of "cp", so it can be a program name with args.
4679 set dummy
cp; ac_word
=$2
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4681 $as_echo_n "checking for $ac_word... " >&6; }
4682 if test "${ac_cv_prog_CP+set}" = set; then :
4683 $as_echo_n "(cached) " >&6
4685 if test -n "$CP"; then
4686 ac_cv_prog_CP
="$CP" # Let the user override the test.
4688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 test -z "$as_dir" && as_dir
=.
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4706 if test -n "$CP"; then
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4708 $as_echo "$CP" >&6; }
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4711 $as_echo "no" >&6; }
4715 if test "$CP" = ""; then
4716 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4718 # Extract the first word of "mv", so it can be a program name with args.
4719 set dummy
mv; ac_word
=$2
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4721 $as_echo_n "checking for $ac_word... " >&6; }
4722 if test "${ac_cv_prog_MV+set}" = set; then :
4723 $as_echo_n "(cached) " >&6
4725 if test -n "$MV"; then
4726 ac_cv_prog_MV
="$MV" # Let the user override the test.
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 for ac_exec_ext
in '' $ac_executable_extensions; do
4734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4746 if test -n "$MV"; then
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4748 $as_echo "$MV" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4751 $as_echo "no" >&6; }
4755 if test "$MV" = ""; then
4756 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4758 # Extract the first word of "echo", so it can be a program name with args.
4759 set dummy
echo; ac_word
=$2
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4761 $as_echo_n "checking for $ac_word... " >&6; }
4762 if test "${ac_cv_prog_ECHO+set}" = set; then :
4763 $as_echo_n "(cached) " >&6
4765 if test -n "$ECHO"; then
4766 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4768 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4772 test -z "$as_dir" && as_dir
=.
4773 for ac_exec_ext
in '' $ac_executable_extensions; do
4774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4775 ac_cv_prog_ECHO
="echo "
4776 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4785 ECHO
=$ac_cv_prog_ECHO
4786 if test -n "$ECHO"; then
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4788 $as_echo "$ECHO" >&6; }
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4791 $as_echo "no" >&6; }
4795 if test "$ECHO" = ""; then
4796 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4798 # Extract the first word of "mkdir", so it can be a program name with args.
4799 set dummy mkdir
; ac_word
=$2
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4801 $as_echo_n "checking for $ac_word... " >&6; }
4802 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4803 $as_echo_n "(cached) " >&6
4805 if test -n "$MKDIR"; then
4806 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4808 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4812 test -z "$as_dir" && as_dir
=.
4813 for ac_exec_ext
in '' $ac_executable_extensions; do
4814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4815 ac_cv_prog_MKDIR
="mkdir -p"
4816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4825 MKDIR
=$ac_cv_prog_MKDIR
4826 if test -n "$MKDIR"; then
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4828 $as_echo "$MKDIR" >&6; }
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4831 $as_echo "no" >&6; }
4835 if test "$MKDIR" = ""; then
4836 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4838 # Extract the first word of "touch", so it can be a program name with args.
4839 set dummy
touch; ac_word
=$2
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4841 $as_echo_n "checking for $ac_word... " >&6; }
4842 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4843 $as_echo_n "(cached) " >&6
4845 if test -n "$TOUCH"; then
4846 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4848 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4852 test -z "$as_dir" && as_dir
=.
4853 for ac_exec_ext
in '' $ac_executable_extensions; do
4854 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4855 ac_cv_prog_TOUCH
="touch "
4856 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 TOUCH
=$ac_cv_prog_TOUCH
4866 if test -n "$TOUCH"; then
4867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4868 $as_echo "$TOUCH" >&6; }
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4871 $as_echo "no" >&6; }
4875 if test "$TOUCH" = ""; then
4876 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4878 # Extract the first word of "sort", so it can be a program name with args.
4879 set dummy
sort; ac_word
=$2
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 $as_echo_n "checking for $ac_word... " >&6; }
4882 if test "${ac_cv_prog_SORT+set}" = set; then :
4883 $as_echo_n "(cached) " >&6
4885 if test -n "$SORT"; then
4886 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4892 test -z "$as_dir" && as_dir
=.
4893 for ac_exec_ext
in '' $ac_executable_extensions; do
4894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4895 ac_cv_prog_SORT
="sort "
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4905 SORT
=$ac_cv_prog_SORT
4906 if test -n "$SORT"; then
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4908 $as_echo "$SORT" >&6; }
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4911 $as_echo "no" >&6; }
4915 if test "$SORT" = ""; then
4916 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4918 # Extract the first word of "uniq", so it can be a program name with args.
4919 set dummy
uniq; ac_word
=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$UNIQ"; then
4926 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_UNIQ
="uniq "
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 UNIQ
=$ac_cv_prog_UNIQ
4946 if test -n "$UNIQ"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4948 $as_echo "$UNIQ" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4955 if test "$UNIQ" = ""; then
4956 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4958 # Extract the first word of "true", so it can be a program name with args.
4959 set dummy true
; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_NOP+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$NOP"; then
4966 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_NOP
="true "
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 if test -n "$NOP"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4988 $as_echo "$NOP" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995 if test "$NOP" = ""; then
4996 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4998 # Extract the first word of "cat", so it can be a program name with args.
4999 set dummy
cat; ac_word
=$2
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if test "${ac_cv_prog_CAT+set}" = set; then :
5003 $as_echo_n "(cached) " >&6
5005 if test -n "$CAT"; then
5006 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_CAT
="cat "
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 if test -n "$CAT"; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5028 $as_echo "$CAT" >&6; }
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5035 if test "$CAT" = ""; then
5036 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5038 # Extract the first word of "bison", so it can be a program name with args.
5039 set dummy bison
; ac_word
=$2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5041 $as_echo_n "checking for $ac_word... " >&6; }
5042 if test "${ac_cv_prog_BISON+set}" = set; then :
5043 $as_echo_n "(cached) " >&6
5045 if test -n "$BISON"; then
5046 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5052 test -z "$as_dir" && as_dir
=.
5053 for ac_exec_ext
in '' $ac_executable_extensions; do
5054 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5055 ac_cv_prog_BISON
="bison "
5056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 BISON
=$ac_cv_prog_BISON
5066 if test -n "$BISON"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5068 $as_echo "$BISON" >&6; }
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5071 $as_echo "no" >&6; }
5075 if test "$BISON" = ""; then
5076 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5078 # Extract the first word of "flex", so it can be a program name with args.
5079 set dummy flex
; ac_word
=$2
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5081 $as_echo_n "checking for $ac_word... " >&6; }
5082 if test "${ac_cv_prog_FLEX+set}" = set; then :
5083 $as_echo_n "(cached) " >&6
5085 if test -n "$FLEX"; then
5086 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5088 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5092 test -z "$as_dir" && as_dir
=.
5093 for ac_exec_ext
in '' $ac_executable_extensions; do
5094 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5095 ac_cv_prog_FLEX
="flex "
5096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 FLEX
=$ac_cv_prog_FLEX
5106 if test -n "$FLEX"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5108 $as_echo "$FLEX" >&6; }
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5111 $as_echo "no" >&6; }
5115 if test "$FLEX" = ""; then
5116 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5118 # Extract the first word of "pngtopnm", so it can be a program name with args.
5119 set dummy pngtopnm
; ac_word
=$2
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5121 $as_echo_n "checking for $ac_word... " >&6; }
5122 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5123 $as_echo_n "(cached) " >&6
5125 if test -n "$PNGTOPNM"; then
5126 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5132 test -z "$as_dir" && as_dir
=.
5133 for ac_exec_ext
in '' $ac_executable_extensions; do
5134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5135 ac_cv_prog_PNGTOPNM
="pngtopnm "
5136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5146 if test -n "$PNGTOPNM"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5148 $as_echo "$PNGTOPNM" >&6; }
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5151 $as_echo "no" >&6; }
5155 if test "$PNGTOPNM" = ""; then
5156 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5158 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5159 set dummy ppmtoilbm
; ac_word
=$2
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5161 $as_echo_n "checking for $ac_word... " >&6; }
5162 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5163 $as_echo_n "(cached) " >&6
5165 if test -n "$PPMTOILBM"; then
5166 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir
=.
5173 for ac_exec_ext
in '' $ac_executable_extensions; do
5174 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5175 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5176 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5186 if test -n "$PPMTOILBM"; then
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5188 $as_echo "$PPMTOILBM" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5191 $as_echo "no" >&6; }
5195 if test "$PPMTOILBM" = ""; then
5196 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5198 # Extract the first word of "sed", so it can be a program name with args.
5199 set dummy
sed; ac_word
=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if test "${ac_cv_prog_SED+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5205 if test -n "$SED"; then
5206 ac_cv_prog_SED
="$SED" # Let the user override the test.
5208 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5212 test -z "$as_dir" && as_dir
=.
5213 for ac_exec_ext
in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_SED
="sed "
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 if test -n "$SED"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5228 $as_echo "$SED" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 if test "$SED" = ""; then
5236 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5238 # Extract the first word of "chmod", so it can be a program name with args.
5239 set dummy
chmod; ac_word
=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5243 $as_echo_n "(cached) " >&6
5245 if test -n "$CHMOD"; then
5246 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5248 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5252 test -z "$as_dir" && as_dir
=.
5253 for ac_exec_ext
in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_CHMOD
="chmod "
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 CHMOD
=$ac_cv_prog_CHMOD
5266 if test -n "$CHMOD"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5268 $as_echo "$CHMOD" >&6; }
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5275 if test "$CHMOD" = ""; then
5276 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5278 # Extract the first word of "patch", so it can be a program name with args.
5279 set dummy
patch; ac_word
=$2
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5281 $as_echo_n "checking for $ac_word... " >&6; }
5282 if test "${ac_cv_prog_PATCH+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5285 if test -n "$PATCH"; then
5286 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_prog_PATCH
="patch "
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 PATCH
=$ac_cv_prog_PATCH
5306 if test -n "$PATCH"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5308 $as_echo "$PATCH" >&6; }
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5311 $as_echo "no" >&6; }
5315 if test "$PATCH" = ""; then
5316 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5323 if test -n "$PYTHON"; then
5324 # If the user set $PYTHON, use it and don't search something else.
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5326 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5327 prog
="import sys, string
5328 # split strings by '.' and convert to numeric. Append some zeros
5329 # because we need at least 4 digits for the hex conversion.
5330 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5332 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5333 sys.exit(sys.hexversion < minverhex)"
5334 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5335 ($PYTHON -c "$prog") >&5 2>&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; then :
5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5340 $as_echo "yes" >&6; }
5342 as_fn_error $?
"too old" "$LINENO" 5
5344 am_display_PYTHON
=$PYTHON
5346 # Otherwise, try each interpreter until we find one that satisfies
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5349 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5350 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5351 $as_echo_n "(cached) " >&6
5354 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
5355 test "$am_cv_pathless_PYTHON" = none
&& break
5356 prog
="import sys, string
5357 # split strings by '.' and convert to numeric. Append some zeros
5358 # because we need at least 4 digits for the hex conversion.
5359 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5361 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5362 sys.exit(sys.hexversion < minverhex)"
5363 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5364 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); }; then :
5372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5373 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5374 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5375 if test "$am_cv_pathless_PYTHON" = none
; then
5378 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5379 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5381 $as_echo_n "checking for $ac_word... " >&6; }
5382 if test "${ac_cv_path_PYTHON+set}" = set; then :
5383 $as_echo_n "(cached) " >&6
5387 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5394 test -z "$as_dir" && as_dir
=.
5395 for ac_exec_ext
in '' $ac_executable_extensions; do
5396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5397 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5408 PYTHON
=$ac_cv_path_PYTHON
5409 if test -n "$PYTHON"; then
5410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5411 $as_echo "$PYTHON" >&6; }
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5414 $as_echo "no" >&6; }
5419 am_display_PYTHON
=$am_cv_pathless_PYTHON
5423 if test "$PYTHON" = :; then
5424 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5429 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5430 if test "${am_cv_python_version+set}" = set; then :
5431 $as_echo_n "(cached) " >&6
5433 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5436 $as_echo "$am_cv_python_version" >&6; }
5437 PYTHON_VERSION
=$am_cv_python_version
5441 PYTHON_PREFIX
='${prefix}'
5443 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5448 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5449 if test "${am_cv_python_platform+set}" = set; then :
5450 $as_echo_n "(cached) " >&6
5452 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5455 $as_echo "$am_cv_python_platform" >&6; }
5456 PYTHON_PLATFORM
=$am_cv_python_platform
5461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5462 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5463 if test "${am_cv_python_pythondir+set}" = set; then :
5464 $as_echo_n "(cached) " >&6
5466 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5467 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5470 $as_echo "$am_cv_python_pythondir" >&6; }
5471 pythondir
=$am_cv_python_pythondir
5475 pkgpythondir
=\
${pythondir}/$PACKAGE
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5479 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5480 if test "${am_cv_python_pyexecdir+set}" = set; then :
5481 $as_echo_n "(cached) " >&6
5483 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5484 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5487 $as_echo "$am_cv_python_pyexecdir" >&6; }
5488 pyexecdir
=$am_cv_python_pyexecdir
5492 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5510 # Check for some includes for the X11 HIDD and the kernel
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5514 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5515 if test "${ac_cv_path_GREP+set}" = set; then :
5516 $as_echo_n "(cached) " >&6
5518 if test -z "$GREP"; then
5519 ac_path_GREP_found
=false
5520 # Loop through the user's path and test for each of PROGNAME-LIST
5521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5522 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5525 test -z "$as_dir" && as_dir
=.
5526 for ac_prog
in grep ggrep
; do
5527 for ac_exec_ext
in '' $ac_executable_extensions; do
5528 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5529 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5530 # Check for GNU ac_path_GREP and select it if it is found.
5531 # Check for GNU $ac_path_GREP
5532 case `"$ac_path_GREP" --version 2>&1` in
5534 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5537 $as_echo_n 0123456789 >"conftest.in"
5540 cat "conftest.in" "conftest.in" >"conftest.tmp"
5541 mv "conftest.tmp" "conftest.in"
5542 cp "conftest.in" "conftest.nl"
5543 $as_echo 'GREP' >> "conftest.nl"
5544 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5545 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5546 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5547 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5548 # Best one so far, save it but keep looking for a better one
5549 ac_cv_path_GREP
="$ac_path_GREP"
5550 ac_path_GREP_max
=$ac_count
5552 # 10*(2^10) chars as input seems more than enough
5553 test $ac_count -gt 10 && break
5555 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5558 $ac_path_GREP_found && break 3
5563 if test -z "$ac_cv_path_GREP"; then
5564 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5567 ac_cv_path_GREP
=$GREP
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5572 $as_echo "$ac_cv_path_GREP" >&6; }
5573 GREP
="$ac_cv_path_GREP"
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5577 $as_echo_n "checking for egrep... " >&6; }
5578 if test "${ac_cv_path_EGREP+set}" = set; then :
5579 $as_echo_n "(cached) " >&6
5581 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5582 then ac_cv_path_EGREP
="$GREP -E"
5584 if test -z "$EGREP"; then
5585 ac_path_EGREP_found
=false
5586 # Loop through the user's path and test for each of PROGNAME-LIST
5587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5588 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5591 test -z "$as_dir" && as_dir
=.
5592 for ac_prog
in egrep; do
5593 for ac_exec_ext
in '' $ac_executable_extensions; do
5594 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5595 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5596 # Check for GNU ac_path_EGREP and select it if it is found.
5597 # Check for GNU $ac_path_EGREP
5598 case `"$ac_path_EGREP" --version 2>&1` in
5600 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5603 $as_echo_n 0123456789 >"conftest.in"
5606 cat "conftest.in" "conftest.in" >"conftest.tmp"
5607 mv "conftest.tmp" "conftest.in"
5608 cp "conftest.in" "conftest.nl"
5609 $as_echo 'EGREP' >> "conftest.nl"
5610 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5611 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5612 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5613 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5614 # Best one so far, save it but keep looking for a better one
5615 ac_cv_path_EGREP
="$ac_path_EGREP"
5616 ac_path_EGREP_max
=$ac_count
5618 # 10*(2^10) chars as input seems more than enough
5619 test $ac_count -gt 10 && break
5621 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5624 $ac_path_EGREP_found && break 3
5629 if test -z "$ac_cv_path_EGREP"; then
5630 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5633 ac_cv_path_EGREP
=$EGREP
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5639 $as_echo "$ac_cv_path_EGREP" >&6; }
5640 EGREP
="$ac_cv_path_EGREP"
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5644 $as_echo_n "checking for ANSI C header files... " >&6; }
5645 if test "${ac_cv_header_stdc+set}" = set; then :
5646 $as_echo_n "(cached) " >&6
5648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5663 if ac_fn_c_try_compile
"$LINENO"; then :
5664 ac_cv_header_stdc
=yes
5666 ac_cv_header_stdc
=no
5668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5670 if test $ac_cv_header_stdc = yes; then
5671 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5673 /* end confdefs.h. */
5677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5678 $EGREP "memchr" >/dev
/null
2>&1; then :
5681 ac_cv_header_stdc
=no
5687 if test $ac_cv_header_stdc = yes; then
5688 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5690 /* end confdefs.h. */
5694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5695 $EGREP "free" >/dev
/null
2>&1; then :
5698 ac_cv_header_stdc
=no
5704 if test $ac_cv_header_stdc = yes; then
5705 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5706 if test "$cross_compiling" = yes; then :
5709 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5710 /* end confdefs.h. */
5713 #if ((' ' & 0x0FF) == 0x020)
5714 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5715 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5717 # define ISLOWER(c) \
5718 (('a' <= (c) && (c) <= 'i') \
5719 || ('j' <= (c) && (c) <= 'r') \
5720 || ('s' <= (c) && (c) <= 'z'))
5721 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5724 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5729 for (i = 0; i < 256; i++)
5730 if (XOR (islower (i), ISLOWER (i))
5731 || toupper (i) != TOUPPER (i))
5736 if ac_fn_c_try_run
"$LINENO"; then :
5739 ac_cv_header_stdc
=no
5741 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5742 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5748 $as_echo "$ac_cv_header_stdc" >&6; }
5749 if test $ac_cv_header_stdc = yes; then
5751 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5755 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5756 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5757 inttypes.h stdint.h unistd.h
5759 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5760 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5762 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5763 cat >>confdefs.h
<<_ACEOF
5764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5772 for ac_header
in sys
/ipc.h sys
/shm.h \
5773 sys
/mmap.h sys
/mman.h sysexits.h \
5774 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5777 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5778 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5779 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5780 cat >>confdefs.h
<<_ACEOF
5781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5789 for ac_header
in sys
/mount.h
5791 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5793 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5794 cat >>confdefs.h
<<_ACEOF
5795 #define HAVE_SYS_MOUNT_H 1
5804 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5805 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5807 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5808 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
5809 $as_echo_n "(cached) " >&6
5811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5812 /* end confdefs.h. */
5813 #include <sys/types.h>
5825 if ac_fn_c_try_compile
"$LINENO"; then :
5826 eval "$as_ac_Header=yes"
5828 eval "$as_ac_Header=no"
5830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5832 eval ac_res
=\$
$as_ac_Header
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5834 $as_echo "$ac_res" >&6; }
5835 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5836 cat >>confdefs.h
<<_ACEOF
5837 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5840 ac_header_dirent
=$ac_hdr; break
5844 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5845 if test $ac_header_dirent = dirent.h
; then
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5847 $as_echo_n "checking for library containing opendir... " >&6; }
5848 if test "${ac_cv_search_opendir+set}" = set; then :
5849 $as_echo_n "(cached) " >&6
5851 ac_func_search_save_LIBS
=$LIBS
5852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5853 /* end confdefs.h. */
5855 /* Override any GCC internal prototype to avoid an error.
5856 Use char because int might match the return type of a GCC
5857 builtin and then its argument prototype would still apply. */
5870 for ac_lib
in '' dir
; do
5871 if test -z "$ac_lib"; then
5872 ac_res
="none required"
5875 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5877 if ac_fn_c_try_link
"$LINENO"; then :
5878 ac_cv_search_opendir
=$ac_res
5880 rm -f core conftest.err conftest.
$ac_objext \
5882 if test "${ac_cv_search_opendir+set}" = set; then :
5886 if test "${ac_cv_search_opendir+set}" = set; then :
5889 ac_cv_search_opendir
=no
5892 LIBS
=$ac_func_search_save_LIBS
5894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5895 $as_echo "$ac_cv_search_opendir" >&6; }
5896 ac_res
=$ac_cv_search_opendir
5897 if test "$ac_res" != no
; then :
5898 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5904 $as_echo_n "checking for library containing opendir... " >&6; }
5905 if test "${ac_cv_search_opendir+set}" = set; then :
5906 $as_echo_n "(cached) " >&6
5908 ac_func_search_save_LIBS
=$LIBS
5909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5912 /* Override any GCC internal prototype to avoid an error.
5913 Use char because int might match the return type of a GCC
5914 builtin and then its argument prototype would still apply. */
5927 for ac_lib
in '' x
; do
5928 if test -z "$ac_lib"; then
5929 ac_res
="none required"
5932 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5934 if ac_fn_c_try_link
"$LINENO"; then :
5935 ac_cv_search_opendir
=$ac_res
5937 rm -f core conftest.err conftest.
$ac_objext \
5939 if test "${ac_cv_search_opendir+set}" = set; then :
5943 if test "${ac_cv_search_opendir+set}" = set; then :
5946 ac_cv_search_opendir
=no
5949 LIBS
=$ac_func_search_save_LIBS
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5952 $as_echo "$ac_cv_search_opendir" >&6; }
5953 ac_res
=$ac_cv_search_opendir
5954 if test "$ac_res" != no
; then :
5955 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5962 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5963 if test "${ac_cv_header_stat_broken+set}" = set; then :
5964 $as_echo_n "(cached) " >&6
5966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5967 /* end confdefs.h. */
5968 #include <sys/types.h>
5969 #include <sys/stat.h>
5971 #if defined S_ISBLK && defined S_IFDIR
5972 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5975 #if defined S_ISBLK && defined S_IFCHR
5976 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5979 #if defined S_ISLNK && defined S_IFREG
5980 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5983 #if defined S_ISSOCK && defined S_IFREG
5984 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5988 if ac_fn_c_try_compile
"$LINENO"; then :
5989 ac_cv_header_stat_broken
=no
5991 ac_cv_header_stat_broken
=yes
5993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5996 $as_echo "$ac_cv_header_stat_broken" >&6; }
5997 if test $ac_cv_header_stat_broken = yes; then
5999 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6004 $as_echo_n "checking for ANSI C header files... " >&6; }
6005 if test "${ac_cv_header_stdc+set}" = set; then :
6006 $as_echo_n "(cached) " >&6
6008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6023 if ac_fn_c_try_compile
"$LINENO"; then :
6024 ac_cv_header_stdc
=yes
6026 ac_cv_header_stdc
=no
6028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 if test $ac_cv_header_stdc = yes; then
6031 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6037 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6038 $EGREP "memchr" >/dev
/null
2>&1; then :
6041 ac_cv_header_stdc
=no
6047 if test $ac_cv_header_stdc = yes; then
6048 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6050 /* end confdefs.h. */
6054 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6055 $EGREP "free" >/dev
/null
2>&1; then :
6058 ac_cv_header_stdc
=no
6064 if test $ac_cv_header_stdc = yes; then
6065 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6066 if test "$cross_compiling" = yes; then :
6069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6070 /* end confdefs.h. */
6073 #if ((' ' & 0x0FF) == 0x020)
6074 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6075 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6077 # define ISLOWER(c) \
6078 (('a' <= (c) && (c) <= 'i') \
6079 || ('j' <= (c) && (c) <= 'r') \
6080 || ('s' <= (c) && (c) <= 'z'))
6081 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6084 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6089 for (i = 0; i < 256; i++)
6090 if (XOR (islower (i), ISLOWER (i))
6091 || toupper (i) != TOUPPER (i))
6096 if ac_fn_c_try_run
"$LINENO"; then :
6099 ac_cv_header_stdc
=no
6101 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6102 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6108 $as_echo "$ac_cv_header_stdc" >&6; }
6109 if test $ac_cv_header_stdc = yes; then
6111 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6116 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6117 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6118 $as_echo_n "(cached) " >&6
6120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6121 /* end confdefs.h. */
6122 #include <sys/types.h>
6123 #include <sys/wait.h>
6125 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6128 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6136 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6141 if ac_fn_c_try_compile
"$LINENO"; then :
6142 ac_cv_header_sys_wait_h
=yes
6144 ac_cv_header_sys_wait_h
=no
6146 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6149 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6150 if test $ac_cv_header_sys_wait_h = yes; then
6152 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6157 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6158 if test "${ac_cv_header_time+set}" = set; then :
6159 $as_echo_n "(cached) " >&6
6161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6162 /* end confdefs.h. */
6163 #include <sys/types.h>
6164 #include <sys/time.h>
6170 if ((struct tm *) 0)
6176 if ac_fn_c_try_compile
"$LINENO"; then :
6177 ac_cv_header_time
=yes
6179 ac_cv_header_time
=no
6181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6184 $as_echo "$ac_cv_header_time" >&6; }
6185 if test $ac_cv_header_time = yes; then
6187 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6191 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6192 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6194 cat >>confdefs.h
<<_ACEOF
6195 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6199 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6204 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6205 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6207 cat >>confdefs.h
<<_ACEOF
6208 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6212 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6215 case " $LIBOBJS " in
6216 *" fileblocks.$ac_objext "* ) ;;
6217 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6224 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6225 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6227 cat >>confdefs.h
<<_ACEOF
6228 #define HAVE_STRUCT_STAT_ST_RDEV 1
6232 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6238 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6239 if test "${ac_cv_struct_tm+set}" = set; then :
6240 $as_echo_n "(cached) " >&6
6242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <sys/types.h>
6251 int *p = &tm.tm_sec;
6257 if ac_fn_c_try_compile
"$LINENO"; then :
6258 ac_cv_struct_tm
=time.h
6260 ac_cv_struct_tm
=sys
/time.h
6262 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6265 $as_echo "$ac_cv_struct_tm" >&6; }
6266 if test $ac_cv_struct_tm = sys
/time.h
; then
6268 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6272 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6273 #include <$ac_cv_struct_tm>
6276 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6278 cat >>confdefs.h
<<_ACEOF
6279 #define HAVE_STRUCT_TM_TM_ZONE 1
6285 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6287 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6290 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6292 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6298 cat >>confdefs.h
<<_ACEOF
6299 #define HAVE_DECL_TZNAME $ac_have_decl
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6303 $as_echo_n "checking for tzname... " >&6; }
6304 if test "${ac_cv_var_tzname+set}" = set; then :
6305 $as_echo_n "(cached) " >&6
6307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6308 /* end confdefs.h. */
6310 #if !HAVE_DECL_TZNAME
6311 extern char *tzname[];
6317 return tzname[0][0];
6322 if ac_fn_c_try_link
"$LINENO"; then :
6323 ac_cv_var_tzname
=yes
6327 rm -f core conftest.err conftest.
$ac_objext \
6328 conftest
$ac_exeext conftest.
$ac_ext
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6331 $as_echo "$ac_cv_var_tzname" >&6; }
6332 if test $ac_cv_var_tzname = yes; then
6334 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6339 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6340 if test "x$ac_cv_type_off_t" = x
""yes; then :
6344 cat >>confdefs.h
<<_ACEOF
6345 #define off_t long int
6350 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6351 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6355 cat >>confdefs.h
<<_ACEOF
6361 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6362 if test "x$ac_cv_type_size_t" = x
""yes; then :
6366 cat >>confdefs.h
<<_ACEOF
6367 #define size_t unsigned int
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6373 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6374 if test "${ac_cv_type_uid_t+set}" = set; then :
6375 $as_echo_n "(cached) " >&6
6377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6378 /* end confdefs.h. */
6379 #include <sys/types.h>
6382 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6383 $EGREP "uid_t" >/dev
/null
2>&1; then :
6384 ac_cv_type_uid_t
=yes
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6392 $as_echo "$ac_cv_type_uid_t" >&6; }
6393 if test $ac_cv_type_uid_t = no
; then
6395 $as_echo "#define uid_t int" >>confdefs.h
6398 $as_echo "#define gid_t int" >>confdefs.h
6403 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6404 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6406 cat >>confdefs.h
<<_ACEOF
6407 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6414 # Look for some functions
6415 for ac_func
in getpagesize kqueue statfs statvfs \
6416 clone kse_create rfork_thread thr_create sa_register \
6417 getcontext makecontext setcontext sigaltstack swapcontext
6419 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6420 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6421 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6422 cat >>confdefs.h
<<_ACEOF
6423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6433 for ac_header
in $ac_header_list
6435 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6436 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6438 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6439 cat >>confdefs.h
<<_ACEOF
6440 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6454 for ac_func
in getpagesize
6456 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6457 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6458 cat >>confdefs.h
<<_ACEOF
6459 #define HAVE_GETPAGESIZE 1
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6466 $as_echo_n "checking for working mmap... " >&6; }
6467 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6468 $as_echo_n "(cached) " >&6
6470 if test "$cross_compiling" = yes; then :
6471 ac_cv_func_mmap_fixed_mapped
=no
6473 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6474 /* end confdefs.h. */
6475 $ac_includes_default
6476 /* malloc might have been renamed as rpl_malloc. */
6479 /* Thanks to Mike Haertel and Jim Avera for this test.
6480 Here is a matrix of mmap possibilities:
6481 mmap private not fixed
6482 mmap private fixed at somewhere currently unmapped
6483 mmap private fixed at somewhere already mapped
6484 mmap shared not fixed
6485 mmap shared fixed at somewhere currently unmapped
6486 mmap shared fixed at somewhere already mapped
6487 For private mappings, we should verify that changes cannot be read()
6488 back from the file, nor mmap's back from the file at a different
6489 address. (There have been systems where private was not correctly
6490 implemented like the infamous i386 svr4.0, and systems where the
6491 VM page cache was not coherent with the file system buffer cache
6492 like early versions of FreeBSD and possibly contemporary NetBSD.)
6493 For shared mappings, we should conversely verify that changes get
6494 propagated back to all the places they're supposed to be.
6496 Grep wants private fixed already mapped.
6497 The main things grep needs to know about mmap are:
6498 * does it exist and is it safe to write into the mmap'd area
6499 * how to use it (BSD variants) */
6502 #include <sys/mman.h>
6504 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6508 /* This mess was copied from the GNU getpagesize.h. */
6509 #ifndef HAVE_GETPAGESIZE
6510 # ifdef _SC_PAGESIZE
6511 # define getpagesize() sysconf(_SC_PAGESIZE)
6512 # else /* no _SC_PAGESIZE */
6513 # ifdef HAVE_SYS_PARAM_H
6514 # include <sys/param.h>
6515 # ifdef EXEC_PAGESIZE
6516 # define getpagesize() EXEC_PAGESIZE
6517 # else /* no EXEC_PAGESIZE */
6519 # define getpagesize() NBPG * CLSIZE
6522 # endif /* no CLSIZE */
6523 # else /* no NBPG */
6525 # define getpagesize() NBPC
6526 # else /* no NBPC */
6528 # define getpagesize() PAGESIZE
6529 # endif /* PAGESIZE */
6530 # endif /* no NBPC */
6531 # endif /* no NBPG */
6532 # endif /* no EXEC_PAGESIZE */
6533 # else /* no HAVE_SYS_PARAM_H */
6534 # define getpagesize() 8192 /* punt totally */
6535 # endif /* no HAVE_SYS_PARAM_H */
6536 # endif /* no _SC_PAGESIZE */
6538 #endif /* no HAVE_GETPAGESIZE */
6543 char *data, *data2, *data3;
6548 pagesize = getpagesize ();
6550 /* First, make a file with some known garbage in it. */
6551 data = (char *) malloc (pagesize);
6554 for (i = 0; i < pagesize; ++i)
6555 *(data + i) = rand ();
6557 fd = creat ("conftest.mmap", 0600);
6560 if (write (fd, data, pagesize) != pagesize)
6564 /* Next, check that the tail of a page is zero-filled. File must have
6565 non-zero length, otherwise we risk SIGBUS for entire page. */
6566 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6570 if (write (fd2, cdata2, 1) != 1)
6572 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6573 if (data2 == MAP_FAILED)
6575 for (i = 0; i < pagesize; ++i)
6579 if (munmap (data2, pagesize))
6582 /* Next, try to mmap the file at a fixed address which already has
6583 something else allocated at it. If we can, also make sure that
6584 we see the same garbage. */
6585 fd = open ("conftest.mmap", O_RDWR);
6588 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6589 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6591 for (i = 0; i < pagesize; ++i)
6592 if (*(data + i) != *(data2 + i))
6595 /* Finally, make sure that changes to the mapped area do not
6596 percolate back to the file as seen by read(). (This is a bug on
6597 some variants of i386 svr4.0.) */
6598 for (i = 0; i < pagesize; ++i)
6599 *(data2 + i) = *(data2 + i) + 1;
6600 data3 = (char *) malloc (pagesize);
6603 if (read (fd, data3, pagesize) != pagesize)
6605 for (i = 0; i < pagesize; ++i)
6606 if (*(data + i) != *(data3 + i))
6612 if ac_fn_c_try_run
"$LINENO"; then :
6613 ac_cv_func_mmap_fixed_mapped
=yes
6615 ac_cv_func_mmap_fixed_mapped
=no
6617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6618 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6623 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6624 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6626 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6629 rm -f conftest.mmap conftest.txt
6634 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6635 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6636 aros_config_ldflags
=""
6638 aros_shared_default
=yes
6640 aros_shared_cflags
="-fPIC"
6641 aros_shared_aflags
=""
6642 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6643 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6645 aros_target_ar_flags
="cr"
6646 aros_target_nm_flags
="-C -ul"
6647 aros_target_strip_flags
="--strip-unneeded -R.comment"
6652 aros_target_genmap
="-Wl,-Map -Xlinker"
6654 # Native flavour stuff
6655 aros_serial_debug
="0"
6657 # Palm native flavour stuff
6658 aros_palm_debug_hack
="0"
6660 # Unix flavour stuff
6661 aros_nesting_supervisor
="0"
6663 # Collect-aros stuff: "-ius" to ignore undefined symbols
6664 ignore_undefined_symbols
=""
6666 # Check for X11 by default
6669 #-----------------------------------------------------------------------------
6672 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6673 # it switched on by default, and we use the host compiler, so it compiles AROS
6674 # code with this enabled resulting in link failures as we don't have support
6677 # We use two methods to disable it. For the host compiler (used to compile
6678 # some hosted modules), we test to see if the compiler supports stack
6679 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6680 # work on all platforms.
6682 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6683 # (this is done unconditionally, as it should have no effect on compilers
6684 # without the stack protection feature). This may be specific to the way that
6685 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6686 # strong enough to disable it in a generic way though, so we'll live with it
6687 # until another vendor ships GCC with it enabled in a different way, and deal
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6692 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6693 save_cflags
="$CFLAGS"
6694 CFLAGS
="$CFLAGS -fno-stack-protector"
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6706 if ac_fn_c_try_compile
"$LINENO"; then :
6707 use_no_stack_protector
="yes"
6709 use_no_stack_protector
="no"
6711 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6713 $as_echo "$use_no_stack_protector" >&6; }
6714 if test "x-$use_no_stack_protector" = "x-yes" ; then
6715 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6717 CFLAGS
="$save_cflags"
6719 #-----------------------------------------------------------------------------
6721 # Disable pointer-signedness warnings if the compiler recognises the option
6722 # (this only works for the host compiler at the moment)
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6725 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6726 save_cflags
="$CFLAGS"
6727 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6729 /* end confdefs.h. */
6739 if ac_fn_c_try_compile
"$LINENO"; then :
6740 use_no_sign_warning
="yes"
6742 use_no_sign_warning
="no"
6744 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6746 $as_echo "$use_no_sign_warning" >&6; }
6747 if test "x-$use_no_sign_warning" = "x-yes" ; then
6748 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6750 CFLAGS
="$save_cflags"
6752 #-----------------------------------------------------------------------------
6754 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6757 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6758 save_cflags
="$CFLAGS"
6759 CFLAGS
="$CFLAGS -fgnu89-inline"
6760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6771 if ac_fn_c_try_compile
"$LINENO"; then :
6772 use_gnu89_inline
="yes"
6774 use_gnu89_inline
="no"
6776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6778 $as_echo "$use_gnu89_inline" >&6; }
6779 if test "x-$use_gnu89_inline" = "x-yes" ; then
6780 gnu89_inline
="-fgnu89-inline"
6782 CFLAGS
="$save_cflags"
6784 #-----------------------------------------------------------------------------
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6787 $as_echo_n "checking for type of build... " >&6; }
6788 # Check whether --enable-build_type was given.
6789 if test "${enable_build_type+set}" = set; then :
6790 enableval
=$enable_build_type; build_type
=$enableval
6792 build_type
="personal"
6796 if test "$build_type" = "nightly"; then
6797 build_type_string
="NIGHTLY"
6798 elif test "$build_type" = "snapshot"; then
6799 build_type_string
="SNAPSHOT"
6800 elif test "$build_type" = "milestone"; then
6801 build_type_string
="MILESTONE"
6802 elif test "$build_type" = "release"; then
6803 build_type_string
="RELEASE"
6805 build_type_string
="PERSONAL"
6806 build_type
="personal"
6809 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6812 $as_echo "$build_type" >&6; }
6814 #-----------------------------------------------------------------------------
6815 all_debug_types
="messages stack modules mungwall symbols"
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6818 $as_echo_n "checking which debug types to enable... " >&6; }
6819 # Check whether --enable-debug was given.
6820 if test "${enable_debug+set}" = set; then :
6821 enableval
=$enable_debug; debug
="$enableval"
6827 if test "$debug" = "" -o "$debug" = "no"; then
6829 elif test "$debug" = "yes"; then
6833 if test "$debug" = "all" ; then
6834 debug
="messages stack modules symbols"
6835 for d
in $all_debug_types; do
6836 export aros_
${d}_debug
="1"
6839 for d
in $all_debug_types; do
6840 export aros_
${d}_debug
="0"
6844 if test "$debug" != "none"; then
6845 debug
=`echo $debug | sed s/,/\ /g`
6848 for d2
in $all_debug_types; do
6849 if test "$d2" = "$d"; then
6854 if test "$found" = "0"; then
6855 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6857 export aros_
${d}_debug
="1"
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6862 $as_echo "$debug" >&6; }
6864 if test "$aros_messages_debug" = "1"; then
6865 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6867 aros_messages_debug
=""
6869 if test "$aros_symbols_debug" = "1"; then
6870 aros_symbols_debug
="-g"
6872 aros_symbols_debug
=""
6875 # These are the flags to pass when compiling debugged programs
6876 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6877 aros_debug_aflags
=""
6878 aros_debug_ldflags
="$aros_symbols_debug"
6880 aros_crosstools
="no"
6882 #-----------------------------------------------------------------------------
6883 # Checking if we should build crosstools..
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6885 $as_echo_n "checking whether to build crosstools... " >&6; }
6886 # Check whether --enable-crosstools was given.
6887 if test "${enable_crosstools+set}" = set; then :
6888 enableval
=$enable_crosstools; crosstools
="$enableval"
6893 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6895 $as_echo "yes" >&6; }
6896 aros_crosstools
="yes"
6898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6899 $as_echo "no" >&6; }
6902 #-----------------------------------------------------------------------------
6903 # Checking for distcc and ccache.
6905 # Always apply the transforms in this particular order. Basically you should
6906 # always run 'ccache distcc compiler' in that order for the best performance.
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6909 $as_echo_n "checking whether to enable distcc... " >&6; }
6910 # Check whether --enable-distcc was given.
6911 if test "${enable_distcc+set}" = set; then :
6912 enableval
=$enable_distcc; distcc
="$enableval"
6917 if test "$distcc" != "" -a "$distcc" != "no"; then
6918 # AC_CHECK_PROG will print out the result in this case
6919 # Extract the first word of "distcc", so it can be a program name with args.
6920 set dummy distcc
; ac_word
=$2
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6922 $as_echo_n "checking for $ac_word... " >&6; }
6923 if test "${ac_cv_path_DISTCC+set}" = set; then :
6924 $as_echo_n "(cached) " >&6
6928 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6935 test -z "$as_dir" && as_dir
=.
6936 for ac_exec_ext
in '' $ac_executable_extensions; do
6937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6938 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6946 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6950 DISTCC
=$ac_cv_path_DISTCC
6951 if test -n "$DISTCC"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6953 $as_echo "$DISTCC" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6962 $as_echo "no" >&6; }
6965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6966 $as_echo_n "checking whether to enable ccache... " >&6; }
6967 # Check whether --enable-ccache was given.
6968 if test "${enable_ccache+set}" = set; then :
6969 enableval
=$enable_ccache; ccache
="$enableval"
6974 if test "$ccache" != "" -a "$ccache" != "no"; then
6975 # AC_CHECK_PROG will print out the result in this case
6976 # Extract the first word of "ccache", so it can be a program name with args.
6977 set dummy ccache
; ac_word
=$2
6978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6979 $as_echo_n "checking for $ac_word... " >&6; }
6980 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6981 $as_echo_n "(cached) " >&6
6983 if test -n "$CCACHE"; then
6984 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6990 test -z "$as_dir" && as_dir
=.
6991 for ac_exec_ext
in '' $ac_executable_extensions; do
6992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6993 ac_cv_prog_CCACHE
="ccache"
6994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7003 CCACHE
=$ac_cv_prog_CCACHE
7004 if test -n "$CCACHE"; then
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
7006 $as_echo "$CCACHE" >&6; }
7008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7009 $as_echo "no" >&6; }
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7015 $as_echo "no" >&6; }
7018 #-----------------------------------------------------------------------------
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific host gcc version to use" >&5
7020 $as_echo_n "checking what specific host gcc version to use... " >&6; }
7022 # Check whether --with-gcc-version was given.
7023 if test "${with_gcc_version+set}" = set; then :
7024 withval
=$with_gcc_version; target_tool_version
="$withval"
7026 target_tool_version
="default"
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7030 $as_echo "$target_tool_version" >&6; }
7032 #-----------------------------------------------------------------------------
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7034 $as_echo_n "checking what optimization flags to use... " >&6; }
7036 # Check whether --with-optimization was given.
7037 if test "${with_optimization+set}" = set; then :
7038 withval
=$with_optimization; optimization
="$withval"
7040 optimization
="unknown"
7043 if test "$optimization" = "unknown"; then
7044 if test "$debug" != "none"; then
7050 aros_config_cflags
="$aros_config_cflags $optimization"
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7052 $as_echo "$optimization" >&6; }
7054 #-----------------------------------------------------------------------------
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7056 $as_echo_n "checking what paranoia flags to use... " >&6; }
7058 # Check whether --with-paranoia was given.
7059 if test "${with_paranoia+set}" = set; then :
7060 withval
=$with_paranoia; paranoia_flags
="$withval"
7062 paranoia_flags
="default"
7065 if test "$paranoia_flags" = "default"; then
7067 else if test "$paranoia_flags" = "yes"; then
7068 paranoia_flags
="-Wall -Werror"
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7071 $as_echo "$paranoia_flags" >&6; }
7072 aros_paranoia_cflags
="$paranoia_flags"
7074 #-----------------------------------------------------------------------------
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7076 $as_echo_n "checking what target variant to enable... " >&6; }
7077 # Check whether --enable-target_variant was given.
7078 if test "${enable_target_variant+set}" = set; then :
7079 enableval
=$enable_target_variant; target_variant
=$enableval
7084 if test "$target_variant" = ""; then
7085 aros_target_variant
=""
7086 aros_target_suffix
=""
7089 aros_target_variant
="$target_variant"
7090 aros_target_suffix
="-$target_variant"
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7093 $as_echo "$enableval" >&6; }
7095 #-----------------------------------------------------------------------------
7096 # Target-specific defaults. You can override then on a per-target basis.
7098 # Bootloader name. Currently used by PC target.
7099 target_bootloader
="none"
7101 # Prefix for toolchain used to build bootstrap. For hosted ports, this should be a toolchain for target host OS.
7102 # (i. e. when building mingw32-i386 port this should be set to "i386-mingw32-").
7103 # For native ports this toolchain is used to build a bootloader and second-level bootstrap (if present).
7104 target_tool_prefix
=${target_cpu}-elf-
7106 #-----------------------------------------------------------------------------
7107 # Additional options for some specific targets
7109 case "$aros_target_variant" in
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7112 $as_echo_n "checking XCode path... " >&6; }
7114 # Check whether --with-xcode was given.
7115 if test "${with_xcode+set}" = set; then :
7116 withval
=$with_xcode; aros_xcode_path
="$withval"
7118 aros_xcode_path
="/Developer"
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7122 $as_echo "$aros_xcode_path" >&6; }
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7125 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7127 # Check whether --with-ios-version was given.
7128 if test "${with_ios_version+set}" = set; then :
7129 withval
=$with_ios_version; aros_ios_version
="$withval"
7131 aros_ios_version
="3.0"
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7135 $as_echo "$aros_ios_version" >&6; }
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7138 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7140 # Check whether --with-ios-sdk was given.
7141 if test "${with_ios_sdk+set}" = set; then :
7142 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7148 $as_echo "$aros_ios_sdk" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7154 $as_echo_n "checking Android SDK path... " >&6; }
7156 # Check whether --with-sdk was given.
7157 if test "${with_sdk+set}" = set; then :
7158 withval
=$with_sdk; aros_android_sdk
="$withval"
7160 aros_android_sdk
=$default_android_sdk
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7164 $as_echo "$aros_android_sdk" >&6; }
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7167 $as_echo_n "checking Android NDK path... " >&6; }
7169 # Check whether --with-ndk was given.
7170 if test "${with_ndk+set}" = set; then :
7171 withval
=$with_ndk; aros_android_ndk
="$withval"
7173 aros_android_ndk
="$default_android_ndk"
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7177 $as_echo "$aros_android_ndk" >&6; }
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android version to use" >&5
7180 $as_echo_n "checking what Android version to use... " >&6; }
7182 # Check whether --with-android-version was given.
7183 if test "${with_android_version+set}" = set; then :
7184 withval
=$with_android_version; aros_android_version
="$withval"
7186 aros_android_version
="2.2"
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_version" >&5
7190 $as_echo "$aros_android_version" >&6; }
7192 export PATH
="$aros_android_sdk/tools:$PATH"
7193 # Extract the first word of "$android_tool", so it can be a program name with args.
7194 set dummy
$android_tool; ac_word
=$2
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7196 $as_echo_n "checking for $ac_word... " >&6; }
7197 if test "${ac_cv_path_android_tool+set}" = set; then :
7198 $as_echo_n "(cached) " >&6
7200 case $android_tool in
7202 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7205 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7209 test -z "$as_dir" && as_dir
=.
7210 for ac_exec_ext
in '' $ac_executable_extensions; do
7211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7212 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7223 android_tool
=$ac_cv_path_android_tool
7224 if test -n "$android_tool"; then
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7226 $as_echo "$android_tool" >&6; }
7228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7229 $as_echo "no" >&6; }
7233 if test "$android_tool" = ""; then
7234 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7237 if test $host_os = "mingw32"; then
7238 android_tool
="cmd //c $android_tool"
7244 #-----------------------------------------------------------------------------
7245 # This is the target configuration switch.
7246 case "$target_os" in
7248 aros_target_arch
="linux"
7249 aros_target_family
="unix"
7250 case "$target_cpu" in
7252 aros_target_cpu
="m68k"
7253 aros_object_format
="m68kelf"
7254 aros_flavour
="emulcompat"
7255 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7256 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7257 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7258 gcc_target_cpu
="mc68000"
7261 aros_target_cpu
="i386"
7262 aros_object_format
="elf_i386"
7263 aros_flavour
="emulation"
7264 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7265 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7266 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7267 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7268 aros_config_ldflags
="-m32 -march=i486"
7269 aros_kernel_ldflags
="-melf_i386"
7270 aros_default_wbdepth
=8
7271 gcc_target_cpu
="i386"
7272 pci_hidd_target
="hidd-pci-linux"
7275 aros_target_cpu
="x86_64"
7276 aros_object_format
="elf_x86_64"
7277 aros_flavour
="emulation"
7278 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7279 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7280 aros_default_wbdepth
=8
7281 pci_hidd_target
="hidd-pci-linux"
7284 aros_target_cpu
="ppc"
7285 aros_object_format
="elf32ppc"
7286 aros_flavour
="emulation"
7287 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7288 aros_default_wbdepth
=8
7289 gcc_target_cpu
="ppc"
7292 # Same as powerpc, but I need this for the nightly build to work again.
7293 # Actually, the nightly should be made working with powerpc target.
7294 # That just was too much work for the moment, another week or two.
7296 aros_target_cpu
="ppc"
7297 aros_object_format
="elf32ppc"
7298 aros_flavour
="emulation"
7299 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7300 aros_default_wbdepth
=8
7301 gcc_target_cpu
="ppc"
7304 aros_target_cpu
="arm"
7305 aros_object_format
="armelf_linux_eabi"
7306 aros_flavour
="emulation"
7307 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7308 gcc_target_cpu
="arm"
7309 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7310 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7311 aros_arch_libs
="-laeabi"
7314 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7317 case "$aros_target_variant" in
7319 case "$aros_android_version" in
7321 aros_android_level
=android-8
7324 aros_android_level
=android-9
7327 aros_default_wbwidth
=320
7328 aros_default_wbheight
=480
7330 if test "$aros_android_ndk" = ""; then
7331 aros_kernel_cflags
="-mandroid"
7332 aros_kernel_ldflags
="-mandroid"
7335 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7336 aros_android_ndk
="$aros_android_ndk/platforms/$aros_android_level/arch-arm"
7337 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7338 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7339 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7340 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7343 target_tool_prefix
="arm-linux-androideabi-"
7349 aros_target_arch
="pc"
7350 aros_shared_default
="no"
7351 target_bootloader
="grub2"
7352 case "$target_cpu" in
7354 aros_target_cpu
="i386"
7357 if test "$aros_object_format" = "" ; then
7358 aros_object_format
="elf_i386"
7360 aros_flavour
="standalone"
7361 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7362 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7363 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7364 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7365 aros_config_ldflags
="-m32 -march=i486"
7366 aros_kernel_ldflags
="-melf_i386"
7367 aros_default_wbwidth
=640
7368 aros_default_wbheight
=480
7369 gcc_target_cpu
="i386"
7372 aros_target_cpu
="x86_64"
7374 if test "$aros_object_format" = "" ; then
7375 aros_object_format
="elf_x86_64"
7377 aros_flavour
="standalone"
7378 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7379 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7380 aros_kernel_ldflags
=""
7381 aros_default_wbwidth
=640
7382 aros_default_wbheight
=480
7385 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7391 aros_target_arch
="prep"
7392 aros_shared_default
="no"
7393 aros_target_cpu
="ppc"
7394 aros_object_format
="elf32ppc"
7395 aros_flavour
="ppcnative"
7396 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7397 aros_kernel_ldflags
=""
7398 aros_default_wbwidth
=640
7399 aros_default_wbheight
=480
7400 gcc_target_cpu
="ppc"
7404 aros_target_arch
="freebsd"
7405 aros_target_family
="unix"
7406 aros_target_cpu
="i386"
7407 aros_flavour
="emulation"
7408 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7409 gcc_target_cpu
="i386"
7411 aros_target_strip_flags
="-x"
7415 aros_target_arch
="darwin"
7416 aros_target_family
="unix"
7417 aros_flavour
="emulation"
7418 case "$target_cpu" in
7420 aros_ios_platform
="iPhoneSimulator"
7421 aros_target_cpu
="i386"
7422 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7423 aros_kernel_ldflags
=""
7424 aros_macosx_version
="10.4"
7425 aros_default_wbdepth
=8
7426 gcc_target_cpu
="i386"
7427 aros_object_format
="elf_i386"
7428 aros_target_strip_flags
="-x"
7429 target_tool_prefix
="i686-apple-darwin10-"
7430 target_tool_flags
="-m32"
7433 aros_target_cpu
="x86_64"
7434 aros_object_format
="elf_x86_64"
7435 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7436 aros_macosx_version
="10.6"
7437 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7438 aros_kernel_cflags
="-m64"
7439 aros_kernel_ldflags
="-m64"
7440 aros_target_cflags
="-mcmodel=large"
7441 aros_default_wbdepth
=8
7443 target_tool_prefix
="i686-apple-darwin10-"
7446 aros_target_cpu
="ppc"
7447 aros_object_format
="elf32ppc"
7448 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7449 aros_kernel_ldflags
=""
7450 aros_macosx_version
="10.0"
7451 aros_default_wbdepth
=8
7452 gcc_target_cpu
="ppc"
7453 aros_kernel_ld
="ld -arch ppc"
7454 target_tool_prefix
="powerpc-apple-darwin10-"
7457 aros_ios_platform
="iPhoneOS"
7458 aros_target_cpu
="arm"
7459 aros_object_format
="armelf_linux_eabi"
7460 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7461 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7462 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7463 aros_arch_libs
="-laeabi"
7464 aros_default_wbdepth
=8
7465 gcc_target_cpu
="arm"
7466 target_tool_prefix
="arm-apple-darwin10-"
7467 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7470 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7473 case "$aros_target_variant" in
7475 aros_default_wbwidth
=320
7476 aros_default_wbheight
=480
7477 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7478 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
7479 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7481 # This is here because it may depend on iOS or SDK version
7482 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7483 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7484 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7487 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7488 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7494 aros_target_arch
="dragonfly"
7495 aros_target_family
="unix"
7496 aros_flavour
="emulation"
7497 case "$target_cpu" in
7499 aros_target_cpu
="i386"
7500 aros_object_format
="elf_i386"
7501 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7504 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7505 aros_target_cpu
="x86_64"
7506 aros_object_format
="elf_x86_64"
7507 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7510 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7516 aros_target_arch
="netbsd"
7517 aros_target_family
="unix"
7518 case "$target_cpu" in
7520 aros_target_cpu
="m68k"
7521 aros_object_format
="m68kelf"
7522 aros_flavour
="emulcompat"
7523 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7524 gcc_target_cpu
="mc68000"
7527 aros_target_cpu
="i386"
7528 aros_object_format
="elf_i386"
7529 aros_flavour
="emulation"
7530 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7531 aros_default_wbdepth
=8
7532 gcc_target_cpu
="i386"
7535 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7538 aros_target_genmap
="-Wl,-M -Xlinker >"
7539 aros_flavour
="emulation"
7540 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7544 aros_target_arch
="openbsd"
7545 aros_target_family
="unix"
7546 case "$target_cpu" in
7548 aros_target_cpu
="i386"
7549 aros_object_format
="elf_i386"
7550 aros_flavour
="emulation"
7551 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7552 gcc_target_cpu
="i386"
7555 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7558 aros_target_genmap
="-Wl,-M -Xlinker >"
7559 aros_target_nm_flags
="-u"
7560 aros_flavour
="emulation"
7564 aros_target_arch
="solaris"
7565 aros_target_family
="unix"
7566 case "$target_cpu" in
7568 aros_target_cpu
="i386"
7569 aros_object_format
="elf_i386"
7570 aros_flavour
="emulation"
7571 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7572 aros_default_wbdepth
=8
7573 gcc_target_cpu
="i386"
7576 aros_target_cpu
="sparc"
7577 aros_object_format
="elf_sparc"
7578 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7579 gcc_target_cpu
="sparc"
7582 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7585 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7586 aros_flavour
="emulation"
7590 aros_target_arch
="morphos"
7591 aros_shared_default
="no"
7592 aros_target_cpu
="ppc"
7593 aros_object_format
="elf_ppc"
7594 aros_flavour
="nativecompat"
7595 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7596 gcc_target_cpu
="ppc"
7600 aros_target_arch
="sam440"
7601 aros_shared_default
="no"
7602 aros_target_cpu
="ppc"
7603 aros_object_format
="elf32ppc"
7604 aros_flavour
="ppcnative"
7605 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7606 aros_kernel_ldflags
=""
7607 aros_default_wbwidth
=1024
7608 aros_default_wbheight
=768
7609 aros_default_wbdepth
=24
7610 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7611 gcc_target_cpu
="powerpc"
7615 aros_target_arch
="efika"
7616 aros_shared_default
="no"
7617 aros_target_cpu
="arm"
7618 aros_object_format
="armelf_linux_eabi"
7619 aros_flavour
="standalone"
7620 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7621 aros_kernel_ldflags
=""
7622 aros_default_wbwidth
=1024
7623 aros_default_wbheight
=600
7624 aros_arch_libs
="-laeabi"
7625 aros_config_cflags
="$aros_config_cflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7626 aros_config_aflags
="$aros_config_aflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7630 aros_target_arch
="chrp"
7631 aros_shared_default
="no"
7632 aros_target_cpu
="ppc"
7633 aros_object_format
="elf32ppc"
7634 aros_flavour
="ppcnative"
7635 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7636 aros_kernel_ldflags
=""
7637 aros_default_wbwidth
=640
7638 aros_default_wbheight
=480
7639 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7640 gcc_target_cpu
="powerpc"
7641 case "$aros_target_variant" in
7643 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7649 aros_target_arch
="amiga"
7650 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7651 aros_shared_default
="no"
7653 case "$target_cpu" in
7656 aros_target_cpu
="m68k"
7657 aros_object_format
="m68kelf"
7658 aros_flavour
="standcompat"
7659 gcc_target_cpu
="m68000"
7660 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -DAROS_DOS_PACKETS"
7661 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7662 aros_paranoia_cflags
="$aros_paranoia_cflags -Wno-volatile-register-var"
7663 aros_debug_cflags
="$aros_debug_cflags -Wall -Wno-volatile-register-var"
7664 target_tool_prefix
="m68k-elf-"
7665 # Needed to get the correct multilib
7666 aros_config_ldflags
="-${gcc_target_cpu}"
7667 aros_shared_ldflags
="-${gcc_target_cpu}"
7668 aros_kernel_ldflags
="-${gcc_target_cpu}"
7669 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7670 aros_target_strip_flags
="-R.comment --strip-debug"
7671 aros_default_wbwidth
=640
7672 aros_default_wbheight
=256
7673 aros_default_wbdepth
=2
7677 aros_flavour
="native"
7678 gcc_target_cpu
="ppc"
7681 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7687 aros_target_arch
="mingw32"
7688 aros_shared_default
="no"
7689 aros_flavour
="emulation"
7690 aros_shared_cflags
=""
7693 case "$target_cpu" in
7695 aros_target_cpu
="i386"
7696 aros_object_format
="elf_i386"
7697 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7698 aros_default_wbdepth
=8
7699 gcc_target_cpu
="i386"
7701 aros_target_as
="i386-aros-as"
7702 aros_target_ar
="i386-aros-ar"
7703 aros_target_ranlib
="i386-aros-ranlib"
7704 aros_target_nm
="i386-aros-nm"
7705 aros_target_strip
="i386-aros-strip"
7706 aros_target_objcopy
="i386-aros-objcopy"
7707 aros_target_objdump
="i386-aros-objdump"
7709 target_tool_prefix
="i386-mingw32-"
7712 aros_target_cpu
="x86_64"
7713 aros_object_format
="elf_x86_64"
7714 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7715 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7716 aros_default_wbdepth
=8
7717 target_tool_prefix
="x86_64-w64-mingw32-"
7720 aros_target_cpu
="arm"
7721 aros_object_format
="armelf_linux_eabi"
7722 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7723 aros_arch_libs
="-laeabi"
7724 aros_default_wbdepth
=8
7725 gcc_target_cpu
="arm"
7726 target_tool_prefix
="arm-mingw32ce-"
7727 aros_default_wbwidth
=160
7728 aros_default_wbheight
=160
7731 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7734 if test $host_os = "cygwin"; then
7735 aros_kernel_cflags
="-mno-cygwin"
7739 aros_target_arch
="pp"
7740 aros_shared_default
="no"
7741 case "$target_cpu" in
7743 aros_target_cpu
="m68k"
7744 aros_object_format
="m68kelf"
7745 aros_flavour
="palmnative"
7746 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7747 aros_default_wbwidth
=160
7748 aros_default_wbheight
=160
7749 aros_default_wbdepth
=1
7750 aros_target_ar_flags
="cru"
7751 aros_compiler_libs
="-lgcc1"
7752 aros_shared_default
=no
7753 aros_shared_cflags
="-fpic"
7754 aros_shared_aflags
=""
7755 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7756 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7757 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7758 aros_debug_aflags
=""
7759 aros_debug_ldflags
="$aros_symbols_debug"
7760 aros_mungwall_debug
="0"
7761 aros_modules_debug
="0"
7762 gcc_target_cpu
="mc68000"
7763 ignore_undefined_symbols
="-ius"
7766 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7772 aros_target_arch
="mac"
7773 aros_shared_default
="no"
7774 case "$target_cpu" in
7776 aros_target_cpu
="m68k"
7777 aros_object_format
="m68kelf"
7778 aros_flavour
="mac68knative"
7779 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7780 aros_default_wbwidth
=512
7781 aros_default_wbheight
=384
7782 aros_default_wbdepth
=8
7783 aros_target_ar_flags
="cru"
7784 aros_compiler_libs
="-lgcc1"
7785 aros_shared_default
=no
7786 aros_shared_cflags
="-fpic"
7787 aros_shared_aflags
=""
7788 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7789 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7790 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7791 aros_debug_aflags
=""
7792 aros_debug_ldflags
="$aros_symbols_debug"
7793 aros_mungwall_debug
="0"
7794 aros_modules_debug
="0"
7795 gcc_target_cpu
="mc68000"
7796 ignore_undefined_symbols
="-ius"
7799 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7805 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7809 #-----------------------------------------------------------------------------
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific AROS gcc version to use" >&5
7811 $as_echo_n "checking what specific AROS gcc version to use... " >&6; }
7813 # Check whether --with-aros-gcc was given.
7814 if test "${with_aros_gcc+set}" = set; then :
7815 withval
=$with_aros_gcc; aros_gcc_version
="$withval"
7817 aros_gcc_version
="$use_aros_gcc"
7820 case "$aros_gcc_version" in
7822 aros_gcc_version
="default"
7825 aros_gcc_version
="none"
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_gcc_version" >&5
7829 $as_echo "$aros_gcc_version" >&6; }
7831 if test "$aros_gcc_version" != "none"; then
7832 if test "$aros_gcc_version" != "default"; then
7833 aros_target_cc
="$aros_target_cpu-aros-gcc-$aros_gcc_version"
7834 aros_target_cxx
="$aros_target_cpu-aros-g++-$aros_gcc_version"
7836 aros_target_cc
="$aros_target_cpu-aros-gcc"
7837 aros_target_cxx
="$aros_target_cpu-aros-g++"
7840 aros_target_ld
="$aros_target_cpu-aros-ld"
7841 aros_target_as
="$aros_target_cpu-aros-as"
7842 aros_target_ar
="$aros_target_cpu-aros-ar"
7843 aros_target_ranlib
="$aros_target_cpu-aros-ranlib"
7844 aros_target_nm
="$aros_target_cpu-aros-nm"
7845 aros_target_strip
="$aros_target_cpu-aros-strip"
7846 aros_target_objcopy
="$aros_target_cpu-aros-objcopy"
7847 aros_target_objdump
="$aros_target_cpu-aros-objdump"
7850 # Some compilers (ppc-elf-gcc is known to) have CPU defines in specs
7851 # Since we override specs, we may need to put these defines there
7852 if test "$gcc_target_cpu" != ""; then
7853 gcc_target_cpu
="-D__${gcc_target_cpu}__"
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7857 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7859 # Check whether --with-portssources was given.
7860 if test "${with_portssources+set}" = set; then :
7861 withval
=$with_portssources; with_portssrcdir
=$withval
7863 with_portssrcdir
="default"
7866 if test "$with_portssrcdir" = "default"; then
7867 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7869 AROS_PORTSSRCDIR
="$with_portssrcdir"
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7872 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7875 $as_echo_n "checking which bootloader to use... " >&6; }
7877 # Check whether --with-bootloader was given.
7878 if test "${with_bootloader+set}" = set; then :
7879 withval
=$with_bootloader; target_bootloader
=$withval
7881 target_bootloader
=$target_bootloader
7884 if test "$target_bootloader" = "none"; then
7885 aros_target_bootloader
=""
7887 aros_target_bootloader
="$target_bootloader"
7889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7890 $as_echo "$target_bootloader" >&6; }
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7893 $as_echo_n "checking which icon-set to use... " >&6; }
7895 # Check whether --with-iconset was given.
7896 if test "${with_iconset+set}" = set; then :
7897 withval
=$with_iconset; target_iconset
=$withval
7899 target_iconset
="default"
7902 if test "$target_iconset" = "default"; then
7903 aros_target_iconset
="Gorilla"
7904 target_iconset
="default (Gorilla)"
7906 aros_target_iconset
="$target_iconset"
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7909 $as_echo "$target_iconset" >&6; }
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7912 $as_echo_n "checking which GUI Theme to use... " >&6; }
7914 # Check whether --with-theme was given.
7915 if test "${with_theme+set}" = set; then :
7916 withval
=$with_theme; target_guitheme
=$withval
7918 target_guitheme
="default"
7921 if test "$target_guitheme" = "default"; then
7922 aros_target_guitheme
="Ice"
7924 aros_target_guitheme
="$target_guitheme"
7926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7927 $as_echo "$aros_target_guitheme" >&6; }
7929 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7932 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7936 if test "$aros_host_cpu" == "x86_64" ; then
7937 if test "$aros_target_cpu" == "i386" ; then
7938 if test "$aros_target_arch" != "mingw32"; then
7944 if test "$aros_host_arch" == "darwin" ; then
7945 if test "$aros_target_arch" != "darwin" ; then
7950 # Set prefix for target compiler etc. if we're cross-compiling
7951 # (should possibly be earlier but needs to be after AC_PROG_CC)
7952 if test "$cross_compiling" = "yes" ; then
7953 CC
=${target_tool_prefix}gcc
7954 CPP
=${target_tool_prefix}cpp
7955 if test "$target_tool_version" != "default"; then
7956 CC
="$CC-$target_tool_version"
7957 CPP
="$CC-$target_tool_version"
7959 # Extract the first word of "$CC", so it can be a program name with args.
7960 set dummy
$CC; ac_word
=$2
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7962 $as_echo_n "checking for $ac_word... " >&6; }
7963 if test "${ac_cv_path_CC+set}" = set; then :
7964 $as_echo_n "(cached) " >&6
7968 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
7971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7975 test -z "$as_dir" && as_dir
=.
7976 for ac_exec_ext
in '' $ac_executable_extensions; do
7977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7978 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
7979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 if test -n "$CC"; then
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7992 $as_echo "$CC" >&6; }
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7995 $as_echo "no" >&6; }
7999 if test "$CC" = ""; then
8000 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8003 CC
="$CC $target_tool_flags"
8005 #-----------------------------------------------------------------------------
8007 # Disable pointer-signedness warnings if the compiler recognises the option
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8010 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8011 save_cflags
="$CFLAGS"
8012 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8014 /* end confdefs.h. */
8024 if ac_fn_c_try_compile
"$LINENO"; then :
8025 use_no_sign_warning
="yes"
8027 use_no_sign_warning
="no"
8029 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8031 $as_echo "$use_no_sign_warning" >&6; }
8032 if test "x-$use_no_sign_warning" = "x-yes" ; then
8033 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8035 CFLAGS
="$save_cflags"
8037 #-----------------------------------------------------------------------------
8039 # Find all the tools we need to compile. This could be cross-compiling
8040 # though! If that is the case we use the GNU form of the target and
8041 # simply add this to the front of the binary name. This is rather simple,
8042 # but it should work under most circumstances.
8044 # The default tools are to use the same as the host, but only if the
8045 # host and target CPU are the same. With GCC this is normally enough.
8049 aros_shared_ld
="$aros_host_ld"
8051 aros_target_mkdep
="$aros_host_mkdep"
8052 aros_target_incl_def
="$aros_host_incl"
8054 aros_kernel_cc
="$CC"
8056 # The default tools executables to be linked to.
8057 if test "$rescomp" != ""; then
8058 if test "$cross_compiling" = "yes" ; then
8059 rescomp
=${target_tool_prefix}${rescomp}
8061 # Extract the first word of "$rescomp", so it can be a program name with args.
8062 set dummy
$rescomp; ac_word
=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
8066 $as_echo_n "(cached) " >&6
8068 case $aros_kernel_rescomp in
8070 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8077 test -z "$as_dir" && as_dir
=.
8078 for ac_exec_ext
in '' $ac_executable_extensions; do
8079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8080 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8091 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8092 if test -n "$aros_kernel_rescomp"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8094 $as_echo "$aros_kernel_rescomp" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8101 if test "$aros_kernel_rescomp" = ""; then
8102 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8106 if test "$crosstools" != "yes"; then
8108 if test "$aros_kernel_ld" = ""; then
8109 if test "$cross_compiling" = "yes" ; then
8110 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8111 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8113 $as_echo_n "checking for $ac_word... " >&6; }
8114 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8115 $as_echo_n "(cached) " >&6
8117 case $aros_kernel_ld in
8119 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8122 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8126 test -z "$as_dir" && as_dir
=.
8127 for ac_exec_ext
in '' $ac_executable_extensions; do
8128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8129 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8141 if test -n "$aros_kernel_ld"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8143 $as_echo "$aros_kernel_ld" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 $as_echo "no" >&6; }
8151 if test "$GCC" = "yes"; then
8152 aros_gcc_ld
=`$CC -print-prog-name=ld`
8153 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8154 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8156 $as_echo_n "checking for $ac_word... " >&6; }
8157 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8158 $as_echo_n "(cached) " >&6
8160 case $aros_kernel_ld in
8162 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8165 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8166 for as_dir
in `dirname $aros_gcc_ld`
8169 test -z "$as_dir" && as_dir
=.
8170 for ac_exec_ext
in '' $ac_executable_extensions; do
8171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8172 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8183 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8184 if test -n "$aros_kernel_ld"; then
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8186 $as_echo "$aros_kernel_ld" >&6; }
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 $as_echo "no" >&6; }
8194 if test "$aros_kernel_ld" = ""; then
8195 # Extract the first word of "ld", so it can be a program name with args.
8196 set dummy ld
; ac_word
=$2
8197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8198 $as_echo_n "checking for $ac_word... " >&6; }
8199 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8200 $as_echo_n "(cached) " >&6
8202 case $aros_kernel_ld in
8204 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8211 test -z "$as_dir" && as_dir
=.
8212 for ac_exec_ext
in '' $ac_executable_extensions; do
8213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8214 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8225 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8226 if test -n "$aros_kernel_ld"; then
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8228 $as_echo "$aros_kernel_ld" >&6; }
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8231 $as_echo "no" >&6; }
8238 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8239 set dummy
$aros_kernel_ld; ac_word
=$2
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8241 $as_echo_n "checking for $ac_word... " >&6; }
8242 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8243 $as_echo_n "(cached) " >&6
8245 case $aros_kernel_ld in
8247 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8254 test -z "$as_dir" && as_dir
=.
8255 for ac_exec_ext
in '' $ac_executable_extensions; do
8256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8257 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8268 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8269 if test -n "$aros_kernel_ld"; then
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8271 $as_echo "$aros_kernel_ld" >&6; }
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8274 $as_echo "no" >&6; }
8280 if test "$aros_kernel_ld" = ""; then
8281 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8284 if test "$target_tool_prefix" != "${target_cpu}-elf-" ; then
8285 target_tool_prefix
=${target_cpu}-elf-
8286 if test "$aros_target_cc" == ""; then
8287 aros_target_cc
="${target_tool_prefix}gcc"
8289 if test "$aros_target_ld" == ""; then
8290 aros_target_ld
="${target_tool_prefix}ld"
8294 if test "$aros_target_as" = ""; then
8295 if test "$cross_compiling" = "yes" ; then
8296 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8297 set dummy
${target_tool_prefix}as
; ac_word
=$2
8298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8299 $as_echo_n "checking for $ac_word... " >&6; }
8300 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8301 $as_echo_n "(cached) " >&6
8303 case $aros_target_as_ln in
8305 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8312 test -z "$as_dir" && as_dir
=.
8313 for ac_exec_ext
in '' $ac_executable_extensions; do
8314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8315 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8326 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8327 if test -n "$aros_target_as_ln"; then
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8329 $as_echo "$aros_target_as_ln" >&6; }
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8332 $as_echo "no" >&6; }
8337 if test "$GCC" = "yes"; then
8338 aros_gcc_as
=`$CC -print-prog-name=as`
8339 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8340 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8342 $as_echo_n "checking for $ac_word... " >&6; }
8343 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8344 $as_echo_n "(cached) " >&6
8346 case $aros_target_as_ln in
8348 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8352 for as_dir
in `dirname $aros_gcc_as`
8355 test -z "$as_dir" && as_dir
=.
8356 for ac_exec_ext
in '' $ac_executable_extensions; do
8357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8358 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8369 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8370 if test -n "$aros_target_as_ln"; then
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8372 $as_echo "$aros_target_as_ln" >&6; }
8374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8375 $as_echo "no" >&6; }
8380 if test "$aros_target_as_ln" = ""; then
8381 # Extract the first word of "as", so it can be a program name with args.
8382 set dummy as
; ac_word
=$2
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8384 $as_echo_n "checking for $ac_word... " >&6; }
8385 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8386 $as_echo_n "(cached) " >&6
8388 case $aros_target_as_ln in
8390 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8393 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir
=.
8398 for ac_exec_ext
in '' $ac_executable_extensions; do
8399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8411 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8412 if test -n "$aros_target_as_ln"; then
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8414 $as_echo "$aros_target_as_ln" >&6; }
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8417 $as_echo "no" >&6; }
8424 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8425 set dummy
$aros_target_as; ac_word
=$2
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8427 $as_echo_n "checking for $ac_word... " >&6; }
8428 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8429 $as_echo_n "(cached) " >&6
8431 case $aros_target_as_ln in
8433 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8436 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8440 test -z "$as_dir" && as_dir
=.
8441 for ac_exec_ext
in '' $ac_executable_extensions; do
8442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8443 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8454 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8455 if test -n "$aros_target_as_ln"; then
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8457 $as_echo "$aros_target_as_ln" >&6; }
8459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8460 $as_echo "no" >&6; }
8466 if test "$aros_target_as_ln" = ""; then
8467 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8470 if test "$aros_target_ar" = ""; then
8471 if test "$cross_compiling" = "yes" ; then
8472 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8473 set dummy
${target_tool_prefix}ar; ac_word
=$2
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8475 $as_echo_n "checking for $ac_word... " >&6; }
8476 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8477 $as_echo_n "(cached) " >&6
8479 case $aros_target_ar_ln in
8481 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8488 test -z "$as_dir" && as_dir
=.
8489 for ac_exec_ext
in '' $ac_executable_extensions; do
8490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8491 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8502 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8503 if test -n "$aros_target_ar_ln"; then
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8505 $as_echo "$aros_target_ar_ln" >&6; }
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8508 $as_echo "no" >&6; }
8513 if test "$GCC" = "yes"; then
8514 aros_gcc_ar
=`$CC -print-prog-name=ar`
8515 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8516 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8518 $as_echo_n "checking for $ac_word... " >&6; }
8519 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8520 $as_echo_n "(cached) " >&6
8522 case $aros_target_ar_ln in
8524 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8528 for as_dir
in `dirname $aros_gcc_ar`
8531 test -z "$as_dir" && as_dir
=.
8532 for ac_exec_ext
in '' $ac_executable_extensions; do
8533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8534 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8545 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8546 if test -n "$aros_target_ar_ln"; then
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8548 $as_echo "$aros_target_ar_ln" >&6; }
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8551 $as_echo "no" >&6; }
8556 if test "$aros_target_ar_ln" = ""; then
8557 # Extract the first word of "ar", so it can be a program name with args.
8558 set dummy
ar; ac_word
=$2
8559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8560 $as_echo_n "checking for $ac_word... " >&6; }
8561 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8562 $as_echo_n "(cached) " >&6
8564 case $aros_target_ar_ln in
8566 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8569 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8573 test -z "$as_dir" && as_dir
=.
8574 for ac_exec_ext
in '' $ac_executable_extensions; do
8575 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8576 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8587 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8588 if test -n "$aros_target_ar_ln"; then
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8590 $as_echo "$aros_target_ar_ln" >&6; }
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8593 $as_echo "no" >&6; }
8600 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8601 set dummy
$aros_target_ar; ac_word
=$2
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8603 $as_echo_n "checking for $ac_word... " >&6; }
8604 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8605 $as_echo_n "(cached) " >&6
8607 case $aros_target_ar_ln in
8609 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8616 test -z "$as_dir" && as_dir
=.
8617 for ac_exec_ext
in '' $ac_executable_extensions; do
8618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8619 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8630 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8631 if test -n "$aros_target_ar_ln"; then
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8633 $as_echo "$aros_target_ar_ln" >&6; }
8635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8636 $as_echo "no" >&6; }
8642 if test "$aros_target_ar_ln" = ""; then
8643 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8646 if test "$aros_target_nm" = ""; then
8647 if test "$cross_compiling" = "yes" ; then
8648 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8649 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8651 $as_echo_n "checking for $ac_word... " >&6; }
8652 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8653 $as_echo_n "(cached) " >&6
8655 case $aros_target_nm_ln in
8657 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8660 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8664 test -z "$as_dir" && as_dir
=.
8665 for ac_exec_ext
in '' $ac_executable_extensions; do
8666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8667 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8678 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8679 if test -n "$aros_target_nm_ln"; then
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8681 $as_echo "$aros_target_nm_ln" >&6; }
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8684 $as_echo "no" >&6; }
8689 if test "$GCC" = "yes"; then
8690 aros_gcc_nm
=`$CC -print-prog-name=nm`
8691 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8692 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8694 $as_echo_n "checking for $ac_word... " >&6; }
8695 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8696 $as_echo_n "(cached) " >&6
8698 case $aros_target_nm_ln in
8700 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8703 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8704 for as_dir
in `dirname $aros_gcc_nm`
8707 test -z "$as_dir" && as_dir
=.
8708 for ac_exec_ext
in '' $ac_executable_extensions; do
8709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8710 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8721 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8722 if test -n "$aros_target_nm_ln"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8724 $as_echo "$aros_target_nm_ln" >&6; }
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8727 $as_echo "no" >&6; }
8732 if test "$aros_target_nm_ln" = ""; then
8733 # Extract the first word of "nm", so it can be a program name with args.
8734 set dummy nm
; ac_word
=$2
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8736 $as_echo_n "checking for $ac_word... " >&6; }
8737 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8738 $as_echo_n "(cached) " >&6
8740 case $aros_target_nm_ln in
8742 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8745 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8749 test -z "$as_dir" && as_dir
=.
8750 for ac_exec_ext
in '' $ac_executable_extensions; do
8751 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8752 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8763 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8764 if test -n "$aros_target_nm_ln"; then
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8766 $as_echo "$aros_target_nm_ln" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8769 $as_echo "no" >&6; }
8776 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8777 set dummy
$aros_target_nm; ac_word
=$2
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8779 $as_echo_n "checking for $ac_word... " >&6; }
8780 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8781 $as_echo_n "(cached) " >&6
8783 case $aros_target_nm_ln in
8785 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8792 test -z "$as_dir" && as_dir
=.
8793 for ac_exec_ext
in '' $ac_executable_extensions; do
8794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8795 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8806 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8807 if test -n "$aros_target_nm_ln"; then
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8809 $as_echo "$aros_target_nm_ln" >&6; }
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8812 $as_echo "no" >&6; }
8818 if test "$aros_target_nm_ln" = ""; then
8819 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8822 if test "$aros_target_objcopy" = ""; then
8823 if test "$cross_compiling" = "yes" ; then
8824 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8825 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8827 $as_echo_n "checking for $ac_word... " >&6; }
8828 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8831 case $aros_target_objcopy_ln in
8833 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8840 test -z "$as_dir" && as_dir
=.
8841 for ac_exec_ext
in '' $ac_executable_extensions; do
8842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8843 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8854 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8855 if test -n "$aros_target_objcopy_ln"; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8857 $as_echo "$aros_target_objcopy_ln" >&6; }
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860 $as_echo "no" >&6; }
8865 if test "$GCC" = "yes"; then
8866 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8867 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8868 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8870 $as_echo_n "checking for $ac_word... " >&6; }
8871 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8872 $as_echo_n "(cached) " >&6
8874 case $aros_target_objcopy_ln in
8876 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8880 for as_dir
in `dirname $aros_gcc_objcopy`
8883 test -z "$as_dir" && as_dir
=.
8884 for ac_exec_ext
in '' $ac_executable_extensions; do
8885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8886 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8897 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8898 if test -n "$aros_target_objcopy_ln"; then
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8900 $as_echo "$aros_target_objcopy_ln" >&6; }
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8903 $as_echo "no" >&6; }
8908 if test "$aros_target_objcopy_ln" = ""; then
8909 # Extract the first word of "objcopy", so it can be a program name with args.
8910 set dummy objcopy
; ac_word
=$2
8911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8912 $as_echo_n "checking for $ac_word... " >&6; }
8913 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8914 $as_echo_n "(cached) " >&6
8916 case $aros_target_objcopy_ln in
8918 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8925 test -z "$as_dir" && as_dir
=.
8926 for ac_exec_ext
in '' $ac_executable_extensions; do
8927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8928 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8939 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8940 if test -n "$aros_target_objcopy_ln"; then
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8942 $as_echo "$aros_target_objcopy_ln" >&6; }
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8945 $as_echo "no" >&6; }
8952 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8953 set dummy
$aros_target_objcopy; ac_word
=$2
8954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8955 $as_echo_n "checking for $ac_word... " >&6; }
8956 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8957 $as_echo_n "(cached) " >&6
8959 case $aros_target_objcopy_ln in
8961 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8964 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8968 test -z "$as_dir" && as_dir
=.
8969 for ac_exec_ext
in '' $ac_executable_extensions; do
8970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8971 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8982 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8983 if test -n "$aros_target_objcopy_ln"; then
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8985 $as_echo "$aros_target_objcopy_ln" >&6; }
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8994 if test "$aros_target_objcopy_ln" = ""; then
8995 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
8998 if test "$aros_target_objdump" = ""; then
8999 if test "$cross_compiling" = "yes" ; then
9000 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9001 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9003 $as_echo_n "checking for $ac_word... " >&6; }
9004 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9005 $as_echo_n "(cached) " >&6
9007 case $aros_target_objdump_ln in
9009 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9016 test -z "$as_dir" && as_dir
=.
9017 for ac_exec_ext
in '' $ac_executable_extensions; do
9018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9019 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9030 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9031 if test -n "$aros_target_objdump_ln"; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9033 $as_echo "$aros_target_objdump_ln" >&6; }
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9036 $as_echo "no" >&6; }
9041 if test "$GCC" = "yes"; then
9042 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9043 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9044 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9046 $as_echo_n "checking for $ac_word... " >&6; }
9047 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9048 $as_echo_n "(cached) " >&6
9050 case $aros_target_objdump_ln in
9052 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9056 for as_dir
in `dirname $aros_gcc_objdump`
9059 test -z "$as_dir" && as_dir
=.
9060 for ac_exec_ext
in '' $ac_executable_extensions; do
9061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9062 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9073 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9074 if test -n "$aros_target_objdump_ln"; then
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9076 $as_echo "$aros_target_objdump_ln" >&6; }
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9079 $as_echo "no" >&6; }
9084 if test "$aros_target_objdump_ln" = ""; then
9085 # Extract the first word of "objdump", so it can be a program name with args.
9086 set dummy objdump
; ac_word
=$2
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9088 $as_echo_n "checking for $ac_word... " >&6; }
9089 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9090 $as_echo_n "(cached) " >&6
9092 case $aros_target_objdump_ln in
9094 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9101 test -z "$as_dir" && as_dir
=.
9102 for ac_exec_ext
in '' $ac_executable_extensions; do
9103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9104 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9115 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9116 if test -n "$aros_target_objdump_ln"; then
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9118 $as_echo "$aros_target_objdump_ln" >&6; }
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9121 $as_echo "no" >&6; }
9128 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9129 set dummy
$aros_target_objdump; ac_word
=$2
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9131 $as_echo_n "checking for $ac_word... " >&6; }
9132 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9133 $as_echo_n "(cached) " >&6
9135 case $aros_target_objdump_ln in
9137 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9144 test -z "$as_dir" && as_dir
=.
9145 for ac_exec_ext
in '' $ac_executable_extensions; do
9146 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9147 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9158 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9159 if test -n "$aros_target_objdump_ln"; then
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9161 $as_echo "$aros_target_objdump_ln" >&6; }
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9164 $as_echo "no" >&6; }
9170 if test "$aros_target_objdump_ln" = ""; then
9171 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9174 if test "$aros_target_ranlib" = ""; then
9175 if test "$cross_compiling" = "yes" ; then
9176 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9177 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9179 $as_echo_n "checking for $ac_word... " >&6; }
9180 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9181 $as_echo_n "(cached) " >&6
9183 case $aros_target_ranlib_ln in
9185 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9188 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9192 test -z "$as_dir" && as_dir
=.
9193 for ac_exec_ext
in '' $ac_executable_extensions; do
9194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9195 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9206 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9207 if test -n "$aros_target_ranlib_ln"; then
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9209 $as_echo "$aros_target_ranlib_ln" >&6; }
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9212 $as_echo "no" >&6; }
9217 if test "$GCC" = "yes"; then
9218 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9219 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9220 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9222 $as_echo_n "checking for $ac_word... " >&6; }
9223 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9224 $as_echo_n "(cached) " >&6
9226 case $aros_target_ranlib_ln in
9228 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9232 for as_dir
in `dirname $aros_gcc_ranlib`
9235 test -z "$as_dir" && as_dir
=.
9236 for ac_exec_ext
in '' $ac_executable_extensions; do
9237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9238 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9249 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9250 if test -n "$aros_target_ranlib_ln"; then
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9252 $as_echo "$aros_target_ranlib_ln" >&6; }
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9255 $as_echo "no" >&6; }
9260 if test "$aros_target_ranlib_ln" = ""; then
9261 # Extract the first word of "ranlib", so it can be a program name with args.
9262 set dummy ranlib
; ac_word
=$2
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9264 $as_echo_n "checking for $ac_word... " >&6; }
9265 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9266 $as_echo_n "(cached) " >&6
9268 case $aros_target_ranlib_ln in
9270 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9277 test -z "$as_dir" && as_dir
=.
9278 for ac_exec_ext
in '' $ac_executable_extensions; do
9279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9280 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9291 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9292 if test -n "$aros_target_ranlib_ln"; then
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9294 $as_echo "$aros_target_ranlib_ln" >&6; }
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9297 $as_echo "no" >&6; }
9304 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9305 set dummy
$aros_target_ranlib; ac_word
=$2
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9307 $as_echo_n "checking for $ac_word... " >&6; }
9308 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9309 $as_echo_n "(cached) " >&6
9311 case $aros_target_ranlib_ln in
9313 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9320 test -z "$as_dir" && as_dir
=.
9321 for ac_exec_ext
in '' $ac_executable_extensions; do
9322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9323 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9334 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9335 if test -n "$aros_target_ranlib_ln"; then
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9337 $as_echo "$aros_target_ranlib_ln" >&6; }
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9340 $as_echo "no" >&6; }
9346 if test "$aros_target_ranlib_ln" = ""; then
9347 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9350 if test "$aros_target_strip" = ""; then
9351 if test "$cross_compiling" = "yes" ; then
9352 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9353 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9355 $as_echo_n "checking for $ac_word... " >&6; }
9356 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9357 $as_echo_n "(cached) " >&6
9359 case $aros_target_strip_ln in
9361 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9368 test -z "$as_dir" && as_dir
=.
9369 for ac_exec_ext
in '' $ac_executable_extensions; do
9370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9371 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9382 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9383 if test -n "$aros_target_strip_ln"; then
9384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9385 $as_echo "$aros_target_strip_ln" >&6; }
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9388 $as_echo "no" >&6; }
9393 if test "$GCC" = "yes"; then
9394 aros_gcc_strip
=`$CC -print-prog-name=strip`
9395 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9396 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9398 $as_echo_n "checking for $ac_word... " >&6; }
9399 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9400 $as_echo_n "(cached) " >&6
9402 case $aros_target_strip_ln in
9404 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9408 for as_dir
in `dirname $aros_gcc_strip`
9411 test -z "$as_dir" && as_dir
=.
9412 for ac_exec_ext
in '' $ac_executable_extensions; do
9413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9414 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9425 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9426 if test -n "$aros_target_strip_ln"; then
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9428 $as_echo "$aros_target_strip_ln" >&6; }
9430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9431 $as_echo "no" >&6; }
9436 if test "$aros_target_strip_ln" = ""; then
9437 # Extract the first word of "strip", so it can be a program name with args.
9438 set dummy strip
; ac_word
=$2
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9440 $as_echo_n "checking for $ac_word... " >&6; }
9441 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9442 $as_echo_n "(cached) " >&6
9444 case $aros_target_strip_ln in
9446 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9453 test -z "$as_dir" && as_dir
=.
9454 for ac_exec_ext
in '' $ac_executable_extensions; do
9455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9456 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9467 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9468 if test -n "$aros_target_strip_ln"; then
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9470 $as_echo "$aros_target_strip_ln" >&6; }
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9473 $as_echo "no" >&6; }
9480 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9481 set dummy
$aros_target_strip; ac_word
=$2
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9483 $as_echo_n "checking for $ac_word... " >&6; }
9484 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9485 $as_echo_n "(cached) " >&6
9487 case $aros_target_strip_ln in
9489 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9496 test -z "$as_dir" && as_dir
=.
9497 for ac_exec_ext
in '' $ac_executable_extensions; do
9498 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9499 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9500 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9510 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9511 if test -n "$aros_target_strip_ln"; then
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9513 $as_echo "$aros_target_strip_ln" >&6; }
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9516 $as_echo "no" >&6; }
9522 if test "$aros_target_strip_ln" = ""; then
9523 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9525 if test "$aros_target_cxx" != ""; then
9526 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9527 set dummy
$aros_target_cxx; ac_word
=$2
9528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9529 $as_echo_n "checking for $ac_word... " >&6; }
9530 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
9531 $as_echo_n "(cached) " >&6
9533 case $aros_target_cxx in
9535 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
9538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9542 test -z "$as_dir" && as_dir
=.
9543 for ac_exec_ext
in '' $ac_executable_extensions; do
9544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9545 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
9546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9556 aros_target_cxx
=$ac_cv_path_aros_target_cxx
9557 if test -n "$aros_target_cxx"; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
9559 $as_echo "$aros_target_cxx" >&6; }
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9562 $as_echo "no" >&6; }
9566 if test "$aros_target_cxx" = ""; then
9567 as_fn_error $?
"c++ is required to build AROS. Please install and run configure again." "$LINENO" 5
9574 orig_target_cc
=$aros_kernel_cc
9575 orig_target_ld
=$aros_kernel_ld
9577 if test "$aros_target_cc" != ""; then
9578 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
9579 set dummy
$aros_target_cc; ac_word
=$2
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9581 $as_echo_n "checking for $ac_word... " >&6; }
9582 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
9583 $as_echo_n "(cached) " >&6
9585 case $aros_target_cc in
9587 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
9590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9594 test -z "$as_dir" && as_dir
=.
9595 for ac_exec_ext
in '' $ac_executable_extensions; do
9596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9597 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
9598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9608 aros_target_cc
=$ac_cv_path_aros_target_cc
9609 if test -n "$aros_target_cc"; then
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
9611 $as_echo "$aros_target_cc" >&6; }
9613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9614 $as_echo "no" >&6; }
9618 if test "$aros_target_cc" = ""; then
9619 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
9621 orig_target_cc
=$aros_target_cc
9623 if test "$aros_target_ld" != ""; then
9624 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
9625 set dummy
$aros_target_ld; ac_word
=$2
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9627 $as_echo_n "checking for $ac_word... " >&6; }
9628 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
9629 $as_echo_n "(cached) " >&6
9631 case $aros_target_ld in
9633 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
9636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9640 test -z "$as_dir" && as_dir
=.
9641 for ac_exec_ext
in '' $ac_executable_extensions; do
9642 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9643 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
9644 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9654 aros_target_ld
=$ac_cv_path_aros_target_ld
9655 if test -n "$aros_target_ld"; then
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
9657 $as_echo "$aros_target_ld" >&6; }
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9660 $as_echo "no" >&6; }
9664 if test "$aros_target_ld" = ""; then
9665 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
9667 orig_target_ld
=$aros_target_ld
9670 # Build crosstools if we have no C++ - temporary thing
9671 if test "$aros_target_cxx" = ""; then
9672 crosstools_target
=tools-crosstools
9675 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9676 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9677 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9678 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9679 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9680 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9681 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9683 # aros_cc_pre is a variable that is added to the front of the compiler name
9684 # in the generated aros-gcc shell script. We need this to enable the cache
9685 # to work across cleaned builds. Also, support DISTCC using the correct
9686 # environment variable.
9689 if test "x${DISTCC}" != "x" ; then
9690 if test "x${CCACHE}" != "x" ; then
9691 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9693 aros_cc_pre
="${DISTCC} "
9696 if test "x${CCACHE}" != "x" ; then
9697 aros_cc_pre
="${CCACHE} "
9701 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9703 aros_target_nostdinc_cflags
=-nostdinc
9705 aros_target_nostartup_ldflags
=-nostartfiles
9707 aros_target_nix_ldflags
=-nix
9709 aros_target_detach_ldflags
=-detach
9711 aros_target_nostdlib_ldflags
=-nostdlib
9715 if test "$GCC" = "yes"; then
9716 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9718 aros_target_cc
="${prefix}-gcc"
9719 aros_target_as
="${prefix}-as"
9720 aros_target_ld
="${prefix}-ld"
9721 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9722 aros_target_objcopy
=${prefix}-objcopy
9723 aros_target_objdump
=${prefix}-objdump
9724 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9725 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9726 aros_kernel_nm
="${prefix}-nm"
9727 aros_target_strip
=${prefix}-strip
9728 aros_kernel_ar
="${prefix}-ar"
9730 # Find the system include path. We can suggest that an alternative is
9731 # used if we don't get it correct. The default is to use /usr/include.
9732 # Which is set in the aros_target_incl_def variable.
9734 # Check whether --enable-includes was given.
9735 if test "${enable_includes+set}" = set; then :
9736 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9738 aros_target_incl
=$aros_target_incl_def
9742 if test "$aros_kernel_includes" = ""; then
9743 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9744 # FIXME: for cross-compiling this should point to another location
9745 aros_kernel_includes
="-isystem $aros_target_incl"
9749 if test "$aros_kernel_includes" != "" ; then
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
9751 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
9752 if test "$aros_kernel_cc_includes" = "" ; then
9753 # Try to guess where the directory is.
9754 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
9755 if test -d $aros_kernel_cc_includes; then
9756 # Check if there is also an include-fixed directory and add it
9757 # to kernel compiler's include path as it may contain some of
9758 # the headers we need.
9759 if test -d "$aros_kernel_cc_includes"-fixed; then
9760 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
9763 # The directory doesn't exist, we need to do some more work.
9764 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
9766 # These are the headers we're looking for.
9767 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9768 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9772 for h
in $headers; do
9773 # Which other headers are needed by each of the above?
9774 deps
=$
(echo "#include <$h>" | \
9775 $aros_kernel_cc -E -M - 2>/dev
/null | \
9776 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9778 # Copy all the needed headers to a directory beneath gendir.
9781 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
9782 sed -n "s,^.*/include\(/.*\),\1,p")
9783 ! test -d $dir && mkdir
-p $dir
9784 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
9790 $as_echo "$aros_kernel_cc_includes" >&6; }
9791 # Adding -nostdinc to kernel includes as they are always used together.
9792 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9796 $as_echo_n "checking for the target compiler's include path... " >&6; }
9797 if test "$aros_target_cc_includes" = "" ; then
9798 #try to guess where the directory is
9799 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9800 if ! test -d $aros_target_cc_includes; then
9801 #the directory doesn't exist, we need to do some more work
9802 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9804 #these are the headers we're looling for
9805 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9806 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9810 for h
in $headers; do
9811 #which other headers each of the above headers needs?
9812 deps
=$
(echo "#include <$h>" | \
9813 $orig_target_cc -E -M - 2>/dev
/null | \
9814 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9816 #copy all the needed headers to a directory beneath gendir
9819 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9820 sed -n "s,^.*/include\(/.*\),\1,p")
9821 ! test -d $dir && mkdir
-p $dir
9822 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9828 $as_echo "$aros_target_cc_includes" >&6; }
9831 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9832 # On GCC >= 4.0 -iquote should be used
9836 save_cflags
="$CFLAGS"
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9839 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9841 /* end confdefs.h. */
9851 if ac_fn_c_try_compile
"$LINENO"; then :
9856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9858 $as_echo "$has_iquote" >&6; }
9859 if test "x-$has_iquote" = "x-yes" ; then
9860 host_cflags_iquote
=-iquote
9861 host_cflags_iquote_end
=
9863 host_cflags_iquote
=-I
9864 host_cflags_iquote_end
=-I-
9866 kernel_cflags_iquote
=$host_cflags_iquote
9867 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9868 if test "x-$cross_compiling" = "x-yes"; then
9869 CC
="$aros_kernel_cc"
9870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9871 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9873 /* end confdefs.h. */
9883 if ac_fn_c_try_compile
"$LINENO"; then :
9884 use_no_stack_protector
="yes"
9886 use_no_stack_protector
="no"
9888 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9890 $as_echo "$use_no_stack_protector" >&6; }
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9892 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9894 /* end confdefs.h. */
9904 if ac_fn_c_try_compile
"$LINENO"; then :
9909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9911 $as_echo "$has_iquote" >&6; }
9912 if test "x-$has_iquote" = "x-yes" ; then
9913 kernel_cflags_iquote
=-iquote
9914 kernel_cflags_iquote_end
=
9916 kernel_cflags_iquote
=-I
9917 kernel_cflags_iquote_end
=-I-
9920 aros_cflags_iquote
=$kernel_cflags_iquote
9921 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9922 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9923 CC
="$orig_target_cc"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9925 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9937 if ac_fn_c_try_compile
"$LINENO"; then :
9942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9944 $as_echo "$has_iquote" >&6; }
9945 if test "x-$has_iquote" = "x-yes" ; then
9946 aros_cflags_iquote
=-iquote
9947 aros_cflags_iquote_end
=
9949 aros_cflags_iquote
=-I
9950 aros_cflags_iquote_end
=-I-
9953 if test "x-$use_no_stack_protector" = "x-yes" ; then
9954 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9957 #-----------------------------------------------------------------------------
9959 # Check if we can explicitly choose older version of symbol hashing
9961 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9962 CC
="$aros_kernel_cc"
9963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9964 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9966 /* end confdefs.h. */
9976 if ac_fn_c_try_link
"$LINENO"; then :
9977 use_hash_style
="yes"
9981 rm -f core conftest.err conftest.
$ac_objext \
9982 conftest
$ac_exeext conftest.
$ac_ext
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9984 $as_echo "$use_hash_style" >&6; }
9985 if test "x-$use_hash_style" = "x-yes" ; then
9986 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9989 CFLAGS
="$save_cflags"
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
10000 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
10002 # Check whether --with-resolution was given.
10003 if test "${with_resolution+set}" = set; then :
10004 withval
=$with_resolution; resolution
=$withval
10009 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10010 if test "$resolution" = "yes" ; then
10013 if test "$resolution" = "no" ; then
10016 if test "$resolution" != "none" ; then
10017 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10018 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10019 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10022 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10023 aros_cv_default_wbwidth
=$aros_default_wbwidth
10024 aros_cv_default_wbheight
=$aros_default_wbheight
10025 aros_cv_default_wbdepth
=$aros_default_wbdepth
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
10028 $as_echo_n "checking if serial debug is enabled... " >&6; }
10030 # Check whether --with-serial-debug was given.
10031 if test "${with_serial_debug+set}" = set; then :
10032 withval
=$with_serial_debug; serial_debug
=$withval
10037 if test "$aros_serial_debug" = 0 ; then
10038 serial_debug_forced
=""
10039 if test "$serial_debug" = "yes" ; then
10042 if test "$serial_debug" = "no" ; then
10043 serial_debug
="none"
10046 serial_debug_forced
="(forced)"
10047 serial_debug
=$aros_serial_debug
10049 if test "$serial_debug" != "none" ; then
10050 aros_serial_debug
=$serial_debug
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
10052 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10055 $as_echo "no" >&6; }
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
10059 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10060 # Check whether --enable-palm_debug_hack was given.
10061 if test "${enable_palm_debug_hack+set}" = set; then :
10062 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10064 palm_debug_hack
="no"
10067 if test "$palm_debug_hack" = "yes" ; then
10068 aros_palm_debug_hack
="1"
10070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
10071 $as_echo "$palm_debug_hack" >&6; }
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
10075 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10076 # Check whether --enable-nesting_supervisor was given.
10077 if test "${enable_nesting_supervisor+set}" = set; then :
10078 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10080 nesting_supervisor
="no"
10083 if test "$nesting_supervisor" = "yes" ; then
10084 aros_nesting_supervisor
="1"
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
10087 $as_echo "$nesting_supervisor" >&6; }
10089 if test "$aros_enable_mmu" = "" ; then
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
10091 $as_echo_n "checking if MMU support is enabled... " >&6; }
10092 # Check whether --enable-mmu was given.
10093 if test "${enable_mmu+set}" = set; then :
10094 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
10096 aros_enable_mmu
="yes"
10099 if test "$aros_enable_mmu" = "" ; then
10100 aros_enable_mmu
="yes"
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
10103 $as_echo "$aros_enable_mmu" >&6; }
10105 if test "$aros_enable_mmu" = "no" ; then
10106 aros_enable_mmu
="0"
10108 aros_enable_mmu
="1"
10112 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10114 if test "x-$need_dlopen" != "x-no" ; then
10115 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10116 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10122 if test "x-$have_dl" = "x-no" ; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10124 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10125 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10126 $as_echo_n "(cached) " >&6
10128 ac_check_lib_save_LIBS
=$LIBS
10130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10131 /* end confdefs.h. */
10133 /* Override any GCC internal prototype to avoid an error.
10134 Use char because int might match the return type of a GCC
10135 builtin and then its argument prototype would still apply. */
10148 if ac_fn_c_try_link
"$LINENO"; then :
10149 ac_cv_lib_dl_dlopen
=yes
10151 ac_cv_lib_dl_dlopen
=no
10153 rm -f core conftest.err conftest.
$ac_objext \
10154 conftest
$ac_exeext conftest.
$ac_ext
10155 LIBS
=$ac_check_lib_save_LIBS
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10158 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10159 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10161 aros_host_ldflags
="$aros_host_ldflags -ldl"
10167 if test "x-$have_dl" = "x-no" ; then
10168 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
10173 # Check whether --enable-x11_hidd was given.
10174 if test "${enable_x11_hidd+set}" = set; then :
10175 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10177 x11_hidd
="$need_x11"
10180 case "x-$x11_hidd" in
10181 x-yes|x-no|x-auto
) ;;
10182 *) x11_hidd
="$need_x11" ;;
10187 if test "x-$x11_hidd" != "x-no" ; then
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10190 $as_echo_n "checking for X... " >&6; }
10193 # Check whether --with-x was given.
10194 if test "${with_x+set}" = set; then :
10198 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10199 if test "x$with_x" = xno
; then
10200 # The user explicitly disabled X.
10203 case $x_includes,$x_libraries in #(
10204 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
10205 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
10206 $as_echo_n "(cached) " >&6
10208 # One or both of the vars are not set, and there is no cached value.
10209 ac_x_includes
=no ac_x_libraries
=no
10210 rm -f -r conftest.dir
10211 if mkdir conftest.dir
; then
10213 cat >Imakefile
<<'_ACEOF'
10215 @echo incroot='${INCROOT}'
10217 @echo usrlibdir='${USRLIBDIR}'
10219 @echo libdir='${LIBDIR}'
10221 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10222 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10223 for ac_var
in incroot usrlibdir libdir
; do
10224 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10226 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10227 for ac_extension
in a so sl dylib la dll
; do
10228 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10229 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10230 ac_im_usrlibdir
=$ac_im_libdir; break
10233 # Screen out bogus values from the imake configuration. They are
10234 # bogus both because they are the default anyway, and because
10235 # using them would break gcc on systems where it needs fixed includes.
10236 case $ac_im_incroot in
10237 /usr
/include
) ac_x_includes
= ;;
10238 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10240 case $ac_im_usrlibdir in
10241 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10242 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10246 rm -f -r conftest.dir
10249 # Standard set of common directories for X headers.
10250 # Check X11 before X11Rn because it is often a symlink to the current release.
10264 /usr/local/X11/include
10265 /usr/local/X11R7/include
10266 /usr/local/X11R6/include
10267 /usr/local/X11R5/include
10268 /usr/local/X11R4/include
10270 /usr/local/include/X11
10271 /usr/local/include/X11R7
10272 /usr/local/include/X11R6
10273 /usr/local/include/X11R5
10274 /usr/local/include/X11R4
10278 /usr/XFree86/include/X11
10282 /usr/unsupported/include
10283 /usr/athena/include
10284 /usr/local/x11r5/include
10285 /usr/lpp/Xamples/include
10287 /usr/openwin/include
10288 /usr/openwin/share/include'
10290 if test "$ac_x_includes" = no
; then
10291 # Guess where to find include files, by looking for Xlib.h.
10292 # First, try using that file with no special directory specified.
10293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10294 /* end confdefs.h. */
10295 #include <X11/Xlib.h>
10297 if ac_fn_c_try_cpp
"$LINENO"; then :
10298 # We can compile using X headers with no special include directory.
10301 for ac_dir
in $ac_x_header_dirs; do
10302 if test -r "$ac_dir/X11/Xlib.h"; then
10303 ac_x_includes
=$ac_dir
10308 rm -f conftest.err conftest.i conftest.
$ac_ext
10309 fi # $ac_x_includes = no
10311 if test "$ac_x_libraries" = no
; then
10312 # Check for the libraries.
10313 # See if we find them without any special options.
10314 # Don't add to $LIBS permanently.
10317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10318 /* end confdefs.h. */
10319 #include <X11/Xlib.h>
10328 if ac_fn_c_try_link
"$LINENO"; then :
10330 # We can link X programs with no special library path.
10334 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10336 # Don't even attempt the hair of trying to link an X program!
10337 for ac_extension
in a so sl dylib la dll
; do
10338 if test -r "$ac_dir/libX11.$ac_extension"; then
10339 ac_x_libraries
=$ac_dir
10345 rm -f core conftest.err conftest.
$ac_objext \
10346 conftest
$ac_exeext conftest.
$ac_ext
10347 fi # $ac_x_libraries = no
10349 case $ac_x_includes,$ac_x_libraries in #(
10350 no
,* |
*,no |
*\'*)
10351 # Didn't find X, or a directory has "'" in its name.
10352 ac_cv_have_x
="have_x=no";; #(
10354 # Record where we found X for the cache.
10355 ac_cv_have_x
="have_x=yes\
10356 ac_x_includes='$ac_x_includes'\
10357 ac_x_libraries='$ac_x_libraries'"
10363 eval "$ac_cv_have_x"
10366 if test "$have_x" != yes; then
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10368 $as_echo "$have_x" >&6; }
10371 # If each of the values was on the command line, it overrides each guess.
10372 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10373 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10374 # Update the cache value to reflect the command line values.
10375 ac_cv_have_x
="have_x=yes\
10376 ac_x_includes='$x_includes'\
10377 ac_x_libraries='$x_libraries'"
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10379 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10384 for path
in $x_libraries
10386 x_cflags
="$x_cflags -L$path"
10389 for path
in $x_includes
10391 x_cflags
="$x_cflags -I$path"
10394 if test "x-$no_x" = "x-yes" ; then
10396 if test "x-$x11_hidd" != "x-auto" ; then
10397 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10401 x11_hidd_target
=kernel-x11gfx-kobj
10404 # Check whether --enable-x11_shm was given.
10405 if test "${enable_x11_shm+set}" = set; then :
10406 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10408 x11_hidd_shm
="auto"
10411 case "x-$x11_hidd_shm" in
10412 x-yes|x-no|x-auto
) ;;
10413 *) x11_hidd_shm
="auto" ;;
10418 if test "x-$x11_hidd_shm" != "x-no" ; then
10420 for ac_header
in sys
/ipc.h
10422 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10423 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
10424 cat >>confdefs.h
<<_ACEOF
10425 #define HAVE_SYS_IPC_H 1
10432 for ac_header
in sys
/shm.h
10434 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10435 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
10436 cat >>confdefs.h
<<_ACEOF
10437 #define HAVE_SYS_SHM_H 1
10445 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10447 save_cflags
="$CFLAGS"
10448 CFLAGS
="$CFLAGS $x_cflags"
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10450 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10451 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
10452 $as_echo_n "(cached) " >&6
10454 ac_check_lib_save_LIBS
=$LIBS
10455 LIBS
="-lXext $LIBS"
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10465 char XShmQueryExtension ();
10469 return XShmQueryExtension ();
10474 if ac_fn_c_try_link
"$LINENO"; then :
10475 ac_cv_lib_Xext_XShmQueryExtension
=yes
10477 ac_cv_lib_Xext_XShmQueryExtension
=no
10479 rm -f core conftest.err conftest.
$ac_objext \
10480 conftest
$ac_exeext conftest.
$ac_ext
10481 LIBS
=$ac_check_lib_save_LIBS
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10484 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10485 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
10489 CFLAGS
="$save_cflags"
10493 if test "x-$have_xshm" = "x-yes" ; then
10494 DO_XSHM_SUPPORT
="1"
10495 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10496 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10498 DO_XSHM_SUPPORT
="0"
10502 # Check whether --enable-x11_vidmode was given.
10503 if test "${enable_x11_vidmode+set}" = set; then :
10504 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10506 x11_hidd_vidmode
="auto"
10509 case "x-$x11_hidd_vidmode" in
10510 x-yes|x-no|x-auto
) ;;
10511 *) x11_hidd_vidmode
="auto" ;;
10516 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10518 save_cflags
="$CFLAGS"
10519 CFLAGS
="$CFLAGS $x_cflags"
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10521 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
10522 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
10523 $as_echo_n "(cached) " >&6
10525 ac_check_lib_save_LIBS
=$LIBS
10526 LIBS
="-lXxf86vm $LIBS"
10527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10528 /* end confdefs.h. */
10530 /* Override any GCC internal prototype to avoid an error.
10531 Use char because int might match the return type of a GCC
10532 builtin and then its argument prototype would still apply. */
10536 char XF86VidModeQueryExtension ();
10540 return XF86VidModeQueryExtension ();
10545 if ac_fn_c_try_link
"$LINENO"; then :
10546 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10548 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10550 rm -f core conftest.err conftest.
$ac_objext \
10551 conftest
$ac_exeext conftest.
$ac_ext
10552 LIBS
=$ac_check_lib_save_LIBS
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10555 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10556 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
10560 CFLAGS
="$save_cflags"
10563 if test "x-$have_vidmode" = "x-yes" ; then
10564 DO_VIDMODE_SUPPORT
="1"
10565 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10566 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
10568 DO_VIDMODE_SUPPORT
="0"
10572 aros_host_x11_includes
=$x_includes
10573 aros_host_x11_libdirs
=$x_libraries
10577 # Check whether --enable-sdl_hidd was given.
10578 if test "${enable_sdl_hidd+set}" = set; then :
10579 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10584 case "x-$sdl_hidd" in
10585 x-yes|x-no|x-auto
) ;;
10586 *) sdl_hidd
="auto" ;;
10589 if test "x-$sdl_hidd" != "x-no" ; then
10592 # Check whether --with-sdl-prefix was given.
10593 if test "${with_sdl_prefix+set}" = set; then :
10594 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10600 # Check whether --with-sdl-exec-prefix was given.
10601 if test "${with_sdl_exec_prefix+set}" = set; then :
10602 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10607 # Check whether --enable-sdltest was given.
10608 if test "${enable_sdltest+set}" = set; then :
10609 enableval
=$enable_sdltest;
10615 if test x
$sdl_exec_prefix != x
; then
10616 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10617 if test x
${SDL_CONFIG+set} != xset
; then
10618 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10621 if test x
$sdl_prefix != x
; then
10622 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10623 if test x
${SDL_CONFIG+set} != xset
; then
10624 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10628 if test "x$prefix" != xNONE
; then
10629 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10631 # Extract the first word of "sdl-config", so it can be a program name with args.
10632 set dummy sdl-config
; ac_word
=$2
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10634 $as_echo_n "checking for $ac_word... " >&6; }
10635 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
10636 $as_echo_n "(cached) " >&6
10638 case $SDL_CONFIG in
10640 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10644 for as_dir
in $PATH
10647 test -z "$as_dir" && as_dir
=.
10648 for ac_exec_ext
in '' $ac_executable_extensions; do
10649 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10650 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10658 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10662 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10663 if test -n "$SDL_CONFIG"; then
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
10665 $as_echo "$SDL_CONFIG" >&6; }
10667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10668 $as_echo "no" >&6; }
10672 min_sdl_version
=1.2.10
10673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10674 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10676 if test "$SDL_CONFIG" = "no" ; then
10679 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10680 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10682 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10683 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10684 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10685 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10686 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10688 if test "x$enable_sdltest" = "xyes" ; then
10689 ac_save_CFLAGS
="$CFLAGS"
10690 ac_save_CXXFLAGS
="$CXXFLAGS"
10691 ac_save_LIBS
="$LIBS"
10692 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10693 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10694 LIBS
="$LIBS $SDL_LIBS"
10696 if test "$cross_compiling" = yes; then :
10697 echo $ac_n "cross compiling; assumed OK... $ac_c"
10699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10700 /* end confdefs.h. */
10703 #include <stdlib.h>
10704 #include <string.h>
10708 my_strdup (char *str)
10714 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10715 strcpy (new_str, str);
10723 int main (int argc, char *argv[])
10725 int major, minor, micro;
10728 /* This hangs on some systems (?)
10729 system ("touch conf.sdltest");
10731 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10733 /* HP/UX 9 (%@#!) writes to sscanf strings */
10734 tmp_version = my_strdup("$min_sdl_version");
10735 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10736 printf("%s, bad version string\n", "$min_sdl_version");
10740 if (($sdl_major_version > major) ||
10741 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10742 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10748 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10749 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10750 printf("*** best to upgrade to the required version.\n");
10751 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10752 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10753 printf("*** config.cache before re-running configure\n");
10760 if ac_fn_c_try_run
"$LINENO"; then :
10765 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10766 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10769 CFLAGS
="$ac_save_CFLAGS"
10770 CXXFLAGS
="$ac_save_CXXFLAGS"
10771 LIBS
="$ac_save_LIBS"
10774 if test "x$no_sdl" = x
; then
10775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10776 $as_echo "yes" >&6; }
10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10780 $as_echo "no" >&6; }
10781 if test "$SDL_CONFIG" = "no" ; then
10782 echo "*** The sdl-config script installed by SDL could not be found"
10783 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10784 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10785 echo "*** full path to sdl-config."
10787 if test -f conf.sdltest
; then
10790 echo "*** Could not run SDL test program, checking why..."
10791 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10792 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10793 LIBS
="$LIBS $SDL_LIBS"
10794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10795 /* end confdefs.h. */
10800 int main(int argc, char *argv[])
10803 #define main K_and_R_C_main
10813 if ac_fn_c_try_link
"$LINENO"; then :
10814 echo "*** The test program compiled, but did not run. This usually means"
10815 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10816 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10817 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10818 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10819 echo "*** is required on your system"
10821 echo "*** If you have an old version installed, it is best to remove it, although"
10822 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10824 echo "*** The test program failed to compile or link. See the file config.log for the"
10825 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10826 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10827 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10829 rm -f core conftest.err conftest.
$ac_objext \
10830 conftest
$ac_exeext conftest.
$ac_ext
10831 CFLAGS
="$ac_save_CFLAGS"
10832 CXXFLAGS
="$ac_save_CXXFLAGS"
10833 LIBS
="$ac_save_LIBS"
10845 if test "x-$have_sdl" != "x-yes" ; then
10847 if test "x-$sdl_hidd" != "x-auto" ; then
10848 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10852 sdl_hidd_target
=kernel-hidd-sdl
10853 aros_host_sdl_cflags
=SDL_CFLAGS
10854 aros_host_sdl_libs
=SDL_LIBS
10858 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10859 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
10864 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
10865 oss_library_target
=workbench-libs-oss-unix
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10871 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10872 # Check whether --enable-dbus was given.
10873 if test "${enable_dbus+set}" = set; then :
10874 enableval
=$enable_dbus; dbus
="yes"
10879 if test "$dbus" = "yes" ; then
10881 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10882 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10883 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10884 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10889 $as_echo "$dbus" >&6; }
11000 # Native version related
11003 # Palm native version related
11006 # Unix/Hosted version related
11012 # Apple iOS related
11037 # Collect-aros stuff: "-ius" to ignore undefined symbols
11040 # C compiler related
11043 case "$aros_flavour" in
11044 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11045 aros_flavour
="emulation" ;;
11046 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11047 aros_flavour
="emulation" ;;
11048 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11049 aros_flavour
="standalone";;
11050 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11051 aros_flavour
="standalone";;
11052 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11053 aros_flavour
="native" ;;
11054 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11055 aros_flavour
="native" ;;
11056 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11057 aros_flavour
="linklib" ;;
11058 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11059 aros_flavour
="palmnative" ;;
11060 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11061 aros_flavour
="mac68knative" ;;
11062 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11063 aros_flavour
="ppcnative" ;;
11066 if test ! -d ${aros_inc_dir} ; then
11067 ${MKDIR} ${aros_inc_dir}
11069 if test ! -d ${aros_geninc_dir} ; then
11070 ${MKDIR} ${aros_geninc_dir}
11072 if test ! -d ${aros_hostcfg_dir} ; then
11073 ${MKDIR} ${aros_hostcfg_dir}
11075 if test ! -d ${aros_targetcfg_dir} ; then
11076 ${MKDIR} ${aros_targetcfg_dir}
11078 if test ! -d ${aros_tools_dir} ; then
11079 ${MKDIR} ${aros_tools_dir}
11081 if test ! -d ${aros_scripts_dir} ; then
11082 ${MKDIR} ${aros_scripts_dir}
11085 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11088 ac_config_commands
="$ac_config_commands compiler_executable"
11090 ac_config_commands
="$ac_config_commands genmf_executable"
11093 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_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"
11096 cat >confcache
<<\_ACEOF
11097 # This file is a shell script that caches the results of configure
11098 # tests run on this system so they can be shared between configure
11099 # scripts and configure runs, see configure's option --config-cache.
11100 # It is not useful on other systems. If it contains results you don't
11101 # want to keep, you may remove or edit it.
11103 # config.status only pays attention to the cache file if you give it
11104 # the --recheck option to rerun configure.
11106 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11107 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11108 # following values.
11112 # The following way of writing the cache mishandles newlines in values,
11113 # but we know of no workaround that is simple, portable, and efficient.
11114 # So, we kill variables containing newlines.
11115 # Ultrix sh set writes to stderr and can't be redirected directly,
11116 # and sets the high bit in the cache file unless we assign to the vars.
11118 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11119 eval ac_val
=\$
$ac_var
11123 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11124 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11127 _ | IFS | as_nl
) ;; #(
11128 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11129 *) { eval $ac_var=; unset $ac_var;} ;;
11135 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11136 *${as_nl}ac_space
=\
*)
11137 # `set' does not quote correctly, so add quotes: double-quote
11138 # substitution turns \\\\ into \\, and sed turns \\ into \.
11141 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11144 # `set' quotes correctly as required by POSIX, so do not add quotes.
11145 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11154 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11156 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11158 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11159 if test -w "$cache_file"; then
11160 test "x$cache_file" != "x/dev/null" &&
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11162 $as_echo "$as_me: updating cache $cache_file" >&6;}
11163 cat confcache
>$cache_file
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11166 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11171 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11172 # Let make expand exec_prefix.
11173 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11175 DEFS
=-DHAVE_CONFIG_H
11180 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11181 # 1. Remove the extension, and $U if already installed.
11182 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11183 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11184 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11185 # will be set to the directory where LIBOBJS objects are built.
11186 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11187 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11189 LIBOBJS
=$ac_libobjs
11191 LTLIBOBJS
=$ac_ltlibobjs
11195 : ${CONFIG_STATUS=./config.status}
11197 ac_clean_files_save
=$ac_clean_files
11198 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11199 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11200 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11202 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11204 # Generated by $as_me.
11205 # Run this file to recreate the current configuration.
11206 # Compiler output produced by configure, useful for debugging
11207 # configure, is in config.log if it exists.
11210 ac_cs_recheck=false
11213 SHELL=\${CONFIG_SHELL-$SHELL}
11216 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11217 ## -------------------- ##
11218 ## M4sh Initialization. ##
11219 ## -------------------- ##
11221 # Be more Bourne compatible
11222 DUALCASE
=1; export DUALCASE
# for MKS sh
11223 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11226 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11227 # is contrary to our usage. Disable this feature.
11228 alias -g '${1+"$@"}'='"$@"'
11229 setopt NO_GLOB_SUBST
11231 case `(set -o) 2>/dev/null` in #(
11243 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11244 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11245 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11246 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11247 # Prefer a ksh shell builtin over an external printf program on Solaris,
11248 # but without wasting forks for bash or zsh.
11249 if test -z "$BASH_VERSION$ZSH_VERSION" \
11250 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11251 as_echo='print
-r --'
11252 as_echo_n='print
-rn --'
11253 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11254 as_echo='printf %s
\n'
11255 as_echo_n='printf %s
'
11257 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11258 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11259 as_echo_n='/usr
/ucb
/echo -n'
11261 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11262 as_echo_n_body='eval
11266 expr "X$arg" : "X\\(.*\\)$as_nl";
11267 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11269 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11271 export as_echo_n_body
11272 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11274 export as_echo_body
11275 as_echo='sh
-c $as_echo_body as_echo
'
11278 # The user is always right.
11279 if test "${PATH_SEPARATOR+set}" != set; then
11281 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11282 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11289 # We need space, tab and new line, in precisely that order. Quoting is
11290 # there to prevent editors from complaining about space-tab.
11291 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11292 # splitting by setting IFS to empty value.)
11295 # Find who we are. Look in the path if we contain no directory separator.
11297 *[\\/]* ) as_myself=$0 ;;
11298 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11299 for as_dir in $PATH
11302 test -z "$as_dir" && as_dir=.
11303 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11309 # We did not find ourselves, most probably we were run as `sh COMMAND'
11310 # in which case we are not to be found in the path.
11311 if test "x$as_myself" = x
; then
11314 if test ! -f "$as_myself"; then
11315 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11319 # Unset variables that we do not need and which cause bugs (e.g. in
11320 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11321 # suppresses any "Segmentation fault" message there. '((' could
11322 # trigger a bug in pdksh 5.2.14.
11323 for as_var
in BASH_ENV ENV MAIL MAILPATH
11324 do eval test x\
${$as_var+set} = xset \
11325 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11338 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11341 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11342 # ----------------------------------------
11343 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11344 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11345 # script with STATUS, using 1 if that was 0.
11348 as_status
=$1; test $as_status -eq 0 && as_status
=1
11350 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11351 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11353 $as_echo "$as_me: error: $2" >&2
11354 as_fn_exit
$as_status
11358 # as_fn_set_status STATUS
11359 # -----------------------
11360 # Set $? to STATUS, without forking.
11361 as_fn_set_status
()
11364 } # as_fn_set_status
11366 # as_fn_exit STATUS
11367 # -----------------
11368 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11372 as_fn_set_status
$1
11378 # Portably unset VAR.
11381 { eval $1=; unset $1;}
11383 as_unset
=as_fn_unset
11384 # as_fn_append VAR VALUE
11385 # ----------------------
11386 # Append the text in VALUE to the end of the definition contained in VAR. Take
11387 # advantage of any shell optimizations that allow amortized linear growth over
11388 # repeated appends, instead of the typical quadratic growth present in naive
11390 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11391 eval 'as_fn_append ()
11402 # as_fn_arith ARG...
11403 # ------------------
11404 # Perform arithmetic evaluation on the ARGs, and store the result in the
11405 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11406 # must be portable across $(()) and expr.
11407 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11408 eval 'as_fn_arith ()
11415 as_val
=`expr "$@" || test $? -eq 1`
11420 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11421 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11427 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11428 as_basename
=basename
11433 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11439 as_me
=`$as_basename -- "$0" ||
11440 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11441 X"$0" : 'X\(//\)$' \| \
11442 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11444 sed '/^.*\/\([^/][^/]*\)\/*$/{
11458 # Avoid depending upon Character Ranges.
11459 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11460 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11461 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11462 as_cr_digits
='0123456789'
11463 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11465 ECHO_C
= ECHO_N
= ECHO_T
=
11466 case `echo -n x` in #(((((
11468 case `echo 'xy\c'` in
11469 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11471 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11478 rm -f conf$$ conf$$.exe conf$$.
file
11479 if test -d conf$$.dir
; then
11480 rm -f conf$$.dir
/conf$$.
file
11483 mkdir conf$$.dir
2>/dev
/null
11485 if (echo >conf$$.
file) 2>/dev
/null
; then
11486 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11488 # ... but there are two gotchas:
11489 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11490 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11491 # In both cases, we have to default to `cp -p'.
11492 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11494 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11502 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11503 rmdir conf$$.dir
2>/dev
/null
11508 # Create "$as_dir" as a directory, including parents if necessary.
11513 -*) as_dir
=.
/$as_dir;;
11515 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11519 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11520 *) as_qdir
=$as_dir;;
11522 as_dirs
="'$as_qdir' $as_dirs"
11523 as_dir
=`$as_dirname -- "$as_dir" ||
11524 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11525 X"$as_dir" : 'X\(//\)[^/]' \| \
11526 X"$as_dir" : 'X\(//\)$' \| \
11527 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11528 $as_echo X"$as_dir" |
11529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11533 /^X\(\/\/\)[^/].*/{
11546 test -d "$as_dir" && break
11548 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11549 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
11553 if mkdir
-p .
2>/dev
/null
; then
11554 as_mkdir_p
='mkdir -p "$as_dir"'
11556 test -d .
/-p && rmdir .
/-p
11560 if test -x / >/dev
/null
2>&1; then
11561 as_test_x
='test -x'
11563 if ls -dL / >/dev
/null
2>&1; then
11570 if test -d "$1"; then
11576 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11577 ???[sx]*):;;*)false;;esac;fi
11581 as_executable_p
=$as_test_x
11583 # Sed expression to map a string onto a valid CPP name.
11584 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11586 # Sed expression to map a string onto a valid variable name.
11587 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11591 ## ----------------------------------- ##
11592 ## Main body of $CONFIG_STATUS script. ##
11593 ## ----------------------------------- ##
11595 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11597 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11598 # Save the log message, to keep $0 and so on meaningful, and to
11599 # report actual input values of CONFIG_FILES etc. instead of their
11600 # values after options handling.
11602 This file was extended by $as_me, which was
11603 generated by GNU Autoconf 2.67. Invocation command line was
11605 CONFIG_FILES = $CONFIG_FILES
11606 CONFIG_HEADERS = $CONFIG_HEADERS
11607 CONFIG_LINKS = $CONFIG_LINKS
11608 CONFIG_COMMANDS = $CONFIG_COMMANDS
11611 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11616 case $ac_config_files in *"
11617 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11620 case $ac_config_headers in *"
11621 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11626 # Files that config.status was made for.
11627 config_files="$ac_config_files"
11628 config_headers="$ac_config_headers"
11629 config_commands="$ac_config_commands"
11633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11635 \`$as_me' instantiates files and other configuration actions
11636 from templates according to the current configuration. Unless the files
11637 and actions are specified as TAGs, all are instantiated by default.
11639 Usage: $0 [OPTION]... [TAG]...
11641 -h, --help print this help, then exit
11642 -V, --version print version number and configuration settings, then exit
11643 --config print configuration, then exit
11644 -q, --quiet, --silent
11645 do not print progress messages
11646 -d, --debug don't remove temporary files
11647 --recheck update $as_me by reconfiguring in the same conditions
11648 --file=FILE[:TEMPLATE]
11649 instantiate the configuration file FILE
11650 --header=FILE[:TEMPLATE]
11651 instantiate the configuration header FILE
11653 Configuration files:
11656 Configuration headers:
11659 Configuration commands:
11662 Report bugs to the package provider."
11665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11666 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11669 configured by $0, generated by GNU Autoconf 2.67,
11670 with options \\"\$ac_cs_config\\"
11672 Copyright (C) 2010 Free Software Foundation, Inc.
11673 This config.status script is free software; the Free Software Foundation
11674 gives unlimited permission to copy, distribute and modify it."
11678 test -n "\$AWK" || AWK=awk
11681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11682 # The default lists apply if the user does not specify any file.
11688 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11689 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11693 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11705 # Handling of the options.
11706 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11708 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11709 $as_echo "$ac_cs_version"; exit ;;
11710 --config |
--confi |
--conf |
--con |
--co |
--c )
11711 $as_echo "$ac_cs_config"; exit ;;
11712 --debug |
--debu |
--deb |
--de |
--d |
-d )
11714 --file |
--fil |
--fi |
--f )
11717 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11718 '') as_fn_error $?
"missing file argument" ;;
11720 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11721 ac_need_defaults
=false
;;
11722 --header |
--heade |
--head |
--hea )
11725 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11727 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11728 ac_need_defaults
=false
;;
11730 # Conflict between --help and --header
11731 as_fn_error $?
"ambiguous option: \`$1'
11732 Try \`$0 --help' for more information.";;
11733 --help |
--hel |
-h )
11734 $as_echo "$ac_cs_usage"; exit ;;
11735 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11736 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11739 # This is an error.
11740 -*) as_fn_error $?
"unrecognized option: \`$1'
11741 Try \`$0 --help' for more information." ;;
11743 *) as_fn_append ac_config_targets
" $1"
11744 ac_need_defaults
=false
;;
11750 ac_configure_extra_args
=
11752 if $ac_cs_silent; then
11754 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11759 if \$ac_cs_recheck; then
11760 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11762 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11763 CONFIG_SHELL='$SHELL'
11764 export CONFIG_SHELL
11769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11773 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11774 ## Running $as_me. ##
11780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11785 aros_host_exe_suffix=${aros_host_exe_suffix}
11786 aros_tools_dir=${aros_tools_dir}
11787 aros_target_cpu=${aros_target_cpu}
11788 aros_target_arch=${aros_target_arch}
11789 aros_target_suffix=${aros_target_suffix}
11790 aros_target_nm_ln=${aros_target_nm_ln}
11791 aros_target_as_ln=${aros_target_as_ln}
11792 aros_target_ar_ln=${aros_target_ar_ln}
11793 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11794 aros_target_objdump_ln=${aros_target_objdump_ln}
11795 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11796 aros_target_strip_ln=${aros_target_strip_ln}
11799 aros_tools_dir=${aros_tools_dir}
11804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11806 # Handling of arguments.
11807 for ac_config_target
in $ac_config_targets
11809 case $ac_config_target in
11810 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11811 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11812 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11813 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11814 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11815 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11816 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11817 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11818 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11819 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11820 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11821 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11822 "${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" ;;
11823 "${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" ;;
11824 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11825 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11826 "${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" ;;
11828 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
11833 # If the user did not use the arguments to specify the items to instantiate,
11834 # then the envvar interface is used. Set only those that are not.
11835 # We use the long form for the default assignment because of an extremely
11836 # bizarre bug on SunOS 4.1.3.
11837 if $ac_need_defaults; then
11838 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11839 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11840 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11843 # Have a temporary directory for convenience. Make it in the build tree
11844 # simply because there is no reason against having it here, and in addition,
11845 # creating and moving files from /tmp can sometimes cause problems.
11846 # Hook for its removal unless debugging.
11847 # Note that there is a small window in which the directory will not be cleaned:
11848 # after its creation but before its name has been assigned to `$tmp'.
11852 trap 'exit_status=$?
11853 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11855 trap 'as_fn_exit 1' 1 2 13 15
11857 # Create a (secure) tmp directory for tmp files.
11860 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11861 test -n "$tmp" && test -d "$tmp"
11864 tmp
=.
/conf$$
-$RANDOM
11865 (umask 077 && mkdir
"$tmp")
11866 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
11868 # Set up the scripts for CONFIG_FILES section.
11869 # No need to generate them if there are no CONFIG_FILES.
11870 # This happens for instance with `./config.status config.h'.
11871 if test -n "$CONFIG_FILES"; then
11874 ac_cr
=`echo X | tr X '\015'`
11875 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11876 # But we know of no other shell where ac_cr would be empty at this
11877 # point, so we can use a bashism as a fallback.
11878 if test "x$ac_cr" = x
; then
11879 eval ac_cr
=\$
\'\\r
\'
11881 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11882 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11885 ac_cs_awk_cr
=$ac_cr
11888 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11893 echo "cat >conf$$subs.awk <<_ACEOF" &&
11894 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11896 } >conf$$subs.sh ||
11897 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11898 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11900 for ac_last_try in false false false false false :; do
11901 . ./conf$$subs.sh ||
11902 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11904 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11905 if test $ac_delim_n = $ac_delim_num; then
11907 elif $ac_last_try; then
11908 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11910 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11913 rm -f conf$$subs.sh
11915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11916 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11920 s/^/S["/; s
/!.
*/"]=/
11930 s/\(.\{148\}\)..*/\1/
11932 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11937 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11944 s/\(.\{148\}\)..*/\1/
11946 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11950 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11955 ' <conf$$subs.awk | sed '
11960 ' >>$CONFIG_STATUS || ac_write_fail=1
11961 rm -f conf$$subs.awk
11962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11964 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11965 for (key in S) S_is_set[key] = 1
11971 nfields = split(line, field, "@
")
11973 len = length(field[1])
11974 for (i = 2; i < nfields; i++) {
11976 keylen = length(key)
11977 if (S_is_set[key]) {
11979 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11980 len += length(value) + length(field[++i])
11991 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11992 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11993 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11996 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11997 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12000 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12001 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12002 # trailing colons and then remove the whole line if VPATH becomes empty
12003 # (actually we leave an empty line to preserve line numbers).
12004 if test "x
$srcdir" = x.; then
12005 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12024 fi # test -n "$CONFIG_FILES"
12026 # Set up the scripts for CONFIG_HEADERS section.
12027 # No need to generate them if there are no CONFIG_HEADERS.
12028 # This happens for instance with `./config.status Makefile'.
12029 if test -n "$CONFIG_HEADERS"; then
12030 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12034 # Transform confdefs.h into an awk script `defines.awk', embedded as
12035 # here-document in config.status, that substitutes the proper values into
12036 # config.h.in to produce config.h.
12038 # Create a delimiter string that does not exist in confdefs.h, to ease
12039 # handling of long lines.
12041 for ac_last_try in false false :; do
12042 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12043 if test -z "$ac_t"; then
12045 elif $ac_last_try; then
12046 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12048 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12052 # For the awk script, D is an array of macro values keyed by name,
12053 # likewise P contains macro parameters if any. Preserve backslash
12054 # newline sequences.
12056 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12058 s/.\{148\}/&'"$ac_delim"'/g
12061 s/^[ ]*#[ ]*define[ ][ ]*/ /
12068 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12070 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12074 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12075 D["\
1"]=" \
3\\\\\\n
"\\/p
12077 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12082 s/.\{148\}/&'"$ac_delim"'/g
12087 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12090 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12092 ' <confdefs.h | sed '
12093 s/'"$ac_delim"'/"\\\
12094 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12097 for (key in D) D_is_set[key] = 1
12100 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12102 split(line, arg, " ")
12103 if (arg[1] == "#") {
12107 defundef
= substr
(arg
[1], 2)
12110 split(mac1
, mac2
, "(") #)
12112 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12113 if (D_is_set
[macro
]) {
12114 # Preserve the white space surrounding the "#".
12115 print prefix
"define", macro P
[macro
] D
[macro
]
12118 # Replace #undef with comments. This is necessary, for example,
12119 # in the case of _POSIX_SOURCE, which is predefined and required
12120 # on some systems where configure will not decide to define it.
12121 if (defundef
== "undef") {
12122 print
"/*", prefix defundef
, macro
, "*/"
12130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12131 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12132 fi # test -n "$CONFIG_HEADERS"
12135 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12140 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12142 case $ac_mode$ac_tag in
12144 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
12145 :[FH
]-) ac_tag
=-:-;;
12146 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12163 -) ac_f
="$tmp/stdin";;
12164 *) # Look for the file first in the build tree, then in the source tree
12165 # (if the path is not absolute). The absolute path cannot be DOS-style,
12166 # because $ac_f cannot contain `:'.
12170 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12172 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
12174 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12175 as_fn_append ac_file_inputs
" '$ac_f'"
12178 # Let's still pretend it is `configure' which instantiates (i.e., don't
12179 # use $as_me), people would be surprised to read:
12180 # /* config.h. Generated by config.status. */
12181 configure_input
='Generated from '`
12182 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12184 if test x
"$ac_file" != x-
; then
12185 configure_input
="$ac_file. $configure_input"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12187 $as_echo "$as_me: creating $ac_file" >&6;}
12189 # Neutralize special characters interpreted by sed in replacement strings.
12190 case $configure_input in #(
12191 *\
&* |
*\|
* |
*\\* )
12192 ac_sed_conf_input
=`$as_echo "$configure_input" |
12193 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12194 *) ac_sed_conf_input
=$configure_input;;
12198 *:-:* |
*:-) cat >"$tmp/stdin" \
12199 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12204 ac_dir
=`$as_dirname -- "$ac_file" ||
12205 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12206 X"$ac_file" : 'X\(//\)[^/]' \| \
12207 X"$ac_file" : 'X\(//\)$' \| \
12208 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12209 $as_echo X"$ac_file" |
12210 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12214 /^X\(\/\/\)[^/].*/{
12227 as_dir
="$ac_dir"; as_fn_mkdir_p
12231 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12233 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12234 # A ".." for each directory in $ac_dir_suffix.
12235 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12236 case $ac_top_builddir_sub in
12237 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12238 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12241 ac_abs_top_builddir
=$ac_pwd
12242 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12243 # for backward compatibility:
12244 ac_top_builddir
=$ac_top_build_prefix
12247 .
) # We are building in place.
12249 ac_top_srcdir
=$ac_top_builddir_sub
12250 ac_abs_top_srcdir
=$ac_pwd ;;
12251 [\\/]* | ?
:[\\/]* ) # Absolute name.
12252 ac_srcdir
=$srcdir$ac_dir_suffix;
12253 ac_top_srcdir
=$srcdir
12254 ac_abs_top_srcdir
=$srcdir ;;
12255 *) # Relative name.
12256 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12257 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12258 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12260 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12271 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12272 # If the template does not know about datarootdir, expand it.
12273 # FIXME: This hack should be removed a few years after 2.60.
12274 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12285 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12286 *datarootdir
*) ac_datarootdir_seen
=yes;;
12287 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12289 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12291 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12292 ac_datarootdir_hack='
12293 s&@datadir@&$datadir&g
12294 s&@docdir@&$docdir&g
12295 s&@infodir@&$infodir&g
12296 s&@localedir@&$localedir&g
12297 s&@mandir@&$mandir&g
12298 s&\\\${datarootdir}&$datarootdir&g' ;;
12302 # Neutralize VPATH when `$srcdir' = `.'.
12303 # Shell code in configure.ac might set extrasub.
12304 # FIXME: do we really want to maintain this feature?
12305 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12306 ac_sed_extra="$ac_vpsub
12309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12311 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12312 s|@configure_input@|
$ac_sed_conf_input|
;t t
12313 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12314 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12315 s
&@srcdir@
&$ac_srcdir&;t t
12316 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12317 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12318 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12319 s
&@builddir@
&$ac_builddir&;t t
12320 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12321 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12322 $ac_datarootdir_hack
12324 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12325 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12327 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12328 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12329 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12331 which seems to be undefined. Please make sure it is defined" >&5
12332 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12333 which seems to be undefined. Please make sure it is defined" >&2;}
12337 -) cat "$tmp/out" && rm -f "$tmp/out";;
12338 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12340 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12346 if test x"$ac_file" != x-; then
12348 $as_echo "/* $configure_input */" \
12349 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12350 } >"$tmp/config.h" \
12351 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12352 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12354 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12357 mv "$tmp/config.h" "$ac_file" \
12358 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12361 $as_echo "/* $configure_input */" \
12362 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12363 || as_fn_error $? "could not create -" "$LINENO" 5
12367 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12368 $as_echo "$as_me: executing $ac_file commands" >&6;}
12373 case $ac_file$ac_mode in
12374 "compiler_executable":C)
12375 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12377 prefix="${prefix}/${aros_target_cpu}-aros"
12378 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12382 chmod a+x ${prefix2}-gcc ${prefix2}-ld
12384 ln -sf ${prefix2}-gcc ${prefix}-gcc
12385 ln -sf ${prefix2}-ld ${prefix}-ld
12387 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12388 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12389 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12390 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12391 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12392 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12393 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12395 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12396 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12397 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12398 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12399 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12400 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12401 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12403 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12411 ac_clean_files=$ac_clean_files_save
12413 test $ac_write_fail = 0 ||
12414 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12417 # configure is writing to config.log, and then calls config.status.
12418 # config.status does its own redirection, appending to config.log.
12419 # Unfortunately, on DOS this fails, as config.log is still kept open
12420 # by configure, so config.status won't be able to
write to it
; its
12421 # output is simply discarded. So we exec the FD to /dev/null,
12422 # effectively closing config.log, so it can be properly (re)opened and
12423 # appended to by config.status. When coming back to configure, we
12424 # need to make the FD available again.
12425 if test "$no_create" != yes; then
12427 ac_config_status_args
=
12428 test "$silent" = yes &&
12429 ac_config_status_args
="$ac_config_status_args --quiet"
12431 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12433 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12434 # would make configure fail if this is the last instruction.
12435 $ac_cs_success || as_fn_exit
1
12437 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12439 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12444 #XXX compatability...
12445 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12447 if test -n "$aros_shared_cflags" ; then
12448 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12449 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg