2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
613 aros_nesting_supervisor
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
671 aros_target_bootloader
700 aros_cflags_iquote_end
702 kernel_cflags_iquote_end
704 host_cflags_iquote_end
706 aros_target_nostdlib_ldflags
707 aros_target_detach_ldflags
708 aros_target_nix_ldflags
709 aros_target_nostartup_ldflags
710 aros_target_nostdinc_cflags
714 aros_target_ranlib_ln
715 aros_target_objdump_ln
716 aros_target_objcopy_ln
812 program_transform_name
825 enable_option_checking
834 enable_target_variant
848 enable_palm_debug_hack
849 enable_nesting_supervisor
861 ac_precious_vars
='build_alias
873 # Initialize some variables set by options.
875 ac_init_version
=false
876 ac_unrecognized_opts
=
878 # The variables have the same names as the options, with
879 # dashes changed to underlines.
887 program_transform_name
=s
,x
,x
,
895 # Installation directory options.
896 # These are left unexpanded so users can "make install exec_prefix=/foo"
897 # and all the variables that are supposed to be based on exec_prefix
898 # by default will actually change.
899 # Use braces instead of parens because sh, perl, etc. also accept them.
900 # (The list follows the same order as the GNU Coding Standards.)
901 bindir
='${exec_prefix}/bin'
902 sbindir
='${exec_prefix}/sbin'
903 libexecdir
='${exec_prefix}/libexec'
904 datarootdir
='${prefix}/share'
905 datadir
='${datarootdir}'
906 sysconfdir
='${prefix}/etc'
907 sharedstatedir
='${prefix}/com'
908 localstatedir
='${prefix}/var'
909 includedir
='${prefix}/include'
910 oldincludedir
='/usr/include'
911 docdir
='${datarootdir}/doc/${PACKAGE}'
912 infodir
='${datarootdir}/info'
917 libdir
='${exec_prefix}/lib'
918 localedir
='${datarootdir}/locale'
919 mandir
='${datarootdir}/man'
925 # If the previous option needs an argument, assign it.
926 if test -n "$ac_prev"; then
927 eval $ac_prev=\
$ac_option
933 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
937 # Accept the important Cygnus configure options, so we can diagnose typos.
939 case $ac_dashdash$ac_option in
943 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
945 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
948 -build |
--build |
--buil |
--bui |
--bu)
949 ac_prev
=build_alias
;;
950 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
951 build_alias
=$ac_optarg ;;
953 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
954 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
955 ac_prev
=cache_file
;;
956 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
957 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
958 cache_file
=$ac_optarg ;;
961 cache_file
=config.cache
;;
963 -datadir |
--datadir |
--datadi |
--datad)
965 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
966 datadir
=$ac_optarg ;;
968 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
969 |
--dataroo |
--dataro |
--datar)
970 ac_prev
=datarootdir
;;
971 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
972 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
973 datarootdir
=$ac_optarg ;;
975 -disable-* |
--disable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=no
;;
991 -docdir |
--docdir |
--docdi |
--doc |
--do)
993 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
996 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
998 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1001 -enable-* |
--enable-*)
1002 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1005 as_fn_error
"invalid feature name: $ac_useropt"
1006 ac_useropt_orig
=$ac_useropt
1007 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1010 "enable_
$ac_useropt"
1012 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1013 ac_unrecognized_sep
=', ';;
1015 eval enable_
$ac_useropt=\
$ac_optarg ;;
1017 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1018 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1019 |
--exec |
--exe |
--ex)
1020 ac_prev
=exec_prefix
;;
1021 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1022 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1023 |
--exec=* |
--exe=* |
--ex=*)
1024 exec_prefix
=$ac_optarg ;;
1026 -gas |
--gas |
--ga |
--g)
1027 # Obsolete; use --with-gas.
1030 -help |
--help |
--hel |
--he |
-h)
1031 ac_init_help
=long
;;
1032 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1033 ac_init_help
=recursive
;;
1034 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1035 ac_init_help
=short
;;
1037 -host |
--host |
--hos |
--ho)
1038 ac_prev
=host_alias
;;
1039 -host=* |
--host=* |
--hos=* |
--ho=*)
1040 host_alias
=$ac_optarg ;;
1042 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1044 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1046 htmldir
=$ac_optarg ;;
1048 -includedir |
--includedir |
--includedi |
--included |
--include \
1049 |
--includ |
--inclu |
--incl |
--inc)
1050 ac_prev
=includedir
;;
1051 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1052 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1053 includedir
=$ac_optarg ;;
1055 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1057 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1058 infodir
=$ac_optarg ;;
1060 -libdir |
--libdir |
--libdi |
--libd)
1062 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1063 libdir
=$ac_optarg ;;
1065 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1066 |
--libexe |
--libex |
--libe)
1067 ac_prev
=libexecdir
;;
1068 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1069 |
--libexe=* |
--libex=* |
--libe=*)
1070 libexecdir
=$ac_optarg ;;
1072 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1073 ac_prev
=localedir
;;
1074 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1075 localedir
=$ac_optarg ;;
1077 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1078 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1079 ac_prev
=localstatedir
;;
1080 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1081 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1082 localstatedir
=$ac_optarg ;;
1084 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1086 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1087 mandir
=$ac_optarg ;;
1089 -nfp |
--nfp |
--nf)
1090 # Obsolete; use --without-fp.
1093 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1094 |
--no-cr |
--no-c |
-n)
1097 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1098 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1101 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1102 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1103 |
--oldin |
--oldi |
--old |
--ol |
--o)
1104 ac_prev
=oldincludedir
;;
1105 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1106 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1107 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1108 oldincludedir
=$ac_optarg ;;
1110 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1112 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1113 prefix
=$ac_optarg ;;
1115 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1116 |
--program-pre |
--program-pr |
--program-p)
1117 ac_prev
=program_prefix
;;
1118 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1119 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1120 program_prefix
=$ac_optarg ;;
1122 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1123 |
--program-suf |
--program-su |
--program-s)
1124 ac_prev
=program_suffix
;;
1125 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1126 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1127 program_suffix
=$ac_optarg ;;
1129 -program-transform-name |
--program-transform-name \
1130 |
--program-transform-nam |
--program-transform-na \
1131 |
--program-transform-n |
--program-transform- \
1132 |
--program-transform |
--program-transfor \
1133 |
--program-transfo |
--program-transf \
1134 |
--program-trans |
--program-tran \
1135 |
--progr-tra |
--program-tr |
--program-t)
1136 ac_prev
=program_transform_name
;;
1137 -program-transform-name=* |
--program-transform-name=* \
1138 |
--program-transform-nam=* |
--program-transform-na=* \
1139 |
--program-transform-n=* |
--program-transform-=* \
1140 |
--program-transform=* |
--program-transfor=* \
1141 |
--program-transfo=* |
--program-transf=* \
1142 |
--program-trans=* |
--program-tran=* \
1143 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1144 program_transform_name
=$ac_optarg ;;
1146 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1148 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1149 pdfdir
=$ac_optarg ;;
1151 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1153 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1156 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1157 |
-silent |
--silent |
--silen |
--sile |
--sil)
1160 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1162 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1164 sbindir
=$ac_optarg ;;
1166 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1167 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1168 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1170 ac_prev
=sharedstatedir
;;
1171 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1172 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1173 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1175 sharedstatedir
=$ac_optarg ;;
1177 -site |
--site |
--sit)
1179 -site=* |
--site=* |
--sit=*)
1182 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1184 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1185 srcdir
=$ac_optarg ;;
1187 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1188 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1189 ac_prev
=sysconfdir
;;
1190 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1191 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1192 sysconfdir
=$ac_optarg ;;
1194 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1195 ac_prev
=target_alias
;;
1196 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1197 target_alias
=$ac_optarg ;;
1199 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1202 -version |
--version |
--versio |
--versi |
--vers |
-V)
1203 ac_init_version
=: ;;
1206 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1207 # Reject names that are not valid shell variable names.
1208 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1209 as_fn_error
"invalid package name: $ac_useropt"
1210 ac_useropt_orig
=$ac_useropt
1211 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1212 case $ac_user_opts in
1216 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1217 ac_unrecognized_sep
=', ';;
1219 eval with_
$ac_useropt=\
$ac_optarg ;;
1221 -without-* |
--without-*)
1222 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1223 # Reject names that are not valid shell variable names.
1224 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1225 as_fn_error
"invalid package name: $ac_useropt"
1226 ac_useropt_orig
=$ac_useropt
1227 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1228 case $ac_user_opts in
1232 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1233 ac_unrecognized_sep
=', ';;
1235 eval with_
$ac_useropt=no
;;
1238 # Obsolete; use --with-x.
1241 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1242 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1243 ac_prev
=x_includes
;;
1244 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1245 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1246 x_includes
=$ac_optarg ;;
1248 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1249 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1250 ac_prev
=x_libraries
;;
1251 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1252 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1253 x_libraries
=$ac_optarg ;;
1255 -*) as_fn_error
"unrecognized option: \`$ac_option'
1256 Try \`$0 --help' for more information."
1260 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1261 # Reject names that are not valid shell variable names.
1262 case $ac_envvar in #(
1263 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1264 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1266 eval $ac_envvar=\
$ac_optarg
1267 export $ac_envvar ;;
1270 # FIXME: should be removed in autoconf 3.0.
1271 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1272 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1273 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1274 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1280 if test -n "$ac_prev"; then
1281 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1282 as_fn_error
"missing argument to $ac_option"
1285 if test -n "$ac_unrecognized_opts"; then
1286 case $enable_option_checking in
1288 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1289 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1293 # Check all directory arguments for consistency.
1294 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1295 datadir sysconfdir sharedstatedir localstatedir includedir \
1296 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1297 libdir localedir mandir
1299 eval ac_val
=\$
$ac_var
1300 # Remove trailing slashes.
1303 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1304 eval $ac_var=\
$ac_val;;
1306 # Be sure to have absolute directory names.
1308 [\\/$
]* | ?
:[\\/]* ) continue;;
1309 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1311 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1314 # There might be people who depend on the old broken behavior: `$host'
1315 # used to hold the argument of --host etc.
1316 # FIXME: To remove some day.
1319 target
=$target_alias
1321 # FIXME: To remove some day.
1322 if test "x$host_alias" != x
; then
1323 if test "x$build_alias" = x
; then
1324 cross_compiling
=maybe
1325 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1326 If a cross compiler is detected then cross compile mode will be used." >&2
1327 elif test "x$build_alias" != "x$host_alias"; then
1333 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1335 test "$silent" = yes && exec 6>/dev
/null
1338 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1339 ac_ls_di
=`ls -di .` &&
1340 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1341 as_fn_error
"working directory cannot be determined"
1342 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1343 as_fn_error
"pwd does not report name of working directory"
1346 # Find the source files, if location was not specified.
1347 if test -z "$srcdir"; then
1348 ac_srcdir_defaulted
=yes
1349 # Try the directory containing this script, then the parent directory.
1350 ac_confdir
=`$as_dirname -- "$as_myself" ||
1351 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1352 X"$as_myself" : 'X\(//\)[^/]' \| \
1353 X"$as_myself" : 'X\(//\)$' \| \
1354 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1355 $as_echo X"$as_myself" |
1356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1374 if test ! -r "$srcdir/$ac_unique_file"; then
1378 ac_srcdir_defaulted
=no
1380 if test ! -r "$srcdir/$ac_unique_file"; then
1381 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1382 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1384 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1386 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1388 # When building in place, set srcdir=.
1389 if test "$ac_abs_confdir" = "$ac_pwd"; then
1392 # Remove unnecessary trailing slashes from srcdir.
1393 # Double slashes in file names in object file debugging info
1394 # mess up M-x gdb in Emacs.
1396 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1398 for ac_var
in $ac_precious_vars; do
1399 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1400 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1401 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1402 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1406 # Report the --help message.
1408 if test "$ac_init_help" = "long"; then
1409 # Omit some internal or obsolete options to make the list less imposing.
1410 # This message is too long to be a string in the A/UX 3.1 sh.
1412 \`configure' configures this package to adapt to many kinds of systems.
1414 Usage: $0 [OPTION]... [VAR=VALUE]...
1416 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1417 VAR=VALUE. See below for descriptions of some of the useful variables.
1419 Defaults for the options are specified in brackets.
1422 -h, --help display this help and exit
1423 --help=short display options specific to this package
1424 --help=recursive display the short help of all the included packages
1425 -V, --version display version information and exit
1426 -q, --quiet, --silent do not print \`checking...' messages
1427 --cache-file=FILE cache test results in FILE [disabled]
1428 -C, --config-cache alias for \`--cache-file=config.cache'
1429 -n, --no-create do not create output files
1430 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1432 Installation directories:
1433 --prefix=PREFIX install architecture-independent files in PREFIX
1434 [$ac_default_prefix]
1435 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1438 By default, \`make install' will install all the files in
1439 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1440 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1441 for instance \`--prefix=\$HOME'.
1443 For better control, use the options below.
1445 Fine tuning of the installation directories:
1446 --bindir=DIR user executables [EPREFIX/bin]
1447 --sbindir=DIR system admin executables [EPREFIX/sbin]
1448 --libexecdir=DIR program executables [EPREFIX/libexec]
1449 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1450 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1451 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1452 --libdir=DIR object code libraries [EPREFIX/lib]
1453 --includedir=DIR C header files [PREFIX/include]
1454 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1455 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1456 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1457 --infodir=DIR info documentation [DATAROOTDIR/info]
1458 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1459 --mandir=DIR man documentation [DATAROOTDIR/man]
1460 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1461 --htmldir=DIR html documentation [DOCDIR]
1462 --dvidir=DIR dvi documentation [DOCDIR]
1463 --pdfdir=DIR pdf documentation [DOCDIR]
1464 --psdir=DIR ps documentation [DOCDIR]
1470 --x-includes=DIR X include files are
in DIR
1471 --x-libraries=DIR X library files are
in DIR
1474 --build=BUILD configure
for building on BUILD
[guessed
]
1475 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1479 if test -n "$ac_init_help"; then
1484 --disable-option-checking ignore unrecognized
--enable/--with options
1485 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1486 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1487 --enable-build-type=TYPE
1488 Select the build
type. Available types are
:
1489 personal
, nightly
, snapshot
, milestone
, release. Do
1490 NOT use this option unless you know what you are
1491 doing
! (default
=personal
)
1492 --enable-debug=list Enable different types of debug. Commas or
1493 whitespaces can be used to separate the items
in the
1494 list. Available types of debug are
: all
, none
,
1495 messages
, stack
, mungwall
, modules
, symbols. If no
1496 list is provided
then "all" is assumed.
1498 --enable-crosstools Build cross-compiler toolchains
if necessary
1500 --enable-distcc Use distcc as a front end to the compiler
1502 --enable-ccache Use ccache as a front end to the compiler
1504 --enable-target-variant=NAME
1505 Enable a specific target variant
(default
=none
)
1506 --enable-includes=dir Alternative system include directory
1507 --enable-palm-debug-hack
1508 Enable palm debug output hack
in palm native
1510 --enable-nesting-supervisor
1511 Enable nesting supervisor support
in unix
1513 --disable-mmu Disable MMU support
(default
=enabled
)
1514 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1515 --enable-x11-shm use X11 shared memory
(default
=auto
)
1516 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1517 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1518 --disable-sdltest Do not try to compile and run a
test SDL program
1519 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1522 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1523 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1524 --with-gcc-version=VERSION
1525 Use gcc-VERSION
for building AROS
1526 --with-optimization=FLAGS
1527 Use optimization flags FLAGS
(default
=-O2).
1528 --with-paranoia=FLAGS CC flags to
enable paranoia
1529 --with-xcode=PATH Specify XCode path
for iOS targets
1530 (default
=/Developer
).
1531 --with-ios-version=VERSION
1532 Specify minimum supported iOS version
(default
=3.0).
1533 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1534 --with-sdk=PATH Specify Android SDK path
1535 (default
=$default_android_sdk).
1536 --with-ndk=PATH Specify Android NDK path
1537 (default
=$default_android_ndk).
1538 --with-android-version=VERSION
1539 Use Android platform VERSION
(default
=2.2).
1540 --with-portssources=DIR Where to download sourcecode
for external ports
1541 --with-bootloader=NAME Use a specific bootloader
1542 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1543 --with-theme=NAME Use a specific GUI Theme
1544 --with-resolution=XRESxYRESxDEPTH
1545 Default resolution of the initial WorkbenchScreen
1546 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1547 --with-x use the X Window System
1548 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1549 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1551 Some influential environment variables
:
1552 CC C compiler
command
1553 CFLAGS C compiler flags
1554 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1555 nonstandard directory
<lib dir
>
1556 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1557 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1558 you have headers
in a nonstandard directory
<include dir
>
1560 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1562 Use these variables to override the choices made by
`configure' or to help
1563 it to find libraries and programs with nonstandard names/locations.
1565 Report bugs to the package provider.
1570 if test "$ac_init_help" = "recursive"; then
1571 # If there are subdirs, report their specific --help.
1572 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1573 test -d "$ac_dir" ||
1574 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1579 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1581 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1582 # A ".." for each directory in $ac_dir_suffix.
1583 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1584 case $ac_top_builddir_sub in
1585 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1586 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1589 ac_abs_top_builddir=$ac_pwd
1590 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1591 # for backward compatibility:
1592 ac_top_builddir=$ac_top_build_prefix
1595 .) # We are building in place.
1597 ac_top_srcdir=$ac_top_builddir_sub
1598 ac_abs_top_srcdir=$ac_pwd ;;
1599 [\\/]* | ?:[\\/]* ) # Absolute name.
1600 ac_srcdir=$srcdir$ac_dir_suffix;
1601 ac_top_srcdir=$srcdir
1602 ac_abs_top_srcdir=$srcdir ;;
1604 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1605 ac_top_srcdir=$ac_top_build_prefix$srcdir
1606 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1608 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1610 cd "$ac_dir" || { ac_status=$?; continue; }
1611 # Check for guested configure.
1612 if test -f "$ac_srcdir/configure.gnu"; then
1614 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1615 elif test -f "$ac_srcdir/configure"; then
1617 $SHELL "$ac_srcdir/configure" --help=recursive
1619 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1621 cd "$ac_pwd" || { ac_status=$?; break; }
1625 test -n "$ac_init_help" && exit $ac_status
1626 if $ac_init_version; then
1629 generated by GNU Autoconf 2.65
1631 Copyright (C) 2009 Free Software Foundation, Inc.
1632 This configure script is free software; the Free Software Foundation
1633 gives unlimited permission to copy, distribute and modify it.
1638 ## ------------------------ ##
1639 ## Autoconf initialization. ##
1640 ## ------------------------ ##
1642 # ac_fn_c_try_compile LINENO
1643 # --------------------------
1644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_c_try_compile ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext
1649 if { { ac_try="$ac_compile"
1651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1652 *) ac_try_echo
=$ac_try;;
1654 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_compile") 2>conftest.err
1658 if test -s conftest.err
; then
1659 grep -v '^ *+' conftest.err
>conftest.er1
1660 cat conftest.er1
>&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_c_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest.
$ac_objext; then :
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.
$ac_ext >&5
1675 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1676 as_fn_set_status
$ac_retval
1678 } # ac_fn_c_try_compile
1680 # ac_fn_c_try_cpp LINENO
1681 # ----------------------
1682 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1685 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1686 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } >/dev/null && {
1702 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1712 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1713 as_fn_set_status $ac_retval
1717 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1718 # -------------------------------------------------------
1719 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1720 # the include files in INCLUDES and setting the cache variable VAR
1722 ac_fn_c_check_header_mongrel ()
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1727 $as_echo_n "checking for $2... " >&6; }
1728 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1729 $as_echo_n "(cached) " >&6
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1733 $as_echo "$ac_res" >&6; }
1735 # Is the header compilable?
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1737 $as_echo_n "checking $2 usability... " >&6; }
1738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1739 /* end confdefs.h. */
1743 if ac_fn_c_try_compile "$LINENO"; then :
1744 ac_header_compiler=yes
1746 ac_header_compiler=no
1748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1750 $as_echo "$ac_header_compiler" >&6; }
1752 # Is the header present?
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1754 $as_echo_n "checking $2 presence... " >&6; }
1755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1756 /* end confdefs.h. */
1759 if ac_fn_c_try_cpp "$LINENO"; then :
1760 ac_header_preproc=yes
1762 ac_header_preproc=no
1764 rm -f conftest.err conftest.$ac_ext
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1766 $as_echo "$ac_header_preproc" >&6; }
1768 # So? What about this header?
1769 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1772 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1774 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1778 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1780 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1782 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1784 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1786 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1790 $as_echo_n "checking for $2... " >&6; }
1791 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1792 $as_echo_n "(cached) " >&6
1794 eval "$3=\$ac_header_compiler"
1797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1798 $as_echo "$ac_res" >&6; }
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1802 } # ac_fn_c_check_header_mongrel
1804 # ac_fn_c_try_run LINENO
1805 # ----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1807 # that executables *can* be run.
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 if { { ac_try="$ac_link"
1813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1814 *) ac_try_echo
=$ac_try;;
1816 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>&5
1820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1821 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1822 { { case "(($ac_try" in
1823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1824 *) ac_try_echo=$ac_try;;
1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1827 $as_echo "$ac_try_echo"; } >&5
1828 (eval "$ac_try") 2>&5
1830 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1831 test $ac_status = 0; }; }; then :
1834 $as_echo "$as_me: program exited with status $ac_status" >&5
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=$ac_status
1840 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1841 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1842 as_fn_set_status $ac_retval
1846 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1847 # -------------------------------------------------------
1848 # Tests whether HEADER exists and can be compiled using the include files in
1849 # INCLUDES, setting the cache variable VAR accordingly.
1850 ac_fn_c_check_header_compile ()
1852 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1854 $as_echo_n "checking for $2... " >&6; }
1855 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1856 $as_echo_n "(cached) " >&6
1858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1859 /* end confdefs.h. */
1863 if ac_fn_c_try_compile "$LINENO"; then :
1868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1872 $as_echo "$ac_res" >&6; }
1873 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1875 } # ac_fn_c_check_header_compile
1877 # ac_fn_c_try_link LINENO
1878 # -----------------------
1879 # Try to link conftest.$ac_ext, and return whether this succeeded.
1882 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1883 rm -f conftest.$ac_objext conftest$ac_exeext
1884 if { { ac_try="$ac_link"
1886 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1887 *) ac_try_echo
=$ac_try;;
1889 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1890 $as_echo "$ac_try_echo"; } >&5
1891 (eval "$ac_link") 2>conftest.err
1893 if test -s conftest.err
; then
1894 grep -v '^ *+' conftest.err
>conftest.er1
1895 cat conftest.er1
>&5
1896 mv -f conftest.er1 conftest.err
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; } && {
1900 test -z "$ac_c_werror_flag" ||
1901 test ! -s conftest.err
1902 } && test -s conftest
$ac_exeext && {
1903 test "$cross_compiling" = yes ||
1904 $as_test_x conftest
$ac_exeext
1908 $as_echo "$as_me: failed program was:" >&5
1909 sed 's/^/| /' conftest.
$ac_ext >&5
1913 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1914 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1915 # interfere with the next link command; also delete a directory that is
1916 # left behind by Apple's compiler. We do this before executing the actions.
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1919 as_fn_set_status
$ac_retval
1921 } # ac_fn_c_try_link
1923 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1924 # ----------------------------------------------------
1925 # Tries to find if the field MEMBER exists in type AGGR, after including
1926 # INCLUDES, setting cache variable VAR accordingly.
1927 ac_fn_c_check_member
()
1929 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1931 $as_echo_n "checking for $2.$3... " >&6; }
1932 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1933 $as_echo_n "(cached) " >&6
1935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1948 if ac_fn_c_try_compile
"$LINENO"; then :
1951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1952 /* end confdefs.h. */
1958 if (sizeof ac_aggr.$3)
1964 if ac_fn_c_try_compile
"$LINENO"; then :
1969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1976 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1978 } # ac_fn_c_check_member
1980 # ac_fn_c_check_decl LINENO SYMBOL VAR
1981 # ------------------------------------
1982 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1983 ac_fn_c_check_decl
()
1985 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1987 $as_echo_n "checking whether $2 is declared... " >&6; }
1988 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1989 $as_echo_n "(cached) " >&6
1991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
2005 if ac_fn_c_try_compile
"$LINENO"; then :
2010 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2014 $as_echo "$ac_res" >&6; }
2015 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2017 } # ac_fn_c_check_decl
2019 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2020 # -------------------------------------------
2021 # Tests whether TYPE exists after having included INCLUDES, setting cache
2022 # variable VAR accordingly.
2023 ac_fn_c_check_type
()
2025 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2027 $as_echo_n "checking for $2... " >&6; }
2028 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2029 $as_echo_n "(cached) " >&6
2032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2044 if ac_fn_c_try_compile
"$LINENO"; then :
2045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2046 /* end confdefs.h. */
2057 if ac_fn_c_try_compile
"$LINENO"; then :
2062 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2064 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2071 } # ac_fn_c_check_type
2073 # ac_fn_c_check_func LINENO FUNC VAR
2074 # ----------------------------------
2075 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2076 ac_fn_c_check_func
()
2078 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2080 $as_echo_n "checking for $2... " >&6; }
2081 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2082 $as_echo_n "(cached) " >&6
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2086 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2088 #define $2 innocuous_$2
2090 /* System header to define __stub macros and hopefully few prototypes,
2091 which can conflict with char $2 (); below.
2092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2093 <limits.h> exists even on freestanding compilers. */
2096 # include <limits.h>
2098 # include <assert.h>
2103 /* Override any GCC internal prototype to avoid an error.
2104 Use char because int might match the return type of a GCC
2105 builtin and then its argument prototype would still apply. */
2110 /* The GNU C library defines this for functions which it implements
2111 to always fail with ENOSYS. Some functions are actually named
2112 something starting with __ and the normal name is an alias. */
2113 #if defined __stub_$2 || defined __stub___$2
2125 if ac_fn_c_try_link
"$LINENO"; then :
2130 rm -f core conftest.err conftest.
$ac_objext \
2131 conftest
$ac_exeext conftest.
$ac_ext
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2135 $as_echo "$ac_res" >&6; }
2136 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2138 } # ac_fn_c_check_func
2139 cat >config.log
<<_ACEOF
2140 This file contains any messages produced by compilers while
2141 running configure, to aid debugging if configure makes a mistake.
2143 It was created by $as_me, which was
2144 generated by GNU Autoconf 2.65. Invocation command line was
2156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir
=.
2180 $as_echo "PATH: $as_dir"
2196 # Keep a trace of the command line.
2197 # Strip out --no-create and --no-recursion so they do not pile up.
2198 # Strip out --silent because we don't want to record it for future runs.
2199 # Also quote any args containing shell meta-characters.
2200 # Make two passes to allow for proper duplicate-argument suppression.
2204 ac_must_keep_next
=false
2210 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2211 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2212 |
-silent |
--silent |
--silen |
--sile |
--sil)
2215 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2218 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2220 as_fn_append ac_configure_args1
" '$ac_arg'"
2221 if test $ac_must_keep_next = true
; then
2222 ac_must_keep_next
=false
# Got value, back to normal.
2225 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2226 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2227 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2228 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2229 case "$ac_configure_args0 " in
2230 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2233 -* ) ac_must_keep_next
=true
;;
2236 as_fn_append ac_configure_args
" '$ac_arg'"
2241 { ac_configure_args0
=; unset ac_configure_args0
;}
2242 { ac_configure_args1
=; unset ac_configure_args1
;}
2244 # When interrupted or exit'd, cleanup temporary files, and complete
2245 # config.log. We remove comments because anyway the quotes in there
2246 # would cause problems or look ugly.
2247 # WARNING: Use '\'' to represent an apostrophe within the trap.
2248 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2249 trap 'exit_status=$?
2250 # Save into config.log some information that might help in debugging.
2255 ## ---------------- ##
2256 ## Cache variables. ##
2257 ## ---------------- ##
2260 # The following way of writing the cache mishandles newlines in values,
2262 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2263 eval ac_val=\$$ac_var
2267 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2268 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2271 _ | IFS | as_nl) ;; #(
2272 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2273 *) { eval $ac_var=; unset $ac_var;} ;;
2278 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2279 *${as_nl}ac_space=\ *)
2281 "s/'\''/'\''\\\\'\'''\''/g;
2282 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2285 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2293 ## ----------------- ##
2294 ## Output variables. ##
2295 ## ----------------- ##
2298 for ac_var in $ac_subst_vars
2300 eval ac_val=\$$ac_var
2302 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2304 $as_echo "$ac_var='\''$ac_val'\''"
2308 if test -n "$ac_subst_files"; then
2310 ## ------------------- ##
2311 ## File substitutions. ##
2312 ## ------------------- ##
2315 for ac_var
in $ac_subst_files
2317 eval ac_val
=\$
$ac_var
2319 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2321 $as_echo "$ac_var='\''$ac_val'\''"
2326 if test -s confdefs.h; then
2336 test "$ac_signal" != 0 &&
2337 $as_echo "$as_me: caught signal $ac_signal"
2338 $as_echo "$as_me: exit $exit_status"
2340 rm -f core *.core core.conftest.* &&
2341 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2344 for ac_signal
in 1 2 13 15; do
2345 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2349 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2350 rm -f -r conftest
* confdefs.h
2352 $as_echo "/* confdefs.h */" > confdefs.h
2354 # Predefined preprocessor variables.
2356 cat >>confdefs.h
<<_ACEOF
2357 #define PACKAGE_NAME "$PACKAGE_NAME"
2360 cat >>confdefs.h
<<_ACEOF
2361 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2364 cat >>confdefs.h
<<_ACEOF
2365 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2368 cat >>confdefs.h
<<_ACEOF
2369 #define PACKAGE_STRING "$PACKAGE_STRING"
2372 cat >>confdefs.h
<<_ACEOF
2373 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2376 cat >>confdefs.h
<<_ACEOF
2377 #define PACKAGE_URL "$PACKAGE_URL"
2381 # Let the site file select an alternate cache file if it wants to.
2382 # Prefer an explicitly selected file to automatically selected ones.
2385 if test -n "$CONFIG_SITE"; then
2386 ac_site_file1
=$CONFIG_SITE
2387 elif test "x$prefix" != xNONE
; then
2388 ac_site_file1
=$prefix/share
/config.site
2389 ac_site_file2
=$prefix/etc
/config.site
2391 ac_site_file1
=$ac_default_prefix/share
/config.site
2392 ac_site_file2
=$ac_default_prefix/etc
/config.site
2394 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2396 test "x$ac_site_file" = xNONE
&& continue
2397 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2399 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2400 sed 's/^/| /' "$ac_site_file" >&5
2405 if test -r "$cache_file"; then
2406 # Some versions of bash will fail to source /dev/null (special files
2407 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2408 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2410 $as_echo "$as_me: loading cache $cache_file" >&6;}
2412 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2413 *) .
"./$cache_file";;
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2418 $as_echo "$as_me: creating cache $cache_file" >&6;}
2422 as_fn_append ac_header_list
" stdlib.h"
2423 as_fn_append ac_header_list
" unistd.h"
2424 as_fn_append ac_header_list
" sys/param.h"
2425 # Check that the precious variables saved in the cache have kept the same
2427 ac_cache_corrupted
=false
2428 for ac_var
in $ac_precious_vars; do
2429 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2430 eval ac_new_set
=\
$ac_env_${ac_var}_set
2431 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2432 eval ac_new_val
=\
$ac_env_${ac_var}_value
2433 case $ac_old_set,$ac_new_set in
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2436 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2437 ac_cache_corrupted
=: ;;
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2440 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2441 ac_cache_corrupted
=: ;;
2444 if test "x$ac_old_val" != "x$ac_new_val"; then
2445 # differences in whitespace do not lead to failure.
2446 ac_old_val_w
=`echo x $ac_old_val`
2447 ac_new_val_w
=`echo x $ac_new_val`
2448 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2450 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2451 ac_cache_corrupted
=:
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2454 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2455 eval $ac_var=\
$ac_old_val
2457 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2458 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2460 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2463 # Pass precious variables to config.status.
2464 if test "$ac_new_set" = set; then
2466 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2467 *) ac_arg
=$ac_var=$ac_new_val ;;
2469 case " $ac_configure_args " in
2470 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2471 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2475 if $ac_cache_corrupted; then
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2479 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2480 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2482 ## -------------------- ##
2483 ## Main body of script. ##
2484 ## -------------------- ##
2487 ac_cpp
='$CPP $CPPFLAGS'
2488 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2489 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2490 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2495 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2496 for ac_t
in install-sh
install.sh shtool
; do
2497 if test -f "$ac_dir/$ac_t"; then
2499 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2504 if test -z "$ac_aux_dir"; then
2505 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2508 # These three variables are undocumented and unsupported,
2509 # and are intended to be withdrawn in a future Autoconf release.
2510 # They can cause serious problems if a builder's source tree is in a directory
2511 # whose full name contains unusual characters.
2512 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2513 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2514 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2518 # Check what host we are running on.
2519 # If a target is not suggested, we use this one.
2520 # Note that what we call a target, Autoconf calls a host.
2521 # Make sure we can run config.sub.
2522 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2523 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2526 $as_echo_n "checking build system type... " >&6; }
2527 if test "${ac_cv_build+set}" = set; then :
2528 $as_echo_n "(cached) " >&6
2530 ac_build_alias
=$build_alias
2531 test "x$ac_build_alias" = x
&&
2532 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2533 test "x$ac_build_alias" = x
&&
2534 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2535 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2536 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2540 $as_echo "$ac_cv_build" >&6; }
2541 case $ac_cv_build in
2543 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2546 ac_save_IFS
=$IFS; IFS
='-'
2552 # Remember, the first character of IFS is used to create $*,
2553 # except with old shells:
2556 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2560 $as_echo_n "checking host system type... " >&6; }
2561 if test "${ac_cv_host+set}" = set; then :
2562 $as_echo_n "(cached) " >&6
2564 if test "x$host_alias" = x
; then
2565 ac_cv_host
=$ac_cv_build
2567 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2568 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2573 $as_echo "$ac_cv_host" >&6; }
2576 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2579 ac_save_IFS
=$IFS; IFS
='-'
2585 # Remember, the first character of IFS is used to create $*,
2586 # except with old shells:
2589 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2593 # The AROS target is slightly different to the normal GNU style
2594 # format. We don't have the middle part, and we reverse the order
2595 # of the $(CPU) and $(OS) bits.
2597 # Don't strip the version of the target yet, it might be
2598 # useful on some systems.
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2601 $as_echo_n "checking for AROS style target... " >&6; }
2603 if test "$target" = "NONE" ; then
2604 target
=$host_os-$host_cpu
2607 if test "$target" = "" ; then
2608 target
=$host_os-$host_cpu
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2615 $as_echo "$target" >&6; }
2617 if test "$host_os" = "mingw32" ; then
2621 #don't know where else to put this...
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2623 $as_echo_n "checking Building AROS in .. ... " >&6; }
2624 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2625 AROS_BUILDDIR_UNIX
=${PWD}
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2627 $as_echo "$AROS_BUILDDIR" >&6; }
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2630 $as_echo_n "checking AROS Source in .. ... " >&6; }
2631 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2634 $as_echo "$SRCDIR" >&6; }
2636 # Parse the target field into something useful.
2638 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2639 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2642 aros_default_wbwidth
=800
2643 aros_default_wbheight
=600
2644 aros_default_wbdepth
=4
2647 # The first step is to find the host binaries.
2648 # Check for a compiler.
2650 ac_cpp
='$CPP $CPPFLAGS'
2651 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2652 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2653 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2654 if test -n "$ac_tool_prefix"; then
2655 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2656 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2658 $as_echo_n "checking for $ac_word... " >&6; }
2659 if test "${ac_cv_prog_CC+set}" = set; then :
2660 $as_echo_n "(cached) " >&6
2662 if test -n "$CC"; then
2663 ac_cv_prog_CC
="$CC" # Let the user override the test.
2665 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2669 test -z "$as_dir" && as_dir
=.
2670 for ac_exec_ext
in '' $ac_executable_extensions; do
2671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2672 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2683 if test -n "$CC"; then
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2685 $as_echo "$CC" >&6; }
2687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2688 $as_echo "no" >&6; }
2693 if test -z "$ac_cv_prog_CC"; then
2695 # Extract the first word of "gcc", so it can be a program name with args.
2696 set dummy gcc
; ac_word
=$2
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2698 $as_echo_n "checking for $ac_word... " >&6; }
2699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2700 $as_echo_n "(cached) " >&6
2702 if test -n "$ac_ct_CC"; then
2703 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2709 test -z "$as_dir" && as_dir
=.
2710 for ac_exec_ext
in '' $ac_executable_extensions; do
2711 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2712 ac_cv_prog_ac_ct_CC
="gcc"
2713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2722 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2723 if test -n "$ac_ct_CC"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2725 $as_echo "$ac_ct_CC" >&6; }
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2728 $as_echo "no" >&6; }
2731 if test "x$ac_ct_CC" = x
; then
2734 case $cross_compiling:$ac_tool_warned in
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2738 ac_tool_warned
=yes ;;
2746 if test -z "$CC"; then
2747 if test -n "$ac_tool_prefix"; then
2748 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2749 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2751 $as_echo_n "checking for $ac_word... " >&6; }
2752 if test "${ac_cv_prog_CC+set}" = set; then :
2753 $as_echo_n "(cached) " >&6
2755 if test -n "$CC"; then
2756 ac_cv_prog_CC
="$CC" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 if test -n "$CC"; then
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2778 $as_echo "$CC" >&6; }
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781 $as_echo "no" >&6; }
2787 if test -z "$CC"; then
2788 # Extract the first word of "cc", so it can be a program name with args.
2789 set dummy cc
; ac_word
=$2
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 $as_echo_n "checking for $ac_word... " >&6; }
2792 if test "${ac_cv_prog_CC+set}" = set; then :
2793 $as_echo_n "(cached) " >&6
2795 if test -n "$CC"; then
2796 ac_cv_prog_CC
="$CC" # Let the user override the test.
2799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2803 test -z "$as_dir" && as_dir
=.
2804 for ac_exec_ext
in '' $ac_executable_extensions; do
2805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2806 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2807 ac_prog_rejected
=yes
2811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2818 if test $ac_prog_rejected = yes; then
2819 # We found a bogon in the path, so make sure we never use it.
2820 set dummy
$ac_cv_prog_CC
2822 if test $# != 0; then
2823 # We chose a different compiler from the bogus one.
2824 # However, it has the same basename, so the bogon will be chosen
2825 # first if we set CC to just the basename; use the full file name.
2827 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2833 if test -n "$CC"; then
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2835 $as_echo "$CC" >&6; }
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2838 $as_echo "no" >&6; }
2843 if test -z "$CC"; then
2844 if test -n "$ac_tool_prefix"; then
2845 for ac_prog
in cl.exe
2847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2848 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2850 $as_echo_n "checking for $ac_word... " >&6; }
2851 if test "${ac_cv_prog_CC+set}" = set; then :
2852 $as_echo_n "(cached) " >&6
2854 if test -n "$CC"; then
2855 ac_cv_prog_CC
="$CC" # Let the user override the test.
2857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir
=.
2862 for ac_exec_ext
in '' $ac_executable_extensions; do
2863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2864 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2875 if test -n "$CC"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2877 $as_echo "$CC" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2884 test -n "$CC" && break
2887 if test -z "$CC"; then
2889 for ac_prog
in cl.exe
2891 # Extract the first word of "$ac_prog", so it can be a program name with args.
2892 set dummy
$ac_prog; ac_word
=$2
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2894 $as_echo_n "checking for $ac_word... " >&6; }
2895 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2896 $as_echo_n "(cached) " >&6
2898 if test -n "$ac_ct_CC"; then
2899 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2901 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2905 test -z "$as_dir" && as_dir
=.
2906 for ac_exec_ext
in '' $ac_executable_extensions; do
2907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2908 ac_cv_prog_ac_ct_CC
="$ac_prog"
2909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2918 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2919 if test -n "$ac_ct_CC"; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2921 $as_echo "$ac_ct_CC" >&6; }
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2924 $as_echo "no" >&6; }
2928 test -n "$ac_ct_CC" && break
2931 if test "x$ac_ct_CC" = x
; then
2934 case $cross_compiling:$ac_tool_warned in
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2938 ac_tool_warned
=yes ;;
2947 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2948 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 as_fn_error
"no acceptable C compiler found in \$PATH
2950 See \`config.log' for more details." "$LINENO" 5; }
2952 # Provide some information about the compiler.
2953 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2956 for ac_option
in --version -v -V -qversion; do
2957 { { ac_try
="$ac_compiler $ac_option >&5"
2959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2960 *) ac_try_echo=$ac_try;;
2962 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2963 $as_echo "$ac_try_echo"; } >&5
2964 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2966 if test -s conftest.err; then
2968 ... rest of stderr output deleted ...
2969 10q' conftest.err >conftest.er1
2970 cat conftest.er1 >&5
2972 rm -f conftest.er1 conftest.err
2973 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2974 test $ac_status = 0; }
2977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2978 /* end confdefs.h. */
2988 ac_clean_files_save=$ac_clean_files
2989 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2990 # Try to create an executable without -o first, disregard a.out.
2991 # It will help us diagnose broken compilers, and finding out an intuition
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2994 $as_echo_n "checking whether the C compiler works... " >&6; }
2995 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2997 # The possible output files:
2998 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3001 for ac_file in $ac_files
3004 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3005 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3010 if { { ac_try="$ac_link_default"
3012 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3013 *) ac_try_echo
=$ac_try;;
3015 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3016 $as_echo "$ac_try_echo"; } >&5
3017 (eval "$ac_link_default") 2>&5
3019 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3020 test $ac_status = 0; }; then :
3021 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3022 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3023 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3024 # so that the user can short-circuit this test for compilers unknown to
3026 for ac_file
in $ac_files ''
3028 test -f "$ac_file" ||
continue
3030 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3033 # We found the default executable, but exeext='' is most
3037 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3039 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3041 # We set ac_cv_exeext here because the later test for it is not
3042 # safe: cross compilers may not add the suffix if given an `-o'
3043 # argument, so we may need to know it at that point already.
3044 # Even if this section looks crufty: it has the advantage of
3051 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3056 if test -z "$ac_file"; then :
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3058 $as_echo "no" >&6; }
3059 $as_echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.
$ac_ext >&5
3062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3064 { as_fn_set_status
77
3065 as_fn_error
"C compiler cannot create executables
3066 See \`config.log' for more details." "$LINENO" 5; }; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3069 $as_echo "yes" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3072 $as_echo_n "checking for C compiler default output file name... " >&6; }
3073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3074 $as_echo "$ac_file" >&6; }
3075 ac_exeext
=$ac_cv_exeext
3077 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3078 ac_clean_files
=$ac_clean_files_save
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3080 $as_echo_n "checking for suffix of executables... " >&6; }
3081 if { { ac_try
="$ac_link"
3083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3087 $as_echo "$ac_try_echo"; } >&5
3088 (eval "$ac_link") 2>&5
3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 test $ac_status = 0; }; then :
3092 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3093 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3094 # work properly (i.e., refer to `conftest.exe'), while it won't with
3096 for ac_file
in conftest.exe conftest conftest.
*; do
3097 test -f "$ac_file" ||
continue
3099 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3100 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3109 See \`config.log' for more details." "$LINENO" 5; }
3111 rm -f conftest conftest
$ac_cv_exeext
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3113 $as_echo "$ac_cv_exeext" >&6; }
3115 rm -f conftest.
$ac_ext
3116 EXEEXT
=$ac_cv_exeext
3118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3124 FILE *f = fopen ("conftest.out", "w");
3125 return ferror (f) || fclose (f) != 0;
3131 ac_clean_files
="$ac_clean_files conftest.out"
3132 # Check that the compiler produces executables we can run. If not, either
3133 # the compiler is broken, or we cross compile.
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3135 $as_echo_n "checking whether we are cross compiling... " >&6; }
3136 if test "$cross_compiling" != yes; then
3137 { { ac_try
="$ac_link"
3139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3143 $as_echo "$ac_try_echo"; } >&5
3144 (eval "$ac_link") 2>&5
3146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3147 test $ac_status = 0; }
3148 if { ac_try='./conftest$ac_cv_exeext'
3149 { { case "(($ac_try" in
3150 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3151 *) ac_try_echo
=$ac_try;;
3153 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3154 $as_echo "$ac_try_echo"; } >&5
3155 (eval "$ac_try") 2>&5
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; }; }; then
3161 if test "$cross_compiling" = maybe
; then
3164 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3165 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3166 as_fn_error
"cannot run C compiled programs.
3167 If you meant to cross compile, use \`--host'.
3168 See \`config.log' for more details." "$LINENO" 5; }
3172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3173 $as_echo "$cross_compiling" >&6; }
3175 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3176 ac_clean_files
=$ac_clean_files_save
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3178 $as_echo_n "checking for suffix of object files... " >&6; }
3179 if test "${ac_cv_objext+set}" = set; then :
3180 $as_echo_n "(cached) " >&6
3182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3193 rm -f conftest.o conftest.obj
3194 if { { ac_try
="$ac_compile"
3196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_compile") 2>&5
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }; then :
3205 for ac_file in conftest.o conftest.obj conftest.*; do
3206 test -f "$ac_file" || continue;
3208 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3209 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3214 $as_echo "$as_me: failed program was:" >&5
3215 sed 's/^/| /' conftest.$ac_ext >&5
3217 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3219 as_fn_error "cannot compute suffix of object files
: cannot compile
3220 See \
`config.log' for more details." "$LINENO" 5; }
3222 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3225 $as_echo "$ac_cv_objext" >&6; }
3226 OBJEXT=$ac_cv_objext
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3229 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3230 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3231 $as_echo_n "(cached) " >&6
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3247 if ac_fn_c_try_compile "$LINENO"; then :
3252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3257 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3258 if test $ac_compiler_gnu = yes; then
3263 ac_test_CFLAGS=${CFLAGS+set}
3264 ac_save_CFLAGS=$CFLAGS
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3266 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3267 if test "${ac_cv_prog_cc_g+set}" = set; then :
3268 $as_echo_n "(cached) " >&6
3270 ac_save_c_werror_flag=$ac_c_werror_flag
3271 ac_c_werror_flag=yes
3274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3275 /* end confdefs.h. */
3285 if ac_fn_c_try_compile "$LINENO"; then :
3289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3290 /* end confdefs.h. */
3300 if ac_fn_c_try_compile "$LINENO"; then :
3303 ac_c_werror_flag=$ac_save_c_werror_flag
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3316 if ac_fn_c_try_compile "$LINENO"; then :
3319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3324 ac_c_werror_flag=$ac_save_c_werror_flag
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3327 $as_echo "$ac_cv_prog_cc_g" >&6; }
3328 if test "$ac_test_CFLAGS" = set; then
3329 CFLAGS=$ac_save_CFLAGS
3330 elif test $ac_cv_prog_cc_g = yes; then
3331 if test "$GCC" = yes; then
3337 if test "$GCC" = yes; then
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3344 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3345 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3348 ac_cv_prog_cc_c89=no
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3354 #include <sys/types.h>
3355 #include <sys/stat.h>
3356 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3357 struct buf { int x; };
3358 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3359 static char *e (p, i)
3365 static char *f (char * (*g) (char **, int), char **p, ...)
3370 s = g (p, va_arg (v,int));
3375 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3376 function prototypes and stuff, but not '\xHH' hex character constants.
3377 These don't provoke an error unfortunately, instead are silently treated
3378 as 'x'. The following induces an error, until -std is added to get
3379 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3380 array size at least. It's necessary to write '\x00'==0 to get something
3381 that's true only with -std. */
3382 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3384 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3385 inside strings and character constants. */
3387 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3389 int test (int i, double x);
3390 struct s1 {int (*f) (int a);};
3391 struct s2 {int (*f) (double a);};
3392 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3398 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3403 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3404 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3406 CC="$ac_save_CC $ac_arg"
3407 if ac_fn_c_try_compile "$LINENO"; then :
3408 ac_cv_prog_cc_c89=$ac_arg
3410 rm -f core conftest.err conftest.$ac_objext
3411 test "x$ac_cv_prog_cc_c89" != "xno" && break
3413 rm -f conftest.$ac_ext
3418 case "x$ac_cv_prog_cc_c89" in
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3421 $as_echo "none needed" >&6; } ;;
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3424 $as_echo "unsupported" >&6; } ;;
3426 CC="$CC $ac_cv_prog_cc_c89"
3427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3428 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3430 if test "x$ac_cv_prog_cc_c89" != xno; then :
3435 ac_cpp='$CPP $CPPFLAGS'
3436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3440 case $ac_cv_prog_cc_stdc in #(
3442 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3445 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3446 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3447 $as_echo_n "(cached) " >&6
3449 ac_cv_prog_cc_c99=no
3451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3452 /* end confdefs.h. */
3454 #include <stdbool.h>
3459 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3460 #define debug(...) fprintf (stderr, __VA_ARGS__)
3461 #define showlist(...) puts (#__VA_ARGS__)
3462 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3464 test_varargs_macros (void)
3469 debug ("X = %d\n", x);
3470 showlist (The first, second, and third items.);
3471 report (x>y, "x is %d but y is %d", x, y);
3474 // Check long long types.
3475 #define BIG64 18446744073709551615ull
3476 #define BIG32 4294967295ul
3477 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3479 your preprocessor is broken;
3483 your preprocessor is broken;
3485 static long long int bignum = -9223372036854775807LL;
3486 static unsigned long long int ubignum = BIG64;
3488 struct incomplete_array
3496 const wchar_t *name;
3500 typedef const char *ccp;
3503 test_restrict (ccp restrict text)
3505 // See if C++-style comments work.
3506 // Iterate through items via the restricted pointer.
3507 // Also check for declarations in for loops.
3508 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3513 // Check varargs and va_copy.
3515 test_varargs (const char *format, ...)
3518 va_start (args, format);
3520 va_copy (args_copy, args);
3531 str = va_arg (args_copy, const char *);
3534 number = va_arg (args_copy, int);
3537 fnumber = va_arg (args_copy, double);
3552 _Bool success = false;
3555 if (test_restrict ("String literal") == 0)
3557 char *restrict newvar = "Another string";
3560 test_varargs ("s, d' f .", "string", 65, 34.234);
3561 test_varargs_macros ();
3563 // Check flexible array members.
3564 struct incomplete_array *ia =
3565 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3567 for (int i = 0; i < ia->datasize; ++i)
3568 ia->data[i] = i * 1.234;
3570 // Check named initializers.
3571 struct named_init ni = {
3573 .name = L"Test wide string",
3574 .average = 543.34343,
3579 int dynamic_array[ni.number];
3580 dynamic_array[ni.number - 1] = 543;
3582 // work around unused variable warnings
3583 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3584 || dynamic_array[ni.number - 1] != 543);
3590 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3592 CC="$ac_save_CC $ac_arg"
3593 if ac_fn_c_try_compile "$LINENO"; then :
3594 ac_cv_prog_cc_c99=$ac_arg
3596 rm -f core conftest.err conftest.$ac_objext
3597 test "x$ac_cv_prog_cc_c99" != "xno" && break
3599 rm -f conftest.$ac_ext
3604 case "x$ac_cv_prog_cc_c99" in
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3607 $as_echo "none needed" >&6; } ;;
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3610 $as_echo "unsupported" >&6; } ;;
3612 CC="$CC $ac_cv_prog_cc_c99"
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3614 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3616 if test "x$ac_cv_prog_cc_c99" != xno; then :
3617 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3620 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3621 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3622 $as_echo_n "(cached) " >&6
3624 ac_cv_prog_cc_c89=no
3626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3627 /* end confdefs.h. */
3630 #include <sys/types.h>
3631 #include <sys/stat.h>
3632 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3633 struct buf { int x; };
3634 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3635 static char *e (p, i)
3641 static char *f (char * (*g) (char **, int), char **p, ...)
3646 s = g (p, va_arg (v,int));
3651 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3652 function prototypes and stuff, but not '\xHH' hex character constants.
3653 These don't provoke an error unfortunately, instead are silently treated
3654 as 'x'. The following induces an error, until -std is added to get
3655 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3656 array size at least. It's necessary to write '\x00'==0 to get something
3657 that's true only with -std. */
3658 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3660 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3661 inside strings and character constants. */
3663 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3665 int test (int i, double x);
3666 struct s1 {int (*f) (int a);};
3667 struct s2 {int (*f) (double a);};
3668 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3674 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3679 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3680 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3682 CC="$ac_save_CC $ac_arg"
3683 if ac_fn_c_try_compile "$LINENO"; then :
3684 ac_cv_prog_cc_c89=$ac_arg
3686 rm -f core conftest.err conftest.$ac_objext
3687 test "x$ac_cv_prog_cc_c89" != "xno" && break
3689 rm -f conftest.$ac_ext
3694 case "x$ac_cv_prog_cc_c89" in
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3697 $as_echo "none needed" >&6; } ;;
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3700 $as_echo "unsupported" >&6; } ;;
3702 CC="$CC $ac_cv_prog_cc_c89"
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3704 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3706 if test "x$ac_cv_prog_cc_c89" != xno; then :
3707 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3709 ac_cv_prog_cc_stdc=no
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3716 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3717 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3718 $as_echo_n "(cached) " >&6
3721 case $ac_cv_prog_cc_stdc in #(
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3724 $as_echo "unsupported" >&6; } ;; #(
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3727 $as_echo "none needed" >&6; } ;; #(
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3730 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3734 ac_cpp='$CPP $CPPFLAGS'
3735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3739 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3740 # On Suns, sometimes $CPP names a directory.
3741 if test -n "$CPP" && test -d "$CPP"; then
3744 if test -z "$CPP"; then
3745 if test "${ac_cv_prog_CPP+set}" = set; then :
3746 $as_echo_n "(cached) " >&6
3748 # Double quotes because CPP needs to be expanded
3749 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3752 for ac_c_preproc_warn_flag in '' yes
3754 # Use a header file that comes with gcc, so configuring glibc
3755 # with a fresh cross-compiler works.
3756 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3757 # <limits.h> exists even on freestanding compilers.
3758 # On the NeXT, cc -E runs the code through the compiler's parser,
3759 # not just through cpp. "Syntax error" is here to catch this case.
3760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3761 /* end confdefs.h. */
3763 # include <limits.h>
3765 # include <assert.h>
3769 if ac_fn_c_try_cpp "$LINENO"; then :
3772 # Broken: fails on valid input.
3775 rm -f conftest.err conftest.$ac_ext
3777 # OK, works on sane cases. Now check whether nonexistent headers
3778 # can be detected and how.
3779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3780 /* end confdefs.h. */
3781 #include <ac_nonexistent.h>
3783 if ac_fn_c_try_cpp "$LINENO"; then :
3784 # Broken: success on invalid input.
3787 # Passes both tests.
3791 rm -f conftest.err conftest.$ac_ext
3794 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3795 rm -f conftest.err conftest.
$ac_ext
3796 if $ac_preproc_ok; then :
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3809 $as_echo "$CPP" >&6; }
3811 for ac_c_preproc_warn_flag
in '' yes
3813 # Use a header file that comes with gcc, so configuring glibc
3814 # with a fresh cross-compiler works.
3815 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3816 # <limits.h> exists even on freestanding compilers.
3817 # On the NeXT, cc -E runs the code through the compiler's parser,
3818 # not just through cpp. "Syntax error" is here to catch this case.
3819 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3820 /* end confdefs.h. */
3822 # include <limits.h>
3824 # include <assert.h>
3828 if ac_fn_c_try_cpp
"$LINENO"; then :
3831 # Broken: fails on valid input.
3834 rm -f conftest.err conftest.
$ac_ext
3836 # OK, works on sane cases. Now check whether nonexistent headers
3837 # can be detected and how.
3838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3840 #include <ac_nonexistent.h>
3842 if ac_fn_c_try_cpp
"$LINENO"; then :
3843 # Broken: success on invalid input.
3846 # Passes both tests.
3850 rm -f conftest.err conftest.
$ac_ext
3853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3854 rm -f conftest.err conftest.
$ac_ext
3855 if $ac_preproc_ok; then :
3858 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3860 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3861 See \`config.log' for more details." "$LINENO" 5; }
3865 ac_cpp
='$CPP $CPPFLAGS'
3866 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3867 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3868 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3871 # Check for a compatible awk
3872 for ac_prog
in gawk nawk
3874 # Extract the first word of "$ac_prog", so it can be a program name with args.
3875 set dummy
$ac_prog; ac_word
=$2
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3877 $as_echo_n "checking for $ac_word... " >&6; }
3878 if test "${ac_cv_prog_AWK+set}" = set; then :
3879 $as_echo_n "(cached) " >&6
3881 if test -n "$AWK"; then
3882 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3888 test -z "$as_dir" && as_dir
=.
3889 for ac_exec_ext
in '' $ac_executable_extensions; do
3890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3891 ac_cv_prog_AWK
="$ac_prog"
3892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3902 if test -n "$AWK"; then
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3904 $as_echo "$AWK" >&6; }
3906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3907 $as_echo "no" >&6; }
3911 test -n "$AWK" && break
3914 if test "$AWK" = ""; then
3915 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3917 # Extract the first word of "mmake", so it can be a program name with args.
3918 set dummy mmake
; ac_word
=$2
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3920 $as_echo_n "checking for $ac_word... " >&6; }
3921 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3922 $as_echo_n "(cached) " >&6
3924 if test -n "$MMAKE"; then
3925 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3927 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3931 test -z "$as_dir" && as_dir
=.
3932 for ac_exec_ext
in '' $ac_executable_extensions; do
3933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3934 ac_cv_prog_MMAKE
="mmake "
3935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3944 MMAKE
=$ac_cv_prog_MMAKE
3945 if test -n "$MMAKE"; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3947 $as_echo "$MMAKE" >&6; }
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3950 $as_echo "no" >&6; }
3955 # Perform some default variable assignments. Note all of these will be
3956 # Regenerated from the script, so there is no need to cache them.
3959 if test "$GCC" = "yes"; then
3960 aros_gcc_ld
=`$CC -print-prog-name=ld`
3961 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3962 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3968 case $aros_host_ld in
3970 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3974 for as_dir
in `dirname $aros_gcc_ld`
3977 test -z "$as_dir" && as_dir
=.
3978 for ac_exec_ext
in '' $ac_executable_extensions; do
3979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3980 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3991 aros_host_ld
=$ac_cv_path_aros_host_ld
3992 if test -n "$aros_host_ld"; then
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3994 $as_echo "$aros_host_ld" >&6; }
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3997 $as_echo "no" >&6; }
4002 if test "$aros_host_ld" = ""; then
4003 # Extract the first word of "ld", so it can be a program name with args.
4004 set dummy ld
; ac_word
=$2
4005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4006 $as_echo_n "checking for $ac_word... " >&6; }
4007 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4008 $as_echo_n "(cached) " >&6
4010 case $aros_host_ld in
4012 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4019 test -z "$as_dir" && as_dir
=.
4020 for ac_exec_ext
in '' $ac_executable_extensions; do
4021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4022 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4033 aros_host_ld
=$ac_cv_path_aros_host_ld
4034 if test -n "$aros_host_ld"; then
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4036 $as_echo "$aros_host_ld" >&6; }
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4039 $as_echo "no" >&6; }
4044 if test "$aros_host_ld" = ""; then
4045 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4047 aros_host_make
="make"
4048 aros_host_cflags
=$CFLAGS
4049 aros_host_ldflags
=$LDFLAGS
4050 aros_host_debug
="-g -O0"
4051 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4052 aros_host_mkargs
="--no-print-directory"
4053 aros_host_incl
="/usr/include"
4054 aros_host_exe_suffix
="$EXEEXT"
4055 aros_host_lib_suffix
=""
4057 for ac_prog
in aclocal aclocal19 aclocal-1.9
4059 # Extract the first word of "$ac_prog", so it can be a program name with args.
4060 set dummy
$ac_prog; ac_word
=$2
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4062 $as_echo_n "checking for $ac_word... " >&6; }
4063 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4064 $as_echo_n "(cached) " >&6
4066 if test -n "$aros_host_aclocal"; then
4067 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4069 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4073 test -z "$as_dir" && as_dir
=.
4074 for ac_exec_ext
in '' $ac_executable_extensions; do
4075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4076 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4086 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4087 if test -n "$aros_host_aclocal"; then
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4089 $as_echo "$aros_host_aclocal" >&6; }
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4092 $as_echo "no" >&6; }
4096 test -n "$aros_host_aclocal" && break
4099 for ac_prog
in autoconf autoconf259 autoconf253
4101 # Extract the first word of "$ac_prog", so it can be a program name with args.
4102 set dummy
$ac_prog; ac_word
=$2
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4104 $as_echo_n "checking for $ac_word... " >&6; }
4105 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4106 $as_echo_n "(cached) " >&6
4108 if test -n "$aros_host_autoconf"; then
4109 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4111 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4115 test -z "$as_dir" && as_dir
=.
4116 for ac_exec_ext
in '' $ac_executable_extensions; do
4117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4118 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4119 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4128 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4129 if test -n "$aros_host_autoconf"; then
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4131 $as_echo "$aros_host_autoconf" >&6; }
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4134 $as_echo "no" >&6; }
4138 test -n "$aros_host_autoconf" && break
4141 for ac_prog
in autoheader autoheader259 autoheader253
4143 # Extract the first word of "$ac_prog", so it can be a program name with args.
4144 set dummy
$ac_prog; ac_word
=$2
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4146 $as_echo_n "checking for $ac_word... " >&6; }
4147 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4150 if test -n "$aros_host_autoheader"; then
4151 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4157 test -z "$as_dir" && as_dir
=.
4158 for ac_exec_ext
in '' $ac_executable_extensions; do
4159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4160 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4170 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4171 if test -n "$aros_host_autoheader"; then
4172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4173 $as_echo "$aros_host_autoheader" >&6; }
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4176 $as_echo "no" >&6; }
4180 test -n "$aros_host_autoheader" && break
4183 for ac_prog
in automake automake19 automake-1.9
4185 # Extract the first word of "$ac_prog", so it can be a program name with args.
4186 set dummy
$ac_prog; ac_word
=$2
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4188 $as_echo_n "checking for $ac_word... " >&6; }
4189 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4190 $as_echo_n "(cached) " >&6
4192 if test -n "$aros_host_automake"; then
4193 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4199 test -z "$as_dir" && as_dir
=.
4200 for ac_exec_ext
in '' $ac_executable_extensions; do
4201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4202 ac_cv_prog_aros_host_automake
="$ac_prog"
4203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4212 aros_host_automake
=$ac_cv_prog_aros_host_automake
4213 if test -n "$aros_host_automake"; then
4214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4215 $as_echo "$aros_host_automake" >&6; }
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4218 $as_echo "no" >&6; }
4222 test -n "$aros_host_automake" && break
4226 if test "$aros_host_aclocal" = ""; then
4227 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4229 if test "$aros_host_automake" = ""; then
4230 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4233 case "$aros_host_cc" in
4235 aros_host_cc_pipe
="-pipe"
4238 aros_host_cc_pipe
=""
4241 aros_host_cc_pipe
=""
4245 aros_kernel_cc_includes
=""
4246 aros_target_cc_includes
=""
4248 # This is the main host configuration section. It is where the host
4249 # can change the values of any variables it needs to change. We do
4250 # not look at anything that compiles to the target yet, we'll get
4255 aros_host_arch
="aros"
4256 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4259 aros_host_cpu
="i386"
4262 aros_host_cpu
="x86_64"
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4269 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4270 aros_host_cpu
="$host_cpu"
4276 aros_host_arch
="linux"
4277 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4280 aros_host_cpu
="i386"
4283 aros_host_cpu
="x86_64"
4286 aros_host_cpu
="m68k"
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4296 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4297 aros_host_cpu
="$host_cpu"
4303 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4304 aros_host_make
="gmake"
4305 aros_host_arch
="freebsd"
4306 aros_host_cpu
="i386"
4308 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4312 aros_object_format
="elf_i386"
4316 aros_object_format
="elf_i386_fbsd"
4323 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4324 aros_host_arch
="darwin"
4327 aros_host_cpu
="i386"
4330 aros_host_cpu
="x86_64"
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4337 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4338 aros_host_cpu
="$host_cpu"
4342 aros_host_ldflags
="$aros_host_ldflags -liconv"
4347 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4348 aros_host_make
="gmake"
4349 aros_host_arch
="dragonfly"
4352 aros_host_cpu
="i386"
4355 aros_host_cpu
="x86_64"
4358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4359 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4360 aros_host_cpu
="$host_cpu"
4366 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4367 aros_host_make
="gmake"
4368 aros_host_arch
="netbsd"
4371 aros_host_cpu
="i386"
4374 aros_host_cpu
="m68k"
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4378 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4379 aros_host_cpu
="$host_cpu"
4382 aros_host_lib_suffix
=".0.0"
4386 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4387 aros_host_make
="gmake"
4388 aros_host_arch
="openbsd"
4391 aros_host_cpu
="i386"
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4395 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4396 aros_host_cpu
="$host_cpu"
4402 aros_host_arch
="solaris"
4403 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4406 aros_host_cpu
="i386"
4409 aros_host_cpu
="sparc"
4412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4413 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4414 aros_host_cpu
="$host_cpu"
4420 aros_host_arch
="morphos"
4425 aros_host_arch
="amiga"
4430 TOUCH
="/gg/bin/touch"
4433 aros_host_cpu
="m68k"
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
="cygwin"
4448 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4449 android_build_os
="windows"
4450 android_tool
="android.bat"
4451 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4455 aros_host_cpu
="i386"
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4459 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4460 aros_host_cpu
="$host_cpu"
4466 aros_host_arch
="mingw32"
4467 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4468 android_build_os
="windows"
4469 android_tool
="android.bat"
4470 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4474 aros_host_cpu
="i386"
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4478 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4479 aros_host_cpu
="$host_cpu"
4484 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4488 # Extract the first word of "ar", so it can be a program name with args.
4489 set dummy
ar; ac_word
=$2
4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4491 $as_echo_n "checking for $ac_word... " >&6; }
4492 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4493 $as_echo_n "(cached) " >&6
4495 if test -n "$aros_host_ar"; then
4496 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4502 test -z "$as_dir" && as_dir
=.
4503 for ac_exec_ext
in '' $ac_executable_extensions; do
4504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4505 ac_cv_prog_aros_host_ar
="ar cr"
4506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4515 aros_host_ar
=$ac_cv_prog_aros_host_ar
4516 if test -n "$aros_host_ar"; then
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4518 $as_echo "$aros_host_ar" >&6; }
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4521 $as_echo "no" >&6; }
4525 if test "$aros_host_ar" = ""; then
4526 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4528 # Extract the first word of "ranlib", so it can be a program name with args.
4529 set dummy ranlib
; ac_word
=$2
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4531 $as_echo_n "checking for $ac_word... " >&6; }
4532 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4535 if test -n "$aros_host_ranlib"; then
4536 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4538 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4542 test -z "$as_dir" && as_dir
=.
4543 for ac_exec_ext
in '' $ac_executable_extensions; do
4544 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4545 ac_cv_prog_aros_host_ranlib
="ranlib "
4546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4556 if test -n "$aros_host_ranlib"; then
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4558 $as_echo "$aros_host_ranlib" >&6; }
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4561 $as_echo "no" >&6; }
4565 if test "$aros_host_ranlib" = ""; then
4566 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4568 # Extract the first word of "strip", so it can be a program name with args.
4569 set dummy strip
; ac_word
=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4573 $as_echo_n "(cached) " >&6
4575 if test -n "$aros_host_strip"; then
4576 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4578 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 test -z "$as_dir" && as_dir
=.
4583 for ac_exec_ext
in '' $ac_executable_extensions; do
4584 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4585 ac_cv_prog_aros_host_strip
="strip "
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4595 aros_host_strip
=$ac_cv_prog_aros_host_strip
4596 if test -n "$aros_host_strip"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4598 $as_echo "$aros_host_strip" >&6; }
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4605 if test "$aros_host_strip" = ""; then
4606 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4609 # Extract the first word of "rm", so it can be a program name with args.
4610 set dummy
rm; ac_word
=$2
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4612 $as_echo_n "checking for $ac_word... " >&6; }
4613 if test "${ac_cv_prog_RM+set}" = set; then :
4614 $as_echo_n "(cached) " >&6
4616 if test -n "$RM"; then
4617 ac_cv_prog_RM
="$RM" # Let the user override the test.
4619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4623 test -z "$as_dir" && as_dir
=.
4624 for ac_exec_ext
in '' $ac_executable_extensions; do
4625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4626 ac_cv_prog_RM
="rm -rf"
4627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4637 if test -n "$RM"; then
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4639 $as_echo "$RM" >&6; }
4641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4642 $as_echo "no" >&6; }
4646 if test "$RM" = ""; then
4647 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4649 # Extract the first word of "cp", so it can be a program name with args.
4650 set dummy
cp; ac_word
=$2
4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4652 $as_echo_n "checking for $ac_word... " >&6; }
4653 if test "${ac_cv_prog_CP+set}" = set; then :
4654 $as_echo_n "(cached) " >&6
4656 if test -n "$CP"; then
4657 ac_cv_prog_CP
="$CP" # Let the user override the test.
4659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4663 test -z "$as_dir" && as_dir
=.
4664 for ac_exec_ext
in '' $ac_executable_extensions; do
4665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4677 if test -n "$CP"; then
4678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4679 $as_echo "$CP" >&6; }
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 $as_echo "no" >&6; }
4686 if test "$CP" = ""; then
4687 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4689 # Extract the first word of "mv", so it can be a program name with args.
4690 set dummy
mv; ac_word
=$2
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4692 $as_echo_n "checking for $ac_word... " >&6; }
4693 if test "${ac_cv_prog_MV+set}" = set; then :
4694 $as_echo_n "(cached) " >&6
4696 if test -n "$MV"; then
4697 ac_cv_prog_MV
="$MV" # Let the user override the test.
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir
=.
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4717 if test -n "$MV"; then
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4719 $as_echo "$MV" >&6; }
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4722 $as_echo "no" >&6; }
4726 if test "$MV" = ""; then
4727 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4729 # Extract the first word of "echo", so it can be a program name with args.
4730 set dummy
echo; ac_word
=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if test "${ac_cv_prog_ECHO+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4736 if test -n "$ECHO"; then
4737 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4743 test -z "$as_dir" && as_dir
=.
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4746 ac_cv_prog_ECHO
="echo "
4747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 ECHO
=$ac_cv_prog_ECHO
4757 if test -n "$ECHO"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4759 $as_echo "$ECHO" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4766 if test "$ECHO" = ""; then
4767 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4769 # Extract the first word of "mkdir", so it can be a program name with args.
4770 set dummy mkdir
; ac_word
=$2
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4772 $as_echo_n "checking for $ac_word... " >&6; }
4773 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4774 $as_echo_n "(cached) " >&6
4776 if test -n "$MKDIR"; then
4777 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4779 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4783 test -z "$as_dir" && as_dir
=.
4784 for ac_exec_ext
in '' $ac_executable_extensions; do
4785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4786 ac_cv_prog_MKDIR
="mkdir -p"
4787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4796 MKDIR
=$ac_cv_prog_MKDIR
4797 if test -n "$MKDIR"; then
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4799 $as_echo "$MKDIR" >&6; }
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 $as_echo "no" >&6; }
4806 if test "$MKDIR" = ""; then
4807 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4809 # Extract the first word of "touch", so it can be a program name with args.
4810 set dummy
touch; ac_word
=$2
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4812 $as_echo_n "checking for $ac_word... " >&6; }
4813 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4814 $as_echo_n "(cached) " >&6
4816 if test -n "$TOUCH"; then
4817 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4823 test -z "$as_dir" && as_dir
=.
4824 for ac_exec_ext
in '' $ac_executable_extensions; do
4825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4826 ac_cv_prog_TOUCH
="touch "
4827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4836 TOUCH
=$ac_cv_prog_TOUCH
4837 if test -n "$TOUCH"; then
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4839 $as_echo "$TOUCH" >&6; }
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4842 $as_echo "no" >&6; }
4846 if test "$TOUCH" = ""; then
4847 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4849 # Extract the first word of "sort", so it can be a program name with args.
4850 set dummy
sort; ac_word
=$2
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4852 $as_echo_n "checking for $ac_word... " >&6; }
4853 if test "${ac_cv_prog_SORT+set}" = set; then :
4854 $as_echo_n "(cached) " >&6
4856 if test -n "$SORT"; then
4857 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4863 test -z "$as_dir" && as_dir
=.
4864 for ac_exec_ext
in '' $ac_executable_extensions; do
4865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4866 ac_cv_prog_SORT
="sort "
4867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4876 SORT
=$ac_cv_prog_SORT
4877 if test -n "$SORT"; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4879 $as_echo "$SORT" >&6; }
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4882 $as_echo "no" >&6; }
4886 if test "$SORT" = ""; then
4887 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4889 # Extract the first word of "uniq", so it can be a program name with args.
4890 set dummy
uniq; ac_word
=$2
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4892 $as_echo_n "checking for $ac_word... " >&6; }
4893 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4894 $as_echo_n "(cached) " >&6
4896 if test -n "$UNIQ"; then
4897 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4903 test -z "$as_dir" && as_dir
=.
4904 for ac_exec_ext
in '' $ac_executable_extensions; do
4905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4906 ac_cv_prog_UNIQ
="uniq "
4907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4916 UNIQ
=$ac_cv_prog_UNIQ
4917 if test -n "$UNIQ"; then
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4919 $as_echo "$UNIQ" >&6; }
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4922 $as_echo "no" >&6; }
4926 if test "$UNIQ" = ""; then
4927 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4929 # Extract the first word of "true", so it can be a program name with args.
4930 set dummy true
; ac_word
=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_NOP+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4936 if test -n "$NOP"; then
4937 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4943 test -z "$as_dir" && as_dir
=.
4944 for ac_exec_ext
in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_NOP
="true "
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4957 if test -n "$NOP"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4959 $as_echo "$NOP" >&6; }
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4966 if test "$NOP" = ""; then
4967 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4969 # Extract the first word of "cat", so it can be a program name with args.
4970 set dummy
cat; ac_word
=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_CAT+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4976 if test -n "$CAT"; then
4977 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4983 test -z "$as_dir" && as_dir
=.
4984 for ac_exec_ext
in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_CAT
="cat "
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4997 if test -n "$CAT"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
4999 $as_echo "$CAT" >&6; }
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5006 if test "$CAT" = ""; then
5007 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5009 # Extract the first word of "bison", so it can be a program name with args.
5010 set dummy bison
; ac_word
=$2
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5012 $as_echo_n "checking for $ac_word... " >&6; }
5013 if test "${ac_cv_prog_BISON+set}" = set; then :
5014 $as_echo_n "(cached) " >&6
5016 if test -n "$BISON"; then
5017 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5023 test -z "$as_dir" && as_dir
=.
5024 for ac_exec_ext
in '' $ac_executable_extensions; do
5025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5026 ac_cv_prog_BISON
="bison "
5027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5036 BISON
=$ac_cv_prog_BISON
5037 if test -n "$BISON"; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5039 $as_echo "$BISON" >&6; }
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5042 $as_echo "no" >&6; }
5046 if test "$BISON" = ""; then
5047 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5049 # Extract the first word of "flex", so it can be a program name with args.
5050 set dummy flex
; ac_word
=$2
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5052 $as_echo_n "checking for $ac_word... " >&6; }
5053 if test "${ac_cv_prog_FLEX+set}" = set; then :
5054 $as_echo_n "(cached) " >&6
5056 if test -n "$FLEX"; then
5057 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5063 test -z "$as_dir" && as_dir
=.
5064 for ac_exec_ext
in '' $ac_executable_extensions; do
5065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5066 ac_cv_prog_FLEX
="flex "
5067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5076 FLEX
=$ac_cv_prog_FLEX
5077 if test -n "$FLEX"; then
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5079 $as_echo "$FLEX" >&6; }
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5082 $as_echo "no" >&6; }
5086 if test "$FLEX" = ""; then
5087 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5089 # Extract the first word of "pngtopnm", so it can be a program name with args.
5090 set dummy pngtopnm
; ac_word
=$2
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5092 $as_echo_n "checking for $ac_word... " >&6; }
5093 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5094 $as_echo_n "(cached) " >&6
5096 if test -n "$PNGTOPNM"; then
5097 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_prog_PNGTOPNM
="pngtopnm "
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5116 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5117 if test -n "$PNGTOPNM"; then
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5119 $as_echo "$PNGTOPNM" >&6; }
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 $as_echo "no" >&6; }
5126 if test "$PNGTOPNM" = ""; then
5127 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5129 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5130 set dummy ppmtoilbm
; ac_word
=$2
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 $as_echo_n "checking for $ac_word... " >&6; }
5133 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5134 $as_echo_n "(cached) " >&6
5136 if test -n "$PPMTOILBM"; then
5137 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5143 test -z "$as_dir" && as_dir
=.
5144 for ac_exec_ext
in '' $ac_executable_extensions; do
5145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5146 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5156 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5157 if test -n "$PPMTOILBM"; then
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5159 $as_echo "$PPMTOILBM" >&6; }
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5162 $as_echo "no" >&6; }
5166 if test "$PPMTOILBM" = ""; then
5167 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5169 # Extract the first word of "sed", so it can be a program name with args.
5170 set dummy
sed; ac_word
=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if test "${ac_cv_prog_SED+set}" = set; then :
5174 $as_echo_n "(cached) " >&6
5176 if test -n "$SED"; then
5177 ac_cv_prog_SED
="$SED" # Let the user override the test.
5179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5183 test -z "$as_dir" && as_dir
=.
5184 for ac_exec_ext
in '' $ac_executable_extensions; do
5185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5186 ac_cv_prog_SED
="sed "
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 if test -n "$SED"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5199 $as_echo "$SED" >&6; }
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 if test "$SED" = ""; then
5207 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5209 # Extract the first word of "chmod", so it can be a program name with args.
5210 set dummy
chmod; ac_word
=$2
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5212 $as_echo_n "checking for $ac_word... " >&6; }
5213 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5214 $as_echo_n "(cached) " >&6
5216 if test -n "$CHMOD"; then
5217 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5223 test -z "$as_dir" && as_dir
=.
5224 for ac_exec_ext
in '' $ac_executable_extensions; do
5225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5226 ac_cv_prog_CHMOD
="chmod "
5227 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5236 CHMOD
=$ac_cv_prog_CHMOD
5237 if test -n "$CHMOD"; then
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5239 $as_echo "$CHMOD" >&6; }
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5242 $as_echo "no" >&6; }
5246 if test "$CHMOD" = ""; then
5247 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5249 # Extract the first word of "patch", so it can be a program name with args.
5250 set dummy
patch; ac_word
=$2
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5252 $as_echo_n "checking for $ac_word... " >&6; }
5253 if test "${ac_cv_prog_PATCH+set}" = set; then :
5254 $as_echo_n "(cached) " >&6
5256 if test -n "$PATCH"; then
5257 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5259 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5263 test -z "$as_dir" && as_dir
=.
5264 for ac_exec_ext
in '' $ac_executable_extensions; do
5265 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5266 ac_cv_prog_PATCH
="patch "
5267 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5276 PATCH
=$ac_cv_prog_PATCH
5277 if test -n "$PATCH"; then
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5279 $as_echo "$PATCH" >&6; }
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5282 $as_echo "no" >&6; }
5286 if test "$PATCH" = ""; then
5287 as_fn_error
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5294 if test -n "$PYTHON"; then
5295 # If the user set $PYTHON, use it and don't search something else.
5296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5297 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5298 prog
="import sys, string
5299 # split strings by '.' and convert to numeric. Append some zeros
5300 # because we need at least 4 digits for the hex conversion.
5301 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5303 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5304 sys.exit(sys.hexversion < minverhex)"
5305 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5306 ($PYTHON -c "$prog") >&5 2>&5
5308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5309 (exit $ac_status); }; then :
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5311 $as_echo "yes" >&6; }
5313 as_fn_error
"too old" "$LINENO" 5
5315 am_display_PYTHON
=$PYTHON
5317 # Otherwise, try each interpreter until we find one that satisfies
5319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5320 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5321 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5322 $as_echo_n "(cached) " >&6
5325 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
5326 test "$am_cv_pathless_PYTHON" = none
&& break
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: $am_cv_pathless_PYTHON -c "$prog"" >&5
5335 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5338 (exit $ac_status); }; then :
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5344 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5345 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5346 if test "$am_cv_pathless_PYTHON" = none
; then
5349 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5350 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5352 $as_echo_n "checking for $ac_word... " >&6; }
5353 if test "${ac_cv_path_PYTHON+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5358 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5361 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5365 test -z "$as_dir" && as_dir
=.
5366 for ac_exec_ext
in '' $ac_executable_extensions; do
5367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5368 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5369 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5379 PYTHON
=$ac_cv_path_PYTHON
5380 if test -n "$PYTHON"; then
5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5382 $as_echo "$PYTHON" >&6; }
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5385 $as_echo "no" >&6; }
5390 am_display_PYTHON
=$am_cv_pathless_PYTHON
5394 if test "$PYTHON" = :; then
5395 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5400 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5401 if test "${am_cv_python_version+set}" = set; then :
5402 $as_echo_n "(cached) " >&6
5404 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5407 $as_echo "$am_cv_python_version" >&6; }
5408 PYTHON_VERSION
=$am_cv_python_version
5412 PYTHON_PREFIX
='${prefix}'
5414 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5419 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5420 if test "${am_cv_python_platform+set}" = set; then :
5421 $as_echo_n "(cached) " >&6
5423 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5426 $as_echo "$am_cv_python_platform" >&6; }
5427 PYTHON_PLATFORM
=$am_cv_python_platform
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5433 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5434 if test "${am_cv_python_pythondir+set}" = set; then :
5435 $as_echo_n "(cached) " >&6
5437 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5438 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5441 $as_echo "$am_cv_python_pythondir" >&6; }
5442 pythondir
=$am_cv_python_pythondir
5446 pkgpythondir
=\
${pythondir}/$PACKAGE
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5450 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5451 if test "${am_cv_python_pyexecdir+set}" = set; then :
5452 $as_echo_n "(cached) " >&6
5454 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5455 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5458 $as_echo "$am_cv_python_pyexecdir" >&6; }
5459 pyexecdir
=$am_cv_python_pyexecdir
5463 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5481 # Check for some includes for the X11 HIDD and the kernel
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5485 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5486 if test "${ac_cv_path_GREP+set}" = set; then :
5487 $as_echo_n "(cached) " >&6
5489 if test -z "$GREP"; then
5490 ac_path_GREP_found
=false
5491 # Loop through the user's path and test for each of PROGNAME-LIST
5492 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5493 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5496 test -z "$as_dir" && as_dir
=.
5497 for ac_prog
in grep ggrep
; do
5498 for ac_exec_ext
in '' $ac_executable_extensions; do
5499 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5500 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5501 # Check for GNU ac_path_GREP and select it if it is found.
5502 # Check for GNU $ac_path_GREP
5503 case `"$ac_path_GREP" --version 2>&1` in
5505 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5508 $as_echo_n 0123456789 >"conftest.in"
5511 cat "conftest.in" "conftest.in" >"conftest.tmp"
5512 mv "conftest.tmp" "conftest.in"
5513 cp "conftest.in" "conftest.nl"
5514 $as_echo 'GREP' >> "conftest.nl"
5515 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5516 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5517 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5518 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5519 # Best one so far, save it but keep looking for a better one
5520 ac_cv_path_GREP
="$ac_path_GREP"
5521 ac_path_GREP_max
=$ac_count
5523 # 10*(2^10) chars as input seems more than enough
5524 test $ac_count -gt 10 && break
5526 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5529 $ac_path_GREP_found && break 3
5534 if test -z "$ac_cv_path_GREP"; then
5535 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5538 ac_cv_path_GREP
=$GREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5543 $as_echo "$ac_cv_path_GREP" >&6; }
5544 GREP
="$ac_cv_path_GREP"
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5548 $as_echo_n "checking for egrep... " >&6; }
5549 if test "${ac_cv_path_EGREP+set}" = set; then :
5550 $as_echo_n "(cached) " >&6
5552 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5553 then ac_cv_path_EGREP
="$GREP -E"
5555 if test -z "$EGREP"; then
5556 ac_path_EGREP_found
=false
5557 # Loop through the user's path and test for each of PROGNAME-LIST
5558 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5559 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5562 test -z "$as_dir" && as_dir
=.
5563 for ac_prog
in egrep; do
5564 for ac_exec_ext
in '' $ac_executable_extensions; do
5565 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5566 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5567 # Check for GNU ac_path_EGREP and select it if it is found.
5568 # Check for GNU $ac_path_EGREP
5569 case `"$ac_path_EGREP" --version 2>&1` in
5571 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5574 $as_echo_n 0123456789 >"conftest.in"
5577 cat "conftest.in" "conftest.in" >"conftest.tmp"
5578 mv "conftest.tmp" "conftest.in"
5579 cp "conftest.in" "conftest.nl"
5580 $as_echo 'EGREP' >> "conftest.nl"
5581 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5582 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5583 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5584 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5585 # Best one so far, save it but keep looking for a better one
5586 ac_cv_path_EGREP
="$ac_path_EGREP"
5587 ac_path_EGREP_max
=$ac_count
5589 # 10*(2^10) chars as input seems more than enough
5590 test $ac_count -gt 10 && break
5592 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5595 $ac_path_EGREP_found && break 3
5600 if test -z "$ac_cv_path_EGREP"; then
5601 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5604 ac_cv_path_EGREP
=$EGREP
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5610 $as_echo "$ac_cv_path_EGREP" >&6; }
5611 EGREP
="$ac_cv_path_EGREP"
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5615 $as_echo_n "checking for ANSI C header files... " >&6; }
5616 if test "${ac_cv_header_stdc+set}" = set; then :
5617 $as_echo_n "(cached) " >&6
5619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5620 /* end confdefs.h. */
5634 if ac_fn_c_try_compile
"$LINENO"; then :
5635 ac_cv_header_stdc
=yes
5637 ac_cv_header_stdc
=no
5639 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5641 if test $ac_cv_header_stdc = yes; then
5642 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5649 $EGREP "memchr" >/dev
/null
2>&1; then :
5652 ac_cv_header_stdc
=no
5658 if test $ac_cv_header_stdc = yes; then
5659 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5666 $EGREP "free" >/dev
/null
2>&1; then :
5669 ac_cv_header_stdc
=no
5675 if test $ac_cv_header_stdc = yes; then
5676 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5677 if test "$cross_compiling" = yes; then :
5680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5684 #if ((' ' & 0x0FF) == 0x020)
5685 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5686 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5688 # define ISLOWER(c) \
5689 (('a' <= (c) && (c) <= 'i') \
5690 || ('j' <= (c) && (c) <= 'r') \
5691 || ('s' <= (c) && (c) <= 'z'))
5692 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5695 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5700 for (i = 0; i < 256; i++)
5701 if (XOR (islower (i), ISLOWER (i))
5702 || toupper (i) != TOUPPER (i))
5707 if ac_fn_c_try_run
"$LINENO"; then :
5710 ac_cv_header_stdc
=no
5712 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5713 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5719 $as_echo "$ac_cv_header_stdc" >&6; }
5720 if test $ac_cv_header_stdc = yes; then
5722 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5726 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5727 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5728 inttypes.h stdint.h unistd.h
5730 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5731 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5733 eval as_val
=\$
$as_ac_Header
5734 if test "x$as_val" = x
""yes; then :
5735 cat >>confdefs.h
<<_ACEOF
5736 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5744 for ac_header
in sys
/ipc.h sys
/shm.h \
5745 sys
/mmap.h sys
/mman.h sysexits.h \
5746 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5749 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5750 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5751 eval as_val
=\$
$as_ac_Header
5752 if test "x$as_val" = x
""yes; then :
5753 cat >>confdefs.h
<<_ACEOF
5754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5762 for ac_header
in sys
/mount.h
5764 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5766 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5767 cat >>confdefs.h
<<_ACEOF
5768 #define HAVE_SYS_MOUNT_H 1
5777 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5778 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5780 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5781 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5782 $as_echo_n "(cached) " >&6
5784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5785 /* end confdefs.h. */
5786 #include <sys/types.h>
5798 if ac_fn_c_try_compile
"$LINENO"; then :
5799 eval "$as_ac_Header=yes"
5801 eval "$as_ac_Header=no"
5803 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5805 eval ac_res
=\$
$as_ac_Header
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5807 $as_echo "$ac_res" >&6; }
5808 eval as_val
=\$
$as_ac_Header
5809 if test "x$as_val" = x
""yes; then :
5810 cat >>confdefs.h
<<_ACEOF
5811 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5814 ac_header_dirent
=$ac_hdr; break
5818 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5819 if test $ac_header_dirent = dirent.h
; then
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5821 $as_echo_n "checking for library containing opendir... " >&6; }
5822 if test "${ac_cv_search_opendir+set}" = set; then :
5823 $as_echo_n "(cached) " >&6
5825 ac_func_search_save_LIBS
=$LIBS
5826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5827 /* end confdefs.h. */
5829 /* Override any GCC internal prototype to avoid an error.
5830 Use char because int might match the return type of a GCC
5831 builtin and then its argument prototype would still apply. */
5844 for ac_lib
in '' dir
; do
5845 if test -z "$ac_lib"; then
5846 ac_res
="none required"
5849 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5851 if ac_fn_c_try_link
"$LINENO"; then :
5852 ac_cv_search_opendir
=$ac_res
5854 rm -f core conftest.err conftest.
$ac_objext \
5856 if test "${ac_cv_search_opendir+set}" = set; then :
5860 if test "${ac_cv_search_opendir+set}" = set; then :
5863 ac_cv_search_opendir
=no
5866 LIBS
=$ac_func_search_save_LIBS
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5869 $as_echo "$ac_cv_search_opendir" >&6; }
5870 ac_res
=$ac_cv_search_opendir
5871 if test "$ac_res" != no
; then :
5872 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5878 $as_echo_n "checking for library containing opendir... " >&6; }
5879 if test "${ac_cv_search_opendir+set}" = set; then :
5880 $as_echo_n "(cached) " >&6
5882 ac_func_search_save_LIBS
=$LIBS
5883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5886 /* Override any GCC internal prototype to avoid an error.
5887 Use char because int might match the return type of a GCC
5888 builtin and then its argument prototype would still apply. */
5901 for ac_lib
in '' x
; do
5902 if test -z "$ac_lib"; then
5903 ac_res
="none required"
5906 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5908 if ac_fn_c_try_link
"$LINENO"; then :
5909 ac_cv_search_opendir
=$ac_res
5911 rm -f core conftest.err conftest.
$ac_objext \
5913 if test "${ac_cv_search_opendir+set}" = set; then :
5917 if test "${ac_cv_search_opendir+set}" = set; then :
5920 ac_cv_search_opendir
=no
5923 LIBS
=$ac_func_search_save_LIBS
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5926 $as_echo "$ac_cv_search_opendir" >&6; }
5927 ac_res
=$ac_cv_search_opendir
5928 if test "$ac_res" != no
; then :
5929 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5936 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5937 if test "${ac_cv_header_stat_broken+set}" = set; then :
5938 $as_echo_n "(cached) " >&6
5940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5941 /* end confdefs.h. */
5942 #include <sys/types.h>
5943 #include <sys/stat.h>
5945 #if defined S_ISBLK && defined S_IFDIR
5946 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5949 #if defined S_ISBLK && defined S_IFCHR
5950 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5953 #if defined S_ISLNK && defined S_IFREG
5954 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5957 #if defined S_ISSOCK && defined S_IFREG
5958 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5962 if ac_fn_c_try_compile
"$LINENO"; then :
5963 ac_cv_header_stat_broken
=no
5965 ac_cv_header_stat_broken
=yes
5967 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5970 $as_echo "$ac_cv_header_stat_broken" >&6; }
5971 if test $ac_cv_header_stat_broken = yes; then
5973 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5978 $as_echo_n "checking for ANSI C header files... " >&6; }
5979 if test "${ac_cv_header_stdc+set}" = set; then :
5980 $as_echo_n "(cached) " >&6
5982 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5983 /* end confdefs.h. */
5997 if ac_fn_c_try_compile
"$LINENO"; then :
5998 ac_cv_header_stdc
=yes
6000 ac_cv_header_stdc
=no
6002 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6004 if test $ac_cv_header_stdc = yes; then
6005 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6007 /* end confdefs.h. */
6011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6012 $EGREP "memchr" >/dev
/null
2>&1; then :
6015 ac_cv_header_stdc
=no
6021 if test $ac_cv_header_stdc = yes; then
6022 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6024 /* end confdefs.h. */
6028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6029 $EGREP "free" >/dev
/null
2>&1; then :
6032 ac_cv_header_stdc
=no
6038 if test $ac_cv_header_stdc = yes; then
6039 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6040 if test "$cross_compiling" = yes; then :
6043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6044 /* end confdefs.h. */
6047 #if ((' ' & 0x0FF) == 0x020)
6048 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6049 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6051 # define ISLOWER(c) \
6052 (('a' <= (c) && (c) <= 'i') \
6053 || ('j' <= (c) && (c) <= 'r') \
6054 || ('s' <= (c) && (c) <= 'z'))
6055 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6058 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6063 for (i = 0; i < 256; i++)
6064 if (XOR (islower (i), ISLOWER (i))
6065 || toupper (i) != TOUPPER (i))
6070 if ac_fn_c_try_run
"$LINENO"; then :
6073 ac_cv_header_stdc
=no
6075 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6076 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6082 $as_echo "$ac_cv_header_stdc" >&6; }
6083 if test $ac_cv_header_stdc = yes; then
6085 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6090 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6091 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6092 $as_echo_n "(cached) " >&6
6094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6095 /* end confdefs.h. */
6096 #include <sys/types.h>
6097 #include <sys/wait.h>
6099 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6102 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6110 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6115 if ac_fn_c_try_compile
"$LINENO"; then :
6116 ac_cv_header_sys_wait_h
=yes
6118 ac_cv_header_sys_wait_h
=no
6120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6123 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6124 if test $ac_cv_header_sys_wait_h = yes; then
6126 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6131 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6132 if test "${ac_cv_header_time+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6136 /* end confdefs.h. */
6137 #include <sys/types.h>
6138 #include <sys/time.h>
6144 if ((struct tm *) 0)
6150 if ac_fn_c_try_compile
"$LINENO"; then :
6151 ac_cv_header_time
=yes
6153 ac_cv_header_time
=no
6155 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6158 $as_echo "$ac_cv_header_time" >&6; }
6159 if test $ac_cv_header_time = yes; then
6161 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6165 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6166 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6168 cat >>confdefs.h
<<_ACEOF
6169 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6173 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6178 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6179 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6181 cat >>confdefs.h
<<_ACEOF
6182 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6186 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6189 case " $LIBOBJS " in
6190 *" fileblocks.$ac_objext "* ) ;;
6191 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6198 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6199 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6201 cat >>confdefs.h
<<_ACEOF
6202 #define HAVE_STRUCT_STAT_ST_RDEV 1
6206 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6212 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6213 if test "${ac_cv_struct_tm+set}" = set; then :
6214 $as_echo_n "(cached) " >&6
6216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6218 #include <sys/types.h>
6225 int *p = &tm.tm_sec;
6231 if ac_fn_c_try_compile
"$LINENO"; then :
6232 ac_cv_struct_tm
=time.h
6234 ac_cv_struct_tm
=sys
/time.h
6236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6239 $as_echo "$ac_cv_struct_tm" >&6; }
6240 if test $ac_cv_struct_tm = sys
/time.h
; then
6242 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6246 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6247 #include <$ac_cv_struct_tm>
6250 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6252 cat >>confdefs.h
<<_ACEOF
6253 #define HAVE_STRUCT_TM_TM_ZONE 1
6259 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6261 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6264 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6266 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6272 cat >>confdefs.h
<<_ACEOF
6273 #define HAVE_DECL_TZNAME $ac_have_decl
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6277 $as_echo_n "checking for tzname... " >&6; }
6278 if test "${ac_cv_var_tzname+set}" = set; then :
6279 $as_echo_n "(cached) " >&6
6281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6282 /* end confdefs.h. */
6284 #if !HAVE_DECL_TZNAME
6285 extern char *tzname[];
6291 return tzname[0][0];
6296 if ac_fn_c_try_link
"$LINENO"; then :
6297 ac_cv_var_tzname
=yes
6301 rm -f core conftest.err conftest.
$ac_objext \
6302 conftest
$ac_exeext conftest.
$ac_ext
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6305 $as_echo "$ac_cv_var_tzname" >&6; }
6306 if test $ac_cv_var_tzname = yes; then
6308 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6313 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6314 if test "x$ac_cv_type_off_t" = x
""yes; then :
6318 cat >>confdefs.h
<<_ACEOF
6319 #define off_t long int
6324 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6325 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6329 cat >>confdefs.h
<<_ACEOF
6335 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6336 if test "x$ac_cv_type_size_t" = x
""yes; then :
6340 cat >>confdefs.h
<<_ACEOF
6341 #define size_t unsigned int
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6347 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6348 if test "${ac_cv_type_uid_t+set}" = set; then :
6349 $as_echo_n "(cached) " >&6
6351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 #include <sys/types.h>
6356 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6357 $EGREP "uid_t" >/dev
/null
2>&1; then :
6358 ac_cv_type_uid_t
=yes
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6366 $as_echo "$ac_cv_type_uid_t" >&6; }
6367 if test $ac_cv_type_uid_t = no
; then
6369 $as_echo "#define uid_t int" >>confdefs.h
6372 $as_echo "#define gid_t int" >>confdefs.h
6377 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6378 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6380 cat >>confdefs.h
<<_ACEOF
6381 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6388 # Look for some functions
6389 for ac_func
in getpagesize kqueue statfs statvfs \
6390 clone kse_create rfork_thread thr_create sa_register \
6391 getcontext makecontext setcontext sigaltstack swapcontext
6393 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6394 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6395 eval as_val
=\$
$as_ac_var
6396 if test "x$as_val" = x
""yes; then :
6397 cat >>confdefs.h
<<_ACEOF
6398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6408 for ac_header
in $ac_header_list
6410 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6411 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6413 eval as_val
=\$
$as_ac_Header
6414 if test "x$as_val" = x
""yes; then :
6415 cat >>confdefs.h
<<_ACEOF
6416 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6430 for ac_func
in getpagesize
6432 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6433 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6434 cat >>confdefs.h
<<_ACEOF
6435 #define HAVE_GETPAGESIZE 1
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6442 $as_echo_n "checking for working mmap... " >&6; }
6443 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6444 $as_echo_n "(cached) " >&6
6446 if test "$cross_compiling" = yes; then :
6447 ac_cv_func_mmap_fixed_mapped
=no
6449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6450 /* end confdefs.h. */
6451 $ac_includes_default
6452 /* malloc might have been renamed as rpl_malloc. */
6455 /* Thanks to Mike Haertel and Jim Avera for this test.
6456 Here is a matrix of mmap possibilities:
6457 mmap private not fixed
6458 mmap private fixed at somewhere currently unmapped
6459 mmap private fixed at somewhere already mapped
6460 mmap shared not fixed
6461 mmap shared fixed at somewhere currently unmapped
6462 mmap shared fixed at somewhere already mapped
6463 For private mappings, we should verify that changes cannot be read()
6464 back from the file, nor mmap's back from the file at a different
6465 address. (There have been systems where private was not correctly
6466 implemented like the infamous i386 svr4.0, and systems where the
6467 VM page cache was not coherent with the file system buffer cache
6468 like early versions of FreeBSD and possibly contemporary NetBSD.)
6469 For shared mappings, we should conversely verify that changes get
6470 propagated back to all the places they're supposed to be.
6472 Grep wants private fixed already mapped.
6473 The main things grep needs to know about mmap are:
6474 * does it exist and is it safe to write into the mmap'd area
6475 * how to use it (BSD variants) */
6478 #include <sys/mman.h>
6480 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6484 /* This mess was copied from the GNU getpagesize.h. */
6485 #ifndef HAVE_GETPAGESIZE
6486 # ifdef _SC_PAGESIZE
6487 # define getpagesize() sysconf(_SC_PAGESIZE)
6488 # else /* no _SC_PAGESIZE */
6489 # ifdef HAVE_SYS_PARAM_H
6490 # include <sys/param.h>
6491 # ifdef EXEC_PAGESIZE
6492 # define getpagesize() EXEC_PAGESIZE
6493 # else /* no EXEC_PAGESIZE */
6495 # define getpagesize() NBPG * CLSIZE
6498 # endif /* no CLSIZE */
6499 # else /* no NBPG */
6501 # define getpagesize() NBPC
6502 # else /* no NBPC */
6504 # define getpagesize() PAGESIZE
6505 # endif /* PAGESIZE */
6506 # endif /* no NBPC */
6507 # endif /* no NBPG */
6508 # endif /* no EXEC_PAGESIZE */
6509 # else /* no HAVE_SYS_PARAM_H */
6510 # define getpagesize() 8192 /* punt totally */
6511 # endif /* no HAVE_SYS_PARAM_H */
6512 # endif /* no _SC_PAGESIZE */
6514 #endif /* no HAVE_GETPAGESIZE */
6519 char *data, *data2, *data3;
6524 pagesize = getpagesize ();
6526 /* First, make a file with some known garbage in it. */
6527 data = (char *) malloc (pagesize);
6530 for (i = 0; i < pagesize; ++i)
6531 *(data + i) = rand ();
6533 fd = creat ("conftest.mmap", 0600);
6536 if (write (fd, data, pagesize) != pagesize)
6540 /* Next, check that the tail of a page is zero-filled. File must have
6541 non-zero length, otherwise we risk SIGBUS for entire page. */
6542 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6546 if (write (fd2, cdata2, 1) != 1)
6548 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6549 if (data2 == MAP_FAILED)
6551 for (i = 0; i < pagesize; ++i)
6555 if (munmap (data2, pagesize))
6558 /* Next, try to mmap the file at a fixed address which already has
6559 something else allocated at it. If we can, also make sure that
6560 we see the same garbage. */
6561 fd = open ("conftest.mmap", O_RDWR);
6564 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6565 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6567 for (i = 0; i < pagesize; ++i)
6568 if (*(data + i) != *(data2 + i))
6571 /* Finally, make sure that changes to the mapped area do not
6572 percolate back to the file as seen by read(). (This is a bug on
6573 some variants of i386 svr4.0.) */
6574 for (i = 0; i < pagesize; ++i)
6575 *(data2 + i) = *(data2 + i) + 1;
6576 data3 = (char *) malloc (pagesize);
6579 if (read (fd, data3, pagesize) != pagesize)
6581 for (i = 0; i < pagesize; ++i)
6582 if (*(data + i) != *(data3 + i))
6588 if ac_fn_c_try_run
"$LINENO"; then :
6589 ac_cv_func_mmap_fixed_mapped
=yes
6591 ac_cv_func_mmap_fixed_mapped
=no
6593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6599 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6600 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6602 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6605 rm -f conftest.mmap conftest.txt
6610 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6611 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6612 aros_config_ldflags
=""
6614 aros_shared_default
=yes
6616 aros_shared_cflags
="-fPIC"
6617 aros_shared_aflags
=""
6618 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6619 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6621 aros_target_ar_flags
="cr"
6622 aros_target_nm_flags
="-C -ul"
6623 aros_target_strip_flags
="--strip-unneeded -R.comment"
6628 aros_target_genmap
="-Wl,-Map -Xlinker"
6630 # Native flavour stuff
6631 aros_serial_debug
="0"
6633 # Palm native flavour stuff
6634 aros_palm_debug_hack
="0"
6636 # Unix flavour stuff
6637 aros_nesting_supervisor
="0"
6639 # Collect-aros stuff: "-ius" to ignore undefined symbols
6640 ignore_undefined_symbols
=""
6642 # Check for X11 by default
6645 #-----------------------------------------------------------------------------
6648 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6649 # it switched on by default, and we use the host compiler, so it compiles AROS
6650 # code with this enabled resulting in link failures as we don't have support
6653 # We use two methods to disable it. For the host compiler (used to compile
6654 # some hosted modules), we test to see if the compiler supports stack
6655 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6656 # work on all platforms.
6658 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6659 # (this is done unconditionally, as it should have no effect on compilers
6660 # without the stack protection feature). This may be specific to the way that
6661 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6662 # strong enough to disable it in a generic way though, so we'll live with it
6663 # until another vendor ships GCC with it enabled in a different way, and deal
6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6668 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6669 save_cflags
="$CFLAGS"
6670 CFLAGS
="$CFLAGS -fno-stack-protector"
6671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6682 if ac_fn_c_try_compile
"$LINENO"; then :
6683 use_no_stack_protector
="yes"
6685 use_no_stack_protector
="no"
6687 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6689 $as_echo "$use_no_stack_protector" >&6; }
6690 if test "x-$use_no_stack_protector" = "x-yes" ; then
6691 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6693 CFLAGS
="$save_cflags"
6695 #-----------------------------------------------------------------------------
6697 # Disable pointer-signedness warnings if the compiler recognises the option
6698 # (this only works for the host compiler at the moment)
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6701 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6702 save_cflags
="$CFLAGS"
6703 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6705 /* end confdefs.h. */
6715 if ac_fn_c_try_compile
"$LINENO"; then :
6716 use_no_sign_warning
="yes"
6718 use_no_sign_warning
="no"
6720 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6722 $as_echo "$use_no_sign_warning" >&6; }
6723 if test "x-$use_no_sign_warning" = "x-yes" ; then
6724 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6726 CFLAGS
="$save_cflags"
6728 #-----------------------------------------------------------------------------
6730 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6733 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6734 save_cflags
="$CFLAGS"
6735 CFLAGS
="$CFLAGS -fgnu89-inline"
6736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6737 /* end confdefs.h. */
6747 if ac_fn_c_try_compile
"$LINENO"; then :
6748 use_gnu89_inline
="yes"
6750 use_gnu89_inline
="no"
6752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6754 $as_echo "$use_gnu89_inline" >&6; }
6755 if test "x-$use_gnu89_inline" = "x-yes" ; then
6756 gnu89_inline
="-fgnu89-inline"
6758 CFLAGS
="$save_cflags"
6760 #-----------------------------------------------------------------------------
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6763 $as_echo_n "checking for type of build... " >&6; }
6764 # Check whether --enable-build_type was given.
6765 if test "${enable_build_type+set}" = set; then :
6766 enableval
=$enable_build_type; build_type
=$enableval
6768 build_type
="personal"
6772 if test "$build_type" = "nightly"; then
6773 build_type_string
="NIGHTLY"
6774 elif test "$build_type" = "snapshot"; then
6775 build_type_string
="SNAPSHOT"
6776 elif test "$build_type" = "milestone"; then
6777 build_type_string
="MILESTONE"
6778 elif test "$build_type" = "release"; then
6779 build_type_string
="RELEASE"
6781 build_type_string
="PERSONAL"
6782 build_type
="personal"
6785 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6788 $as_echo "$build_type" >&6; }
6790 #-----------------------------------------------------------------------------
6791 all_debug_types
="messages stack modules mungwall symbols"
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6794 $as_echo_n "checking which debug types to enable... " >&6; }
6795 # Check whether --enable-debug was given.
6796 if test "${enable_debug+set}" = set; then :
6797 enableval
=$enable_debug; debug
="$enableval"
6803 if test "$debug" = "" -o "$debug" = "no"; then
6805 elif test "$debug" = "yes"; then
6809 if test "$debug" = "all" ; then
6810 debug
="messages stack modules symbols"
6811 for d
in $all_debug_types; do
6812 export aros_
${d}_debug
="1"
6815 for d
in $all_debug_types; do
6816 export aros_
${d}_debug
="0"
6820 if test "$debug" != "none"; then
6821 debug
=`echo $debug | sed s/,/\ /g`
6824 for d2
in $all_debug_types; do
6825 if test "$d2" = "$d"; then
6830 if test "$found" = "0"; then
6831 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6833 export aros_
${d}_debug
="1"
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6838 $as_echo "$debug" >&6; }
6840 if test "$aros_messages_debug" = "1"; then
6841 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6843 aros_messages_debug
=""
6845 if test "$aros_symbols_debug" = "1"; then
6846 aros_symbols_debug
="-g"
6848 aros_symbols_debug
=""
6851 # These are the flags to pass when compiling debugged programs
6852 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6853 aros_debug_aflags
=""
6854 aros_debug_ldflags
="$aros_symbols_debug"
6856 aros_crosstools
="no"
6858 #-----------------------------------------------------------------------------
6859 # Checking if we should build crosstools..
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6861 $as_echo_n "checking whether to build crosstools... " >&6; }
6862 # Check whether --enable-crosstools was given.
6863 if test "${enable_crosstools+set}" = set; then :
6864 enableval
=$enable_crosstools; crosstools
="$enableval"
6869 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6871 $as_echo "yes" >&6; }
6872 aros_crosstools
="yes"
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6875 $as_echo "no" >&6; }
6878 #-----------------------------------------------------------------------------
6879 # Checking for distcc and ccache.
6881 # Always apply the transforms in this particular order. Basically you should
6882 # always run 'ccache distcc compiler' in that order for the best performance.
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6885 $as_echo_n "checking whether to enable distcc... " >&6; }
6886 # Check whether --enable-distcc was given.
6887 if test "${enable_distcc+set}" = set; then :
6888 enableval
=$enable_distcc; distcc
="$enableval"
6893 if test "$distcc" != "" -a "$distcc" != "no"; then
6894 # AC_CHECK_PROG will print out the result in this case
6895 # Extract the first word of "distcc", so it can be a program name with args.
6896 set dummy distcc
; ac_word
=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if test "${ac_cv_path_DISTCC+set}" = set; then :
6900 $as_echo_n "(cached) " >&6
6904 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6907 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6911 test -z "$as_dir" && as_dir
=.
6912 for ac_exec_ext
in '' $ac_executable_extensions; do
6913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6914 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6926 DISTCC
=$ac_cv_path_DISTCC
6927 if test -n "$DISTCC"; then
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6929 $as_echo "$DISTCC" >&6; }
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6932 $as_echo "no" >&6; }
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6938 $as_echo "no" >&6; }
6941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6942 $as_echo_n "checking whether to enable ccache... " >&6; }
6943 # Check whether --enable-ccache was given.
6944 if test "${enable_ccache+set}" = set; then :
6945 enableval
=$enable_ccache; ccache
="$enableval"
6950 if test "$ccache" != "" -a "$ccache" != "no"; then
6951 # AC_CHECK_PROG will print out the result in this case
6952 # Extract the first word of "ccache", so it can be a program name with args.
6953 set dummy ccache
; ac_word
=$2
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6955 $as_echo_n "checking for $ac_word... " >&6; }
6956 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6957 $as_echo_n "(cached) " >&6
6959 if test -n "$CCACHE"; then
6960 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6962 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6966 test -z "$as_dir" && as_dir
=.
6967 for ac_exec_ext
in '' $ac_executable_extensions; do
6968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6969 ac_cv_prog_CCACHE
="ccache"
6970 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6979 CCACHE
=$ac_cv_prog_CCACHE
6980 if test -n "$CCACHE"; then
6981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6982 $as_echo "$CCACHE" >&6; }
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6985 $as_echo "no" >&6; }
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6991 $as_echo "no" >&6; }
6994 #-----------------------------------------------------------------------------
6995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific gcc version to use" >&5
6996 $as_echo_n "checking what specific gcc version to use... " >&6; }
6998 # Check whether --with-gcc-version was given.
6999 if test "${with_gcc_version+set}" = set; then :
7000 withval
=$with_gcc_version; target_tool_version
="$withval"
7002 target_tool_version
="default"
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7006 $as_echo "$target_tool_version" >&6; }
7008 #-----------------------------------------------------------------------------
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7010 $as_echo_n "checking what optimization flags to use... " >&6; }
7012 # Check whether --with-optimization was given.
7013 if test "${with_optimization+set}" = set; then :
7014 withval
=$with_optimization; optimization
="$withval"
7016 optimization
="unknown"
7019 if test "$optimization" = "unknown"; then
7020 if test "$debug" != "none"; then
7026 aros_config_cflags
="$aros_config_cflags $optimization"
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7028 $as_echo "$optimization" >&6; }
7030 #-----------------------------------------------------------------------------
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7032 $as_echo_n "checking what paranoia flags to use... " >&6; }
7034 # Check whether --with-paranoia was given.
7035 if test "${with_paranoia+set}" = set; then :
7036 withval
=$with_paranoia; paranoia_flags
="$withval"
7038 paranoia_flags
="default"
7041 if test "$paranoia_flags" = "default"; then
7043 else if test "$paranoia_flags" = "yes"; then
7044 paranoia_flags
="-Wall -Werror"
7046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7047 $as_echo "$paranoia_flags" >&6; }
7048 aros_paranoia_cflags
="$paranoia_flags"
7050 #-----------------------------------------------------------------------------
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7052 $as_echo_n "checking what target variant to enable... " >&6; }
7053 # Check whether --enable-target_variant was given.
7054 if test "${enable_target_variant+set}" = set; then :
7055 enableval
=$enable_target_variant; target_variant
=$enableval
7060 if test "$target_variant" = ""; then
7061 aros_target_variant
=""
7062 aros_target_suffix
=""
7065 aros_target_variant
="$target_variant"
7066 aros_target_suffix
="-$target_variant"
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7069 $as_echo "$enableval" >&6; }
7071 target_bootloader
="none"
7073 #-----------------------------------------------------------------------------
7074 case "$aros_target_variant" in
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7077 $as_echo_n "checking XCode path... " >&6; }
7079 # Check whether --with-xcode was given.
7080 if test "${with_xcode+set}" = set; then :
7081 withval
=$with_xcode; aros_xcode_path
="$withval"
7083 aros_xcode_path
="/Developer"
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7087 $as_echo "$aros_xcode_path" >&6; }
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7090 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7092 # Check whether --with-ios-version was given.
7093 if test "${with_ios_version+set}" = set; then :
7094 withval
=$with_ios_version; aros_ios_version
="$withval"
7096 aros_ios_version
="3.0"
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7100 $as_echo "$aros_ios_version" >&6; }
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7103 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7105 # Check whether --with-ios-sdk was given.
7106 if test "${with_ios_sdk+set}" = set; then :
7107 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7113 $as_echo "$aros_ios_sdk" >&6; }
7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7119 $as_echo_n "checking Android SDK path... " >&6; }
7121 # Check whether --with-sdk was given.
7122 if test "${with_sdk+set}" = set; then :
7123 withval
=$with_sdk; aros_android_sdk
="$withval"
7125 aros_android_sdk
=$default_android_sdk
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7129 $as_echo "$aros_android_sdk" >&6; }
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7132 $as_echo_n "checking Android NDK path... " >&6; }
7134 # Check whether --with-ndk was given.
7135 if test "${with_ndk+set}" = set; then :
7136 withval
=$with_ndk; aros_android_ndk
="$withval"
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7142 $as_echo "$aros_android_ndk" >&6; }
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android version to use" >&5
7145 $as_echo_n "checking what Android version to use... " >&6; }
7147 # Check whether --with-android-version was given.
7148 if test "${with_android_version+set}" = set; then :
7149 withval
=$with_android_version; aros_android_version
="$withval"
7151 aros_android_version
="2.2"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_version" >&5
7155 $as_echo "$aros_android_version" >&6; }
7157 export PATH
="$aros_android_sdk/tools:$PATH"
7158 # Extract the first word of "$android_tool", so it can be a program name with args.
7159 set dummy
$android_tool; ac_word
=$2
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7161 $as_echo_n "checking for $ac_word... " >&6; }
7162 if test "${ac_cv_path_android_tool+set}" = set; then :
7163 $as_echo_n "(cached) " >&6
7165 case $android_tool in
7167 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7174 test -z "$as_dir" && as_dir
=.
7175 for ac_exec_ext
in '' $ac_executable_extensions; do
7176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7177 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7188 android_tool
=$ac_cv_path_android_tool
7189 if test -n "$android_tool"; then
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7191 $as_echo "$android_tool" >&6; }
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7194 $as_echo "no" >&6; }
7198 if test "$android_tool" = ""; then
7199 as_fn_error
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7202 if test $host_os = "mingw32"; then
7203 android_tool
="cmd //c $android_tool"
7209 #-----------------------------------------------------------------------------
7210 # This is the target configuration switch.
7211 case "$target_os" in
7213 aros_target_arch
="linux"
7214 aros_target_family
="unix"
7215 case "$target_cpu" in
7217 aros_target_cpu
="m68k"
7218 aros_object_format
="m68kelf"
7219 aros_flavour
="emulcompat"
7220 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7221 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7222 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7223 gcc_target_cpu
="mc68000"
7226 aros_target_cpu
="i386"
7227 aros_object_format
="elf_i386"
7228 aros_flavour
="emulation"
7229 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7230 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7231 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7232 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7233 aros_config_ldflags
="-m32 -march=i486"
7234 aros_kernel_ldflags
="-melf_i386"
7235 aros_default_wbdepth
=8
7236 gcc_target_cpu
="i386"
7237 pci_hidd_target
="hidd-pci-linux"
7240 aros_target_cpu
="x86_64"
7241 aros_object_format
="elf_x86_64"
7242 aros_flavour
="emulation"
7243 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7244 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7245 aros_default_wbdepth
=8
7246 gcc_target_cpu
="x86_64"
7247 pci_hidd_target
="hidd-pci-linux"
7250 aros_target_cpu
="ppc"
7251 aros_object_format
="elf32ppc"
7252 aros_flavour
="emulation"
7253 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7254 aros_default_wbdepth
=8
7255 gcc_target_cpu
="ppc"
7258 # Same as powerpc, but I need this for the nightly build to work again.
7259 # Actually, the nightly should be made working with powerpc target.
7260 # That just was too much work for the moment, another week or two.
7262 aros_target_cpu
="ppc"
7263 aros_object_format
="elf32ppc"
7264 aros_flavour
="emulation"
7265 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7266 aros_default_wbdepth
=8
7267 gcc_target_cpu
="ppc"
7270 aros_target_cpu
="arm"
7271 aros_object_format
="armelf_linux_eabi"
7272 aros_flavour
="emulation"
7273 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7274 gcc_target_cpu
="arm"
7275 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7276 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7277 aros_arch_libs
="-laeabi"
7280 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7283 case "$aros_target_variant" in
7285 case "$aros_android_version" in
7287 aros_android_level
=android-8
7290 aros_android_level
=android-9
7293 aros_default_wbwidth
=320
7294 aros_default_wbheight
=480
7295 aros_target_cc
="arm-aros-gcc"
7296 aros_target_cxx
="arm-aros-g++"
7297 aros_target_ld
="arm-aros-ld"
7298 aros_target_as
="arm-aros-as"
7299 aros_target_ar
="arm-aros-ar"
7300 aros_target_ranlib
="arm-aros-ranlib"
7301 aros_target_nm
="arm-aros-nm"
7302 aros_target_strip
="arm-aros-strip"
7303 aros_target_objcopy
="arm-aros-objcopy"
7304 aros_target_objdump
="arm-aros-objdump"
7305 if test "$aros_android_ndk" = ""; then
7306 aros_kernel_cflags
="-mandroid"
7307 aros_kernel_ldflags
="-mandroid"
7310 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7311 aros_android_ndk
="$aros_android_ndk/platforms/$aros_android_level/arch-arm"
7312 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7313 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7314 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7315 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7318 target_tool_prefix
="arm-linux-androideabi-"
7324 aros_target_arch
="pc"
7325 aros_shared_default
="no"
7326 target_bootloader
="grub2"
7327 case "$target_cpu" in
7329 aros_target_cpu
="i386"
7332 if test "$aros_object_format" = "" ; then
7333 aros_object_format
="elf_i386"
7335 aros_flavour
="standalone"
7336 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7337 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7338 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7339 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7340 aros_config_ldflags
="-m32 -march=i486"
7341 aros_kernel_ldflags
="-melf_i386"
7342 aros_default_wbwidth
=640
7343 aros_default_wbheight
=480
7344 gcc_target_cpu
="i386"
7347 aros_target_cpu
="x86_64"
7349 if test "$aros_object_format" = "" ; then
7350 aros_object_format
="elf_x86_64"
7352 aros_flavour
="standalone"
7353 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7354 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7355 aros_kernel_ldflags
=""
7356 aros_default_wbwidth
=640
7357 aros_default_wbheight
=480
7358 gcc_target_cpu
="x86_64"
7361 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7367 aros_target_arch
="prep"
7368 aros_shared_default
="no"
7369 aros_target_cpu
="ppc"
7370 aros_object_format
="elf32ppc"
7371 aros_flavour
="ppcnative"
7372 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7373 aros_kernel_ldflags
=""
7374 aros_default_wbwidth
=640
7375 aros_default_wbheight
=480
7376 gcc_target_cpu
="ppc"
7380 aros_target_arch
="freebsd"
7381 aros_target_family
="unix"
7382 aros_target_cpu
="i386"
7383 aros_flavour
="emulation"
7384 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7385 gcc_target_cpu
="i386"
7387 aros_target_strip_flags
="-x"
7391 aros_target_arch
="darwin"
7392 aros_target_family
="unix"
7393 aros_flavour
="emulation"
7394 case "$target_cpu" in
7396 aros_ios_platform
="iPhoneSimulator"
7397 aros_target_cpu
="i386"
7398 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7399 aros_kernel_ldflags
=""
7400 aros_macosx_version
="10.4"
7401 aros_default_wbdepth
=8
7402 gcc_target_cpu
="i386"
7403 aros_object_format
="elf_i386"
7404 aros_target_strip_flags
="-x"
7405 aros_target_cc
="i386-aros-gcc"
7406 aros_target_cxx
="i386-aros-g++"
7407 aros_target_ld
="i386-aros-ld"
7408 aros_target_as
="i386-aros-as"
7409 aros_target_ar
="i386-aros-ar"
7410 aros_target_ranlib
="i386-aros-ranlib"
7411 aros_target_nm
="i386-aros-nm"
7412 aros_target_strip
="i386-aros-strip"
7413 aros_target_objcopy
="i386-aros-objcopy"
7414 aros_target_objdump
="i386-aros-objdump"
7415 target_tool_prefix
="i686-apple-darwin10-"
7416 target_tool_flags
="-m32"
7419 aros_target_cpu
="x86_64"
7420 aros_object_format
="elf_x86_64"
7421 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7422 aros_macosx_version
="10.6"
7423 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7424 aros_kernel_cflags
="-m64"
7425 aros_kernel_ldflags
="-m64"
7426 aros_target_cflags
="-mcmodel=large"
7427 aros_default_wbdepth
=8
7428 gcc_target_cpu
="x86_64"
7430 aros_target_cc
="x86_64-aros-gcc"
7431 aros_target_cxx
="x86_64-aros-g++"
7432 aros_target_ld
="x86_64-aros-ld"
7433 aros_target_as
="x86_64-aros-as"
7434 aros_target_ar
="x86_64-aros-ar"
7435 aros_target_ranlib
="x86_64-aros-ranlib"
7436 aros_target_nm
="x86_64-aros-nm"
7437 aros_target_strip
="x86_64-aros-strip"
7438 aros_target_objcopy
="x86_64-aros-objcopy"
7439 aros_target_objdump
="x86_64-aros-objdump"
7440 target_tool_prefix
="i686-apple-darwin10-"
7443 aros_target_cpu
="ppc"
7444 aros_object_format
="elf32ppc"
7445 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7446 aros_kernel_ldflags
=""
7447 aros_macosx_version
="10.0"
7448 aros_default_wbdepth
=8
7449 gcc_target_cpu
="ppc"
7450 aros_kernel_ld
="ld -arch ppc"
7451 aros_target_cc
="ppc-aros-gcc"
7452 aros_target_cxx
="ppc-aros-g++"
7453 aros_target_ld
="ppc-aros-ld"
7454 aros_target_as
="ppc-aros-as"
7455 aros_target_ar
="ppc-aros-ar"
7456 aros_target_ranlib
="ppc-aros-ranlib"
7457 aros_target_nm
="ppc-aros-nm"
7458 aros_target_strip
="ppc-aros-strip"
7459 aros_target_objcopy
="ppc-aros-objcopy"
7460 aros_target_objdump
="ppc-aros-objdump"
7461 target_tool_prefix
="powerpc-apple-darwin10-"
7464 aros_ios_platform
="iPhoneOS"
7465 aros_target_cpu
="arm"
7466 aros_object_format
="armelf_linux_eabi"
7467 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7468 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7469 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7470 aros_arch_libs
="-laeabi"
7471 aros_default_wbdepth
=8
7472 gcc_target_cpu
="arm"
7473 aros_kernel_ld
="ld -arch armv6"
7474 aros_target_cc
="arm-aros-gcc"
7475 aros_target_cxx
="arm-aros-g++"
7476 aros_target_ld
="arm-aros-ld"
7477 aros_target_as
="arm-aros-as"
7478 aros_target_ar
="arm-aros-ar"
7479 aros_target_ranlib
="arm-aros-ranlib"
7480 aros_target_nm
="arm-aros-nm"
7481 aros_target_strip
="arm-aros-strip"
7482 aros_target_objcopy
="arm-aros-objcopy"
7483 aros_target_objdump
="arm-aros-objdump"
7484 target_tool_prefix
="arm-apple-darwin10-"
7485 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7488 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7491 case "$aros_target_variant" in
7493 aros_default_wbwidth
=320
7494 aros_default_wbheight
=480
7495 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7496 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
7497 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7499 # This is here because it may depend on iOS or SDK version
7500 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7501 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7502 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7505 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7506 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7512 aros_target_arch
="dragonfly"
7513 aros_target_family
="unix"
7514 aros_flavour
="emulation"
7515 case "$target_cpu" in
7517 aros_target_cpu
="i386"
7518 aros_object_format
="elf_i386"
7519 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7522 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7523 aros_target_cpu
="x86_64"
7524 aros_object_format
="elf_x86_64"
7525 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7528 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7534 aros_target_arch
="netbsd"
7535 aros_target_family
="unix"
7536 case "$target_cpu" in
7538 aros_target_cpu
="m68k"
7539 aros_object_format
="m68kelf"
7540 aros_flavour
="emulcompat"
7541 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7542 gcc_target_cpu
="mc68000"
7545 aros_target_cpu
="i386"
7546 aros_object_format
="elf_i386"
7547 aros_flavour
="emulation"
7548 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7549 aros_default_wbdepth
=8
7550 gcc_target_cpu
="i386"
7553 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7556 aros_target_genmap
="-Wl,-M -Xlinker >"
7557 aros_flavour
="emulation"
7558 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7562 aros_target_arch
="openbsd"
7563 aros_target_family
="unix"
7564 case "$target_cpu" in
7566 aros_target_cpu
="i386"
7567 aros_object_format
="elf_i386"
7568 aros_flavour
="emulation"
7569 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7570 gcc_target_cpu
="i386"
7573 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7576 aros_target_genmap
="-Wl,-M -Xlinker >"
7577 aros_target_nm_flags
="-u"
7578 aros_flavour
="emulation"
7582 aros_target_arch
="solaris"
7583 aros_target_family
="unix"
7584 case "$target_cpu" in
7586 aros_target_cpu
="i386"
7587 aros_object_format
="elf_i386"
7588 aros_flavour
="emulation"
7589 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7590 aros_default_wbdepth
=8
7591 gcc_target_cpu
="i386"
7594 aros_target_cpu
="sparc"
7595 aros_object_format
="elf_sparc"
7596 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7597 gcc_target_cpu
="sparc"
7600 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7603 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7604 aros_flavour
="emulation"
7608 aros_target_arch
="morphos"
7609 aros_shared_default
="no"
7610 aros_target_cpu
="ppc"
7611 aros_object_format
="elf_ppc"
7612 aros_flavour
="nativecompat"
7613 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7614 gcc_target_cpu
="ppc"
7618 aros_target_arch
="sam440"
7619 aros_shared_default
="no"
7620 aros_target_cpu
="ppc"
7621 aros_object_format
="elf32ppc"
7622 aros_flavour
="ppcnative"
7623 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7624 aros_kernel_ldflags
=""
7625 aros_default_wbwidth
=1024
7626 aros_default_wbheight
=768
7627 aros_default_wbdepth
=24
7628 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7629 gcc_target_cpu
="powerpc"
7633 aros_target_arch
="efika"
7634 aros_shared_default
="no"
7635 aros_target_cpu
="arm"
7636 aros_object_format
="armelf_linux_eabi"
7637 aros_flavour
="standalone"
7638 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7639 aros_kernel_ldflags
=""
7640 aros_default_wbwidth
=1024
7641 aros_default_wbheight
=600
7642 aros_arch_libs
="-laeabi"
7643 aros_config_cflags
="$aros_config_cflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7644 aros_config_aflags
="$aros_config_aflags -marm -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7648 aros_target_arch
="chrp"
7649 aros_shared_default
="no"
7650 aros_target_cpu
="ppc"
7651 aros_object_format
="elf32ppc"
7652 aros_flavour
="ppcnative"
7653 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7654 aros_kernel_ldflags
=""
7655 aros_default_wbwidth
=640
7656 aros_default_wbheight
=480
7657 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7658 gcc_target_cpu
="powerpc"
7659 case "$aros_target_variant" in
7661 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7667 aros_target_arch
="amiga"
7668 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7669 aros_shared_default
="no"
7671 case "$target_cpu" in
7674 aros_target_cpu
="m68k"
7675 aros_object_format
="m68kelf"
7676 aros_flavour
="standcompat"
7677 gcc_target_cpu
="m68000"
7678 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -DAROS_DOS_PACKETS"
7679 aros_config_aflags
="$aros_config_aflags -g3 -${gcc_target_cpu}"
7680 aros_paranoia_cflags
="$aros_paranoia_cflags -Wno-volatile-register-var"
7681 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
7682 target_tool_prefix
="m68k-elf-"
7683 # Needed to get the correct multilib
7684 aros_config_ldflags
="-${gcc_target_cpu}"
7685 aros_debug_ldflags
="-${gcc_target_cpu}"
7686 aros_shared_ldflags
="-${gcc_target_cpu}"
7687 aros_kernel_ldflags
="-${gcc_target_cpu}"
7688 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7689 aros_target_strip_flags
="-R.comment --strip-debug"
7690 aros_default_wbwidth
=640
7691 aros_default_wbheight
=256
7695 aros_flavour
="native"
7696 gcc_target_cpu
="ppc"
7699 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7705 aros_target_arch
="mingw32"
7706 aros_shared_default
="no"
7707 aros_flavour
="emulation"
7708 aros_shared_cflags
=""
7711 case "$target_cpu" in
7713 aros_target_cpu
="i386"
7714 aros_object_format
="elf_i386"
7715 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7716 aros_default_wbdepth
=8
7717 gcc_target_cpu
="i386"
7718 aros_target_cc
="i386-aros-gcc"
7719 aros_target_cxx
="i386-aros-g++"
7720 aros_target_ld
="i386-aros-ld"
7721 aros_target_as
="i386-aros-as"
7722 aros_target_ar
="i386-aros-ar"
7723 aros_target_ranlib
="i386-aros-ranlib"
7724 aros_target_nm
="i386-aros-nm"
7725 aros_target_strip
="i386-aros-strip"
7726 aros_target_objcopy
="i386-aros-objcopy"
7727 aros_target_objdump
="i386-aros-objdump"
7728 target_tool_prefix
="i386-mingw32-"
7731 aros_target_cpu
="x86_64"
7732 aros_object_format
="elf_x86_64"
7733 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7734 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7735 aros_default_wbdepth
=8
7736 gcc_target_cpu
="x86_64"
7737 aros_target_cc
="x86_64-aros-gcc"
7738 aros_target_cxx
="x86_64-aros-g++"
7739 aros_target_ld
="x86_64-aros-ld"
7740 aros_target_as
="x86_64-aros-as"
7741 aros_target_ar
="x86_64-aros-ar"
7742 aros_target_ranlib
="x86_64-aros-ranlib"
7743 aros_target_nm
="x86_64-aros-nm"
7744 aros_target_strip
="x86_64-aros-strip"
7745 aros_target_objcopy
="x86_64-aros-objcopy"
7746 aros_target_objdump
="x86_64-aros-objdump"
7747 target_tool_prefix
="x86_64-w64-mingw32-"
7750 aros_target_cpu
="arm"
7751 aros_object_format
="armelf_linux_eabi"
7752 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7753 aros_arch_libs
="-laeabi"
7754 aros_default_wbdepth
=8
7755 gcc_target_cpu
="arm"
7756 aros_target_cc
="arm-aros-gcc"
7757 aros_target_cxx
="arm-aros-g++"
7758 aros_target_ld
="arm-aros-ld"
7759 aros_target_as
="arm-aros-as"
7760 aros_target_ar
="arm-aros-ar"
7761 aros_target_ranlib
="arm-aros-ranlib"
7762 aros_target_nm
="arm-aros-nm"
7763 aros_target_strip
="arm-aros-strip"
7764 aros_target_objcopy
="arm-aros-objcopy"
7765 aros_target_objdump
="arm-aros-objdump"
7766 target_tool_prefix
="arm-mingw32ce-"
7767 aros_default_wbwidth
=160
7768 aros_default_wbheight
=160
7771 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7774 if test $host_os = "cygwin"; then
7775 aros_kernel_cflags
="-mno-cygwin"
7779 aros_target_arch
="pp"
7780 aros_shared_default
="no"
7781 case "$target_cpu" in
7783 aros_target_cpu
="m68k"
7784 aros_object_format
="m68kelf"
7785 aros_flavour
="palmnative"
7786 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7787 aros_default_wbwidth
=160
7788 aros_default_wbheight
=160
7789 aros_default_wbdepth
=1
7790 aros_target_ar_flags
="cru"
7791 aros_compiler_libs
="-lgcc1"
7792 aros_shared_default
=no
7793 aros_shared_cflags
="-fpic"
7794 aros_shared_aflags
=""
7795 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7796 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7797 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7798 aros_debug_aflags
=""
7799 aros_debug_ldflags
="$aros_symbols_debug"
7800 aros_mungwall_debug
="0"
7801 aros_modules_debug
="0"
7802 gcc_target_cpu
="mc68000"
7803 ignore_undefined_symbols
="-ius"
7806 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7812 aros_target_arch
="mac"
7813 aros_shared_default
="no"
7814 case "$target_cpu" in
7816 aros_target_cpu
="m68k"
7817 aros_object_format
="m68kelf"
7818 aros_flavour
="mac68knative"
7819 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7820 aros_default_wbwidth
=512
7821 aros_default_wbheight
=384
7822 aros_default_wbdepth
=8
7823 aros_target_ar_flags
="cru"
7824 aros_compiler_libs
="-lgcc1"
7825 aros_shared_default
=no
7826 aros_shared_cflags
="-fpic"
7827 aros_shared_aflags
=""
7828 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7829 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7830 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7831 aros_debug_aflags
=""
7832 aros_debug_ldflags
="$aros_symbols_debug"
7833 aros_mungwall_debug
="0"
7834 aros_modules_debug
="0"
7835 gcc_target_cpu
="mc68000"
7836 ignore_undefined_symbols
="-ius"
7839 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7845 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7850 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7852 # Check whether --with-portssources was given.
7853 if test "${with_portssources+set}" = set; then :
7854 withval
=$with_portssources; with_portssrcdir
=$withval
7856 with_portssrcdir
="default"
7859 if test "$with_portssrcdir" = "default"; then
7860 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7862 AROS_PORTSSRCDIR
="$with_portssrcdir"
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7865 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7868 $as_echo_n "checking which bootloader to use... " >&6; }
7870 # Check whether --with-bootloader was given.
7871 if test "${with_bootloader+set}" = set; then :
7872 withval
=$with_bootloader; target_bootloader
=$withval
7874 target_bootloader
=$target_bootloader
7877 if test "$target_bootloader" = "none"; then
7878 aros_target_bootloader
=""
7880 aros_target_bootloader
="$target_bootloader"
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7883 $as_echo "$target_bootloader" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7886 $as_echo_n "checking which icon-set to use... " >&6; }
7888 # Check whether --with-iconset was given.
7889 if test "${with_iconset+set}" = set; then :
7890 withval
=$with_iconset; target_iconset
=$withval
7892 target_iconset
="default"
7895 if test "$target_iconset" = "default"; then
7896 aros_target_iconset
="Gorilla"
7897 target_iconset
="default (Gorilla)"
7899 aros_target_iconset
="$target_iconset"
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7902 $as_echo "$target_iconset" >&6; }
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7905 $as_echo_n "checking which GUI Theme to use... " >&6; }
7907 # Check whether --with-theme was given.
7908 if test "${with_theme+set}" = set; then :
7909 withval
=$with_theme; target_guitheme
=$withval
7911 target_guitheme
="default"
7914 if test "$target_guitheme" = "default"; then
7915 aros_target_guitheme
="Ice"
7917 aros_target_guitheme
="$target_guitheme"
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7920 $as_echo "$aros_target_guitheme" >&6; }
7922 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7925 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7928 if test "$aros_host_cpu" == "x86_64" ; then
7929 if test "$aros_target_cpu" == "i386" ; then
7930 if test "$aros_target_arch" != "mingw32"; then
7935 if test "$aros_host_arch" == "darwin" ; then
7936 if test "$aros_target_arch" != "darwin" ; then
7941 # Set prefix for target compiler etc. if we're cross-compiling
7942 # (should possibly be earlier but needs to be after AC_PROG_CC)
7943 if test "$cross_compiling" = "yes" ; then
7944 if test "$target_tool_prefix" = ""; then
7945 target_tool_prefix
=${target_cpu}-elf-
7947 CC
=${target_tool_prefix}gcc
7948 CPP
=${target_tool_prefix}cpp
7949 if test "$target_tool_version" != "default"; then
7950 CC
="$CC-$target_tool_version"
7951 CPP
="$CC-$target_tool_version"
7953 # Extract the first word of "$CC", so it can be a program name with args.
7954 set dummy
$CC; ac_word
=$2
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7956 $as_echo_n "checking for $ac_word... " >&6; }
7957 if test "${ac_cv_path_CC+set}" = set; then :
7958 $as_echo_n "(cached) " >&6
7962 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
7965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7969 test -z "$as_dir" && as_dir
=.
7970 for ac_exec_ext
in '' $ac_executable_extensions; do
7971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7972 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
7973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7984 if test -n "$CC"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7986 $as_echo "$CC" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7993 if test "$CC" = ""; then
7994 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7997 CC
="$CC $target_tool_flags"
7999 #-----------------------------------------------------------------------------
8001 # Disable pointer-signedness warnings if the compiler recognises the option
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8004 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8005 save_cflags
="$CFLAGS"
8006 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8008 /* end confdefs.h. */
8018 if ac_fn_c_try_compile
"$LINENO"; then :
8019 use_no_sign_warning
="yes"
8021 use_no_sign_warning
="no"
8023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8025 $as_echo "$use_no_sign_warning" >&6; }
8026 if test "x-$use_no_sign_warning" = "x-yes" ; then
8027 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8029 CFLAGS
="$save_cflags"
8031 #-----------------------------------------------------------------------------
8033 # Find all the tools we need to compile. This could be cross-compiling
8034 # though! If that is the case we use the GNU form of the target and
8035 # simply add this to the front of the binary name. This is rather simple,
8036 # but it should work under most circumstances.
8038 # The default tools are to use the same as the host, but only if the
8039 # host and target CPU are the same. With GCC this is normally enough.
8043 aros_shared_ld
="$aros_host_ld"
8045 aros_target_mkdep
="$aros_host_mkdep"
8046 aros_target_incl_def
="$aros_host_incl"
8048 aros_kernel_cc
="$CC"
8050 # The default tools executables to be linked to.
8051 if test "$aros_target_cc" != ""; then
8052 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
8053 set dummy
$aros_target_cc; ac_word
=$2
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8055 $as_echo_n "checking for $ac_word... " >&6; }
8056 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
8057 $as_echo_n "(cached) " >&6
8059 case $aros_target_cc in
8061 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
8064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8068 test -z "$as_dir" && as_dir
=.
8069 for ac_exec_ext
in '' $ac_executable_extensions; do
8070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8071 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
8072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8082 aros_target_cc
=$ac_cv_path_aros_target_cc
8083 if test -n "$aros_target_cc"; then
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
8085 $as_echo "$aros_target_cc" >&6; }
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8088 $as_echo "no" >&6; }
8092 if test "$aros_target_cc" = ""; then
8093 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8096 if test "$aros_target_ld" != ""; then
8097 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
8098 set dummy
$aros_target_ld; ac_word
=$2
8099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8100 $as_echo_n "checking for $ac_word... " >&6; }
8101 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
8102 $as_echo_n "(cached) " >&6
8104 case $aros_target_ld in
8106 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
8109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8113 test -z "$as_dir" && as_dir
=.
8114 for ac_exec_ext
in '' $ac_executable_extensions; do
8115 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8116 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
8117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8127 aros_target_ld
=$ac_cv_path_aros_target_ld
8128 if test -n "$aros_target_ld"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
8130 $as_echo "$aros_target_ld" >&6; }
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8137 if test "$aros_target_ld" = ""; then
8138 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8142 if test "$crosstools" != "yes"; then
8144 if test "$aros_target_as" = ""; then
8145 if test "$cross_compiling" = "yes" ; then
8146 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8147 set dummy
${target_tool_prefix}as
; ac_word
=$2
8148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8149 $as_echo_n "checking for $ac_word... " >&6; }
8150 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8151 $as_echo_n "(cached) " >&6
8153 case $aros_target_as_ln in
8155 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8158 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8162 test -z "$as_dir" && as_dir
=.
8163 for ac_exec_ext
in '' $ac_executable_extensions; do
8164 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8165 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8176 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8177 if test -n "$aros_target_as_ln"; then
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8179 $as_echo "$aros_target_as_ln" >&6; }
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8182 $as_echo "no" >&6; }
8187 if test "$GCC" = "yes"; then
8188 aros_gcc_as
=`$CC -print-prog-name=as`
8189 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8190 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8192 $as_echo_n "checking for $ac_word... " >&6; }
8193 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8194 $as_echo_n "(cached) " >&6
8196 case $aros_target_as_ln in
8198 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8202 for as_dir
in `dirname $aros_gcc_as`
8205 test -z "$as_dir" && as_dir
=.
8206 for ac_exec_ext
in '' $ac_executable_extensions; do
8207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8208 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8219 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8220 if test -n "$aros_target_as_ln"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8222 $as_echo "$aros_target_as_ln" >&6; }
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8230 if test "$aros_target_as_ln" = ""; then
8231 # Extract the first word of "as", so it can be a program name with args.
8232 set dummy as
; ac_word
=$2
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8234 $as_echo_n "checking for $ac_word... " >&6; }
8235 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8236 $as_echo_n "(cached) " >&6
8238 case $aros_target_as_ln in
8240 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8247 test -z "$as_dir" && as_dir
=.
8248 for ac_exec_ext
in '' $ac_executable_extensions; do
8249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8250 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8261 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8262 if test -n "$aros_target_as_ln"; then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8264 $as_echo "$aros_target_as_ln" >&6; }
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8267 $as_echo "no" >&6; }
8274 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8275 set dummy
$aros_target_as; ac_word
=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277 $as_echo_n "checking for $ac_word... " >&6; }
8278 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8279 $as_echo_n "(cached) " >&6
8281 case $aros_target_as_ln in
8283 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8290 test -z "$as_dir" && as_dir
=.
8291 for ac_exec_ext
in '' $ac_executable_extensions; do
8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8304 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8305 if test -n "$aros_target_as_ln"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8307 $as_echo "$aros_target_as_ln" >&6; }
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8316 if test "$aros_target_as_ln" = ""; then
8317 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8320 if test "$aros_kernel_ld" = ""; then
8321 if test "$cross_compiling" = "yes" ; then
8322 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8323 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8327 $as_echo_n "(cached) " >&6
8329 case $aros_kernel_ld in
8331 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8334 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8338 test -z "$as_dir" && as_dir
=.
8339 for ac_exec_ext
in '' $ac_executable_extensions; do
8340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8341 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8352 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8353 if test -n "$aros_kernel_ld"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8355 $as_echo "$aros_kernel_ld" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 $as_echo "no" >&6; }
8363 if test "$GCC" = "yes"; then
8364 aros_gcc_ld
=`$CC -print-prog-name=ld`
8365 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8366 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8370 $as_echo_n "(cached) " >&6
8372 case $aros_kernel_ld in
8374 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8377 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8378 for as_dir
in `dirname $aros_gcc_ld`
8381 test -z "$as_dir" && as_dir
=.
8382 for ac_exec_ext
in '' $ac_executable_extensions; do
8383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8384 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8385 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8395 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8396 if test -n "$aros_kernel_ld"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8398 $as_echo "$aros_kernel_ld" >&6; }
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8406 if test "$aros_kernel_ld" = ""; then
8407 # Extract the first word of "ld", so it can be a program name with args.
8408 set dummy ld
; ac_word
=$2
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8410 $as_echo_n "checking for $ac_word... " >&6; }
8411 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8412 $as_echo_n "(cached) " >&6
8414 case $aros_kernel_ld in
8416 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir
=.
8424 for ac_exec_ext
in '' $ac_executable_extensions; do
8425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8426 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8437 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8438 if test -n "$aros_kernel_ld"; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8440 $as_echo "$aros_kernel_ld" >&6; }
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8443 $as_echo "no" >&6; }
8450 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8451 set dummy
$aros_kernel_ld; ac_word
=$2
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8453 $as_echo_n "checking for $ac_word... " >&6; }
8454 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8455 $as_echo_n "(cached) " >&6
8457 case $aros_kernel_ld in
8459 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8466 test -z "$as_dir" && as_dir
=.
8467 for ac_exec_ext
in '' $ac_executable_extensions; do
8468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8469 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8480 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8481 if test -n "$aros_kernel_ld"; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8483 $as_echo "$aros_kernel_ld" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8486 $as_echo "no" >&6; }
8492 if test "$aros_kernel_ld" = ""; then
8493 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8496 if test "$aros_target_ar" = ""; then
8497 if test "$cross_compiling" = "yes" ; then
8498 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8499 set dummy
${target_tool_prefix}ar; ac_word
=$2
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8501 $as_echo_n "checking for $ac_word... " >&6; }
8502 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8505 case $aros_target_ar_ln in
8507 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8514 test -z "$as_dir" && as_dir
=.
8515 for ac_exec_ext
in '' $ac_executable_extensions; do
8516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8517 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8528 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8529 if test -n "$aros_target_ar_ln"; then
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8531 $as_echo "$aros_target_ar_ln" >&6; }
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8534 $as_echo "no" >&6; }
8539 if test "$GCC" = "yes"; then
8540 aros_gcc_ar
=`$CC -print-prog-name=ar`
8541 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8542 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8544 $as_echo_n "checking for $ac_word... " >&6; }
8545 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8546 $as_echo_n "(cached) " >&6
8548 case $aros_target_ar_ln in
8550 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8554 for as_dir
in `dirname $aros_gcc_ar`
8557 test -z "$as_dir" && as_dir
=.
8558 for ac_exec_ext
in '' $ac_executable_extensions; do
8559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8560 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8571 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8572 if test -n "$aros_target_ar_ln"; then
8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8574 $as_echo "$aros_target_ar_ln" >&6; }
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8577 $as_echo "no" >&6; }
8582 if test "$aros_target_ar_ln" = ""; then
8583 # Extract the first word of "ar", so it can be a program name with args.
8584 set dummy
ar; ac_word
=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 $as_echo_n "checking for $ac_word... " >&6; }
8587 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8588 $as_echo_n "(cached) " >&6
8590 case $aros_target_ar_ln in
8592 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir
=.
8600 for ac_exec_ext
in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8613 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8614 if test -n "$aros_target_ar_ln"; then
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8616 $as_echo "$aros_target_ar_ln" >&6; }
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8619 $as_echo "no" >&6; }
8626 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8627 set dummy
$aros_target_ar; ac_word
=$2
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8629 $as_echo_n "checking for $ac_word... " >&6; }
8630 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8631 $as_echo_n "(cached) " >&6
8633 case $aros_target_ar_ln in
8635 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8642 test -z "$as_dir" && as_dir
=.
8643 for ac_exec_ext
in '' $ac_executable_extensions; do
8644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8645 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8656 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8657 if test -n "$aros_target_ar_ln"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8659 $as_echo "$aros_target_ar_ln" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 $as_echo "no" >&6; }
8668 if test "$aros_target_ar_ln" = ""; then
8669 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8672 if test "$aros_target_nm" = ""; then
8673 if test "$cross_compiling" = "yes" ; then
8674 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8675 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8677 $as_echo_n "checking for $ac_word... " >&6; }
8678 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8679 $as_echo_n "(cached) " >&6
8681 case $aros_target_nm_ln in
8683 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir
=.
8691 for ac_exec_ext
in '' $ac_executable_extensions; do
8692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8693 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8704 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8705 if test -n "$aros_target_nm_ln"; then
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8707 $as_echo "$aros_target_nm_ln" >&6; }
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8710 $as_echo "no" >&6; }
8715 if test "$GCC" = "yes"; then
8716 aros_gcc_nm
=`$CC -print-prog-name=nm`
8717 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8718 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8720 $as_echo_n "checking for $ac_word... " >&6; }
8721 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8722 $as_echo_n "(cached) " >&6
8724 case $aros_target_nm_ln in
8726 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8730 for as_dir
in `dirname $aros_gcc_nm`
8733 test -z "$as_dir" && as_dir
=.
8734 for ac_exec_ext
in '' $ac_executable_extensions; do
8735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8736 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8747 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8748 if test -n "$aros_target_nm_ln"; then
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8750 $as_echo "$aros_target_nm_ln" >&6; }
8752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8753 $as_echo "no" >&6; }
8758 if test "$aros_target_nm_ln" = ""; then
8759 # Extract the first word of "nm", so it can be a program name with args.
8760 set dummy nm
; ac_word
=$2
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8762 $as_echo_n "checking for $ac_word... " >&6; }
8763 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8764 $as_echo_n "(cached) " >&6
8766 case $aros_target_nm_ln in
8768 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8775 test -z "$as_dir" && as_dir
=.
8776 for ac_exec_ext
in '' $ac_executable_extensions; do
8777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8778 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8790 if test -n "$aros_target_nm_ln"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8792 $as_echo "$aros_target_nm_ln" >&6; }
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795 $as_echo "no" >&6; }
8802 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8803 set dummy
$aros_target_nm; ac_word
=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8807 $as_echo_n "(cached) " >&6
8809 case $aros_target_nm_ln in
8811 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8818 test -z "$as_dir" && as_dir
=.
8819 for ac_exec_ext
in '' $ac_executable_extensions; do
8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8821 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8833 if test -n "$aros_target_nm_ln"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8835 $as_echo "$aros_target_nm_ln" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8844 if test "$aros_target_nm_ln" = ""; then
8845 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8848 if test "$aros_target_objcopy" = ""; then
8849 if test "$cross_compiling" = "yes" ; then
8850 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8851 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8853 $as_echo_n "checking for $ac_word... " >&6; }
8854 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8855 $as_echo_n "(cached) " >&6
8857 case $aros_target_objcopy_ln in
8859 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8866 test -z "$as_dir" && as_dir
=.
8867 for ac_exec_ext
in '' $ac_executable_extensions; do
8868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8869 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8880 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8881 if test -n "$aros_target_objcopy_ln"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8883 $as_echo "$aros_target_objcopy_ln" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8891 if test "$GCC" = "yes"; then
8892 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8893 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8894 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8896 $as_echo_n "checking for $ac_word... " >&6; }
8897 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8898 $as_echo_n "(cached) " >&6
8900 case $aros_target_objcopy_ln in
8902 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8906 for as_dir
in `dirname $aros_gcc_objcopy`
8909 test -z "$as_dir" && as_dir
=.
8910 for ac_exec_ext
in '' $ac_executable_extensions; do
8911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8912 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8923 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8924 if test -n "$aros_target_objcopy_ln"; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8926 $as_echo "$aros_target_objcopy_ln" >&6; }
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8929 $as_echo "no" >&6; }
8934 if test "$aros_target_objcopy_ln" = ""; then
8935 # Extract the first word of "objcopy", so it can be a program name with args.
8936 set dummy objcopy
; ac_word
=$2
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8938 $as_echo_n "checking for $ac_word... " >&6; }
8939 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8940 $as_echo_n "(cached) " >&6
8942 case $aros_target_objcopy_ln in
8944 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8951 test -z "$as_dir" && as_dir
=.
8952 for ac_exec_ext
in '' $ac_executable_extensions; do
8953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8954 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8965 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8966 if test -n "$aros_target_objcopy_ln"; then
8967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8968 $as_echo "$aros_target_objcopy_ln" >&6; }
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8978 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8979 set dummy
$aros_target_objcopy; ac_word
=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8983 $as_echo_n "(cached) " >&6
8985 case $aros_target_objcopy_ln in
8987 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8994 test -z "$as_dir" && as_dir
=.
8995 for ac_exec_ext
in '' $ac_executable_extensions; do
8996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8997 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9008 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9009 if test -n "$aros_target_objcopy_ln"; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9011 $as_echo "$aros_target_objcopy_ln" >&6; }
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 $as_echo "no" >&6; }
9020 if test "$aros_target_objcopy_ln" = ""; then
9021 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9024 if test "$aros_target_objdump" = ""; then
9025 if test "$cross_compiling" = "yes" ; then
9026 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9027 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9029 $as_echo_n "checking for $ac_word... " >&6; }
9030 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9031 $as_echo_n "(cached) " >&6
9033 case $aros_target_objdump_ln in
9035 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9042 test -z "$as_dir" && as_dir
=.
9043 for ac_exec_ext
in '' $ac_executable_extensions; do
9044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9045 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9056 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9057 if test -n "$aros_target_objdump_ln"; then
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9059 $as_echo "$aros_target_objdump_ln" >&6; }
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9062 $as_echo "no" >&6; }
9067 if test "$GCC" = "yes"; then
9068 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9069 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9070 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9072 $as_echo_n "checking for $ac_word... " >&6; }
9073 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9074 $as_echo_n "(cached) " >&6
9076 case $aros_target_objdump_ln in
9078 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9082 for as_dir
in `dirname $aros_gcc_objdump`
9085 test -z "$as_dir" && as_dir
=.
9086 for ac_exec_ext
in '' $ac_executable_extensions; do
9087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9088 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9099 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9100 if test -n "$aros_target_objdump_ln"; then
9101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9102 $as_echo "$aros_target_objdump_ln" >&6; }
9104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9105 $as_echo "no" >&6; }
9110 if test "$aros_target_objdump_ln" = ""; then
9111 # Extract the first word of "objdump", so it can be a program name with args.
9112 set dummy objdump
; ac_word
=$2
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9114 $as_echo_n "checking for $ac_word... " >&6; }
9115 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9116 $as_echo_n "(cached) " >&6
9118 case $aros_target_objdump_ln in
9120 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9123 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9127 test -z "$as_dir" && as_dir
=.
9128 for ac_exec_ext
in '' $ac_executable_extensions; do
9129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9130 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9141 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9142 if test -n "$aros_target_objdump_ln"; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9144 $as_echo "$aros_target_objdump_ln" >&6; }
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9147 $as_echo "no" >&6; }
9154 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9155 set dummy
$aros_target_objdump; ac_word
=$2
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9157 $as_echo_n "checking for $ac_word... " >&6; }
9158 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9159 $as_echo_n "(cached) " >&6
9161 case $aros_target_objdump_ln in
9163 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9166 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9170 test -z "$as_dir" && as_dir
=.
9171 for ac_exec_ext
in '' $ac_executable_extensions; do
9172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9173 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9184 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9185 if test -n "$aros_target_objdump_ln"; then
9186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9187 $as_echo "$aros_target_objdump_ln" >&6; }
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9190 $as_echo "no" >&6; }
9196 if test "$aros_target_objdump_ln" = ""; then
9197 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9200 if test "$aros_target_ranlib" = ""; then
9201 if test "$cross_compiling" = "yes" ; then
9202 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9203 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9205 $as_echo_n "checking for $ac_word... " >&6; }
9206 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9207 $as_echo_n "(cached) " >&6
9209 case $aros_target_ranlib_ln in
9211 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9218 test -z "$as_dir" && as_dir
=.
9219 for ac_exec_ext
in '' $ac_executable_extensions; do
9220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9221 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9232 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9233 if test -n "$aros_target_ranlib_ln"; then
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9235 $as_echo "$aros_target_ranlib_ln" >&6; }
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9238 $as_echo "no" >&6; }
9243 if test "$GCC" = "yes"; then
9244 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9245 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9246 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9248 $as_echo_n "checking for $ac_word... " >&6; }
9249 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9250 $as_echo_n "(cached) " >&6
9252 case $aros_target_ranlib_ln in
9254 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9258 for as_dir
in `dirname $aros_gcc_ranlib`
9261 test -z "$as_dir" && as_dir
=.
9262 for ac_exec_ext
in '' $ac_executable_extensions; do
9263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9264 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9275 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9276 if test -n "$aros_target_ranlib_ln"; then
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9278 $as_echo "$aros_target_ranlib_ln" >&6; }
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9281 $as_echo "no" >&6; }
9286 if test "$aros_target_ranlib_ln" = ""; then
9287 # Extract the first word of "ranlib", so it can be a program name with args.
9288 set dummy ranlib
; ac_word
=$2
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9290 $as_echo_n "checking for $ac_word... " >&6; }
9291 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9292 $as_echo_n "(cached) " >&6
9294 case $aros_target_ranlib_ln in
9296 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9303 test -z "$as_dir" && as_dir
=.
9304 for ac_exec_ext
in '' $ac_executable_extensions; do
9305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9306 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9317 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9318 if test -n "$aros_target_ranlib_ln"; then
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9320 $as_echo "$aros_target_ranlib_ln" >&6; }
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9323 $as_echo "no" >&6; }
9330 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9331 set dummy
$aros_target_ranlib; ac_word
=$2
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9333 $as_echo_n "checking for $ac_word... " >&6; }
9334 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9335 $as_echo_n "(cached) " >&6
9337 case $aros_target_ranlib_ln in
9339 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9346 test -z "$as_dir" && as_dir
=.
9347 for ac_exec_ext
in '' $ac_executable_extensions; do
9348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9349 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9360 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9361 if test -n "$aros_target_ranlib_ln"; then
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9363 $as_echo "$aros_target_ranlib_ln" >&6; }
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9366 $as_echo "no" >&6; }
9372 if test "$aros_target_ranlib_ln" = ""; then
9373 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9376 if test "$aros_target_strip" = ""; then
9377 if test "$cross_compiling" = "yes" ; then
9378 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9379 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9381 $as_echo_n "checking for $ac_word... " >&6; }
9382 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9383 $as_echo_n "(cached) " >&6
9385 case $aros_target_strip_ln in
9387 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9394 test -z "$as_dir" && as_dir
=.
9395 for ac_exec_ext
in '' $ac_executable_extensions; do
9396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9397 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9408 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9409 if test -n "$aros_target_strip_ln"; then
9410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9411 $as_echo "$aros_target_strip_ln" >&6; }
9413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9414 $as_echo "no" >&6; }
9419 if test "$GCC" = "yes"; then
9420 aros_gcc_strip
=`$CC -print-prog-name=strip`
9421 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9422 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9424 $as_echo_n "checking for $ac_word... " >&6; }
9425 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9426 $as_echo_n "(cached) " >&6
9428 case $aros_target_strip_ln in
9430 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9434 for as_dir
in `dirname $aros_gcc_strip`
9437 test -z "$as_dir" && as_dir
=.
9438 for ac_exec_ext
in '' $ac_executable_extensions; do
9439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9440 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9451 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9452 if test -n "$aros_target_strip_ln"; then
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9454 $as_echo "$aros_target_strip_ln" >&6; }
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9457 $as_echo "no" >&6; }
9462 if test "$aros_target_strip_ln" = ""; then
9463 # Extract the first word of "strip", so it can be a program name with args.
9464 set dummy strip
; ac_word
=$2
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9466 $as_echo_n "checking for $ac_word... " >&6; }
9467 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9468 $as_echo_n "(cached) " >&6
9470 case $aros_target_strip_ln in
9472 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9475 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9479 test -z "$as_dir" && as_dir
=.
9480 for ac_exec_ext
in '' $ac_executable_extensions; do
9481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9482 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9493 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9494 if test -n "$aros_target_strip_ln"; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9496 $as_echo "$aros_target_strip_ln" >&6; }
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9499 $as_echo "no" >&6; }
9506 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9507 set dummy
$aros_target_strip; ac_word
=$2
9508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9509 $as_echo_n "checking for $ac_word... " >&6; }
9510 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9511 $as_echo_n "(cached) " >&6
9513 case $aros_target_strip_ln in
9515 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9522 test -z "$as_dir" && as_dir
=.
9523 for ac_exec_ext
in '' $ac_executable_extensions; do
9524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9525 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9536 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9537 if test -n "$aros_target_strip_ln"; then
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9539 $as_echo "$aros_target_strip_ln" >&6; }
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9542 $as_echo "no" >&6; }
9548 if test "$aros_target_strip_ln" = ""; then
9549 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9551 if test "$aros_target_cxx" != ""; then
9552 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9553 set dummy
$aros_target_cxx; ac_word
=$2
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9555 $as_echo_n "checking for $ac_word... " >&6; }
9556 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
9557 $as_echo_n "(cached) " >&6
9559 case $aros_target_cxx in
9561 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
9564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9568 test -z "$as_dir" && as_dir
=.
9569 for ac_exec_ext
in '' $ac_executable_extensions; do
9570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9571 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
9572 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9582 aros_target_cxx
=$ac_cv_path_aros_target_cxx
9583 if test -n "$aros_target_cxx"; then
9584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
9585 $as_echo "$aros_target_cxx" >&6; }
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9588 $as_echo "no" >&6; }
9592 # Temporarily disabled in order to let Mingw32-hosted nightly build to work
9593 # AROS_REQUIRED(c++,$aros_target_cxx)
9596 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
9600 # Build crosstools if we have no C++ - temporary thing
9601 if test "$aros_target_cxx" = ""; then
9602 crosstools_target
=tools-crosstools
9605 if test "$rescomp" != ""; then
9606 if test "$cross_compiling" = "yes" ; then
9607 rescomp
=${target_tool_prefix}${rescomp}
9609 # Extract the first word of "$rescomp", so it can be a program name with args.
9610 set dummy
$rescomp; ac_word
=$2
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9612 $as_echo_n "checking for $ac_word... " >&6; }
9613 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
9614 $as_echo_n "(cached) " >&6
9616 case $aros_kernel_rescomp in
9618 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9625 test -z "$as_dir" && as_dir
=.
9626 for ac_exec_ext
in '' $ac_executable_extensions; do
9627 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9628 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9639 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9640 if test -n "$aros_kernel_rescomp"; then
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
9642 $as_echo "$aros_kernel_rescomp" >&6; }
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9645 $as_echo "no" >&6; }
9649 if test "$aros_kernel_rescomp" = ""; then
9650 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
9654 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9655 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9656 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9657 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9658 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9659 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9660 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9662 # aros_cc_pre is a variable that is added to the front of the compiler name
9663 # in the generated aros-gcc shell script. We need this to enable the cache
9664 # to work across cleaned builds. Also, support DISTCC using the correct
9665 # environment variable.
9668 if test "x${DISTCC}" != "x" ; then
9669 if test "x${CCACHE}" != "x" ; then
9670 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9672 aros_cc_pre
="${DISTCC} "
9675 if test "x${CCACHE}" != "x" ; then
9676 aros_cc_pre
="${CCACHE} "
9680 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9682 aros_target_nostdinc_cflags
=-nostdinc
9684 aros_target_nostartup_ldflags
=-nostartfiles
9686 aros_target_nix_ldflags
=-nix
9688 aros_target_detach_ldflags
=-detach
9690 aros_target_nostdlib_ldflags
=-nostdlib
9694 if test "$aros_target_cc" = ""; then
9695 orig_target_cc
=$aros_kernel_cc
9697 orig_target_cc
=$aros_target_cc
9699 if test "$aros_target_ld" = ""; then
9700 orig_target_ld
=$aros_kernel_ld
9702 orig_target_ld
=$aros_target_ld
9704 if test "$GCC" = "yes"; then
9705 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9707 aros_target_cc
="${prefix}-gcc"
9708 aros_target_as
="${prefix}-as"
9709 aros_target_ld
="${prefix}-ld"
9710 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9711 aros_target_objcopy
=${prefix}-objcopy
9712 aros_target_objdump
=${prefix}-objdump
9713 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9714 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9715 aros_kernel_nm
="${prefix}-nm"
9716 aros_target_strip
=${prefix}-strip
9718 # Find the system include path. We can suggest that an alternative is
9719 # used if we don't get it correct. The default is to use /usr/include.
9720 # Which is set in the aros_target_incl_def variable.
9722 # Check whether --enable-includes was given.
9723 if test "${enable_includes+set}" = set; then :
9724 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9726 aros_target_incl
=$aros_target_incl_def
9730 if test "$aros_kernel_includes" = ""; then
9731 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9732 # FIXME: for cross-compiling this should point to another location
9733 aros_kernel_includes
="-isystem $aros_target_incl"
9737 if test "$aros_kernel_includes" != "" ; then
9738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
9739 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
9740 if test "$aros_kernel_cc_includes" = "" ; then
9741 # Try to guess where the directory is.
9742 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
9743 if test -d $aros_kernel_cc_includes; then
9744 # Check if there is also an include-fixed directory and add it
9745 # to kernel compiler's include path as it may contain some of
9746 # the headers we need.
9747 if test -d "$aros_kernel_cc_includes"-fixed; then
9748 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
9751 # The directory doesn't exist, we need to do some more work.
9752 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
9754 # These are the headers we're looking for.
9755 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9756 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9760 for h
in $headers; do
9761 # Which other headers are needed by each of the above?
9762 deps
=$
(echo "#include <$h>" | \
9763 $aros_kernel_cc -E -M - 2>/dev
/null | \
9764 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9766 # Copy all the needed headers to a directory beneath gendir.
9769 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
9770 sed -n "s,^.*/include\(/.*\),\1,p")
9771 ! test -d $dir && mkdir
-p $dir
9772 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
9778 $as_echo "$aros_kernel_cc_includes" >&6; }
9779 # Adding -nostdinc to kernel includes as they are always used together.
9780 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9784 $as_echo_n "checking for the target compiler's include path... " >&6; }
9785 if test "$aros_target_cc_includes" = "" ; then
9786 #try to guess where the directory is
9787 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9788 if ! test -d $aros_target_cc_includes; then
9789 #the directory doesn't exist, we need to do some more work
9790 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9792 #these are the headers we're looling for
9793 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9794 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9798 for h
in $headers; do
9799 #which other headers each of the above headers needs?
9800 deps
=$
(echo "#include <$h>" | \
9801 $orig_target_cc -E -M - 2>/dev
/null | \
9802 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9804 #copy all the needed headers to a directory beneath gendir
9807 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9808 sed -n "s,^.*/include\(/.*\),\1,p")
9809 ! test -d $dir && mkdir
-p $dir
9810 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9816 $as_echo "$aros_target_cc_includes" >&6; }
9819 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9820 # On GCC >= 4.0 -iquote should be used
9824 save_cflags
="$CFLAGS"
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9827 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9829 /* end confdefs.h. */
9839 if ac_fn_c_try_compile
"$LINENO"; then :
9844 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9846 $as_echo "$has_iquote" >&6; }
9847 if test "x-$has_iquote" = "x-yes" ; then
9848 host_cflags_iquote
=-iquote
9849 host_cflags_iquote_end
=
9851 host_cflags_iquote
=-I
9852 host_cflags_iquote_end
=-I-
9854 kernel_cflags_iquote
=$host_cflags_iquote
9855 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9856 if test "x-$cross_compiling" = "x-yes"; then
9857 CC
="$aros_kernel_cc"
9858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9859 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9861 /* end confdefs.h. */
9871 if ac_fn_c_try_compile
"$LINENO"; then :
9872 use_no_stack_protector
="yes"
9874 use_no_stack_protector
="no"
9876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9878 $as_echo "$use_no_stack_protector" >&6; }
9879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9880 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9892 if ac_fn_c_try_compile
"$LINENO"; then :
9897 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9899 $as_echo "$has_iquote" >&6; }
9900 if test "x-$has_iquote" = "x-yes" ; then
9901 kernel_cflags_iquote
=-iquote
9902 kernel_cflags_iquote_end
=
9904 kernel_cflags_iquote
=-I
9905 kernel_cflags_iquote_end
=-I-
9908 aros_cflags_iquote
=$kernel_cflags_iquote
9909 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9910 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9911 CC
="$orig_target_cc"
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9913 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9925 if ac_fn_c_try_compile
"$LINENO"; then :
9930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9932 $as_echo "$has_iquote" >&6; }
9933 if test "x-$has_iquote" = "x-yes" ; then
9934 aros_cflags_iquote
=-iquote
9935 aros_cflags_iquote_end
=
9937 aros_cflags_iquote
=-I
9938 aros_cflags_iquote_end
=-I-
9941 if test "x-$use_no_stack_protector" = "x-yes" ; then
9942 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9945 #-----------------------------------------------------------------------------
9947 # Check if we can explicitly choose older version of symbol hashing
9949 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9950 CC
="$aros_kernel_cc"
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9952 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9964 if ac_fn_c_try_link
"$LINENO"; then :
9965 use_hash_style
="yes"
9969 rm -f core conftest.err conftest.
$ac_objext \
9970 conftest
$ac_exeext conftest.
$ac_ext
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9972 $as_echo "$use_hash_style" >&6; }
9973 if test "x-$use_hash_style" = "x-yes" ; then
9974 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9977 CFLAGS
="$save_cflags"
9987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9988 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9990 # Check whether --with-resolution was given.
9991 if test "${with_resolution+set}" = set; then :
9992 withval
=$with_resolution; resolution
=$withval
9997 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9998 if test "$resolution" = "yes" ; then
10001 if test "$resolution" = "no" ; then
10004 if test "$resolution" != "none" ; then
10005 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10006 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10007 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10010 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10011 aros_cv_default_wbwidth
=$aros_default_wbwidth
10012 aros_cv_default_wbheight
=$aros_default_wbheight
10013 aros_cv_default_wbdepth
=$aros_default_wbdepth
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
10016 $as_echo_n "checking if serial debug is enabled... " >&6; }
10018 # Check whether --with-serial-debug was given.
10019 if test "${with_serial_debug+set}" = set; then :
10020 withval
=$with_serial_debug; serial_debug
=$withval
10025 if test "$aros_serial_debug" = 0 ; then
10026 serial_debug_forced
=""
10027 if test "$serial_debug" = "yes" ; then
10030 if test "$serial_debug" = "no" ; then
10031 serial_debug
="none"
10034 serial_debug_forced
="(forced)"
10035 serial_debug
=$aros_serial_debug
10037 if test "$serial_debug" != "none" ; then
10038 aros_serial_debug
=$serial_debug
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
10040 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10043 $as_echo "no" >&6; }
10046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
10047 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10048 # Check whether --enable-palm_debug_hack was given.
10049 if test "${enable_palm_debug_hack+set}" = set; then :
10050 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10052 palm_debug_hack
="no"
10055 if test "$palm_debug_hack" = "yes" ; then
10056 aros_palm_debug_hack
="1"
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
10059 $as_echo "$palm_debug_hack" >&6; }
10062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
10063 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10064 # Check whether --enable-nesting_supervisor was given.
10065 if test "${enable_nesting_supervisor+set}" = set; then :
10066 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10068 nesting_supervisor
="no"
10071 if test "$nesting_supervisor" = "yes" ; then
10072 aros_nesting_supervisor
="1"
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
10075 $as_echo "$nesting_supervisor" >&6; }
10077 if test "$aros_enable_mmu" = "" ; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
10079 $as_echo_n "checking if MMU support is enabled... " >&6; }
10080 # Check whether --enable-mmu was given.
10081 if test "${enable_mmu+set}" = set; then :
10082 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
10084 aros_enable_mmu
="yes"
10087 if test "$aros_enable_mmu" = "" ; then
10088 aros_enable_mmu
="yes"
10090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
10091 $as_echo "$aros_enable_mmu" >&6; }
10093 if test "$aros_enable_mmu" = "no" ; then
10094 aros_enable_mmu
="0"
10096 aros_enable_mmu
="1"
10100 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10102 if test "x-$need_dlopen" != "x-no" ; then
10103 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10104 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10110 if test "x-$have_dl" = "x-no" ; then
10111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10112 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10113 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10114 $as_echo_n "(cached) " >&6
10116 ac_check_lib_save_LIBS
=$LIBS
10118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10119 /* end confdefs.h. */
10121 /* Override any GCC internal prototype to avoid an error.
10122 Use char because int might match the return type of a GCC
10123 builtin and then its argument prototype would still apply. */
10136 if ac_fn_c_try_link
"$LINENO"; then :
10137 ac_cv_lib_dl_dlopen
=yes
10139 ac_cv_lib_dl_dlopen
=no
10141 rm -f core conftest.err conftest.
$ac_objext \
10142 conftest
$ac_exeext conftest.
$ac_ext
10143 LIBS
=$ac_check_lib_save_LIBS
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10146 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10147 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10149 aros_host_ldflags
="$aros_host_ldflags -ldl"
10155 if test "x-$have_dl" = "x-no" ; then
10156 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
10161 # Check whether --enable-x11_hidd was given.
10162 if test "${enable_x11_hidd+set}" = set; then :
10163 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10165 x11_hidd
="$need_x11"
10168 case "x-$x11_hidd" in
10169 x-yes|x-no|x-auto
) ;;
10170 *) x11_hidd
="$need_x11" ;;
10175 if test "x-$x11_hidd" != "x-no" ; then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10178 $as_echo_n "checking for X... " >&6; }
10181 # Check whether --with-x was given.
10182 if test "${with_x+set}" = set; then :
10186 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10187 if test "x$with_x" = xno
; then
10188 # The user explicitly disabled X.
10191 case $x_includes,$x_libraries in #(
10192 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
10193 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
10194 $as_echo_n "(cached) " >&6
10196 # One or both of the vars are not set, and there is no cached value.
10197 ac_x_includes
=no ac_x_libraries
=no
10198 rm -f -r conftest.dir
10199 if mkdir conftest.dir
; then
10201 cat >Imakefile
<<'_ACEOF'
10203 @echo incroot='${INCROOT}'
10205 @echo usrlibdir='${USRLIBDIR}'
10207 @echo libdir='${LIBDIR}'
10209 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10210 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10211 for ac_var
in incroot usrlibdir libdir
; do
10212 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10214 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10215 for ac_extension
in a so sl dylib la dll
; do
10216 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10217 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10218 ac_im_usrlibdir
=$ac_im_libdir; break
10221 # Screen out bogus values from the imake configuration. They are
10222 # bogus both because they are the default anyway, and because
10223 # using them would break gcc on systems where it needs fixed includes.
10224 case $ac_im_incroot in
10225 /usr
/include
) ac_x_includes
= ;;
10226 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10228 case $ac_im_usrlibdir in
10229 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10230 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10234 rm -f -r conftest.dir
10237 # Standard set of common directories for X headers.
10238 # Check X11 before X11Rn because it is often a symlink to the current release.
10252 /usr/local/X11/include
10253 /usr/local/X11R7/include
10254 /usr/local/X11R6/include
10255 /usr/local/X11R5/include
10256 /usr/local/X11R4/include
10258 /usr/local/include/X11
10259 /usr/local/include/X11R7
10260 /usr/local/include/X11R6
10261 /usr/local/include/X11R5
10262 /usr/local/include/X11R4
10266 /usr/XFree86/include/X11
10270 /usr/unsupported/include
10271 /usr/athena/include
10272 /usr/local/x11r5/include
10273 /usr/lpp/Xamples/include
10275 /usr/openwin/include
10276 /usr/openwin/share/include'
10278 if test "$ac_x_includes" = no
; then
10279 # Guess where to find include files, by looking for Xlib.h.
10280 # First, try using that file with no special directory specified.
10281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10283 #include <X11/Xlib.h>
10285 if ac_fn_c_try_cpp
"$LINENO"; then :
10286 # We can compile using X headers with no special include directory.
10289 for ac_dir
in $ac_x_header_dirs; do
10290 if test -r "$ac_dir/X11/Xlib.h"; then
10291 ac_x_includes
=$ac_dir
10296 rm -f conftest.err conftest.
$ac_ext
10297 fi # $ac_x_includes = no
10299 if test "$ac_x_libraries" = no
; then
10300 # Check for the libraries.
10301 # See if we find them without any special options.
10302 # Don't add to $LIBS permanently.
10305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10307 #include <X11/Xlib.h>
10316 if ac_fn_c_try_link
"$LINENO"; then :
10318 # We can link X programs with no special library path.
10322 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10324 # Don't even attempt the hair of trying to link an X program!
10325 for ac_extension
in a so sl dylib la dll
; do
10326 if test -r "$ac_dir/libX11.$ac_extension"; then
10327 ac_x_libraries
=$ac_dir
10333 rm -f core conftest.err conftest.
$ac_objext \
10334 conftest
$ac_exeext conftest.
$ac_ext
10335 fi # $ac_x_libraries = no
10337 case $ac_x_includes,$ac_x_libraries in #(
10338 no
,* |
*,no |
*\'*)
10339 # Didn't find X, or a directory has "'" in its name.
10340 ac_cv_have_x
="have_x=no";; #(
10342 # Record where we found X for the cache.
10343 ac_cv_have_x
="have_x=yes\
10344 ac_x_includes='$ac_x_includes'\
10345 ac_x_libraries='$ac_x_libraries'"
10351 eval "$ac_cv_have_x"
10354 if test "$have_x" != yes; then
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10356 $as_echo "$have_x" >&6; }
10359 # If each of the values was on the command line, it overrides each guess.
10360 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10361 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10362 # Update the cache value to reflect the command line values.
10363 ac_cv_have_x
="have_x=yes\
10364 ac_x_includes='$x_includes'\
10365 ac_x_libraries='$x_libraries'"
10366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10367 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10372 for path
in $x_libraries
10374 x_cflags
="$x_cflags -L$path"
10377 for path
in $x_includes
10379 x_cflags
="$x_cflags -I$path"
10382 if test "x-$no_x" = "x-yes" ; then
10384 if test "x-$x11_hidd" != "x-auto" ; then
10385 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10389 x11_hidd_target
=kernel-x11gfx-kobj
10392 # Check whether --enable-x11_shm was given.
10393 if test "${enable_x11_shm+set}" = set; then :
10394 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10396 x11_hidd_shm
="auto"
10399 case "x-$x11_hidd_shm" in
10400 x-yes|x-no|x-auto
) ;;
10401 *) x11_hidd_shm
="auto" ;;
10406 if test "x-$x11_hidd_shm" != "x-no" ; then
10408 for ac_header
in sys
/ipc.h
10410 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10411 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
10412 cat >>confdefs.h
<<_ACEOF
10413 #define HAVE_SYS_IPC_H 1
10420 for ac_header
in sys
/shm.h
10422 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10423 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
10424 cat >>confdefs.h
<<_ACEOF
10425 #define HAVE_SYS_SHM_H 1
10433 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10435 save_cflags
="$CFLAGS"
10436 CFLAGS
="$CFLAGS $x_cflags"
10437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10438 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10439 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
10440 $as_echo_n "(cached) " >&6
10442 ac_check_lib_save_LIBS
=$LIBS
10443 LIBS
="-lXext $LIBS"
10444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10445 /* end confdefs.h. */
10447 /* Override any GCC internal prototype to avoid an error.
10448 Use char because int might match the return type of a GCC
10449 builtin and then its argument prototype would still apply. */
10453 char XShmQueryExtension ();
10457 return XShmQueryExtension ();
10462 if ac_fn_c_try_link
"$LINENO"; then :
10463 ac_cv_lib_Xext_XShmQueryExtension
=yes
10465 ac_cv_lib_Xext_XShmQueryExtension
=no
10467 rm -f core conftest.err conftest.
$ac_objext \
10468 conftest
$ac_exeext conftest.
$ac_ext
10469 LIBS
=$ac_check_lib_save_LIBS
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10472 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10473 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
10477 CFLAGS
="$save_cflags"
10481 if test "x-$have_xshm" = "x-yes" ; then
10482 DO_XSHM_SUPPORT
="1"
10483 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10484 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10486 DO_XSHM_SUPPORT
="0"
10490 # Check whether --enable-x11_vidmode was given.
10491 if test "${enable_x11_vidmode+set}" = set; then :
10492 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10494 x11_hidd_vidmode
="auto"
10497 case "x-$x11_hidd_vidmode" in
10498 x-yes|x-no|x-auto
) ;;
10499 *) x11_hidd_vidmode
="auto" ;;
10504 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10506 save_cflags
="$CFLAGS"
10507 CFLAGS
="$CFLAGS $x_cflags"
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10509 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
10510 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
10511 $as_echo_n "(cached) " >&6
10513 ac_check_lib_save_LIBS
=$LIBS
10514 LIBS
="-lXxf86vm $LIBS"
10515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10516 /* end confdefs.h. */
10518 /* Override any GCC internal prototype to avoid an error.
10519 Use char because int might match the return type of a GCC
10520 builtin and then its argument prototype would still apply. */
10524 char XF86VidModeQueryExtension ();
10528 return XF86VidModeQueryExtension ();
10533 if ac_fn_c_try_link
"$LINENO"; then :
10534 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10536 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10538 rm -f core conftest.err conftest.
$ac_objext \
10539 conftest
$ac_exeext conftest.
$ac_ext
10540 LIBS
=$ac_check_lib_save_LIBS
10542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10543 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10544 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
10548 CFLAGS
="$save_cflags"
10551 if test "x-$have_vidmode" = "x-yes" ; then
10552 DO_VIDMODE_SUPPORT
="1"
10553 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10554 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
10556 DO_VIDMODE_SUPPORT
="0"
10560 aros_host_x11_includes
=$x_includes
10561 aros_host_x11_libdirs
=$x_libraries
10565 # Check whether --enable-sdl_hidd was given.
10566 if test "${enable_sdl_hidd+set}" = set; then :
10567 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10572 case "x-$sdl_hidd" in
10573 x-yes|x-no|x-auto
) ;;
10574 *) sdl_hidd
="auto" ;;
10577 if test "x-$sdl_hidd" != "x-no" ; then
10580 # Check whether --with-sdl-prefix was given.
10581 if test "${with_sdl_prefix+set}" = set; then :
10582 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10588 # Check whether --with-sdl-exec-prefix was given.
10589 if test "${with_sdl_exec_prefix+set}" = set; then :
10590 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10595 # Check whether --enable-sdltest was given.
10596 if test "${enable_sdltest+set}" = set; then :
10597 enableval
=$enable_sdltest;
10603 if test x
$sdl_exec_prefix != x
; then
10604 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10605 if test x
${SDL_CONFIG+set} != xset
; then
10606 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10609 if test x
$sdl_prefix != x
; then
10610 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10611 if test x
${SDL_CONFIG+set} != xset
; then
10612 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10616 if test "x$prefix" != xNONE
; then
10617 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10619 # Extract the first word of "sdl-config", so it can be a program name with args.
10620 set dummy sdl-config
; ac_word
=$2
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10622 $as_echo_n "checking for $ac_word... " >&6; }
10623 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
10624 $as_echo_n "(cached) " >&6
10626 case $SDL_CONFIG in
10628 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10631 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10632 for as_dir
in $PATH
10635 test -z "$as_dir" && as_dir
=.
10636 for ac_exec_ext
in '' $ac_executable_extensions; do
10637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10638 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10646 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10650 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10651 if test -n "$SDL_CONFIG"; then
10652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
10653 $as_echo "$SDL_CONFIG" >&6; }
10655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10656 $as_echo "no" >&6; }
10660 min_sdl_version
=1.2.10
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10662 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10664 if test "$SDL_CONFIG" = "no" ; then
10667 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10668 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10670 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10671 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10672 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10673 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10674 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10675 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10676 if test "x$enable_sdltest" = "xyes" ; then
10677 ac_save_CFLAGS
="$CFLAGS"
10678 ac_save_CXXFLAGS
="$CXXFLAGS"
10679 ac_save_LIBS
="$LIBS"
10680 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10681 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10682 LIBS
="$LIBS $SDL_LIBS"
10684 if test "$cross_compiling" = yes; then :
10685 echo $ac_n "cross compiling; assumed OK... $ac_c"
10687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10688 /* end confdefs.h. */
10691 #include <stdlib.h>
10692 #include <string.h>
10696 my_strdup (char *str)
10702 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10703 strcpy (new_str, str);
10711 int main (int argc, char *argv[])
10713 int major, minor, micro;
10716 /* This hangs on some systems (?)
10717 system ("touch conf.sdltest");
10719 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10721 /* HP/UX 9 (%@#!) writes to sscanf strings */
10722 tmp_version = my_strdup("$min_sdl_version");
10723 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10724 printf("%s, bad version string\n", "$min_sdl_version");
10728 if (($sdl_major_version > major) ||
10729 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10730 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10736 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10737 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10738 printf("*** best to upgrade to the required version.\n");
10739 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10740 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10741 printf("*** config.cache before re-running configure\n");
10748 if ac_fn_c_try_run
"$LINENO"; then :
10753 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10754 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10757 CFLAGS
="$ac_save_CFLAGS"
10758 CXXFLAGS
="$ac_save_CXXFLAGS"
10759 LIBS
="$ac_save_LIBS"
10762 if test "x$no_sdl" = x
; then
10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10764 $as_echo "yes" >&6; }
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10768 $as_echo "no" >&6; }
10769 if test "$SDL_CONFIG" = "no" ; then
10770 echo "*** The sdl-config script installed by SDL could not be found"
10771 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10772 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10773 echo "*** full path to sdl-config."
10775 if test -f conf.sdltest
; then
10778 echo "*** Could not run SDL test program, checking why..."
10779 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10780 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10781 LIBS
="$LIBS $SDL_LIBS"
10782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10783 /* end confdefs.h. */
10788 int main(int argc, char *argv[])
10791 #define main K_and_R_C_main
10801 if ac_fn_c_try_link
"$LINENO"; then :
10802 echo "*** The test program compiled, but did not run. This usually means"
10803 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10804 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10805 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10806 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10807 echo "*** is required on your system"
10809 echo "*** If you have an old version installed, it is best to remove it, although"
10810 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10812 echo "*** The test program failed to compile or link. See the file config.log for the"
10813 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10814 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10815 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10817 rm -f core conftest.err conftest.
$ac_objext \
10818 conftest
$ac_exeext conftest.
$ac_ext
10819 CFLAGS
="$ac_save_CFLAGS"
10820 CXXFLAGS
="$ac_save_CXXFLAGS"
10821 LIBS
="$ac_save_LIBS"
10833 if test "x-$have_sdl" != "x-yes" ; then
10835 if test "x-$sdl_hidd" != "x-auto" ; then
10836 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10840 sdl_hidd_target
=kernel-hidd-sdl
10841 aros_host_sdl_cflags
=SDL_CFLAGS
10842 aros_host_sdl_libs
=SDL_LIBS
10846 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10847 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
10852 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
10853 oss_library_target
=workbench-libs-oss-unix
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10859 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10860 # Check whether --enable-dbus was given.
10861 if test "${enable_dbus+set}" = set; then :
10862 enableval
=$enable_dbus; dbus
="yes"
10867 if test "$dbus" = "yes" ; then
10869 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10870 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10871 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10872 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10877 $as_echo "$dbus" >&6; }
10987 # Native version related
10990 # Palm native version related
10993 # Unix/Hosted version related
10999 # Apple iOS related
11024 # Collect-aros stuff: "-ius" to ignore undefined symbols
11027 # C compiler related
11030 case "$aros_flavour" in
11031 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11032 aros_flavour
="emulation" ;;
11033 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11034 aros_flavour
="emulation" ;;
11035 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11036 aros_flavour
="standalone";;
11037 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11038 aros_flavour
="standalone";;
11039 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11040 aros_flavour
="native" ;;
11041 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11042 aros_flavour
="native" ;;
11043 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11044 aros_flavour
="linklib" ;;
11045 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11046 aros_flavour
="palmnative" ;;
11047 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11048 aros_flavour
="mac68knative" ;;
11049 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11050 aros_flavour
="ppcnative" ;;
11053 if test ! -d ${aros_inc_dir} ; then
11054 ${MKDIR} ${aros_inc_dir}
11056 if test ! -d ${aros_geninc_dir} ; then
11057 ${MKDIR} ${aros_geninc_dir}
11059 if test ! -d ${aros_hostcfg_dir} ; then
11060 ${MKDIR} ${aros_hostcfg_dir}
11062 if test ! -d ${aros_targetcfg_dir} ; then
11063 ${MKDIR} ${aros_targetcfg_dir}
11065 if test ! -d ${aros_tools_dir} ; then
11066 ${MKDIR} ${aros_tools_dir}
11068 if test ! -d ${aros_scripts_dir} ; then
11069 ${MKDIR} ${aros_scripts_dir}
11072 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11075 ac_config_commands
="$ac_config_commands compiler_executable"
11077 ac_config_commands
="$ac_config_commands genshared_executable"
11079 ac_config_commands
="$ac_config_commands genmf_executable"
11082 ac_config_files
="$ac_config_files Makefile config/make.cfg ${aros_inc_dir}/config.h:config/config.h.in ${aros_geninc_dir}/config.h:config/config.h.in ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in mmake.config ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in ${aros_targetcfg_dir}/specs:config/specs.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-gcc:scripts/aros-gcc.in ${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros-ld:scripts/aros-ld.in ${aros_scripts_dir}/genshared:compiler/library_template_c/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h ${aros_gendir}/arch/all-android/bootstrap/app/default.properties:arch/all-android/bootstrap/app/default.properties.in"
11085 cat >confcache
<<\_ACEOF
11086 # This file is a shell script that caches the results of configure
11087 # tests run on this system so they can be shared between configure
11088 # scripts and configure runs, see configure's option --config-cache.
11089 # It is not useful on other systems. If it contains results you don't
11090 # want to keep, you may remove or edit it.
11092 # config.status only pays attention to the cache file if you give it
11093 # the --recheck option to rerun configure.
11095 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11096 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11097 # following values.
11101 # The following way of writing the cache mishandles newlines in values,
11102 # but we know of no workaround that is simple, portable, and efficient.
11103 # So, we kill variables containing newlines.
11104 # Ultrix sh set writes to stderr and can't be redirected directly,
11105 # and sets the high bit in the cache file unless we assign to the vars.
11107 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11108 eval ac_val
=\$
$ac_var
11112 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11113 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11116 _ | IFS | as_nl
) ;; #(
11117 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11118 *) { eval $ac_var=; unset $ac_var;} ;;
11124 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11125 *${as_nl}ac_space
=\
*)
11126 # `set' does not quote correctly, so add quotes: double-quote
11127 # substitution turns \\\\ into \\, and sed turns \\ into \.
11130 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11133 # `set' quotes correctly as required by POSIX, so do not add quotes.
11134 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11143 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11145 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11147 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11148 if test -w "$cache_file"; then
11149 test "x$cache_file" != "x/dev/null" &&
11150 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11151 $as_echo "$as_me: updating cache $cache_file" >&6;}
11152 cat confcache
>$cache_file
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11155 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11160 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11161 # Let make expand exec_prefix.
11162 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11164 DEFS
=-DHAVE_CONFIG_H
11168 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11169 # 1. Remove the extension, and $U if already installed.
11170 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11171 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11172 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11173 # will be set to the directory where LIBOBJS objects are built.
11174 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11175 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11177 LIBOBJS
=$ac_libobjs
11179 LTLIBOBJS
=$ac_ltlibobjs
11183 : ${CONFIG_STATUS=./config.status}
11185 ac_clean_files_save
=$ac_clean_files
11186 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11188 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11190 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11192 # Generated by $as_me.
11193 # Run this file to recreate the current configuration.
11194 # Compiler output produced by configure, useful for debugging
11195 # configure, is in config.log if it exists.
11198 ac_cs_recheck=false
11201 SHELL=\${CONFIG_SHELL-$SHELL}
11204 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11205 ## -------------------- ##
11206 ## M4sh Initialization. ##
11207 ## -------------------- ##
11209 # Be more Bourne compatible
11210 DUALCASE
=1; export DUALCASE
# for MKS sh
11211 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11214 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11215 # is contrary to our usage. Disable this feature.
11216 alias -g '${1+"$@"}'='"$@"'
11217 setopt NO_GLOB_SUBST
11219 case `(set -o) 2>/dev/null` in #(
11231 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11232 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11234 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11235 # Prefer a ksh shell builtin over an external printf program on Solaris,
11236 # but without wasting forks for bash or zsh.
11237 if test -z "$BASH_VERSION$ZSH_VERSION" \
11238 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11239 as_echo='print
-r --'
11240 as_echo_n='print
-rn --'
11241 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11242 as_echo='printf %s
\n'
11243 as_echo_n='printf %s
'
11245 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11246 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11247 as_echo_n='/usr
/ucb
/echo -n'
11249 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11250 as_echo_n_body='eval
11254 expr "X$arg" : "X\\(.*\\)$as_nl";
11255 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11257 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11259 export as_echo_n_body
11260 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11262 export as_echo_body
11263 as_echo='sh
-c $as_echo_body as_echo
'
11266 # The user is always right.
11267 if test "${PATH_SEPARATOR+set}" != set; then
11269 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11270 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11277 # We need space, tab and new line, in precisely that order. Quoting is
11278 # there to prevent editors from complaining about space-tab.
11279 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11280 # splitting by setting IFS to empty value.)
11283 # Find who we are. Look in the path if we contain no directory separator.
11285 *[\\/]* ) as_myself=$0 ;;
11286 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11287 for as_dir in $PATH
11290 test -z "$as_dir" && as_dir=.
11291 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11297 # We did not find ourselves, most probably we were run as `sh COMMAND'
11298 # in which case we are not to be found in the path.
11299 if test "x$as_myself" = x
; then
11302 if test ! -f "$as_myself"; then
11303 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11307 # Unset variables that we do not need and which cause bugs (e.g. in
11308 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11309 # suppresses any "Segmentation fault" message there. '((' could
11310 # trigger a bug in pdksh 5.2.14.
11311 for as_var
in BASH_ENV ENV MAIL MAILPATH
11312 do eval test x\
${$as_var+set} = xset \
11313 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11326 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11329 # as_fn_error ERROR [LINENO LOG_FD]
11330 # ---------------------------------
11331 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11332 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11333 # script with status $?, using 1 if that was 0.
11336 as_status
=$?
; test $as_status -eq 0 && as_status
=1
11338 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11339 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
11341 $as_echo "$as_me: error: $1" >&2
11342 as_fn_exit
$as_status
11346 # as_fn_set_status STATUS
11347 # -----------------------
11348 # Set $? to STATUS, without forking.
11349 as_fn_set_status
()
11352 } # as_fn_set_status
11354 # as_fn_exit STATUS
11355 # -----------------
11356 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11360 as_fn_set_status
$1
11366 # Portably unset VAR.
11369 { eval $1=; unset $1;}
11371 as_unset
=as_fn_unset
11372 # as_fn_append VAR VALUE
11373 # ----------------------
11374 # Append the text in VALUE to the end of the definition contained in VAR. Take
11375 # advantage of any shell optimizations that allow amortized linear growth over
11376 # repeated appends, instead of the typical quadratic growth present in naive
11378 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11379 eval 'as_fn_append ()
11390 # as_fn_arith ARG...
11391 # ------------------
11392 # Perform arithmetic evaluation on the ARGs, and store the result in the
11393 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11394 # must be portable across $(()) and expr.
11395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11396 eval 'as_fn_arith ()
11403 as_val
=`expr "$@" || test $? -eq 1`
11408 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11409 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11415 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11416 as_basename
=basename
11421 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11427 as_me
=`$as_basename -- "$0" ||
11428 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11429 X"$0" : 'X\(//\)$' \| \
11430 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11432 sed '/^.*\/\([^/][^/]*\)\/*$/{
11446 # Avoid depending upon Character Ranges.
11447 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11448 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11449 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11450 as_cr_digits
='0123456789'
11451 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11453 ECHO_C
= ECHO_N
= ECHO_T
=
11454 case `echo -n x` in #(((((
11456 case `echo 'xy\c'` in
11457 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11459 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11466 rm -f conf$$ conf$$.exe conf$$.
file
11467 if test -d conf$$.dir
; then
11468 rm -f conf$$.dir
/conf$$.
file
11471 mkdir conf$$.dir
2>/dev
/null
11473 if (echo >conf$$.
file) 2>/dev
/null
; then
11474 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11476 # ... but there are two gotchas:
11477 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11478 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11479 # In both cases, we have to default to `cp -p'.
11480 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11482 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11490 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11491 rmdir conf$$.dir
2>/dev
/null
11496 # Create "$as_dir" as a directory, including parents if necessary.
11501 -*) as_dir
=.
/$as_dir;;
11503 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11507 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11508 *) as_qdir
=$as_dir;;
11510 as_dirs
="'$as_qdir' $as_dirs"
11511 as_dir
=`$as_dirname -- "$as_dir" ||
11512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11513 X"$as_dir" : 'X\(//\)[^/]' \| \
11514 X"$as_dir" : 'X\(//\)$' \| \
11515 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11516 $as_echo X"$as_dir" |
11517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11521 /^X\(\/\/\)[^/].*/{
11534 test -d "$as_dir" && break
11536 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11537 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11541 if mkdir
-p .
2>/dev
/null
; then
11542 as_mkdir_p
='mkdir -p "$as_dir"'
11544 test -d .
/-p && rmdir .
/-p
11548 if test -x / >/dev
/null
2>&1; then
11549 as_test_x
='test -x'
11551 if ls -dL / >/dev
/null
2>&1; then
11558 if test -d "$1"; then
11564 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11565 ???[sx]*):;;*)false;;esac;fi
11569 as_executable_p
=$as_test_x
11571 # Sed expression to map a string onto a valid CPP name.
11572 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11574 # Sed expression to map a string onto a valid variable name.
11575 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11579 ## ----------------------------------- ##
11580 ## Main body of $CONFIG_STATUS script. ##
11581 ## ----------------------------------- ##
11583 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11586 # Save the log message, to keep $0 and so on meaningful, and to
11587 # report actual input values of CONFIG_FILES etc. instead of their
11588 # values after options handling.
11590 This file was extended by $as_me, which was
11591 generated by GNU Autoconf 2.65. Invocation command line was
11593 CONFIG_FILES = $CONFIG_FILES
11594 CONFIG_HEADERS = $CONFIG_HEADERS
11595 CONFIG_LINKS = $CONFIG_LINKS
11596 CONFIG_COMMANDS = $CONFIG_COMMANDS
11599 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11604 case $ac_config_files in *"
11605 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11608 case $ac_config_headers in *"
11609 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11614 # Files that config.status was made for.
11615 config_files="$ac_config_files"
11616 config_headers="$ac_config_headers"
11617 config_commands="$ac_config_commands"
11621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11623 \`$as_me' instantiates files and other configuration actions
11624 from templates according to the current configuration. Unless the files
11625 and actions are specified as TAGs, all are instantiated by default.
11627 Usage: $0 [OPTION]... [TAG]...
11629 -h, --help print this help, then exit
11630 -V, --version print version number and configuration settings, then exit
11631 --config print configuration, then exit
11632 -q, --quiet, --silent
11633 do not print progress messages
11634 -d, --debug don't remove temporary files
11635 --recheck update $as_me by reconfiguring in the same conditions
11636 --file=FILE[:TEMPLATE]
11637 instantiate the configuration file FILE
11638 --header=FILE[:TEMPLATE]
11639 instantiate the configuration header FILE
11641 Configuration files:
11644 Configuration headers:
11647 Configuration commands:
11650 Report bugs to the package provider."
11653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11654 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11657 configured by $0, generated by GNU Autoconf 2.65,
11658 with options \\"\$ac_cs_config\\"
11660 Copyright (C) 2009 Free Software Foundation, Inc.
11661 This config.status script is free software; the Free Software Foundation
11662 gives unlimited permission to copy, distribute and modify it."
11666 test -n "\$AWK" || AWK=awk
11669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11670 # The default lists apply if the user does not specify any file.
11676 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11677 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11688 # Handling of the options.
11689 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11691 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11692 $as_echo "$ac_cs_version"; exit ;;
11693 --config |
--confi |
--conf |
--con |
--co |
--c )
11694 $as_echo "$ac_cs_config"; exit ;;
11695 --debug |
--debu |
--deb |
--de |
--d |
-d )
11697 --file |
--fil |
--fi |
--f )
11700 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11702 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11703 ac_need_defaults
=false
;;
11704 --header |
--heade |
--head |
--hea )
11707 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11709 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11710 ac_need_defaults
=false
;;
11712 # Conflict between --help and --header
11713 as_fn_error
"ambiguous option: \`$1'
11714 Try \`$0 --help' for more information.";;
11715 --help |
--hel |
-h )
11716 $as_echo "$ac_cs_usage"; exit ;;
11717 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11718 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11721 # This is an error.
11722 -*) as_fn_error
"unrecognized option: \`$1'
11723 Try \`$0 --help' for more information." ;;
11725 *) as_fn_append ac_config_targets
" $1"
11726 ac_need_defaults
=false
;;
11732 ac_configure_extra_args
=
11734 if $ac_cs_silent; then
11736 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11741 if \$ac_cs_recheck; then
11742 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11744 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11745 CONFIG_SHELL='$SHELL'
11746 export CONFIG_SHELL
11751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11755 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11756 ## Running $as_me. ##
11762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11767 aros_host_exe_suffix=${aros_host_exe_suffix}
11768 aros_tools_dir=${aros_tools_dir}
11769 aros_target_cpu=${aros_target_cpu}
11770 aros_target_arch=${aros_target_arch}
11771 aros_target_suffix=${aros_target_suffix}
11772 aros_target_nm_ln=${aros_target_nm_ln}
11773 aros_target_as_ln=${aros_target_as_ln}
11774 aros_target_ar_ln=${aros_target_ar_ln}
11775 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11776 aros_target_objdump_ln=${aros_target_objdump_ln}
11777 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11778 aros_target_strip_ln=${aros_target_strip_ln}
11781 aros_scripts_dir=${aros_scripts_dir}
11783 aros_tools_dir=${aros_tools_dir}
11788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11790 # Handling of arguments.
11791 for ac_config_target
in $ac_config_targets
11793 case $ac_config_target in
11794 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11795 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11796 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11797 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11798 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11799 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11800 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11801 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11802 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11803 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11804 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11805 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11806 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11807 "${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" ;;
11808 "${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" ;;
11809 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/library_template_c/source/lib_source/genshared.in" ;;
11810 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11811 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11812 "${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" ;;
11814 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11819 # If the user did not use the arguments to specify the items to instantiate,
11820 # then the envvar interface is used. Set only those that are not.
11821 # We use the long form for the default assignment because of an extremely
11822 # bizarre bug on SunOS 4.1.3.
11823 if $ac_need_defaults; then
11824 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11825 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11826 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11829 # Have a temporary directory for convenience. Make it in the build tree
11830 # simply because there is no reason against having it here, and in addition,
11831 # creating and moving files from /tmp can sometimes cause problems.
11832 # Hook for its removal unless debugging.
11833 # Note that there is a small window in which the directory will not be cleaned:
11834 # after its creation but before its name has been assigned to `$tmp'.
11838 trap 'exit_status=$?
11839 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11841 trap 'as_fn_exit 1' 1 2 13 15
11843 # Create a (secure) tmp directory for tmp files.
11846 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11847 test -n "$tmp" && test -d "$tmp"
11850 tmp
=.
/conf$$
-$RANDOM
11851 (umask 077 && mkdir
"$tmp")
11852 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11854 # Set up the scripts for CONFIG_FILES section.
11855 # No need to generate them if there are no CONFIG_FILES.
11856 # This happens for instance with `./config.status config.h'.
11857 if test -n "$CONFIG_FILES"; then
11860 ac_cr
=`echo X | tr X '\015'`
11861 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11862 # But we know of no other shell where ac_cr would be empty at this
11863 # point, so we can use a bashism as a fallback.
11864 if test "x$ac_cr" = x
; then
11865 eval ac_cr
=\$
\'\\r
\'
11867 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11868 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11871 ac_cs_awk_cr
=$ac_cr
11874 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11879 echo "cat >conf$$subs.awk <<_ACEOF" &&
11880 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11882 } >conf$$subs.sh ||
11883 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11884 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11886 for ac_last_try in false false false false false :; do
11887 . ./conf$$subs.sh ||
11888 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11890 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11891 if test $ac_delim_n = $ac_delim_num; then
11893 elif $ac_last_try; then
11894 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11896 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11899 rm -f conf$$subs.sh
11901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11902 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11906 s/^/S["/; s
/!.
*/"]=/
11916 s/\(.\{148\}\)..*/\1/
11918 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11923 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11930 s/\(.\{148\}\)..*/\1/
11932 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11936 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11941 ' <conf$$subs.awk | sed '
11946 ' >>$CONFIG_STATUS || ac_write_fail=1
11947 rm -f conf$$subs.awk
11948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11950 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11951 for (key in S) S_is_set[key] = 1
11957 nfields = split(line, field, "@
")
11959 len = length(field[1])
11960 for (i = 2; i < nfields; i++) {
11962 keylen = length(key)
11963 if (S_is_set[key]) {
11965 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11966 len += length(value) + length(field[++i])
11977 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11978 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11979 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11982 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11983 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11986 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11987 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11988 # trailing colons and then remove the whole line if VPATH becomes empty
11989 # (actually we leave an empty line to preserve line numbers).
11990 if test "x
$srcdir" = x.; then
11991 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11992 s/:*\$(srcdir):*/:/
11993 s/:*\${srcdir}:*/:/
11995 s/^\([^=]*=[ ]*\):*/\1/
12001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12002 fi # test -n "$CONFIG_FILES"
12004 # Set up the scripts for CONFIG_HEADERS section.
12005 # No need to generate them if there are no CONFIG_HEADERS.
12006 # This happens for instance with `./config.status Makefile'.
12007 if test -n "$CONFIG_HEADERS"; then
12008 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12012 # Transform confdefs.h into an awk script `defines.awk', embedded as
12013 # here-document in config.status, that substitutes the proper values into
12014 # config.h.in to produce config.h.
12016 # Create a delimiter string that does not exist in confdefs.h, to ease
12017 # handling of long lines.
12019 for ac_last_try in false false :; do
12020 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12021 if test -z "$ac_t"; then
12023 elif $ac_last_try; then
12024 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
12026 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12030 # For the awk script, D is an array of macro values keyed by name,
12031 # likewise P contains macro parameters if any. Preserve backslash
12032 # newline sequences.
12034 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12036 s/.\{148\}/&'"$ac_delim"'/g
12039 s/^[ ]*#[ ]*define[ ][ ]*/ /
12046 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12048 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12052 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12053 D["\
1"]=" \
3\\\\\\n
"\\/p
12055 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12060 s/.\{148\}/&'"$ac_delim"'/g
12065 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12068 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12070 ' <confdefs.h | sed '
12071 s/'"$ac_delim"'/"\\\
12072 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12074 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12075 for (key in D) D_is_set[key] = 1
12078 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12080 split(line, arg, " ")
12081 if (arg[1] == "#") {
12085 defundef
= substr
(arg
[1], 2)
12088 split(mac1
, mac2
, "(") #)
12090 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12091 if (D_is_set
[macro
]) {
12092 # Preserve the white space surrounding the "#".
12093 print prefix
"define", macro P
[macro
] D
[macro
]
12096 # Replace #undef with comments. This is necessary, for example,
12097 # in the case of _POSIX_SOURCE, which is predefined and required
12098 # on some systems where configure will not decide to define it.
12099 if (defundef
== "undef") {
12100 print
"/*", prefix defundef
, macro
, "*/"
12108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12109 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
12110 fi # test -n "$CONFIG_HEADERS"
12113 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12118 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12120 case $ac_mode$ac_tag in
12122 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
12123 :[FH
]-) ac_tag
=-:-;;
12124 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12141 -) ac_f
="$tmp/stdin";;
12142 *) # Look for the file first in the build tree, then in the source tree
12143 # (if the path is not absolute). The absolute path cannot be DOS-style,
12144 # because $ac_f cannot contain `:'.
12148 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12150 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
12152 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12153 as_fn_append ac_file_inputs
" '$ac_f'"
12156 # Let's still pretend it is `configure' which instantiates (i.e., don't
12157 # use $as_me), people would be surprised to read:
12158 # /* config.h. Generated by config.status. */
12159 configure_input
='Generated from '`
12160 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12162 if test x
"$ac_file" != x-
; then
12163 configure_input
="$ac_file. $configure_input"
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12165 $as_echo "$as_me: creating $ac_file" >&6;}
12167 # Neutralize special characters interpreted by sed in replacement strings.
12168 case $configure_input in #(
12169 *\
&* |
*\|
* |
*\\* )
12170 ac_sed_conf_input
=`$as_echo "$configure_input" |
12171 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12172 *) ac_sed_conf_input
=$configure_input;;
12176 *:-:* |
*:-) cat >"$tmp/stdin" \
12177 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
12182 ac_dir
=`$as_dirname -- "$ac_file" ||
12183 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12184 X"$ac_file" : 'X\(//\)[^/]' \| \
12185 X"$ac_file" : 'X\(//\)$' \| \
12186 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12187 $as_echo X"$ac_file" |
12188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12192 /^X\(\/\/\)[^/].*/{
12205 as_dir
="$ac_dir"; as_fn_mkdir_p
12209 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12211 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12212 # A ".." for each directory in $ac_dir_suffix.
12213 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12214 case $ac_top_builddir_sub in
12215 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12216 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12219 ac_abs_top_builddir
=$ac_pwd
12220 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12221 # for backward compatibility:
12222 ac_top_builddir
=$ac_top_build_prefix
12225 .
) # We are building in place.
12227 ac_top_srcdir
=$ac_top_builddir_sub
12228 ac_abs_top_srcdir
=$ac_pwd ;;
12229 [\\/]* | ?
:[\\/]* ) # Absolute name.
12230 ac_srcdir
=$srcdir$ac_dir_suffix;
12231 ac_top_srcdir
=$srcdir
12232 ac_abs_top_srcdir
=$srcdir ;;
12233 *) # Relative name.
12234 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12235 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12236 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12238 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12250 # If the template does not know about datarootdir, expand it.
12251 # FIXME: This hack should be removed a few years after 2.60.
12252 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12263 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12264 *datarootdir
*) ac_datarootdir_seen
=yes;;
12265 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12267 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12269 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12270 ac_datarootdir_hack='
12271 s&@datadir@&$datadir&g
12272 s&@docdir@&$docdir&g
12273 s&@infodir@&$infodir&g
12274 s&@localedir@&$localedir&g
12275 s&@mandir@&$mandir&g
12276 s&\\\${datarootdir}&$datarootdir&g' ;;
12280 # Neutralize VPATH when `$srcdir' = `.'.
12281 # Shell code in configure.ac might set extrasub.
12282 # FIXME: do we really want to maintain this feature?
12283 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12284 ac_sed_extra="$ac_vpsub
12287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12289 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12290 s|@configure_input@|
$ac_sed_conf_input|
;t t
12291 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12292 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12293 s
&@srcdir@
&$ac_srcdir&;t t
12294 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12295 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12296 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12297 s
&@builddir@
&$ac_builddir&;t t
12298 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12299 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12300 $ac_datarootdir_hack
12302 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12303 || as_fn_error "could not create
$ac_file" "$LINENO" 5
12305 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12306 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12307 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12309 which seems to be undefined. Please make sure it is defined." >&5
12310 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12311 which seems to be undefined. Please make sure it is defined." >&2;}
12315 -) cat "$tmp/out" && rm -f "$tmp/out";;
12316 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12318 || as_fn_error "could not create $ac_file" "$LINENO" 5
12324 if test x"$ac_file" != x-; then
12326 $as_echo "/* $configure_input */" \
12327 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12328 } >"$tmp/config.h" \
12329 || as_fn_error "could not create $ac_file" "$LINENO" 5
12330 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12332 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12335 mv "$tmp/config.h" "$ac_file" \
12336 || as_fn_error "could not create $ac_file" "$LINENO" 5
12339 $as_echo "/* $configure_input */" \
12340 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12341 || as_fn_error "could not create -" "$LINENO" 5
12345 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12346 $as_echo "$as_me: executing $ac_file commands" >&6;}
12351 case $ac_file$ac_mode in
12352 "compiler_executable":C)
12353 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12355 prefix="${prefix}/${aros_target_cpu}-aros"
12356 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12360 chmod a+x ${prefix2}-gcc ${prefix2}-ld
12362 ln -sf ${prefix2}-gcc ${prefix}-gcc
12363 ln -sf ${prefix2}-ld ${prefix}-ld
12365 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12366 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12367 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12368 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12369 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12370 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12371 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12373 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12374 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12375 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12376 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12377 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12378 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12379 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12381 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
12382 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12390 ac_clean_files=$ac_clean_files_save
12392 test $ac_write_fail = 0 ||
12393 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
12396 # configure is writing to config.log, and then calls config.status.
12397 # config.status does its own redirection, appending to config.log.
12398 # Unfortunately, on DOS this fails, as config.log is still kept open
12399 # by configure, so config.status won't be able to
write to it
; its
12400 # output is simply discarded. So we exec the FD to /dev/null,
12401 # effectively closing config.log, so it can be properly (re)opened and
12402 # appended to by config.status. When coming back to configure, we
12403 # need to make the FD available again.
12404 if test "$no_create" != yes; then
12406 ac_config_status_args
=
12407 test "$silent" = yes &&
12408 ac_config_status_args
="$ac_config_status_args --quiet"
12410 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12412 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12413 # would make configure fail if this is the last instruction.
12414 $ac_cs_success || as_fn_exit $?
12416 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12418 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12423 #XXX compatability...
12424 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12426 if test -n "$aros_shared_cflags" ; then
12427 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12428 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg