2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error STATUS ERROR [LINENO LOG_FD]
360 # ----------------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with STATUS, using 1 if that was 0.
366 as_status
=$1; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
371 $as_echo "$as_me: error: $2" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
613 aros_nesting_supervisor
618 aros_host_x11_libdirs
619 aros_host_x11_includes
623 aros_default_wbheight
630 aros_target_strip_flags
638 aros_kernel_objcflags
657 aros_target_cc_includes
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" : '[^=]*=\(.*\)'` ;;
938 # Accept the important Cygnus configure options, so we can diagnose typos.
940 case $ac_dashdash$ac_option in
944 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
946 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
949 -build |
--build |
--buil |
--bui |
--bu)
950 ac_prev
=build_alias
;;
951 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
952 build_alias
=$ac_optarg ;;
954 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
955 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
956 ac_prev
=cache_file
;;
957 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
958 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
959 cache_file
=$ac_optarg ;;
962 cache_file
=config.cache
;;
964 -datadir |
--datadir |
--datadi |
--datad)
966 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
967 datadir
=$ac_optarg ;;
969 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
970 |
--dataroo |
--dataro |
--datar)
971 ac_prev
=datarootdir
;;
972 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
973 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
974 datarootdir
=$ac_optarg ;;
976 -disable-* |
--disable-*)
977 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
978 # Reject names that are not valid shell variable names.
979 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
980 as_fn_error $?
"invalid feature name: $ac_useropt"
981 ac_useropt_orig
=$ac_useropt
982 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
983 case $ac_user_opts in
987 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
988 ac_unrecognized_sep
=', ';;
990 eval enable_
$ac_useropt=no
;;
992 -docdir |
--docdir |
--docdi |
--doc |
--do)
994 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
997 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
999 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1000 dvidir
=$ac_optarg ;;
1002 -enable-* |
--enable-*)
1003 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1004 # Reject names that are not valid shell variable names.
1005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1006 as_fn_error $?
"invalid feature name: $ac_useropt"
1007 ac_useropt_orig
=$ac_useropt
1008 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1009 case $ac_user_opts in
1011 "enable_
$ac_useropt"
1013 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1014 ac_unrecognized_sep
=', ';;
1016 eval enable_
$ac_useropt=\
$ac_optarg ;;
1018 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1019 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1020 |
--exec |
--exe |
--ex)
1021 ac_prev
=exec_prefix
;;
1022 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1023 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1024 |
--exec=* |
--exe=* |
--ex=*)
1025 exec_prefix
=$ac_optarg ;;
1027 -gas |
--gas |
--ga |
--g)
1028 # Obsolete; use --with-gas.
1031 -help |
--help |
--hel |
--he |
-h)
1032 ac_init_help
=long
;;
1033 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1034 ac_init_help
=recursive
;;
1035 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1036 ac_init_help
=short
;;
1038 -host |
--host |
--hos |
--ho)
1039 ac_prev
=host_alias
;;
1040 -host=* |
--host=* |
--hos=* |
--ho=*)
1041 host_alias
=$ac_optarg ;;
1043 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1045 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1047 htmldir
=$ac_optarg ;;
1049 -includedir |
--includedir |
--includedi |
--included |
--include \
1050 |
--includ |
--inclu |
--incl |
--inc)
1051 ac_prev
=includedir
;;
1052 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1053 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1054 includedir
=$ac_optarg ;;
1056 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1058 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1059 infodir
=$ac_optarg ;;
1061 -libdir |
--libdir |
--libdi |
--libd)
1063 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1064 libdir
=$ac_optarg ;;
1066 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1067 |
--libexe |
--libex |
--libe)
1068 ac_prev
=libexecdir
;;
1069 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1070 |
--libexe=* |
--libex=* |
--libe=*)
1071 libexecdir
=$ac_optarg ;;
1073 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1074 ac_prev
=localedir
;;
1075 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1076 localedir
=$ac_optarg ;;
1078 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1079 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1080 ac_prev
=localstatedir
;;
1081 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1082 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1083 localstatedir
=$ac_optarg ;;
1085 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1087 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1088 mandir
=$ac_optarg ;;
1090 -nfp |
--nfp |
--nf)
1091 # Obsolete; use --without-fp.
1094 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1095 |
--no-cr |
--no-c |
-n)
1098 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1099 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1102 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1103 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1104 |
--oldin |
--oldi |
--old |
--ol |
--o)
1105 ac_prev
=oldincludedir
;;
1106 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1107 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1108 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1109 oldincludedir
=$ac_optarg ;;
1111 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1113 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1114 prefix
=$ac_optarg ;;
1116 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1117 |
--program-pre |
--program-pr |
--program-p)
1118 ac_prev
=program_prefix
;;
1119 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1120 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1121 program_prefix
=$ac_optarg ;;
1123 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1124 |
--program-suf |
--program-su |
--program-s)
1125 ac_prev
=program_suffix
;;
1126 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1127 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1128 program_suffix
=$ac_optarg ;;
1130 -program-transform-name |
--program-transform-name \
1131 |
--program-transform-nam |
--program-transform-na \
1132 |
--program-transform-n |
--program-transform- \
1133 |
--program-transform |
--program-transfor \
1134 |
--program-transfo |
--program-transf \
1135 |
--program-trans |
--program-tran \
1136 |
--progr-tra |
--program-tr |
--program-t)
1137 ac_prev
=program_transform_name
;;
1138 -program-transform-name=* |
--program-transform-name=* \
1139 |
--program-transform-nam=* |
--program-transform-na=* \
1140 |
--program-transform-n=* |
--program-transform-=* \
1141 |
--program-transform=* |
--program-transfor=* \
1142 |
--program-transfo=* |
--program-transf=* \
1143 |
--program-trans=* |
--program-tran=* \
1144 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1145 program_transform_name
=$ac_optarg ;;
1147 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1149 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1150 pdfdir
=$ac_optarg ;;
1152 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1154 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1157 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1158 |
-silent |
--silent |
--silen |
--sile |
--sil)
1161 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1163 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1165 sbindir
=$ac_optarg ;;
1167 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1168 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1169 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1171 ac_prev
=sharedstatedir
;;
1172 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1173 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1174 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1176 sharedstatedir
=$ac_optarg ;;
1178 -site |
--site |
--sit)
1180 -site=* |
--site=* |
--sit=*)
1183 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1185 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1186 srcdir
=$ac_optarg ;;
1188 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1189 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1190 ac_prev
=sysconfdir
;;
1191 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1192 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1193 sysconfdir
=$ac_optarg ;;
1195 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1196 ac_prev
=target_alias
;;
1197 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1198 target_alias
=$ac_optarg ;;
1200 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1203 -version |
--version |
--versio |
--versi |
--vers |
-V)
1204 ac_init_version
=: ;;
1207 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1208 # Reject names that are not valid shell variable names.
1209 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1210 as_fn_error $?
"invalid package name: $ac_useropt"
1211 ac_useropt_orig
=$ac_useropt
1212 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1213 case $ac_user_opts in
1217 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1218 ac_unrecognized_sep
=', ';;
1220 eval with_
$ac_useropt=\
$ac_optarg ;;
1222 -without-* |
--without-*)
1223 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1224 # Reject names that are not valid shell variable names.
1225 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1226 as_fn_error $?
"invalid package name: $ac_useropt"
1227 ac_useropt_orig
=$ac_useropt
1228 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1229 case $ac_user_opts in
1233 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1234 ac_unrecognized_sep
=', ';;
1236 eval with_
$ac_useropt=no
;;
1239 # Obsolete; use --with-x.
1242 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1243 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1244 ac_prev
=x_includes
;;
1245 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1246 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1247 x_includes
=$ac_optarg ;;
1249 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1250 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1251 ac_prev
=x_libraries
;;
1252 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1253 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1254 x_libraries
=$ac_optarg ;;
1256 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1257 Try \`$0 --help' for more information"
1261 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1262 # Reject names that are not valid shell variable names.
1263 case $ac_envvar in #(
1264 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1265 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1267 eval $ac_envvar=\
$ac_optarg
1268 export $ac_envvar ;;
1271 # FIXME: should be removed in autoconf 3.0.
1272 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1273 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1274 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1275 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1281 if test -n "$ac_prev"; then
1282 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1283 as_fn_error $?
"missing argument to $ac_option"
1286 if test -n "$ac_unrecognized_opts"; then
1287 case $enable_option_checking in
1289 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1290 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1294 # Check all directory arguments for consistency.
1295 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1296 datadir sysconfdir sharedstatedir localstatedir includedir \
1297 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1298 libdir localedir mandir
1300 eval ac_val
=\$
$ac_var
1301 # Remove trailing slashes.
1304 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1305 eval $ac_var=\
$ac_val;;
1307 # Be sure to have absolute directory names.
1309 [\\/$
]* | ?
:[\\/]* ) continue;;
1310 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1312 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1315 # There might be people who depend on the old broken behavior: `$host'
1316 # used to hold the argument of --host etc.
1317 # FIXME: To remove some day.
1320 target
=$target_alias
1322 # FIXME: To remove some day.
1323 if test "x$host_alias" != x
; then
1324 if test "x$build_alias" = x
; then
1325 cross_compiling
=maybe
1326 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1327 If a cross compiler is detected then cross compile mode will be used" >&2
1328 elif test "x$build_alias" != "x$host_alias"; then
1334 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1336 test "$silent" = yes && exec 6>/dev
/null
1339 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1340 ac_ls_di
=`ls -di .` &&
1341 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1342 as_fn_error $?
"working directory cannot be determined"
1343 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1344 as_fn_error $?
"pwd does not report name of working directory"
1347 # Find the source files, if location was not specified.
1348 if test -z "$srcdir"; then
1349 ac_srcdir_defaulted
=yes
1350 # Try the directory containing this script, then the parent directory.
1351 ac_confdir
=`$as_dirname -- "$as_myself" ||
1352 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1353 X"$as_myself" : 'X\(//\)[^/]' \| \
1354 X"$as_myself" : 'X\(//\)$' \| \
1355 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1356 $as_echo X"$as_myself" |
1357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1375 if test ! -r "$srcdir/$ac_unique_file"; then
1379 ac_srcdir_defaulted
=no
1381 if test ! -r "$srcdir/$ac_unique_file"; then
1382 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1383 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1385 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1387 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1389 # When building in place, set srcdir=.
1390 if test "$ac_abs_confdir" = "$ac_pwd"; then
1393 # Remove unnecessary trailing slashes from srcdir.
1394 # Double slashes in file names in object file debugging info
1395 # mess up M-x gdb in Emacs.
1397 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1399 for ac_var
in $ac_precious_vars; do
1400 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1401 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1402 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1403 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1407 # Report the --help message.
1409 if test "$ac_init_help" = "long"; then
1410 # Omit some internal or obsolete options to make the list less imposing.
1411 # This message is too long to be a string in the A/UX 3.1 sh.
1413 \`configure' configures this package to adapt to many kinds of systems.
1415 Usage: $0 [OPTION]... [VAR=VALUE]...
1417 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1418 VAR=VALUE. See below for descriptions of some of the useful variables.
1420 Defaults for the options are specified in brackets.
1423 -h, --help display this help and exit
1424 --help=short display options specific to this package
1425 --help=recursive display the short help of all the included packages
1426 -V, --version display version information and exit
1427 -q, --quiet, --silent do not print \`checking ...' messages
1428 --cache-file=FILE cache test results in FILE [disabled]
1429 -C, --config-cache alias for \`--cache-file=config.cache'
1430 -n, --no-create do not create output files
1431 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1433 Installation directories:
1434 --prefix=PREFIX install architecture-independent files in PREFIX
1435 [$ac_default_prefix]
1436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1439 By default, \`make install' will install all the files in
1440 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1441 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1442 for instance \`--prefix=\$HOME'.
1444 For better control, use the options below.
1446 Fine tuning of the installation directories:
1447 --bindir=DIR user executables [EPREFIX/bin]
1448 --sbindir=DIR system admin executables [EPREFIX/sbin]
1449 --libexecdir=DIR program executables [EPREFIX/libexec]
1450 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1451 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1452 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1453 --libdir=DIR object code libraries [EPREFIX/lib]
1454 --includedir=DIR C header files [PREFIX/include]
1455 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1456 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1457 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1458 --infodir=DIR info documentation [DATAROOTDIR/info]
1459 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1460 --mandir=DIR man documentation [DATAROOTDIR/man]
1461 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1462 --htmldir=DIR html documentation [DOCDIR]
1463 --dvidir=DIR dvi documentation [DOCDIR]
1464 --pdfdir=DIR pdf documentation [DOCDIR]
1465 --psdir=DIR ps documentation [DOCDIR]
1471 --x-includes=DIR X include files are
in DIR
1472 --x-libraries=DIR X library files are
in DIR
1475 --build=BUILD configure
for building on BUILD
[guessed
]
1476 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1480 if test -n "$ac_init_help"; then
1485 --disable-option-checking ignore unrecognized
--enable/--with options
1486 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1487 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1488 --enable-build-type=TYPE
1489 Select the build
type. Available types are
:
1490 personal
, nightly
, snapshot
, milestone
, release. Do
1491 NOT use this option unless you know what you are
1492 doing
! (default
=personal
)
1493 --enable-debug=list Enable different types of debug. Commas or
1494 whitespaces can be used to separate the items
in the
1495 list. Available types of debug are
: all
, none
,
1496 messages
, stack
, mungwall
, modules
, symbols. If no
1497 list is provided
then "all" is assumed.
1499 --enable-crosstools Build cross-compiler toolchains
if necessary
1501 --enable-distcc Use distcc as a front end to the compiler
1503 --enable-ccache Use ccache as a front end to the compiler
1505 --enable-target-variant=NAME
1506 Enable a specific target variant
(default
=none
)
1507 --enable-includes=dir Alternative system include directory
1508 --enable-palm-debug-hack
1509 Enable palm debug output hack
in palm native
1511 --enable-nesting-supervisor
1512 Enable nesting supervisor support
in unix
1514 --disable-mmu Disable MMU support
(default
=enabled
)
1515 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1516 --enable-x11-shm use X11 shared memory
(default
=auto
)
1517 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1518 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1519 --disable-sdltest Do not try to compile and run a
test SDL program
1520 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1523 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1524 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1525 --with-gcc-version=VERSION
1526 Use gcc-VERSION
for building AROS
1527 --with-optimization=FLAGS
1528 Use optimization flags FLAGS
(default
=-O2).
1529 --with-paranoia=FLAGS CC flags to
enable paranoia
1530 --with-xcode=PATH Specify XCode path
for iOS targets
1531 (default
=/Developer
).
1532 --with-ios-version=VERSION
1533 Specify minimum supported iOS version
(default
=3.0).
1534 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1535 --with-sdk=PATH Specify Android SDK path
1536 (default
=$default_android_sdk).
1537 --with-ndk=PATH Specify Android NDK path
1538 (default
=$default_android_ndk).
1539 --with-android-version=VERSION
1540 Use Android platform VERSION
(default
=2.2).
1541 --with-portssources=DIR Where to download sourcecode
for external ports
1542 --with-bootloader=NAME Use a specific bootloader
1543 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1544 --with-theme=NAME Use a specific GUI Theme
1545 --with-resolution=XRESxYRESxDEPTH
1546 Default resolution of the initial WorkbenchScreen
1547 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1548 --with-x use the X Window System
1549 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1550 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1552 Some influential environment variables
:
1553 CC C compiler
command
1554 CFLAGS C compiler flags
1555 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1556 nonstandard directory
<lib dir
>
1557 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1558 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1559 you have headers
in a nonstandard directory
<include dir
>
1561 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1563 Use these variables to override the choices made by
`configure' or to help
1564 it to find libraries and programs with nonstandard names/locations.
1566 Report bugs to the package provider.
1571 if test "$ac_init_help" = "recursive"; then
1572 # If there are subdirs, report their specific --help.
1573 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1574 test -d "$ac_dir" ||
1575 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1580 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1582 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1583 # A ".." for each directory in $ac_dir_suffix.
1584 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1585 case $ac_top_builddir_sub in
1586 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1587 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1590 ac_abs_top_builddir=$ac_pwd
1591 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1592 # for backward compatibility:
1593 ac_top_builddir=$ac_top_build_prefix
1596 .) # We are building in place.
1598 ac_top_srcdir=$ac_top_builddir_sub
1599 ac_abs_top_srcdir=$ac_pwd ;;
1600 [\\/]* | ?:[\\/]* ) # Absolute name.
1601 ac_srcdir=$srcdir$ac_dir_suffix;
1602 ac_top_srcdir=$srcdir
1603 ac_abs_top_srcdir=$srcdir ;;
1605 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1606 ac_top_srcdir=$ac_top_build_prefix$srcdir
1607 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1609 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1611 cd "$ac_dir" || { ac_status=$?; continue; }
1612 # Check for guested configure.
1613 if test -f "$ac_srcdir/configure.gnu"; then
1615 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1616 elif test -f "$ac_srcdir/configure"; then
1618 $SHELL "$ac_srcdir/configure" --help=recursive
1620 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1622 cd "$ac_pwd" || { ac_status=$?; break; }
1626 test -n "$ac_init_help" && exit $ac_status
1627 if $ac_init_version; then
1630 generated by GNU Autoconf 2.67
1632 Copyright (C) 2010 Free Software Foundation, Inc.
1633 This configure script is free software; the Free Software Foundation
1634 gives unlimited permission to copy, distribute and modify it.
1639 ## ------------------------ ##
1640 ## Autoconf initialization. ##
1641 ## ------------------------ ##
1643 # ac_fn_c_try_compile LINENO
1644 # --------------------------
1645 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1646 ac_fn_c_try_compile ()
1648 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1649 rm -f conftest.$ac_objext
1650 if { { ac_try="$ac_compile"
1652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1653 *) ac_try_echo
=$ac_try;;
1655 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1656 $as_echo "$ac_try_echo"; } >&5
1657 (eval "$ac_compile") 2>conftest.err
1659 if test -s conftest.err
; then
1660 grep -v '^ *+' conftest.err
>conftest.er1
1661 cat conftest.er1
>&5
1662 mv -f conftest.er1 conftest.err
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; } && {
1666 test -z "$ac_c_werror_flag" ||
1667 test ! -s conftest.err
1668 } && test -s conftest.
$ac_objext; then :
1671 $as_echo "$as_me: failed program was:" >&5
1672 sed 's/^/| /' conftest.
$ac_ext >&5
1676 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1677 as_fn_set_status
$ac_retval
1679 } # ac_fn_c_try_compile
1681 # ac_fn_c_try_cpp LINENO
1682 # ----------------------
1683 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1686 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1687 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1696 if test -s conftest.err; then
1697 grep -v '^ *+' conftest.err >conftest.er1
1698 cat conftest.er1 >&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } > conftest.i && {
1703 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1713 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1714 as_fn_set_status $ac_retval
1718 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1719 # -------------------------------------------------------
1720 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1721 # the include files in INCLUDES and setting the cache variable VAR
1723 ac_fn_c_check_header_mongrel ()
1725 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1726 if eval "test \"\${$3+set}\"" = set; then :
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728 $as_echo_n "checking for $2... " >&6; }
1729 if eval "test \"\${$3+set}\"" = set; then :
1730 $as_echo_n "(cached) " >&6
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1734 $as_echo "$ac_res" >&6; }
1736 # Is the header compilable?
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1738 $as_echo_n "checking $2 usability... " >&6; }
1739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740 /* end confdefs.h. */
1744 if ac_fn_c_try_compile "$LINENO"; then :
1745 ac_header_compiler=yes
1747 ac_header_compiler=no
1749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1751 $as_echo "$ac_header_compiler" >&6; }
1753 # Is the header present?
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1755 $as_echo_n "checking $2 presence... " >&6; }
1756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1757 /* end confdefs.h. */
1760 if ac_fn_c_try_cpp "$LINENO"; then :
1761 ac_header_preproc=yes
1763 ac_header_preproc=no
1765 rm -f conftest.err conftest.i conftest.$ac_ext
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1767 $as_echo "$ac_header_preproc" >&6; }
1769 # So? What about this header?
1770 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1773 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1779 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1781 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1783 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1785 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1787 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1791 $as_echo_n "checking for $2... " >&6; }
1792 if eval "test \"\${$3+set}\"" = set; then :
1793 $as_echo_n "(cached) " >&6
1795 eval "$3=\$ac_header_compiler"
1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1799 $as_echo "$ac_res" >&6; }
1801 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1803 } # ac_fn_c_check_header_mongrel
1805 # ac_fn_c_try_run LINENO
1806 # ----------------------
1807 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1808 # that executables *can* be run.
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 if { { ac_try="$ac_link"
1814 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1815 *) ac_try_echo
=$ac_try;;
1817 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_link") 2>&5
1821 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1822 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1823 { { case "(($ac_try" in
1824 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_try") 2>&5
1831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1832 test $ac_status = 0; }; }; then :
1835 $as_echo "$as_me: program exited with status $ac_status" >&5
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1839 ac_retval=$ac_status
1841 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1842 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1843 as_fn_set_status $ac_retval
1847 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1848 # -------------------------------------------------------
1849 # Tests whether HEADER exists and can be compiled using the include files in
1850 # INCLUDES, setting the cache variable VAR accordingly.
1851 ac_fn_c_check_header_compile ()
1853 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1855 $as_echo_n "checking for $2... " >&6; }
1856 if eval "test \"\${$3+set}\"" = set; then :
1857 $as_echo_n "(cached) " >&6
1859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1860 /* end confdefs.h. */
1864 if ac_fn_c_try_compile "$LINENO"; then :
1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1876 } # ac_fn_c_check_header_compile
1878 # ac_fn_c_try_link LINENO
1879 # -----------------------
1880 # Try to link conftest.$ac_ext, and return whether this succeeded.
1883 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1884 rm -f conftest.$ac_objext conftest$ac_exeext
1885 if { { ac_try="$ac_link"
1887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1888 *) ac_try_echo
=$ac_try;;
1890 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1891 $as_echo "$ac_try_echo"; } >&5
1892 (eval "$ac_link") 2>conftest.err
1894 if test -s conftest.err
; then
1895 grep -v '^ *+' conftest.err
>conftest.er1
1896 cat conftest.er1
>&5
1897 mv -f conftest.er1 conftest.err
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && {
1901 test -z "$ac_c_werror_flag" ||
1902 test ! -s conftest.err
1903 } && test -s conftest
$ac_exeext && {
1904 test "$cross_compiling" = yes ||
1905 $as_test_x conftest
$ac_exeext
1909 $as_echo "$as_me: failed program was:" >&5
1910 sed 's/^/| /' conftest.
$ac_ext >&5
1914 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1915 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1916 # interfere with the next link command; also delete a directory that is
1917 # left behind by Apple's compiler. We do this before executing the actions.
1918 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1920 as_fn_set_status
$ac_retval
1922 } # ac_fn_c_try_link
1924 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1925 # ----------------------------------------------------
1926 # Tries to find if the field MEMBER exists in type AGGR, after including
1927 # INCLUDES, setting cache variable VAR accordingly.
1928 ac_fn_c_check_member
()
1930 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1932 $as_echo_n "checking for $2.$3... " >&6; }
1933 if eval "test \"\${$4+set}\"" = set; then :
1934 $as_echo_n "(cached) " >&6
1936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1949 if ac_fn_c_try_compile
"$LINENO"; then :
1952 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1953 /* end confdefs.h. */
1959 if (sizeof ac_aggr.$3)
1965 if ac_fn_c_try_compile
"$LINENO"; then :
1970 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1972 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1976 $as_echo "$ac_res" >&6; }
1977 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1979 } # ac_fn_c_check_member
1981 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
1982 # ---------------------------------------------
1983 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
1985 ac_fn_c_check_decl
()
1987 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1988 as_decl_name
=`echo $2|sed 's/ *(.*//'`
1989 as_decl_use
=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
1991 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
1992 if eval "test \"\${$3+set}\"" = set; then :
1993 $as_echo_n "(cached) " >&6
1995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1996 /* end confdefs.h. */
2001 #ifndef $as_decl_name
2003 (void) $as_decl_use;
2005 (void) $as_decl_name;
2013 if ac_fn_c_try_compile
"$LINENO"; then :
2018 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2022 $as_echo "$ac_res" >&6; }
2023 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2025 } # ac_fn_c_check_decl
2027 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2028 # -------------------------------------------
2029 # Tests whether TYPE exists after having included INCLUDES, setting cache
2030 # variable VAR accordingly.
2031 ac_fn_c_check_type
()
2033 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2035 $as_echo_n "checking for $2... " >&6; }
2036 if eval "test \"\${$3+set}\"" = set; then :
2037 $as_echo_n "(cached) " >&6
2040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2041 /* end confdefs.h. */
2052 if ac_fn_c_try_compile
"$LINENO"; then :
2053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2065 if ac_fn_c_try_compile
"$LINENO"; then :
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2072 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2079 } # ac_fn_c_check_type
2081 # ac_fn_c_check_func LINENO FUNC VAR
2082 # ----------------------------------
2083 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2084 ac_fn_c_check_func
()
2086 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if eval "test \"\${$3+set}\"" = set; then :
2090 $as_echo_n "(cached) " >&6
2092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2094 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2096 #define $2 innocuous_$2
2098 /* System header to define __stub macros and hopefully few prototypes,
2099 which can conflict with char $2 (); below.
2100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2101 <limits.h> exists even on freestanding compilers. */
2104 # include <limits.h>
2106 # include <assert.h>
2111 /* Override any GCC internal prototype to avoid an error.
2112 Use char because int might match the return type of a GCC
2113 builtin and then its argument prototype would still apply. */
2118 /* The GNU C library defines this for functions which it implements
2119 to always fail with ENOSYS. Some functions are actually named
2120 something starting with __ and the normal name is an alias. */
2121 #if defined __stub_$2 || defined __stub___$2
2133 if ac_fn_c_try_link
"$LINENO"; then :
2138 rm -f core conftest.err conftest.
$ac_objext \
2139 conftest
$ac_exeext conftest.
$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2143 $as_echo "$ac_res" >&6; }
2144 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2146 } # ac_fn_c_check_func
2147 cat >config.log
<<_ACEOF
2148 This file contains any messages produced by compilers while
2149 running configure, to aid debugging if configure makes a mistake.
2151 It was created by $as_me, which was
2152 generated by GNU Autoconf 2.67. Invocation command line was
2164 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2165 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2166 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2167 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2168 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2170 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2171 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2173 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2174 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2175 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2176 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2177 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2178 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2179 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2187 test -z "$as_dir" && as_dir
=.
2188 $as_echo "PATH: $as_dir"
2204 # Keep a trace of the command line.
2205 # Strip out --no-create and --no-recursion so they do not pile up.
2206 # Strip out --silent because we don't want to record it for future runs.
2207 # Also quote any args containing shell meta-characters.
2208 # Make two passes to allow for proper duplicate-argument suppression.
2212 ac_must_keep_next
=false
2218 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2219 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2220 |
-silent |
--silent |
--silen |
--sile |
--sil)
2223 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2226 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2228 as_fn_append ac_configure_args1
" '$ac_arg'"
2229 if test $ac_must_keep_next = true
; then
2230 ac_must_keep_next
=false
# Got value, back to normal.
2233 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2234 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2235 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2236 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2237 case "$ac_configure_args0 " in
2238 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2241 -* ) ac_must_keep_next
=true
;;
2244 as_fn_append ac_configure_args
" '$ac_arg'"
2249 { ac_configure_args0
=; unset ac_configure_args0
;}
2250 { ac_configure_args1
=; unset ac_configure_args1
;}
2252 # When interrupted or exit'd, cleanup temporary files, and complete
2253 # config.log. We remove comments because anyway the quotes in there
2254 # would cause problems or look ugly.
2255 # WARNING: Use '\'' to represent an apostrophe within the trap.
2256 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2257 trap 'exit_status=$?
2258 # Save into config.log some information that might help in debugging.
2262 $as_echo "## ---------------- ##
2263 ## Cache variables. ##
2264 ## ---------------- ##"
2266 # The following way of writing the cache mishandles newlines in values,
2268 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2269 eval ac_val=\$$ac_var
2273 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2274 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2277 _ | IFS | as_nl) ;; #(
2278 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2279 *) { eval $ac_var=; unset $ac_var;} ;;
2284 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2285 *${as_nl}ac_space=\ *)
2287 "s/'\''/'\''\\\\'\'''\''/g;
2288 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2291 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2298 $as_echo "## ----------------- ##
2299 ## Output variables. ##
2300 ## ----------------- ##"
2302 for ac_var in $ac_subst_vars
2304 eval ac_val=\$$ac_var
2306 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2308 $as_echo "$ac_var='\''$ac_val'\''"
2312 if test -n "$ac_subst_files"; then
2313 $as_echo "## ------------------- ##
2314 ## File substitutions. ##
2315 ## ------------------- ##"
2317 for ac_var
in $ac_subst_files
2319 eval ac_val
=\$
$ac_var
2321 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2323 $as_echo "$ac_var='\''$ac_val'\''"
2328 if test -s confdefs.h; then
2329 $as_echo "## ----------- ##
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 # We do not want a PATH search for config.site.
2387 case $CONFIG_SITE in #((
2388 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2389 */*) ac_site_file1
=$CONFIG_SITE;;
2390 *) ac_site_file1
=.
/$CONFIG_SITE;;
2392 elif test "x$prefix" != xNONE
; then
2393 ac_site_file1
=$prefix/share
/config.site
2394 ac_site_file2
=$prefix/etc
/config.site
2396 ac_site_file1
=$ac_default_prefix/share
/config.site
2397 ac_site_file2
=$ac_default_prefix/etc
/config.site
2399 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2401 test "x$ac_site_file" = xNONE
&& continue
2402 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2404 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2405 sed 's/^/| /' "$ac_site_file" >&5
2407 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2408 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2409 as_fn_error $?
"failed to load site script $ac_site_file
2410 See \`config.log' for more details" "$LINENO" 5 ; }
2414 if test -r "$cache_file"; then
2415 # Some versions of bash will fail to source /dev/null (special files
2416 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2417 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2419 $as_echo "$as_me: loading cache $cache_file" >&6;}
2421 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2422 *) .
"./$cache_file";;
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2427 $as_echo "$as_me: creating cache $cache_file" >&6;}
2431 as_fn_append ac_header_list
" stdlib.h"
2432 as_fn_append ac_header_list
" unistd.h"
2433 as_fn_append ac_header_list
" sys/param.h"
2434 # Check that the precious variables saved in the cache have kept the same
2436 ac_cache_corrupted
=false
2437 for ac_var
in $ac_precious_vars; do
2438 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2439 eval ac_new_set
=\
$ac_env_${ac_var}_set
2440 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2441 eval ac_new_val
=\
$ac_env_${ac_var}_value
2442 case $ac_old_set,$ac_new_set in
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2445 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2446 ac_cache_corrupted
=: ;;
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2449 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2450 ac_cache_corrupted
=: ;;
2453 if test "x$ac_old_val" != "x$ac_new_val"; then
2454 # differences in whitespace do not lead to failure.
2455 ac_old_val_w
=`echo x $ac_old_val`
2456 ac_new_val_w
=`echo x $ac_new_val`
2457 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2459 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2460 ac_cache_corrupted
=:
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2463 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2464 eval $ac_var=\
$ac_old_val
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2467 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2469 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2472 # Pass precious variables to config.status.
2473 if test "$ac_new_set" = set; then
2475 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2476 *) ac_arg
=$ac_var=$ac_new_val ;;
2478 case " $ac_configure_args " in
2479 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2480 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2484 if $ac_cache_corrupted; then
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2486 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2488 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2489 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2491 ## -------------------- ##
2492 ## Main body of script. ##
2493 ## -------------------- ##
2496 ac_cpp
='$CPP $CPPFLAGS'
2497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2504 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2505 if test -f "$ac_dir/install-sh"; then
2507 ac_install_sh
="$ac_aux_dir/install-sh -c"
2509 elif test -f "$ac_dir/install.sh"; then
2511 ac_install_sh
="$ac_aux_dir/install.sh -c"
2513 elif test -f "$ac_dir/shtool"; then
2515 ac_install_sh
="$ac_aux_dir/shtool install -c"
2519 if test -z "$ac_aux_dir"; then
2520 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2523 # These three variables are undocumented and unsupported,
2524 # and are intended to be withdrawn in a future Autoconf release.
2525 # They can cause serious problems if a builder's source tree is in a directory
2526 # whose full name contains unusual characters.
2527 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2528 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2529 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2533 # Check what host we are running on.
2534 # If a target is not suggested, we use this one.
2535 # Note that what we call a target, Autoconf calls a host.
2536 # Make sure we can run config.sub.
2537 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2538 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2541 $as_echo_n "checking build system type... " >&6; }
2542 if test "${ac_cv_build+set}" = set; then :
2543 $as_echo_n "(cached) " >&6
2545 ac_build_alias
=$build_alias
2546 test "x$ac_build_alias" = x
&&
2547 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2548 test "x$ac_build_alias" = x
&&
2549 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2550 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2551 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2555 $as_echo "$ac_cv_build" >&6; }
2556 case $ac_cv_build in
2558 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2561 ac_save_IFS
=$IFS; IFS
='-'
2567 # Remember, the first character of IFS is used to create $*,
2568 # except with old shells:
2571 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2575 $as_echo_n "checking host system type... " >&6; }
2576 if test "${ac_cv_host+set}" = set; then :
2577 $as_echo_n "(cached) " >&6
2579 if test "x$host_alias" = x
; then
2580 ac_cv_host
=$ac_cv_build
2582 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2583 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2588 $as_echo "$ac_cv_host" >&6; }
2591 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2594 ac_save_IFS
=$IFS; IFS
='-'
2600 # Remember, the first character of IFS is used to create $*,
2601 # except with old shells:
2604 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2608 # The AROS target is slightly different to the normal GNU style
2609 # format. We don't have the middle part, and we reverse the order
2610 # of the $(CPU) and $(OS) bits.
2612 # Don't strip the version of the target yet, it might be
2613 # useful on some systems.
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2616 $as_echo_n "checking for AROS style target... " >&6; }
2618 if test "$target" = "NONE" ; then
2619 target
=$host_os-$host_cpu
2622 if test "$target" = "" ; then
2623 target
=$host_os-$host_cpu
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2630 $as_echo "$target" >&6; }
2632 if test "$host_os" = "mingw32" ; then
2636 #don't know where else to put this...
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2638 $as_echo_n "checking Building AROS in .. ... " >&6; }
2639 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2640 AROS_BUILDDIR_UNIX
=${PWD}
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2642 $as_echo "$AROS_BUILDDIR" >&6; }
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2645 $as_echo_n "checking AROS Source in .. ... " >&6; }
2646 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2649 $as_echo "$SRCDIR" >&6; }
2651 # Parse the target field into something useful.
2653 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2654 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2657 aros_default_wbwidth
=800
2658 aros_default_wbheight
=600
2659 aros_default_wbdepth
=4
2662 # The first step is to find the host binaries.
2663 # Check for a compiler.
2665 ac_cpp
='$CPP $CPPFLAGS'
2666 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2667 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2668 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2669 if test -n "$ac_tool_prefix"; then
2670 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2671 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if test "${ac_cv_prog_CC+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$CC"; then
2678 ac_cv_prog_CC
="$CC" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2698 if test -n "$CC"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2700 $as_echo "$CC" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2708 if test -z "$ac_cv_prog_CC"; then
2710 # Extract the first word of "gcc", so it can be a program name with args.
2711 set dummy gcc
; ac_word
=$2
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 $as_echo_n "checking for $ac_word... " >&6; }
2714 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2715 $as_echo_n "(cached) " >&6
2717 if test -n "$ac_ct_CC"; then
2718 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2720 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir
=.
2725 for ac_exec_ext
in '' $ac_executable_extensions; do
2726 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2727 ac_cv_prog_ac_ct_CC
="gcc"
2728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2737 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2738 if test -n "$ac_ct_CC"; then
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2740 $as_echo "$ac_ct_CC" >&6; }
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2743 $as_echo "no" >&6; }
2746 if test "x$ac_ct_CC" = x
; then
2749 case $cross_compiling:$ac_tool_warned in
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2753 ac_tool_warned
=yes ;;
2761 if test -z "$CC"; then
2762 if test -n "$ac_tool_prefix"; then
2763 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2764 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$CC"; then
2771 ac_cv_prog_CC
="$CC" # Let the user override the test.
2773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2777 test -z "$as_dir" && as_dir
=.
2778 for ac_exec_ext
in '' $ac_executable_extensions; do
2779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2780 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2791 if test -n "$CC"; then
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2793 $as_echo "$CC" >&6; }
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2796 $as_echo "no" >&6; }
2802 if test -z "$CC"; then
2803 # Extract the first word of "cc", so it can be a program name with args.
2804 set dummy cc
; ac_word
=$2
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806 $as_echo_n "checking for $ac_word... " >&6; }
2807 if test "${ac_cv_prog_CC+set}" = set; then :
2808 $as_echo_n "(cached) " >&6
2810 if test -n "$CC"; then
2811 ac_cv_prog_CC
="$CC" # Let the user override the test.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2821 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2822 ac_prog_rejected
=yes
2826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2833 if test $ac_prog_rejected = yes; then
2834 # We found a bogon in the path, so make sure we never use it.
2835 set dummy
$ac_cv_prog_CC
2837 if test $# != 0; then
2838 # We chose a different compiler from the bogus one.
2839 # However, it has the same basename, so the bogon will be chosen
2840 # first if we set CC to just the basename; use the full file name.
2842 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2848 if test -n "$CC"; then
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2850 $as_echo "$CC" >&6; }
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2853 $as_echo "no" >&6; }
2858 if test -z "$CC"; then
2859 if test -n "$ac_tool_prefix"; then
2860 for ac_prog
in cl.exe
2862 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2863 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2865 $as_echo_n "checking for $ac_word... " >&6; }
2866 if test "${ac_cv_prog_CC+set}" = set; then :
2867 $as_echo_n "(cached) " >&6
2869 if test -n "$CC"; then
2870 ac_cv_prog_CC
="$CC" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2879 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2890 if test -n "$CC"; then
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2892 $as_echo "$CC" >&6; }
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2895 $as_echo "no" >&6; }
2899 test -n "$CC" && break
2902 if test -z "$CC"; then
2904 for ac_prog
in cl.exe
2906 # Extract the first word of "$ac_prog", so it can be a program name with args.
2907 set dummy
$ac_prog; ac_word
=$2
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2909 $as_echo_n "checking for $ac_word... " >&6; }
2910 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2911 $as_echo_n "(cached) " >&6
2913 if test -n "$ac_ct_CC"; then
2914 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2920 test -z "$as_dir" && as_dir
=.
2921 for ac_exec_ext
in '' $ac_executable_extensions; do
2922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2923 ac_cv_prog_ac_ct_CC
="$ac_prog"
2924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2934 if test -n "$ac_ct_CC"; then
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2936 $as_echo "$ac_ct_CC" >&6; }
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2939 $as_echo "no" >&6; }
2943 test -n "$ac_ct_CC" && break
2946 if test "x$ac_ct_CC" = x
; then
2949 case $cross_compiling:$ac_tool_warned in
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2952 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2953 ac_tool_warned
=yes ;;
2962 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2963 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2964 as_fn_error $?
"no acceptable C compiler found in \$PATH
2965 See \`config.log' for more details" "$LINENO" 5 ; }
2967 # Provide some information about the compiler.
2968 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2971 for ac_option
in --version -v -V -qversion; do
2972 { { ac_try
="$ac_compiler $ac_option >&5"
2974 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2975 *) ac_try_echo=$ac_try;;
2977 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2978 $as_echo "$ac_try_echo"; } >&5
2979 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2981 if test -s conftest.err; then
2983 ... rest of stderr output deleted ...
2984 10q' conftest.err >conftest.er1
2985 cat conftest.er1 >&5
2987 rm -f conftest.er1 conftest.err
2988 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2989 test $ac_status = 0; }
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
3003 ac_clean_files_save=$ac_clean_files
3004 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3005 # Try to create an executable without -o first, disregard a.out.
3006 # It will help us diagnose broken compilers, and finding out an intuition
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3009 $as_echo_n "checking whether the C compiler works... " >&6; }
3010 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3012 # The possible output files:
3013 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3016 for ac_file in $ac_files
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3020 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3025 if { { ac_try="$ac_link_default"
3027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3028 *) ac_try_echo
=$ac_try;;
3030 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3031 $as_echo "$ac_try_echo"; } >&5
3032 (eval "$ac_link_default") 2>&5
3034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3035 test $ac_status = 0; }; then :
3036 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3037 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3038 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3039 # so that the user can short-circuit this test for compilers unknown to
3041 for ac_file
in $ac_files ''
3043 test -f "$ac_file" ||
continue
3045 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3048 # We found the default executable, but exeext='' is most
3052 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3054 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3056 # We set ac_cv_exeext here because the later test for it is not
3057 # safe: cross compilers may not add the suffix if given an `-o'
3058 # argument, so we may need to know it at that point already.
3059 # Even if this section looks crufty: it has the advantage of
3066 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3071 if test -z "$ac_file"; then :
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3073 $as_echo "no" >&6; }
3074 $as_echo "$as_me: failed program was:" >&5
3075 sed 's/^/| /' conftest.
$ac_ext >&5
3077 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3078 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3079 as_fn_error
77 "C compiler cannot create executables
3080 See \`config.log' for more details" "$LINENO" 5 ; }
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3083 $as_echo "yes" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3086 $as_echo_n "checking for C compiler default output file name... " >&6; }
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3088 $as_echo "$ac_file" >&6; }
3089 ac_exeext
=$ac_cv_exeext
3091 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3092 ac_clean_files
=$ac_clean_files_save
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3094 $as_echo_n "checking for suffix of executables... " >&6; }
3095 if { { ac_try
="$ac_link"
3097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3098 *) ac_try_echo=$ac_try;;
3100 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3101 $as_echo "$ac_try_echo"; } >&5
3102 (eval "$ac_link") 2>&5
3104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3105 test $ac_status = 0; }; then :
3106 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3107 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3108 # work properly (i.e., refer to `conftest.exe'), while it won't with
3110 for ac_file
in conftest.exe conftest conftest.
*; do
3111 test -f "$ac_file" ||
continue
3113 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3114 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3123 See \`config.log' for more details" "$LINENO" 5 ; }
3125 rm -f conftest conftest
$ac_cv_exeext
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3127 $as_echo "$ac_cv_exeext" >&6; }
3129 rm -f conftest.
$ac_ext
3130 EXEEXT
=$ac_cv_exeext
3132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3133 /* end confdefs.h. */
3138 FILE *f = fopen ("conftest.out", "w");
3139 return ferror (f) || fclose (f) != 0;
3145 ac_clean_files
="$ac_clean_files conftest.out"
3146 # Check that the compiler produces executables we can run. If not, either
3147 # the compiler is broken, or we cross compile.
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3149 $as_echo_n "checking whether we are cross compiling... " >&6; }
3150 if test "$cross_compiling" != yes; then
3151 { { ac_try
="$ac_link"
3153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_link") 2>&5
3160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3161 test $ac_status = 0; }
3162 if { ac_try='./conftest$ac_cv_exeext'
3163 { { case "(($ac_try" in
3164 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3165 *) ac_try_echo
=$ac_try;;
3167 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3168 $as_echo "$ac_try_echo"; } >&5
3169 (eval "$ac_try") 2>&5
3171 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3172 test $ac_status = 0; }; }; then
3175 if test "$cross_compiling" = maybe
; then
3178 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3180 as_fn_error $?
"cannot run C compiled programs.
3181 If you meant to cross compile, use \`--host'.
3182 See \`config.log' for more details" "$LINENO" 5 ; }
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3187 $as_echo "$cross_compiling" >&6; }
3189 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3190 ac_clean_files
=$ac_clean_files_save
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3192 $as_echo_n "checking for suffix of object files... " >&6; }
3193 if test "${ac_cv_objext+set}" = set; then :
3194 $as_echo_n "(cached) " >&6
3196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3207 rm -f conftest.o conftest.obj
3208 if { { ac_try
="$ac_compile"
3210 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3211 *) ac_try_echo=$ac_try;;
3213 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3214 $as_echo "$ac_try_echo"; } >&5
3215 (eval "$ac_compile") 2>&5
3217 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3218 test $ac_status = 0; }; then :
3219 for ac_file in conftest.o conftest.obj conftest.*; do
3220 test -f "$ac_file" || continue;
3222 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3223 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3228 $as_echo "$as_me: failed program was:" >&5
3229 sed 's/^/| /' conftest.$ac_ext >&5
3231 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3233 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3234 See \
`config.log' for more details" "$LINENO" 5 ; }
3236 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3239 $as_echo "$ac_cv_objext" >&6; }
3240 OBJEXT=$ac_cv_objext
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3243 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3244 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3245 $as_echo_n "(cached) " >&6
3247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248 /* end confdefs.h. */
3261 if ac_fn_c_try_compile "$LINENO"; then :
3266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3267 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3271 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3272 if test $ac_compiler_gnu = yes; then
3277 ac_test_CFLAGS=${CFLAGS+set}
3278 ac_save_CFLAGS=$CFLAGS
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3280 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3281 if test "${ac_cv_prog_cc_g+set}" = set; then :
3282 $as_echo_n "(cached) " >&6
3284 ac_save_c_werror_flag=$ac_c_werror_flag
3285 ac_c_werror_flag=yes
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3299 if ac_fn_c_try_compile "$LINENO"; then :
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3314 if ac_fn_c_try_compile "$LINENO"; then :
3317 ac_c_werror_flag=$ac_save_c_werror_flag
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3330 if ac_fn_c_try_compile "$LINENO"; then :
3333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3338 ac_c_werror_flag=$ac_save_c_werror_flag
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3341 $as_echo "$ac_cv_prog_cc_g" >&6; }
3342 if test "$ac_test_CFLAGS" = set; then
3343 CFLAGS=$ac_save_CFLAGS
3344 elif test $ac_cv_prog_cc_g = yes; then
3345 if test "$GCC" = yes; then
3351 if test "$GCC" = yes; then
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3358 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3359 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3360 $as_echo_n "(cached) " >&6
3362 ac_cv_prog_cc_c89=no
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3368 #include <sys/types.h>
3369 #include <sys/stat.h>
3370 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3371 struct buf { int x; };
3372 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3373 static char *e (p, i)
3379 static char *f (char * (*g) (char **, int), char **p, ...)
3384 s = g (p, va_arg (v,int));
3389 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3390 function prototypes and stuff, but not '\xHH' hex character constants.
3391 These don't provoke an error unfortunately, instead are silently treated
3392 as 'x'. The following induces an error, until -std is added to get
3393 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3394 array size at least. It's necessary to write '\x00'==0 to get something
3395 that's true only with -std. */
3396 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3398 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3399 inside strings and character constants. */
3401 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3403 int test (int i, double x);
3404 struct s1 {int (*f) (int a);};
3405 struct s2 {int (*f) (double a);};
3406 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3412 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3417 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3418 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3420 CC="$ac_save_CC $ac_arg"
3421 if ac_fn_c_try_compile "$LINENO"; then :
3422 ac_cv_prog_cc_c89=$ac_arg
3424 rm -f core conftest.err conftest.$ac_objext
3425 test "x$ac_cv_prog_cc_c89" != "xno" && break
3427 rm -f conftest.$ac_ext
3432 case "x$ac_cv_prog_cc_c89" in
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3435 $as_echo "none needed" >&6; } ;;
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3438 $as_echo "unsupported" >&6; } ;;
3440 CC="$CC $ac_cv_prog_cc_c89"
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3442 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3444 if test "x$ac_cv_prog_cc_c89" != xno; then :
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3454 case $ac_cv_prog_cc_stdc in #(
3456 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3459 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3460 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3461 $as_echo_n "(cached) " >&6
3463 ac_cv_prog_cc_c99=no
3465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3466 /* end confdefs.h. */
3468 #include <stdbool.h>
3473 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3474 #define debug(...) fprintf (stderr, __VA_ARGS__)
3475 #define showlist(...) puts (#__VA_ARGS__)
3476 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3478 test_varargs_macros (void)
3483 debug ("X = %d\n", x);
3484 showlist (The first, second, and third items.);
3485 report (x>y, "x is %d but y is %d", x, y);
3488 // Check long long types.
3489 #define BIG64 18446744073709551615ull
3490 #define BIG32 4294967295ul
3491 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3493 your preprocessor is broken;
3497 your preprocessor is broken;
3499 static long long int bignum = -9223372036854775807LL;
3500 static unsigned long long int ubignum = BIG64;
3502 struct incomplete_array
3510 const wchar_t *name;
3514 typedef const char *ccp;
3517 test_restrict (ccp restrict text)
3519 // See if C++-style comments work.
3520 // Iterate through items via the restricted pointer.
3521 // Also check for declarations in for loops.
3522 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3527 // Check varargs and va_copy.
3529 test_varargs (const char *format, ...)
3532 va_start (args, format);
3534 va_copy (args_copy, args);
3545 str = va_arg (args_copy, const char *);
3548 number = va_arg (args_copy, int);
3551 fnumber = va_arg (args_copy, double);
3566 _Bool success = false;
3569 if (test_restrict ("String literal") == 0)
3571 char *restrict newvar = "Another string";
3574 test_varargs ("s, d' f .", "string", 65, 34.234);
3575 test_varargs_macros ();
3577 // Check flexible array members.
3578 struct incomplete_array *ia =
3579 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3581 for (int i = 0; i < ia->datasize; ++i)
3582 ia->data[i] = i * 1.234;
3584 // Check named initializers.
3585 struct named_init ni = {
3587 .name = L"Test wide string",
3588 .average = 543.34343,
3593 int dynamic_array[ni.number];
3594 dynamic_array[ni.number - 1] = 543;
3596 // work around unused variable warnings
3597 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3598 || dynamic_array[ni.number - 1] != 543);
3604 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3606 CC="$ac_save_CC $ac_arg"
3607 if ac_fn_c_try_compile "$LINENO"; then :
3608 ac_cv_prog_cc_c99=$ac_arg
3610 rm -f core conftest.err conftest.$ac_objext
3611 test "x$ac_cv_prog_cc_c99" != "xno" && break
3613 rm -f conftest.$ac_ext
3618 case "x$ac_cv_prog_cc_c99" in
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3621 $as_echo "none needed" >&6; } ;;
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3624 $as_echo "unsupported" >&6; } ;;
3626 CC="$CC $ac_cv_prog_cc_c99"
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3628 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3630 if test "x$ac_cv_prog_cc_c99" != xno; then :
3631 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3634 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3635 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3636 $as_echo_n "(cached) " >&6
3638 ac_cv_prog_cc_c89=no
3640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3641 /* end confdefs.h. */
3644 #include <sys/types.h>
3645 #include <sys/stat.h>
3646 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3647 struct buf { int x; };
3648 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3649 static char *e (p, i)
3655 static char *f (char * (*g) (char **, int), char **p, ...)
3660 s = g (p, va_arg (v,int));
3665 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3666 function prototypes and stuff, but not '\xHH' hex character constants.
3667 These don't provoke an error unfortunately, instead are silently treated
3668 as 'x'. The following induces an error, until -std is added to get
3669 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3670 array size at least. It's necessary to write '\x00'==0 to get something
3671 that's true only with -std. */
3672 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3674 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3675 inside strings and character constants. */
3677 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3679 int test (int i, double x);
3680 struct s1 {int (*f) (int a);};
3681 struct s2 {int (*f) (double a);};
3682 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3688 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3693 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3694 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3696 CC="$ac_save_CC $ac_arg"
3697 if ac_fn_c_try_compile "$LINENO"; then :
3698 ac_cv_prog_cc_c89=$ac_arg
3700 rm -f core conftest.err conftest.$ac_objext
3701 test "x$ac_cv_prog_cc_c89" != "xno" && break
3703 rm -f conftest.$ac_ext
3708 case "x$ac_cv_prog_cc_c89" in
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3711 $as_echo "none needed" >&6; } ;;
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3714 $as_echo "unsupported" >&6; } ;;
3716 CC="$CC $ac_cv_prog_cc_c89"
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3718 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3720 if test "x$ac_cv_prog_cc_c89" != xno; then :
3721 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3723 ac_cv_prog_cc_stdc=no
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3730 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3731 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3735 case $ac_cv_prog_cc_stdc in #(
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3738 $as_echo "unsupported" >&6; } ;; #(
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3741 $as_echo "none needed" >&6; } ;; #(
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3744 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3748 ac_cpp='$CPP $CPPFLAGS'
3749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3753 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3754 # On Suns, sometimes $CPP names a directory.
3755 if test -n "$CPP" && test -d "$CPP"; then
3758 if test -z "$CPP"; then
3759 if test "${ac_cv_prog_CPP+set}" = set; then :
3760 $as_echo_n "(cached) " >&6
3762 # Double quotes because CPP needs to be expanded
3763 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3766 for ac_c_preproc_warn_flag in '' yes
3768 # Use a header file that comes with gcc, so configuring glibc
3769 # with a fresh cross-compiler works.
3770 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3771 # <limits.h> exists even on freestanding compilers.
3772 # On the NeXT, cc -E runs the code through the compiler's parser,
3773 # not just through cpp. "Syntax error" is here to catch this case.
3774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3775 /* end confdefs.h. */
3777 # include <limits.h>
3779 # include <assert.h>
3783 if ac_fn_c_try_cpp "$LINENO"; then :
3786 # Broken: fails on valid input.
3789 rm -f conftest.err conftest.i conftest.$ac_ext
3791 # OK, works on sane cases. Now check whether nonexistent headers
3792 # can be detected and how.
3793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3794 /* end confdefs.h. */
3795 #include <ac_nonexistent.h>
3797 if ac_fn_c_try_cpp "$LINENO"; then :
3798 # Broken: success on invalid input.
3801 # Passes both tests.
3805 rm -f conftest.err conftest.i conftest.$ac_ext
3808 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3809 rm -f conftest.i conftest.err conftest.
$ac_ext
3810 if $ac_preproc_ok; then :
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3823 $as_echo "$CPP" >&6; }
3825 for ac_c_preproc_warn_flag
in '' yes
3827 # Use a header file that comes with gcc, so configuring glibc
3828 # with a fresh cross-compiler works.
3829 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3830 # <limits.h> exists even on freestanding compilers.
3831 # On the NeXT, cc -E runs the code through the compiler's parser,
3832 # not just through cpp. "Syntax error" is here to catch this case.
3833 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3834 /* end confdefs.h. */
3836 # include <limits.h>
3838 # include <assert.h>
3842 if ac_fn_c_try_cpp
"$LINENO"; then :
3845 # Broken: fails on valid input.
3848 rm -f conftest.err conftest.i conftest.
$ac_ext
3850 # OK, works on sane cases. Now check whether nonexistent headers
3851 # can be detected and how.
3852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3853 /* end confdefs.h. */
3854 #include <ac_nonexistent.h>
3856 if ac_fn_c_try_cpp
"$LINENO"; then :
3857 # Broken: success on invalid input.
3860 # Passes both tests.
3864 rm -f conftest.err conftest.i conftest.
$ac_ext
3867 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3868 rm -f conftest.i conftest.err conftest.
$ac_ext
3869 if $ac_preproc_ok; then :
3872 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3873 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3874 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3875 See \`config.log' for more details" "$LINENO" 5 ; }
3879 ac_cpp
='$CPP $CPPFLAGS'
3880 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3881 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3882 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3885 # Check for a compatible awk
3886 for ac_prog
in gawk nawk
3888 # Extract the first word of "$ac_prog", so it can be a program name with args.
3889 set dummy
$ac_prog; ac_word
=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if test "${ac_cv_prog_AWK+set}" = set; then :
3893 $as_echo_n "(cached) " >&6
3895 if test -n "$AWK"; then
3896 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3898 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir
=.
3903 for ac_exec_ext
in '' $ac_executable_extensions; do
3904 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3905 ac_cv_prog_AWK
="$ac_prog"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3916 if test -n "$AWK"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3918 $as_echo "$AWK" >&6; }
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3925 test -n "$AWK" && break
3928 if test "$AWK" = ""; then
3929 as_fn_error $?
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3931 # Extract the first word of "mmake", so it can be a program name with args.
3932 set dummy mmake
; ac_word
=$2
3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3934 $as_echo_n "checking for $ac_word... " >&6; }
3935 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3936 $as_echo_n "(cached) " >&6
3938 if test -n "$MMAKE"; then
3939 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3945 test -z "$as_dir" && as_dir
=.
3946 for ac_exec_ext
in '' $ac_executable_extensions; do
3947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3948 ac_cv_prog_MMAKE
="mmake "
3949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 MMAKE
=$ac_cv_prog_MMAKE
3959 if test -n "$MMAKE"; then
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3961 $as_echo "$MMAKE" >&6; }
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3964 $as_echo "no" >&6; }
3969 # Perform some default variable assignments. Note all of these will be
3970 # Regenerated from the script, so there is no need to cache them.
3973 if test "$GCC" = "yes"; then
3974 aros_gcc_ld
=`$CC -print-prog-name=ld`
3975 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3976 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 case $aros_host_ld in
3984 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 for as_dir
in `dirname $aros_gcc_ld`
3991 test -z "$as_dir" && as_dir
=.
3992 for ac_exec_ext
in '' $ac_executable_extensions; do
3993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3994 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 aros_host_ld
=$ac_cv_path_aros_host_ld
4006 if test -n "$aros_host_ld"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4008 $as_echo "$aros_host_ld" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4016 if test "$aros_host_ld" = ""; then
4017 # Extract the first word of "ld", so it can be a program name with args.
4018 set dummy ld
; ac_word
=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
4022 $as_echo_n "(cached) " >&6
4024 case $aros_host_ld in
4026 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
4029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4033 test -z "$as_dir" && as_dir
=.
4034 for ac_exec_ext
in '' $ac_executable_extensions; do
4035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4036 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
4037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4047 aros_host_ld
=$ac_cv_path_aros_host_ld
4048 if test -n "$aros_host_ld"; then
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4050 $as_echo "$aros_host_ld" >&6; }
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4053 $as_echo "no" >&6; }
4058 if test "$aros_host_ld" = ""; then
4059 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4061 aros_host_make
="make"
4062 aros_host_cflags
=$CFLAGS
4063 aros_host_ldflags
=$LDFLAGS
4064 aros_host_debug
="-g -O0"
4065 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4066 aros_host_mkargs
="--no-print-directory"
4067 aros_host_incl
="/usr/include"
4068 aros_host_exe_suffix
="$EXEEXT"
4069 aros_host_lib_suffix
=""
4071 for ac_prog
in aclocal aclocal19 aclocal-1.9
4073 # Extract the first word of "$ac_prog", so it can be a program name with args.
4074 set dummy
$ac_prog; ac_word
=$2
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 $as_echo_n "checking for $ac_word... " >&6; }
4077 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4080 if test -n "$aros_host_aclocal"; then
4081 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4087 test -z "$as_dir" && as_dir
=.
4088 for ac_exec_ext
in '' $ac_executable_extensions; do
4089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4090 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4101 if test -n "$aros_host_aclocal"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4103 $as_echo "$aros_host_aclocal" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4110 test -n "$aros_host_aclocal" && break
4113 for ac_prog
in autoconf autoconf259 autoconf253
4115 # Extract the first word of "$ac_prog", so it can be a program name with args.
4116 set dummy
$ac_prog; ac_word
=$2
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4118 $as_echo_n "checking for $ac_word... " >&6; }
4119 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4122 if test -n "$aros_host_autoconf"; then
4123 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir
=.
4130 for ac_exec_ext
in '' $ac_executable_extensions; do
4131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4132 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4143 if test -n "$aros_host_autoconf"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4145 $as_echo "$aros_host_autoconf" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4152 test -n "$aros_host_autoconf" && break
4155 for ac_prog
in autoheader autoheader259 autoheader253
4157 # Extract the first word of "$ac_prog", so it can be a program name with args.
4158 set dummy
$ac_prog; ac_word
=$2
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4160 $as_echo_n "checking for $ac_word... " >&6; }
4161 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4164 if test -n "$aros_host_autoheader"; then
4165 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir
=.
4172 for ac_exec_ext
in '' $ac_executable_extensions; do
4173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4174 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4184 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4185 if test -n "$aros_host_autoheader"; then
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4187 $as_echo "$aros_host_autoheader" >&6; }
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4190 $as_echo "no" >&6; }
4194 test -n "$aros_host_autoheader" && break
4197 for ac_prog
in automake automake19 automake-1.9
4199 # Extract the first word of "$ac_prog", so it can be a program name with args.
4200 set dummy
$ac_prog; ac_word
=$2
4201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4202 $as_echo_n "checking for $ac_word... " >&6; }
4203 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4204 $as_echo_n "(cached) " >&6
4206 if test -n "$aros_host_automake"; then
4207 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4213 test -z "$as_dir" && as_dir
=.
4214 for ac_exec_ext
in '' $ac_executable_extensions; do
4215 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4216 ac_cv_prog_aros_host_automake
="$ac_prog"
4217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 aros_host_automake
=$ac_cv_prog_aros_host_automake
4227 if test -n "$aros_host_automake"; then
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4229 $as_echo "$aros_host_automake" >&6; }
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4236 test -n "$aros_host_automake" && break
4240 if test "$aros_host_aclocal" = ""; then
4241 as_fn_error $?
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4243 if test "$aros_host_automake" = ""; then
4244 as_fn_error $?
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4247 case "$aros_host_cc" in
4249 aros_host_cc_pipe
="-pipe"
4252 aros_host_cc_pipe
=""
4255 aros_host_cc_pipe
=""
4259 aros_kernel_cc_includes
=""
4260 aros_target_cc_includes
=""
4262 # This is the main host configuration section. It is where the host
4263 # can change the values of any variables it needs to change. We do
4264 # not look at anything that compiles to the target yet, we'll get
4269 aros_host_arch
="aros"
4270 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4273 aros_host_cpu
="i386"
4276 aros_host_cpu
="x86_64"
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4283 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4284 aros_host_cpu
="$host_cpu"
4290 aros_host_arch
="linux"
4291 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4294 aros_host_cpu
="i386"
4297 aros_host_cpu
="x86_64"
4300 aros_host_cpu
="m68k"
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4310 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4311 aros_host_cpu
="$host_cpu"
4317 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4318 aros_host_make
="gmake"
4319 aros_host_arch
="freebsd"
4320 aros_host_cpu
="i386"
4322 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4326 aros_object_format
="elf_i386"
4330 aros_object_format
="elf_i386_fbsd"
4337 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4338 aros_host_arch
="darwin"
4341 aros_host_cpu
="i386"
4344 aros_host_cpu
="x86_64"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4351 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4352 aros_host_cpu
="$host_cpu"
4356 aros_host_ldflags
="$aros_host_ldflags -liconv"
4361 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4362 aros_host_make
="gmake"
4363 aros_host_arch
="dragonfly"
4366 aros_host_cpu
="i386"
4369 aros_host_cpu
="x86_64"
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4373 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4374 aros_host_cpu
="$host_cpu"
4380 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4381 aros_host_make
="gmake"
4382 aros_host_arch
="netbsd"
4385 aros_host_cpu
="i386"
4388 aros_host_cpu
="m68k"
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4392 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4393 aros_host_cpu
="$host_cpu"
4396 aros_host_lib_suffix
=".0.0"
4400 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4401 aros_host_make
="gmake"
4402 aros_host_arch
="openbsd"
4405 aros_host_cpu
="i386"
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4409 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4410 aros_host_cpu
="$host_cpu"
4416 aros_host_arch
="solaris"
4417 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4420 aros_host_cpu
="i386"
4423 aros_host_cpu
="sparc"
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4427 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4428 aros_host_cpu
="$host_cpu"
4434 aros_host_arch
="morphos"
4439 aros_host_arch
="amiga"
4444 TOUCH
="/gg/bin/touch"
4447 aros_host_cpu
="m68k"
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4454 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4455 aros_host_cpu
="$host_cpu"
4461 aros_host_arch
="cygwin"
4462 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4463 android_build_os
="windows"
4464 android_tool
="android.bat"
4465 default_android_sdk
="/cygdrive/c/android-sdk-windows-1.6_r1"
4469 aros_host_cpu
="i386"
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4473 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4474 aros_host_cpu
="$host_cpu"
4480 aros_host_arch
="mingw32"
4481 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4482 android_build_os
="windows"
4483 android_tool
="android.bat"
4484 default_android_sdk
="/c/android-sdk-windows-1.6_r1"
4488 aros_host_cpu
="i386"
4491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4492 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4493 aros_host_cpu
="$host_cpu"
4498 as_fn_error $?
"Unsupported host architecture $host" "$LINENO" 5
4502 # Extract the first word of "ar", so it can be a program name with args.
4503 set dummy
ar; ac_word
=$2
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4505 $as_echo_n "checking for $ac_word... " >&6; }
4506 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4507 $as_echo_n "(cached) " >&6
4509 if test -n "$aros_host_ar"; then
4510 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4516 test -z "$as_dir" && as_dir
=.
4517 for ac_exec_ext
in '' $ac_executable_extensions; do
4518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4519 ac_cv_prog_aros_host_ar
="ar cr"
4520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4529 aros_host_ar
=$ac_cv_prog_aros_host_ar
4530 if test -n "$aros_host_ar"; then
4531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4532 $as_echo "$aros_host_ar" >&6; }
4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4535 $as_echo "no" >&6; }
4539 if test "$aros_host_ar" = ""; then
4540 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4542 # Extract the first word of "ranlib", so it can be a program name with args.
4543 set dummy ranlib
; ac_word
=$2
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4545 $as_echo_n "checking for $ac_word... " >&6; }
4546 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4547 $as_echo_n "(cached) " >&6
4549 if test -n "$aros_host_ranlib"; then
4550 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4556 test -z "$as_dir" && as_dir
=.
4557 for ac_exec_ext
in '' $ac_executable_extensions; do
4558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4559 ac_cv_prog_aros_host_ranlib
="ranlib "
4560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4569 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4570 if test -n "$aros_host_ranlib"; then
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4572 $as_echo "$aros_host_ranlib" >&6; }
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575 $as_echo "no" >&6; }
4579 if test "$aros_host_ranlib" = ""; then
4580 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4582 # Extract the first word of "strip", so it can be a program name with args.
4583 set dummy strip
; ac_word
=$2
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4585 $as_echo_n "checking for $ac_word... " >&6; }
4586 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4587 $as_echo_n "(cached) " >&6
4589 if test -n "$aros_host_strip"; then
4590 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4592 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4596 test -z "$as_dir" && as_dir
=.
4597 for ac_exec_ext
in '' $ac_executable_extensions; do
4598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4599 ac_cv_prog_aros_host_strip
="strip "
4600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 aros_host_strip
=$ac_cv_prog_aros_host_strip
4610 if test -n "$aros_host_strip"; then
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4612 $as_echo "$aros_host_strip" >&6; }
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4615 $as_echo "no" >&6; }
4619 if test "$aros_host_strip" = ""; then
4620 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4623 # Extract the first word of "rm", so it can be a program name with args.
4624 set dummy
rm; ac_word
=$2
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4626 $as_echo_n "checking for $ac_word... " >&6; }
4627 if test "${ac_cv_prog_RM+set}" = set; then :
4628 $as_echo_n "(cached) " >&6
4630 if test -n "$RM"; then
4631 ac_cv_prog_RM
="$RM" # Let the user override the test.
4633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4637 test -z "$as_dir" && as_dir
=.
4638 for ac_exec_ext
in '' $ac_executable_extensions; do
4639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4640 ac_cv_prog_RM
="rm -rf"
4641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4651 if test -n "$RM"; then
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4653 $as_echo "$RM" >&6; }
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4656 $as_echo "no" >&6; }
4660 if test "$RM" = ""; then
4661 as_fn_error $?
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4663 # Extract the first word of "cp", so it can be a program name with args.
4664 set dummy
cp; ac_word
=$2
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4666 $as_echo_n "checking for $ac_word... " >&6; }
4667 if test "${ac_cv_prog_CP+set}" = set; then :
4668 $as_echo_n "(cached) " >&6
4670 if test -n "$CP"; then
4671 ac_cv_prog_CP
="$CP" # Let the user override the test.
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_exec_ext
in '' $ac_executable_extensions; do
4679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4691 if test -n "$CP"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4693 $as_echo "$CP" >&6; }
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4696 $as_echo "no" >&6; }
4700 if test "$CP" = ""; then
4701 as_fn_error $?
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4703 # Extract the first word of "mv", so it can be a program name with args.
4704 set dummy
mv; ac_word
=$2
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706 $as_echo_n "checking for $ac_word... " >&6; }
4707 if test "${ac_cv_prog_MV+set}" = set; then :
4708 $as_echo_n "(cached) " >&6
4710 if test -n "$MV"; then
4711 ac_cv_prog_MV
="$MV" # Let the user override the test.
4713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4717 test -z "$as_dir" && as_dir
=.
4718 for ac_exec_ext
in '' $ac_executable_extensions; do
4719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4731 if test -n "$MV"; then
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4733 $as_echo "$MV" >&6; }
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4740 if test "$MV" = ""; then
4741 as_fn_error $?
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4743 # Extract the first word of "echo", so it can be a program name with args.
4744 set dummy
echo; ac_word
=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if test "${ac_cv_prog_ECHO+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4750 if test -n "$ECHO"; then
4751 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir
=.
4758 for ac_exec_ext
in '' $ac_executable_extensions; do
4759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4760 ac_cv_prog_ECHO
="echo "
4761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 ECHO
=$ac_cv_prog_ECHO
4771 if test -n "$ECHO"; then
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4773 $as_echo "$ECHO" >&6; }
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4776 $as_echo "no" >&6; }
4780 if test "$ECHO" = ""; then
4781 as_fn_error $?
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4783 # Extract the first word of "mkdir", so it can be a program name with args.
4784 set dummy mkdir
; ac_word
=$2
4785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4786 $as_echo_n "checking for $ac_word... " >&6; }
4787 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4788 $as_echo_n "(cached) " >&6
4790 if test -n "$MKDIR"; then
4791 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4797 test -z "$as_dir" && as_dir
=.
4798 for ac_exec_ext
in '' $ac_executable_extensions; do
4799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4800 ac_cv_prog_MKDIR
="mkdir -p"
4801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4810 MKDIR
=$ac_cv_prog_MKDIR
4811 if test -n "$MKDIR"; then
4812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4813 $as_echo "$MKDIR" >&6; }
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4816 $as_echo "no" >&6; }
4820 if test "$MKDIR" = ""; then
4821 as_fn_error $?
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4823 # Extract the first word of "touch", so it can be a program name with args.
4824 set dummy
touch; ac_word
=$2
4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4826 $as_echo_n "checking for $ac_word... " >&6; }
4827 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4828 $as_echo_n "(cached) " >&6
4830 if test -n "$TOUCH"; then
4831 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4837 test -z "$as_dir" && as_dir
=.
4838 for ac_exec_ext
in '' $ac_executable_extensions; do
4839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4840 ac_cv_prog_TOUCH
="touch "
4841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4850 TOUCH
=$ac_cv_prog_TOUCH
4851 if test -n "$TOUCH"; then
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4853 $as_echo "$TOUCH" >&6; }
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4856 $as_echo "no" >&6; }
4860 if test "$TOUCH" = ""; then
4861 as_fn_error $?
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4863 # Extract the first word of "sort", so it can be a program name with args.
4864 set dummy
sort; ac_word
=$2
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4866 $as_echo_n "checking for $ac_word... " >&6; }
4867 if test "${ac_cv_prog_SORT+set}" = set; then :
4868 $as_echo_n "(cached) " >&6
4870 if test -n "$SORT"; then
4871 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4877 test -z "$as_dir" && as_dir
=.
4878 for ac_exec_ext
in '' $ac_executable_extensions; do
4879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4880 ac_cv_prog_SORT
="sort "
4881 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4890 SORT
=$ac_cv_prog_SORT
4891 if test -n "$SORT"; then
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4893 $as_echo "$SORT" >&6; }
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4896 $as_echo "no" >&6; }
4900 if test "$SORT" = ""; then
4901 as_fn_error $?
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4903 # Extract the first word of "uniq", so it can be a program name with args.
4904 set dummy
uniq; ac_word
=$2
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4906 $as_echo_n "checking for $ac_word... " >&6; }
4907 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4908 $as_echo_n "(cached) " >&6
4910 if test -n "$UNIQ"; then
4911 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4917 test -z "$as_dir" && as_dir
=.
4918 for ac_exec_ext
in '' $ac_executable_extensions; do
4919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4920 ac_cv_prog_UNIQ
="uniq "
4921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4930 UNIQ
=$ac_cv_prog_UNIQ
4931 if test -n "$UNIQ"; then
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4933 $as_echo "$UNIQ" >&6; }
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4936 $as_echo "no" >&6; }
4940 if test "$UNIQ" = ""; then
4941 as_fn_error $?
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4943 # Extract the first word of "true", so it can be a program name with args.
4944 set dummy true
; ac_word
=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_NOP+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4950 if test -n "$NOP"; then
4951 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4957 test -z "$as_dir" && as_dir
=.
4958 for ac_exec_ext
in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_NOP
="true "
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4971 if test -n "$NOP"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4973 $as_echo "$NOP" >&6; }
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4980 if test "$NOP" = ""; then
4981 as_fn_error $?
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4983 # Extract the first word of "cat", so it can be a program name with args.
4984 set dummy
cat; ac_word
=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_CAT+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4990 if test -n "$CAT"; then
4991 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir
=.
4998 for ac_exec_ext
in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_CAT
="cat "
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 if test -n "$CAT"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
5013 $as_echo "$CAT" >&6; }
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5020 if test "$CAT" = ""; then
5021 as_fn_error $?
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
5023 # Extract the first word of "bison", so it can be a program name with args.
5024 set dummy bison
; ac_word
=$2
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5026 $as_echo_n "checking for $ac_word... " >&6; }
5027 if test "${ac_cv_prog_BISON+set}" = set; then :
5028 $as_echo_n "(cached) " >&6
5030 if test -n "$BISON"; then
5031 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5040 ac_cv_prog_BISON
="bison "
5041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5050 BISON
=$ac_cv_prog_BISON
5051 if test -n "$BISON"; then
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5053 $as_echo "$BISON" >&6; }
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5056 $as_echo "no" >&6; }
5060 if test "$BISON" = ""; then
5061 as_fn_error $?
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5063 # Extract the first word of "flex", so it can be a program name with args.
5064 set dummy flex
; ac_word
=$2
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5066 $as_echo_n "checking for $ac_word... " >&6; }
5067 if test "${ac_cv_prog_FLEX+set}" = set; then :
5068 $as_echo_n "(cached) " >&6
5070 if test -n "$FLEX"; then
5071 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5077 test -z "$as_dir" && as_dir
=.
5078 for ac_exec_ext
in '' $ac_executable_extensions; do
5079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5080 ac_cv_prog_FLEX
="flex "
5081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 FLEX
=$ac_cv_prog_FLEX
5091 if test -n "$FLEX"; then
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5093 $as_echo "$FLEX" >&6; }
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5096 $as_echo "no" >&6; }
5100 if test "$FLEX" = ""; then
5101 as_fn_error $?
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5103 # Extract the first word of "pngtopnm", so it can be a program name with args.
5104 set dummy pngtopnm
; ac_word
=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5110 if test -n "$PNGTOPNM"; then
5111 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir
=.
5118 for ac_exec_ext
in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_PNGTOPNM
="pngtopnm "
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5131 if test -n "$PNGTOPNM"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5133 $as_echo "$PNGTOPNM" >&6; }
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5140 if test "$PNGTOPNM" = ""; then
5141 as_fn_error $?
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5143 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5144 set dummy ppmtoilbm
; ac_word
=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5150 if test -n "$PPMTOILBM"; then
5151 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5157 test -z "$as_dir" && as_dir
=.
5158 for ac_exec_ext
in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5170 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5171 if test -n "$PPMTOILBM"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5173 $as_echo "$PPMTOILBM" >&6; }
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5180 if test "$PPMTOILBM" = ""; then
5181 as_fn_error $?
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5183 # Extract the first word of "sed", so it can be a program name with args.
5184 set dummy
sed; ac_word
=$2
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5186 $as_echo_n "checking for $ac_word... " >&6; }
5187 if test "${ac_cv_prog_SED+set}" = set; then :
5188 $as_echo_n "(cached) " >&6
5190 if test -n "$SED"; then
5191 ac_cv_prog_SED
="$SED" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5200 ac_cv_prog_SED
="sed "
5201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5211 if test -n "$SED"; then
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5213 $as_echo "$SED" >&6; }
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5216 $as_echo "no" >&6; }
5220 if test "$SED" = ""; then
5221 as_fn_error $?
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5223 # Extract the first word of "chmod", so it can be a program name with args.
5224 set dummy
chmod; ac_word
=$2
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5226 $as_echo_n "checking for $ac_word... " >&6; }
5227 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5228 $as_echo_n "(cached) " >&6
5230 if test -n "$CHMOD"; then
5231 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5233 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5237 test -z "$as_dir" && as_dir
=.
5238 for ac_exec_ext
in '' $ac_executable_extensions; do
5239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5240 ac_cv_prog_CHMOD
="chmod "
5241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5250 CHMOD
=$ac_cv_prog_CHMOD
5251 if test -n "$CHMOD"; then
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5253 $as_echo "$CHMOD" >&6; }
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5256 $as_echo "no" >&6; }
5260 if test "$CHMOD" = ""; then
5261 as_fn_error $?
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5263 # Extract the first word of "patch", so it can be a program name with args.
5264 set dummy
patch; ac_word
=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if test "${ac_cv_prog_PATCH+set}" = set; then :
5268 $as_echo_n "(cached) " >&6
5270 if test -n "$PATCH"; then
5271 ac_cv_prog_PATCH
="$PATCH" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5280 ac_cv_prog_PATCH
="patch "
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5290 PATCH
=$ac_cv_prog_PATCH
5291 if test -n "$PATCH"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
5293 $as_echo "$PATCH" >&6; }
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5300 if test "$PATCH" = ""; then
5301 as_fn_error $?
"patch is required to build AROS. Please install and run configure again." "$LINENO" 5
5308 if test -n "$PYTHON"; then
5309 # If the user set $PYTHON, use it and don't search something else.
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5311 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5312 prog
="import sys, string
5313 # split strings by '.' and convert to numeric. Append some zeros
5314 # because we need at least 4 digits for the hex conversion.
5315 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5317 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5318 sys.exit(sys.hexversion < minverhex)"
5319 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5320 ($PYTHON -c "$prog") >&5 2>&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; then :
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5325 $as_echo "yes" >&6; }
5327 as_fn_error $?
"too old" "$LINENO" 5
5329 am_display_PYTHON
=$PYTHON
5331 # Otherwise, try each interpreter until we find one that satisfies
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5334 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5335 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5336 $as_echo_n "(cached) " >&6
5339 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
5340 test "$am_cv_pathless_PYTHON" = none
&& break
5341 prog
="import sys, string
5342 # split strings by '.' and convert to numeric. Append some zeros
5343 # because we need at least 4 digits for the hex conversion.
5344 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5346 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5347 sys.exit(sys.hexversion < minverhex)"
5348 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5349 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5352 (exit $ac_status); }; then :
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5358 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5359 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5360 if test "$am_cv_pathless_PYTHON" = none
; then
5363 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5364 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5366 $as_echo_n "checking for $ac_word... " >&6; }
5367 if test "${ac_cv_path_PYTHON+set}" = set; then :
5368 $as_echo_n "(cached) " >&6
5372 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5379 test -z "$as_dir" && as_dir
=.
5380 for ac_exec_ext
in '' $ac_executable_extensions; do
5381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5382 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 PYTHON
=$ac_cv_path_PYTHON
5394 if test -n "$PYTHON"; then
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5396 $as_echo "$PYTHON" >&6; }
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5399 $as_echo "no" >&6; }
5404 am_display_PYTHON
=$am_cv_pathless_PYTHON
5408 if test "$PYTHON" = :; then
5409 as_fn_error $?
"no suitable Python interpreter found" "$LINENO" 5
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5414 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5415 if test "${am_cv_python_version+set}" = set; then :
5416 $as_echo_n "(cached) " >&6
5418 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5421 $as_echo "$am_cv_python_version" >&6; }
5422 PYTHON_VERSION
=$am_cv_python_version
5426 PYTHON_PREFIX
='${prefix}'
5428 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5433 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5434 if test "${am_cv_python_platform+set}" = set; then :
5435 $as_echo_n "(cached) " >&6
5437 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5440 $as_echo "$am_cv_python_platform" >&6; }
5441 PYTHON_PLATFORM
=$am_cv_python_platform
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5447 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5448 if test "${am_cv_python_pythondir+set}" = set; then :
5449 $as_echo_n "(cached) " >&6
5451 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5452 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5455 $as_echo "$am_cv_python_pythondir" >&6; }
5456 pythondir
=$am_cv_python_pythondir
5460 pkgpythondir
=\
${pythondir}/$PACKAGE
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5464 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5465 if test "${am_cv_python_pyexecdir+set}" = set; then :
5466 $as_echo_n "(cached) " >&6
5468 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5469 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5472 $as_echo "$am_cv_python_pyexecdir" >&6; }
5473 pyexecdir
=$am_cv_python_pyexecdir
5477 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5495 # Check for some includes for the X11 HIDD and the kernel
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5499 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5500 if test "${ac_cv_path_GREP+set}" = set; then :
5501 $as_echo_n "(cached) " >&6
5503 if test -z "$GREP"; then
5504 ac_path_GREP_found
=false
5505 # Loop through the user's path and test for each of PROGNAME-LIST
5506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5507 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5510 test -z "$as_dir" && as_dir
=.
5511 for ac_prog
in grep ggrep
; do
5512 for ac_exec_ext
in '' $ac_executable_extensions; do
5513 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5514 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5515 # Check for GNU ac_path_GREP and select it if it is found.
5516 # Check for GNU $ac_path_GREP
5517 case `"$ac_path_GREP" --version 2>&1` in
5519 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5522 $as_echo_n 0123456789 >"conftest.in"
5525 cat "conftest.in" "conftest.in" >"conftest.tmp"
5526 mv "conftest.tmp" "conftest.in"
5527 cp "conftest.in" "conftest.nl"
5528 $as_echo 'GREP' >> "conftest.nl"
5529 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5530 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5531 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5532 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5533 # Best one so far, save it but keep looking for a better one
5534 ac_cv_path_GREP
="$ac_path_GREP"
5535 ac_path_GREP_max
=$ac_count
5537 # 10*(2^10) chars as input seems more than enough
5538 test $ac_count -gt 10 && break
5540 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5543 $ac_path_GREP_found && break 3
5548 if test -z "$ac_cv_path_GREP"; then
5549 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5552 ac_cv_path_GREP
=$GREP
5556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5557 $as_echo "$ac_cv_path_GREP" >&6; }
5558 GREP
="$ac_cv_path_GREP"
5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5562 $as_echo_n "checking for egrep... " >&6; }
5563 if test "${ac_cv_path_EGREP+set}" = set; then :
5564 $as_echo_n "(cached) " >&6
5566 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5567 then ac_cv_path_EGREP
="$GREP -E"
5569 if test -z "$EGREP"; then
5570 ac_path_EGREP_found
=false
5571 # Loop through the user's path and test for each of PROGNAME-LIST
5572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5573 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5576 test -z "$as_dir" && as_dir
=.
5577 for ac_prog
in egrep; do
5578 for ac_exec_ext
in '' $ac_executable_extensions; do
5579 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5580 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5581 # Check for GNU ac_path_EGREP and select it if it is found.
5582 # Check for GNU $ac_path_EGREP
5583 case `"$ac_path_EGREP" --version 2>&1` in
5585 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5588 $as_echo_n 0123456789 >"conftest.in"
5591 cat "conftest.in" "conftest.in" >"conftest.tmp"
5592 mv "conftest.tmp" "conftest.in"
5593 cp "conftest.in" "conftest.nl"
5594 $as_echo 'EGREP' >> "conftest.nl"
5595 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5596 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5597 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5598 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5599 # Best one so far, save it but keep looking for a better one
5600 ac_cv_path_EGREP
="$ac_path_EGREP"
5601 ac_path_EGREP_max
=$ac_count
5603 # 10*(2^10) chars as input seems more than enough
5604 test $ac_count -gt 10 && break
5606 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5609 $ac_path_EGREP_found && break 3
5614 if test -z "$ac_cv_path_EGREP"; then
5615 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5618 ac_cv_path_EGREP
=$EGREP
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5624 $as_echo "$ac_cv_path_EGREP" >&6; }
5625 EGREP
="$ac_cv_path_EGREP"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5629 $as_echo_n "checking for ANSI C header files... " >&6; }
5630 if test "${ac_cv_header_stdc+set}" = set; then :
5631 $as_echo_n "(cached) " >&6
5633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5634 /* end confdefs.h. */
5648 if ac_fn_c_try_compile
"$LINENO"; then :
5649 ac_cv_header_stdc
=yes
5651 ac_cv_header_stdc
=no
5653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5655 if test $ac_cv_header_stdc = yes; then
5656 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5663 $EGREP "memchr" >/dev
/null
2>&1; then :
5666 ac_cv_header_stdc
=no
5672 if test $ac_cv_header_stdc = yes; then
5673 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5675 /* end confdefs.h. */
5679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5680 $EGREP "free" >/dev
/null
2>&1; then :
5683 ac_cv_header_stdc
=no
5689 if test $ac_cv_header_stdc = yes; then
5690 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5691 if test "$cross_compiling" = yes; then :
5694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5695 /* end confdefs.h. */
5698 #if ((' ' & 0x0FF) == 0x020)
5699 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5700 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5702 # define ISLOWER(c) \
5703 (('a' <= (c) && (c) <= 'i') \
5704 || ('j' <= (c) && (c) <= 'r') \
5705 || ('s' <= (c) && (c) <= 'z'))
5706 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5709 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5714 for (i = 0; i < 256; i++)
5715 if (XOR (islower (i), ISLOWER (i))
5716 || toupper (i) != TOUPPER (i))
5721 if ac_fn_c_try_run
"$LINENO"; then :
5724 ac_cv_header_stdc
=no
5726 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5727 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5733 $as_echo "$ac_cv_header_stdc" >&6; }
5734 if test $ac_cv_header_stdc = yes; then
5736 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5740 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5741 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5742 inttypes.h stdint.h unistd.h
5744 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5745 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5747 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5748 cat >>confdefs.h
<<_ACEOF
5749 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5757 for ac_header
in sys
/ipc.h sys
/shm.h \
5758 sys
/mmap.h sys
/mman.h sysexits.h \
5759 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5762 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5763 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5764 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5765 cat >>confdefs.h
<<_ACEOF
5766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5774 for ac_header
in sys
/mount.h
5776 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5778 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5779 cat >>confdefs.h
<<_ACEOF
5780 #define HAVE_SYS_MOUNT_H 1
5789 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5790 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5792 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5793 if eval "test \"\${$as_ac_Header+set}\"" = set; then :
5794 $as_echo_n "(cached) " >&6
5796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5797 /* end confdefs.h. */
5798 #include <sys/types.h>
5810 if ac_fn_c_try_compile
"$LINENO"; then :
5811 eval "$as_ac_Header=yes"
5813 eval "$as_ac_Header=no"
5815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5817 eval ac_res
=\$
$as_ac_Header
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5819 $as_echo "$ac_res" >&6; }
5820 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5821 cat >>confdefs.h
<<_ACEOF
5822 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5825 ac_header_dirent
=$ac_hdr; break
5829 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5830 if test $ac_header_dirent = dirent.h
; then
5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5832 $as_echo_n "checking for library containing opendir... " >&6; }
5833 if test "${ac_cv_search_opendir+set}" = set; then :
5834 $as_echo_n "(cached) " >&6
5836 ac_func_search_save_LIBS
=$LIBS
5837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5840 /* Override any GCC internal prototype to avoid an error.
5841 Use char because int might match the return type of a GCC
5842 builtin and then its argument prototype would still apply. */
5855 for ac_lib
in '' dir
; do
5856 if test -z "$ac_lib"; then
5857 ac_res
="none required"
5860 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5862 if ac_fn_c_try_link
"$LINENO"; then :
5863 ac_cv_search_opendir
=$ac_res
5865 rm -f core conftest.err conftest.
$ac_objext \
5867 if test "${ac_cv_search_opendir+set}" = set; then :
5871 if test "${ac_cv_search_opendir+set}" = set; then :
5874 ac_cv_search_opendir
=no
5877 LIBS
=$ac_func_search_save_LIBS
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5880 $as_echo "$ac_cv_search_opendir" >&6; }
5881 ac_res
=$ac_cv_search_opendir
5882 if test "$ac_res" != no
; then :
5883 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5889 $as_echo_n "checking for library containing opendir... " >&6; }
5890 if test "${ac_cv_search_opendir+set}" = set; then :
5891 $as_echo_n "(cached) " >&6
5893 ac_func_search_save_LIBS
=$LIBS
5894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5895 /* end confdefs.h. */
5897 /* Override any GCC internal prototype to avoid an error.
5898 Use char because int might match the return type of a GCC
5899 builtin and then its argument prototype would still apply. */
5912 for ac_lib
in '' x
; do
5913 if test -z "$ac_lib"; then
5914 ac_res
="none required"
5917 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5919 if ac_fn_c_try_link
"$LINENO"; then :
5920 ac_cv_search_opendir
=$ac_res
5922 rm -f core conftest.err conftest.
$ac_objext \
5924 if test "${ac_cv_search_opendir+set}" = set; then :
5928 if test "${ac_cv_search_opendir+set}" = set; then :
5931 ac_cv_search_opendir
=no
5934 LIBS
=$ac_func_search_save_LIBS
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5937 $as_echo "$ac_cv_search_opendir" >&6; }
5938 ac_res
=$ac_cv_search_opendir
5939 if test "$ac_res" != no
; then :
5940 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5947 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5948 if test "${ac_cv_header_stat_broken+set}" = set; then :
5949 $as_echo_n "(cached) " >&6
5951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5952 /* end confdefs.h. */
5953 #include <sys/types.h>
5954 #include <sys/stat.h>
5956 #if defined S_ISBLK && defined S_IFDIR
5957 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5960 #if defined S_ISBLK && defined S_IFCHR
5961 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5964 #if defined S_ISLNK && defined S_IFREG
5965 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5968 #if defined S_ISSOCK && defined S_IFREG
5969 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5973 if ac_fn_c_try_compile
"$LINENO"; then :
5974 ac_cv_header_stat_broken
=no
5976 ac_cv_header_stat_broken
=yes
5978 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5981 $as_echo "$ac_cv_header_stat_broken" >&6; }
5982 if test $ac_cv_header_stat_broken = yes; then
5984 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5989 $as_echo_n "checking for ANSI C header files... " >&6; }
5990 if test "${ac_cv_header_stdc+set}" = set; then :
5991 $as_echo_n "(cached) " >&6
5993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
6008 if ac_fn_c_try_compile
"$LINENO"; then :
6009 ac_cv_header_stdc
=yes
6011 ac_cv_header_stdc
=no
6013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6015 if test $ac_cv_header_stdc = yes; then
6016 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6018 /* end confdefs.h. */
6022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6023 $EGREP "memchr" >/dev
/null
2>&1; then :
6026 ac_cv_header_stdc
=no
6032 if test $ac_cv_header_stdc = yes; then
6033 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6035 /* end confdefs.h. */
6039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6040 $EGREP "free" >/dev
/null
2>&1; then :
6043 ac_cv_header_stdc
=no
6049 if test $ac_cv_header_stdc = yes; then
6050 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6051 if test "$cross_compiling" = yes; then :
6054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6055 /* end confdefs.h. */
6058 #if ((' ' & 0x0FF) == 0x020)
6059 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6060 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6062 # define ISLOWER(c) \
6063 (('a' <= (c) && (c) <= 'i') \
6064 || ('j' <= (c) && (c) <= 'r') \
6065 || ('s' <= (c) && (c) <= 'z'))
6066 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6069 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6074 for (i = 0; i < 256; i++)
6075 if (XOR (islower (i), ISLOWER (i))
6076 || toupper (i) != TOUPPER (i))
6081 if ac_fn_c_try_run
"$LINENO"; then :
6084 ac_cv_header_stdc
=no
6086 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6087 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6093 $as_echo "$ac_cv_header_stdc" >&6; }
6094 if test $ac_cv_header_stdc = yes; then
6096 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6101 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6102 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6103 $as_echo_n "(cached) " >&6
6105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6106 /* end confdefs.h. */
6107 #include <sys/types.h>
6108 #include <sys/wait.h>
6110 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6113 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6121 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6126 if ac_fn_c_try_compile
"$LINENO"; then :
6127 ac_cv_header_sys_wait_h
=yes
6129 ac_cv_header_sys_wait_h
=no
6131 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6134 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6135 if test $ac_cv_header_sys_wait_h = yes; then
6137 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6142 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6143 if test "${ac_cv_header_time+set}" = set; then :
6144 $as_echo_n "(cached) " >&6
6146 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6147 /* end confdefs.h. */
6148 #include <sys/types.h>
6149 #include <sys/time.h>
6155 if ((struct tm *) 0)
6161 if ac_fn_c_try_compile
"$LINENO"; then :
6162 ac_cv_header_time
=yes
6164 ac_cv_header_time
=no
6166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6169 $as_echo "$ac_cv_header_time" >&6; }
6170 if test $ac_cv_header_time = yes; then
6172 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6176 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6177 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6179 cat >>confdefs.h
<<_ACEOF
6180 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6184 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6189 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6190 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6192 cat >>confdefs.h
<<_ACEOF
6193 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6197 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6200 case " $LIBOBJS " in
6201 *" fileblocks.$ac_objext "* ) ;;
6202 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6209 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6210 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6212 cat >>confdefs.h
<<_ACEOF
6213 #define HAVE_STRUCT_STAT_ST_RDEV 1
6217 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6223 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6224 if test "${ac_cv_struct_tm+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6229 #include <sys/types.h>
6236 int *p = &tm.tm_sec;
6242 if ac_fn_c_try_compile
"$LINENO"; then :
6243 ac_cv_struct_tm
=time.h
6245 ac_cv_struct_tm
=sys
/time.h
6247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6250 $as_echo "$ac_cv_struct_tm" >&6; }
6251 if test $ac_cv_struct_tm = sys
/time.h
; then
6253 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6257 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6258 #include <$ac_cv_struct_tm>
6261 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6263 cat >>confdefs.h
<<_ACEOF
6264 #define HAVE_STRUCT_TM_TM_ZONE 1
6270 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6272 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6275 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6277 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6283 cat >>confdefs.h
<<_ACEOF
6284 #define HAVE_DECL_TZNAME $ac_have_decl
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6288 $as_echo_n "checking for tzname... " >&6; }
6289 if test "${ac_cv_var_tzname+set}" = set; then :
6290 $as_echo_n "(cached) " >&6
6292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6293 /* end confdefs.h. */
6295 #if !HAVE_DECL_TZNAME
6296 extern char *tzname[];
6302 return tzname[0][0];
6307 if ac_fn_c_try_link
"$LINENO"; then :
6308 ac_cv_var_tzname
=yes
6312 rm -f core conftest.err conftest.
$ac_objext \
6313 conftest
$ac_exeext conftest.
$ac_ext
6315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6316 $as_echo "$ac_cv_var_tzname" >&6; }
6317 if test $ac_cv_var_tzname = yes; then
6319 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6324 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6325 if test "x$ac_cv_type_off_t" = x
""yes; then :
6329 cat >>confdefs.h
<<_ACEOF
6330 #define off_t long int
6335 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6336 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6340 cat >>confdefs.h
<<_ACEOF
6346 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6347 if test "x$ac_cv_type_size_t" = x
""yes; then :
6351 cat >>confdefs.h
<<_ACEOF
6352 #define size_t unsigned int
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6358 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6359 if test "${ac_cv_type_uid_t+set}" = set; then :
6360 $as_echo_n "(cached) " >&6
6362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6364 #include <sys/types.h>
6367 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6368 $EGREP "uid_t" >/dev
/null
2>&1; then :
6369 ac_cv_type_uid_t
=yes
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6377 $as_echo "$ac_cv_type_uid_t" >&6; }
6378 if test $ac_cv_type_uid_t = no
; then
6380 $as_echo "#define uid_t int" >>confdefs.h
6383 $as_echo "#define gid_t int" >>confdefs.h
6388 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6389 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6391 cat >>confdefs.h
<<_ACEOF
6392 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6399 # Look for some functions
6400 for ac_func
in getpagesize kqueue statfs statvfs \
6401 clone kse_create rfork_thread thr_create sa_register \
6402 getcontext makecontext setcontext sigaltstack swapcontext
6404 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6405 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6406 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
6407 cat >>confdefs.h
<<_ACEOF
6408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6418 for ac_header
in $ac_header_list
6420 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6421 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6423 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6424 cat >>confdefs.h
<<_ACEOF
6425 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6439 for ac_func
in getpagesize
6441 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6442 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6443 cat >>confdefs.h
<<_ACEOF
6444 #define HAVE_GETPAGESIZE 1
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6451 $as_echo_n "checking for working mmap... " >&6; }
6452 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6455 if test "$cross_compiling" = yes; then :
6456 ac_cv_func_mmap_fixed_mapped
=no
6458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6459 /* end confdefs.h. */
6460 $ac_includes_default
6461 /* malloc might have been renamed as rpl_malloc. */
6464 /* Thanks to Mike Haertel and Jim Avera for this test.
6465 Here is a matrix of mmap possibilities:
6466 mmap private not fixed
6467 mmap private fixed at somewhere currently unmapped
6468 mmap private fixed at somewhere already mapped
6469 mmap shared not fixed
6470 mmap shared fixed at somewhere currently unmapped
6471 mmap shared fixed at somewhere already mapped
6472 For private mappings, we should verify that changes cannot be read()
6473 back from the file, nor mmap's back from the file at a different
6474 address. (There have been systems where private was not correctly
6475 implemented like the infamous i386 svr4.0, and systems where the
6476 VM page cache was not coherent with the file system buffer cache
6477 like early versions of FreeBSD and possibly contemporary NetBSD.)
6478 For shared mappings, we should conversely verify that changes get
6479 propagated back to all the places they're supposed to be.
6481 Grep wants private fixed already mapped.
6482 The main things grep needs to know about mmap are:
6483 * does it exist and is it safe to write into the mmap'd area
6484 * how to use it (BSD variants) */
6487 #include <sys/mman.h>
6489 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6493 /* This mess was copied from the GNU getpagesize.h. */
6494 #ifndef HAVE_GETPAGESIZE
6495 # ifdef _SC_PAGESIZE
6496 # define getpagesize() sysconf(_SC_PAGESIZE)
6497 # else /* no _SC_PAGESIZE */
6498 # ifdef HAVE_SYS_PARAM_H
6499 # include <sys/param.h>
6500 # ifdef EXEC_PAGESIZE
6501 # define getpagesize() EXEC_PAGESIZE
6502 # else /* no EXEC_PAGESIZE */
6504 # define getpagesize() NBPG * CLSIZE
6507 # endif /* no CLSIZE */
6508 # else /* no NBPG */
6510 # define getpagesize() NBPC
6511 # else /* no NBPC */
6513 # define getpagesize() PAGESIZE
6514 # endif /* PAGESIZE */
6515 # endif /* no NBPC */
6516 # endif /* no NBPG */
6517 # endif /* no EXEC_PAGESIZE */
6518 # else /* no HAVE_SYS_PARAM_H */
6519 # define getpagesize() 8192 /* punt totally */
6520 # endif /* no HAVE_SYS_PARAM_H */
6521 # endif /* no _SC_PAGESIZE */
6523 #endif /* no HAVE_GETPAGESIZE */
6528 char *data, *data2, *data3;
6533 pagesize = getpagesize ();
6535 /* First, make a file with some known garbage in it. */
6536 data = (char *) malloc (pagesize);
6539 for (i = 0; i < pagesize; ++i)
6540 *(data + i) = rand ();
6542 fd = creat ("conftest.mmap", 0600);
6545 if (write (fd, data, pagesize) != pagesize)
6549 /* Next, check that the tail of a page is zero-filled. File must have
6550 non-zero length, otherwise we risk SIGBUS for entire page. */
6551 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6555 if (write (fd2, cdata2, 1) != 1)
6557 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6558 if (data2 == MAP_FAILED)
6560 for (i = 0; i < pagesize; ++i)
6564 if (munmap (data2, pagesize))
6567 /* Next, try to mmap the file at a fixed address which already has
6568 something else allocated at it. If we can, also make sure that
6569 we see the same garbage. */
6570 fd = open ("conftest.mmap", O_RDWR);
6573 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6574 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6576 for (i = 0; i < pagesize; ++i)
6577 if (*(data + i) != *(data2 + i))
6580 /* Finally, make sure that changes to the mapped area do not
6581 percolate back to the file as seen by read(). (This is a bug on
6582 some variants of i386 svr4.0.) */
6583 for (i = 0; i < pagesize; ++i)
6584 *(data2 + i) = *(data2 + i) + 1;
6585 data3 = (char *) malloc (pagesize);
6588 if (read (fd, data3, pagesize) != pagesize)
6590 for (i = 0; i < pagesize; ++i)
6591 if (*(data + i) != *(data3 + i))
6597 if ac_fn_c_try_run
"$LINENO"; then :
6598 ac_cv_func_mmap_fixed_mapped
=yes
6600 ac_cv_func_mmap_fixed_mapped
=no
6602 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6603 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6608 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6609 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6611 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6614 rm -f conftest.mmap conftest.txt
6619 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6620 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6621 aros_config_ldflags
=""
6623 aros_shared_default
=yes
6625 aros_shared_cflags
="-fPIC"
6626 aros_shared_aflags
=""
6627 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6628 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6630 aros_target_ar_flags
="cr"
6631 aros_target_nm_flags
="-C -ul"
6632 aros_target_strip_flags
="--strip-unneeded -R.comment"
6637 aros_target_genmap
="-Wl,-Map -Xlinker"
6639 # Native flavour stuff
6640 aros_serial_debug
="0"
6642 # Palm native flavour stuff
6643 aros_palm_debug_hack
="0"
6645 # Unix flavour stuff
6646 aros_nesting_supervisor
="0"
6648 # Collect-aros stuff: "-ius" to ignore undefined symbols
6649 ignore_undefined_symbols
=""
6651 # Check for X11 by default
6654 #-----------------------------------------------------------------------------
6657 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6658 # it switched on by default, and we use the host compiler, so it compiles AROS
6659 # code with this enabled resulting in link failures as we don't have support
6662 # We use two methods to disable it. For the host compiler (used to compile
6663 # some hosted modules), we test to see if the compiler supports stack
6664 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6665 # work on all platforms.
6667 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6668 # (this is done unconditionally, as it should have no effect on compilers
6669 # without the stack protection feature). This may be specific to the way that
6670 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6671 # strong enough to disable it in a generic way though, so we'll live with it
6672 # until another vendor ships GCC with it enabled in a different way, and deal
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6677 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6678 save_cflags
="$CFLAGS"
6679 CFLAGS
="$CFLAGS -fno-stack-protector"
6680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6691 if ac_fn_c_try_compile
"$LINENO"; then :
6692 use_no_stack_protector
="yes"
6694 use_no_stack_protector
="no"
6696 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6698 $as_echo "$use_no_stack_protector" >&6; }
6699 if test "x-$use_no_stack_protector" = "x-yes" ; then
6700 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6702 CFLAGS
="$save_cflags"
6704 #-----------------------------------------------------------------------------
6706 # Disable pointer-signedness warnings if the compiler recognises the option
6707 # (this only works for the host compiler at the moment)
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6710 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6711 save_cflags
="$CFLAGS"
6712 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6724 if ac_fn_c_try_compile
"$LINENO"; then :
6725 use_no_sign_warning
="yes"
6727 use_no_sign_warning
="no"
6729 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6731 $as_echo "$use_no_sign_warning" >&6; }
6732 if test "x-$use_no_sign_warning" = "x-yes" ; then
6733 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6735 CFLAGS
="$save_cflags"
6737 #-----------------------------------------------------------------------------
6739 # Check if host compiler supports -fgnu89-inline, can be needed for crosstools.
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fgnu89-inline" >&5
6742 $as_echo_n "checking whether ${CC} accepts -fgnu89-inline... " >&6; }
6743 save_cflags
="$CFLAGS"
6744 CFLAGS
="$CFLAGS -fgnu89-inline"
6745 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6746 /* end confdefs.h. */
6756 if ac_fn_c_try_compile
"$LINENO"; then :
6757 use_gnu89_inline
="yes"
6759 use_gnu89_inline
="no"
6761 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_gnu89_inline" >&5
6763 $as_echo "$use_gnu89_inline" >&6; }
6764 if test "x-$use_gnu89_inline" = "x-yes" ; then
6765 gnu89_inline
="-fgnu89-inline"
6767 CFLAGS
="$save_cflags"
6769 #-----------------------------------------------------------------------------
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6772 $as_echo_n "checking for type of build... " >&6; }
6773 # Check whether --enable-build_type was given.
6774 if test "${enable_build_type+set}" = set; then :
6775 enableval
=$enable_build_type; build_type
=$enableval
6777 build_type
="personal"
6781 if test "$build_type" = "nightly"; then
6782 build_type_string
="NIGHTLY"
6783 elif test "$build_type" = "snapshot"; then
6784 build_type_string
="SNAPSHOT"
6785 elif test "$build_type" = "milestone"; then
6786 build_type_string
="MILESTONE"
6787 elif test "$build_type" = "release"; then
6788 build_type_string
="RELEASE"
6790 build_type_string
="PERSONAL"
6791 build_type
="personal"
6794 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6797 $as_echo "$build_type" >&6; }
6799 #-----------------------------------------------------------------------------
6800 all_debug_types
="messages stack modules mungwall symbols"
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6803 $as_echo_n "checking which debug types to enable... " >&6; }
6804 # Check whether --enable-debug was given.
6805 if test "${enable_debug+set}" = set; then :
6806 enableval
=$enable_debug; debug
="$enableval"
6812 if test "$debug" = "" -o "$debug" = "no"; then
6814 elif test "$debug" = "yes"; then
6818 if test "$debug" = "all" ; then
6819 debug
="messages stack modules symbols"
6820 for d
in $all_debug_types; do
6821 export aros_
${d}_debug
="1"
6824 for d
in $all_debug_types; do
6825 export aros_
${d}_debug
="0"
6829 if test "$debug" != "none"; then
6830 debug
=`echo $debug | sed s/,/\ /g`
6833 for d2
in $all_debug_types; do
6834 if test "$d2" = "$d"; then
6839 if test "$found" = "0"; then
6840 as_fn_error $?
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6842 export aros_
${d}_debug
="1"
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6847 $as_echo "$debug" >&6; }
6849 if test "$aros_messages_debug" = "1"; then
6850 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6852 aros_messages_debug
=""
6854 if test "$aros_symbols_debug" = "1"; then
6855 aros_symbols_debug
="-g"
6857 aros_symbols_debug
=""
6860 # These are the flags to pass when compiling debugged programs
6861 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6862 aros_debug_aflags
=""
6863 aros_debug_ldflags
="$aros_symbols_debug"
6865 aros_crosstools
="no"
6867 #-----------------------------------------------------------------------------
6868 # Checking if we should build crosstools..
6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6870 $as_echo_n "checking whether to build crosstools... " >&6; }
6871 # Check whether --enable-crosstools was given.
6872 if test "${enable_crosstools+set}" = set; then :
6873 enableval
=$enable_crosstools; crosstools
="$enableval"
6878 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6880 $as_echo "yes" >&6; }
6881 aros_crosstools
="yes"
6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6884 $as_echo "no" >&6; }
6887 #-----------------------------------------------------------------------------
6888 # Checking for distcc and ccache.
6890 # Always apply the transforms in this particular order. Basically you should
6891 # always run 'ccache distcc compiler' in that order for the best performance.
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6894 $as_echo_n "checking whether to enable distcc... " >&6; }
6895 # Check whether --enable-distcc was given.
6896 if test "${enable_distcc+set}" = set; then :
6897 enableval
=$enable_distcc; distcc
="$enableval"
6902 if test "$distcc" != "" -a "$distcc" != "no"; then
6903 # AC_CHECK_PROG will print out the result in this case
6904 # Extract the first word of "distcc", so it can be a program name with args.
6905 set dummy distcc
; ac_word
=$2
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6907 $as_echo_n "checking for $ac_word... " >&6; }
6908 if test "${ac_cv_path_DISTCC+set}" = set; then :
6909 $as_echo_n "(cached) " >&6
6913 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6920 test -z "$as_dir" && as_dir
=.
6921 for ac_exec_ext
in '' $ac_executable_extensions; do
6922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6923 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6935 DISTCC
=$ac_cv_path_DISTCC
6936 if test -n "$DISTCC"; then
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6938 $as_echo "$DISTCC" >&6; }
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6941 $as_echo "no" >&6; }
6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6947 $as_echo "no" >&6; }
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6951 $as_echo_n "checking whether to enable ccache... " >&6; }
6952 # Check whether --enable-ccache was given.
6953 if test "${enable_ccache+set}" = set; then :
6954 enableval
=$enable_ccache; ccache
="$enableval"
6959 if test "$ccache" != "" -a "$ccache" != "no"; then
6960 # AC_CHECK_PROG will print out the result in this case
6961 # Extract the first word of "ccache", so it can be a program name with args.
6962 set dummy ccache
; ac_word
=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6966 $as_echo_n "(cached) " >&6
6968 if test -n "$CCACHE"; then
6969 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6975 test -z "$as_dir" && as_dir
=.
6976 for ac_exec_ext
in '' $ac_executable_extensions; do
6977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6978 ac_cv_prog_CCACHE
="ccache"
6979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 CCACHE
=$ac_cv_prog_CCACHE
6989 if test -n "$CCACHE"; then
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6991 $as_echo "$CCACHE" >&6; }
6993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6994 $as_echo "no" >&6; }
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7000 $as_echo "no" >&6; }
7003 #-----------------------------------------------------------------------------
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific gcc version to use" >&5
7005 $as_echo_n "checking what specific gcc version to use... " >&6; }
7007 # Check whether --with-gcc-version was given.
7008 if test "${with_gcc_version+set}" = set; then :
7009 withval
=$with_gcc_version; target_tool_version
="$withval"
7011 target_tool_version
="default"
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
7015 $as_echo "$target_tool_version" >&6; }
7017 #-----------------------------------------------------------------------------
7018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
7019 $as_echo_n "checking what optimization flags to use... " >&6; }
7021 # Check whether --with-optimization was given.
7022 if test "${with_optimization+set}" = set; then :
7023 withval
=$with_optimization; optimization
="$withval"
7025 optimization
="unknown"
7028 if test "$optimization" = "unknown"; then
7029 if test "$debug" != "none"; then
7035 aros_config_cflags
="$aros_config_cflags $optimization"
7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
7037 $as_echo "$optimization" >&6; }
7039 #-----------------------------------------------------------------------------
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what paranoia flags to use" >&5
7041 $as_echo_n "checking what paranoia flags to use... " >&6; }
7043 # Check whether --with-paranoia was given.
7044 if test "${with_paranoia+set}" = set; then :
7045 withval
=$with_paranoia; paranoia_flags
="$withval"
7047 paranoia_flags
="default"
7050 if test "$paranoia_flags" = "default"; then
7052 else if test "$paranoia_flags" = "yes"; then
7053 paranoia_flags
="-Wall -Werror"
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $paranoia_flags" >&5
7056 $as_echo "$paranoia_flags" >&6; }
7057 aros_paranoia_cflags
="$paranoia_flags"
7059 #-----------------------------------------------------------------------------
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
7061 $as_echo_n "checking what target variant to enable... " >&6; }
7062 # Check whether --enable-target_variant was given.
7063 if test "${enable_target_variant+set}" = set; then :
7064 enableval
=$enable_target_variant; target_variant
=$enableval
7069 if test "$target_variant" = ""; then
7070 aros_target_variant
=""
7071 aros_target_suffix
=""
7074 aros_target_variant
="$target_variant"
7075 aros_target_suffix
="-$target_variant"
7077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
7078 $as_echo "$enableval" >&6; }
7080 target_bootloader
="none"
7082 #-----------------------------------------------------------------------------
7083 case "$aros_target_variant" in
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
7086 $as_echo_n "checking XCode path... " >&6; }
7088 # Check whether --with-xcode was given.
7089 if test "${with_xcode+set}" = set; then :
7090 withval
=$with_xcode; aros_xcode_path
="$withval"
7092 aros_xcode_path
="/Developer"
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
7096 $as_echo "$aros_xcode_path" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
7099 $as_echo_n "checking for minimum supported iOS version... " >&6; }
7101 # Check whether --with-ios-version was given.
7102 if test "${with_ios_version+set}" = set; then :
7103 withval
=$with_ios_version; aros_ios_version
="$withval"
7105 aros_ios_version
="3.0"
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
7109 $as_echo "$aros_ios_version" >&6; }
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
7112 $as_echo_n "checking what iOS SDK version to use... " >&6; }
7114 # Check whether --with-ios-sdk was given.
7115 if test "${with_ios_sdk+set}" = set; then :
7116 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
7122 $as_echo "$aros_ios_sdk" >&6; }
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android SDK path" >&5
7128 $as_echo_n "checking Android SDK path... " >&6; }
7130 # Check whether --with-sdk was given.
7131 if test "${with_sdk+set}" = set; then :
7132 withval
=$with_sdk; aros_android_sdk
="$withval"
7134 aros_android_sdk
=$default_android_sdk
7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_sdk" >&5
7138 $as_echo "$aros_android_sdk" >&6; }
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Android NDK path" >&5
7141 $as_echo_n "checking Android NDK path... " >&6; }
7143 # Check whether --with-ndk was given.
7144 if test "${with_ndk+set}" = set; then :
7145 withval
=$with_ndk; aros_android_ndk
="$withval"
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_ndk" >&5
7151 $as_echo "$aros_android_ndk" >&6; }
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what Android version to use" >&5
7154 $as_echo_n "checking what Android version to use... " >&6; }
7156 # Check whether --with-android-version was given.
7157 if test "${with_android_version+set}" = set; then :
7158 withval
=$with_android_version; aros_android_version
="$withval"
7160 aros_android_version
="2.2"
7163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_android_version" >&5
7164 $as_echo "$aros_android_version" >&6; }
7166 export PATH
="$aros_android_sdk/tools:$PATH"
7167 # Extract the first word of "$android_tool", so it can be a program name with args.
7168 set dummy
$android_tool; ac_word
=$2
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7170 $as_echo_n "checking for $ac_word... " >&6; }
7171 if test "${ac_cv_path_android_tool+set}" = set; then :
7172 $as_echo_n "(cached) " >&6
7174 case $android_tool in
7176 ac_cv_path_android_tool
="$android_tool" # Let the user override the test with a path.
7179 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7183 test -z "$as_dir" && as_dir
=.
7184 for ac_exec_ext
in '' $ac_executable_extensions; do
7185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7186 ac_cv_path_android_tool
="$as_dir/$ac_word$ac_exec_ext"
7187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7197 android_tool
=$ac_cv_path_android_tool
7198 if test -n "$android_tool"; then
7199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $android_tool" >&5
7200 $as_echo "$android_tool" >&6; }
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7203 $as_echo "no" >&6; }
7207 if test "$android_tool" = ""; then
7208 as_fn_error $?
"android is required to build AROS. Please install and run configure again." "$LINENO" 5
7211 if test $host_os = "mingw32"; then
7212 android_tool
="cmd //c $android_tool"
7218 #-----------------------------------------------------------------------------
7219 # This is the target configuration switch.
7220 case "$target_os" in
7222 aros_target_arch
="linux"
7223 aros_target_family
="unix"
7224 case "$target_cpu" in
7226 aros_target_cpu
="m68k"
7227 aros_object_format
="m68kelf"
7228 aros_flavour
="emulcompat"
7229 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7230 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7231 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7232 gcc_target_cpu
="mc68000"
7235 aros_target_cpu
="i386"
7236 aros_object_format
="elf_i386"
7237 aros_flavour
="emulation"
7238 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7239 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7240 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7241 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7242 aros_config_ldflags
="-m32 -march=i486"
7243 aros_kernel_ldflags
="-melf_i386"
7244 aros_default_wbdepth
=8
7245 gcc_target_cpu
="i386"
7246 pci_hidd_target
="hidd-pci-linux"
7249 aros_target_cpu
="x86_64"
7250 aros_object_format
="elf_x86_64"
7251 aros_flavour
="emulation"
7252 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7253 aros_config_cflags
="$aros_config_cflags -mno-red-zone -fno-omit-frame-pointer"
7254 aros_default_wbdepth
=8
7255 gcc_target_cpu
="x86_64"
7256 pci_hidd_target
="hidd-pci-linux"
7259 aros_target_cpu
="ppc"
7260 aros_object_format
="elf32ppc"
7261 aros_flavour
="emulation"
7262 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7263 aros_default_wbdepth
=8
7264 gcc_target_cpu
="ppc"
7267 # Same as powerpc, but I need this for the nightly build to work again.
7268 # Actually, the nightly should be made working with powerpc target.
7269 # That just was too much work for the moment, another week or two.
7271 aros_target_cpu
="ppc"
7272 aros_object_format
="elf32ppc"
7273 aros_flavour
="emulation"
7274 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7275 aros_default_wbdepth
=8
7276 gcc_target_cpu
="ppc"
7279 aros_target_cpu
="arm"
7280 aros_object_format
="armelf_linux_eabi"
7281 aros_flavour
="emulation"
7282 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7283 gcc_target_cpu
="arm"
7284 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7285 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions -fno-strict-aliasing"
7286 aros_arch_libs
="-laeabi"
7289 as_fn_error $?
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7292 case "$aros_target_variant" in
7294 case "$aros_android_version" in
7296 aros_android_level
=android-8
7299 aros_android_level
=android-9
7302 aros_default_wbwidth
=320
7303 aros_default_wbheight
=480
7304 aros_target_cc
="arm-aros-gcc"
7305 aros_target_cxx
="arm-aros-g++"
7306 aros_target_ld
="arm-aros-ld"
7307 aros_target_as
="arm-aros-as"
7308 aros_target_ar
="arm-aros-ar"
7309 aros_target_ranlib
="arm-aros-ranlib"
7310 aros_target_nm
="arm-aros-nm"
7311 aros_target_strip
="arm-aros-strip"
7312 aros_target_objcopy
="arm-aros-objcopy"
7313 aros_target_objdump
="arm-aros-objdump"
7314 if test "$aros_android_ndk" = ""; then
7315 aros_kernel_cflags
="-mandroid"
7316 aros_kernel_ldflags
="-mandroid"
7319 export PATH
="$aros_android_ndk/toolchains/arm-linux-androideabi-$target_tool_version/prebuilt/$android_build_os/bin:$PATH"
7320 aros_android_ndk
="$aros_android_ndk/platforms/$aros_android_level/arch-arm"
7321 aros_kernel_cflags
="--sysroot $aros_android_ndk -mandroid"
7322 aros_kernel_ldflags
="--sysroot $aros_android_ndk -mandroid"
7323 CFLAGS
="$CFLAGS --sysroot $aros_android_ndk -mandroid"
7324 aros_kernel_includes
="-isystem $aros_android_ndk/usr/include"
7327 target_tool_prefix
="arm-linux-androideabi-"
7333 aros_target_arch
="pc"
7334 aros_shared_default
="no"
7335 target_bootloader
="grub2"
7336 case "$target_cpu" in
7338 aros_target_cpu
="i386"
7341 if test "$aros_object_format" = "" ; then
7342 aros_object_format
="elf_i386"
7344 aros_flavour
="standalone"
7345 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7346 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7347 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7348 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7349 aros_config_ldflags
="-m32 -march=i486"
7350 aros_kernel_ldflags
="-melf_i386"
7351 aros_default_wbwidth
=640
7352 aros_default_wbheight
=480
7353 gcc_target_cpu
="i386"
7356 aros_target_cpu
="x86_64"
7358 if test "$aros_object_format" = "" ; then
7359 aros_object_format
="elf_x86_64"
7361 aros_flavour
="standalone"
7362 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7363 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone -fno-omit-frame-pointer"
7364 aros_kernel_ldflags
=""
7365 aros_default_wbwidth
=640
7366 aros_default_wbheight
=480
7367 gcc_target_cpu
="x86_64"
7370 as_fn_error $?
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7376 aros_target_arch
="prep"
7377 aros_shared_default
="no"
7378 aros_target_cpu
="ppc"
7379 aros_object_format
="elf32ppc"
7380 aros_flavour
="ppcnative"
7381 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7382 aros_kernel_ldflags
=""
7383 aros_default_wbwidth
=640
7384 aros_default_wbheight
=480
7385 gcc_target_cpu
="ppc"
7389 aros_target_arch
="freebsd"
7390 aros_target_family
="unix"
7391 aros_target_cpu
="i386"
7392 aros_flavour
="emulation"
7393 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7394 gcc_target_cpu
="i386"
7396 aros_target_strip_flags
="-x"
7400 aros_target_arch
="darwin"
7401 aros_target_family
="unix"
7402 aros_flavour
="emulation"
7403 case "$target_cpu" in
7405 aros_ios_platform
="iPhoneSimulator"
7406 aros_target_cpu
="i386"
7407 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7408 aros_kernel_ldflags
=""
7409 aros_macosx_version
="10.4"
7410 aros_default_wbdepth
=8
7411 gcc_target_cpu
="i386"
7412 aros_object_format
="elf_i386"
7413 aros_target_strip_flags
="-x"
7414 aros_target_cc
="i386-aros-gcc"
7415 aros_target_cxx
="i386-aros-g++"
7416 aros_target_ld
="i386-aros-ld"
7417 aros_target_as
="i386-aros-as"
7418 aros_target_ar
="i386-aros-ar"
7419 aros_target_ranlib
="i386-aros-ranlib"
7420 aros_target_nm
="i386-aros-nm"
7421 aros_target_strip
="i386-aros-strip"
7422 aros_target_objcopy
="i386-aros-objcopy"
7423 aros_target_objdump
="i386-aros-objdump"
7424 target_tool_prefix
="i686-apple-darwin10-"
7425 target_tool_flags
="-m32"
7428 aros_target_cpu
="x86_64"
7429 aros_object_format
="elf_x86_64"
7430 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7431 aros_macosx_version
="10.6"
7432 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7433 aros_kernel_cflags
="-m64"
7434 aros_kernel_ldflags
="-m64"
7435 aros_target_cflags
="-mcmodel=large"
7436 aros_default_wbdepth
=8
7437 gcc_target_cpu
="x86_64"
7439 aros_target_cc
="x86_64-aros-gcc"
7440 aros_target_cxx
="x86_64-aros-g++"
7441 aros_target_ld
="x86_64-aros-ld"
7442 aros_target_as
="x86_64-aros-as"
7443 aros_target_ar
="x86_64-aros-ar"
7444 aros_target_ranlib
="x86_64-aros-ranlib"
7445 aros_target_nm
="x86_64-aros-nm"
7446 aros_target_strip
="x86_64-aros-strip"
7447 aros_target_objcopy
="x86_64-aros-objcopy"
7448 aros_target_objdump
="x86_64-aros-objdump"
7449 target_tool_prefix
="i686-apple-darwin10-"
7452 aros_target_cpu
="ppc"
7453 aros_object_format
="elf32ppc"
7454 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7455 aros_kernel_ldflags
=""
7456 aros_macosx_version
="10.0"
7457 aros_default_wbdepth
=8
7458 gcc_target_cpu
="ppc"
7459 aros_kernel_ld
="ld -arch ppc"
7460 aros_target_cc
="ppc-aros-gcc"
7461 aros_target_cxx
="ppc-aros-g++"
7462 aros_target_ld
="ppc-aros-ld"
7463 aros_target_as
="ppc-aros-as"
7464 aros_target_ar
="ppc-aros-ar"
7465 aros_target_ranlib
="ppc-aros-ranlib"
7466 aros_target_nm
="ppc-aros-nm"
7467 aros_target_strip
="ppc-aros-strip"
7468 aros_target_objcopy
="ppc-aros-objcopy"
7469 aros_target_objdump
="ppc-aros-objdump"
7470 target_tool_prefix
="powerpc-apple-darwin10-"
7473 aros_ios_platform
="iPhoneOS"
7474 aros_target_cpu
="arm"
7475 aros_object_format
="armelf_linux_eabi"
7476 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7477 aros_config_cflags
="$aros_config_cflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7478 aros_config_aflags
="$aros_config_aflags -marm -march=armv6 -mfpu=vfp -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7479 aros_arch_libs
="-laeabi"
7480 aros_default_wbdepth
=8
7481 gcc_target_cpu
="arm"
7482 aros_kernel_ld
="ld -arch armv6"
7483 aros_target_cc
="arm-aros-gcc"
7484 aros_target_cxx
="arm-aros-g++"
7485 aros_target_ld
="arm-aros-ld"
7486 aros_target_as
="arm-aros-as"
7487 aros_target_ar
="arm-aros-ar"
7488 aros_target_ranlib
="arm-aros-ranlib"
7489 aros_target_nm
="arm-aros-nm"
7490 aros_target_strip
="arm-aros-strip"
7491 aros_target_objcopy
="arm-aros-objcopy"
7492 aros_target_objdump
="arm-aros-objdump"
7493 target_tool_prefix
="arm-apple-darwin10-"
7494 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7497 as_fn_error $?
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7500 case "$aros_target_variant" in
7502 aros_default_wbwidth
=320
7503 aros_default_wbheight
=480
7504 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7505 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
7506 aros_kernel_includes
="-isystem $aros_ios_sdk/usr/include"
7508 # This is here because it may depend on iOS or SDK version
7509 aros_kernel_cflags
="$aros_kernel_cflags -miphoneos-version-min=$aros_ios_version"
7510 aros_kernel_ldflags
="$aros_kernel_ldflags -miphoneos-version-min=$aros_ios_version"
7511 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7514 aros_kernel_cflags
="$aros_kernel_cflags -mmacosx-version-min=$aros_macosx_version"
7515 aros_kernel_ldflags
="$aros_kernel_ldflags -mmacosx-version-min=$aros_macosx_version"
7521 aros_target_arch
="dragonfly"
7522 aros_target_family
="unix"
7523 aros_flavour
="emulation"
7524 case "$target_cpu" in
7526 aros_target_cpu
="i386"
7527 aros_object_format
="elf_i386"
7528 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7531 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7532 aros_target_cpu
="x86_64"
7533 aros_object_format
="elf_x86_64"
7534 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7537 as_fn_error $?
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7543 aros_target_arch
="netbsd"
7544 aros_target_family
="unix"
7545 case "$target_cpu" in
7547 aros_target_cpu
="m68k"
7548 aros_object_format
="m68kelf"
7549 aros_flavour
="emulcompat"
7550 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7551 gcc_target_cpu
="mc68000"
7554 aros_target_cpu
="i386"
7555 aros_object_format
="elf_i386"
7556 aros_flavour
="emulation"
7557 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7558 aros_default_wbdepth
=8
7559 gcc_target_cpu
="i386"
7562 as_fn_error $?
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7565 aros_target_genmap
="-Wl,-M -Xlinker >"
7566 aros_flavour
="emulation"
7567 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7571 aros_target_arch
="openbsd"
7572 aros_target_family
="unix"
7573 case "$target_cpu" in
7575 aros_target_cpu
="i386"
7576 aros_object_format
="elf_i386"
7577 aros_flavour
="emulation"
7578 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7579 gcc_target_cpu
="i386"
7582 as_fn_error $?
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7585 aros_target_genmap
="-Wl,-M -Xlinker >"
7586 aros_target_nm_flags
="-u"
7587 aros_flavour
="emulation"
7591 aros_target_arch
="solaris"
7592 aros_target_family
="unix"
7593 case "$target_cpu" in
7595 aros_target_cpu
="i386"
7596 aros_object_format
="elf_i386"
7597 aros_flavour
="emulation"
7598 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7599 aros_default_wbdepth
=8
7600 gcc_target_cpu
="i386"
7603 aros_target_cpu
="sparc"
7604 aros_object_format
="elf_sparc"
7605 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7606 gcc_target_cpu
="sparc"
7609 as_fn_error $?
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7612 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7613 aros_flavour
="emulation"
7617 aros_target_arch
="morphos"
7618 aros_shared_default
="no"
7619 aros_target_cpu
="ppc"
7620 aros_object_format
="elf_ppc"
7621 aros_flavour
="nativecompat"
7622 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7623 gcc_target_cpu
="ppc"
7627 aros_target_arch
="sam440"
7628 aros_shared_default
="no"
7629 aros_target_cpu
="ppc"
7630 aros_object_format
="elf32ppc"
7631 aros_flavour
="ppcnative"
7632 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7633 aros_kernel_ldflags
=""
7634 aros_default_wbwidth
=1024
7635 aros_default_wbheight
=768
7636 aros_default_wbdepth
=24
7637 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7638 gcc_target_cpu
="powerpc"
7642 aros_target_arch
="efika"
7643 aros_shared_default
="no"
7644 aros_target_cpu
="arm"
7645 aros_object_format
="armelf_linux_eabi"
7646 aros_flavour
="standalone"
7647 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7648 aros_kernel_ldflags
=""
7649 aros_default_wbwidth
=1024
7650 aros_default_wbheight
=600
7651 aros_arch_libs
="-laeabi"
7652 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"
7653 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"
7657 aros_target_arch
="chrp"
7658 aros_shared_default
="no"
7659 aros_target_cpu
="ppc"
7660 aros_object_format
="elf32ppc"
7661 aros_flavour
="ppcnative"
7662 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7663 aros_kernel_ldflags
=""
7664 aros_default_wbwidth
=640
7665 aros_default_wbheight
=480
7666 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7667 gcc_target_cpu
="powerpc"
7668 case "$aros_target_variant" in
7670 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7676 aros_target_arch
="amiga"
7677 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7678 aros_shared_default
="no"
7680 case "$target_cpu" in
7683 aros_target_cpu
="m68k"
7684 aros_object_format
="m68kelf"
7685 aros_flavour
="standcompat"
7686 gcc_target_cpu
="m68000"
7687 aros_config_cflags
="$aros_config_cflags -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin -Wno-volatile-register-var -DAROS_DOS_PACKETS"
7688 aros_config_aflags
="$aros_config_aflags -${gcc_target_cpu}"
7689 aros_paranoia_cflags
="$aros_paranoia_cflags -Wno-volatile-register-var"
7690 aros_debug_cflags
="$aros_debug_cflags -Wall -Wno-volatile-register-var"
7691 target_tool_prefix
="m68k-elf-"
7692 # Needed to get the correct multilib
7693 aros_config_ldflags
="-${gcc_target_cpu}"
7694 aros_shared_ldflags
="-${gcc_target_cpu}"
7695 aros_kernel_ldflags
="-${gcc_target_cpu}"
7696 aros_target_nostdlib_ldflags
="-${gcc_target_cpu}"
7697 aros_target_strip_flags
="-R.comment --strip-debug"
7698 aros_default_wbwidth
=640
7699 aros_default_wbheight
=256
7700 aros_default_wbdepth
=2
7704 aros_flavour
="native"
7705 gcc_target_cpu
="ppc"
7708 as_fn_error $?
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7714 aros_target_arch
="mingw32"
7715 aros_shared_default
="no"
7716 aros_flavour
="emulation"
7717 aros_shared_cflags
=""
7720 case "$target_cpu" in
7722 aros_target_cpu
="i386"
7723 aros_object_format
="elf_i386"
7724 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7725 aros_default_wbdepth
=8
7726 gcc_target_cpu
="i386"
7727 aros_target_cc
="i386-aros-gcc"
7728 aros_target_cxx
="i386-aros-g++"
7729 aros_target_ld
="i386-aros-ld"
7730 aros_target_as
="i386-aros-as"
7731 aros_target_ar
="i386-aros-ar"
7732 aros_target_ranlib
="i386-aros-ranlib"
7733 aros_target_nm
="i386-aros-nm"
7734 aros_target_strip
="i386-aros-strip"
7735 aros_target_objcopy
="i386-aros-objcopy"
7736 aros_target_objdump
="i386-aros-objdump"
7737 target_tool_prefix
="i386-mingw32-"
7740 aros_target_cpu
="x86_64"
7741 aros_object_format
="elf_x86_64"
7742 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7743 aros_config_cflags
="$aros_config_cflags -fno-omit-frame-pointer"
7744 aros_default_wbdepth
=8
7745 gcc_target_cpu
="x86_64"
7746 aros_target_cc
="x86_64-aros-gcc"
7747 aros_target_cxx
="x86_64-aros-g++"
7748 aros_target_ld
="x86_64-aros-ld"
7749 aros_target_as
="x86_64-aros-as"
7750 aros_target_ar
="x86_64-aros-ar"
7751 aros_target_ranlib
="x86_64-aros-ranlib"
7752 aros_target_nm
="x86_64-aros-nm"
7753 aros_target_strip
="x86_64-aros-strip"
7754 aros_target_objcopy
="x86_64-aros-objcopy"
7755 aros_target_objdump
="x86_64-aros-objdump"
7756 target_tool_prefix
="x86_64-w64-mingw32-"
7759 aros_target_cpu
="arm"
7760 aros_object_format
="armelf_linux_eabi"
7761 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7762 aros_arch_libs
="-laeabi"
7763 aros_default_wbdepth
=8
7764 gcc_target_cpu
="arm"
7765 aros_target_cc
="arm-aros-gcc"
7766 aros_target_cxx
="arm-aros-g++"
7767 aros_target_ld
="arm-aros-ld"
7768 aros_target_as
="arm-aros-as"
7769 aros_target_ar
="arm-aros-ar"
7770 aros_target_ranlib
="arm-aros-ranlib"
7771 aros_target_nm
="arm-aros-nm"
7772 aros_target_strip
="arm-aros-strip"
7773 aros_target_objcopy
="arm-aros-objcopy"
7774 aros_target_objdump
="arm-aros-objdump"
7775 target_tool_prefix
="arm-mingw32ce-"
7776 aros_default_wbwidth
=160
7777 aros_default_wbheight
=160
7780 as_fn_error $?
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7783 if test $host_os = "cygwin"; then
7784 aros_kernel_cflags
="-mno-cygwin"
7788 aros_target_arch
="pp"
7789 aros_shared_default
="no"
7790 case "$target_cpu" in
7792 aros_target_cpu
="m68k"
7793 aros_object_format
="m68kelf"
7794 aros_flavour
="palmnative"
7795 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7796 aros_default_wbwidth
=160
7797 aros_default_wbheight
=160
7798 aros_default_wbdepth
=1
7799 aros_target_ar_flags
="cru"
7800 aros_compiler_libs
="-lgcc1"
7801 aros_shared_default
=no
7802 aros_shared_cflags
="-fpic"
7803 aros_shared_aflags
=""
7804 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7805 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7806 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7807 aros_debug_aflags
=""
7808 aros_debug_ldflags
="$aros_symbols_debug"
7809 aros_mungwall_debug
="0"
7810 aros_modules_debug
="0"
7811 gcc_target_cpu
="mc68000"
7812 ignore_undefined_symbols
="-ius"
7815 as_fn_error $?
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7821 aros_target_arch
="mac"
7822 aros_shared_default
="no"
7823 case "$target_cpu" in
7825 aros_target_cpu
="m68k"
7826 aros_object_format
="m68kelf"
7827 aros_flavour
="mac68knative"
7828 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7829 aros_default_wbwidth
=512
7830 aros_default_wbheight
=384
7831 aros_default_wbdepth
=8
7832 aros_target_ar_flags
="cru"
7833 aros_compiler_libs
="-lgcc1"
7834 aros_shared_default
=no
7835 aros_shared_cflags
="-fpic"
7836 aros_shared_aflags
=""
7837 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7838 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7839 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7840 aros_debug_aflags
=""
7841 aros_debug_ldflags
="$aros_symbols_debug"
7842 aros_mungwall_debug
="0"
7843 aros_modules_debug
="0"
7844 gcc_target_cpu
="mc68000"
7845 ignore_undefined_symbols
="-ius"
7848 as_fn_error $?
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7854 as_fn_error $?
"Unsupported target architecture $target" "$LINENO" 5
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7859 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7861 # Check whether --with-portssources was given.
7862 if test "${with_portssources+set}" = set; then :
7863 withval
=$with_portssources; with_portssrcdir
=$withval
7865 with_portssrcdir
="default"
7868 if test "$with_portssrcdir" = "default"; then
7869 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7871 AROS_PORTSSRCDIR
="$with_portssrcdir"
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7874 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7877 $as_echo_n "checking which bootloader to use... " >&6; }
7879 # Check whether --with-bootloader was given.
7880 if test "${with_bootloader+set}" = set; then :
7881 withval
=$with_bootloader; target_bootloader
=$withval
7883 target_bootloader
=$target_bootloader
7886 if test "$target_bootloader" = "none"; then
7887 aros_target_bootloader
=""
7889 aros_target_bootloader
="$target_bootloader"
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7892 $as_echo "$target_bootloader" >&6; }
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7895 $as_echo_n "checking which icon-set to use... " >&6; }
7897 # Check whether --with-iconset was given.
7898 if test "${with_iconset+set}" = set; then :
7899 withval
=$with_iconset; target_iconset
=$withval
7901 target_iconset
="default"
7904 if test "$target_iconset" = "default"; then
7905 aros_target_iconset
="Gorilla"
7906 target_iconset
="default (Gorilla)"
7908 aros_target_iconset
="$target_iconset"
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7911 $as_echo "$target_iconset" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7914 $as_echo_n "checking which GUI Theme to use... " >&6; }
7916 # Check whether --with-theme was given.
7917 if test "${with_theme+set}" = set; then :
7918 withval
=$with_theme; target_guitheme
=$withval
7920 target_guitheme
="default"
7923 if test "$target_guitheme" = "default"; then
7924 aros_target_guitheme
="Ice"
7926 aros_target_guitheme
="$target_guitheme"
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7929 $as_echo "$aros_target_guitheme" >&6; }
7931 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7934 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7937 if test "$aros_host_cpu" == "x86_64" ; then
7938 if test "$aros_target_cpu" == "i386" ; then
7939 if test "$aros_target_arch" != "mingw32"; then
7944 if test "$aros_host_arch" == "darwin" ; then
7945 if test "$aros_target_arch" != "darwin" ; then
7950 # Set prefix for target compiler etc. if we're cross-compiling
7951 # (should possibly be earlier but needs to be after AC_PROG_CC)
7952 if test "$cross_compiling" = "yes" ; then
7953 if test "$target_tool_prefix" = ""; then
7954 target_tool_prefix
=${target_cpu}-elf-
7956 CC
=${target_tool_prefix}gcc
7957 CPP
=${target_tool_prefix}cpp
7958 if test "$target_tool_version" != "default"; then
7959 CC
="$CC-$target_tool_version"
7960 CPP
="$CC-$target_tool_version"
7962 # Extract the first word of "$CC", so it can be a program name with args.
7963 set dummy
$CC; ac_word
=$2
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7965 $as_echo_n "checking for $ac_word... " >&6; }
7966 if test "${ac_cv_path_CC+set}" = set; then :
7967 $as_echo_n "(cached) " >&6
7971 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
7974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7978 test -z "$as_dir" && as_dir
=.
7979 for ac_exec_ext
in '' $ac_executable_extensions; do
7980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7981 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
7982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7993 if test -n "$CC"; then
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7995 $as_echo "$CC" >&6; }
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7998 $as_echo "no" >&6; }
8002 if test "$CC" = ""; then
8003 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8006 CC
="$CC $target_tool_flags"
8008 #-----------------------------------------------------------------------------
8010 # Disable pointer-signedness warnings if the compiler recognises the option
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
8013 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
8014 save_cflags
="$CFLAGS"
8015 CFLAGS
="$CFLAGS -Wno-pointer-sign"
8016 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8027 if ac_fn_c_try_compile
"$LINENO"; then :
8028 use_no_sign_warning
="yes"
8030 use_no_sign_warning
="no"
8032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
8034 $as_echo "$use_no_sign_warning" >&6; }
8035 if test "x-$use_no_sign_warning" = "x-yes" ; then
8036 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
8038 CFLAGS
="$save_cflags"
8040 #-----------------------------------------------------------------------------
8042 # Find all the tools we need to compile. This could be cross-compiling
8043 # though! If that is the case we use the GNU form of the target and
8044 # simply add this to the front of the binary name. This is rather simple,
8045 # but it should work under most circumstances.
8047 # The default tools are to use the same as the host, but only if the
8048 # host and target CPU are the same. With GCC this is normally enough.
8052 aros_shared_ld
="$aros_host_ld"
8054 aros_target_mkdep
="$aros_host_mkdep"
8055 aros_target_incl_def
="$aros_host_incl"
8057 aros_kernel_cc
="$CC"
8059 # The default tools executables to be linked to.
8060 if test "$aros_target_cc" != ""; then
8061 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
8062 set dummy
$aros_target_cc; ac_word
=$2
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8064 $as_echo_n "checking for $ac_word... " >&6; }
8065 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
8066 $as_echo_n "(cached) " >&6
8068 case $aros_target_cc in
8070 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
8073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8077 test -z "$as_dir" && as_dir
=.
8078 for ac_exec_ext
in '' $ac_executable_extensions; do
8079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8080 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
8081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8091 aros_target_cc
=$ac_cv_path_aros_target_cc
8092 if test -n "$aros_target_cc"; then
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
8094 $as_echo "$aros_target_cc" >&6; }
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8101 if test "$aros_target_cc" = ""; then
8102 as_fn_error $?
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
8105 if test "$aros_target_ld" != ""; then
8106 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
8107 set dummy
$aros_target_ld; ac_word
=$2
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8109 $as_echo_n "checking for $ac_word... " >&6; }
8110 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
8111 $as_echo_n "(cached) " >&6
8113 case $aros_target_ld in
8115 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
8118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8122 test -z "$as_dir" && as_dir
=.
8123 for ac_exec_ext
in '' $ac_executable_extensions; do
8124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8125 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
8126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8136 aros_target_ld
=$ac_cv_path_aros_target_ld
8137 if test -n "$aros_target_ld"; then
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
8139 $as_echo "$aros_target_ld" >&6; }
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8142 $as_echo "no" >&6; }
8146 if test "$aros_target_ld" = ""; then
8147 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8151 if test "$crosstools" != "yes"; then
8153 if test "$aros_target_as" = ""; then
8154 if test "$cross_compiling" = "yes" ; then
8155 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
8156 set dummy
${target_tool_prefix}as
; ac_word
=$2
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8158 $as_echo_n "checking for $ac_word... " >&6; }
8159 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8160 $as_echo_n "(cached) " >&6
8162 case $aros_target_as_ln in
8164 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8171 test -z "$as_dir" && as_dir
=.
8172 for ac_exec_ext
in '' $ac_executable_extensions; do
8173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8174 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8185 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8186 if test -n "$aros_target_as_ln"; then
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8188 $as_echo "$aros_target_as_ln" >&6; }
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8191 $as_echo "no" >&6; }
8196 if test "$GCC" = "yes"; then
8197 aros_gcc_as
=`$CC -print-prog-name=as`
8198 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
8199 set dummy
`basename $aros_gcc_as`; ac_word
=$2
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8201 $as_echo_n "checking for $ac_word... " >&6; }
8202 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8205 case $aros_target_as_ln in
8207 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8211 for as_dir
in `dirname $aros_gcc_as`
8214 test -z "$as_dir" && as_dir
=.
8215 for ac_exec_ext
in '' $ac_executable_extensions; do
8216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8217 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8228 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8229 if test -n "$aros_target_as_ln"; then
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8231 $as_echo "$aros_target_as_ln" >&6; }
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8234 $as_echo "no" >&6; }
8239 if test "$aros_target_as_ln" = ""; then
8240 # Extract the first word of "as", so it can be a program name with args.
8241 set dummy as
; ac_word
=$2
8242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8243 $as_echo_n "checking for $ac_word... " >&6; }
8244 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8245 $as_echo_n "(cached) " >&6
8247 case $aros_target_as_ln in
8249 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8252 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8256 test -z "$as_dir" && as_dir
=.
8257 for ac_exec_ext
in '' $ac_executable_extensions; do
8258 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8259 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8260 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8270 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8271 if test -n "$aros_target_as_ln"; then
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8273 $as_echo "$aros_target_as_ln" >&6; }
8275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8276 $as_echo "no" >&6; }
8283 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8284 set dummy
$aros_target_as; ac_word
=$2
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8286 $as_echo_n "checking for $ac_word... " >&6; }
8287 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8288 $as_echo_n "(cached) " >&6
8290 case $aros_target_as_ln in
8292 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8299 test -z "$as_dir" && as_dir
=.
8300 for ac_exec_ext
in '' $ac_executable_extensions; do
8301 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8302 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8313 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8314 if test -n "$aros_target_as_ln"; then
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8316 $as_echo "$aros_target_as_ln" >&6; }
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8319 $as_echo "no" >&6; }
8325 if test "$aros_target_as_ln" = ""; then
8326 as_fn_error $?
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8329 if test "$aros_kernel_ld" = ""; then
8330 if test "$cross_compiling" = "yes" ; then
8331 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8332 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8334 $as_echo_n "checking for $ac_word... " >&6; }
8335 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8336 $as_echo_n "(cached) " >&6
8338 case $aros_kernel_ld in
8340 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8347 test -z "$as_dir" && as_dir
=.
8348 for ac_exec_ext
in '' $ac_executable_extensions; do
8349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8350 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8361 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8362 if test -n "$aros_kernel_ld"; then
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8364 $as_echo "$aros_kernel_ld" >&6; }
8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8367 $as_echo "no" >&6; }
8372 if test "$GCC" = "yes"; then
8373 aros_gcc_ld
=`$CC -print-prog-name=ld`
8374 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8375 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8377 $as_echo_n "checking for $ac_word... " >&6; }
8378 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8379 $as_echo_n "(cached) " >&6
8381 case $aros_kernel_ld in
8383 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8387 for as_dir
in `dirname $aros_gcc_ld`
8390 test -z "$as_dir" && as_dir
=.
8391 for ac_exec_ext
in '' $ac_executable_extensions; do
8392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8393 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8404 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8405 if test -n "$aros_kernel_ld"; then
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8407 $as_echo "$aros_kernel_ld" >&6; }
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8410 $as_echo "no" >&6; }
8415 if test "$aros_kernel_ld" = ""; then
8416 # Extract the first word of "ld", so it can be a program name with args.
8417 set dummy ld
; ac_word
=$2
8418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8419 $as_echo_n "checking for $ac_word... " >&6; }
8420 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8421 $as_echo_n "(cached) " >&6
8423 case $aros_kernel_ld in
8425 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8428 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8432 test -z "$as_dir" && as_dir
=.
8433 for ac_exec_ext
in '' $ac_executable_extensions; do
8434 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8435 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8436 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8446 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8447 if test -n "$aros_kernel_ld"; then
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8449 $as_echo "$aros_kernel_ld" >&6; }
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8452 $as_echo "no" >&6; }
8459 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8460 set dummy
$aros_kernel_ld; ac_word
=$2
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8462 $as_echo_n "checking for $ac_word... " >&6; }
8463 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8464 $as_echo_n "(cached) " >&6
8466 case $aros_kernel_ld in
8468 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8475 test -z "$as_dir" && as_dir
=.
8476 for ac_exec_ext
in '' $ac_executable_extensions; do
8477 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8478 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8489 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8490 if test -n "$aros_kernel_ld"; then
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8492 $as_echo "$aros_kernel_ld" >&6; }
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8495 $as_echo "no" >&6; }
8501 if test "$aros_kernel_ld" = ""; then
8502 as_fn_error $?
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8505 if test "$aros_target_ar" = ""; then
8506 if test "$cross_compiling" = "yes" ; then
8507 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8508 set dummy
${target_tool_prefix}ar; ac_word
=$2
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8510 $as_echo_n "checking for $ac_word... " >&6; }
8511 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8512 $as_echo_n "(cached) " >&6
8514 case $aros_target_ar_ln in
8516 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8519 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8523 test -z "$as_dir" && as_dir
=.
8524 for ac_exec_ext
in '' $ac_executable_extensions; do
8525 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8526 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8537 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8538 if test -n "$aros_target_ar_ln"; then
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8540 $as_echo "$aros_target_ar_ln" >&6; }
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8543 $as_echo "no" >&6; }
8548 if test "$GCC" = "yes"; then
8549 aros_gcc_ar
=`$CC -print-prog-name=ar`
8550 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8551 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8553 $as_echo_n "checking for $ac_word... " >&6; }
8554 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8555 $as_echo_n "(cached) " >&6
8557 case $aros_target_ar_ln in
8559 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8563 for as_dir
in `dirname $aros_gcc_ar`
8566 test -z "$as_dir" && as_dir
=.
8567 for ac_exec_ext
in '' $ac_executable_extensions; do
8568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8569 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8580 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8581 if test -n "$aros_target_ar_ln"; then
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8583 $as_echo "$aros_target_ar_ln" >&6; }
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8586 $as_echo "no" >&6; }
8591 if test "$aros_target_ar_ln" = ""; then
8592 # Extract the first word of "ar", so it can be a program name with args.
8593 set dummy
ar; ac_word
=$2
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8595 $as_echo_n "checking for $ac_word... " >&6; }
8596 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8597 $as_echo_n "(cached) " >&6
8599 case $aros_target_ar_ln in
8601 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8608 test -z "$as_dir" && as_dir
=.
8609 for ac_exec_ext
in '' $ac_executable_extensions; do
8610 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8611 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8622 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8623 if test -n "$aros_target_ar_ln"; then
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8625 $as_echo "$aros_target_ar_ln" >&6; }
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8628 $as_echo "no" >&6; }
8635 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8636 set dummy
$aros_target_ar; ac_word
=$2
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8638 $as_echo_n "checking for $ac_word... " >&6; }
8639 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8640 $as_echo_n "(cached) " >&6
8642 case $aros_target_ar_ln in
8644 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8651 test -z "$as_dir" && as_dir
=.
8652 for ac_exec_ext
in '' $ac_executable_extensions; do
8653 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8654 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8655 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8665 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8666 if test -n "$aros_target_ar_ln"; then
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8668 $as_echo "$aros_target_ar_ln" >&6; }
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8671 $as_echo "no" >&6; }
8677 if test "$aros_target_ar_ln" = ""; then
8678 as_fn_error $?
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8681 if test "$aros_target_nm" = ""; then
8682 if test "$cross_compiling" = "yes" ; then
8683 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8684 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 $as_echo_n "checking for $ac_word... " >&6; }
8687 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8688 $as_echo_n "(cached) " >&6
8690 case $aros_target_nm_ln in
8692 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8699 test -z "$as_dir" && as_dir
=.
8700 for ac_exec_ext
in '' $ac_executable_extensions; do
8701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8702 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8713 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8714 if test -n "$aros_target_nm_ln"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8716 $as_echo "$aros_target_nm_ln" >&6; }
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8719 $as_echo "no" >&6; }
8724 if test "$GCC" = "yes"; then
8725 aros_gcc_nm
=`$CC -print-prog-name=nm`
8726 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8727 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8729 $as_echo_n "checking for $ac_word... " >&6; }
8730 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8731 $as_echo_n "(cached) " >&6
8733 case $aros_target_nm_ln in
8735 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8739 for as_dir
in `dirname $aros_gcc_nm`
8742 test -z "$as_dir" && as_dir
=.
8743 for ac_exec_ext
in '' $ac_executable_extensions; do
8744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8745 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8756 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8757 if test -n "$aros_target_nm_ln"; then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8759 $as_echo "$aros_target_nm_ln" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8762 $as_echo "no" >&6; }
8767 if test "$aros_target_nm_ln" = ""; then
8768 # Extract the first word of "nm", so it can be a program name with args.
8769 set dummy nm
; ac_word
=$2
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8771 $as_echo_n "checking for $ac_word... " >&6; }
8772 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8773 $as_echo_n "(cached) " >&6
8775 case $aros_target_nm_ln in
8777 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8784 test -z "$as_dir" && as_dir
=.
8785 for ac_exec_ext
in '' $ac_executable_extensions; do
8786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8787 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8798 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8799 if test -n "$aros_target_nm_ln"; then
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8801 $as_echo "$aros_target_nm_ln" >&6; }
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8804 $as_echo "no" >&6; }
8811 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8812 set dummy
$aros_target_nm; ac_word
=$2
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8814 $as_echo_n "checking for $ac_word... " >&6; }
8815 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8816 $as_echo_n "(cached) " >&6
8818 case $aros_target_nm_ln in
8820 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8823 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8827 test -z "$as_dir" && as_dir
=.
8828 for ac_exec_ext
in '' $ac_executable_extensions; do
8829 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8830 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8831 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8841 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8842 if test -n "$aros_target_nm_ln"; then
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8844 $as_echo "$aros_target_nm_ln" >&6; }
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8847 $as_echo "no" >&6; }
8853 if test "$aros_target_nm_ln" = ""; then
8854 as_fn_error $?
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8857 if test "$aros_target_objcopy" = ""; then
8858 if test "$cross_compiling" = "yes" ; then
8859 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8860 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8862 $as_echo_n "checking for $ac_word... " >&6; }
8863 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8864 $as_echo_n "(cached) " >&6
8866 case $aros_target_objcopy_ln in
8868 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8871 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8875 test -z "$as_dir" && as_dir
=.
8876 for ac_exec_ext
in '' $ac_executable_extensions; do
8877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8878 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8889 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8890 if test -n "$aros_target_objcopy_ln"; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8892 $as_echo "$aros_target_objcopy_ln" >&6; }
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8895 $as_echo "no" >&6; }
8900 if test "$GCC" = "yes"; then
8901 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8902 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8903 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8905 $as_echo_n "checking for $ac_word... " >&6; }
8906 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8907 $as_echo_n "(cached) " >&6
8909 case $aros_target_objcopy_ln in
8911 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8915 for as_dir
in `dirname $aros_gcc_objcopy`
8918 test -z "$as_dir" && as_dir
=.
8919 for ac_exec_ext
in '' $ac_executable_extensions; do
8920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8921 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8932 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8933 if test -n "$aros_target_objcopy_ln"; then
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8935 $as_echo "$aros_target_objcopy_ln" >&6; }
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8938 $as_echo "no" >&6; }
8943 if test "$aros_target_objcopy_ln" = ""; then
8944 # Extract the first word of "objcopy", so it can be a program name with args.
8945 set dummy objcopy
; ac_word
=$2
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8947 $as_echo_n "checking for $ac_word... " >&6; }
8948 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8951 case $aros_target_objcopy_ln in
8953 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8956 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8960 test -z "$as_dir" && as_dir
=.
8961 for ac_exec_ext
in '' $ac_executable_extensions; do
8962 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8963 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8964 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8974 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8975 if test -n "$aros_target_objcopy_ln"; then
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8977 $as_echo "$aros_target_objcopy_ln" >&6; }
8979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8980 $as_echo "no" >&6; }
8987 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8988 set dummy
$aros_target_objcopy; ac_word
=$2
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8990 $as_echo_n "checking for $ac_word... " >&6; }
8991 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8992 $as_echo_n "(cached) " >&6
8994 case $aros_target_objcopy_ln in
8996 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9003 test -z "$as_dir" && as_dir
=.
9004 for ac_exec_ext
in '' $ac_executable_extensions; do
9005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9006 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
9007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9017 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
9018 if test -n "$aros_target_objcopy_ln"; then
9019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
9020 $as_echo "$aros_target_objcopy_ln" >&6; }
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9023 $as_echo "no" >&6; }
9029 if test "$aros_target_objcopy_ln" = ""; then
9030 as_fn_error $?
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
9033 if test "$aros_target_objdump" = ""; then
9034 if test "$cross_compiling" = "yes" ; then
9035 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
9036 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9038 $as_echo_n "checking for $ac_word... " >&6; }
9039 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9040 $as_echo_n "(cached) " >&6
9042 case $aros_target_objdump_ln in
9044 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9051 test -z "$as_dir" && as_dir
=.
9052 for ac_exec_ext
in '' $ac_executable_extensions; do
9053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9054 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9065 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9066 if test -n "$aros_target_objdump_ln"; then
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9068 $as_echo "$aros_target_objdump_ln" >&6; }
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9071 $as_echo "no" >&6; }
9076 if test "$GCC" = "yes"; then
9077 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
9078 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
9079 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9081 $as_echo_n "checking for $ac_word... " >&6; }
9082 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9083 $as_echo_n "(cached) " >&6
9085 case $aros_target_objdump_ln in
9087 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9091 for as_dir
in `dirname $aros_gcc_objdump`
9094 test -z "$as_dir" && as_dir
=.
9095 for ac_exec_ext
in '' $ac_executable_extensions; do
9096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9097 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9108 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9109 if test -n "$aros_target_objdump_ln"; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9111 $as_echo "$aros_target_objdump_ln" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114 $as_echo "no" >&6; }
9119 if test "$aros_target_objdump_ln" = ""; then
9120 # Extract the first word of "objdump", so it can be a program name with args.
9121 set dummy objdump
; ac_word
=$2
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9123 $as_echo_n "checking for $ac_word... " >&6; }
9124 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9125 $as_echo_n "(cached) " >&6
9127 case $aros_target_objdump_ln in
9129 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9136 test -z "$as_dir" && as_dir
=.
9137 for ac_exec_ext
in '' $ac_executable_extensions; do
9138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9139 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9150 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9151 if test -n "$aros_target_objdump_ln"; then
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9153 $as_echo "$aros_target_objdump_ln" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 $as_echo "no" >&6; }
9163 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
9164 set dummy
$aros_target_objdump; ac_word
=$2
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9166 $as_echo_n "checking for $ac_word... " >&6; }
9167 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
9168 $as_echo_n "(cached) " >&6
9170 case $aros_target_objdump_ln in
9172 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
9175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9179 test -z "$as_dir" && as_dir
=.
9180 for ac_exec_ext
in '' $ac_executable_extensions; do
9181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9182 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
9183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9193 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
9194 if test -n "$aros_target_objdump_ln"; then
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
9196 $as_echo "$aros_target_objdump_ln" >&6; }
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 $as_echo "no" >&6; }
9205 if test "$aros_target_objdump_ln" = ""; then
9206 as_fn_error $?
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
9209 if test "$aros_target_ranlib" = ""; then
9210 if test "$cross_compiling" = "yes" ; then
9211 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
9212 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
9213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9214 $as_echo_n "checking for $ac_word... " >&6; }
9215 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9216 $as_echo_n "(cached) " >&6
9218 case $aros_target_ranlib_ln in
9220 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9227 test -z "$as_dir" && as_dir
=.
9228 for ac_exec_ext
in '' $ac_executable_extensions; do
9229 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9230 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9241 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9242 if test -n "$aros_target_ranlib_ln"; then
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9244 $as_echo "$aros_target_ranlib_ln" >&6; }
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9247 $as_echo "no" >&6; }
9252 if test "$GCC" = "yes"; then
9253 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
9254 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
9255 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9257 $as_echo_n "checking for $ac_word... " >&6; }
9258 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9259 $as_echo_n "(cached) " >&6
9261 case $aros_target_ranlib_ln in
9263 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9267 for as_dir
in `dirname $aros_gcc_ranlib`
9270 test -z "$as_dir" && as_dir
=.
9271 for ac_exec_ext
in '' $ac_executable_extensions; do
9272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9273 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9284 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9285 if test -n "$aros_target_ranlib_ln"; then
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9287 $as_echo "$aros_target_ranlib_ln" >&6; }
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9290 $as_echo "no" >&6; }
9295 if test "$aros_target_ranlib_ln" = ""; then
9296 # Extract the first word of "ranlib", so it can be a program name with args.
9297 set dummy ranlib
; ac_word
=$2
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9299 $as_echo_n "checking for $ac_word... " >&6; }
9300 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9301 $as_echo_n "(cached) " >&6
9303 case $aros_target_ranlib_ln in
9305 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9312 test -z "$as_dir" && as_dir
=.
9313 for ac_exec_ext
in '' $ac_executable_extensions; do
9314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9315 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9316 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9326 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9327 if test -n "$aros_target_ranlib_ln"; then
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9329 $as_echo "$aros_target_ranlib_ln" >&6; }
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9332 $as_echo "no" >&6; }
9339 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9340 set dummy
$aros_target_ranlib; ac_word
=$2
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9342 $as_echo_n "checking for $ac_word... " >&6; }
9343 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9344 $as_echo_n "(cached) " >&6
9346 case $aros_target_ranlib_ln in
9348 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9351 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9355 test -z "$as_dir" && as_dir
=.
9356 for ac_exec_ext
in '' $ac_executable_extensions; do
9357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9358 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9369 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9370 if test -n "$aros_target_ranlib_ln"; then
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9372 $as_echo "$aros_target_ranlib_ln" >&6; }
9374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9375 $as_echo "no" >&6; }
9381 if test "$aros_target_ranlib_ln" = ""; then
9382 as_fn_error $?
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9385 if test "$aros_target_strip" = ""; then
9386 if test "$cross_compiling" = "yes" ; then
9387 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9388 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9390 $as_echo_n "checking for $ac_word... " >&6; }
9391 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9392 $as_echo_n "(cached) " >&6
9394 case $aros_target_strip_ln in
9396 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9403 test -z "$as_dir" && as_dir
=.
9404 for ac_exec_ext
in '' $ac_executable_extensions; do
9405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9406 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9417 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9418 if test -n "$aros_target_strip_ln"; then
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9420 $as_echo "$aros_target_strip_ln" >&6; }
9422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9423 $as_echo "no" >&6; }
9428 if test "$GCC" = "yes"; then
9429 aros_gcc_strip
=`$CC -print-prog-name=strip`
9430 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9431 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9433 $as_echo_n "checking for $ac_word... " >&6; }
9434 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9435 $as_echo_n "(cached) " >&6
9437 case $aros_target_strip_ln in
9439 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9443 for as_dir
in `dirname $aros_gcc_strip`
9446 test -z "$as_dir" && as_dir
=.
9447 for ac_exec_ext
in '' $ac_executable_extensions; do
9448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9449 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9460 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9461 if test -n "$aros_target_strip_ln"; then
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9463 $as_echo "$aros_target_strip_ln" >&6; }
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9466 $as_echo "no" >&6; }
9471 if test "$aros_target_strip_ln" = ""; then
9472 # Extract the first word of "strip", so it can be a program name with args.
9473 set dummy strip
; ac_word
=$2
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9475 $as_echo_n "checking for $ac_word... " >&6; }
9476 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9477 $as_echo_n "(cached) " >&6
9479 case $aros_target_strip_ln in
9481 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9488 test -z "$as_dir" && as_dir
=.
9489 for ac_exec_ext
in '' $ac_executable_extensions; do
9490 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9491 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9492 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9502 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9503 if test -n "$aros_target_strip_ln"; then
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9505 $as_echo "$aros_target_strip_ln" >&6; }
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9508 $as_echo "no" >&6; }
9515 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9516 set dummy
$aros_target_strip; ac_word
=$2
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9518 $as_echo_n "checking for $ac_word... " >&6; }
9519 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9520 $as_echo_n "(cached) " >&6
9522 case $aros_target_strip_ln in
9524 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9527 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9531 test -z "$as_dir" && as_dir
=.
9532 for ac_exec_ext
in '' $ac_executable_extensions; do
9533 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9534 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9535 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9545 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9546 if test -n "$aros_target_strip_ln"; then
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9548 $as_echo "$aros_target_strip_ln" >&6; }
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9551 $as_echo "no" >&6; }
9557 if test "$aros_target_strip_ln" = ""; then
9558 as_fn_error $?
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9560 if test "$aros_target_cxx" != ""; then
9561 # Extract the first word of "$aros_target_cxx", so it can be a program name with args.
9562 set dummy
$aros_target_cxx; ac_word
=$2
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9564 $as_echo_n "checking for $ac_word... " >&6; }
9565 if test "${ac_cv_path_aros_target_cxx+set}" = set; then :
9566 $as_echo_n "(cached) " >&6
9568 case $aros_target_cxx in
9570 ac_cv_path_aros_target_cxx
="$aros_target_cxx" # Let the user override the test with a path.
9573 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9577 test -z "$as_dir" && as_dir
=.
9578 for ac_exec_ext
in '' $ac_executable_extensions; do
9579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9580 ac_cv_path_aros_target_cxx
="$as_dir/$ac_word$ac_exec_ext"
9581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9591 aros_target_cxx
=$ac_cv_path_aros_target_cxx
9592 if test -n "$aros_target_cxx"; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cxx" >&5
9594 $as_echo "$aros_target_cxx" >&6; }
9596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9597 $as_echo "no" >&6; }
9601 # Temporarily disabled in order to let Mingw32-hosted nightly build to work
9602 # AROS_REQUIRED(c++,$aros_target_cxx)
9605 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
9609 # Build crosstools if we have no C++ - temporary thing
9610 if test "$aros_target_cxx" = ""; then
9611 crosstools_target
=tools-crosstools
9614 if test "$rescomp" != ""; then
9615 if test "$cross_compiling" = "yes" ; then
9616 rescomp
=${target_tool_prefix}${rescomp}
9618 # Extract the first word of "$rescomp", so it can be a program name with args.
9619 set dummy
$rescomp; ac_word
=$2
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9621 $as_echo_n "checking for $ac_word... " >&6; }
9622 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
9623 $as_echo_n "(cached) " >&6
9625 case $aros_kernel_rescomp in
9627 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9634 test -z "$as_dir" && as_dir
=.
9635 for ac_exec_ext
in '' $ac_executable_extensions; do
9636 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9637 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9648 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9649 if test -n "$aros_kernel_rescomp"; then
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
9651 $as_echo "$aros_kernel_rescomp" >&6; }
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9654 $as_echo "no" >&6; }
9658 if test "$aros_kernel_rescomp" = ""; then
9659 as_fn_error $?
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
9663 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9664 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9665 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9666 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9667 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9668 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9669 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9671 # aros_cc_pre is a variable that is added to the front of the compiler name
9672 # in the generated aros-gcc shell script. We need this to enable the cache
9673 # to work across cleaned builds. Also, support DISTCC using the correct
9674 # environment variable.
9677 if test "x${DISTCC}" != "x" ; then
9678 if test "x${CCACHE}" != "x" ; then
9679 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9681 aros_cc_pre
="${DISTCC} "
9684 if test "x${CCACHE}" != "x" ; then
9685 aros_cc_pre
="${CCACHE} "
9689 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9691 aros_target_nostdinc_cflags
=-nostdinc
9693 aros_target_nostartup_ldflags
=-nostartfiles
9695 aros_target_nix_ldflags
=-nix
9697 aros_target_detach_ldflags
=-detach
9699 aros_target_nostdlib_ldflags
=-nostdlib
9703 if test "$aros_target_cc" = ""; then
9704 orig_target_cc
=$aros_kernel_cc
9706 orig_target_cc
=$aros_target_cc
9708 if test "$aros_target_ld" = ""; then
9709 orig_target_ld
=$aros_kernel_ld
9711 orig_target_ld
=$aros_target_ld
9713 if test "$GCC" = "yes"; then
9714 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9716 aros_target_cc
="${prefix}-gcc"
9717 aros_target_as
="${prefix}-as"
9718 aros_target_ld
="${prefix}-ld"
9719 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9720 aros_target_objcopy
=${prefix}-objcopy
9721 aros_target_objdump
=${prefix}-objdump
9722 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9723 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9724 aros_kernel_nm
="${prefix}-nm"
9725 aros_target_strip
=${prefix}-strip
9727 # Find the system include path. We can suggest that an alternative is
9728 # used if we don't get it correct. The default is to use /usr/include.
9729 # Which is set in the aros_target_incl_def variable.
9731 # Check whether --enable-includes was given.
9732 if test "${enable_includes+set}" = set; then :
9733 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9735 aros_target_incl
=$aros_target_incl_def
9739 if test "$aros_kernel_includes" = ""; then
9740 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9741 # FIXME: for cross-compiling this should point to another location
9742 aros_kernel_includes
="-isystem $aros_target_incl"
9746 if test "$aros_kernel_includes" != "" ; then
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the kernel compiler's include path" >&5
9748 $as_echo_n "checking for the kernel compiler's include path... " >&6; }
9749 if test "$aros_kernel_cc_includes" = "" ; then
9750 # Try to guess where the directory is.
9751 aros_kernel_cc_includes
=`dirname \`${aros_kernel_cc} ${aros_kernel_cflags} -print-libgcc-file-name\
``/include
9752 if test -d $aros_kernel_cc_includes; then
9753 # Check if there is also an include-fixed directory and add it
9754 # to kernel compiler's include path as it may contain some of
9755 # the headers we need.
9756 if test -d "$aros_kernel_cc_includes"-fixed; then
9757 aros_kernel_cc_includes
+=" -isystem $aros_kernel_cc_includes"-fixed
9760 # The directory doesn't exist, we need to do some more work.
9761 aros_kernel_cc_includes
=${PWD}/${aros_gendir}/cc_include
9763 # These are the headers we're looking for.
9764 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9765 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9769 for h
in $headers; do
9770 # Which other headers are needed by each of the above?
9771 deps
=$
(echo "#include <$h>" | \
9772 $aros_kernel_cc -E -M - 2>/dev
/null | \
9773 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9775 # Copy all the needed headers to a directory beneath gendir.
9778 dir
=${aros_kernel_cc_includes}$
(echo $
(dirname $d) | \
9779 sed -n "s,^.*/include\(/.*\),\1,p")
9780 ! test -d $dir && mkdir
-p $dir
9781 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_cc_includes" >&5
9787 $as_echo "$aros_kernel_cc_includes" >&6; }
9788 # Adding -nostdinc to kernel includes as they are always used together.
9789 aros_kernel_includes
="$aros_kernel_includes $aros_target_nostdinc_cflags -isystem $aros_kernel_cc_includes"
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9793 $as_echo_n "checking for the target compiler's include path... " >&6; }
9794 if test "$aros_target_cc_includes" = "" ; then
9795 #try to guess where the directory is
9796 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9797 if ! test -d $aros_target_cc_includes; then
9798 #the directory doesn't exist, we need to do some more work
9799 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9801 #these are the headers we're looling for
9802 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9803 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9807 for h
in $headers; do
9808 #which other headers each of the above headers needs?
9809 deps
=$
(echo "#include <$h>" | \
9810 $orig_target_cc -E -M - 2>/dev
/null | \
9811 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9813 #copy all the needed headers to a directory beneath gendir
9816 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9817 sed -n "s,^.*/include\(/.*\),\1,p")
9818 ! test -d $dir && mkdir
-p $dir
9819 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9825 $as_echo "$aros_target_cc_includes" >&6; }
9828 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9829 # On GCC >= 4.0 -iquote should be used
9833 save_cflags
="$CFLAGS"
9835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9836 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9848 if ac_fn_c_try_compile
"$LINENO"; then :
9853 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9855 $as_echo "$has_iquote" >&6; }
9856 if test "x-$has_iquote" = "x-yes" ; then
9857 host_cflags_iquote
=-iquote
9858 host_cflags_iquote_end
=
9860 host_cflags_iquote
=-I
9861 host_cflags_iquote_end
=-I-
9863 kernel_cflags_iquote
=$host_cflags_iquote
9864 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9865 if test "x-$cross_compiling" = "x-yes"; then
9866 CC
="$aros_kernel_cc"
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9868 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9880 if ac_fn_c_try_compile
"$LINENO"; then :
9881 use_no_stack_protector
="yes"
9883 use_no_stack_protector
="no"
9885 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9887 $as_echo "$use_no_stack_protector" >&6; }
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9889 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9891 /* end confdefs.h. */
9901 if ac_fn_c_try_compile
"$LINENO"; then :
9906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9908 $as_echo "$has_iquote" >&6; }
9909 if test "x-$has_iquote" = "x-yes" ; then
9910 kernel_cflags_iquote
=-iquote
9911 kernel_cflags_iquote_end
=
9913 kernel_cflags_iquote
=-I
9914 kernel_cflags_iquote_end
=-I-
9917 aros_cflags_iquote
=$kernel_cflags_iquote
9918 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9919 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9920 CC
="$orig_target_cc"
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9922 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9934 if ac_fn_c_try_compile
"$LINENO"; then :
9939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9941 $as_echo "$has_iquote" >&6; }
9942 if test "x-$has_iquote" = "x-yes" ; then
9943 aros_cflags_iquote
=-iquote
9944 aros_cflags_iquote_end
=
9946 aros_cflags_iquote
=-I
9947 aros_cflags_iquote_end
=-I-
9950 if test "x-$use_no_stack_protector" = "x-yes" ; then
9951 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9954 #-----------------------------------------------------------------------------
9956 # Check if we can explicitly choose older version of symbol hashing
9958 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9959 CC
="$aros_kernel_cc"
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9961 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9973 if ac_fn_c_try_link
"$LINENO"; then :
9974 use_hash_style
="yes"
9978 rm -f core conftest.err conftest.
$ac_objext \
9979 conftest
$ac_exeext conftest.
$ac_ext
9980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9981 $as_echo "$use_hash_style" >&6; }
9982 if test "x-$use_hash_style" = "x-yes" ; then
9983 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9986 CFLAGS
="$save_cflags"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9997 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9999 # Check whether --with-resolution was given.
10000 if test "${with_resolution+set}" = set; then :
10001 withval
=$with_resolution; resolution
=$withval
10006 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
10007 if test "$resolution" = "yes" ; then
10010 if test "$resolution" = "no" ; then
10013 if test "$resolution" != "none" ; then
10014 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
10015 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
10016 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
10018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
10019 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
10020 aros_cv_default_wbwidth
=$aros_default_wbwidth
10021 aros_cv_default_wbheight
=$aros_default_wbheight
10022 aros_cv_default_wbdepth
=$aros_default_wbdepth
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
10025 $as_echo_n "checking if serial debug is enabled... " >&6; }
10027 # Check whether --with-serial-debug was given.
10028 if test "${with_serial_debug+set}" = set; then :
10029 withval
=$with_serial_debug; serial_debug
=$withval
10034 if test "$aros_serial_debug" = 0 ; then
10035 serial_debug_forced
=""
10036 if test "$serial_debug" = "yes" ; then
10039 if test "$serial_debug" = "no" ; then
10040 serial_debug
="none"
10043 serial_debug_forced
="(forced)"
10044 serial_debug
=$aros_serial_debug
10046 if test "$serial_debug" != "none" ; then
10047 aros_serial_debug
=$serial_debug
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
10049 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10052 $as_echo "no" >&6; }
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
10056 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
10057 # Check whether --enable-palm_debug_hack was given.
10058 if test "${enable_palm_debug_hack+set}" = set; then :
10059 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
10061 palm_debug_hack
="no"
10064 if test "$palm_debug_hack" = "yes" ; then
10065 aros_palm_debug_hack
="1"
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
10068 $as_echo "$palm_debug_hack" >&6; }
10071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
10072 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
10073 # Check whether --enable-nesting_supervisor was given.
10074 if test "${enable_nesting_supervisor+set}" = set; then :
10075 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
10077 nesting_supervisor
="no"
10080 if test "$nesting_supervisor" = "yes" ; then
10081 aros_nesting_supervisor
="1"
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
10084 $as_echo "$nesting_supervisor" >&6; }
10086 if test "$aros_enable_mmu" = "" ; then
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if MMU support is enabled" >&5
10088 $as_echo_n "checking if MMU support is enabled... " >&6; }
10089 # Check whether --enable-mmu was given.
10090 if test "${enable_mmu+set}" = set; then :
10091 enableval
=$enable_mmu; aros_enable_mmu
=$enableval
10093 aros_enable_mmu
="yes"
10096 if test "$aros_enable_mmu" = "" ; then
10097 aros_enable_mmu
="yes"
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_enable_mmu" >&5
10100 $as_echo "$aros_enable_mmu" >&6; }
10102 if test "$aros_enable_mmu" = "no" ; then
10103 aros_enable_mmu
="0"
10105 aros_enable_mmu
="1"
10109 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
10111 if test "x-$need_dlopen" != "x-no" ; then
10112 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
10113 if test "x$ac_cv_func_dlopen" = x
""yes; then :
10119 if test "x-$have_dl" = "x-no" ; then
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10121 $as_echo_n "checking for dlopen in -ldl... " >&6; }
10122 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
10123 $as_echo_n "(cached) " >&6
10125 ac_check_lib_save_LIBS
=$LIBS
10127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10128 /* end confdefs.h. */
10130 /* Override any GCC internal prototype to avoid an error.
10131 Use char because int might match the return type of a GCC
10132 builtin and then its argument prototype would still apply. */
10145 if ac_fn_c_try_link
"$LINENO"; then :
10146 ac_cv_lib_dl_dlopen
=yes
10148 ac_cv_lib_dl_dlopen
=no
10150 rm -f core conftest.err conftest.
$ac_objext \
10151 conftest
$ac_exeext conftest.
$ac_ext
10152 LIBS
=$ac_check_lib_save_LIBS
10154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10155 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10156 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
10158 aros_host_ldflags
="$aros_host_ldflags -ldl"
10164 if test "x-$have_dl" = "x-no" ; then
10165 as_fn_error $?
"dlopen() dynamic linker functions not available" "$LINENO" 5
10170 # Check whether --enable-x11_hidd was given.
10171 if test "${enable_x11_hidd+set}" = set; then :
10172 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
10174 x11_hidd
="$need_x11"
10177 case "x-$x11_hidd" in
10178 x-yes|x-no|x-auto
) ;;
10179 *) x11_hidd
="$need_x11" ;;
10184 if test "x-$x11_hidd" != "x-no" ; then
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10187 $as_echo_n "checking for X... " >&6; }
10190 # Check whether --with-x was given.
10191 if test "${with_x+set}" = set; then :
10195 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10196 if test "x$with_x" = xno
; then
10197 # The user explicitly disabled X.
10200 case $x_includes,$x_libraries in #(
10201 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
10202 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
10203 $as_echo_n "(cached) " >&6
10205 # One or both of the vars are not set, and there is no cached value.
10206 ac_x_includes
=no ac_x_libraries
=no
10207 rm -f -r conftest.dir
10208 if mkdir conftest.dir
; then
10210 cat >Imakefile
<<'_ACEOF'
10212 @echo incroot='${INCROOT}'
10214 @echo usrlibdir='${USRLIBDIR}'
10216 @echo libdir='${LIBDIR}'
10218 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
10219 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10220 for ac_var
in incroot usrlibdir libdir
; do
10221 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10223 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10224 for ac_extension
in a so sl dylib la dll
; do
10225 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10226 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10227 ac_im_usrlibdir
=$ac_im_libdir; break
10230 # Screen out bogus values from the imake configuration. They are
10231 # bogus both because they are the default anyway, and because
10232 # using them would break gcc on systems where it needs fixed includes.
10233 case $ac_im_incroot in
10234 /usr
/include
) ac_x_includes
= ;;
10235 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
10237 case $ac_im_usrlibdir in
10238 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
10239 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
10243 rm -f -r conftest.dir
10246 # Standard set of common directories for X headers.
10247 # Check X11 before X11Rn because it is often a symlink to the current release.
10261 /usr/local/X11/include
10262 /usr/local/X11R7/include
10263 /usr/local/X11R6/include
10264 /usr/local/X11R5/include
10265 /usr/local/X11R4/include
10267 /usr/local/include/X11
10268 /usr/local/include/X11R7
10269 /usr/local/include/X11R6
10270 /usr/local/include/X11R5
10271 /usr/local/include/X11R4
10275 /usr/XFree86/include/X11
10279 /usr/unsupported/include
10280 /usr/athena/include
10281 /usr/local/x11r5/include
10282 /usr/lpp/Xamples/include
10284 /usr/openwin/include
10285 /usr/openwin/share/include'
10287 if test "$ac_x_includes" = no
; then
10288 # Guess where to find include files, by looking for Xlib.h.
10289 # First, try using that file with no special directory specified.
10290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10291 /* end confdefs.h. */
10292 #include <X11/Xlib.h>
10294 if ac_fn_c_try_cpp
"$LINENO"; then :
10295 # We can compile using X headers with no special include directory.
10298 for ac_dir
in $ac_x_header_dirs; do
10299 if test -r "$ac_dir/X11/Xlib.h"; then
10300 ac_x_includes
=$ac_dir
10305 rm -f conftest.err conftest.i conftest.
$ac_ext
10306 fi # $ac_x_includes = no
10308 if test "$ac_x_libraries" = no
; then
10309 # Check for the libraries.
10310 # See if we find them without any special options.
10311 # Don't add to $LIBS permanently.
10314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10315 /* end confdefs.h. */
10316 #include <X11/Xlib.h>
10325 if ac_fn_c_try_link
"$LINENO"; then :
10327 # We can link X programs with no special library path.
10331 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10333 # Don't even attempt the hair of trying to link an X program!
10334 for ac_extension
in a so sl dylib la dll
; do
10335 if test -r "$ac_dir/libX11.$ac_extension"; then
10336 ac_x_libraries
=$ac_dir
10342 rm -f core conftest.err conftest.
$ac_objext \
10343 conftest
$ac_exeext conftest.
$ac_ext
10344 fi # $ac_x_libraries = no
10346 case $ac_x_includes,$ac_x_libraries in #(
10347 no
,* |
*,no |
*\'*)
10348 # Didn't find X, or a directory has "'" in its name.
10349 ac_cv_have_x
="have_x=no";; #(
10351 # Record where we found X for the cache.
10352 ac_cv_have_x
="have_x=yes\
10353 ac_x_includes='$ac_x_includes'\
10354 ac_x_libraries='$ac_x_libraries'"
10360 eval "$ac_cv_have_x"
10363 if test "$have_x" != yes; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10365 $as_echo "$have_x" >&6; }
10368 # If each of the values was on the command line, it overrides each guess.
10369 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
10370 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
10371 # Update the cache value to reflect the command line values.
10372 ac_cv_have_x
="have_x=yes\
10373 ac_x_includes='$x_includes'\
10374 ac_x_libraries='$x_libraries'"
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10376 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10381 for path
in $x_libraries
10383 x_cflags
="$x_cflags -L$path"
10386 for path
in $x_includes
10388 x_cflags
="$x_cflags -I$path"
10391 if test "x-$no_x" = "x-yes" ; then
10393 if test "x-$x11_hidd" != "x-auto" ; then
10394 as_fn_error $?
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
10398 x11_hidd_target
=kernel-x11gfx-kobj
10401 # Check whether --enable-x11_shm was given.
10402 if test "${enable_x11_shm+set}" = set; then :
10403 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10405 x11_hidd_shm
="auto"
10408 case "x-$x11_hidd_shm" in
10409 x-yes|x-no|x-auto
) ;;
10410 *) x11_hidd_shm
="auto" ;;
10415 if test "x-$x11_hidd_shm" != "x-no" ; then
10417 for ac_header
in sys
/ipc.h
10419 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10420 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
10421 cat >>confdefs.h
<<_ACEOF
10422 #define HAVE_SYS_IPC_H 1
10429 for ac_header
in sys
/shm.h
10431 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10432 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
10433 cat >>confdefs.h
<<_ACEOF
10434 #define HAVE_SYS_SHM_H 1
10442 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10444 save_cflags
="$CFLAGS"
10445 CFLAGS
="$CFLAGS $x_cflags"
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10447 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10448 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
10449 $as_echo_n "(cached) " >&6
10451 ac_check_lib_save_LIBS
=$LIBS
10452 LIBS
="-lXext $LIBS"
10453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10454 /* end confdefs.h. */
10456 /* Override any GCC internal prototype to avoid an error.
10457 Use char because int might match the return type of a GCC
10458 builtin and then its argument prototype would still apply. */
10462 char XShmQueryExtension ();
10466 return XShmQueryExtension ();
10471 if ac_fn_c_try_link
"$LINENO"; then :
10472 ac_cv_lib_Xext_XShmQueryExtension
=yes
10474 ac_cv_lib_Xext_XShmQueryExtension
=no
10476 rm -f core conftest.err conftest.
$ac_objext \
10477 conftest
$ac_exeext conftest.
$ac_ext
10478 LIBS
=$ac_check_lib_save_LIBS
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10481 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10482 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
10486 CFLAGS
="$save_cflags"
10490 if test "x-$have_xshm" = "x-yes" ; then
10491 DO_XSHM_SUPPORT
="1"
10492 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10493 as_fn_error $?
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10495 DO_XSHM_SUPPORT
="0"
10499 # Check whether --enable-x11_vidmode was given.
10500 if test "${enable_x11_vidmode+set}" = set; then :
10501 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10503 x11_hidd_vidmode
="auto"
10506 case "x-$x11_hidd_vidmode" in
10507 x-yes|x-no|x-auto
) ;;
10508 *) x11_hidd_vidmode
="auto" ;;
10513 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10515 save_cflags
="$CFLAGS"
10516 CFLAGS
="$CFLAGS $x_cflags"
10517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10518 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
10519 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
10520 $as_echo_n "(cached) " >&6
10522 ac_check_lib_save_LIBS
=$LIBS
10523 LIBS
="-lXxf86vm $LIBS"
10524 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10525 /* end confdefs.h. */
10527 /* Override any GCC internal prototype to avoid an error.
10528 Use char because int might match the return type of a GCC
10529 builtin and then its argument prototype would still apply. */
10533 char XF86VidModeQueryExtension ();
10537 return XF86VidModeQueryExtension ();
10542 if ac_fn_c_try_link
"$LINENO"; then :
10543 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10545 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10547 rm -f core conftest.err conftest.
$ac_objext \
10548 conftest
$ac_exeext conftest.
$ac_ext
10549 LIBS
=$ac_check_lib_save_LIBS
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10552 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10553 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
10557 CFLAGS
="$save_cflags"
10560 if test "x-$have_vidmode" = "x-yes" ; then
10561 DO_VIDMODE_SUPPORT
="1"
10562 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10563 as_fn_error $?
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
10565 DO_VIDMODE_SUPPORT
="0"
10569 aros_host_x11_includes
=$x_includes
10570 aros_host_x11_libdirs
=$x_libraries
10574 # Check whether --enable-sdl_hidd was given.
10575 if test "${enable_sdl_hidd+set}" = set; then :
10576 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10581 case "x-$sdl_hidd" in
10582 x-yes|x-no|x-auto
) ;;
10583 *) sdl_hidd
="auto" ;;
10586 if test "x-$sdl_hidd" != "x-no" ; then
10589 # Check whether --with-sdl-prefix was given.
10590 if test "${with_sdl_prefix+set}" = set; then :
10591 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10597 # Check whether --with-sdl-exec-prefix was given.
10598 if test "${with_sdl_exec_prefix+set}" = set; then :
10599 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10604 # Check whether --enable-sdltest was given.
10605 if test "${enable_sdltest+set}" = set; then :
10606 enableval
=$enable_sdltest;
10612 if test x
$sdl_exec_prefix != x
; then
10613 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10614 if test x
${SDL_CONFIG+set} != xset
; then
10615 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10618 if test x
$sdl_prefix != x
; then
10619 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10620 if test x
${SDL_CONFIG+set} != xset
; then
10621 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10625 if test "x$prefix" != xNONE
; then
10626 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10628 # Extract the first word of "sdl-config", so it can be a program name with args.
10629 set dummy sdl-config
; ac_word
=$2
10630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10631 $as_echo_n "checking for $ac_word... " >&6; }
10632 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
10633 $as_echo_n "(cached) " >&6
10635 case $SDL_CONFIG in
10637 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10641 for as_dir
in $PATH
10644 test -z "$as_dir" && as_dir
=.
10645 for ac_exec_ext
in '' $ac_executable_extensions; do
10646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10647 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10655 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10659 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10660 if test -n "$SDL_CONFIG"; then
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
10662 $as_echo "$SDL_CONFIG" >&6; }
10664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10665 $as_echo "no" >&6; }
10669 min_sdl_version
=1.2.10
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10671 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10673 if test "$SDL_CONFIG" = "no" ; then
10676 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10677 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10679 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10681 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10682 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10683 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10684 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10685 if test "x$enable_sdltest" = "xyes" ; then
10686 ac_save_CFLAGS
="$CFLAGS"
10687 ac_save_CXXFLAGS
="$CXXFLAGS"
10688 ac_save_LIBS
="$LIBS"
10689 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10690 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10691 LIBS
="$LIBS $SDL_LIBS"
10693 if test "$cross_compiling" = yes; then :
10694 echo $ac_n "cross compiling; assumed OK... $ac_c"
10696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10697 /* end confdefs.h. */
10700 #include <stdlib.h>
10701 #include <string.h>
10705 my_strdup (char *str)
10711 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10712 strcpy (new_str, str);
10720 int main (int argc, char *argv[])
10722 int major, minor, micro;
10725 /* This hangs on some systems (?)
10726 system ("touch conf.sdltest");
10728 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10730 /* HP/UX 9 (%@#!) writes to sscanf strings */
10731 tmp_version = my_strdup("$min_sdl_version");
10732 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10733 printf("%s, bad version string\n", "$min_sdl_version");
10737 if (($sdl_major_version > major) ||
10738 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10739 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10745 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10746 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10747 printf("*** best to upgrade to the required version.\n");
10748 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10749 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10750 printf("*** config.cache before re-running configure\n");
10757 if ac_fn_c_try_run
"$LINENO"; then :
10762 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10763 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10766 CFLAGS
="$ac_save_CFLAGS"
10767 CXXFLAGS
="$ac_save_CXXFLAGS"
10768 LIBS
="$ac_save_LIBS"
10771 if test "x$no_sdl" = x
; then
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10773 $as_echo "yes" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10777 $as_echo "no" >&6; }
10778 if test "$SDL_CONFIG" = "no" ; then
10779 echo "*** The sdl-config script installed by SDL could not be found"
10780 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10781 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10782 echo "*** full path to sdl-config."
10784 if test -f conf.sdltest
; then
10787 echo "*** Could not run SDL test program, checking why..."
10788 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10789 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10790 LIBS
="$LIBS $SDL_LIBS"
10791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10797 int main(int argc, char *argv[])
10800 #define main K_and_R_C_main
10810 if ac_fn_c_try_link
"$LINENO"; then :
10811 echo "*** The test program compiled, but did not run. This usually means"
10812 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10813 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10814 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10815 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10816 echo "*** is required on your system"
10818 echo "*** If you have an old version installed, it is best to remove it, although"
10819 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10821 echo "*** The test program failed to compile or link. See the file config.log for the"
10822 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10823 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10824 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10826 rm -f core conftest.err conftest.
$ac_objext \
10827 conftest
$ac_exeext conftest.
$ac_ext
10828 CFLAGS
="$ac_save_CFLAGS"
10829 CXXFLAGS
="$ac_save_CXXFLAGS"
10830 LIBS
="$ac_save_LIBS"
10842 if test "x-$have_sdl" != "x-yes" ; then
10844 if test "x-$sdl_hidd" != "x-auto" ; then
10845 as_fn_error $?
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10849 sdl_hidd_target
=kernel-hidd-sdl
10850 aros_host_sdl_cflags
=SDL_CFLAGS
10851 aros_host_sdl_libs
=SDL_LIBS
10855 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10856 if test "x$ac_cv_header_sys_soundcard_h" = x
""yes; then :
10861 if test "x-$ac_cv_header_sys_soundcard_h" = "x-yes" ; then
10862 oss_library_target
=workbench-libs-oss-unix
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10868 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10869 # Check whether --enable-dbus was given.
10870 if test "${enable_dbus+set}" = set; then :
10871 enableval
=$enable_dbus; dbus
="yes"
10876 if test "$dbus" = "yes" ; then
10878 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10879 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10880 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10881 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10886 $as_echo "$dbus" >&6; }
10996 # Native version related
10999 # Palm native version related
11002 # Unix/Hosted version related
11008 # Apple iOS related
11033 # Collect-aros stuff: "-ius" to ignore undefined symbols
11036 # C compiler related
11039 case "$aros_flavour" in
11040 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
11041 aros_flavour
="emulation" ;;
11042 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
11043 aros_flavour
="emulation" ;;
11044 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
11045 aros_flavour
="standalone";;
11046 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11047 aros_flavour
="standalone";;
11048 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
11049 aros_flavour
="native" ;;
11050 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
11051 aros_flavour
="native" ;;
11052 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
11053 aros_flavour
="linklib" ;;
11054 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11055 aros_flavour
="palmnative" ;;
11056 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
11057 aros_flavour
="mac68knative" ;;
11058 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
11059 aros_flavour
="ppcnative" ;;
11062 if test ! -d ${aros_inc_dir} ; then
11063 ${MKDIR} ${aros_inc_dir}
11065 if test ! -d ${aros_geninc_dir} ; then
11066 ${MKDIR} ${aros_geninc_dir}
11068 if test ! -d ${aros_hostcfg_dir} ; then
11069 ${MKDIR} ${aros_hostcfg_dir}
11071 if test ! -d ${aros_targetcfg_dir} ; then
11072 ${MKDIR} ${aros_targetcfg_dir}
11074 if test ! -d ${aros_tools_dir} ; then
11075 ${MKDIR} ${aros_tools_dir}
11077 if test ! -d ${aros_scripts_dir} ; then
11078 ${MKDIR} ${aros_scripts_dir}
11081 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
11084 ac_config_commands
="$ac_config_commands compiler_executable"
11086 ac_config_commands
="$ac_config_commands genshared_executable"
11088 ac_config_commands
="$ac_config_commands genmf_executable"
11091 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"
11094 cat >confcache
<<\_ACEOF
11095 # This file is a shell script that caches the results of configure
11096 # tests run on this system so they can be shared between configure
11097 # scripts and configure runs, see configure's option --config-cache.
11098 # It is not useful on other systems. If it contains results you don't
11099 # want to keep, you may remove or edit it.
11101 # config.status only pays attention to the cache file if you give it
11102 # the --recheck option to rerun configure.
11104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11106 # following values.
11110 # The following way of writing the cache mishandles newlines in values,
11111 # but we know of no workaround that is simple, portable, and efficient.
11112 # So, we kill variables containing newlines.
11113 # Ultrix sh set writes to stderr and can't be redirected directly,
11114 # and sets the high bit in the cache file unless we assign to the vars.
11116 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
11117 eval ac_val
=\$
$ac_var
11121 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
11122 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
11125 _ | IFS | as_nl
) ;; #(
11126 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
11127 *) { eval $ac_var=; unset $ac_var;} ;;
11133 case $as_nl`(ac_space=' '; set) 2>&1` in #(
11134 *${as_nl}ac_space
=\
*)
11135 # `set' does not quote correctly, so add quotes: double-quote
11136 # substitution turns \\\\ into \\, and sed turns \\ into \.
11139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11142 # `set' quotes correctly as required by POSIX, so do not add quotes.
11143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
11152 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11154 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11156 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
11157 if test -w "$cache_file"; then
11158 test "x$cache_file" != "x/dev/null" &&
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
11160 $as_echo "$as_me: updating cache $cache_file" >&6;}
11161 cat confcache
>$cache_file
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
11164 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
11169 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11170 # Let make expand exec_prefix.
11171 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11173 DEFS
=-DHAVE_CONFIG_H
11178 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
11179 # 1. Remove the extension, and $U if already installed.
11180 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
11181 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
11182 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
11183 # will be set to the directory where LIBOBJS objects are built.
11184 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
11185 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
11187 LIBOBJS
=$ac_libobjs
11189 LTLIBOBJS
=$ac_ltlibobjs
11193 : ${CONFIG_STATUS=./config.status}
11195 ac_clean_files_save
=$ac_clean_files
11196 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
11198 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
11200 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
11202 # Generated by $as_me.
11203 # Run this file to recreate the current configuration.
11204 # Compiler output produced by configure, useful for debugging
11205 # configure, is in config.log if it exists.
11208 ac_cs_recheck=false
11211 SHELL=\${CONFIG_SHELL-$SHELL}
11214 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
11215 ## -------------------- ##
11216 ## M4sh Initialization. ##
11217 ## -------------------- ##
11219 # Be more Bourne compatible
11220 DUALCASE
=1; export DUALCASE
# for MKS sh
11221 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
11224 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
11225 # is contrary to our usage. Disable this feature.
11226 alias -g '${1+"$@"}'='"$@"'
11227 setopt NO_GLOB_SUBST
11229 case `(set -o) 2>/dev/null` in #(
11241 # Printing a long string crashes Solaris 7 /usr/bin/printf.
11242 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
11243 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
11244 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
11245 # Prefer a ksh shell builtin over an external printf program on Solaris,
11246 # but without wasting forks for bash or zsh.
11247 if test -z "$BASH_VERSION$ZSH_VERSION" \
11248 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
11249 as_echo='print
-r --'
11250 as_echo_n='print
-rn --'
11251 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
11252 as_echo='printf %s
\n'
11253 as_echo_n='printf %s
'
11255 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
11256 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
11257 as_echo_n='/usr
/ucb
/echo -n'
11259 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
11260 as_echo_n_body='eval
11264 expr "X$arg" : "X\\(.*\\)$as_nl";
11265 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
11267 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
11269 export as_echo_n_body
11270 as_echo_n='sh
-c $as_echo_n_body as_echo
'
11272 export as_echo_body
11273 as_echo='sh
-c $as_echo_body as_echo
'
11276 # The user is always right.
11277 if test "${PATH_SEPARATOR+set}" != set; then
11279 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
11280 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
11287 # We need space, tab and new line, in precisely that order. Quoting is
11288 # there to prevent editors from complaining about space-tab.
11289 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
11290 # splitting by setting IFS to empty value.)
11293 # Find who we are. Look in the path if we contain no directory separator.
11295 *[\\/]* ) as_myself=$0 ;;
11296 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11297 for as_dir in $PATH
11300 test -z "$as_dir" && as_dir=.
11301 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11307 # We did not find ourselves, most probably we were run as `sh COMMAND'
11308 # in which case we are not to be found in the path.
11309 if test "x$as_myself" = x
; then
11312 if test ! -f "$as_myself"; then
11313 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
11317 # Unset variables that we do not need and which cause bugs (e.g. in
11318 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
11319 # suppresses any "Segmentation fault" message there. '((' could
11320 # trigger a bug in pdksh 5.2.14.
11321 for as_var
in BASH_ENV ENV MAIL MAILPATH
11322 do eval test x\
${$as_var+set} = xset \
11323 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
11336 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
11339 # as_fn_error STATUS ERROR [LINENO LOG_FD]
11340 # ----------------------------------------
11341 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
11342 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
11343 # script with STATUS, using 1 if that was 0.
11346 as_status
=$1; test $as_status -eq 0 && as_status
=1
11348 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
11349 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
11351 $as_echo "$as_me: error: $2" >&2
11352 as_fn_exit
$as_status
11356 # as_fn_set_status STATUS
11357 # -----------------------
11358 # Set $? to STATUS, without forking.
11359 as_fn_set_status
()
11362 } # as_fn_set_status
11364 # as_fn_exit STATUS
11365 # -----------------
11366 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
11370 as_fn_set_status
$1
11376 # Portably unset VAR.
11379 { eval $1=; unset $1;}
11381 as_unset
=as_fn_unset
11382 # as_fn_append VAR VALUE
11383 # ----------------------
11384 # Append the text in VALUE to the end of the definition contained in VAR. Take
11385 # advantage of any shell optimizations that allow amortized linear growth over
11386 # repeated appends, instead of the typical quadratic growth present in naive
11388 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
11389 eval 'as_fn_append ()
11400 # as_fn_arith ARG...
11401 # ------------------
11402 # Perform arithmetic evaluation on the ARGs, and store the result in the
11403 # global $as_val. Take advantage of shells that can avoid forks. The arguments
11404 # must be portable across $(()) and expr.
11405 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
11406 eval 'as_fn_arith ()
11413 as_val
=`expr "$@" || test $? -eq 1`
11418 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
11419 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11425 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11426 as_basename
=basename
11431 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11437 as_me
=`$as_basename -- "$0" ||
11438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11439 X"$0" : 'X\(//\)$' \| \
11440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11442 sed '/^.*\/\([^/][^/]*\)\/*$/{
11456 # Avoid depending upon Character Ranges.
11457 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11458 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11459 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11460 as_cr_digits
='0123456789'
11461 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11463 ECHO_C
= ECHO_N
= ECHO_T
=
11464 case `echo -n x` in #(((((
11466 case `echo 'xy\c'` in
11467 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11469 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11476 rm -f conf$$ conf$$.exe conf$$.
file
11477 if test -d conf$$.dir
; then
11478 rm -f conf$$.dir
/conf$$.
file
11481 mkdir conf$$.dir
2>/dev
/null
11483 if (echo >conf$$.
file) 2>/dev
/null
; then
11484 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11486 # ... but there are two gotchas:
11487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11489 # In both cases, we have to default to `cp -p'.
11490 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11492 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11500 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11501 rmdir conf$$.dir
2>/dev
/null
11506 # Create "$as_dir" as a directory, including parents if necessary.
11511 -*) as_dir
=.
/$as_dir;;
11513 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11517 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11518 *) as_qdir
=$as_dir;;
11520 as_dirs
="'$as_qdir' $as_dirs"
11521 as_dir
=`$as_dirname -- "$as_dir" ||
11522 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11523 X"$as_dir" : 'X\(//\)[^/]' \| \
11524 X"$as_dir" : 'X\(//\)$' \| \
11525 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11526 $as_echo X"$as_dir" |
11527 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11531 /^X\(\/\/\)[^/].*/{
11544 test -d "$as_dir" && break
11546 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11547 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
11551 if mkdir
-p .
2>/dev
/null
; then
11552 as_mkdir_p
='mkdir -p "$as_dir"'
11554 test -d .
/-p && rmdir .
/-p
11558 if test -x / >/dev
/null
2>&1; then
11559 as_test_x
='test -x'
11561 if ls -dL / >/dev
/null
2>&1; then
11568 if test -d "$1"; then
11574 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11575 ???[sx]*):;;*)false;;esac;fi
11579 as_executable_p
=$as_test_x
11581 # Sed expression to map a string onto a valid CPP name.
11582 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11584 # Sed expression to map a string onto a valid variable name.
11585 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11589 ## ----------------------------------- ##
11590 ## Main body of $CONFIG_STATUS script. ##
11591 ## ----------------------------------- ##
11593 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11596 # Save the log message, to keep $0 and so on meaningful, and to
11597 # report actual input values of CONFIG_FILES etc. instead of their
11598 # values after options handling.
11600 This file was extended by $as_me, which was
11601 generated by GNU Autoconf 2.67. Invocation command line was
11603 CONFIG_FILES = $CONFIG_FILES
11604 CONFIG_HEADERS = $CONFIG_HEADERS
11605 CONFIG_LINKS = $CONFIG_LINKS
11606 CONFIG_COMMANDS = $CONFIG_COMMANDS
11609 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11614 case $ac_config_files in *"
11615 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11618 case $ac_config_headers in *"
11619 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11624 # Files that config.status was made for.
11625 config_files="$ac_config_files"
11626 config_headers="$ac_config_headers"
11627 config_commands="$ac_config_commands"
11631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11633 \`$as_me' instantiates files and other configuration actions
11634 from templates according to the current configuration. Unless the files
11635 and actions are specified as TAGs, all are instantiated by default.
11637 Usage: $0 [OPTION]... [TAG]...
11639 -h, --help print this help, then exit
11640 -V, --version print version number and configuration settings, then exit
11641 --config print configuration, then exit
11642 -q, --quiet, --silent
11643 do not print progress messages
11644 -d, --debug don't remove temporary files
11645 --recheck update $as_me by reconfiguring in the same conditions
11646 --file=FILE[:TEMPLATE]
11647 instantiate the configuration file FILE
11648 --header=FILE[:TEMPLATE]
11649 instantiate the configuration header FILE
11651 Configuration files:
11654 Configuration headers:
11657 Configuration commands:
11660 Report bugs to the package provider."
11663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11664 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11667 configured by $0, generated by GNU Autoconf 2.67,
11668 with options \\"\$ac_cs_config\\"
11670 Copyright (C) 2010 Free Software Foundation, Inc.
11671 This config.status script is free software; the Free Software Foundation
11672 gives unlimited permission to copy, distribute and modify it."
11676 test -n "\$AWK" || AWK=awk
11679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11680 # The default lists apply if the user does not specify any file.
11686 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11687 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11691 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11703 # Handling of the options.
11704 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11706 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11707 $as_echo "$ac_cs_version"; exit ;;
11708 --config |
--confi |
--conf |
--con |
--co |
--c )
11709 $as_echo "$ac_cs_config"; exit ;;
11710 --debug |
--debu |
--deb |
--de |
--d |
-d )
11712 --file |
--fil |
--fi |
--f )
11715 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11716 '') as_fn_error $?
"missing file argument" ;;
11718 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11719 ac_need_defaults
=false
;;
11720 --header |
--heade |
--head |
--hea )
11723 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11725 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11726 ac_need_defaults
=false
;;
11728 # Conflict between --help and --header
11729 as_fn_error $?
"ambiguous option: \`$1'
11730 Try \`$0 --help' for more information.";;
11731 --help |
--hel |
-h )
11732 $as_echo "$ac_cs_usage"; exit ;;
11733 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11734 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11737 # This is an error.
11738 -*) as_fn_error $?
"unrecognized option: \`$1'
11739 Try \`$0 --help' for more information." ;;
11741 *) as_fn_append ac_config_targets
" $1"
11742 ac_need_defaults
=false
;;
11748 ac_configure_extra_args
=
11750 if $ac_cs_silent; then
11752 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11756 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11757 if \$ac_cs_recheck; then
11758 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11760 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11761 CONFIG_SHELL='$SHELL'
11762 export CONFIG_SHELL
11767 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11771 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11772 ## Running $as_me. ##
11778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11783 aros_host_exe_suffix=${aros_host_exe_suffix}
11784 aros_tools_dir=${aros_tools_dir}
11785 aros_target_cpu=${aros_target_cpu}
11786 aros_target_arch=${aros_target_arch}
11787 aros_target_suffix=${aros_target_suffix}
11788 aros_target_nm_ln=${aros_target_nm_ln}
11789 aros_target_as_ln=${aros_target_as_ln}
11790 aros_target_ar_ln=${aros_target_ar_ln}
11791 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11792 aros_target_objdump_ln=${aros_target_objdump_ln}
11793 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11794 aros_target_strip_ln=${aros_target_strip_ln}
11797 aros_scripts_dir=${aros_scripts_dir}
11799 aros_tools_dir=${aros_tools_dir}
11804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11806 # Handling of arguments.
11807 for ac_config_target
in $ac_config_targets
11809 case $ac_config_target in
11810 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11811 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11812 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11813 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11814 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11815 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11816 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11817 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11818 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11819 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11820 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11821 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11822 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11823 "${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" ;;
11824 "${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" ;;
11825 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/library_template_c/source/lib_source/genshared.in" ;;
11826 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11827 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11828 "${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" ;;
11830 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
11835 # If the user did not use the arguments to specify the items to instantiate,
11836 # then the envvar interface is used. Set only those that are not.
11837 # We use the long form for the default assignment because of an extremely
11838 # bizarre bug on SunOS 4.1.3.
11839 if $ac_need_defaults; then
11840 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11841 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11842 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11845 # Have a temporary directory for convenience. Make it in the build tree
11846 # simply because there is no reason against having it here, and in addition,
11847 # creating and moving files from /tmp can sometimes cause problems.
11848 # Hook for its removal unless debugging.
11849 # Note that there is a small window in which the directory will not be cleaned:
11850 # after its creation but before its name has been assigned to `$tmp'.
11854 trap 'exit_status=$?
11855 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11857 trap 'as_fn_exit 1' 1 2 13 15
11859 # Create a (secure) tmp directory for tmp files.
11862 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11863 test -n "$tmp" && test -d "$tmp"
11866 tmp
=.
/conf$$
-$RANDOM
11867 (umask 077 && mkdir
"$tmp")
11868 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
11870 # Set up the scripts for CONFIG_FILES section.
11871 # No need to generate them if there are no CONFIG_FILES.
11872 # This happens for instance with `./config.status config.h'.
11873 if test -n "$CONFIG_FILES"; then
11876 ac_cr
=`echo X | tr X '\015'`
11877 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11878 # But we know of no other shell where ac_cr would be empty at this
11879 # point, so we can use a bashism as a fallback.
11880 if test "x$ac_cr" = x
; then
11881 eval ac_cr
=\$
\'\\r
\'
11883 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11884 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11887 ac_cs_awk_cr
=$ac_cr
11890 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11895 echo "cat >conf$$subs.awk <<_ACEOF" &&
11896 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11898 } >conf$$subs.sh ||
11899 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11900 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
11902 for ac_last_try in false false false false false :; do
11903 . ./conf$$subs.sh ||
11904 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11906 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11907 if test $ac_delim_n = $ac_delim_num; then
11909 elif $ac_last_try; then
11910 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
11912 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11915 rm -f conf$$subs.sh
11917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11918 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11922 s/^/S["/; s
/!.
*/"]=/
11932 s/\(.\{148\}\)..*/\1/
11934 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11939 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11946 s/\(.\{148\}\)..*/\1/
11948 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11952 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11957 ' <conf$$subs.awk | sed '
11962 ' >>$CONFIG_STATUS || ac_write_fail=1
11963 rm -f conf$$subs.awk
11964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11966 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11967 for (key in S) S_is_set[key] = 1
11973 nfields = split(line, field, "@
")
11975 len = length(field[1])
11976 for (i = 2; i < nfields; i++) {
11978 keylen = length(key)
11979 if (S_is_set[key]) {
11981 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11982 len += length(value) + length(field[++i])
11993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11994 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11995 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11998 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11999 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
12002 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
12003 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
12004 # trailing colons and then remove the whole line if VPATH becomes empty
12005 # (actually we leave an empty line to preserve line numbers).
12006 if test "x
$srcdir" = x.; then
12007 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
12025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
12026 fi # test -n "$CONFIG_FILES"
12028 # Set up the scripts for CONFIG_HEADERS section.
12029 # No need to generate them if there are no CONFIG_HEADERS.
12030 # This happens for instance with `./config.status Makefile'.
12031 if test -n "$CONFIG_HEADERS"; then
12032 cat >"$tmp/defines.
awk" <<\_ACAWK ||
12036 # Transform confdefs.h into an awk script `defines.awk', embedded as
12037 # here-document in config.status, that substitutes the proper values into
12038 # config.h.in to produce config.h.
12040 # Create a delimiter string that does not exist in confdefs.h, to ease
12041 # handling of long lines.
12043 for ac_last_try in false false :; do
12044 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
12045 if test -z "$ac_t"; then
12047 elif $ac_last_try; then
12048 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
12050 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
12054 # For the awk script, D is an array of macro values keyed by name,
12055 # likewise P contains macro parameters if any. Preserve backslash
12056 # newline sequences.
12058 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
12060 s/.\{148\}/&'"$ac_delim"'/g
12063 s/^[ ]*#[ ]*define[ ][ ]*/ /
12070 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
12072 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
12076 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
12077 D["\
1"]=" \
3\\\\\\n
"\\/p
12079 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
12084 s/.\{148\}/&'"$ac_delim"'/g
12089 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
12092 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
12094 ' <confdefs.h | sed '
12095 s/'"$ac_delim"'/"\\\
12096 "/g' >>$CONFIG_STATUS || ac_write_fail=1
12098 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12099 for (key in D) D_is_set[key] = 1
12102 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
12104 split(line, arg, " ")
12105 if (arg[1] == "#") {
12109 defundef
= substr
(arg
[1], 2)
12112 split(mac1
, mac2
, "(") #)
12114 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
12115 if (D_is_set
[macro
]) {
12116 # Preserve the white space surrounding the "#".
12117 print prefix
"define", macro P
[macro
] D
[macro
]
12120 # Replace #undef with comments. This is necessary, for example,
12121 # in the case of _POSIX_SOURCE, which is predefined and required
12122 # on some systems where configure will not decide to define it.
12123 if (defundef
== "undef") {
12124 print
"/*", prefix defundef
, macro
, "*/"
12132 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12133 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
12134 fi # test -n "$CONFIG_HEADERS"
12137 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
12142 :[FHLC
]) ac_mode
=$ac_tag; continue;;
12144 case $ac_mode$ac_tag in
12146 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
12147 :[FH
]-) ac_tag
=-:-;;
12148 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
12165 -) ac_f
="$tmp/stdin";;
12166 *) # Look for the file first in the build tree, then in the source tree
12167 # (if the path is not absolute). The absolute path cannot be DOS-style,
12168 # because $ac_f cannot contain `:'.
12172 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
12174 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
12176 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
12177 as_fn_append ac_file_inputs
" '$ac_f'"
12180 # Let's still pretend it is `configure' which instantiates (i.e., don't
12181 # use $as_me), people would be surprised to read:
12182 # /* config.h. Generated by config.status. */
12183 configure_input
='Generated from '`
12184 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
12186 if test x
"$ac_file" != x-
; then
12187 configure_input
="$ac_file. $configure_input"
12188 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
12189 $as_echo "$as_me: creating $ac_file" >&6;}
12191 # Neutralize special characters interpreted by sed in replacement strings.
12192 case $configure_input in #(
12193 *\
&* |
*\|
* |
*\\* )
12194 ac_sed_conf_input
=`$as_echo "$configure_input" |
12195 sed 's/[\\\\&|]/\\\\&/g'`;; #(
12196 *) ac_sed_conf_input
=$configure_input;;
12200 *:-:* |
*:-) cat >"$tmp/stdin" \
12201 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
12206 ac_dir
=`$as_dirname -- "$ac_file" ||
12207 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
12208 X"$ac_file" : 'X\(//\)[^/]' \| \
12209 X"$ac_file" : 'X\(//\)$' \| \
12210 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
12211 $as_echo X"$ac_file" |
12212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
12216 /^X\(\/\/\)[^/].*/{
12229 as_dir
="$ac_dir"; as_fn_mkdir_p
12233 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12235 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
12236 # A ".." for each directory in $ac_dir_suffix.
12237 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
12238 case $ac_top_builddir_sub in
12239 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
12240 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
12243 ac_abs_top_builddir
=$ac_pwd
12244 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
12245 # for backward compatibility:
12246 ac_top_builddir
=$ac_top_build_prefix
12249 .
) # We are building in place.
12251 ac_top_srcdir
=$ac_top_builddir_sub
12252 ac_abs_top_srcdir
=$ac_pwd ;;
12253 [\\/]* | ?
:[\\/]* ) # Absolute name.
12254 ac_srcdir
=$srcdir$ac_dir_suffix;
12255 ac_top_srcdir
=$srcdir
12256 ac_abs_top_srcdir
=$srcdir ;;
12257 *) # Relative name.
12258 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
12259 ac_top_srcdir
=$ac_top_build_prefix$srcdir
12260 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
12262 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
12273 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12274 # If the template does not know about datarootdir, expand it.
12275 # FIXME: This hack should be removed a few years after 2.60.
12276 ac_datarootdir_hack
=; ac_datarootdir_seen
=
12287 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
12288 *datarootdir
*) ac_datarootdir_seen
=yes;;
12289 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
12291 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
12293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12294 ac_datarootdir_hack='
12295 s&@datadir@&$datadir&g
12296 s&@docdir@&$docdir&g
12297 s&@infodir@&$infodir&g
12298 s&@localedir@&$localedir&g
12299 s&@mandir@&$mandir&g
12300 s&\\\${datarootdir}&$datarootdir&g' ;;
12304 # Neutralize VPATH when `$srcdir' = `.'.
12305 # Shell code in configure.ac might set extrasub.
12306 # FIXME: do we really want to maintain this feature?
12307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
12308 ac_sed_extra="$ac_vpsub
12311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
12313 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
12314 s|@configure_input@|
$ac_sed_conf_input|
;t t
12315 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
12316 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
12317 s
&@srcdir@
&$ac_srcdir&;t t
12318 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
12319 s
&@top_srcdir@
&$ac_top_srcdir&;t t
12320 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
12321 s
&@builddir@
&$ac_builddir&;t t
12322 s
&@abs_builddir@
&$ac_abs_builddir&;t t
12323 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
12324 $ac_datarootdir_hack
12326 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
12327 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
12329 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
12330 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
12331 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
12333 which seems to be undefined. Please make sure it is defined" >&5
12334 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
12335 which seems to be undefined. Please make sure it is defined" >&2;}
12339 -) cat "$tmp/out" && rm -f "$tmp/out";;
12340 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
12342 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12348 if test x"$ac_file" != x-; then
12350 $as_echo "/* $configure_input */" \
12351 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
12352 } >"$tmp/config.h" \
12353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12354 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
12356 $as_echo "$as_me: $ac_file is unchanged" >&6;}
12359 mv "$tmp/config.h" "$ac_file" \
12360 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
12363 $as_echo "/* $configure_input */" \
12364 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
12365 || as_fn_error $? "could not create -" "$LINENO" 5
12369 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
12370 $as_echo "$as_me: executing $ac_file commands" >&6;}
12375 case $ac_file$ac_mode in
12376 "compiler_executable":C)
12377 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
12379 prefix="${prefix}/${aros_target_cpu}-aros"
12380 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
12384 chmod a+x ${prefix2}-gcc ${prefix2}-ld
12386 ln -sf ${prefix2}-gcc ${prefix}-gcc
12387 ln -sf ${prefix2}-ld ${prefix}-ld
12389 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
12390 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
12391 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
12392 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
12393 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
12394 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
12395 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
12397 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
12398 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
12399 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
12400 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
12401 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
12402 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
12403 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
12405 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
12406 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
12414 ac_clean_files=$ac_clean_files_save
12416 test $ac_write_fail = 0 ||
12417 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
12420 # configure is writing to config.log, and then calls config.status.
12421 # config.status does its own redirection, appending to config.log.
12422 # Unfortunately, on DOS this fails, as config.log is still kept open
12423 # by configure, so config.status won't be able to
write to it
; its
12424 # output is simply discarded. So we exec the FD to /dev/null,
12425 # effectively closing config.log, so it can be properly (re)opened and
12426 # appended to by config.status. When coming back to configure, we
12427 # need to make the FD available again.
12428 if test "$no_create" != yes; then
12430 ac_config_status_args
=
12431 test "$silent" = yes &&
12432 ac_config_status_args
="$ac_config_status_args --quiet"
12434 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
12436 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
12437 # would make configure fail if this is the last instruction.
12438 $ac_cs_success || as_fn_exit
1
12440 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12442 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12447 #XXX compatability...
12448 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12450 if test -n "$aros_shared_cflags" ; then
12451 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12452 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg