2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x
; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var
in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\
${$as_var+set} = xset \
121 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
134 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x
; then
137 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in #(
153 as_required
="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
174 test \$(( 1 + 1 )) = 2 || exit 1"
175 if (eval "$as_required") 2>/dev
/null
; then :
180 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
185 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
188 test -z "$as_dir" && as_dir
=.
192 for as_base
in sh bash ksh sh5
; do
193 # Try only shells that exist, to save several forks.
194 as_shell
=$as_dir/$as_base
195 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
197 CONFIG_SHELL
=$as_shell as_have_required
=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
206 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
208 CONFIG_SHELL
=$SHELL as_have_required
=yes
213 if test "x$CONFIG_SHELL" != x
; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
219 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
221 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224 if test x
$as_have_required = xno
; then :
225 $as_echo "$0: This script requires a shell more modern than all"
226 $as_echo "$0: the shells that I found on your system."
227 if test x
${ZSH_VERSION+set} = xset
; then
228 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
229 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
232 $0: including any error possibly output before this
233 $0: message. Then install a modern shell, or manually run
234 $0: the script under such a shell if you do have one."
240 SHELL
=${CONFIG_SHELL-/bin/sh}
242 # Unset more variables known to interfere with behavior of common tools.
243 CLICOLOR_FORCE
= GREP_OPTIONS
=
244 unset CLICOLOR_FORCE GREP_OPTIONS
246 ## --------------------- ##
247 ## M4sh Shell Functions. ##
248 ## --------------------- ##
251 # Portably unset VAR.
254 { eval $1=; unset $1;}
258 # as_fn_set_status STATUS
259 # -----------------------
260 # Set $? to STATUS, without forking.
268 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278 # Create "$as_dir" as a directory, including parents if necessary.
283 -*) as_dir
=.
/$as_dir;;
285 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
289 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 as_dirs
="'$as_qdir' $as_dirs"
293 as_dir
=`$as_dirname -- "$as_dir" ||
294 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295 X"$as_dir" : 'X\(//\)[^/]' \| \
296 X"$as_dir" : 'X\(//\)$' \| \
297 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298 $as_echo X"$as_dir" |
299 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316 test -d "$as_dir" && break
318 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
319 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
323 # as_fn_append VAR VALUE
324 # ----------------------
325 # Append the text in VALUE to the end of the definition contained in VAR. Take
326 # advantage of any shell optimizations that allow amortized linear growth over
327 # repeated appends, instead of the typical quadratic growth present in naive
329 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
330 eval 'as_fn_append ()
343 # Perform arithmetic evaluation on the ARGs, and store the result in the
344 # global $as_val. Take advantage of shells that can avoid forks. The arguments
345 # must be portable across $(()) and expr.
346 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
354 as_val
=`expr "$@" || test $? -eq 1`
359 # as_fn_error ERROR [LINENO LOG_FD]
360 # ---------------------------------
361 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363 # script with status $?, using 1 if that was 0.
366 as_status
=$?
; test $as_status -eq 0 && as_status
=1
368 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
369 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371 $as_echo "$as_me: error: $1" >&2
372 as_fn_exit
$as_status
375 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
376 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
382 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
394 as_me
=`$as_basename -- "$0" ||
395 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396 X"$0" : 'X\(//\)$' \| \
397 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399 sed '/^.*\/\([^/][^/]*\)\/*$/{
413 # Avoid depending upon Character Ranges.
414 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
415 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
417 as_cr_digits
='0123456789'
418 as_cr_alnum
=$as_cr_Letters$as_cr_digits
421 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
422 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
423 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
425 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
437 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 chmod +x
"$as_me.lineno" ||
442 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
444 # Don't try to exec as it changes $[0], causing all sort of problems
445 # (the dirname of $[0] is not the place where we might find the
446 # original and so on. Autoconf is especially sensitive to this).
448 # Exit status is that of the last command.
452 ECHO_C
= ECHO_N
= ECHO_T
=
453 case `echo -n x` in #(((((
455 case `echo 'xy\c'` in
456 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
458 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
465 rm -f conf$$ conf$$.exe conf$$.
file
466 if test -d conf$$.dir
; then
467 rm -f conf$$.dir
/conf$$.
file
470 mkdir conf$$.dir
2>/dev
/null
472 if (echo >conf$$.
file) 2>/dev
/null
; then
473 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
475 # ... but there are two gotchas:
476 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
477 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
478 # In both cases, we have to default to `cp -p'.
479 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
481 elif ln conf$$.
file conf$$
2>/dev
/null
; then
489 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
490 rmdir conf$$.dir
2>/dev
/null
492 if mkdir
-p .
2>/dev
/null
; then
493 as_mkdir_p
='mkdir -p "$as_dir"'
495 test -d .
/-p && rmdir .
/-p
499 if test -x / >/dev
/null
2>&1; then
502 if ls -dL / >/dev
/null
2>&1; then
509 if test -d "$1"; then
515 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
516 ???[sx]*):;;*)false;;esac;fi
520 as_executable_p
=$as_test_x
522 # Sed expression to map a string onto a valid CPP name.
523 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
525 # Sed expression to map a string onto a valid variable name.
526 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
529 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
533 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
534 # so uname gets run too.
535 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
540 ac_default_prefix
=/usr
/local
542 ac_config_libobj_dir
=.
549 # Identity of this package.
557 ac_unique_file
="mmakefile"
558 # Factoring default headers for most tests.
559 ac_includes_default
="\
561 #ifdef HAVE_SYS_TYPES_H
562 # include <sys/types.h>
564 #ifdef HAVE_SYS_STAT_H
565 # include <sys/stat.h>
571 # ifdef HAVE_STDLIB_H
576 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
581 #ifdef HAVE_STRINGS_H
582 # include <strings.h>
584 #ifdef HAVE_INTTYPES_H
585 # include <inttypes.h>
595 ac_subst_vars
='LTLIBOBJS
597 ignore_undefined_symbols
608 aros_nesting_supervisor
613 aros_host_x11_libdirs
614 aros_host_x11_includes
618 aros_default_wbheight
622 aros_target_strip_flags
645 aros_target_cc_includes
658 aros_target_bootloader
686 aros_cflags_iquote_end
688 kernel_cflags_iquote_end
690 host_cflags_iquote_end
692 aros_target_nostdlib_ldflags
693 aros_target_detach_ldflags
694 aros_target_nix_ldflags
695 aros_target_nostartup_ldflags
696 aros_target_nostdinc_cflags
699 aros_target_ranlib_ln
700 aros_target_objdump_ln
701 aros_target_objcopy_ln
795 program_transform_name
808 enable_option_checking
815 enable_target_variant
823 enable_palm_debug_hack
824 enable_nesting_supervisor
835 ac_precious_vars
='build_alias
847 # Initialize some variables set by options.
849 ac_init_version
=false
850 ac_unrecognized_opts
=
852 # The variables have the same names as the options, with
853 # dashes changed to underlines.
861 program_transform_name
=s
,x
,x
,
869 # Installation directory options.
870 # These are left unexpanded so users can "make install exec_prefix=/foo"
871 # and all the variables that are supposed to be based on exec_prefix
872 # by default will actually change.
873 # Use braces instead of parens because sh, perl, etc. also accept them.
874 # (The list follows the same order as the GNU Coding Standards.)
875 bindir
='${exec_prefix}/bin'
876 sbindir
='${exec_prefix}/sbin'
877 libexecdir
='${exec_prefix}/libexec'
878 datarootdir
='${prefix}/share'
879 datadir
='${datarootdir}'
880 sysconfdir
='${prefix}/etc'
881 sharedstatedir
='${prefix}/com'
882 localstatedir
='${prefix}/var'
883 includedir
='${prefix}/include'
884 oldincludedir
='/usr/include'
885 docdir
='${datarootdir}/doc/${PACKAGE}'
886 infodir
='${datarootdir}/info'
891 libdir
='${exec_prefix}/lib'
892 localedir
='${datarootdir}/locale'
893 mandir
='${datarootdir}/man'
899 # If the previous option needs an argument, assign it.
900 if test -n "$ac_prev"; then
901 eval $ac_prev=\
$ac_option
907 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
911 # Accept the important Cygnus configure options, so we can diagnose typos.
913 case $ac_dashdash$ac_option in
917 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
919 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
922 -build |
--build |
--buil |
--bui |
--bu)
923 ac_prev
=build_alias
;;
924 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
925 build_alias
=$ac_optarg ;;
927 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
928 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
929 ac_prev
=cache_file
;;
930 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
931 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
932 cache_file
=$ac_optarg ;;
935 cache_file
=config.cache
;;
937 -datadir |
--datadir |
--datadi |
--datad)
939 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
940 datadir
=$ac_optarg ;;
942 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
943 |
--dataroo |
--dataro |
--datar)
944 ac_prev
=datarootdir
;;
945 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
946 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
947 datarootdir
=$ac_optarg ;;
949 -disable-* |
--disable-*)
950 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
951 # Reject names that are not valid shell variable names.
952 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
953 as_fn_error
"invalid feature name: $ac_useropt"
954 ac_useropt_orig
=$ac_useropt
955 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
956 case $ac_user_opts in
960 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
961 ac_unrecognized_sep
=', ';;
963 eval enable_
$ac_useropt=no
;;
965 -docdir |
--docdir |
--docdi |
--doc |
--do)
967 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
970 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
972 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
975 -enable-* |
--enable-*)
976 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
979 as_fn_error
"invalid feature name: $ac_useropt"
980 ac_useropt_orig
=$ac_useropt
981 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
986 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
987 ac_unrecognized_sep
=', ';;
989 eval enable_
$ac_useropt=\
$ac_optarg ;;
991 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
992 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
993 |
--exec |
--exe |
--ex)
994 ac_prev
=exec_prefix
;;
995 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
996 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
997 |
--exec=* |
--exe=* |
--ex=*)
998 exec_prefix
=$ac_optarg ;;
1000 -gas |
--gas |
--ga |
--g)
1001 # Obsolete; use --with-gas.
1004 -help |
--help |
--hel |
--he |
-h)
1005 ac_init_help
=long
;;
1006 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1007 ac_init_help
=recursive
;;
1008 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1009 ac_init_help
=short
;;
1011 -host |
--host |
--hos |
--ho)
1012 ac_prev
=host_alias
;;
1013 -host=* |
--host=* |
--hos=* |
--ho=*)
1014 host_alias
=$ac_optarg ;;
1016 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1018 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1020 htmldir
=$ac_optarg ;;
1022 -includedir |
--includedir |
--includedi |
--included |
--include \
1023 |
--includ |
--inclu |
--incl |
--inc)
1024 ac_prev
=includedir
;;
1025 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1026 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1027 includedir
=$ac_optarg ;;
1029 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1031 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1032 infodir
=$ac_optarg ;;
1034 -libdir |
--libdir |
--libdi |
--libd)
1036 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1037 libdir
=$ac_optarg ;;
1039 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1040 |
--libexe |
--libex |
--libe)
1041 ac_prev
=libexecdir
;;
1042 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1043 |
--libexe=* |
--libex=* |
--libe=*)
1044 libexecdir
=$ac_optarg ;;
1046 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1047 ac_prev
=localedir
;;
1048 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1049 localedir
=$ac_optarg ;;
1051 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1052 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1053 ac_prev
=localstatedir
;;
1054 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1055 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1056 localstatedir
=$ac_optarg ;;
1058 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1060 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1061 mandir
=$ac_optarg ;;
1063 -nfp |
--nfp |
--nf)
1064 # Obsolete; use --without-fp.
1067 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1068 |
--no-cr |
--no-c |
-n)
1071 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1072 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1075 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1076 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1077 |
--oldin |
--oldi |
--old |
--ol |
--o)
1078 ac_prev
=oldincludedir
;;
1079 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1080 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1081 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1082 oldincludedir
=$ac_optarg ;;
1084 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1086 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1087 prefix
=$ac_optarg ;;
1089 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1090 |
--program-pre |
--program-pr |
--program-p)
1091 ac_prev
=program_prefix
;;
1092 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1093 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1094 program_prefix
=$ac_optarg ;;
1096 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1097 |
--program-suf |
--program-su |
--program-s)
1098 ac_prev
=program_suffix
;;
1099 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1100 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1101 program_suffix
=$ac_optarg ;;
1103 -program-transform-name |
--program-transform-name \
1104 |
--program-transform-nam |
--program-transform-na \
1105 |
--program-transform-n |
--program-transform- \
1106 |
--program-transform |
--program-transfor \
1107 |
--program-transfo |
--program-transf \
1108 |
--program-trans |
--program-tran \
1109 |
--progr-tra |
--program-tr |
--program-t)
1110 ac_prev
=program_transform_name
;;
1111 -program-transform-name=* |
--program-transform-name=* \
1112 |
--program-transform-nam=* |
--program-transform-na=* \
1113 |
--program-transform-n=* |
--program-transform-=* \
1114 |
--program-transform=* |
--program-transfor=* \
1115 |
--program-transfo=* |
--program-transf=* \
1116 |
--program-trans=* |
--program-tran=* \
1117 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1118 program_transform_name
=$ac_optarg ;;
1120 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1122 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1123 pdfdir
=$ac_optarg ;;
1125 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1127 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1130 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1131 |
-silent |
--silent |
--silen |
--sile |
--sil)
1134 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1136 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1138 sbindir
=$ac_optarg ;;
1140 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1141 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1142 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1144 ac_prev
=sharedstatedir
;;
1145 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1146 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1147 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1149 sharedstatedir
=$ac_optarg ;;
1151 -site |
--site |
--sit)
1153 -site=* |
--site=* |
--sit=*)
1156 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1158 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1159 srcdir
=$ac_optarg ;;
1161 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1162 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1163 ac_prev
=sysconfdir
;;
1164 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1165 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1166 sysconfdir
=$ac_optarg ;;
1168 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1169 ac_prev
=target_alias
;;
1170 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1171 target_alias
=$ac_optarg ;;
1173 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1176 -version |
--version |
--versio |
--versi |
--vers |
-V)
1177 ac_init_version
=: ;;
1180 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=\
$ac_optarg ;;
1195 -without-* |
--without-*)
1196 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1197 # Reject names that are not valid shell variable names.
1198 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1199 as_fn_error
"invalid package name: $ac_useropt"
1200 ac_useropt_orig
=$ac_useropt
1201 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1202 case $ac_user_opts in
1206 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1207 ac_unrecognized_sep
=', ';;
1209 eval with_
$ac_useropt=no
;;
1212 # Obsolete; use --with-x.
1215 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1216 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1217 ac_prev
=x_includes
;;
1218 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1219 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1220 x_includes
=$ac_optarg ;;
1222 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1223 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1224 ac_prev
=x_libraries
;;
1225 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1226 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1227 x_libraries
=$ac_optarg ;;
1229 -*) as_fn_error
"unrecognized option: \`$ac_option'
1230 Try \`$0 --help' for more information."
1234 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1235 # Reject names that are not valid shell variable names.
1236 case $ac_envvar in #(
1237 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1238 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1240 eval $ac_envvar=\
$ac_optarg
1241 export $ac_envvar ;;
1244 # FIXME: should be removed in autoconf 3.0.
1245 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1246 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1247 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1248 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1254 if test -n "$ac_prev"; then
1255 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1256 as_fn_error
"missing argument to $ac_option"
1259 if test -n "$ac_unrecognized_opts"; then
1260 case $enable_option_checking in
1262 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1288 # There might be people who depend on the old broken behavior: `$host'
1289 # used to hold the argument of --host etc.
1290 # FIXME: To remove some day.
1293 target
=$target_alias
1295 # FIXME: To remove some day.
1296 if test "x$host_alias" != x
; then
1297 if test "x$build_alias" = x
; then
1298 cross_compiling
=maybe
1299 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1300 If a cross compiler is detected then cross compile mode will be used." >&2
1301 elif test "x$build_alias" != "x$host_alias"; then
1307 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1309 test "$silent" = yes && exec 6>/dev
/null
1312 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1313 ac_ls_di
=`ls -di .` &&
1314 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1315 as_fn_error
"working directory cannot be determined"
1316 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1317 as_fn_error
"pwd does not report name of working directory"
1320 # Find the source files, if location was not specified.
1321 if test -z "$srcdir"; then
1322 ac_srcdir_defaulted
=yes
1323 # Try the directory containing this script, then the parent directory.
1324 ac_confdir
=`$as_dirname -- "$as_myself" ||
1325 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1326 X"$as_myself" : 'X\(//\)[^/]' \| \
1327 X"$as_myself" : 'X\(//\)$' \| \
1328 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1329 $as_echo X"$as_myself" |
1330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1348 if test ! -r "$srcdir/$ac_unique_file"; then
1352 ac_srcdir_defaulted
=no
1354 if test ! -r "$srcdir/$ac_unique_file"; then
1355 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1356 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1358 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1360 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 for ac_var
in $ac_precious_vars; do
1373 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1374 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1375 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1376 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1380 # Report the --help message.
1382 if test "$ac_init_help" = "long"; then
1383 # Omit some internal or obsolete options to make the list less imposing.
1384 # This message is too long to be a string in the A/UX 3.1 sh.
1386 \`configure' configures this package to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1435 --htmldir=DIR html documentation [DOCDIR]
1436 --dvidir=DIR dvi documentation [DOCDIR]
1437 --pdfdir=DIR pdf documentation [DOCDIR]
1438 --psdir=DIR ps documentation [DOCDIR]
1444 --x-includes=DIR X include files are
in DIR
1445 --x-libraries=DIR X library files are
in DIR
1448 --build=BUILD configure
for building on BUILD
[guessed
]
1449 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1453 if test -n "$ac_init_help"; then
1458 --disable-option-checking ignore unrecognized
--enable/--with options
1459 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1460 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1461 --enable-build-type=TYPE
1462 Select the build
type. Available types are
:
1463 personal
, nightly
, snapshot
, milestone
, release. Do
1464 NOT use this option unless you know what you are
1465 doing
! (default
=personal
)
1466 --enable-debug=list Enable different types of debug. Commas or
1467 whitespaces can be used to separate the items
in the
1468 list. Available types of debug are
: all
, none
,
1469 messages
, stack
, mungwall
, modules
, symbols. If no
1470 list is provided
then "all" is assumed.
1472 --enable-crosstools Build cross-compiler toolchains
if necessary
1474 --enable-distcc Use distcc as a front end to the compiler
1476 --enable-ccache Use ccache as a front end to the compiler
1478 --enable-target-variant=NAME
1479 Enable a specific target variant
(default
=none
)
1480 --enable-includes=dir Alternative system include directory
1481 --enable-palm-debug-hack
1482 Enable palm debug output hack
in palm native
1484 --enable-nesting-supervisor
1485 Enable nesting supervisor support
in unix
1487 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1488 --enable-x11-shm use X11 shared memory
(default
=auto
)
1489 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1490 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1491 --disable-sdltest Do not try to compile and run a
test SDL program
1492 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1495 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1496 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1497 --with-optimization=FLAGS
1498 Use optimization flags FLAGS
(default
=-O2).
1499 --with-portssources=DIR Where to download sourcecode
for external ports
1500 --with-bootloader=NAME Use a specific bootloader
1501 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1502 --with-theme=NAME Use a specific GUI Theme
1503 --with-resolution=XRESxYRESxDEPTH
1504 Default resolution of the initial WorkbenchScreen
1505 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1506 --with-x use the X Window System
1507 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1508 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1510 Some influential environment variables
:
1511 CC C compiler
command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1514 nonstandard directory
<lib dir
>
1515 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1516 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1517 you have headers
in a nonstandard directory
<include dir
>
1519 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1521 Use these variables to override the choices made by
`configure' or to help
1522 it to find libraries and programs with nonstandard names/locations.
1524 Report bugs to the package provider.
1529 if test "$ac_init_help" = "recursive"; then
1530 # If there are subdirs, report their specific --help.
1531 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1532 test -d "$ac_dir" ||
1533 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1541 # A ".." for each directory in $ac_dir_suffix.
1542 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1543 case $ac_top_builddir_sub in
1544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548 ac_abs_top_builddir=$ac_pwd
1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir=$ac_top_build_prefix
1554 .) # We are building in place.
1556 ac_top_srcdir=$ac_top_builddir_sub
1557 ac_abs_top_srcdir=$ac_pwd ;;
1558 [\\/]* | ?:[\\/]* ) # Absolute name.
1559 ac_srcdir=$srcdir$ac_dir_suffix;
1560 ac_top_srcdir=$srcdir
1561 ac_abs_top_srcdir=$srcdir ;;
1563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564 ac_top_srcdir=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" || { ac_status=$?; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1580 cd "$ac_pwd" || { ac_status=$?; break; }
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1588 generated by GNU Autoconf 2.65
1590 Copyright (C) 2009 Free Software Foundation, Inc.
1591 This configure script is free software; the Free Software Foundation
1592 gives unlimited permission to copy, distribute and modify it.
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext
1608 if { { ac_try="$ac_compile"
1610 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1611 *) ac_try_echo
=$ac_try;;
1613 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_compile") 2>conftest.err
1617 if test -s conftest.err
; then
1618 grep -v '^ *+' conftest.err
>conftest.er1
1619 cat conftest.er1
>&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest.
$ac_objext; then :
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.
$ac_ext >&5
1634 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1635 as_fn_set_status
$ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_c_try_cpp LINENO
1640 # ----------------------
1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1645 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1647 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } >/dev/null && {
1661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1671 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1672 as_fn_set_status $ac_retval
1676 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1679 # the include files in INCLUDES and setting the cache variable VAR
1681 ac_fn_c_check_header_mongrel ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1688 $as_echo_n "(cached) " >&6
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 # Is the header compilable?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1696 $as_echo_n "checking $2 usability... " >&6; }
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703 ac_header_compiler=yes
1705 ac_header_compiler=no
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1709 $as_echo "$ac_header_compiler" >&6; }
1711 # Is the header present?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1713 $as_echo_n "checking $2 presence... " >&6; }
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1718 if ac_fn_c_try_cpp "$LINENO"; then :
1719 ac_header_preproc=yes
1721 ac_header_preproc=no
1723 rm -f conftest.err conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1725 $as_echo "$ac_header_preproc" >&6; }
1727 # So? What about this header?
1728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1731 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1737 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1739 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1741 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1743 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1749 $as_echo_n "checking for $2... " >&6; }
1750 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1751 $as_echo_n "(cached) " >&6
1753 eval "$3=\$ac_header_compiler"
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1757 $as_echo "$ac_res" >&6; }
1759 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1761 } # ac_fn_c_check_header_mongrel
1763 # ac_fn_c_try_run LINENO
1764 # ----------------------
1765 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1766 # that executables *can* be run.
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if { { ac_try="$ac_link"
1772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1773 *) ac_try_echo
=$ac_try;;
1775 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1776 $as_echo "$ac_try_echo"; } >&5
1777 (eval "$ac_link") 2>&5
1779 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1780 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1781 { { case "(($ac_try" in
1782 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_try") 2>&5
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; }; }; then :
1793 $as_echo "$as_me: program exited with status $ac_status" >&5
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=$ac_status
1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 as_fn_set_status $ac_retval
1805 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1806 # -------------------------------------------------------
1807 # Tests whether HEADER exists and can be compiled using the include files in
1808 # INCLUDES, setting the cache variable VAR accordingly.
1809 ac_fn_c_check_header_compile ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1813 $as_echo_n "checking for $2... " >&6; }
1814 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1815 $as_echo_n "(cached) " >&6
1817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1818 /* end confdefs.h. */
1822 if ac_fn_c_try_compile "$LINENO"; then :
1827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1831 $as_echo "$ac_res" >&6; }
1832 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1834 } # ac_fn_c_check_header_compile
1836 # ac_fn_c_try_link LINENO
1837 # -----------------------
1838 # Try to link conftest.$ac_ext, and return whether this succeeded.
1841 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1842 rm -f conftest.$ac_objext conftest$ac_exeext
1843 if { { ac_try="$ac_link"
1845 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1846 *) ac_try_echo
=$ac_try;;
1848 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1849 $as_echo "$ac_try_echo"; } >&5
1850 (eval "$ac_link") 2>conftest.err
1852 if test -s conftest.err
; then
1853 grep -v '^ *+' conftest.err
>conftest.er1
1854 cat conftest.er1
>&5
1855 mv -f conftest.er1 conftest.err
1857 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1858 test $ac_status = 0; } && {
1859 test -z "$ac_c_werror_flag" ||
1860 test ! -s conftest.err
1861 } && test -s conftest
$ac_exeext && {
1862 test "$cross_compiling" = yes ||
1863 $as_test_x conftest
$ac_exeext
1867 $as_echo "$as_me: failed program was:" >&5
1868 sed 's/^/| /' conftest.
$ac_ext >&5
1872 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1873 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1874 # interfere with the next link command; also delete a directory that is
1875 # left behind by Apple's compiler. We do this before executing the actions.
1876 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1878 as_fn_set_status
$ac_retval
1880 } # ac_fn_c_try_link
1882 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1883 # ----------------------------------------------------
1884 # Tries to find if the field MEMBER exists in type AGGR, after including
1885 # INCLUDES, setting cache variable VAR accordingly.
1886 ac_fn_c_check_member
()
1888 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1890 $as_echo_n "checking for $2.$3... " >&6; }
1891 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1892 $as_echo_n "(cached) " >&6
1894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1895 /* end confdefs.h. */
1907 if ac_fn_c_try_compile
"$LINENO"; then :
1910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1917 if (sizeof ac_aggr.$3)
1923 if ac_fn_c_try_compile
"$LINENO"; then :
1928 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1930 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1934 $as_echo "$ac_res" >&6; }
1935 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1937 } # ac_fn_c_check_member
1939 # ac_fn_c_check_decl LINENO SYMBOL VAR
1940 # ------------------------------------
1941 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1942 ac_fn_c_check_decl
()
1944 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1946 $as_echo_n "checking whether $2 is declared... " >&6; }
1947 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1948 $as_echo_n "(cached) " >&6
1950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1951 /* end confdefs.h. */
1964 if ac_fn_c_try_compile
"$LINENO"; then :
1969 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1973 $as_echo "$ac_res" >&6; }
1974 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1976 } # ac_fn_c_check_decl
1978 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1979 # -------------------------------------------
1980 # Tests whether TYPE exists after having included INCLUDES, setting cache
1981 # variable VAR accordingly.
1982 ac_fn_c_check_type
()
1984 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1986 $as_echo_n "checking for $2... " >&6; }
1987 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1988 $as_echo_n "(cached) " >&6
1991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1992 /* end confdefs.h. */
2003 if ac_fn_c_try_compile
"$LINENO"; then :
2004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2005 /* end confdefs.h. */
2016 if ac_fn_c_try_compile
"$LINENO"; then :
2021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2023 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2028 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2030 } # ac_fn_c_check_type
2032 # ac_fn_c_check_func LINENO FUNC VAR
2033 # ----------------------------------
2034 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2035 ac_fn_c_check_func
()
2037 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039 $as_echo_n "checking for $2... " >&6; }
2040 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2041 $as_echo_n "(cached) " >&6
2043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2045 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2047 #define $2 innocuous_$2
2049 /* System header to define __stub macros and hopefully few prototypes,
2050 which can conflict with char $2 (); below.
2051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2052 <limits.h> exists even on freestanding compilers. */
2055 # include <limits.h>
2057 # include <assert.h>
2062 /* Override any GCC internal prototype to avoid an error.
2063 Use char because int might match the return type of a GCC
2064 builtin and then its argument prototype would still apply. */
2069 /* The GNU C library defines this for functions which it implements
2070 to always fail with ENOSYS. Some functions are actually named
2071 something starting with __ and the normal name is an alias. */
2072 #if defined __stub_$2 || defined __stub___$2
2084 if ac_fn_c_try_link
"$LINENO"; then :
2089 rm -f core conftest.err conftest.
$ac_objext \
2090 conftest
$ac_exeext conftest.
$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2094 $as_echo "$ac_res" >&6; }
2095 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2097 } # ac_fn_c_check_func
2098 cat >config.log
<<_ACEOF
2099 This file contains any messages produced by compilers while
2100 running configure, to aid debugging if configure makes a mistake.
2102 It was created by $as_me, which was
2103 generated by GNU Autoconf 2.65. Invocation command line was
2115 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2116 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2117 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2118 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2119 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2121 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2122 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2124 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2125 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2126 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2127 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2128 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2129 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2130 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2134 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir
=.
2139 $as_echo "PATH: $as_dir"
2155 # Keep a trace of the command line.
2156 # Strip out --no-create and --no-recursion so they do not pile up.
2157 # Strip out --silent because we don't want to record it for future runs.
2158 # Also quote any args containing shell meta-characters.
2159 # Make two passes to allow for proper duplicate-argument suppression.
2163 ac_must_keep_next
=false
2169 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2170 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2171 |
-silent |
--silent |
--silen |
--sile |
--sil)
2174 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2177 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2179 as_fn_append ac_configure_args1
" '$ac_arg'"
2180 if test $ac_must_keep_next = true
; then
2181 ac_must_keep_next
=false
# Got value, back to normal.
2184 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2185 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2186 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2187 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2188 case "$ac_configure_args0 " in
2189 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2192 -* ) ac_must_keep_next
=true
;;
2195 as_fn_append ac_configure_args
" '$ac_arg'"
2200 { ac_configure_args0
=; unset ac_configure_args0
;}
2201 { ac_configure_args1
=; unset ac_configure_args1
;}
2203 # When interrupted or exit'd, cleanup temporary files, and complete
2204 # config.log. We remove comments because anyway the quotes in there
2205 # would cause problems or look ugly.
2206 # WARNING: Use '\'' to represent an apostrophe within the trap.
2207 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2208 trap 'exit_status=$?
2209 # Save into config.log some information that might help in debugging.
2214 ## ---------------- ##
2215 ## Cache variables. ##
2216 ## ---------------- ##
2219 # The following way of writing the cache mishandles newlines in values,
2221 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2222 eval ac_val=\$$ac_var
2226 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2227 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2230 _ | IFS | as_nl) ;; #(
2231 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2232 *) { eval $ac_var=; unset $ac_var;} ;;
2237 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2238 *${as_nl}ac_space=\ *)
2240 "s/'\''/'\''\\\\'\'''\''/g;
2241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2252 ## ----------------- ##
2253 ## Output variables. ##
2254 ## ----------------- ##
2257 for ac_var in $ac_subst_vars
2259 eval ac_val=\$$ac_var
2261 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2263 $as_echo "$ac_var='\''$ac_val'\''"
2267 if test -n "$ac_subst_files"; then
2269 ## ------------------- ##
2270 ## File substitutions. ##
2271 ## ------------------- ##
2274 for ac_var
in $ac_subst_files
2276 eval ac_val
=\$
$ac_var
2278 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2280 $as_echo "$ac_var='\''$ac_val'\''"
2285 if test -s confdefs.h; then
2295 test "$ac_signal" != 0 &&
2296 $as_echo "$as_me: caught signal $ac_signal"
2297 $as_echo "$as_me: exit $exit_status"
2299 rm -f core *.core core.conftest.* &&
2300 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2303 for ac_signal
in 1 2 13 15; do
2304 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2308 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2309 rm -f -r conftest
* confdefs.h
2311 $as_echo "/* confdefs.h */" > confdefs.h
2313 # Predefined preprocessor variables.
2315 cat >>confdefs.h
<<_ACEOF
2316 #define PACKAGE_NAME "$PACKAGE_NAME"
2319 cat >>confdefs.h
<<_ACEOF
2320 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2323 cat >>confdefs.h
<<_ACEOF
2324 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2327 cat >>confdefs.h
<<_ACEOF
2328 #define PACKAGE_STRING "$PACKAGE_STRING"
2331 cat >>confdefs.h
<<_ACEOF
2332 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2335 cat >>confdefs.h
<<_ACEOF
2336 #define PACKAGE_URL "$PACKAGE_URL"
2340 # Let the site file select an alternate cache file if it wants to.
2341 # Prefer an explicitly selected file to automatically selected ones.
2344 if test -n "$CONFIG_SITE"; then
2345 ac_site_file1
=$CONFIG_SITE
2346 elif test "x$prefix" != xNONE
; then
2347 ac_site_file1
=$prefix/share
/config.site
2348 ac_site_file2
=$prefix/etc
/config.site
2350 ac_site_file1
=$ac_default_prefix/share
/config.site
2351 ac_site_file2
=$ac_default_prefix/etc
/config.site
2353 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2355 test "x$ac_site_file" = xNONE
&& continue
2356 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2358 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2359 sed 's/^/| /' "$ac_site_file" >&5
2364 if test -r "$cache_file"; then
2365 # Some versions of bash will fail to source /dev/null (special files
2366 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2367 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2369 $as_echo "$as_me: loading cache $cache_file" >&6;}
2371 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2372 *) .
"./$cache_file";;
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2377 $as_echo "$as_me: creating cache $cache_file" >&6;}
2381 as_fn_append ac_header_list
" stdlib.h"
2382 as_fn_append ac_header_list
" unistd.h"
2383 as_fn_append ac_header_list
" sys/param.h"
2384 # Check that the precious variables saved in the cache have kept the same
2386 ac_cache_corrupted
=false
2387 for ac_var
in $ac_precious_vars; do
2388 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2389 eval ac_new_set
=\
$ac_env_${ac_var}_set
2390 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2391 eval ac_new_val
=\
$ac_env_${ac_var}_value
2392 case $ac_old_set,$ac_new_set in
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2395 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2396 ac_cache_corrupted
=: ;;
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2399 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2400 ac_cache_corrupted
=: ;;
2403 if test "x$ac_old_val" != "x$ac_new_val"; then
2404 # differences in whitespace do not lead to failure.
2405 ac_old_val_w
=`echo x $ac_old_val`
2406 ac_new_val_w
=`echo x $ac_new_val`
2407 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2409 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2410 ac_cache_corrupted
=:
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2413 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2414 eval $ac_var=\
$ac_old_val
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2417 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2419 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2422 # Pass precious variables to config.status.
2423 if test "$ac_new_set" = set; then
2425 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2426 *) ac_arg
=$ac_var=$ac_new_val ;;
2428 case " $ac_configure_args " in
2429 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2430 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2434 if $ac_cache_corrupted; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2438 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2439 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2441 ## -------------------- ##
2442 ## Main body of script. ##
2443 ## -------------------- ##
2446 ac_cpp
='$CPP $CPPFLAGS'
2447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2454 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2455 for ac_t
in install-sh
install.sh shtool
; do
2456 if test -f "$ac_dir/$ac_t"; then
2458 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2463 if test -z "$ac_aux_dir"; then
2464 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2467 # These three variables are undocumented and unsupported,
2468 # and are intended to be withdrawn in a future Autoconf release.
2469 # They can cause serious problems if a builder's source tree is in a directory
2470 # whose full name contains unusual characters.
2471 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2472 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2473 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2477 # Check what host we are running on.
2478 # If a target is not suggested, we use this one.
2479 # Note that what we call a target, Autoconf calls a host.
2480 # Make sure we can run config.sub.
2481 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2482 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2485 $as_echo_n "checking build system type... " >&6; }
2486 if test "${ac_cv_build+set}" = set; then :
2487 $as_echo_n "(cached) " >&6
2489 ac_build_alias
=$build_alias
2490 test "x$ac_build_alias" = x
&&
2491 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2492 test "x$ac_build_alias" = x
&&
2493 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2494 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2495 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2499 $as_echo "$ac_cv_build" >&6; }
2500 case $ac_cv_build in
2502 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2505 ac_save_IFS
=$IFS; IFS
='-'
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2515 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2519 $as_echo_n "checking host system type... " >&6; }
2520 if test "${ac_cv_host+set}" = set; then :
2521 $as_echo_n "(cached) " >&6
2523 if test "x$host_alias" = x
; then
2524 ac_cv_host
=$ac_cv_build
2526 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2527 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2532 $as_echo "$ac_cv_host" >&6; }
2535 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2538 ac_save_IFS
=$IFS; IFS
='-'
2544 # Remember, the first character of IFS is used to create $*,
2545 # except with old shells:
2548 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2552 # The AROS target is slightly different to the normal GNU style
2553 # format. We don't have the middle part, and we reverse the order
2554 # of the $(CPU) and $(OS) bits.
2556 # Don't strip the version of the target yet, it might be
2557 # useful on some systems.
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2560 $as_echo_n "checking for AROS style target... " >&6; }
2562 if test "$target" = "NONE" ; then
2563 target
=$host_os-$host_cpu
2566 if test "$target" = "" ; then
2567 target
=$host_os-$host_cpu
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2574 $as_echo "$target" >&6; }
2576 if test "$host_os" = "mingw32" ; then
2580 #don't know where else to put this...
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2582 $as_echo_n "checking Building AROS in .. ... " >&6; }
2583 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2584 AROS_BUILDDIR_UNIX
=${PWD}
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2586 $as_echo "$AROS_BUILDDIR" >&6; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2589 $as_echo_n "checking AROS Source in .. ... " >&6; }
2590 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2593 $as_echo "$SRCDIR" >&6; }
2595 # Parse the target field into something useful.
2597 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2598 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2601 aros_default_wbwidth
=800
2602 aros_default_wbheight
=600
2603 aros_default_wbdepth
=4
2606 # The first step is to find the host binaries.
2607 # Check for a compiler.
2609 ac_cpp
='$CPP $CPPFLAGS'
2610 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2611 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2612 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2613 if test -n "$ac_tool_prefix"; then
2614 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2615 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2617 $as_echo_n "checking for $ac_word... " >&6; }
2618 if test "${ac_cv_prog_CC+set}" = set; then :
2619 $as_echo_n "(cached) " >&6
2621 if test -n "$CC"; then
2622 ac_cv_prog_CC
="$CC" # Let the user override the test.
2624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2628 test -z "$as_dir" && as_dir
=.
2629 for ac_exec_ext
in '' $ac_executable_extensions; do
2630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2631 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2642 if test -n "$CC"; then
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2644 $as_echo "$CC" >&6; }
2646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2647 $as_echo "no" >&6; }
2652 if test -z "$ac_cv_prog_CC"; then
2654 # Extract the first word of "gcc", so it can be a program name with args.
2655 set dummy gcc
; ac_word
=$2
2656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2657 $as_echo_n "checking for $ac_word... " >&6; }
2658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2659 $as_echo_n "(cached) " >&6
2661 if test -n "$ac_ct_CC"; then
2662 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2664 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2668 test -z "$as_dir" && as_dir
=.
2669 for ac_exec_ext
in '' $ac_executable_extensions; do
2670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2671 ac_cv_prog_ac_ct_CC
="gcc"
2672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2681 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2682 if test -n "$ac_ct_CC"; then
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2684 $as_echo "$ac_ct_CC" >&6; }
2686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2687 $as_echo "no" >&6; }
2690 if test "x$ac_ct_CC" = x
; then
2693 case $cross_compiling:$ac_tool_warned in
2695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2697 ac_tool_warned
=yes ;;
2705 if test -z "$CC"; then
2706 if test -n "$ac_tool_prefix"; then
2707 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2708 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2710 $as_echo_n "checking for $ac_word... " >&6; }
2711 if test "${ac_cv_prog_CC+set}" = set; then :
2712 $as_echo_n "(cached) " >&6
2714 if test -n "$CC"; then
2715 ac_cv_prog_CC
="$CC" # Let the user override the test.
2717 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2721 test -z "$as_dir" && as_dir
=.
2722 for ac_exec_ext
in '' $ac_executable_extensions; do
2723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2724 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2735 if test -n "$CC"; then
2736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2737 $as_echo "$CC" >&6; }
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2746 if test -z "$CC"; then
2747 # Extract the first word of "cc", so it can be a program name with args.
2748 set dummy cc
; ac_word
=$2
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2750 $as_echo_n "checking for $ac_word... " >&6; }
2751 if test "${ac_cv_prog_CC+set}" = set; then :
2752 $as_echo_n "(cached) " >&6
2754 if test -n "$CC"; then
2755 ac_cv_prog_CC
="$CC" # Let the user override the test.
2758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2762 test -z "$as_dir" && as_dir
=.
2763 for ac_exec_ext
in '' $ac_executable_extensions; do
2764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2765 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2766 ac_prog_rejected
=yes
2770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2777 if test $ac_prog_rejected = yes; then
2778 # We found a bogon in the path, so make sure we never use it.
2779 set dummy
$ac_cv_prog_CC
2781 if test $# != 0; then
2782 # We chose a different compiler from the bogus one.
2783 # However, it has the same basename, so the bogon will be chosen
2784 # first if we set CC to just the basename; use the full file name.
2786 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$CC"; then
2803 if test -n "$ac_tool_prefix"; then
2804 for ac_prog
in cl.exe
2806 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2807 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if test "${ac_cv_prog_CC+set}" = set; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$CC"; then
2814 ac_cv_prog_CC
="$CC" # Let the user override the test.
2816 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir
=.
2821 for ac_exec_ext
in '' $ac_executable_extensions; do
2822 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2823 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$CC"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2843 test -n "$CC" && break
2846 if test -z "$CC"; then
2848 for ac_prog
in cl.exe
2850 # Extract the first word of "$ac_prog", so it can be a program name with args.
2851 set dummy
$ac_prog; ac_word
=$2
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2853 $as_echo_n "checking for $ac_word... " >&6; }
2854 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2855 $as_echo_n "(cached) " >&6
2857 if test -n "$ac_ct_CC"; then
2858 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2860 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2864 test -z "$as_dir" && as_dir
=.
2865 for ac_exec_ext
in '' $ac_executable_extensions; do
2866 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2867 ac_cv_prog_ac_ct_CC
="$ac_prog"
2868 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2877 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2878 if test -n "$ac_ct_CC"; then
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2880 $as_echo "$ac_ct_CC" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2887 test -n "$ac_ct_CC" && break
2890 if test "x$ac_ct_CC" = x
; then
2893 case $cross_compiling:$ac_tool_warned in
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2897 ac_tool_warned
=yes ;;
2906 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2907 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2908 as_fn_error
"no acceptable C compiler found in \$PATH
2909 See \`config.log' for more details." "$LINENO" 5; }
2911 # Provide some information about the compiler.
2912 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2915 for ac_option
in --version -v -V -qversion; do
2916 { { ac_try
="$ac_compiler $ac_option >&5"
2918 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2919 *) ac_try_echo=$ac_try;;
2921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2922 $as_echo "$ac_try_echo"; } >&5
2923 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2925 if test -s conftest.err; then
2927 ... rest of stderr output deleted ...
2928 10q' conftest.err >conftest.er1
2929 cat conftest.er1 >&5
2931 rm -f conftest.er1 conftest.err
2932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2933 test $ac_status = 0; }
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2947 ac_clean_files_save=$ac_clean_files
2948 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2949 # Try to create an executable without -o first, disregard a.out.
2950 # It will help us diagnose broken compilers, and finding out an intuition
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2953 $as_echo_n "checking whether the C compiler works... " >&6; }
2954 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2956 # The possible output files:
2957 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2960 for ac_file in $ac_files
2963 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2964 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2969 if { { ac_try="$ac_link_default"
2971 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2972 *) ac_try_echo
=$ac_try;;
2974 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2975 $as_echo "$ac_try_echo"; } >&5
2976 (eval "$ac_link_default") 2>&5
2978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2979 test $ac_status = 0; }; then :
2980 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2981 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2982 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2983 # so that the user can short-circuit this test for compilers unknown to
2985 for ac_file
in $ac_files ''
2987 test -f "$ac_file" ||
continue
2989 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2992 # We found the default executable, but exeext='' is most
2996 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2998 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3000 # We set ac_cv_exeext here because the later test for it is not
3001 # safe: cross compilers may not add the suffix if given an `-o'
3002 # argument, so we may need to know it at that point already.
3003 # Even if this section looks crufty: it has the advantage of
3010 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3015 if test -z "$ac_file"; then :
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 $as_echo "no" >&6; }
3018 $as_echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.
$ac_ext >&5
3021 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3022 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3023 { as_fn_set_status
77
3024 as_fn_error
"C compiler cannot create executables
3025 See \`config.log' for more details." "$LINENO" 5; }; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3028 $as_echo "yes" >&6; }
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3031 $as_echo_n "checking for C compiler default output file name... " >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3033 $as_echo "$ac_file" >&6; }
3034 ac_exeext
=$ac_cv_exeext
3036 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3037 ac_clean_files
=$ac_clean_files_save
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3039 $as_echo_n "checking for suffix of executables... " >&6; }
3040 if { { ac_try
="$ac_link"
3042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3043 *) ac_try_echo=$ac_try;;
3045 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3046 $as_echo "$ac_try_echo"; } >&5
3047 (eval "$ac_link") 2>&5
3049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3050 test $ac_status = 0; }; then :
3051 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3052 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3053 # work properly (i.e., refer to `conftest.exe'), while it won't with
3055 for ac_file
in conftest.exe conftest conftest.
*; do
3056 test -f "$ac_file" ||
continue
3058 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3059 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3065 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3066 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3067 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3068 See \`config.log' for more details." "$LINENO" 5; }
3070 rm -f conftest conftest
$ac_cv_exeext
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3072 $as_echo "$ac_cv_exeext" >&6; }
3074 rm -f conftest.
$ac_ext
3075 EXEEXT
=$ac_cv_exeext
3077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3083 FILE *f = fopen ("conftest.out", "w");
3084 return ferror (f) || fclose (f) != 0;
3090 ac_clean_files
="$ac_clean_files conftest.out"
3091 # Check that the compiler produces executables we can run. If not, either
3092 # the compiler is broken, or we cross compile.
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3094 $as_echo_n "checking whether we are cross compiling... " >&6; }
3095 if test "$cross_compiling" != yes; then
3096 { { ac_try
="$ac_link"
3098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3099 *) ac_try_echo=$ac_try;;
3101 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3102 $as_echo "$ac_try_echo"; } >&5
3103 (eval "$ac_link") 2>&5
3105 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3106 test $ac_status = 0; }
3107 if { ac_try='./conftest$ac_cv_exeext'
3108 { { case "(($ac_try" in
3109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3110 *) ac_try_echo
=$ac_try;;
3112 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_try") 2>&5
3116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3117 test $ac_status = 0; }; }; then
3120 if test "$cross_compiling" = maybe
; then
3123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3125 as_fn_error
"cannot run C compiled programs.
3126 If you meant to cross compile, use \`--host'.
3127 See \`config.log' for more details." "$LINENO" 5; }
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3132 $as_echo "$cross_compiling" >&6; }
3134 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3135 ac_clean_files
=$ac_clean_files_save
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3137 $as_echo_n "checking for suffix of object files... " >&6; }
3138 if test "${ac_cv_objext+set}" = set; then :
3139 $as_echo_n "(cached) " >&6
3141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3142 /* end confdefs.h. */
3152 rm -f conftest.o conftest.obj
3153 if { { ac_try
="$ac_compile"
3155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3156 *) ac_try_echo=$ac_try;;
3158 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3159 $as_echo "$ac_try_echo"; } >&5
3160 (eval "$ac_compile") 2>&5
3162 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3163 test $ac_status = 0; }; then :
3164 for ac_file in conftest.o conftest.obj conftest.*; do
3165 test -f "$ac_file" || continue;
3167 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3168 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3173 $as_echo "$as_me: failed program was:" >&5
3174 sed 's/^/| /' conftest.$ac_ext >&5
3176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error "cannot compute suffix of object files
: cannot compile
3179 See \
`config.log' for more details." "$LINENO" 5; }
3181 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3184 $as_echo "$ac_cv_objext" >&6; }
3185 OBJEXT=$ac_cv_objext
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3188 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3189 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3190 $as_echo_n "(cached) " >&6
3192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3193 /* end confdefs.h. */
3206 if ac_fn_c_try_compile "$LINENO"; then :
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3216 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3217 if test $ac_compiler_gnu = yes; then
3222 ac_test_CFLAGS=${CFLAGS+set}
3223 ac_save_CFLAGS=$CFLAGS
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3225 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3226 if test "${ac_cv_prog_cc_g+set}" = set; then :
3227 $as_echo_n "(cached) " >&6
3229 ac_save_c_werror_flag=$ac_c_werror_flag
3230 ac_c_werror_flag=yes
3233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3234 /* end confdefs.h. */
3244 if ac_fn_c_try_compile "$LINENO"; then :
3248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3249 /* end confdefs.h. */
3259 if ac_fn_c_try_compile "$LINENO"; then :
3262 ac_c_werror_flag=$ac_save_c_werror_flag
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3275 if ac_fn_c_try_compile "$LINENO"; then :
3278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3283 ac_c_werror_flag=$ac_save_c_werror_flag
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3286 $as_echo "$ac_cv_prog_cc_g" >&6; }
3287 if test "$ac_test_CFLAGS" = set; then
3288 CFLAGS=$ac_save_CFLAGS
3289 elif test $ac_cv_prog_cc_g = yes; then
3290 if test "$GCC" = yes; then
3296 if test "$GCC" = yes; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3303 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3304 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3305 $as_echo_n "(cached) " >&6
3307 ac_cv_prog_cc_c89=no
3309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3310 /* end confdefs.h. */
3313 #include <sys/types.h>
3314 #include <sys/stat.h>
3315 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3316 struct buf { int x; };
3317 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3318 static char *e (p, i)
3324 static char *f (char * (*g) (char **, int), char **p, ...)
3329 s = g (p, va_arg (v,int));
3334 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3335 function prototypes and stuff, but not '\xHH' hex character constants.
3336 These don't provoke an error unfortunately, instead are silently treated
3337 as 'x'. The following induces an error, until -std is added to get
3338 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3339 array size at least. It's necessary to write '\x00'==0 to get something
3340 that's true only with -std. */
3341 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3343 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3344 inside strings and character constants. */
3346 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3348 int test (int i, double x);
3349 struct s1 {int (*f) (int a);};
3350 struct s2 {int (*f) (double a);};
3351 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3357 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3362 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3363 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3365 CC="$ac_save_CC $ac_arg"
3366 if ac_fn_c_try_compile "$LINENO"; then :
3367 ac_cv_prog_cc_c89=$ac_arg
3369 rm -f core conftest.err conftest.$ac_objext
3370 test "x$ac_cv_prog_cc_c89" != "xno" && break
3372 rm -f conftest.$ac_ext
3377 case "x$ac_cv_prog_cc_c89" in
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3380 $as_echo "none needed" >&6; } ;;
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3383 $as_echo "unsupported" >&6; } ;;
3385 CC="$CC $ac_cv_prog_cc_c89"
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3387 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3389 if test "x$ac_cv_prog_cc_c89" != xno; then :
3394 ac_cpp='$CPP $CPPFLAGS'
3395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3399 case $ac_cv_prog_cc_stdc in #(
3401 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3404 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3405 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3406 $as_echo_n "(cached) " >&6
3408 ac_cv_prog_cc_c99=no
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3413 #include <stdbool.h>
3418 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3419 #define debug(...) fprintf (stderr, __VA_ARGS__)
3420 #define showlist(...) puts (#__VA_ARGS__)
3421 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3423 test_varargs_macros (void)
3428 debug ("X = %d\n", x);
3429 showlist (The first, second, and third items.);
3430 report (x>y, "x is %d but y is %d", x, y);
3433 // Check long long types.
3434 #define BIG64 18446744073709551615ull
3435 #define BIG32 4294967295ul
3436 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3438 your preprocessor is broken;
3442 your preprocessor is broken;
3444 static long long int bignum = -9223372036854775807LL;
3445 static unsigned long long int ubignum = BIG64;
3447 struct incomplete_array
3455 const wchar_t *name;
3459 typedef const char *ccp;
3462 test_restrict (ccp restrict text)
3464 // See if C++-style comments work.
3465 // Iterate through items via the restricted pointer.
3466 // Also check for declarations in for loops.
3467 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3472 // Check varargs and va_copy.
3474 test_varargs (const char *format, ...)
3477 va_start (args, format);
3479 va_copy (args_copy, args);
3490 str = va_arg (args_copy, const char *);
3493 number = va_arg (args_copy, int);
3496 fnumber = va_arg (args_copy, double);
3511 _Bool success = false;
3514 if (test_restrict ("String literal") == 0)
3516 char *restrict newvar = "Another string";
3519 test_varargs ("s, d' f .", "string", 65, 34.234);
3520 test_varargs_macros ();
3522 // Check flexible array members.
3523 struct incomplete_array *ia =
3524 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3526 for (int i = 0; i < ia->datasize; ++i)
3527 ia->data[i] = i * 1.234;
3529 // Check named initializers.
3530 struct named_init ni = {
3532 .name = L"Test wide string",
3533 .average = 543.34343,
3538 int dynamic_array[ni.number];
3539 dynamic_array[ni.number - 1] = 543;
3541 // work around unused variable warnings
3542 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3543 || dynamic_array[ni.number - 1] != 543);
3549 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3551 CC="$ac_save_CC $ac_arg"
3552 if ac_fn_c_try_compile "$LINENO"; then :
3553 ac_cv_prog_cc_c99=$ac_arg
3555 rm -f core conftest.err conftest.$ac_objext
3556 test "x$ac_cv_prog_cc_c99" != "xno" && break
3558 rm -f conftest.$ac_ext
3563 case "x$ac_cv_prog_cc_c99" in
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3566 $as_echo "none needed" >&6; } ;;
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3569 $as_echo "unsupported" >&6; } ;;
3571 CC="$CC $ac_cv_prog_cc_c99"
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3573 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3575 if test "x$ac_cv_prog_cc_c99" != xno; then :
3576 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3579 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3580 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3581 $as_echo_n "(cached) " >&6
3583 ac_cv_prog_cc_c89=no
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3589 #include <sys/types.h>
3590 #include <sys/stat.h>
3591 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3592 struct buf { int x; };
3593 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3594 static char *e (p, i)
3600 static char *f (char * (*g) (char **, int), char **p, ...)
3605 s = g (p, va_arg (v,int));
3610 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3611 function prototypes and stuff, but not '\xHH' hex character constants.
3612 These don't provoke an error unfortunately, instead are silently treated
3613 as 'x'. The following induces an error, until -std is added to get
3614 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3615 array size at least. It's necessary to write '\x00'==0 to get something
3616 that's true only with -std. */
3617 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3619 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3620 inside strings and character constants. */
3622 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3624 int test (int i, double x);
3625 struct s1 {int (*f) (int a);};
3626 struct s2 {int (*f) (double a);};
3627 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3633 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3638 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3639 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3641 CC="$ac_save_CC $ac_arg"
3642 if ac_fn_c_try_compile "$LINENO"; then :
3643 ac_cv_prog_cc_c89=$ac_arg
3645 rm -f core conftest.err conftest.$ac_objext
3646 test "x$ac_cv_prog_cc_c89" != "xno" && break
3648 rm -f conftest.$ac_ext
3653 case "x$ac_cv_prog_cc_c89" in
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3656 $as_echo "none needed" >&6; } ;;
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3659 $as_echo "unsupported" >&6; } ;;
3661 CC="$CC $ac_cv_prog_cc_c89"
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3663 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3665 if test "x$ac_cv_prog_cc_c89" != xno; then :
3666 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3668 ac_cv_prog_cc_stdc=no
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3675 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3676 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3680 case $ac_cv_prog_cc_stdc in #(
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3683 $as_echo "unsupported" >&6; } ;; #(
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3686 $as_echo "none needed" >&6; } ;; #(
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3689 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3693 ac_cpp='$CPP $CPPFLAGS'
3694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3698 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3699 # On Suns, sometimes $CPP names a directory.
3700 if test -n "$CPP" && test -d "$CPP"; then
3703 if test -z "$CPP"; then
3704 if test "${ac_cv_prog_CPP+set}" = set; then :
3705 $as_echo_n "(cached) " >&6
3707 # Double quotes because CPP needs to be expanded
3708 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3711 for ac_c_preproc_warn_flag in '' yes
3713 # Use a header file that comes with gcc, so configuring glibc
3714 # with a fresh cross-compiler works.
3715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3716 # <limits.h> exists even on freestanding compilers.
3717 # On the NeXT, cc -E runs the code through the compiler's parser,
3718 # not just through cpp. "Syntax error" is here to catch this case.
3719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3720 /* end confdefs.h. */
3722 # include <limits.h>
3724 # include <assert.h>
3728 if ac_fn_c_try_cpp "$LINENO"; then :
3731 # Broken: fails on valid input.
3734 rm -f conftest.err conftest.$ac_ext
3736 # OK, works on sane cases. Now check whether nonexistent headers
3737 # can be detected and how.
3738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3739 /* end confdefs.h. */
3740 #include <ac_nonexistent.h>
3742 if ac_fn_c_try_cpp "$LINENO"; then :
3743 # Broken: success on invalid input.
3746 # Passes both tests.
3750 rm -f conftest.err conftest.$ac_ext
3753 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3754 rm -f conftest.err conftest.
$ac_ext
3755 if $ac_preproc_ok; then :
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3768 $as_echo "$CPP" >&6; }
3770 for ac_c_preproc_warn_flag
in '' yes
3772 # Use a header file that comes with gcc, so configuring glibc
3773 # with a fresh cross-compiler works.
3774 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3775 # <limits.h> exists even on freestanding compilers.
3776 # On the NeXT, cc -E runs the code through the compiler's parser,
3777 # not just through cpp. "Syntax error" is here to catch this case.
3778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3779 /* end confdefs.h. */
3781 # include <limits.h>
3783 # include <assert.h>
3787 if ac_fn_c_try_cpp
"$LINENO"; then :
3790 # Broken: fails on valid input.
3793 rm -f conftest.err conftest.
$ac_ext
3795 # OK, works on sane cases. Now check whether nonexistent headers
3796 # can be detected and how.
3797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3798 /* end confdefs.h. */
3799 #include <ac_nonexistent.h>
3801 if ac_fn_c_try_cpp
"$LINENO"; then :
3802 # Broken: success on invalid input.
3805 # Passes both tests.
3809 rm -f conftest.err conftest.
$ac_ext
3812 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3813 rm -f conftest.err conftest.
$ac_ext
3814 if $ac_preproc_ok; then :
3817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3819 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3820 See \`config.log' for more details." "$LINENO" 5; }
3824 ac_cpp
='$CPP $CPPFLAGS'
3825 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3826 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3827 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3830 # Check for a compatible awk
3831 for ac_prog
in gawk nawk
3833 # Extract the first word of "$ac_prog", so it can be a program name with args.
3834 set dummy
$ac_prog; ac_word
=$2
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3836 $as_echo_n "checking for $ac_word... " >&6; }
3837 if test "${ac_cv_prog_AWK+set}" = set; then :
3838 $as_echo_n "(cached) " >&6
3840 if test -n "$AWK"; then
3841 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3847 test -z "$as_dir" && as_dir
=.
3848 for ac_exec_ext
in '' $ac_executable_extensions; do
3849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3850 ac_cv_prog_AWK
="$ac_prog"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 if test -n "$AWK"; then
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3863 $as_echo "$AWK" >&6; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3866 $as_echo "no" >&6; }
3870 test -n "$AWK" && break
3873 if test "$AWK" = ""; then
3874 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3876 # Extract the first word of "mmake", so it can be a program name with args.
3877 set dummy mmake
; ac_word
=$2
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3879 $as_echo_n "checking for $ac_word... " >&6; }
3880 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3881 $as_echo_n "(cached) " >&6
3883 if test -n "$MMAKE"; then
3884 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3890 test -z "$as_dir" && as_dir
=.
3891 for ac_exec_ext
in '' $ac_executable_extensions; do
3892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3893 ac_cv_prog_MMAKE
="mmake "
3894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3903 MMAKE
=$ac_cv_prog_MMAKE
3904 if test -n "$MMAKE"; then
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3906 $as_echo "$MMAKE" >&6; }
3908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3909 $as_echo "no" >&6; }
3914 # Perform some default variable assignments. Note all of these will be
3915 # Regenerated from the script, so there is no need to cache them.
3918 if test "$GCC" = "yes"; then
3919 aros_gcc_ld
=`$CC -print-prog-name=ld`
3920 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3921 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3923 $as_echo_n "checking for $ac_word... " >&6; }
3924 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3925 $as_echo_n "(cached) " >&6
3927 case $aros_host_ld in
3929 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3933 for as_dir
in `dirname $aros_gcc_ld`
3936 test -z "$as_dir" && as_dir
=.
3937 for ac_exec_ext
in '' $ac_executable_extensions; do
3938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3939 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 aros_host_ld
=$ac_cv_path_aros_host_ld
3951 if test -n "$aros_host_ld"; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3953 $as_echo "$aros_host_ld" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3961 if test "$aros_host_ld" = ""; then
3962 # Extract the first word of "ld", so it can be a program name with args.
3963 set dummy ld
; ac_word
=$2
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3965 $as_echo_n "checking for $ac_word... " >&6; }
3966 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3967 $as_echo_n "(cached) " >&6
3969 case $aros_host_ld in
3971 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3974 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir
=.
3979 for ac_exec_ext
in '' $ac_executable_extensions; do
3980 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3981 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3982 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 aros_host_ld
=$ac_cv_path_aros_host_ld
3993 if test -n "$aros_host_ld"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3995 $as_echo "$aros_host_ld" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4003 if test "$aros_host_ld" = ""; then
4004 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4006 aros_host_make
="make"
4007 aros_host_cflags
=$CFLAGS
4008 aros_host_ldflags
=$LDFLAGS
4009 aros_host_debug
="-g -O0"
4010 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4011 aros_host_mkargs
="--no-print-directory"
4012 aros_host_incl
="/usr/include"
4013 aros_host_exe_suffix
="$EXEEXT"
4014 aros_host_lib_suffix
=""
4016 for ac_prog
in aclocal aclocal19 aclocal-1.9
4018 # Extract the first word of "$ac_prog", so it can be a program name with args.
4019 set dummy
$ac_prog; ac_word
=$2
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021 $as_echo_n "checking for $ac_word... " >&6; }
4022 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4023 $as_echo_n "(cached) " >&6
4025 if test -n "$aros_host_aclocal"; then
4026 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4032 test -z "$as_dir" && as_dir
=.
4033 for ac_exec_ext
in '' $ac_executable_extensions; do
4034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4035 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4046 if test -n "$aros_host_aclocal"; then
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4048 $as_echo "$aros_host_aclocal" >&6; }
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4051 $as_echo "no" >&6; }
4055 test -n "$aros_host_aclocal" && break
4058 for ac_prog
in autoconf autoconf259 autoconf253
4060 # Extract the first word of "$ac_prog", so it can be a program name with args.
4061 set dummy
$ac_prog; ac_word
=$2
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4063 $as_echo_n "checking for $ac_word... " >&6; }
4064 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4065 $as_echo_n "(cached) " >&6
4067 if test -n "$aros_host_autoconf"; then
4068 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4074 test -z "$as_dir" && as_dir
=.
4075 for ac_exec_ext
in '' $ac_executable_extensions; do
4076 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4077 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4087 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4088 if test -n "$aros_host_autoconf"; then
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4090 $as_echo "$aros_host_autoconf" >&6; }
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4093 $as_echo "no" >&6; }
4097 test -n "$aros_host_autoconf" && break
4100 for ac_prog
in autoheader autoheader259 autoheader253
4102 # Extract the first word of "$ac_prog", so it can be a program name with args.
4103 set dummy
$ac_prog; ac_word
=$2
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4105 $as_echo_n "checking for $ac_word... " >&6; }
4106 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4107 $as_echo_n "(cached) " >&6
4109 if test -n "$aros_host_autoheader"; then
4110 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4116 test -z "$as_dir" && as_dir
=.
4117 for ac_exec_ext
in '' $ac_executable_extensions; do
4118 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4119 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4129 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4130 if test -n "$aros_host_autoheader"; then
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4132 $as_echo "$aros_host_autoheader" >&6; }
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4135 $as_echo "no" >&6; }
4139 test -n "$aros_host_autoheader" && break
4142 for ac_prog
in automake automake19 automake-1.9
4144 # Extract the first word of "$ac_prog", so it can be a program name with args.
4145 set dummy
$ac_prog; ac_word
=$2
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4147 $as_echo_n "checking for $ac_word... " >&6; }
4148 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4149 $as_echo_n "(cached) " >&6
4151 if test -n "$aros_host_automake"; then
4152 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4158 test -z "$as_dir" && as_dir
=.
4159 for ac_exec_ext
in '' $ac_executable_extensions; do
4160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4161 ac_cv_prog_aros_host_automake
="$ac_prog"
4162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4171 aros_host_automake
=$ac_cv_prog_aros_host_automake
4172 if test -n "$aros_host_automake"; then
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4174 $as_echo "$aros_host_automake" >&6; }
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4177 $as_echo "no" >&6; }
4181 test -n "$aros_host_automake" && break
4185 if test "$aros_host_aclocal" = ""; then
4186 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4188 if test "$aros_host_automake" = ""; then
4189 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4192 case "$aros_host_cc" in
4194 aros_host_cc_pipe
="-pipe"
4197 aros_host_cc_pipe
=""
4200 aros_host_cc_pipe
=""
4204 aros_target_cc_includes
=""
4206 # This is the main host configuration section. It is where the host
4207 # can change the values of any variables it needs to change. We do
4208 # not look at anything that compiles to the target yet, we'll get
4213 aros_host_arch
="aros"
4214 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4217 aros_host_cpu
="i386"
4220 aros_host_cpu
="x86_64"
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4224 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4225 aros_host_cpu
="$host_cpu"
4231 aros_host_arch
="linux"
4232 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4235 aros_host_cpu
="i386"
4238 aros_host_cpu
="x86_64"
4241 aros_host_cpu
="m68k"
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4248 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4249 aros_host_cpu
="$host_cpu"
4255 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4256 aros_host_make
="gmake"
4257 aros_host_arch
="freebsd"
4258 aros_host_cpu
="i386"
4260 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4265 aros_object_format
="elf_i386"
4269 aros_object_format
="elf_i386_fbsd"
4276 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4277 aros_host_arch
="darwin"
4280 aros_host_cpu
="i386"
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4287 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4288 aros_host_cpu
="$host_cpu"
4292 aros_host_ldflags
="$aros_host_ldflags -liconv"
4297 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4298 aros_host_make
="gmake"
4299 aros_host_arch
="dragonfly"
4302 aros_host_cpu
="i386"
4305 aros_host_cpu
="x86_64"
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4309 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4310 aros_host_cpu
="$host_cpu"
4316 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4317 aros_host_make
="gmake"
4318 aros_host_arch
="netbsd"
4321 aros_host_cpu
="i386"
4324 aros_host_cpu
="m68k"
4327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4328 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4329 aros_host_cpu
="$host_cpu"
4332 aros_host_lib_suffix
=".0.0"
4336 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4337 aros_host_make
="gmake"
4338 aros_host_arch
="openbsd"
4341 aros_host_cpu
="i386"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4345 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4346 aros_host_cpu
="$host_cpu"
4352 aros_host_arch
="solaris"
4353 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4356 aros_host_cpu
="i386"
4359 aros_host_cpu
="sparc"
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4363 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4364 aros_host_cpu
="$host_cpu"
4370 aros_host_arch
="morphos"
4375 aros_host_arch
="amiga"
4380 TOUCH
="/gg/bin/touch"
4383 aros_host_cpu
="m68k"
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4390 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4391 aros_host_cpu
="$host_cpu"
4397 aros_host_arch
="cygwin"
4398 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4401 aros_host_cpu
="i386"
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4405 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4406 aros_host_cpu
="$host_cpu"
4412 aros_host_arch
="mingw32"
4413 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4416 aros_host_cpu
="i386"
4419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4420 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4421 aros_host_cpu
="$host_cpu"
4426 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4430 # Extract the first word of "ar", so it can be a program name with args.
4431 set dummy
ar; ac_word
=$2
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4433 $as_echo_n "checking for $ac_word... " >&6; }
4434 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4435 $as_echo_n "(cached) " >&6
4437 if test -n "$aros_host_ar"; then
4438 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4444 test -z "$as_dir" && as_dir
=.
4445 for ac_exec_ext
in '' $ac_executable_extensions; do
4446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4447 ac_cv_prog_aros_host_ar
="ar cr"
4448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457 aros_host_ar
=$ac_cv_prog_aros_host_ar
4458 if test -n "$aros_host_ar"; then
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4460 $as_echo "$aros_host_ar" >&6; }
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4463 $as_echo "no" >&6; }
4467 if test "$aros_host_ar" = ""; then
4468 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4470 # Extract the first word of "ranlib", so it can be a program name with args.
4471 set dummy ranlib
; ac_word
=$2
4472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4473 $as_echo_n "checking for $ac_word... " >&6; }
4474 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4475 $as_echo_n "(cached) " >&6
4477 if test -n "$aros_host_ranlib"; then
4478 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4484 test -z "$as_dir" && as_dir
=.
4485 for ac_exec_ext
in '' $ac_executable_extensions; do
4486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4487 ac_cv_prog_aros_host_ranlib
="ranlib "
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4498 if test -n "$aros_host_ranlib"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4500 $as_echo "$aros_host_ranlib" >&6; }
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4503 $as_echo "no" >&6; }
4507 if test "$aros_host_ranlib" = ""; then
4508 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4510 # Extract the first word of "strip", so it can be a program name with args.
4511 set dummy strip
; ac_word
=$2
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4513 $as_echo_n "checking for $ac_word... " >&6; }
4514 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4515 $as_echo_n "(cached) " >&6
4517 if test -n "$aros_host_strip"; then
4518 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4520 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4524 test -z "$as_dir" && as_dir
=.
4525 for ac_exec_ext
in '' $ac_executable_extensions; do
4526 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4527 ac_cv_prog_aros_host_strip
="strip "
4528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4537 aros_host_strip
=$ac_cv_prog_aros_host_strip
4538 if test -n "$aros_host_strip"; then
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4540 $as_echo "$aros_host_strip" >&6; }
4542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4543 $as_echo "no" >&6; }
4547 if test "$aros_host_strip" = ""; then
4548 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4551 # Extract the first word of "rm", so it can be a program name with args.
4552 set dummy
rm; ac_word
=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if test "${ac_cv_prog_RM+set}" = set; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$RM"; then
4559 ac_cv_prog_RM
="$RM" # Let the user override the test.
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_exec_ext
in '' $ac_executable_extensions; do
4567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4568 ac_cv_prog_RM
="rm -rf"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4579 if test -n "$RM"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4581 $as_echo "$RM" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4588 if test "$RM" = ""; then
4589 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4591 # Extract the first word of "cp", so it can be a program name with args.
4592 set dummy
cp; ac_word
=$2
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4594 $as_echo_n "checking for $ac_word... " >&6; }
4595 if test "${ac_cv_prog_CP+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4598 if test -n "$CP"; then
4599 ac_cv_prog_CP
="$CP" # Let the user override the test.
4601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 test -z "$as_dir" && as_dir
=.
4606 for ac_exec_ext
in '' $ac_executable_extensions; do
4607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4619 if test -n "$CP"; then
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4621 $as_echo "$CP" >&6; }
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4624 $as_echo "no" >&6; }
4628 if test "$CP" = ""; then
4629 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4631 # Extract the first word of "mv", so it can be a program name with args.
4632 set dummy
mv; ac_word
=$2
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4634 $as_echo_n "checking for $ac_word... " >&6; }
4635 if test "${ac_cv_prog_MV+set}" = set; then :
4636 $as_echo_n "(cached) " >&6
4638 if test -n "$MV"; then
4639 ac_cv_prog_MV
="$MV" # Let the user override the test.
4641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4645 test -z "$as_dir" && as_dir
=.
4646 for ac_exec_ext
in '' $ac_executable_extensions; do
4647 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4659 if test -n "$MV"; then
4660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4661 $as_echo "$MV" >&6; }
4663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4664 $as_echo "no" >&6; }
4668 if test "$MV" = ""; then
4669 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4671 # Extract the first word of "echo", so it can be a program name with args.
4672 set dummy
echo; ac_word
=$2
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4674 $as_echo_n "checking for $ac_word... " >&6; }
4675 if test "${ac_cv_prog_ECHO+set}" = set; then :
4676 $as_echo_n "(cached) " >&6
4678 if test -n "$ECHO"; then
4679 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4685 test -z "$as_dir" && as_dir
=.
4686 for ac_exec_ext
in '' $ac_executable_extensions; do
4687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4688 ac_cv_prog_ECHO
="echo "
4689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4698 ECHO
=$ac_cv_prog_ECHO
4699 if test -n "$ECHO"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4701 $as_echo "$ECHO" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4708 if test "$ECHO" = ""; then
4709 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4711 # Extract the first word of "mkdir", so it can be a program name with args.
4712 set dummy mkdir
; ac_word
=$2
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4714 $as_echo_n "checking for $ac_word... " >&6; }
4715 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4716 $as_echo_n "(cached) " >&6
4718 if test -n "$MKDIR"; then
4719 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 test -z "$as_dir" && as_dir
=.
4726 for ac_exec_ext
in '' $ac_executable_extensions; do
4727 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4728 ac_cv_prog_MKDIR
="mkdir -p"
4729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4738 MKDIR
=$ac_cv_prog_MKDIR
4739 if test -n "$MKDIR"; then
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4741 $as_echo "$MKDIR" >&6; }
4743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4744 $as_echo "no" >&6; }
4748 if test "$MKDIR" = ""; then
4749 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4751 # Extract the first word of "touch", so it can be a program name with args.
4752 set dummy
touch; ac_word
=$2
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4754 $as_echo_n "checking for $ac_word... " >&6; }
4755 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4758 if test -n "$TOUCH"; then
4759 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4765 test -z "$as_dir" && as_dir
=.
4766 for ac_exec_ext
in '' $ac_executable_extensions; do
4767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4768 ac_cv_prog_TOUCH
="touch "
4769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4778 TOUCH
=$ac_cv_prog_TOUCH
4779 if test -n "$TOUCH"; then
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4781 $as_echo "$TOUCH" >&6; }
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4784 $as_echo "no" >&6; }
4788 if test "$TOUCH" = ""; then
4789 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4791 # Extract the first word of "sort", so it can be a program name with args.
4792 set dummy
sort; ac_word
=$2
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4794 $as_echo_n "checking for $ac_word... " >&6; }
4795 if test "${ac_cv_prog_SORT+set}" = set; then :
4796 $as_echo_n "(cached) " >&6
4798 if test -n "$SORT"; then
4799 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4805 test -z "$as_dir" && as_dir
=.
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4808 ac_cv_prog_SORT
="sort "
4809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4818 SORT
=$ac_cv_prog_SORT
4819 if test -n "$SORT"; then
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4821 $as_echo "$SORT" >&6; }
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4824 $as_echo "no" >&6; }
4828 if test "$SORT" = ""; then
4829 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4831 # Extract the first word of "uniq", so it can be a program name with args.
4832 set dummy
uniq; ac_word
=$2
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4834 $as_echo_n "checking for $ac_word... " >&6; }
4835 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4836 $as_echo_n "(cached) " >&6
4838 if test -n "$UNIQ"; then
4839 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4841 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4845 test -z "$as_dir" && as_dir
=.
4846 for ac_exec_ext
in '' $ac_executable_extensions; do
4847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4848 ac_cv_prog_UNIQ
="uniq "
4849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4858 UNIQ
=$ac_cv_prog_UNIQ
4859 if test -n "$UNIQ"; then
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4861 $as_echo "$UNIQ" >&6; }
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4864 $as_echo "no" >&6; }
4868 if test "$UNIQ" = ""; then
4869 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4871 # Extract the first word of "true", so it can be a program name with args.
4872 set dummy true
; ac_word
=$2
4873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874 $as_echo_n "checking for $ac_word... " >&6; }
4875 if test "${ac_cv_prog_NOP+set}" = set; then :
4876 $as_echo_n "(cached) " >&6
4878 if test -n "$NOP"; then
4879 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4881 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4885 test -z "$as_dir" && as_dir
=.
4886 for ac_exec_ext
in '' $ac_executable_extensions; do
4887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4888 ac_cv_prog_NOP
="true "
4889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 if test -n "$NOP"; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4901 $as_echo "$NOP" >&6; }
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4904 $as_echo "no" >&6; }
4908 if test "$NOP" = ""; then
4909 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4911 # Extract the first word of "cat", so it can be a program name with args.
4912 set dummy
cat; ac_word
=$2
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914 $as_echo_n "checking for $ac_word... " >&6; }
4915 if test "${ac_cv_prog_CAT+set}" = set; then :
4916 $as_echo_n "(cached) " >&6
4918 if test -n "$CAT"; then
4919 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4921 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4925 test -z "$as_dir" && as_dir
=.
4926 for ac_exec_ext
in '' $ac_executable_extensions; do
4927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4928 ac_cv_prog_CAT
="cat "
4929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 if test -n "$CAT"; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
4941 $as_echo "$CAT" >&6; }
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4944 $as_echo "no" >&6; }
4948 if test "$CAT" = ""; then
4949 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
4951 # Extract the first word of "bison", so it can be a program name with args.
4952 set dummy bison
; ac_word
=$2
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 $as_echo_n "checking for $ac_word... " >&6; }
4955 if test "${ac_cv_prog_BISON+set}" = set; then :
4956 $as_echo_n "(cached) " >&6
4958 if test -n "$BISON"; then
4959 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4965 test -z "$as_dir" && as_dir
=.
4966 for ac_exec_ext
in '' $ac_executable_extensions; do
4967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4968 ac_cv_prog_BISON
="bison "
4969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4978 BISON
=$ac_cv_prog_BISON
4979 if test -n "$BISON"; then
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4981 $as_echo "$BISON" >&6; }
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4984 $as_echo "no" >&6; }
4988 if test "$BISON" = ""; then
4989 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
4991 # Extract the first word of "flex", so it can be a program name with args.
4992 set dummy flex
; ac_word
=$2
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4994 $as_echo_n "checking for $ac_word... " >&6; }
4995 if test "${ac_cv_prog_FLEX+set}" = set; then :
4996 $as_echo_n "(cached) " >&6
4998 if test -n "$FLEX"; then
4999 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5005 test -z "$as_dir" && as_dir
=.
5006 for ac_exec_ext
in '' $ac_executable_extensions; do
5007 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5008 ac_cv_prog_FLEX
="flex "
5009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5018 FLEX
=$ac_cv_prog_FLEX
5019 if test -n "$FLEX"; then
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5021 $as_echo "$FLEX" >&6; }
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5024 $as_echo "no" >&6; }
5028 if test "$FLEX" = ""; then
5029 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5031 # Extract the first word of "pngtopnm", so it can be a program name with args.
5032 set dummy pngtopnm
; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$PNGTOPNM"; then
5039 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048 ac_cv_prog_PNGTOPNM
="pngtopnm "
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5059 if test -n "$PNGTOPNM"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5061 $as_echo "$PNGTOPNM" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 if test "$PNGTOPNM" = ""; then
5069 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5071 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5072 set dummy ppmtoilbm
; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$PPMTOILBM"; then
5079 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5088 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5099 if test -n "$PPMTOILBM"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5101 $as_echo "$PPMTOILBM" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5108 if test "$PPMTOILBM" = ""; then
5109 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5111 # Extract the first word of "sed", so it can be a program name with args.
5112 set dummy
sed; ac_word
=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if test "${ac_cv_prog_SED+set}" = set; then :
5116 $as_echo_n "(cached) " >&6
5118 if test -n "$SED"; then
5119 ac_cv_prog_SED
="$SED" # Let the user override the test.
5121 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5125 test -z "$as_dir" && as_dir
=.
5126 for ac_exec_ext
in '' $ac_executable_extensions; do
5127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5128 ac_cv_prog_SED
="sed "
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 if test -n "$SED"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5141 $as_echo "$SED" >&6; }
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5148 if test "$SED" = ""; then
5149 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5151 # Extract the first word of "chmod", so it can be a program name with args.
5152 set dummy
chmod; ac_word
=$2
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5154 $as_echo_n "checking for $ac_word... " >&6; }
5155 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5156 $as_echo_n "(cached) " >&6
5158 if test -n "$CHMOD"; then
5159 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5161 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5165 test -z "$as_dir" && as_dir
=.
5166 for ac_exec_ext
in '' $ac_executable_extensions; do
5167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5168 ac_cv_prog_CHMOD
="chmod "
5169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5178 CHMOD
=$ac_cv_prog_CHMOD
5179 if test -n "$CHMOD"; then
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5181 $as_echo "$CHMOD" >&6; }
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5184 $as_echo "no" >&6; }
5188 if test "$CHMOD" = ""; then
5189 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5196 if test -n "$PYTHON"; then
5197 # If the user set $PYTHON, use it and don't search something else.
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.2.1" >&5
5199 $as_echo_n "checking whether $PYTHON version >= 2.2.1... " >&6; }
5200 prog
="import sys, string
5201 # split strings by '.' and convert to numeric. Append some zeros
5202 # because we need at least 4 digits for the hex conversion.
5203 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5205 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5206 sys.exit(sys.hexversion < minverhex)"
5207 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5208 ($PYTHON -c "$prog") >&5 2>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; then :
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5213 $as_echo "yes" >&6; }
5215 as_fn_error
"too old" "$LINENO" 5
5217 am_display_PYTHON
=$PYTHON
5219 # Otherwise, try each interpreter until we find one that satisfies
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.2.1" >&5
5222 $as_echo_n "checking for a Python interpreter with version >= 2.2.1... " >&6; }
5223 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5224 $as_echo_n "(cached) " >&6
5227 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
5228 test "$am_cv_pathless_PYTHON" = none
&& break
5229 prog
="import sys, string
5230 # split strings by '.' and convert to numeric. Append some zeros
5231 # because we need at least 4 digits for the hex conversion.
5232 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5234 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5235 sys.exit(sys.hexversion < minverhex)"
5236 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5237 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5240 (exit $ac_status); }; then :
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5246 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5247 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5248 if test "$am_cv_pathless_PYTHON" = none
; then
5251 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5252 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5254 $as_echo_n "checking for $ac_word... " >&6; }
5255 if test "${ac_cv_path_PYTHON+set}" = set; then :
5256 $as_echo_n "(cached) " >&6
5260 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5267 test -z "$as_dir" && as_dir
=.
5268 for ac_exec_ext
in '' $ac_executable_extensions; do
5269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5270 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 PYTHON
=$ac_cv_path_PYTHON
5282 if test -n "$PYTHON"; then
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5284 $as_echo "$PYTHON" >&6; }
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5287 $as_echo "no" >&6; }
5292 am_display_PYTHON
=$am_cv_pathless_PYTHON
5296 if test "$PYTHON" = :; then
5297 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5302 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5303 if test "${am_cv_python_version+set}" = set; then :
5304 $as_echo_n "(cached) " >&6
5306 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5309 $as_echo "$am_cv_python_version" >&6; }
5310 PYTHON_VERSION
=$am_cv_python_version
5314 PYTHON_PREFIX
='${prefix}'
5316 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5321 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5322 if test "${am_cv_python_platform+set}" = set; then :
5323 $as_echo_n "(cached) " >&6
5325 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5328 $as_echo "$am_cv_python_platform" >&6; }
5329 PYTHON_PLATFORM
=$am_cv_python_platform
5334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5335 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5336 if test "${am_cv_python_pythondir+set}" = set; then :
5337 $as_echo_n "(cached) " >&6
5339 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5340 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5343 $as_echo "$am_cv_python_pythondir" >&6; }
5344 pythondir
=$am_cv_python_pythondir
5348 pkgpythondir
=\
${pythondir}/$PACKAGE
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5352 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5353 if test "${am_cv_python_pyexecdir+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5356 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5357 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5360 $as_echo "$am_cv_python_pyexecdir" >&6; }
5361 pyexecdir
=$am_cv_python_pyexecdir
5365 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5383 # Check for some includes for the X11 HIDD and the kernel
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5387 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5388 if test "${ac_cv_path_GREP+set}" = set; then :
5389 $as_echo_n "(cached) " >&6
5391 if test -z "$GREP"; then
5392 ac_path_GREP_found
=false
5393 # Loop through the user's path and test for each of PROGNAME-LIST
5394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5395 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5398 test -z "$as_dir" && as_dir
=.
5399 for ac_prog
in grep ggrep
; do
5400 for ac_exec_ext
in '' $ac_executable_extensions; do
5401 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5402 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5403 # Check for GNU ac_path_GREP and select it if it is found.
5404 # Check for GNU $ac_path_GREP
5405 case `"$ac_path_GREP" --version 2>&1` in
5407 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5410 $as_echo_n 0123456789 >"conftest.in"
5413 cat "conftest.in" "conftest.in" >"conftest.tmp"
5414 mv "conftest.tmp" "conftest.in"
5415 cp "conftest.in" "conftest.nl"
5416 $as_echo 'GREP' >> "conftest.nl"
5417 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5418 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5419 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5420 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5421 # Best one so far, save it but keep looking for a better one
5422 ac_cv_path_GREP
="$ac_path_GREP"
5423 ac_path_GREP_max
=$ac_count
5425 # 10*(2^10) chars as input seems more than enough
5426 test $ac_count -gt 10 && break
5428 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5431 $ac_path_GREP_found && break 3
5436 if test -z "$ac_cv_path_GREP"; then
5437 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5440 ac_cv_path_GREP
=$GREP
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5445 $as_echo "$ac_cv_path_GREP" >&6; }
5446 GREP
="$ac_cv_path_GREP"
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5450 $as_echo_n "checking for egrep... " >&6; }
5451 if test "${ac_cv_path_EGREP+set}" = set; then :
5452 $as_echo_n "(cached) " >&6
5454 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5455 then ac_cv_path_EGREP
="$GREP -E"
5457 if test -z "$EGREP"; then
5458 ac_path_EGREP_found
=false
5459 # Loop through the user's path and test for each of PROGNAME-LIST
5460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5461 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5464 test -z "$as_dir" && as_dir
=.
5465 for ac_prog
in egrep; do
5466 for ac_exec_ext
in '' $ac_executable_extensions; do
5467 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5468 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5469 # Check for GNU ac_path_EGREP and select it if it is found.
5470 # Check for GNU $ac_path_EGREP
5471 case `"$ac_path_EGREP" --version 2>&1` in
5473 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5476 $as_echo_n 0123456789 >"conftest.in"
5479 cat "conftest.in" "conftest.in" >"conftest.tmp"
5480 mv "conftest.tmp" "conftest.in"
5481 cp "conftest.in" "conftest.nl"
5482 $as_echo 'EGREP' >> "conftest.nl"
5483 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5484 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5485 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5486 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5487 # Best one so far, save it but keep looking for a better one
5488 ac_cv_path_EGREP
="$ac_path_EGREP"
5489 ac_path_EGREP_max
=$ac_count
5491 # 10*(2^10) chars as input seems more than enough
5492 test $ac_count -gt 10 && break
5494 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5497 $ac_path_EGREP_found && break 3
5502 if test -z "$ac_cv_path_EGREP"; then
5503 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5506 ac_cv_path_EGREP
=$EGREP
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5512 $as_echo "$ac_cv_path_EGREP" >&6; }
5513 EGREP
="$ac_cv_path_EGREP"
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5517 $as_echo_n "checking for ANSI C header files... " >&6; }
5518 if test "${ac_cv_header_stdc+set}" = set; then :
5519 $as_echo_n "(cached) " >&6
5521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5522 /* end confdefs.h. */
5536 if ac_fn_c_try_compile
"$LINENO"; then :
5537 ac_cv_header_stdc
=yes
5539 ac_cv_header_stdc
=no
5541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5543 if test $ac_cv_header_stdc = yes; then
5544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5546 /* end confdefs.h. */
5550 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5551 $EGREP "memchr" >/dev
/null
2>&1; then :
5554 ac_cv_header_stdc
=no
5560 if test $ac_cv_header_stdc = yes; then
5561 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5563 /* end confdefs.h. */
5567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5568 $EGREP "free" >/dev
/null
2>&1; then :
5571 ac_cv_header_stdc
=no
5577 if test $ac_cv_header_stdc = yes; then
5578 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5579 if test "$cross_compiling" = yes; then :
5582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5583 /* end confdefs.h. */
5586 #if ((' ' & 0x0FF) == 0x020)
5587 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5588 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5590 # define ISLOWER(c) \
5591 (('a' <= (c) && (c) <= 'i') \
5592 || ('j' <= (c) && (c) <= 'r') \
5593 || ('s' <= (c) && (c) <= 'z'))
5594 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5597 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5602 for (i = 0; i < 256; i++)
5603 if (XOR (islower (i), ISLOWER (i))
5604 || toupper (i) != TOUPPER (i))
5609 if ac_fn_c_try_run
"$LINENO"; then :
5612 ac_cv_header_stdc
=no
5614 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5615 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5621 $as_echo "$ac_cv_header_stdc" >&6; }
5622 if test $ac_cv_header_stdc = yes; then
5624 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5628 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5629 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5630 inttypes.h stdint.h unistd.h
5632 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5633 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5635 eval as_val
=\$
$as_ac_Header
5636 if test "x$as_val" = x
""yes; then :
5637 cat >>confdefs.h
<<_ACEOF
5638 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5646 for ac_header
in sys
/ipc.h sys
/shm.h \
5647 sys
/mmap.h sys
/mman.h sysexits.h \
5648 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5651 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5652 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5653 eval as_val
=\$
$as_ac_Header
5654 if test "x$as_val" = x
""yes; then :
5655 cat >>confdefs.h
<<_ACEOF
5656 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5664 for ac_header
in sys
/mount.h
5666 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5668 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5669 cat >>confdefs.h
<<_ACEOF
5670 #define HAVE_SYS_MOUNT_H 1
5679 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5680 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5682 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5683 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5684 $as_echo_n "(cached) " >&6
5686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5687 /* end confdefs.h. */
5688 #include <sys/types.h>
5700 if ac_fn_c_try_compile
"$LINENO"; then :
5701 eval "$as_ac_Header=yes"
5703 eval "$as_ac_Header=no"
5705 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5707 eval ac_res
=\$
$as_ac_Header
5708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5709 $as_echo "$ac_res" >&6; }
5710 eval as_val
=\$
$as_ac_Header
5711 if test "x$as_val" = x
""yes; then :
5712 cat >>confdefs.h
<<_ACEOF
5713 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5716 ac_header_dirent
=$ac_hdr; break
5720 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5721 if test $ac_header_dirent = dirent.h
; then
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5723 $as_echo_n "checking for library containing opendir... " >&6; }
5724 if test "${ac_cv_search_opendir+set}" = set; then :
5725 $as_echo_n "(cached) " >&6
5727 ac_func_search_save_LIBS
=$LIBS
5728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5729 /* end confdefs.h. */
5731 /* Override any GCC internal prototype to avoid an error.
5732 Use char because int might match the return type of a GCC
5733 builtin and then its argument prototype would still apply. */
5746 for ac_lib
in '' dir
; do
5747 if test -z "$ac_lib"; then
5748 ac_res
="none required"
5751 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5753 if ac_fn_c_try_link
"$LINENO"; then :
5754 ac_cv_search_opendir
=$ac_res
5756 rm -f core conftest.err conftest.
$ac_objext \
5758 if test "${ac_cv_search_opendir+set}" = set; then :
5762 if test "${ac_cv_search_opendir+set}" = set; then :
5765 ac_cv_search_opendir
=no
5768 LIBS
=$ac_func_search_save_LIBS
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5771 $as_echo "$ac_cv_search_opendir" >&6; }
5772 ac_res
=$ac_cv_search_opendir
5773 if test "$ac_res" != no
; then :
5774 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5780 $as_echo_n "checking for library containing opendir... " >&6; }
5781 if test "${ac_cv_search_opendir+set}" = set; then :
5782 $as_echo_n "(cached) " >&6
5784 ac_func_search_save_LIBS
=$LIBS
5785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5786 /* end confdefs.h. */
5788 /* Override any GCC internal prototype to avoid an error.
5789 Use char because int might match the return type of a GCC
5790 builtin and then its argument prototype would still apply. */
5803 for ac_lib
in '' x
; do
5804 if test -z "$ac_lib"; then
5805 ac_res
="none required"
5808 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5810 if ac_fn_c_try_link
"$LINENO"; then :
5811 ac_cv_search_opendir
=$ac_res
5813 rm -f core conftest.err conftest.
$ac_objext \
5815 if test "${ac_cv_search_opendir+set}" = set; then :
5819 if test "${ac_cv_search_opendir+set}" = set; then :
5822 ac_cv_search_opendir
=no
5825 LIBS
=$ac_func_search_save_LIBS
5827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5828 $as_echo "$ac_cv_search_opendir" >&6; }
5829 ac_res
=$ac_cv_search_opendir
5830 if test "$ac_res" != no
; then :
5831 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5838 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5839 if test "${ac_cv_header_stat_broken+set}" = set; then :
5840 $as_echo_n "(cached) " >&6
5842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5843 /* end confdefs.h. */
5844 #include <sys/types.h>
5845 #include <sys/stat.h>
5847 #if defined S_ISBLK && defined S_IFDIR
5848 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5851 #if defined S_ISBLK && defined S_IFCHR
5852 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5855 #if defined S_ISLNK && defined S_IFREG
5856 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5859 #if defined S_ISSOCK && defined S_IFREG
5860 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5864 if ac_fn_c_try_compile
"$LINENO"; then :
5865 ac_cv_header_stat_broken
=no
5867 ac_cv_header_stat_broken
=yes
5869 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5872 $as_echo "$ac_cv_header_stat_broken" >&6; }
5873 if test $ac_cv_header_stat_broken = yes; then
5875 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5880 $as_echo_n "checking for ANSI C header files... " >&6; }
5881 if test "${ac_cv_header_stdc+set}" = set; then :
5882 $as_echo_n "(cached) " >&6
5884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5885 /* end confdefs.h. */
5899 if ac_fn_c_try_compile
"$LINENO"; then :
5900 ac_cv_header_stdc
=yes
5902 ac_cv_header_stdc
=no
5904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5906 if test $ac_cv_header_stdc = yes; then
5907 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5909 /* end confdefs.h. */
5913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5914 $EGREP "memchr" >/dev
/null
2>&1; then :
5917 ac_cv_header_stdc
=no
5923 if test $ac_cv_header_stdc = yes; then
5924 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5925 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5926 /* end confdefs.h. */
5930 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5931 $EGREP "free" >/dev
/null
2>&1; then :
5934 ac_cv_header_stdc
=no
5940 if test $ac_cv_header_stdc = yes; then
5941 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5942 if test "$cross_compiling" = yes; then :
5945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5946 /* end confdefs.h. */
5949 #if ((' ' & 0x0FF) == 0x020)
5950 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5951 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5953 # define ISLOWER(c) \
5954 (('a' <= (c) && (c) <= 'i') \
5955 || ('j' <= (c) && (c) <= 'r') \
5956 || ('s' <= (c) && (c) <= 'z'))
5957 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5960 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5965 for (i = 0; i < 256; i++)
5966 if (XOR (islower (i), ISLOWER (i))
5967 || toupper (i) != TOUPPER (i))
5972 if ac_fn_c_try_run
"$LINENO"; then :
5975 ac_cv_header_stdc
=no
5977 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5978 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5984 $as_echo "$ac_cv_header_stdc" >&6; }
5985 if test $ac_cv_header_stdc = yes; then
5987 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
5992 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5993 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
5994 $as_echo_n "(cached) " >&6
5996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5997 /* end confdefs.h. */
5998 #include <sys/types.h>
5999 #include <sys/wait.h>
6001 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6004 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6012 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6017 if ac_fn_c_try_compile
"$LINENO"; then :
6018 ac_cv_header_sys_wait_h
=yes
6020 ac_cv_header_sys_wait_h
=no
6022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6025 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6026 if test $ac_cv_header_sys_wait_h = yes; then
6028 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6033 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6034 if test "${ac_cv_header_time+set}" = set; then :
6035 $as_echo_n "(cached) " >&6
6037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6039 #include <sys/types.h>
6040 #include <sys/time.h>
6046 if ((struct tm *) 0)
6052 if ac_fn_c_try_compile
"$LINENO"; then :
6053 ac_cv_header_time
=yes
6055 ac_cv_header_time
=no
6057 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6060 $as_echo "$ac_cv_header_time" >&6; }
6061 if test $ac_cv_header_time = yes; then
6063 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6067 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6068 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6070 cat >>confdefs.h
<<_ACEOF
6071 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6075 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6080 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6081 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6083 cat >>confdefs.h
<<_ACEOF
6084 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6088 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6091 case " $LIBOBJS " in
6092 *" fileblocks.$ac_objext "* ) ;;
6093 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6100 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6101 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6103 cat >>confdefs.h
<<_ACEOF
6104 #define HAVE_STRUCT_STAT_ST_RDEV 1
6108 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6114 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6115 if test "${ac_cv_struct_tm+set}" = set; then :
6116 $as_echo_n "(cached) " >&6
6118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6120 #include <sys/types.h>
6127 int *p = &tm.tm_sec;
6133 if ac_fn_c_try_compile
"$LINENO"; then :
6134 ac_cv_struct_tm
=time.h
6136 ac_cv_struct_tm
=sys
/time.h
6138 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6141 $as_echo "$ac_cv_struct_tm" >&6; }
6142 if test $ac_cv_struct_tm = sys
/time.h
; then
6144 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6148 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6149 #include <$ac_cv_struct_tm>
6152 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6154 cat >>confdefs.h
<<_ACEOF
6155 #define HAVE_STRUCT_TM_TM_ZONE 1
6161 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6163 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6166 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6168 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6174 cat >>confdefs.h
<<_ACEOF
6175 #define HAVE_DECL_TZNAME $ac_have_decl
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6179 $as_echo_n "checking for tzname... " >&6; }
6180 if test "${ac_cv_var_tzname+set}" = set; then :
6181 $as_echo_n "(cached) " >&6
6183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6184 /* end confdefs.h. */
6186 #if !HAVE_DECL_TZNAME
6187 extern char *tzname[];
6193 return tzname[0][0];
6198 if ac_fn_c_try_link
"$LINENO"; then :
6199 ac_cv_var_tzname
=yes
6203 rm -f core conftest.err conftest.
$ac_objext \
6204 conftest
$ac_exeext conftest.
$ac_ext
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6207 $as_echo "$ac_cv_var_tzname" >&6; }
6208 if test $ac_cv_var_tzname = yes; then
6210 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6215 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6216 if test "x$ac_cv_type_off_t" = x
""yes; then :
6220 cat >>confdefs.h
<<_ACEOF
6221 #define off_t long int
6226 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6227 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6231 cat >>confdefs.h
<<_ACEOF
6237 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6238 if test "x$ac_cv_type_size_t" = x
""yes; then :
6242 cat >>confdefs.h
<<_ACEOF
6243 #define size_t unsigned int
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6249 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6250 if test "${ac_cv_type_uid_t+set}" = set; then :
6251 $as_echo_n "(cached) " >&6
6253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6254 /* end confdefs.h. */
6255 #include <sys/types.h>
6258 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6259 $EGREP "uid_t" >/dev
/null
2>&1; then :
6260 ac_cv_type_uid_t
=yes
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6268 $as_echo "$ac_cv_type_uid_t" >&6; }
6269 if test $ac_cv_type_uid_t = no
; then
6271 $as_echo "#define uid_t int" >>confdefs.h
6274 $as_echo "#define gid_t int" >>confdefs.h
6279 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6280 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6282 cat >>confdefs.h
<<_ACEOF
6283 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6290 # Look for some functions
6291 for ac_func
in getpagesize kqueue statfs statvfs \
6292 clone kse_create rfork_thread thr_create sa_register \
6293 getcontext makecontext setcontext sigaltstack swapcontext
6295 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6296 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6297 eval as_val
=\$
$as_ac_var
6298 if test "x$as_val" = x
""yes; then :
6299 cat >>confdefs.h
<<_ACEOF
6300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6310 for ac_header
in $ac_header_list
6312 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6313 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6315 eval as_val
=\$
$as_ac_Header
6316 if test "x$as_val" = x
""yes; then :
6317 cat >>confdefs.h
<<_ACEOF
6318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6332 for ac_func
in getpagesize
6334 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6335 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6336 cat >>confdefs.h
<<_ACEOF
6337 #define HAVE_GETPAGESIZE 1
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6344 $as_echo_n "checking for working mmap... " >&6; }
6345 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6346 $as_echo_n "(cached) " >&6
6348 if test "$cross_compiling" = yes; then :
6349 ac_cv_func_mmap_fixed_mapped
=no
6351 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6352 /* end confdefs.h. */
6353 $ac_includes_default
6354 /* malloc might have been renamed as rpl_malloc. */
6357 /* Thanks to Mike Haertel and Jim Avera for this test.
6358 Here is a matrix of mmap possibilities:
6359 mmap private not fixed
6360 mmap private fixed at somewhere currently unmapped
6361 mmap private fixed at somewhere already mapped
6362 mmap shared not fixed
6363 mmap shared fixed at somewhere currently unmapped
6364 mmap shared fixed at somewhere already mapped
6365 For private mappings, we should verify that changes cannot be read()
6366 back from the file, nor mmap's back from the file at a different
6367 address. (There have been systems where private was not correctly
6368 implemented like the infamous i386 svr4.0, and systems where the
6369 VM page cache was not coherent with the file system buffer cache
6370 like early versions of FreeBSD and possibly contemporary NetBSD.)
6371 For shared mappings, we should conversely verify that changes get
6372 propagated back to all the places they're supposed to be.
6374 Grep wants private fixed already mapped.
6375 The main things grep needs to know about mmap are:
6376 * does it exist and is it safe to write into the mmap'd area
6377 * how to use it (BSD variants) */
6380 #include <sys/mman.h>
6382 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6386 /* This mess was copied from the GNU getpagesize.h. */
6387 #ifndef HAVE_GETPAGESIZE
6388 # ifdef _SC_PAGESIZE
6389 # define getpagesize() sysconf(_SC_PAGESIZE)
6390 # else /* no _SC_PAGESIZE */
6391 # ifdef HAVE_SYS_PARAM_H
6392 # include <sys/param.h>
6393 # ifdef EXEC_PAGESIZE
6394 # define getpagesize() EXEC_PAGESIZE
6395 # else /* no EXEC_PAGESIZE */
6397 # define getpagesize() NBPG * CLSIZE
6400 # endif /* no CLSIZE */
6401 # else /* no NBPG */
6403 # define getpagesize() NBPC
6404 # else /* no NBPC */
6406 # define getpagesize() PAGESIZE
6407 # endif /* PAGESIZE */
6408 # endif /* no NBPC */
6409 # endif /* no NBPG */
6410 # endif /* no EXEC_PAGESIZE */
6411 # else /* no HAVE_SYS_PARAM_H */
6412 # define getpagesize() 8192 /* punt totally */
6413 # endif /* no HAVE_SYS_PARAM_H */
6414 # endif /* no _SC_PAGESIZE */
6416 #endif /* no HAVE_GETPAGESIZE */
6421 char *data, *data2, *data3;
6426 pagesize = getpagesize ();
6428 /* First, make a file with some known garbage in it. */
6429 data = (char *) malloc (pagesize);
6432 for (i = 0; i < pagesize; ++i)
6433 *(data + i) = rand ();
6435 fd = creat ("conftest.mmap", 0600);
6438 if (write (fd, data, pagesize) != pagesize)
6442 /* Next, check that the tail of a page is zero-filled. File must have
6443 non-zero length, otherwise we risk SIGBUS for entire page. */
6444 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6448 if (write (fd2, cdata2, 1) != 1)
6450 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6451 if (data2 == MAP_FAILED)
6453 for (i = 0; i < pagesize; ++i)
6457 if (munmap (data2, pagesize))
6460 /* Next, try to mmap the file at a fixed address which already has
6461 something else allocated at it. If we can, also make sure that
6462 we see the same garbage. */
6463 fd = open ("conftest.mmap", O_RDWR);
6466 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6467 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6469 for (i = 0; i < pagesize; ++i)
6470 if (*(data + i) != *(data2 + i))
6473 /* Finally, make sure that changes to the mapped area do not
6474 percolate back to the file as seen by read(). (This is a bug on
6475 some variants of i386 svr4.0.) */
6476 for (i = 0; i < pagesize; ++i)
6477 *(data2 + i) = *(data2 + i) + 1;
6478 data3 = (char *) malloc (pagesize);
6481 if (read (fd, data3, pagesize) != pagesize)
6483 for (i = 0; i < pagesize; ++i)
6484 if (*(data + i) != *(data3 + i))
6490 if ac_fn_c_try_run
"$LINENO"; then :
6491 ac_cv_func_mmap_fixed_mapped
=yes
6493 ac_cv_func_mmap_fixed_mapped
=no
6495 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6496 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6501 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6502 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6504 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6507 rm -f conftest.mmap conftest.txt
6512 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6513 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6514 aros_config_ldflags
=""
6516 aros_shared_default
=yes
6518 aros_shared_cflags
="-fPIC"
6519 aros_shared_aflags
=""
6520 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6521 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6523 aros_target_ar_flags
="cr"
6524 aros_target_nm_flags
="-C -ul"
6525 aros_target_strip_flags
="--strip-unneeded -R.comment"
6530 aros_target_genmap
="-Wl,-Map -Xlinker"
6532 # Native flavour stuff
6533 aros_serial_debug
="0"
6535 # Palm native flavour stuff
6536 aros_palm_debug_hack
="0"
6538 # Unix flavour stuff
6539 aros_nesting_supervisor
="0"
6541 # Collect-aros stuff: "-ius" to ignore undefined symbols
6542 ignore_undefined_symbols
=""
6544 #-----------------------------------------------------------------------------
6547 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6548 # it switched on by default, and we use the host compiler, so it compiles AROS
6549 # code with this enabled resulting in link failures as we don't have support
6552 # We use two methods to disable it. For the host compiler (used to compile
6553 # some hosted modules), we test to see if the compiler supports stack
6554 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6555 # work on all platforms.
6557 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6558 # (this is done unconditionally, as it should have no effect on compilers
6559 # without the stack protection feature). This may be specific to the way that
6560 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6561 # strong enough to disable it in a generic way though, so we'll live with it
6562 # until another vendor ships GCC with it enabled in a different way, and deal
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6567 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6568 save_cflags
="$CFLAGS"
6569 CFLAGS
="$CFLAGS -fno-stack-protector"
6570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6581 if ac_fn_c_try_compile
"$LINENO"; then :
6582 use_no_stack_protector
="yes"
6584 use_no_stack_protector
="no"
6586 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6588 $as_echo "$use_no_stack_protector" >&6; }
6589 if test "x-$use_no_stack_protector" = "x-yes" ; then
6590 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6592 CFLAGS
="$save_cflags"
6594 #-----------------------------------------------------------------------------
6596 # Disable pointer-signedness warnings if the compiler recognises the option
6597 # (this only works for the host compiler at the moment)
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6600 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6601 save_cflags
="$CFLAGS"
6602 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6614 if ac_fn_c_try_compile
"$LINENO"; then :
6615 use_no_sign_warning
="yes"
6617 use_no_sign_warning
="no"
6619 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6621 $as_echo "$use_no_sign_warning" >&6; }
6622 if test "x-$use_no_sign_warning" = "x-yes" ; then
6623 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6625 CFLAGS
="$save_cflags"
6627 #-----------------------------------------------------------------------------
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6630 $as_echo_n "checking for type of build... " >&6; }
6631 # Check whether --enable-build_type was given.
6632 if test "${enable_build_type+set}" = set; then :
6633 enableval
=$enable_build_type; build_type
=$enableval
6635 build_type
="personal"
6639 if test "$build_type" = "nightly"; then
6640 build_type_string
="NIGHTLY"
6641 elif test "$build_type" = "snapshot"; then
6642 build_type_string
="SNAPSHOT"
6643 elif test "$build_type" = "milestone"; then
6644 build_type_string
="MILESTONE"
6645 elif test "$build_type" = "release"; then
6646 build_type_string
="RELEASE"
6648 build_type_string
="PERSONAL"
6649 build_type
="personal"
6652 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6655 $as_echo "$build_type" >&6; }
6657 #-----------------------------------------------------------------------------
6658 all_debug_types
="messages stack mungwall modules symbols"
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6661 $as_echo_n "checking which debug types to enable... " >&6; }
6662 # Check whether --enable-debug was given.
6663 if test "${enable_debug+set}" = set; then :
6664 enableval
=$enable_debug; debug
="$enableval"
6670 if test "$debug" = "" -o "$debug" = "no"; then
6672 elif test "$debug" = "yes"; then
6676 if test "$debug" = "all" ; then
6677 debug
=$all_debug_types
6678 for d
in $all_debug_types; do
6679 export aros_
${d}_debug
="1"
6682 for d
in $all_debug_types; do
6683 export aros_
${d}_debug
="0"
6687 if test "$debug" != "none"; then
6688 debug
=`echo $debug | sed s/,/\ /g`
6691 for d2
in $all_debug_types; do
6692 if test "$d2" = "$d"; then
6697 if test "$found" = "0"; then
6698 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6700 export aros_
${d}_debug
="1"
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6705 $as_echo "$debug" >&6; }
6707 if test "$aros_messages_debug" = "1"; then
6708 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6710 aros_messages_debug
=""
6712 if test "$aros_symbols_debug" = "1"; then
6713 aros_symbols_debug
="-g"
6715 aros_symbols_debug
=""
6718 # These are the flags to pass when compiling debugged programs
6719 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6720 aros_debug_aflags
=""
6721 aros_debug_ldflags
="$aros_symbols_debug"
6723 aros_crosstools
="no"
6725 #-----------------------------------------------------------------------------
6726 # Checking if we should build crosstools..
6727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6728 $as_echo_n "checking whether to build crosstools... " >&6; }
6729 # Check whether --enable-crosstools was given.
6730 if test "${enable_crosstools+set}" = set; then :
6731 enableval
=$enable_crosstools; crosstools
="$enableval"
6736 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6738 $as_echo "yes" >&6; }
6739 aros_crosstools
="yes"
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6742 $as_echo "no" >&6; }
6745 #-----------------------------------------------------------------------------
6746 # Checking for distcc and ccache.
6748 # Always apply the transforms in this particular order. Basically you should
6749 # always run 'ccache distcc compiler' in that order for the best performance.
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6752 $as_echo_n "checking whether to enable distcc... " >&6; }
6753 # Check whether --enable-distcc was given.
6754 if test "${enable_distcc+set}" = set; then :
6755 enableval
=$enable_distcc; distcc
="$enableval"
6760 if test "$distcc" != "" -a "$distcc" != "no"; then
6761 # AC_CHECK_PROG will print out the result in this case
6762 # Extract the first word of "distcc", so it can be a program name with args.
6763 set dummy distcc
; ac_word
=$2
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6765 $as_echo_n "checking for $ac_word... " >&6; }
6766 if test "${ac_cv_path_DISTCC+set}" = set; then :
6767 $as_echo_n "(cached) " >&6
6771 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6778 test -z "$as_dir" && as_dir
=.
6779 for ac_exec_ext
in '' $ac_executable_extensions; do
6780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6781 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6789 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6793 DISTCC
=$ac_cv_path_DISTCC
6794 if test -n "$DISTCC"; then
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6796 $as_echo "$DISTCC" >&6; }
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6799 $as_echo "no" >&6; }
6804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6805 $as_echo "no" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6809 $as_echo_n "checking whether to enable ccache... " >&6; }
6810 # Check whether --enable-ccache was given.
6811 if test "${enable_ccache+set}" = set; then :
6812 enableval
=$enable_ccache; ccache
="$enableval"
6817 if test "$ccache" != "" -a "$ccache" != "no"; then
6818 # AC_CHECK_PROG will print out the result in this case
6819 # Extract the first word of "ccache", so it can be a program name with args.
6820 set dummy ccache
; ac_word
=$2
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6822 $as_echo_n "checking for $ac_word... " >&6; }
6823 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6824 $as_echo_n "(cached) " >&6
6826 if test -n "$CCACHE"; then
6827 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6829 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6833 test -z "$as_dir" && as_dir
=.
6834 for ac_exec_ext
in '' $ac_executable_extensions; do
6835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6836 ac_cv_prog_CCACHE
="ccache"
6837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6846 CCACHE
=$ac_cv_prog_CCACHE
6847 if test -n "$CCACHE"; then
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6849 $as_echo "$CCACHE" >&6; }
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6852 $as_echo "no" >&6; }
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6858 $as_echo "no" >&6; }
6861 #-----------------------------------------------------------------------------
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
6863 $as_echo_n "checking what optimization flags to use... " >&6; }
6865 # Check whether --with-optimization was given.
6866 if test "${with_optimization+set}" = set; then :
6867 withval
=$with_optimization; optimization
="$withval"
6869 optimization
="unknown"
6872 if test "$optimization" = "unknown"; then
6873 if test "$debug" != "none"; then
6879 aros_config_cflags
="$aros_config_cflags $optimization"
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
6881 $as_echo "$optimization" >&6; }
6883 #-----------------------------------------------------------------------------
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
6885 $as_echo_n "checking what target variant to enable... " >&6; }
6886 # Check whether --enable-target_variant was given.
6887 if test "${enable_target_variant+set}" = set; then :
6888 enableval
=$enable_target_variant; target_variant
=$enableval
6890 target_variant
="none"
6893 if test "$target_variant" = "none"; then
6894 aros_target_variant
=""
6895 aros_target_suffix
=""
6897 aros_target_variant
="$target_variant"
6898 aros_target_suffix
="-$target_variant"
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
6901 $as_echo "$enableval" >&6; }
6903 target_bootloader
="none"
6905 #-----------------------------------------------------------------------------
6906 # This is the target configuration switch.
6907 case "$target_os" in
6909 aros_target_arch
="linux"
6910 case "$target_cpu" in
6912 aros_target_cpu
="m68k"
6913 aros_object_format
="m68kelf"
6914 aros_flavour
="emulcompat"
6915 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
6916 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
6917 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
6918 gcc_target_cpu
="mc68000"
6921 aros_target_cpu
="i386"
6922 aros_object_format
="elf_i386"
6923 aros_flavour
="emulation"
6924 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
6925 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
6926 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
6927 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
6928 aros_config_ldflags
="-m32 -march=i486"
6929 aros_kernel_ldflags
="-melf_i386"
6930 aros_default_wbdepth
=8
6931 gcc_target_cpu
="i386"
6934 aros_target_cpu
="x86_64"
6935 aros_object_format
="elf_x86_64"
6936 aros_flavour
="emulation"
6937 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
6938 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
6939 aros_default_wbdepth
=8
6940 gcc_target_cpu
="x86_64"
6943 aros_target_cpu
="ppc"
6944 aros_object_format
="elf32ppc"
6945 aros_flavour
="emulation"
6946 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
6947 aros_default_wbdepth
=8
6948 gcc_target_cpu
="ppc"
6951 # Same as powerpc, but I need this for the nightly build to work again.
6952 # Actually, the nightly should be made working with powerpc target.
6953 # That just was too much work for the moment, another week or two.
6955 aros_target_cpu
="ppc"
6956 aros_object_format
="elf32ppc"
6957 aros_flavour
="emulation"
6958 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
6959 aros_default_wbdepth
=8
6960 gcc_target_cpu
="ppc"
6963 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
6969 aros_target_arch
="pc"
6970 aros_shared_default
="no"
6971 target_bootloader
="grub2"
6972 case "$target_cpu" in
6974 aros_target_cpu
="i386"
6977 if test "$aros_object_format" = "" ; then
6978 aros_object_format
="elf_i386"
6980 aros_flavour
="standalone"
6981 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
6982 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
6983 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
6984 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
6985 aros_config_ldflags
="-m32 -march=i486"
6986 aros_kernel_ldflags
="-melf_i386"
6987 aros_default_wbwidth
=640
6988 aros_default_wbheight
=480
6989 gcc_target_cpu
="i386"
6992 aros_target_cpu
="x86_64"
6994 if test "$aros_object_format" = "" ; then
6995 aros_object_format
="elf_x86_64"
6997 aros_flavour
="standalone"
6998 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
6999 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
7000 aros_kernel_ldflags
=""
7001 aros_default_wbwidth
=640
7002 aros_default_wbheight
=480
7003 gcc_target_cpu
="x86_64"
7006 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7012 aros_target_arch
="prep"
7013 aros_shared_default
="no"
7014 aros_target_cpu
="ppc"
7015 aros_object_format
="elf32ppc"
7016 aros_flavour
="ppcnative"
7017 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7018 aros_kernel_ldflags
=""
7019 aros_default_wbwidth
=640
7020 aros_default_wbheight
=480
7021 gcc_target_cpu
="ppc"
7025 aros_target_arch
="freebsd"
7026 aros_target_cpu
="i386"
7027 aros_flavour
="emulation"
7028 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7029 gcc_target_cpu
="i386"
7031 aros_target_strip_flags
="-x"
7035 aros_target_arch
="darwin"
7036 aros_flavour
="emulation"
7038 case "$target_cpu" in
7040 aros_target_cpu
="i386"
7041 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7042 gcc_target_cpu
="i386"
7043 aros_object_format
="elf_i386"
7044 aros_target_strip_flags
="-x"
7047 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7053 aros_target_arch
="dragonfly"
7054 aros_flavour
="emulation"
7055 case "$target_cpu" in
7057 aros_target_cpu
="i386"
7058 aros_object_format
="elf_i386"
7059 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7062 aros_target_cpu
="x86_64"
7063 aros_object_format
="elf_x86_64"
7064 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7067 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7073 aros_target_arch
="netbsd"
7074 case "$target_cpu" in
7076 aros_target_cpu
="m68k"
7077 aros_object_format
="m68kelf"
7078 aros_flavour
="emulcompat"
7079 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7080 gcc_target_cpu
="mc68000"
7083 aros_target_cpu
="i386"
7084 aros_object_format
="elf_i386"
7085 aros_flavour
="emulation"
7086 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7087 aros_default_wbdepth
=8
7088 gcc_target_cpu
="i386"
7091 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7094 aros_target_genmap
="-Wl,-M -Xlinker >"
7095 aros_flavour
="emulation"
7096 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7100 aros_target_arch
="openbsd"
7101 case "$target_cpu" in
7103 aros_target_cpu
="i386"
7104 aros_object_format
="elf_i386"
7105 aros_flavour
="emulation"
7106 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7107 gcc_target_cpu
="i386"
7110 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7113 aros_target_genmap
="-Wl,-M -Xlinker >"
7114 aros_target_nm_flags
="-u"
7115 aros_flavour
="emulation"
7119 aros_target_arch
="solaris"
7120 case "$target_cpu" in
7122 aros_target_cpu
="i386"
7123 aros_object_format
="elf_i386"
7124 aros_flavour
="emulation"
7125 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7126 aros_default_wbdepth
=8
7127 gcc_target_cpu
="i386"
7130 aros_target_cpu
="sparc"
7131 aros_object_format
="elf_sparc"
7132 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7133 gcc_target_cpu
="sparc"
7136 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7139 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7140 aros_flavour
="emulation"
7144 aros_target_arch
="morphos"
7145 aros_shared_default
="no"
7146 aros_target_cpu
="ppc"
7147 aros_object_format
="elf_ppc"
7148 aros_flavour
="nativecompat"
7149 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7150 gcc_target_cpu
="ppc"
7154 aros_target_arch
="sam440"
7155 aros_shared_default
="no"
7156 aros_target_cpu
="ppc"
7157 aros_object_format
="elf32ppc"
7158 aros_flavour
="ppcnative"
7159 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7160 aros_kernel_ldflags
=""
7161 aros_default_wbwidth
=1024
7162 aros_default_wbheight
=768
7163 aros_default_wbdepth
=24
7164 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7165 gcc_target_cpu
="powerpc"
7169 aros_target_arch
="efika"
7170 aros_shared_default
="no"
7171 aros_target_cpu
="arm"
7172 aros_object_format
="armelf_linux_eabi"
7173 aros_flavour
="standalone"
7174 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7175 aros_kernel_ldflags
=""
7176 aros_default_wbwidth
=1024
7177 aros_default_wbheight
=600
7178 aros_arch_libs
="-laeabi"
7179 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7180 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7184 aros_target_arch
="chrp"
7185 aros_shared_default
="no"
7186 aros_target_cpu
="ppc"
7187 aros_object_format
="elf32ppc"
7188 aros_flavour
="ppcnative"
7189 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7190 aros_kernel_ldflags
=""
7191 aros_default_wbwidth
=640
7192 aros_default_wbheight
=480
7193 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7194 gcc_target_cpu
="powerpc"
7195 case "$aros_target_variant" in
7197 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7203 aros_target_arch
="amiga"
7204 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7205 aros_shared_default
="no"
7207 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
7209 case "$target_cpu" in
7211 aros_target_cpu
="m68k"
7212 aros_object_format
="m68kelf"
7213 aros_flavour
="nativecompat"
7214 gcc_target_cpu
="mc68000"
7218 aros_flavour
="native"
7219 gcc_target_cpu
="ppc"
7222 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7228 aros_target_arch
="mingw32"
7229 aros_shared_default
="no"
7230 aros_flavour
="emulation"
7231 aros_shared_cflags
=""
7234 case "$target_cpu" in
7236 aros_target_cpu
="i386"
7237 aros_object_format
="elf_i386"
7238 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7239 aros_default_wbdepth
=8
7240 gcc_target_cpu
="i386"
7241 aros_target_cc
="i386-aros-gcc"
7242 aros_target_ld
="i386-aros-ld"
7243 aros_target_as
="i386-aros-as"
7244 aros_target_ar
="i386-aros-ar"
7245 aros_target_ranlib
="i386-aros-ranlib"
7246 aros_target_nm
="i386-aros-nm"
7247 aros_target_strip
="i386-aros-strip"
7248 aros_target_objcopy
="i386-aros-objcopy"
7249 aros_target_objdump
="i386-aros-objdump"
7250 target_tool_prefix
="i386-mingw32-"
7253 aros_target_cpu
="x86_64"
7254 aros_object_format
="elf_x86_64"
7255 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7256 aros_default_wbdepth
=8
7257 gcc_target_cpu
="x86_64"
7258 aros_target_cc
="x86_64-aros-gcc"
7259 aros_target_ld
="x86_64-aros-ld"
7260 aros_target_as
="x86_64-aros-as"
7261 aros_target_ar
="x86_64-aros-ar"
7262 aros_target_ranlib
="x86_64-aros-ranlib"
7263 aros_target_nm
="x86_64-aros-nm"
7264 aros_target_strip
="x86_64-aros-strip"
7265 aros_target_objcopy
="x86_64-aros-objcopy"
7266 aros_target_objdump
="x86_64-aros-objdump"
7267 target_tool_prefix
="x86_64-w64-mingw32-"
7270 aros_target_cpu
="arm"
7271 aros_object_format
="armelf_linux_eabi"
7272 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7273 aros_default_wbdepth
=8
7274 gcc_target_cpu
="arm"
7275 aros_target_cc
="arm-elf-gcc"
7276 aros_target_ld
="arm-elf-ld"
7277 aros_target_as
="arm-elf-as"
7278 aros_target_ar
="arm-elf-ar"
7279 aros_target_ranlib
="arm-elf-ranlib"
7280 aros_target_nm
="arm-elf-nm"
7281 aros_target_strip
="arm-elf-strip"
7282 aros_target_objcopy
="arm-elf-objcopy"
7283 aros_target_objdump
="arm-elf-objdump"
7284 target_tool_prefix
="arm-mingw32ce-"
7285 aros_default_wbwidth
=160
7286 aros_default_wbheight
=160
7289 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7292 if test $host_os = "cygwin"; then
7293 aros_kernel_cflags
="-mno-cygwin"
7297 aros_target_arch
="pp"
7298 aros_shared_default
="no"
7299 case "$target_cpu" in
7301 aros_target_cpu
="m68k"
7302 aros_object_format
="m68kelf"
7303 aros_flavour
="palmnative"
7304 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7305 aros_default_wbwidth
=160
7306 aros_default_wbheight
=160
7307 aros_default_wbdepth
=1
7308 aros_target_ar_flags
="cru"
7309 aros_compiler_libs
="-lgcc1"
7310 aros_shared_default
=no
7311 aros_shared_cflags
="-fpic"
7312 aros_shared_aflags
=""
7313 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7314 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7315 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7316 aros_debug_aflags
=""
7317 aros_debug_ldflags
="$aros_symbols_debug"
7318 aros_mungwall_debug
="0"
7319 aros_modules_debug
="0"
7320 gcc_target_cpu
="mc68000"
7321 ignore_undefined_symbols
="-ius"
7324 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7330 aros_target_arch
="mac"
7331 aros_shared_default
="no"
7332 case "$target_cpu" in
7334 aros_target_cpu
="m68k"
7335 aros_object_format
="m68kelf"
7336 aros_flavour
="mac68knative"
7337 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7338 aros_default_wbwidth
=512
7339 aros_default_wbheight
=384
7340 aros_default_wbdepth
=8
7341 aros_target_ar_flags
="cru"
7342 aros_compiler_libs
="-lgcc1"
7343 aros_shared_default
=no
7344 aros_shared_cflags
="-fpic"
7345 aros_shared_aflags
=""
7346 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7347 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7348 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7349 aros_debug_aflags
=""
7350 aros_debug_ldflags
="$aros_symbols_debug"
7351 aros_mungwall_debug
="0"
7352 aros_modules_debug
="0"
7353 gcc_target_cpu
="mc68000"
7354 ignore_undefined_symbols
="-ius"
7357 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7363 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7368 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7370 # Check whether --with-portssources was given.
7371 if test "${with_portssources+set}" = set; then :
7372 withval
=$with_portssources; with_portssrcdir
=$withval
7374 with_portssrcdir
="default"
7377 if test "$with_portssrcdir" = "default"; then
7378 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7380 AROS_PORTSSRCDIR
="$with_portssrcdir"
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7383 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7386 $as_echo_n "checking which bootloader to use... " >&6; }
7388 # Check whether --with-bootloader was given.
7389 if test "${with_bootloader+set}" = set; then :
7390 withval
=$with_bootloader; target_bootloader
=$withval
7392 target_bootloader
=$target_bootloader
7395 if test "$target_bootloader" = "none"; then
7396 aros_target_bootloader
=""
7398 aros_target_bootloader
="$target_bootloader"
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7401 $as_echo "$target_bootloader" >&6; }
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7404 $as_echo_n "checking which icon-set to use... " >&6; }
7406 # Check whether --with-iconset was given.
7407 if test "${with_iconset+set}" = set; then :
7408 withval
=$with_iconset; target_iconset
=$withval
7410 target_iconset
="default"
7413 if test "$target_iconset" = "default"; then
7414 aros_target_iconset
="Gorilla"
7415 target_iconset
="default (Gorilla)"
7417 aros_target_iconset
="$target_iconset"
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7420 $as_echo "$target_iconset" >&6; }
7422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7423 $as_echo_n "checking which GUI Theme to use... " >&6; }
7425 # Check whether --with-theme was given.
7426 if test "${with_theme+set}" = set; then :
7427 withval
=$with_theme; target_guitheme
=$withval
7429 target_guitheme
="default"
7432 if test "$target_guitheme" = "default"; then
7433 aros_target_guitheme
="Ice"
7435 aros_target_guitheme
="$target_guitheme"
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7438 $as_echo "$aros_target_guitheme" >&6; }
7440 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7443 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7446 if test "$aros_host_cpu" == "x86_64" ; then
7447 if test "$aros_target_cpu" == "i386" ; then
7448 if test "$aros_target_arch" != "mingw32"; then
7453 if test "$aros_host_arch" == "darwin" ; then
7457 # Set prefix for target compiler etc. if we're cross-compiling
7458 # (should possibly be earlier but needs to be after AC_PROG_CC)
7459 if test "$cross_compiling" = "yes" ; then
7460 if test "$target_tool_prefix" = ""; then
7461 target_tool_prefix
=${target_cpu}-elf-
7463 CC
=${target_tool_prefix}gcc
7466 #-----------------------------------------------------------------------------
7468 # Disable pointer-signedness warnings if the compiler recognises the option
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7471 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7472 save_cflags
="$CFLAGS"
7473 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h. */
7485 if ac_fn_c_try_compile
"$LINENO"; then :
7486 use_no_sign_warning
="yes"
7488 use_no_sign_warning
="no"
7490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7492 $as_echo "$use_no_sign_warning" >&6; }
7493 if test "x-$use_no_sign_warning" = "x-yes" ; then
7494 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
7496 CFLAGS
="$save_cflags"
7498 #-----------------------------------------------------------------------------
7500 # Find all the tools we need to compile. This could be cross-compiling
7501 # though! If that is the case we use the GNU form of the target and
7502 # simply add this to the front of the binary name. This is rather simple,
7503 # but it should work under most circumstances.
7505 # The default tools are to use the same as the host, but only if the
7506 # host and target CPU are the same. With GCC this is normally enough.
7510 aros_shared_ld
="$aros_host_ld"
7512 aros_target_mkdep
="$aros_host_mkdep"
7513 aros_target_incl_def
="$aros_host_incl"
7515 aros_kernel_cc
="$CC"
7517 # The default tools executables to be linked to.
7518 if test "$aros_target_cc" != ""; then
7519 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
7520 set dummy
$aros_target_cc; ac_word
=$2
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7522 $as_echo_n "checking for $ac_word... " >&6; }
7523 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
7524 $as_echo_n "(cached) " >&6
7526 case $aros_target_cc in
7528 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
7531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7535 test -z "$as_dir" && as_dir
=.
7536 for ac_exec_ext
in '' $ac_executable_extensions; do
7537 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7538 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
7539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7549 aros_target_cc
=$ac_cv_path_aros_target_cc
7550 if test -n "$aros_target_cc"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
7552 $as_echo "$aros_target_cc" >&6; }
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7559 if test "$aros_target_cc" = ""; then
7560 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7563 if test "$aros_target_ld" != ""; then
7564 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
7565 set dummy
$aros_target_ld; ac_word
=$2
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7567 $as_echo_n "checking for $ac_word... " >&6; }
7568 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
7569 $as_echo_n "(cached) " >&6
7571 case $aros_target_ld in
7573 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
7576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7580 test -z "$as_dir" && as_dir
=.
7581 for ac_exec_ext
in '' $ac_executable_extensions; do
7582 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7583 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
7584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7594 aros_target_ld
=$ac_cv_path_aros_target_ld
7595 if test -n "$aros_target_ld"; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
7597 $as_echo "$aros_target_ld" >&6; }
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7600 $as_echo "no" >&6; }
7604 if test "$aros_target_ld" = ""; then
7605 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
7609 if test "$crosstools" != "yes"; then
7611 if test "$aros_target_as" = ""; then
7612 if test "$cross_compiling" = "yes" ; then
7613 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
7614 set dummy
${target_tool_prefix}as
; ac_word
=$2
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7616 $as_echo_n "checking for $ac_word... " >&6; }
7617 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7618 $as_echo_n "(cached) " >&6
7620 case $aros_target_as_ln in
7622 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7625 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7629 test -z "$as_dir" && as_dir
=.
7630 for ac_exec_ext
in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7644 if test -n "$aros_target_as_ln"; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7646 $as_echo "$aros_target_as_ln" >&6; }
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7649 $as_echo "no" >&6; }
7654 if test "$GCC" = "yes"; then
7655 aros_gcc_as
=`$CC -print-prog-name=as`
7656 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
7657 set dummy
`basename $aros_gcc_as`; ac_word
=$2
7658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7659 $as_echo_n "checking for $ac_word... " >&6; }
7660 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7661 $as_echo_n "(cached) " >&6
7663 case $aros_target_as_ln in
7665 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7669 for as_dir
in `dirname $aros_gcc_as`
7672 test -z "$as_dir" && as_dir
=.
7673 for ac_exec_ext
in '' $ac_executable_extensions; do
7674 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7675 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7686 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7687 if test -n "$aros_target_as_ln"; then
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7689 $as_echo "$aros_target_as_ln" >&6; }
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7692 $as_echo "no" >&6; }
7697 if test "$aros_target_as_ln" = ""; then
7698 # Extract the first word of "as", so it can be a program name with args.
7699 set dummy as
; ac_word
=$2
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7701 $as_echo_n "checking for $ac_word... " >&6; }
7702 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7703 $as_echo_n "(cached) " >&6
7705 case $aros_target_as_ln in
7707 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7710 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7714 test -z "$as_dir" && as_dir
=.
7715 for ac_exec_ext
in '' $ac_executable_extensions; do
7716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7717 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7718 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7728 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7729 if test -n "$aros_target_as_ln"; then
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7731 $as_echo "$aros_target_as_ln" >&6; }
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7734 $as_echo "no" >&6; }
7741 # Extract the first word of "$aros_target_as", so it can be a program name with args.
7742 set dummy
$aros_target_as; ac_word
=$2
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7744 $as_echo_n "checking for $ac_word... " >&6; }
7745 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7746 $as_echo_n "(cached) " >&6
7748 case $aros_target_as_ln in
7750 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7757 test -z "$as_dir" && as_dir
=.
7758 for ac_exec_ext
in '' $ac_executable_extensions; do
7759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7760 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7771 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7772 if test -n "$aros_target_as_ln"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7774 $as_echo "$aros_target_as_ln" >&6; }
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7783 if test "$aros_target_as_ln" = ""; then
7784 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
7787 if test "$aros_kernel_ld" = ""; then
7788 if test "$cross_compiling" = "yes" ; then
7789 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
7790 set dummy
${target_tool_prefix}ld
; ac_word
=$2
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7792 $as_echo_n "checking for $ac_word... " >&6; }
7793 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7794 $as_echo_n "(cached) " >&6
7796 case $aros_kernel_ld in
7798 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7801 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7805 test -z "$as_dir" && as_dir
=.
7806 for ac_exec_ext
in '' $ac_executable_extensions; do
7807 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7808 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7820 if test -n "$aros_kernel_ld"; then
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7822 $as_echo "$aros_kernel_ld" >&6; }
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7825 $as_echo "no" >&6; }
7830 if test "$GCC" = "yes"; then
7831 aros_gcc_ld
=`$CC -print-prog-name=ld`
7832 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
7833 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7835 $as_echo_n "checking for $ac_word... " >&6; }
7836 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7837 $as_echo_n "(cached) " >&6
7839 case $aros_kernel_ld in
7841 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7845 for as_dir
in `dirname $aros_gcc_ld`
7848 test -z "$as_dir" && as_dir
=.
7849 for ac_exec_ext
in '' $ac_executable_extensions; do
7850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7851 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7862 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7863 if test -n "$aros_kernel_ld"; then
7864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7865 $as_echo "$aros_kernel_ld" >&6; }
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7868 $as_echo "no" >&6; }
7873 if test "$aros_kernel_ld" = ""; then
7874 # Extract the first word of "ld", so it can be a program name with args.
7875 set dummy ld
; ac_word
=$2
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7877 $as_echo_n "checking for $ac_word... " >&6; }
7878 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7879 $as_echo_n "(cached) " >&6
7881 case $aros_kernel_ld in
7883 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7886 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7890 test -z "$as_dir" && as_dir
=.
7891 for ac_exec_ext
in '' $ac_executable_extensions; do
7892 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7893 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7904 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7905 if test -n "$aros_kernel_ld"; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7907 $as_echo "$aros_kernel_ld" >&6; }
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910 $as_echo "no" >&6; }
7917 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
7918 set dummy
$aros_kernel_ld; ac_word
=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7922 $as_echo_n "(cached) " >&6
7924 case $aros_kernel_ld in
7926 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7933 test -z "$as_dir" && as_dir
=.
7934 for ac_exec_ext
in '' $ac_executable_extensions; do
7935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7936 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7947 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7948 if test -n "$aros_kernel_ld"; then
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7950 $as_echo "$aros_kernel_ld" >&6; }
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7953 $as_echo "no" >&6; }
7959 if test "$aros_kernel_ld" = ""; then
7960 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
7963 if test "$aros_target_ar" = ""; then
7964 if test "$cross_compiling" = "yes" ; then
7965 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
7966 set dummy
${target_tool_prefix}ar; ac_word
=$2
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7968 $as_echo_n "checking for $ac_word... " >&6; }
7969 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
7970 $as_echo_n "(cached) " >&6
7972 case $aros_target_ar_ln in
7974 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7981 test -z "$as_dir" && as_dir
=.
7982 for ac_exec_ext
in '' $ac_executable_extensions; do
7983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7984 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7995 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7996 if test -n "$aros_target_ar_ln"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
7998 $as_echo "$aros_target_ar_ln" >&6; }
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8006 if test "$GCC" = "yes"; then
8007 aros_gcc_ar
=`$CC -print-prog-name=ar`
8008 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8009 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8013 $as_echo_n "(cached) " >&6
8015 case $aros_target_ar_ln in
8017 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8021 for as_dir
in `dirname $aros_gcc_ar`
8024 test -z "$as_dir" && as_dir
=.
8025 for ac_exec_ext
in '' $ac_executable_extensions; do
8026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8027 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8038 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8039 if test -n "$aros_target_ar_ln"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8041 $as_echo "$aros_target_ar_ln" >&6; }
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8049 if test "$aros_target_ar_ln" = ""; then
8050 # Extract the first word of "ar", so it can be a program name with args.
8051 set dummy
ar; ac_word
=$2
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8053 $as_echo_n "checking for $ac_word... " >&6; }
8054 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8055 $as_echo_n "(cached) " >&6
8057 case $aros_target_ar_ln in
8059 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8062 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8066 test -z "$as_dir" && as_dir
=.
8067 for ac_exec_ext
in '' $ac_executable_extensions; do
8068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8069 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8080 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8081 if test -n "$aros_target_ar_ln"; then
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8083 $as_echo "$aros_target_ar_ln" >&6; }
8085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8086 $as_echo "no" >&6; }
8093 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8094 set dummy
$aros_target_ar; ac_word
=$2
8095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8096 $as_echo_n "checking for $ac_word... " >&6; }
8097 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8098 $as_echo_n "(cached) " >&6
8100 case $aros_target_ar_ln in
8102 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8109 test -z "$as_dir" && as_dir
=.
8110 for ac_exec_ext
in '' $ac_executable_extensions; do
8111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8112 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8123 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8124 if test -n "$aros_target_ar_ln"; then
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8126 $as_echo "$aros_target_ar_ln" >&6; }
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8129 $as_echo "no" >&6; }
8135 if test "$aros_target_ar_ln" = ""; then
8136 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8139 if test "$aros_target_nm" = ""; then
8140 if test "$cross_compiling" = "yes" ; then
8141 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8142 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8144 $as_echo_n "checking for $ac_word... " >&6; }
8145 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8146 $as_echo_n "(cached) " >&6
8148 case $aros_target_nm_ln in
8150 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8153 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8157 test -z "$as_dir" && as_dir
=.
8158 for ac_exec_ext
in '' $ac_executable_extensions; do
8159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8160 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8172 if test -n "$aros_target_nm_ln"; then
8173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8174 $as_echo "$aros_target_nm_ln" >&6; }
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8177 $as_echo "no" >&6; }
8182 if test "$GCC" = "yes"; then
8183 aros_gcc_nm
=`$CC -print-prog-name=nm`
8184 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8185 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8187 $as_echo_n "checking for $ac_word... " >&6; }
8188 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8189 $as_echo_n "(cached) " >&6
8191 case $aros_target_nm_ln in
8193 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8197 for as_dir
in `dirname $aros_gcc_nm`
8200 test -z "$as_dir" && as_dir
=.
8201 for ac_exec_ext
in '' $ac_executable_extensions; do
8202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8203 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8214 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8215 if test -n "$aros_target_nm_ln"; then
8216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8217 $as_echo "$aros_target_nm_ln" >&6; }
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8220 $as_echo "no" >&6; }
8225 if test "$aros_target_nm_ln" = ""; then
8226 # Extract the first word of "nm", so it can be a program name with args.
8227 set dummy nm
; ac_word
=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229 $as_echo_n "checking for $ac_word... " >&6; }
8230 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8231 $as_echo_n "(cached) " >&6
8233 case $aros_target_nm_ln in
8235 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8242 test -z "$as_dir" && as_dir
=.
8243 for ac_exec_ext
in '' $ac_executable_extensions; do
8244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8245 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8256 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8257 if test -n "$aros_target_nm_ln"; then
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8259 $as_echo "$aros_target_nm_ln" >&6; }
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8262 $as_echo "no" >&6; }
8269 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8270 set dummy
$aros_target_nm; ac_word
=$2
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8272 $as_echo_n "checking for $ac_word... " >&6; }
8273 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8276 case $aros_target_nm_ln in
8278 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8285 test -z "$as_dir" && as_dir
=.
8286 for ac_exec_ext
in '' $ac_executable_extensions; do
8287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8288 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8299 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8300 if test -n "$aros_target_nm_ln"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8302 $as_echo "$aros_target_nm_ln" >&6; }
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }
8311 if test "$aros_target_nm_ln" = ""; then
8312 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8315 if test "$aros_target_objcopy" = ""; then
8316 if test "$cross_compiling" = "yes" ; then
8317 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8318 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8320 $as_echo_n "checking for $ac_word... " >&6; }
8321 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8322 $as_echo_n "(cached) " >&6
8324 case $aros_target_objcopy_ln in
8326 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8333 test -z "$as_dir" && as_dir
=.
8334 for ac_exec_ext
in '' $ac_executable_extensions; do
8335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8336 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8347 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8348 if test -n "$aros_target_objcopy_ln"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8350 $as_echo "$aros_target_objcopy_ln" >&6; }
8352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8353 $as_echo "no" >&6; }
8358 if test "$GCC" = "yes"; then
8359 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8360 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8361 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8363 $as_echo_n "checking for $ac_word... " >&6; }
8364 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8365 $as_echo_n "(cached) " >&6
8367 case $aros_target_objcopy_ln in
8369 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8373 for as_dir
in `dirname $aros_gcc_objcopy`
8376 test -z "$as_dir" && as_dir
=.
8377 for ac_exec_ext
in '' $ac_executable_extensions; do
8378 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8379 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8390 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8391 if test -n "$aros_target_objcopy_ln"; then
8392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8393 $as_echo "$aros_target_objcopy_ln" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8396 $as_echo "no" >&6; }
8401 if test "$aros_target_objcopy_ln" = ""; then
8402 # Extract the first word of "objcopy", so it can be a program name with args.
8403 set dummy objcopy
; ac_word
=$2
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8405 $as_echo_n "checking for $ac_word... " >&6; }
8406 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8407 $as_echo_n "(cached) " >&6
8409 case $aros_target_objcopy_ln in
8411 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8418 test -z "$as_dir" && as_dir
=.
8419 for ac_exec_ext
in '' $ac_executable_extensions; do
8420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8421 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8433 if test -n "$aros_target_objcopy_ln"; then
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8435 $as_echo "$aros_target_objcopy_ln" >&6; }
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8438 $as_echo "no" >&6; }
8445 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8446 set dummy
$aros_target_objcopy; ac_word
=$2
8447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8448 $as_echo_n "checking for $ac_word... " >&6; }
8449 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8450 $as_echo_n "(cached) " >&6
8452 case $aros_target_objcopy_ln in
8454 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8461 test -z "$as_dir" && as_dir
=.
8462 for ac_exec_ext
in '' $ac_executable_extensions; do
8463 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8464 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8475 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8476 if test -n "$aros_target_objcopy_ln"; then
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8478 $as_echo "$aros_target_objcopy_ln" >&6; }
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8481 $as_echo "no" >&6; }
8487 if test "$aros_target_objcopy_ln" = ""; then
8488 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
8491 if test "$aros_target_objdump" = ""; then
8492 if test "$cross_compiling" = "yes" ; then
8493 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8494 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8496 $as_echo_n "checking for $ac_word... " >&6; }
8497 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8498 $as_echo_n "(cached) " >&6
8500 case $aros_target_objdump_ln in
8502 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8509 test -z "$as_dir" && as_dir
=.
8510 for ac_exec_ext
in '' $ac_executable_extensions; do
8511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8512 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8523 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8524 if test -n "$aros_target_objdump_ln"; then
8525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8526 $as_echo "$aros_target_objdump_ln" >&6; }
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8529 $as_echo "no" >&6; }
8534 if test "$GCC" = "yes"; then
8535 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8536 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8537 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8539 $as_echo_n "checking for $ac_word... " >&6; }
8540 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8541 $as_echo_n "(cached) " >&6
8543 case $aros_target_objdump_ln in
8545 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8549 for as_dir
in `dirname $aros_gcc_objdump`
8552 test -z "$as_dir" && as_dir
=.
8553 for ac_exec_ext
in '' $ac_executable_extensions; do
8554 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8555 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8566 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8567 if test -n "$aros_target_objdump_ln"; then
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8569 $as_echo "$aros_target_objdump_ln" >&6; }
8571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8572 $as_echo "no" >&6; }
8577 if test "$aros_target_objdump_ln" = ""; then
8578 # Extract the first word of "objdump", so it can be a program name with args.
8579 set dummy objdump
; ac_word
=$2
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8581 $as_echo_n "checking for $ac_word... " >&6; }
8582 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8583 $as_echo_n "(cached) " >&6
8585 case $aros_target_objdump_ln in
8587 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8594 test -z "$as_dir" && as_dir
=.
8595 for ac_exec_ext
in '' $ac_executable_extensions; do
8596 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8597 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8608 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8609 if test -n "$aros_target_objdump_ln"; then
8610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8611 $as_echo "$aros_target_objdump_ln" >&6; }
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8614 $as_echo "no" >&6; }
8621 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
8622 set dummy
$aros_target_objdump; ac_word
=$2
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8624 $as_echo_n "checking for $ac_word... " >&6; }
8625 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8626 $as_echo_n "(cached) " >&6
8628 case $aros_target_objdump_ln in
8630 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8633 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8637 test -z "$as_dir" && as_dir
=.
8638 for ac_exec_ext
in '' $ac_executable_extensions; do
8639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8640 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8651 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8652 if test -n "$aros_target_objdump_ln"; then
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8654 $as_echo "$aros_target_objdump_ln" >&6; }
8656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8657 $as_echo "no" >&6; }
8663 if test "$aros_target_objdump_ln" = ""; then
8664 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
8667 if test "$aros_target_ranlib" = ""; then
8668 if test "$cross_compiling" = "yes" ; then
8669 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8670 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8672 $as_echo_n "checking for $ac_word... " >&6; }
8673 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8674 $as_echo_n "(cached) " >&6
8676 case $aros_target_ranlib_ln in
8678 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8681 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8685 test -z "$as_dir" && as_dir
=.
8686 for ac_exec_ext
in '' $ac_executable_extensions; do
8687 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8688 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8699 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8700 if test -n "$aros_target_ranlib_ln"; then
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8702 $as_echo "$aros_target_ranlib_ln" >&6; }
8704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8705 $as_echo "no" >&6; }
8710 if test "$GCC" = "yes"; then
8711 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8712 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8713 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8715 $as_echo_n "checking for $ac_word... " >&6; }
8716 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8717 $as_echo_n "(cached) " >&6
8719 case $aros_target_ranlib_ln in
8721 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8725 for as_dir
in `dirname $aros_gcc_ranlib`
8728 test -z "$as_dir" && as_dir
=.
8729 for ac_exec_ext
in '' $ac_executable_extensions; do
8730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8731 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8742 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8743 if test -n "$aros_target_ranlib_ln"; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8745 $as_echo "$aros_target_ranlib_ln" >&6; }
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8748 $as_echo "no" >&6; }
8753 if test "$aros_target_ranlib_ln" = ""; then
8754 # Extract the first word of "ranlib", so it can be a program name with args.
8755 set dummy ranlib
; ac_word
=$2
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8757 $as_echo_n "checking for $ac_word... " >&6; }
8758 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8759 $as_echo_n "(cached) " >&6
8761 case $aros_target_ranlib_ln in
8763 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8770 test -z "$as_dir" && as_dir
=.
8771 for ac_exec_ext
in '' $ac_executable_extensions; do
8772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8773 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8784 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8785 if test -n "$aros_target_ranlib_ln"; then
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8787 $as_echo "$aros_target_ranlib_ln" >&6; }
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8790 $as_echo "no" >&6; }
8797 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
8798 set dummy
$aros_target_ranlib; ac_word
=$2
8799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8800 $as_echo_n "checking for $ac_word... " >&6; }
8801 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8802 $as_echo_n "(cached) " >&6
8804 case $aros_target_ranlib_ln in
8806 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8809 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8813 test -z "$as_dir" && as_dir
=.
8814 for ac_exec_ext
in '' $ac_executable_extensions; do
8815 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8816 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8817 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8827 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8828 if test -n "$aros_target_ranlib_ln"; then
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8830 $as_echo "$aros_target_ranlib_ln" >&6; }
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8833 $as_echo "no" >&6; }
8839 if test "$aros_target_ranlib_ln" = ""; then
8840 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
8843 if test "$aros_target_strip" = ""; then
8844 if test "$cross_compiling" = "yes" ; then
8845 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
8846 set dummy
${target_tool_prefix}strip
; ac_word
=$2
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8848 $as_echo_n "checking for $ac_word... " >&6; }
8849 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8850 $as_echo_n "(cached) " >&6
8852 case $aros_target_strip_ln in
8854 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8861 test -z "$as_dir" && as_dir
=.
8862 for ac_exec_ext
in '' $ac_executable_extensions; do
8863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8864 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8875 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8876 if test -n "$aros_target_strip_ln"; then
8877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8878 $as_echo "$aros_target_strip_ln" >&6; }
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8881 $as_echo "no" >&6; }
8886 if test "$GCC" = "yes"; then
8887 aros_gcc_strip
=`$CC -print-prog-name=strip`
8888 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
8889 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
8890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8891 $as_echo_n "checking for $ac_word... " >&6; }
8892 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8893 $as_echo_n "(cached) " >&6
8895 case $aros_target_strip_ln in
8897 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8901 for as_dir
in `dirname $aros_gcc_strip`
8904 test -z "$as_dir" && as_dir
=.
8905 for ac_exec_ext
in '' $ac_executable_extensions; do
8906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8907 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8918 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8919 if test -n "$aros_target_strip_ln"; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8921 $as_echo "$aros_target_strip_ln" >&6; }
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8924 $as_echo "no" >&6; }
8929 if test "$aros_target_strip_ln" = ""; then
8930 # Extract the first word of "strip", so it can be a program name with args.
8931 set dummy strip
; ac_word
=$2
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8933 $as_echo_n "checking for $ac_word... " >&6; }
8934 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8935 $as_echo_n "(cached) " >&6
8937 case $aros_target_strip_ln in
8939 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8946 test -z "$as_dir" && as_dir
=.
8947 for ac_exec_ext
in '' $ac_executable_extensions; do
8948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8949 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8960 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8961 if test -n "$aros_target_strip_ln"; then
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8963 $as_echo "$aros_target_strip_ln" >&6; }
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8966 $as_echo "no" >&6; }
8973 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
8974 set dummy
$aros_target_strip; ac_word
=$2
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8976 $as_echo_n "checking for $ac_word... " >&6; }
8977 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8978 $as_echo_n "(cached) " >&6
8980 case $aros_target_strip_ln in
8982 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8989 test -z "$as_dir" && as_dir
=.
8990 for ac_exec_ext
in '' $ac_executable_extensions; do
8991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8992 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9003 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9004 if test -n "$aros_target_strip_ln"; then
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9006 $as_echo "$aros_target_strip_ln" >&6; }
9008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9009 $as_echo "no" >&6; }
9015 if test "$aros_target_strip_ln" = ""; then
9016 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9020 if test "$rescomp" != ""; then
9021 if test "$cross_compiling" = "yes" ; then
9022 rescomp
=${target_tool_prefix}${rescomp}
9024 # Extract the first word of "$rescomp", so it can be a program name with args.
9025 set dummy
$rescomp; ac_word
=$2
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9027 $as_echo_n "checking for $ac_word... " >&6; }
9028 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
9029 $as_echo_n "(cached) " >&6
9031 case $aros_kernel_rescomp in
9033 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9040 test -z "$as_dir" && as_dir
=.
9041 for ac_exec_ext
in '' $ac_executable_extensions; do
9042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9043 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9054 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9055 if test -n "$aros_kernel_rescomp"; then
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
9057 $as_echo "$aros_kernel_rescomp" >&6; }
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9060 $as_echo "no" >&6; }
9064 if test "$aros_kernel_rescomp" = ""; then
9065 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
9069 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9070 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9071 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9072 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9073 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9074 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9075 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9077 # aros_cc_pre is a variable that is added to the front of the compiler name
9078 # in the generated aros-gcc shell script. We need this to enable the cache
9079 # to work across cleaned builds. Also, support DISTCC using the correct
9080 # environment variable.
9083 if test "x${DISTCC}" != "x" ; then
9084 if test "x${CCACHE}" != "x" ; then
9085 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9087 aros_cc_pre
="${DISTCC} "
9090 if test "x${CCACHE}" != "x" ; then
9091 aros_cc_pre
="${CCACHE} "
9095 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9097 aros_target_nostdinc_cflags
=-nostdinc
9099 aros_target_nostartup_ldflags
=-nostartfiles
9101 aros_target_nix_ldflags
=-nix
9103 aros_target_detach_ldflags
=-detach
9105 aros_target_nostdlib_ldflags
=-nostdlib
9109 if test "$aros_target_cc" = ""; then
9110 orig_target_cc
=$aros_kernel_cc
9112 orig_target_cc
=$aros_target_cc
9114 if test "$aros_target_ld" = ""; then
9115 orig_target_ld
=$aros_kernel_ld
9117 orig_target_ld
=$aros_target_ld
9119 if test "$GCC" = "yes"; then
9120 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9122 aros_target_cc
="${prefix}-gcc"
9123 aros_target_as
="${prefix}-as"
9124 aros_target_ld
="${prefix}-ld"
9125 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9126 aros_target_objcopy
=${prefix}-objcopy
9127 aros_target_objdump
=${prefix}-objdump
9128 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9129 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9130 aros_kernel_nm
="${prefix}-nm"
9131 aros_target_strip
=${prefix}-strip
9133 # Find the system include path. We can suggest that an alternative is
9134 # used if we don't get it correct. The default is to use /usr/include.
9135 # Which is set in the aros_target_incl_def variable.
9137 # Check whether --enable-includes was given.
9138 if test "${enable_includes+set}" = set; then :
9139 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9141 aros_target_incl
=$aros_target_incl_def
9145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9146 $as_echo_n "checking for the target compiler's include path... " >&6; }
9147 if test "$aros_target_cc_includes" = "" ; then
9148 #try to guess where the directory is
9149 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9150 if ! test -d $aros_target_cc_includes; then
9151 #the directory doesn't exist, we need to do some more work
9152 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9154 #these are the headers we're looling for
9155 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9156 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9160 for h
in $headers; do
9161 #which other headers each of the above headers needs?
9162 deps
=$
(echo "#include <$h>" | \
9163 $aros_host_cc -E -M - 2>/dev
/null | \
9164 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9166 #copy all the needed headers to a directory beneath gendir
9169 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9170 sed -n "s,^.*/include\(/.*\),\1,p")
9171 ! test -d $dir && mkdir
-p $dir
9172 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9178 $as_echo "$aros_target_cc_includes" >&6; }
9181 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9182 # On GCC >= 4.0 -iquote should be used
9186 save_cflags
="$CFLAGS"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9189 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9201 if ac_fn_c_try_compile
"$LINENO"; then :
9206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9208 $as_echo "$has_iquote" >&6; }
9209 if test "x-$has_iquote" = "x-yes" ; then
9210 host_cflags_iquote
=-iquote
9211 host_cflags_iquote_end
=
9213 host_cflags_iquote
=-I
9214 host_cflags_iquote_end
=-I-
9216 kernel_cflags_iquote
=$host_cflags_iquote
9217 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9218 if test "x-$cross_compiling" = "x-yes"; then
9219 CC
="$aros_kernel_cc"
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9221 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9223 /* end confdefs.h. */
9233 if ac_fn_c_try_compile
"$LINENO"; then :
9234 use_no_stack_protector
="yes"
9236 use_no_stack_protector
="no"
9238 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9240 $as_echo "$use_no_stack_protector" >&6; }
9241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9242 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9243 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9244 /* end confdefs.h. */
9254 if ac_fn_c_try_compile
"$LINENO"; then :
9259 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9261 $as_echo "$has_iquote" >&6; }
9262 if test "x-$has_iquote" = "x-yes" ; then
9263 kernel_cflags_iquote
=-iquote
9264 kernel_cflags_iquote_end
=
9266 kernel_cflags_iquote
=-I
9267 kernel_cflags_iquote_end
=-I-
9270 aros_cflags_iquote
=$kernel_cflags_iquote
9271 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9272 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9273 CC
="$orig_target_cc"
9274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9275 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9287 if ac_fn_c_try_compile
"$LINENO"; then :
9292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9294 $as_echo "$has_iquote" >&6; }
9295 if test "x-$has_iquote" = "x-yes" ; then
9296 aros_cflags_iquote
=-iquote
9297 aros_cflags_iquote_end
=
9299 aros_cflags_iquote
=-I
9300 aros_cflags_iquote_end
=-I-
9303 if test "x-$use_no_stack_protector" = "x-yes" ; then
9304 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9307 #-----------------------------------------------------------------------------
9309 # Check if we can explicitly choose older version of symbol hashing
9311 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9312 CC
="$aros_kernel_cc"
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9314 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9316 /* end confdefs.h. */
9326 if ac_fn_c_try_link
"$LINENO"; then :
9327 use_hash_style
="yes"
9331 rm -f core conftest.err conftest.
$ac_objext \
9332 conftest
$ac_exeext conftest.
$ac_ext
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9334 $as_echo "$use_hash_style" >&6; }
9335 if test "x-$use_hash_style" = "x-yes" ; then
9336 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9339 CFLAGS
="$save_cflags"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9350 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9352 # Check whether --with-resolution was given.
9353 if test "${with_resolution+set}" = set; then :
9354 withval
=$with_resolution; resolution
=$withval
9359 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9360 if test "$resolution" = "yes" ; then
9363 if test "$resolution" = "no" ; then
9366 if test "$resolution" != "none" ; then
9367 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9368 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9369 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9372 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9373 aros_cv_default_wbwidth
=$aros_default_wbwidth
9374 aros_cv_default_wbheight
=$aros_default_wbheight
9375 aros_cv_default_wbdepth
=$aros_default_wbdepth
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
9378 $as_echo_n "checking if serial debug is enabled... " >&6; }
9380 # Check whether --with-serial-debug was given.
9381 if test "${with_serial_debug+set}" = set; then :
9382 withval
=$with_serial_debug; serial_debug
=$withval
9387 if test "$aros_serial_debug" = 0 ; then
9388 serial_debug_forced
=""
9389 if test "$serial_debug" = "yes" ; then
9392 if test "$serial_debug" = "no" ; then
9396 serial_debug_forced
="(forced)"
9397 serial_debug
=$aros_serial_debug
9399 if test "$serial_debug" != "none" ; then
9400 aros_serial_debug
=$serial_debug
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
9402 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9405 $as_echo "no" >&6; }
9408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
9409 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
9410 # Check whether --enable-palm_debug_hack was given.
9411 if test "${enable_palm_debug_hack+set}" = set; then :
9412 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
9414 palm_debug_hack
="no"
9417 if test "$palm_debug_hack" = "yes" ; then
9418 aros_palm_debug_hack
="1"
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
9421 $as_echo "$palm_debug_hack" >&6; }
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
9425 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
9426 # Check whether --enable-nesting_supervisor was given.
9427 if test "${enable_nesting_supervisor+set}" = set; then :
9428 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
9430 nesting_supervisor
="no"
9433 if test "$nesting_supervisor" = "yes" ; then
9434 aros_nesting_supervisor
="1"
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
9437 $as_echo "$nesting_supervisor" >&6; }
9440 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9442 if test "x-$need_dlopen" != "x-no" ; then
9443 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9444 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9450 if test "x-$have_dl" = "x-no" ; then
9451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9452 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9453 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9454 $as_echo_n "(cached) " >&6
9456 ac_check_lib_save_LIBS
=$LIBS
9458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9459 /* end confdefs.h. */
9461 /* Override any GCC internal prototype to avoid an error.
9462 Use char because int might match the return type of a GCC
9463 builtin and then its argument prototype would still apply. */
9476 if ac_fn_c_try_link
"$LINENO"; then :
9477 ac_cv_lib_dl_dlopen
=yes
9479 ac_cv_lib_dl_dlopen
=no
9481 rm -f core conftest.err conftest.
$ac_objext \
9482 conftest
$ac_exeext conftest.
$ac_ext
9483 LIBS
=$ac_check_lib_save_LIBS
9485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9486 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9487 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9489 aros_host_ldflags
="$aros_host_ldflags -ldl"
9495 if test "x-$have_dl" = "x-no" ; then
9496 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
9501 # Check whether --enable-x11_hidd was given.
9502 if test "${enable_x11_hidd+set}" = set; then :
9503 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
9508 case "x-$x11_hidd" in
9509 x-yes|x-no|x-auto
) ;;
9510 *) x11_hidd
="auto" ;;
9515 if test "x-$x11_hidd" != "x-no" ; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9518 $as_echo_n "checking for X... " >&6; }
9521 # Check whether --with-x was given.
9522 if test "${with_x+set}" = set; then :
9526 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9527 if test "x$with_x" = xno
; then
9528 # The user explicitly disabled X.
9531 case $x_includes,$x_libraries in #(
9532 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
9533 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
9534 $as_echo_n "(cached) " >&6
9536 # One or both of the vars are not set, and there is no cached value.
9537 ac_x_includes
=no ac_x_libraries
=no
9538 rm -f -r conftest.dir
9539 if mkdir conftest.dir
; then
9541 cat >Imakefile
<<'_ACEOF'
9543 @echo incroot='${INCROOT}'
9545 @echo usrlibdir='${USRLIBDIR}'
9547 @echo libdir='${LIBDIR}'
9549 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9550 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9551 for ac_var
in incroot usrlibdir libdir
; do
9552 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9554 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9555 for ac_extension
in a so sl dylib la dll
; do
9556 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9557 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9558 ac_im_usrlibdir
=$ac_im_libdir; break
9561 # Screen out bogus values from the imake configuration. They are
9562 # bogus both because they are the default anyway, and because
9563 # using them would break gcc on systems where it needs fixed includes.
9564 case $ac_im_incroot in
9565 /usr
/include
) ac_x_includes
= ;;
9566 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9568 case $ac_im_usrlibdir in
9569 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9570 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9574 rm -f -r conftest.dir
9577 # Standard set of common directories for X headers.
9578 # Check X11 before X11Rn because it is often a symlink to the current release.
9592 /usr/local/X11/include
9593 /usr/local/X11R7/include
9594 /usr/local/X11R6/include
9595 /usr/local/X11R5/include
9596 /usr/local/X11R4/include
9598 /usr/local/include/X11
9599 /usr/local/include/X11R7
9600 /usr/local/include/X11R6
9601 /usr/local/include/X11R5
9602 /usr/local/include/X11R4
9606 /usr/XFree86/include/X11
9610 /usr/unsupported/include
9612 /usr/local/x11r5/include
9613 /usr/lpp/Xamples/include
9615 /usr/openwin/include
9616 /usr/openwin/share/include'
9618 if test "$ac_x_includes" = no
; then
9619 # Guess where to find include files, by looking for Xlib.h.
9620 # First, try using that file with no special directory specified.
9621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9622 /* end confdefs.h. */
9623 #include <X11/Xlib.h>
9625 if ac_fn_c_try_cpp
"$LINENO"; then :
9626 # We can compile using X headers with no special include directory.
9629 for ac_dir
in $ac_x_header_dirs; do
9630 if test -r "$ac_dir/X11/Xlib.h"; then
9631 ac_x_includes
=$ac_dir
9636 rm -f conftest.err conftest.
$ac_ext
9637 fi # $ac_x_includes = no
9639 if test "$ac_x_libraries" = no
; then
9640 # Check for the libraries.
9641 # See if we find them without any special options.
9642 # Don't add to $LIBS permanently.
9645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9646 /* end confdefs.h. */
9647 #include <X11/Xlib.h>
9656 if ac_fn_c_try_link
"$LINENO"; then :
9658 # We can link X programs with no special library path.
9662 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9664 # Don't even attempt the hair of trying to link an X program!
9665 for ac_extension
in a so sl dylib la dll
; do
9666 if test -r "$ac_dir/libX11.$ac_extension"; then
9667 ac_x_libraries
=$ac_dir
9673 rm -f core conftest.err conftest.
$ac_objext \
9674 conftest
$ac_exeext conftest.
$ac_ext
9675 fi # $ac_x_libraries = no
9677 case $ac_x_includes,$ac_x_libraries in #(
9679 # Didn't find X, or a directory has "'" in its name.
9680 ac_cv_have_x
="have_x=no";; #(
9682 # Record where we found X for the cache.
9683 ac_cv_have_x
="have_x=yes\
9684 ac_x_includes='$ac_x_includes'\
9685 ac_x_libraries='$ac_x_libraries'"
9691 eval "$ac_cv_have_x"
9694 if test "$have_x" != yes; then
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9696 $as_echo "$have_x" >&6; }
9699 # If each of the values was on the command line, it overrides each guess.
9700 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9701 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9702 # Update the cache value to reflect the command line values.
9703 ac_cv_have_x
="have_x=yes\
9704 ac_x_includes='$x_includes'\
9705 ac_x_libraries='$x_libraries'"
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9707 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9712 for path
in $x_libraries
9714 x_cflags
="$x_cflags -L$path"
9717 for path
in $x_includes
9719 x_cflags
="$x_cflags -I$path"
9722 if test "x-$no_x" = "x-yes" ; then
9724 if test "x-$x11_hidd" != "x-auto" ; then
9725 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
9729 x11_hidd_target
=kernel-x11gfx-kobj
9732 # Check whether --enable-x11_shm was given.
9733 if test "${enable_x11_shm+set}" = set; then :
9734 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
9739 case "x-$x11_hidd_shm" in
9740 x-yes|x-no|x-auto
) ;;
9741 *) x11_hidd_shm
="auto" ;;
9746 if test "x-$x11_hidd_shm" != "x-no" ; then
9748 for ac_header
in sys
/ipc.h
9750 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
9751 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
9752 cat >>confdefs.h
<<_ACEOF
9753 #define HAVE_SYS_IPC_H 1
9760 for ac_header
in sys
/shm.h
9762 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
9763 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
9764 cat >>confdefs.h
<<_ACEOF
9765 #define HAVE_SYS_SHM_H 1
9773 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
9775 save_cflags
="$CFLAGS"
9776 CFLAGS
="$CFLAGS $x_cflags"
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9778 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9779 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
9780 $as_echo_n "(cached) " >&6
9782 ac_check_lib_save_LIBS
=$LIBS
9784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9793 char XShmQueryExtension ();
9797 return XShmQueryExtension ();
9802 if ac_fn_c_try_link
"$LINENO"; then :
9803 ac_cv_lib_Xext_XShmQueryExtension
=yes
9805 ac_cv_lib_Xext_XShmQueryExtension
=no
9807 rm -f core conftest.err conftest.
$ac_objext \
9808 conftest
$ac_exeext conftest.
$ac_ext
9809 LIBS
=$ac_check_lib_save_LIBS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9812 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9813 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
9817 CFLAGS
="$save_cflags"
9821 if test "x-$have_xshm" = "x-yes" ; then
9823 elif test "x-$x11_hidd_shm" = "x-yes" ; then
9824 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
9830 # Check whether --enable-x11_vidmode was given.
9831 if test "${enable_x11_vidmode+set}" = set; then :
9832 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
9834 x11_hidd_vidmode
="auto"
9837 case "x-$x11_hidd_vidmode" in
9838 x-yes|x-no|x-auto
) ;;
9839 *) x11_hidd_vidmode
="auto" ;;
9844 if test "x-$x11_hidd_vidmode" != "x-no" ; then
9846 save_cflags
="$CFLAGS"
9847 CFLAGS
="$CFLAGS $x_cflags"
9848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9849 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
9850 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
9851 $as_echo_n "(cached) " >&6
9853 ac_check_lib_save_LIBS
=$LIBS
9854 LIBS
="-lXxf86vm $LIBS"
9855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9856 /* end confdefs.h. */
9858 /* Override any GCC internal prototype to avoid an error.
9859 Use char because int might match the return type of a GCC
9860 builtin and then its argument prototype would still apply. */
9864 char XF86VidModeQueryExtension ();
9868 return XF86VidModeQueryExtension ();
9873 if ac_fn_c_try_link
"$LINENO"; then :
9874 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9876 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9878 rm -f core conftest.err conftest.
$ac_objext \
9879 conftest
$ac_exeext conftest.
$ac_ext
9880 LIBS
=$ac_check_lib_save_LIBS
9882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9883 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9884 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
9888 CFLAGS
="$save_cflags"
9891 if test "x-$have_vidmode" = "x-yes" ; then
9892 DO_VIDMODE_SUPPORT
="1"
9893 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
9894 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
9896 DO_VIDMODE_SUPPORT
="0"
9900 aros_host_x11_includes
=$x_includes
9901 aros_host_x11_libdirs
=$x_libraries
9905 # Check whether --enable-sdl_hidd was given.
9906 if test "${enable_sdl_hidd+set}" = set; then :
9907 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
9912 case "x-$sdl_hidd" in
9913 x-yes|x-no|x-auto
) ;;
9914 *) sdl_hidd
="auto" ;;
9917 if test "x-$sdl_hidd" != "x-no" ; then
9920 # Check whether --with-sdl-prefix was given.
9921 if test "${with_sdl_prefix+set}" = set; then :
9922 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
9928 # Check whether --with-sdl-exec-prefix was given.
9929 if test "${with_sdl_exec_prefix+set}" = set; then :
9930 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
9935 # Check whether --enable-sdltest was given.
9936 if test "${enable_sdltest+set}" = set; then :
9937 enableval
=$enable_sdltest;
9943 if test x
$sdl_exec_prefix != x
; then
9944 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
9945 if test x
${SDL_CONFIG+set} != xset
; then
9946 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
9949 if test x
$sdl_prefix != x
; then
9950 sdl_args
="$sdl_args --prefix=$sdl_prefix"
9951 if test x
${SDL_CONFIG+set} != xset
; then
9952 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
9956 if test "x$prefix" != xNONE
; then
9957 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
9959 # Extract the first word of "sdl-config", so it can be a program name with args.
9960 set dummy sdl-config
; ac_word
=$2
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9962 $as_echo_n "checking for $ac_word... " >&6; }
9963 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
9964 $as_echo_n "(cached) " >&6
9968 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
9971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9975 test -z "$as_dir" && as_dir
=.
9976 for ac_exec_ext
in '' $ac_executable_extensions; do
9977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9978 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9986 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
9990 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
9991 if test -n "$SDL_CONFIG"; then
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
9993 $as_echo "$SDL_CONFIG" >&6; }
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9996 $as_echo "no" >&6; }
10000 min_sdl_version
=1.2.10
10001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10002 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10004 if test "$SDL_CONFIG" = "no" ; then
10007 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10008 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10010 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10011 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10012 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10013 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10014 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10015 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10016 if test "x$enable_sdltest" = "xyes" ; then
10017 ac_save_CFLAGS
="$CFLAGS"
10018 ac_save_CXXFLAGS
="$CXXFLAGS"
10019 ac_save_LIBS
="$LIBS"
10020 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10021 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10022 LIBS
="$LIBS $SDL_LIBS"
10024 if test "$cross_compiling" = yes; then :
10025 echo $ac_n "cross compiling; assumed OK... $ac_c"
10027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10028 /* end confdefs.h. */
10031 #include <stdlib.h>
10032 #include <string.h>
10036 my_strdup (char *str)
10042 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10043 strcpy (new_str, str);
10051 int main (int argc, char *argv[])
10053 int major, minor, micro;
10056 /* This hangs on some systems (?)
10057 system ("touch conf.sdltest");
10059 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10061 /* HP/UX 9 (%@#!) writes to sscanf strings */
10062 tmp_version = my_strdup("$min_sdl_version");
10063 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10064 printf("%s, bad version string\n", "$min_sdl_version");
10068 if (($sdl_major_version > major) ||
10069 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10070 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10076 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10077 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10078 printf("*** best to upgrade to the required version.\n");
10079 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10080 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10081 printf("*** config.cache before re-running configure\n");
10088 if ac_fn_c_try_run
"$LINENO"; then :
10093 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10094 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10097 CFLAGS
="$ac_save_CFLAGS"
10098 CXXFLAGS
="$ac_save_CXXFLAGS"
10099 LIBS
="$ac_save_LIBS"
10102 if test "x$no_sdl" = x
; then
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10104 $as_echo "yes" >&6; }
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10108 $as_echo "no" >&6; }
10109 if test "$SDL_CONFIG" = "no" ; then
10110 echo "*** The sdl-config script installed by SDL could not be found"
10111 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10112 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10113 echo "*** full path to sdl-config."
10115 if test -f conf.sdltest
; then
10118 echo "*** Could not run SDL test program, checking why..."
10119 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10120 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10121 LIBS
="$LIBS $SDL_LIBS"
10122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10123 /* end confdefs.h. */
10128 int main(int argc, char *argv[])
10131 #define main K_and_R_C_main
10141 if ac_fn_c_try_link
"$LINENO"; then :
10142 echo "*** The test program compiled, but did not run. This usually means"
10143 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10144 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10145 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10146 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10147 echo "*** is required on your system"
10149 echo "*** If you have an old version installed, it is best to remove it, although"
10150 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10152 echo "*** The test program failed to compile or link. See the file config.log for the"
10153 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10154 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10155 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10157 rm -f core conftest.err conftest.
$ac_objext \
10158 conftest
$ac_exeext conftest.
$ac_ext
10159 CFLAGS
="$ac_save_CFLAGS"
10160 CXXFLAGS
="$ac_save_CXXFLAGS"
10161 LIBS
="$ac_save_LIBS"
10173 if test "x-$have_sdl" != "x-yes" ; then
10175 if test "x-$sdl_hidd" != "x-auto" ; then
10176 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10180 sdl_hidd_target
=kernel-hidd-sdl
10181 aros_host_sdl_cflags
=SDL_CFLAGS
10182 aros_host_sdl_libs
=SDL_LIBS
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10190 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10191 # Check whether --enable-dbus was given.
10192 if test "${enable_dbus+set}" = set; then :
10193 enableval
=$enable_dbus; dbus
="yes"
10198 if test "$dbus" = "yes" ; then
10200 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10201 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10202 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10203 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10208 $as_echo "$dbus" >&6; }
10307 # Native version related
10310 # Palm native version related
10313 # Unix/Hosted version related
10332 # Collect-aros stuff: "-ius" to ignore undefined symbols
10335 # C compiler related
10338 case "$aros_flavour" in
10339 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10340 aros_flavour
="emulation" ;;
10341 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10342 aros_flavour
="emulation" ;;
10343 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10344 aros_flavour
="standalone";;
10345 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10346 aros_flavour
="native" ;;
10347 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10348 aros_flavour
="native" ;;
10349 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10350 aros_flavour
="linklib" ;;
10351 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10352 aros_flavour
="palmnative" ;;
10353 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10354 aros_flavour
="mac68knative" ;;
10355 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10356 aros_flavour
="ppcnative" ;;
10359 if test ! -d ${aros_inc_dir} ; then
10360 ${MKDIR} ${aros_inc_dir}
10362 if test ! -d ${aros_geninc_dir} ; then
10363 ${MKDIR} ${aros_geninc_dir}
10365 if test ! -d ${aros_hostcfg_dir} ; then
10366 ${MKDIR} ${aros_hostcfg_dir}
10368 if test ! -d ${aros_targetcfg_dir} ; then
10369 ${MKDIR} ${aros_targetcfg_dir}
10371 if test ! -d ${aros_tools_dir} ; then
10372 ${MKDIR} ${aros_tools_dir}
10374 if test ! -d ${aros_scripts_dir} ; then
10375 ${MKDIR} ${aros_scripts_dir}
10378 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10381 ac_config_commands
="$ac_config_commands compiler_executable"
10383 ac_config_commands
="$ac_config_commands genshared_executable"
10385 ac_config_commands
="$ac_config_commands genmf_executable"
10388 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/c_lib/source/lib_source/genshared.in ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py tools/collect-aros/env.h"
10391 cat >confcache
<<\_ACEOF
10392 # This file is a shell script that caches the results of configure
10393 # tests run on this system so they can be shared between configure
10394 # scripts and configure runs, see configure's option --config-cache.
10395 # It is not useful on other systems. If it contains results you don't
10396 # want to keep, you may remove or edit it.
10398 # config.status only pays attention to the cache file if you give it
10399 # the --recheck option to rerun configure.
10401 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10402 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10403 # following values.
10407 # The following way of writing the cache mishandles newlines in values,
10408 # but we know of no workaround that is simple, portable, and efficient.
10409 # So, we kill variables containing newlines.
10410 # Ultrix sh set writes to stderr and can't be redirected directly,
10411 # and sets the high bit in the cache file unless we assign to the vars.
10413 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10414 eval ac_val
=\$
$ac_var
10418 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10419 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10422 _ | IFS | as_nl
) ;; #(
10423 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10424 *) { eval $ac_var=; unset $ac_var;} ;;
10430 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10431 *${as_nl}ac_space
=\
*)
10432 # `set' does not quote correctly, so add quotes: double-quote
10433 # substitution turns \\\\ into \\, and sed turns \\ into \.
10436 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10439 # `set' quotes correctly as required by POSIX, so do not add quotes.
10440 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10449 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10451 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10453 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10454 if test -w "$cache_file"; then
10455 test "x$cache_file" != "x/dev/null" &&
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10457 $as_echo "$as_me: updating cache $cache_file" >&6;}
10458 cat confcache
>$cache_file
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10461 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10466 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10467 # Let make expand exec_prefix.
10468 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10470 DEFS
=-DHAVE_CONFIG_H
10474 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10475 # 1. Remove the extension, and $U if already installed.
10476 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10477 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10478 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10479 # will be set to the directory where LIBOBJS objects are built.
10480 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10481 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10483 LIBOBJS
=$ac_libobjs
10485 LTLIBOBJS
=$ac_ltlibobjs
10489 : ${CONFIG_STATUS=./config.status}
10491 ac_clean_files_save
=$ac_clean_files
10492 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10494 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10496 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10498 # Generated by $as_me.
10499 # Run this file to recreate the current configuration.
10500 # Compiler output produced by configure, useful for debugging
10501 # configure, is in config.log if it exists.
10504 ac_cs_recheck=false
10507 SHELL=\${CONFIG_SHELL-$SHELL}
10510 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
10511 ## -------------------- ##
10512 ## M4sh Initialization. ##
10513 ## -------------------- ##
10515 # Be more Bourne compatible
10516 DUALCASE
=1; export DUALCASE
# for MKS sh
10517 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
10520 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10521 # is contrary to our usage. Disable this feature.
10522 alias -g '${1+"$@"}'='"$@"'
10523 setopt NO_GLOB_SUBST
10525 case `(set -o) 2>/dev/null` in #(
10537 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10538 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10541 # Prefer a ksh shell builtin over an external printf program on Solaris,
10542 # but without wasting forks for bash or zsh.
10543 if test -z "$BASH_VERSION$ZSH_VERSION" \
10544 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10545 as_echo='print
-r --'
10546 as_echo_n='print
-rn --'
10547 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10548 as_echo='printf %s
\n'
10549 as_echo_n='printf %s
'
10551 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10552 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10553 as_echo_n='/usr
/ucb
/echo -n'
10555 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10556 as_echo_n_body='eval
10560 expr "X$arg" : "X\\(.*\\)$as_nl";
10561 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10563 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10565 export as_echo_n_body
10566 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10568 export as_echo_body
10569 as_echo='sh
-c $as_echo_body as_echo
'
10572 # The user is always right.
10573 if test "${PATH_SEPARATOR+set}" != set; then
10575 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10576 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10583 # We need space, tab and new line, in precisely that order. Quoting is
10584 # there to prevent editors from complaining about space-tab.
10585 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10586 # splitting by setting IFS to empty value.)
10589 # Find who we are. Look in the path if we contain no directory separator.
10591 *[\\/]* ) as_myself=$0 ;;
10592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10593 for as_dir in $PATH
10596 test -z "$as_dir" && as_dir=.
10597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10603 # We did not find ourselves, most probably we were run as `sh COMMAND'
10604 # in which case we are not to be found in the path.
10605 if test "x$as_myself" = x
; then
10608 if test ! -f "$as_myself"; then
10609 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10613 # Unset variables that we do not need and which cause bugs (e.g. in
10614 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10615 # suppresses any "Segmentation fault" message there. '((' could
10616 # trigger a bug in pdksh 5.2.14.
10617 for as_var
in BASH_ENV ENV MAIL MAILPATH
10618 do eval test x\
${$as_var+set} = xset \
10619 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
10632 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
10635 # as_fn_error ERROR [LINENO LOG_FD]
10636 # ---------------------------------
10637 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10638 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10639 # script with status $?, using 1 if that was 0.
10642 as_status
=$?
; test $as_status -eq 0 && as_status
=1
10644 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
10645 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
10647 $as_echo "$as_me: error: $1" >&2
10648 as_fn_exit
$as_status
10652 # as_fn_set_status STATUS
10653 # -----------------------
10654 # Set $? to STATUS, without forking.
10655 as_fn_set_status
()
10658 } # as_fn_set_status
10660 # as_fn_exit STATUS
10661 # -----------------
10662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10666 as_fn_set_status
$1
10672 # Portably unset VAR.
10675 { eval $1=; unset $1;}
10677 as_unset
=as_fn_unset
10678 # as_fn_append VAR VALUE
10679 # ----------------------
10680 # Append the text in VALUE to the end of the definition contained in VAR. Take
10681 # advantage of any shell optimizations that allow amortized linear growth over
10682 # repeated appends, instead of the typical quadratic growth present in naive
10684 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
10685 eval 'as_fn_append ()
10696 # as_fn_arith ARG...
10697 # ------------------
10698 # Perform arithmetic evaluation on the ARGs, and store the result in the
10699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
10700 # must be portable across $(()) and expr.
10701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
10702 eval 'as_fn_arith ()
10709 as_val
=`expr "$@" || test $? -eq 1`
10714 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10715 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10721 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10722 as_basename
=basename
10727 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10733 as_me
=`$as_basename -- "$0" ||
10734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10735 X"$0" : 'X\(//\)$' \| \
10736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10738 sed '/^.*\/\([^/][^/]*\)\/*$/{
10752 # Avoid depending upon Character Ranges.
10753 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10754 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10755 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10756 as_cr_digits
='0123456789'
10757 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10759 ECHO_C
= ECHO_N
= ECHO_T
=
10760 case `echo -n x` in #(((((
10762 case `echo 'xy\c'` in
10763 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10765 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
10772 rm -f conf$$ conf$$.exe conf$$.
file
10773 if test -d conf$$.dir
; then
10774 rm -f conf$$.dir
/conf$$.
file
10777 mkdir conf$$.dir
2>/dev
/null
10779 if (echo >conf$$.
file) 2>/dev
/null
; then
10780 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10782 # ... but there are two gotchas:
10783 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10784 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10785 # In both cases, we have to default to `cp -p'.
10786 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10788 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10796 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10797 rmdir conf$$.dir
2>/dev
/null
10802 # Create "$as_dir" as a directory, including parents if necessary.
10807 -*) as_dir
=.
/$as_dir;;
10809 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
10813 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10814 *) as_qdir
=$as_dir;;
10816 as_dirs
="'$as_qdir' $as_dirs"
10817 as_dir
=`$as_dirname -- "$as_dir" ||
10818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10819 X"$as_dir" : 'X\(//\)[^/]' \| \
10820 X"$as_dir" : 'X\(//\)$' \| \
10821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10822 $as_echo X"$as_dir" |
10823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10827 /^X\(\/\/\)[^/].*/{
10840 test -d "$as_dir" && break
10842 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10843 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
10847 if mkdir
-p .
2>/dev
/null
; then
10848 as_mkdir_p
='mkdir -p "$as_dir"'
10850 test -d .
/-p && rmdir .
/-p
10854 if test -x / >/dev
/null
2>&1; then
10855 as_test_x
='test -x'
10857 if ls -dL / >/dev
/null
2>&1; then
10864 if test -d "$1"; then
10870 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10871 ???[sx]*):;;*)false;;esac;fi
10875 as_executable_p
=$as_test_x
10877 # Sed expression to map a string onto a valid CPP name.
10878 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10880 # Sed expression to map a string onto a valid variable name.
10881 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10885 ## ----------------------------------- ##
10886 ## Main body of $CONFIG_STATUS script. ##
10887 ## ----------------------------------- ##
10889 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
10891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10892 # Save the log message, to keep $0 and so on meaningful, and to
10893 # report actual input values of CONFIG_FILES etc. instead of their
10894 # values after options handling.
10896 This file was extended by $as_me, which was
10897 generated by GNU Autoconf 2.65. Invocation command line was
10899 CONFIG_FILES = $CONFIG_FILES
10900 CONFIG_HEADERS = $CONFIG_HEADERS
10901 CONFIG_LINKS = $CONFIG_LINKS
10902 CONFIG_COMMANDS = $CONFIG_COMMANDS
10905 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10910 case $ac_config_files in *"
10911 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
10914 case $ac_config_headers in *"
10915 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
10919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10920 # Files that config.status was made for.
10921 config_files="$ac_config_files"
10922 config_headers="$ac_config_headers"
10923 config_commands="$ac_config_commands"
10927 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10929 \`$as_me' instantiates files and other configuration actions
10930 from templates according to the current configuration. Unless the files
10931 and actions are specified as TAGs, all are instantiated by default.
10933 Usage: $0 [OPTION]... [TAG]...
10935 -h, --help print this help, then exit
10936 -V, --version print version number and configuration settings, then exit
10937 --config print configuration, then exit
10938 -q, --quiet, --silent
10939 do not print progress messages
10940 -d, --debug don't remove temporary files
10941 --recheck update $as_me by reconfiguring in the same conditions
10942 --file=FILE[:TEMPLATE]
10943 instantiate the configuration file FILE
10944 --header=FILE[:TEMPLATE]
10945 instantiate the configuration header FILE
10947 Configuration files:
10950 Configuration headers:
10953 Configuration commands:
10956 Report bugs to the package provider."
10959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10960 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
10963 configured by $0, generated by GNU Autoconf 2.65,
10964 with options \\"\$ac_cs_config\\"
10966 Copyright (C) 2009 Free Software Foundation, Inc.
10967 This config.status script is free software; the Free Software Foundation
10968 gives unlimited permission to copy, distribute and modify it."
10972 test -n "\$AWK" || AWK=awk
10975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10976 # The default lists apply if the user does not specify any file.
10982 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10983 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10994 # Handling of the options.
10995 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10997 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10998 $as_echo "$ac_cs_version"; exit ;;
10999 --config |
--confi |
--conf |
--con |
--co |
--c )
11000 $as_echo "$ac_cs_config"; exit ;;
11001 --debug |
--debu |
--deb |
--de |
--d |
-d )
11003 --file |
--fil |
--fi |
--f )
11006 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11008 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11009 ac_need_defaults
=false
;;
11010 --header |
--heade |
--head |
--hea )
11013 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11015 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11016 ac_need_defaults
=false
;;
11018 # Conflict between --help and --header
11019 as_fn_error
"ambiguous option: \`$1'
11020 Try \`$0 --help' for more information.";;
11021 --help |
--hel |
-h )
11022 $as_echo "$ac_cs_usage"; exit ;;
11023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11024 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11027 # This is an error.
11028 -*) as_fn_error
"unrecognized option: \`$1'
11029 Try \`$0 --help' for more information." ;;
11031 *) as_fn_append ac_config_targets
" $1"
11032 ac_need_defaults
=false
;;
11038 ac_configure_extra_args
=
11040 if $ac_cs_silent; then
11042 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11047 if \$ac_cs_recheck; then
11048 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11050 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11051 CONFIG_SHELL='$SHELL'
11052 export CONFIG_SHELL
11057 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11061 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11062 ## Running $as_me. ##
11068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11073 aros_host_exe_suffix=${aros_host_exe_suffix}
11074 aros_tools_dir=${aros_tools_dir}
11075 aros_target_cpu=${aros_target_cpu}
11076 aros_target_arch=${aros_target_arch}
11077 aros_target_suffix=${aros_target_suffix}
11078 aros_target_nm_ln=${aros_target_nm_ln}
11079 aros_target_as_ln=${aros_target_as_ln}
11080 aros_target_ar_ln=${aros_target_ar_ln}
11081 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11082 aros_target_objdump_ln=${aros_target_objdump_ln}
11083 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11084 aros_target_strip_ln=${aros_target_strip_ln}
11087 aros_scripts_dir=${aros_scripts_dir}
11089 aros_tools_dir=${aros_tools_dir}
11094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11096 # Handling of arguments.
11097 for ac_config_target
in $ac_config_targets
11099 case $ac_config_target in
11100 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11101 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11102 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11103 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11104 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11105 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11106 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11107 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11108 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11109 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11110 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11111 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11112 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11113 "${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" ;;
11114 "${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" ;;
11115 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11116 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11117 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11119 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11124 # If the user did not use the arguments to specify the items to instantiate,
11125 # then the envvar interface is used. Set only those that are not.
11126 # We use the long form for the default assignment because of an extremely
11127 # bizarre bug on SunOS 4.1.3.
11128 if $ac_need_defaults; then
11129 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11130 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11131 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11134 # Have a temporary directory for convenience. Make it in the build tree
11135 # simply because there is no reason against having it here, and in addition,
11136 # creating and moving files from /tmp can sometimes cause problems.
11137 # Hook for its removal unless debugging.
11138 # Note that there is a small window in which the directory will not be cleaned:
11139 # after its creation but before its name has been assigned to `$tmp'.
11143 trap 'exit_status=$?
11144 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11146 trap 'as_fn_exit 1' 1 2 13 15
11148 # Create a (secure) tmp directory for tmp files.
11151 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11152 test -n "$tmp" && test -d "$tmp"
11155 tmp
=.
/conf$$
-$RANDOM
11156 (umask 077 && mkdir
"$tmp")
11157 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11159 # Set up the scripts for CONFIG_FILES section.
11160 # No need to generate them if there are no CONFIG_FILES.
11161 # This happens for instance with `./config.status config.h'.
11162 if test -n "$CONFIG_FILES"; then
11165 ac_cr
=`echo X | tr X '\015'`
11166 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11167 # But we know of no other shell where ac_cr would be empty at this
11168 # point, so we can use a bashism as a fallback.
11169 if test "x$ac_cr" = x
; then
11170 eval ac_cr
=\$
\'\\r
\'
11172 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11173 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11176 ac_cs_awk_cr
=$ac_cr
11179 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11184 echo "cat >conf$$subs.awk <<_ACEOF" &&
11185 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11187 } >conf$$subs.sh ||
11188 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11189 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11191 for ac_last_try in false false false false false :; do
11192 . ./conf$$subs.sh ||
11193 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11195 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11196 if test $ac_delim_n = $ac_delim_num; then
11198 elif $ac_last_try; then
11199 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11201 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11204 rm -f conf$$subs.sh
11206 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11207 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11211 s/^/S["/; s
/!.
*/"]=/
11221 s/\(.\{148\}\)..*/\1/
11223 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11228 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11235 s/\(.\{148\}\)..*/\1/
11237 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11241 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11246 ' <conf$$subs.awk | sed '
11251 ' >>$CONFIG_STATUS || ac_write_fail=1
11252 rm -f conf$$subs.awk
11253 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11255 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11256 for (key in S) S_is_set[key] = 1
11262 nfields = split(line, field, "@
")
11264 len = length(field[1])
11265 for (i = 2; i < nfields; i++) {
11267 keylen = length(key)
11268 if (S_is_set[key]) {
11270 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11271 len += length(value) + length(field[++i])
11282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11283 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11284 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11287 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11288 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11291 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11292 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11293 # trailing colons and then remove the whole line if VPATH becomes empty
11294 # (actually we leave an empty line to preserve line numbers).
11295 if test "x
$srcdir" = x.; then
11296 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11297 s/:*\$(srcdir):*/:/
11298 s/:*\${srcdir}:*/:/
11300 s/^\([^=]*=[ ]*\):*/\1/
11306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11307 fi # test -n "$CONFIG_FILES"
11309 # Set up the scripts for CONFIG_HEADERS section.
11310 # No need to generate them if there are no CONFIG_HEADERS.
11311 # This happens for instance with `./config.status Makefile'.
11312 if test -n "$CONFIG_HEADERS"; then
11313 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11317 # Transform confdefs.h into an awk script `defines.awk', embedded as
11318 # here-document in config.status, that substitutes the proper values into
11319 # config.h.in to produce config.h.
11321 # Create a delimiter string that does not exist in confdefs.h, to ease
11322 # handling of long lines.
11324 for ac_last_try in false false :; do
11325 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11326 if test -z "$ac_t"; then
11328 elif $ac_last_try; then
11329 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11331 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11335 # For the awk script, D is an array of macro values keyed by name,
11336 # likewise P contains macro parameters if any. Preserve backslash
11337 # newline sequences.
11339 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11341 s/.\{148\}/&'"$ac_delim"'/g
11344 s/^[ ]*#[ ]*define[ ][ ]*/ /
11351 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11353 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11358 D["\
1"]=" \
3\\\\\\n
"\\/p
11360 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11365 s/.\{148\}/&'"$ac_delim"'/g
11370 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11373 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11375 ' <confdefs.h | sed '
11376 s/'"$ac_delim"'/"\\\
11377 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11380 for (key in D) D_is_set[key] = 1
11383 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11385 split(line, arg, " ")
11386 if (arg[1] == "#") {
11390 defundef
= substr
(arg
[1], 2)
11393 split(mac1
, mac2
, "(") #)
11395 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11396 if (D_is_set
[macro
]) {
11397 # Preserve the white space surrounding the "#".
11398 print prefix
"define", macro P
[macro
] D
[macro
]
11401 # Replace #undef with comments. This is necessary, for example,
11402 # in the case of _POSIX_SOURCE, which is predefined and required
11403 # on some systems where configure will not decide to define it.
11404 if (defundef
== "undef") {
11405 print
"/*", prefix defundef
, macro
, "*/"
11413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11414 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
11415 fi # test -n "$CONFIG_HEADERS"
11418 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11423 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11425 case $ac_mode$ac_tag in
11427 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
11428 :[FH
]-) ac_tag
=-:-;;
11429 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11446 -) ac_f
="$tmp/stdin";;
11447 *) # Look for the file first in the build tree, then in the source tree
11448 # (if the path is not absolute). The absolute path cannot be DOS-style,
11449 # because $ac_f cannot contain `:'.
11453 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11455 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
11457 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11458 as_fn_append ac_file_inputs
" '$ac_f'"
11461 # Let's still pretend it is `configure' which instantiates (i.e., don't
11462 # use $as_me), people would be surprised to read:
11463 # /* config.h. Generated by config.status. */
11464 configure_input
='Generated from '`
11465 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11467 if test x
"$ac_file" != x-
; then
11468 configure_input
="$ac_file. $configure_input"
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11470 $as_echo "$as_me: creating $ac_file" >&6;}
11472 # Neutralize special characters interpreted by sed in replacement strings.
11473 case $configure_input in #(
11474 *\
&* |
*\|
* |
*\\* )
11475 ac_sed_conf_input
=`$as_echo "$configure_input" |
11476 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11477 *) ac_sed_conf_input
=$configure_input;;
11481 *:-:* |
*:-) cat >"$tmp/stdin" \
11482 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
11487 ac_dir
=`$as_dirname -- "$ac_file" ||
11488 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11489 X"$ac_file" : 'X\(//\)[^/]' \| \
11490 X"$ac_file" : 'X\(//\)$' \| \
11491 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11492 $as_echo X"$ac_file" |
11493 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11497 /^X\(\/\/\)[^/].*/{
11510 as_dir
="$ac_dir"; as_fn_mkdir_p
11514 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11516 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11517 # A ".." for each directory in $ac_dir_suffix.
11518 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11519 case $ac_top_builddir_sub in
11520 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11521 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11524 ac_abs_top_builddir
=$ac_pwd
11525 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11526 # for backward compatibility:
11527 ac_top_builddir
=$ac_top_build_prefix
11530 .
) # We are building in place.
11532 ac_top_srcdir
=$ac_top_builddir_sub
11533 ac_abs_top_srcdir
=$ac_pwd ;;
11534 [\\/]* | ?
:[\\/]* ) # Absolute name.
11535 ac_srcdir
=$srcdir$ac_dir_suffix;
11536 ac_top_srcdir
=$srcdir
11537 ac_abs_top_srcdir
=$srcdir ;;
11538 *) # Relative name.
11539 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11540 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11541 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11543 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11555 # If the template does not know about datarootdir, expand it.
11556 # FIXME: This hack should be removed a few years after 2.60.
11557 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11568 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11569 *datarootdir
*) ac_datarootdir_seen
=yes;;
11570 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11571 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11572 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11574 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11575 ac_datarootdir_hack='
11576 s&@datadir@&$datadir&g
11577 s&@docdir@&$docdir&g
11578 s&@infodir@&$infodir&g
11579 s&@localedir@&$localedir&g
11580 s&@mandir@&$mandir&g
11581 s&\\\${datarootdir}&$datarootdir&g' ;;
11585 # Neutralize VPATH when `$srcdir' = `.'.
11586 # Shell code in configure.ac might set extrasub.
11587 # FIXME: do we really want to maintain this feature?
11588 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11589 ac_sed_extra="$ac_vpsub
11592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11594 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11595 s|@configure_input@|
$ac_sed_conf_input|
;t t
11596 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11597 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11598 s
&@srcdir@
&$ac_srcdir&;t t
11599 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11600 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11601 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11602 s
&@builddir@
&$ac_builddir&;t t
11603 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11604 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11605 $ac_datarootdir_hack
11607 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11608 || as_fn_error "could not create
$ac_file" "$LINENO" 5
11610 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11611 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11612 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11614 which seems to be undefined. Please make sure it is defined." >&5
11615 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11616 which seems to be undefined. Please make sure it is defined." >&2;}
11620 -) cat "$tmp/out" && rm -f "$tmp/out";;
11621 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11623 || as_fn_error "could not create $ac_file" "$LINENO" 5
11629 if test x"$ac_file" != x-; then
11631 $as_echo "/* $configure_input */" \
11632 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11633 } >"$tmp/config.h" \
11634 || as_fn_error "could not create $ac_file" "$LINENO" 5
11635 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11636 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11637 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11640 mv "$tmp/config.h" "$ac_file" \
11641 || as_fn_error "could not create $ac_file" "$LINENO" 5
11644 $as_echo "/* $configure_input */" \
11645 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11646 || as_fn_error "could not create -" "$LINENO" 5
11650 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11651 $as_echo "$as_me: executing $ac_file commands" >&6;}
11656 case $ac_file$ac_mode in
11657 "compiler_executable":C)
11658 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
11660 prefix="${prefix}/${aros_target_cpu}-aros"
11661 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
11665 chmod a+x ${prefix2}-gcc ${prefix2}-ld
11667 ln -sf ${prefix2}-gcc ${prefix}-gcc
11668 ln -sf ${prefix2}-ld ${prefix}-ld
11670 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
11671 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
11672 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
11673 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
11674 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
11675 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
11676 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
11678 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
11679 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
11680 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
11681 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
11682 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
11683 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
11684 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
11686 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
11687 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
11695 ac_clean_files=$ac_clean_files_save
11697 test $ac_write_fail = 0 ||
11698 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
11701 # configure is writing to config.log, and then calls config.status.
11702 # config.status does its own redirection, appending to config.log.
11703 # Unfortunately, on DOS this fails, as config.log is still kept open
11704 # by configure, so config.status won't be able to
write to it
; its
11705 # output is simply discarded. So we exec the FD to /dev/null,
11706 # effectively closing config.log, so it can be properly (re)opened and
11707 # appended to by config.status. When coming back to configure, we
11708 # need to make the FD available again.
11709 if test "$no_create" != yes; then
11711 ac_config_status_args
=
11712 test "$silent" = yes &&
11713 ac_config_status_args
="$ac_config_status_args --quiet"
11715 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11717 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11718 # would make configure fail if this is the last instruction.
11719 $ac_cs_success || as_fn_exit $?
11721 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11723 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11728 #XXX compatability...
11729 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
11731 if test -n "$aros_shared_cflags" ; then
11732 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
11733 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg