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
611 aros_nesting_supervisor
616 aros_host_x11_libdirs
617 aros_host_x11_includes
621 aros_default_wbheight
625 aros_target_strip_flags
631 aros_kernel_objcflags
649 aros_target_cc_includes
663 aros_target_bootloader
691 aros_cflags_iquote_end
693 kernel_cflags_iquote_end
695 host_cflags_iquote_end
697 aros_target_nostdlib_ldflags
698 aros_target_detach_ldflags
699 aros_target_nix_ldflags
700 aros_target_nostartup_ldflags
701 aros_target_nostdinc_cflags
704 aros_target_ranlib_ln
705 aros_target_objdump_ln
706 aros_target_objcopy_ln
800 program_transform_name
813 enable_option_checking
824 enable_target_variant
832 enable_palm_debug_hack
833 enable_nesting_supervisor
844 ac_precious_vars
='build_alias
856 # Initialize some variables set by options.
858 ac_init_version
=false
859 ac_unrecognized_opts
=
861 # The variables have the same names as the options, with
862 # dashes changed to underlines.
870 program_transform_name
=s
,x
,x
,
878 # Installation directory options.
879 # These are left unexpanded so users can "make install exec_prefix=/foo"
880 # and all the variables that are supposed to be based on exec_prefix
881 # by default will actually change.
882 # Use braces instead of parens because sh, perl, etc. also accept them.
883 # (The list follows the same order as the GNU Coding Standards.)
884 bindir
='${exec_prefix}/bin'
885 sbindir
='${exec_prefix}/sbin'
886 libexecdir
='${exec_prefix}/libexec'
887 datarootdir
='${prefix}/share'
888 datadir
='${datarootdir}'
889 sysconfdir
='${prefix}/etc'
890 sharedstatedir
='${prefix}/com'
891 localstatedir
='${prefix}/var'
892 includedir
='${prefix}/include'
893 oldincludedir
='/usr/include'
894 docdir
='${datarootdir}/doc/${PACKAGE}'
895 infodir
='${datarootdir}/info'
900 libdir
='${exec_prefix}/lib'
901 localedir
='${datarootdir}/locale'
902 mandir
='${datarootdir}/man'
908 # If the previous option needs an argument, assign it.
909 if test -n "$ac_prev"; then
910 eval $ac_prev=\
$ac_option
916 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
920 # Accept the important Cygnus configure options, so we can diagnose typos.
922 case $ac_dashdash$ac_option in
926 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
928 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
931 -build |
--build |
--buil |
--bui |
--bu)
932 ac_prev
=build_alias
;;
933 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
934 build_alias
=$ac_optarg ;;
936 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
937 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
938 ac_prev
=cache_file
;;
939 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
940 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
941 cache_file
=$ac_optarg ;;
944 cache_file
=config.cache
;;
946 -datadir |
--datadir |
--datadi |
--datad)
948 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
949 datadir
=$ac_optarg ;;
951 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
952 |
--dataroo |
--dataro |
--datar)
953 ac_prev
=datarootdir
;;
954 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
955 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
956 datarootdir
=$ac_optarg ;;
958 -disable-* |
--disable-*)
959 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
962 as_fn_error
"invalid feature name: $ac_useropt"
963 ac_useropt_orig
=$ac_useropt
964 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
970 ac_unrecognized_sep
=', ';;
972 eval enable_
$ac_useropt=no
;;
974 -docdir |
--docdir |
--docdi |
--doc |
--do)
976 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
979 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
981 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
984 -enable-* |
--enable-*)
985 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
986 # Reject names that are not valid shell variable names.
987 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
988 as_fn_error
"invalid feature name: $ac_useropt"
989 ac_useropt_orig
=$ac_useropt
990 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
991 case $ac_user_opts in
995 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
996 ac_unrecognized_sep
=', ';;
998 eval enable_
$ac_useropt=\
$ac_optarg ;;
1000 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1001 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1002 |
--exec |
--exe |
--ex)
1003 ac_prev
=exec_prefix
;;
1004 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1005 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1006 |
--exec=* |
--exe=* |
--ex=*)
1007 exec_prefix
=$ac_optarg ;;
1009 -gas |
--gas |
--ga |
--g)
1010 # Obsolete; use --with-gas.
1013 -help |
--help |
--hel |
--he |
-h)
1014 ac_init_help
=long
;;
1015 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1016 ac_init_help
=recursive
;;
1017 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1018 ac_init_help
=short
;;
1020 -host |
--host |
--hos |
--ho)
1021 ac_prev
=host_alias
;;
1022 -host=* |
--host=* |
--hos=* |
--ho=*)
1023 host_alias
=$ac_optarg ;;
1025 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1027 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1029 htmldir
=$ac_optarg ;;
1031 -includedir |
--includedir |
--includedi |
--included |
--include \
1032 |
--includ |
--inclu |
--incl |
--inc)
1033 ac_prev
=includedir
;;
1034 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1035 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1036 includedir
=$ac_optarg ;;
1038 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1040 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1041 infodir
=$ac_optarg ;;
1043 -libdir |
--libdir |
--libdi |
--libd)
1045 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1046 libdir
=$ac_optarg ;;
1048 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1049 |
--libexe |
--libex |
--libe)
1050 ac_prev
=libexecdir
;;
1051 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1052 |
--libexe=* |
--libex=* |
--libe=*)
1053 libexecdir
=$ac_optarg ;;
1055 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1056 ac_prev
=localedir
;;
1057 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1058 localedir
=$ac_optarg ;;
1060 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1061 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1062 ac_prev
=localstatedir
;;
1063 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1064 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1065 localstatedir
=$ac_optarg ;;
1067 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1069 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1070 mandir
=$ac_optarg ;;
1072 -nfp |
--nfp |
--nf)
1073 # Obsolete; use --without-fp.
1076 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1077 |
--no-cr |
--no-c |
-n)
1080 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1081 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1084 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1085 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1086 |
--oldin |
--oldi |
--old |
--ol |
--o)
1087 ac_prev
=oldincludedir
;;
1088 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1089 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1090 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1091 oldincludedir
=$ac_optarg ;;
1093 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1095 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1096 prefix
=$ac_optarg ;;
1098 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1099 |
--program-pre |
--program-pr |
--program-p)
1100 ac_prev
=program_prefix
;;
1101 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1102 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1103 program_prefix
=$ac_optarg ;;
1105 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1106 |
--program-suf |
--program-su |
--program-s)
1107 ac_prev
=program_suffix
;;
1108 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1109 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1110 program_suffix
=$ac_optarg ;;
1112 -program-transform-name |
--program-transform-name \
1113 |
--program-transform-nam |
--program-transform-na \
1114 |
--program-transform-n |
--program-transform- \
1115 |
--program-transform |
--program-transfor \
1116 |
--program-transfo |
--program-transf \
1117 |
--program-trans |
--program-tran \
1118 |
--progr-tra |
--program-tr |
--program-t)
1119 ac_prev
=program_transform_name
;;
1120 -program-transform-name=* |
--program-transform-name=* \
1121 |
--program-transform-nam=* |
--program-transform-na=* \
1122 |
--program-transform-n=* |
--program-transform-=* \
1123 |
--program-transform=* |
--program-transfor=* \
1124 |
--program-transfo=* |
--program-transf=* \
1125 |
--program-trans=* |
--program-tran=* \
1126 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1127 program_transform_name
=$ac_optarg ;;
1129 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1131 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1132 pdfdir
=$ac_optarg ;;
1134 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1136 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1139 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1140 |
-silent |
--silent |
--silen |
--sile |
--sil)
1143 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1145 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1147 sbindir
=$ac_optarg ;;
1149 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1150 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1151 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1153 ac_prev
=sharedstatedir
;;
1154 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1155 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1156 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1158 sharedstatedir
=$ac_optarg ;;
1160 -site |
--site |
--sit)
1162 -site=* |
--site=* |
--sit=*)
1165 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1167 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1168 srcdir
=$ac_optarg ;;
1170 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1171 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1172 ac_prev
=sysconfdir
;;
1173 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1174 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1175 sysconfdir
=$ac_optarg ;;
1177 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1178 ac_prev
=target_alias
;;
1179 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1180 target_alias
=$ac_optarg ;;
1182 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1185 -version |
--version |
--versio |
--versi |
--vers |
-V)
1186 ac_init_version
=: ;;
1189 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1190 # Reject names that are not valid shell variable names.
1191 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1192 as_fn_error
"invalid package name: $ac_useropt"
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=\
$ac_optarg ;;
1204 -without-* |
--without-*)
1205 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1206 # Reject names that are not valid shell variable names.
1207 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1208 as_fn_error
"invalid package name: $ac_useropt"
1209 ac_useropt_orig
=$ac_useropt
1210 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1211 case $ac_user_opts in
1215 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1216 ac_unrecognized_sep
=', ';;
1218 eval with_
$ac_useropt=no
;;
1221 # Obsolete; use --with-x.
1224 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1225 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1226 ac_prev
=x_includes
;;
1227 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1228 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1229 x_includes
=$ac_optarg ;;
1231 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1232 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1233 ac_prev
=x_libraries
;;
1234 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1235 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1236 x_libraries
=$ac_optarg ;;
1238 -*) as_fn_error
"unrecognized option: \`$ac_option'
1239 Try \`$0 --help' for more information."
1243 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1244 # Reject names that are not valid shell variable names.
1245 case $ac_envvar in #(
1246 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1247 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1249 eval $ac_envvar=\
$ac_optarg
1250 export $ac_envvar ;;
1253 # FIXME: should be removed in autoconf 3.0.
1254 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1255 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1256 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1257 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1263 if test -n "$ac_prev"; then
1264 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1265 as_fn_error
"missing argument to $ac_option"
1268 if test -n "$ac_unrecognized_opts"; then
1269 case $enable_option_checking in
1271 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1272 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1276 # Check all directory arguments for consistency.
1277 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1278 datadir sysconfdir sharedstatedir localstatedir includedir \
1279 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1280 libdir localedir mandir
1282 eval ac_val
=\$
$ac_var
1283 # Remove trailing slashes.
1286 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1287 eval $ac_var=\
$ac_val;;
1289 # Be sure to have absolute directory names.
1291 [\\/$
]* | ?
:[\\/]* ) continue;;
1292 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1294 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1297 # There might be people who depend on the old broken behavior: `$host'
1298 # used to hold the argument of --host etc.
1299 # FIXME: To remove some day.
1302 target
=$target_alias
1304 # FIXME: To remove some day.
1305 if test "x$host_alias" != x
; then
1306 if test "x$build_alias" = x
; then
1307 cross_compiling
=maybe
1308 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1309 If a cross compiler is detected then cross compile mode will be used." >&2
1310 elif test "x$build_alias" != "x$host_alias"; then
1316 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1318 test "$silent" = yes && exec 6>/dev
/null
1321 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1322 ac_ls_di
=`ls -di .` &&
1323 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1324 as_fn_error
"working directory cannot be determined"
1325 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1326 as_fn_error
"pwd does not report name of working directory"
1329 # Find the source files, if location was not specified.
1330 if test -z "$srcdir"; then
1331 ac_srcdir_defaulted
=yes
1332 # Try the directory containing this script, then the parent directory.
1333 ac_confdir
=`$as_dirname -- "$as_myself" ||
1334 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1335 X"$as_myself" : 'X\(//\)[^/]' \| \
1336 X"$as_myself" : 'X\(//\)$' \| \
1337 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1338 $as_echo X"$as_myself" |
1339 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1361 ac_srcdir_defaulted
=no
1363 if test ! -r "$srcdir/$ac_unique_file"; then
1364 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1365 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1367 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1369 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1371 # When building in place, set srcdir=.
1372 if test "$ac_abs_confdir" = "$ac_pwd"; then
1375 # Remove unnecessary trailing slashes from srcdir.
1376 # Double slashes in file names in object file debugging info
1377 # mess up M-x gdb in Emacs.
1379 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1381 for ac_var
in $ac_precious_vars; do
1382 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1383 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1384 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1385 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1389 # Report the --help message.
1391 if test "$ac_init_help" = "long"; then
1392 # Omit some internal or obsolete options to make the list less imposing.
1393 # This message is too long to be a string in the A/UX 3.1 sh.
1395 \`configure' configures this package to adapt to many kinds of systems.
1397 Usage: $0 [OPTION]... [VAR=VALUE]...
1399 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1400 VAR=VALUE. See below for descriptions of some of the useful variables.
1402 Defaults for the options are specified in brackets.
1405 -h, --help display this help and exit
1406 --help=short display options specific to this package
1407 --help=recursive display the short help of all the included packages
1408 -V, --version display version information and exit
1409 -q, --quiet, --silent do not print \`checking...' messages
1410 --cache-file=FILE cache test results in FILE [disabled]
1411 -C, --config-cache alias for \`--cache-file=config.cache'
1412 -n, --no-create do not create output files
1413 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1415 Installation directories:
1416 --prefix=PREFIX install architecture-independent files in PREFIX
1417 [$ac_default_prefix]
1418 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1421 By default, \`make install' will install all the files in
1422 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1423 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1424 for instance \`--prefix=\$HOME'.
1426 For better control, use the options below.
1428 Fine tuning of the installation directories:
1429 --bindir=DIR user executables [EPREFIX/bin]
1430 --sbindir=DIR system admin executables [EPREFIX/sbin]
1431 --libexecdir=DIR program executables [EPREFIX/libexec]
1432 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1433 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1434 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1435 --libdir=DIR object code libraries [EPREFIX/lib]
1436 --includedir=DIR C header files [PREFIX/include]
1437 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1438 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1439 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1440 --infodir=DIR info documentation [DATAROOTDIR/info]
1441 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1442 --mandir=DIR man documentation [DATAROOTDIR/man]
1443 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1444 --htmldir=DIR html documentation [DOCDIR]
1445 --dvidir=DIR dvi documentation [DOCDIR]
1446 --pdfdir=DIR pdf documentation [DOCDIR]
1447 --psdir=DIR ps documentation [DOCDIR]
1453 --x-includes=DIR X include files are
in DIR
1454 --x-libraries=DIR X library files are
in DIR
1457 --build=BUILD configure
for building on BUILD
[guessed
]
1458 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1462 if test -n "$ac_init_help"; then
1467 --disable-option-checking ignore unrecognized
--enable/--with options
1468 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1469 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1470 --enable-build-type=TYPE
1471 Select the build
type. Available types are
:
1472 personal
, nightly
, snapshot
, milestone
, release. Do
1473 NOT use this option unless you know what you are
1474 doing
! (default
=personal
)
1475 --enable-debug=list Enable different types of debug. Commas or
1476 whitespaces can be used to separate the items
in the
1477 list. Available types of debug are
: all
, none
,
1478 messages
, stack
, mungwall
, modules
, symbols. If no
1479 list is provided
then "all" is assumed.
1481 --enable-crosstools Build cross-compiler toolchains
if necessary
1483 --enable-distcc Use distcc as a front end to the compiler
1485 --enable-ccache Use ccache as a front end to the compiler
1487 --enable-target-variant=NAME
1488 Enable a specific target variant
(default
=none
)
1489 --enable-includes=dir Alternative system include directory
1490 --enable-palm-debug-hack
1491 Enable palm debug output hack
in palm native
1493 --enable-nesting-supervisor
1494 Enable nesting supervisor support
in unix
1496 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1497 --enable-x11-shm use X11 shared memory
(default
=auto
)
1498 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1499 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1500 --disable-sdltest Do not try to compile and run a
test SDL program
1501 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1504 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1505 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1506 --with-gcc-version=VERSION
1507 Use gcc-VERSION
for building AROS
1508 --with-optimization=FLAGS
1509 Use optimization flags FLAGS
(default
=-O2).
1510 --with-xcode=PATH Specify XCode path
for iOS targets
1511 (default
=/Developer
).
1512 --with-ios-version=VERSION
1513 Specify minimum supported iOS version
(default
=2.0).
1514 --with-ios-sdk=VERSION Use iOS SDK version VERSION
(default
=4.1).
1515 --with-portssources=DIR Where to download sourcecode
for external ports
1516 --with-bootloader=NAME Use a specific bootloader
1517 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1518 --with-theme=NAME Use a specific GUI Theme
1519 --with-resolution=XRESxYRESxDEPTH
1520 Default resolution of the initial WorkbenchScreen
1521 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1522 --with-x use the X Window System
1523 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1524 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1526 Some influential environment variables
:
1527 CC C compiler
command
1528 CFLAGS C compiler flags
1529 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1530 nonstandard directory
<lib dir
>
1531 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1532 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1533 you have headers
in a nonstandard directory
<include dir
>
1535 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1537 Use these variables to override the choices made by
`configure' or to help
1538 it to find libraries and programs with nonstandard names/locations.
1540 Report bugs to the package provider.
1545 if test "$ac_init_help" = "recursive"; then
1546 # If there are subdirs, report their specific --help.
1547 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1548 test -d "$ac_dir" ||
1549 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1556 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1557 # A ".." for each directory in $ac_dir_suffix.
1558 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1559 case $ac_top_builddir_sub in
1560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1564 ac_abs_top_builddir=$ac_pwd
1565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1566 # for backward compatibility:
1567 ac_top_builddir=$ac_top_build_prefix
1570 .) # We are building in place.
1572 ac_top_srcdir=$ac_top_builddir_sub
1573 ac_abs_top_srcdir=$ac_pwd ;;
1574 [\\/]* | ?:[\\/]* ) # Absolute name.
1575 ac_srcdir=$srcdir$ac_dir_suffix;
1576 ac_top_srcdir=$srcdir
1577 ac_abs_top_srcdir=$srcdir ;;
1579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1580 ac_top_srcdir=$ac_top_build_prefix$srcdir
1581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1585 cd "$ac_dir" || { ac_status=$?; continue; }
1586 # Check for guested configure.
1587 if test -f "$ac_srcdir/configure.gnu"; then
1589 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1590 elif test -f "$ac_srcdir/configure"; then
1592 $SHELL "$ac_srcdir/configure" --help=recursive
1594 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1596 cd "$ac_pwd" || { ac_status=$?; break; }
1600 test -n "$ac_init_help" && exit $ac_status
1601 if $ac_init_version; then
1604 generated by GNU Autoconf 2.65
1606 Copyright (C) 2009 Free Software Foundation, Inc.
1607 This configure script is free software; the Free Software Foundation
1608 gives unlimited permission to copy, distribute and modify it.
1613 ## ------------------------ ##
1614 ## Autoconf initialization. ##
1615 ## ------------------------ ##
1617 # ac_fn_c_try_compile LINENO
1618 # --------------------------
1619 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1620 ac_fn_c_try_compile ()
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 rm -f conftest.$ac_objext
1624 if { { ac_try="$ac_compile"
1626 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1627 *) ac_try_echo
=$ac_try;;
1629 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1630 $as_echo "$ac_try_echo"; } >&5
1631 (eval "$ac_compile") 2>conftest.err
1633 if test -s conftest.err
; then
1634 grep -v '^ *+' conftest.err
>conftest.er1
1635 cat conftest.er1
>&5
1636 mv -f conftest.er1 conftest.err
1638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1639 test $ac_status = 0; } && {
1640 test -z "$ac_c_werror_flag" ||
1641 test ! -s conftest.err
1642 } && test -s conftest.
$ac_objext; then :
1645 $as_echo "$as_me: failed program was:" >&5
1646 sed 's/^/| /' conftest.
$ac_ext >&5
1650 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1651 as_fn_set_status
$ac_retval
1653 } # ac_fn_c_try_compile
1655 # ac_fn_c_try_cpp LINENO
1656 # ----------------------
1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1660 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1661 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1664 *) ac_try_echo=$ac_try;;
1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1667 $as_echo "$ac_try_echo"; } >&5
1668 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1670 if test -s conftest.err; then
1671 grep -v '^ *+' conftest.err >conftest.er1
1672 cat conftest.er1 >&5
1673 mv -f conftest.er1 conftest.err
1675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1676 test $ac_status = 0; } >/dev/null && {
1677 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1678 test ! -s conftest.err
1682 $as_echo "$as_me: failed program was:" >&5
1683 sed 's/^/| /' conftest.$ac_ext >&5
1687 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1688 as_fn_set_status $ac_retval
1692 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1693 # -------------------------------------------------------
1694 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1695 # the include files in INCLUDES and setting the cache variable VAR
1697 ac_fn_c_check_header_mongrel ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1702 $as_echo_n "checking for $2... " >&6; }
1703 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1704 $as_echo_n "(cached) " >&6
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1708 $as_echo "$ac_res" >&6; }
1710 # Is the header compilable?
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1712 $as_echo_n "checking $2 usability... " >&6; }
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1718 if ac_fn_c_try_compile "$LINENO"; then :
1719 ac_header_compiler=yes
1721 ac_header_compiler=no
1723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1725 $as_echo "$ac_header_compiler" >&6; }
1727 # Is the header present?
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1729 $as_echo_n "checking $2 presence... " >&6; }
1730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1731 /* end confdefs.h. */
1734 if ac_fn_c_try_cpp "$LINENO"; then :
1735 ac_header_preproc=yes
1737 ac_header_preproc=no
1739 rm -f conftest.err conftest.$ac_ext
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1741 $as_echo "$ac_header_preproc" >&6; }
1743 # So? What about this header?
1744 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1747 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1749 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1753 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1755 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1757 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1759 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1761 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765 $as_echo_n "checking for $2... " >&6; }
1766 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1767 $as_echo_n "(cached) " >&6
1769 eval "$3=\$ac_header_compiler"
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1773 $as_echo "$ac_res" >&6; }
1775 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1777 } # ac_fn_c_check_header_mongrel
1779 # ac_fn_c_try_run LINENO
1780 # ----------------------
1781 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1782 # that executables *can* be run.
1785 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1786 if { { ac_try="$ac_link"
1788 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1789 *) ac_try_echo
=$ac_try;;
1791 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1792 $as_echo "$ac_try_echo"; } >&5
1793 (eval "$ac_link") 2>&5
1795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1796 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1797 { { case "(($ac_try" in
1798 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_try") 2>&5
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; }; }; then :
1809 $as_echo "$as_me: program exited with status $ac_status" >&5
1810 $as_echo "$as_me: failed program was:" >&5
1811 sed 's/^/| /' conftest.$ac_ext >&5
1813 ac_retval=$ac_status
1815 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1817 as_fn_set_status $ac_retval
1821 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1822 # -------------------------------------------------------
1823 # Tests whether HEADER exists and can be compiled using the include files in
1824 # INCLUDES, setting the cache variable VAR accordingly.
1825 ac_fn_c_check_header_compile ()
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1829 $as_echo_n "checking for $2... " >&6; }
1830 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1831 $as_echo_n "(cached) " >&6
1833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1834 /* end confdefs.h. */
1838 if ac_fn_c_try_compile "$LINENO"; then :
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1850 } # ac_fn_c_check_header_compile
1852 # ac_fn_c_try_link LINENO
1853 # -----------------------
1854 # Try to link conftest.$ac_ext, and return whether this succeeded.
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 rm -f conftest.$ac_objext conftest$ac_exeext
1859 if { { ac_try="$ac_link"
1861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1862 *) ac_try_echo
=$ac_try;;
1864 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 $as_echo "$ac_try_echo"; } >&5
1866 (eval "$ac_link") 2>conftest.err
1868 if test -s conftest.err
; then
1869 grep -v '^ *+' conftest.err
>conftest.er1
1870 cat conftest.er1
>&5
1871 mv -f conftest.er1 conftest.err
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && {
1875 test -z "$ac_c_werror_flag" ||
1876 test ! -s conftest.err
1877 } && test -s conftest
$ac_exeext && {
1878 test "$cross_compiling" = yes ||
1879 $as_test_x conftest
$ac_exeext
1883 $as_echo "$as_me: failed program was:" >&5
1884 sed 's/^/| /' conftest.
$ac_ext >&5
1888 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1889 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1890 # interfere with the next link command; also delete a directory that is
1891 # left behind by Apple's compiler. We do this before executing the actions.
1892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1893 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1894 as_fn_set_status
$ac_retval
1896 } # ac_fn_c_try_link
1898 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1899 # ----------------------------------------------------
1900 # Tries to find if the field MEMBER exists in type AGGR, after including
1901 # INCLUDES, setting cache variable VAR accordingly.
1902 ac_fn_c_check_member
()
1904 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1906 $as_echo_n "checking for $2.$3... " >&6; }
1907 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1908 $as_echo_n "(cached) " >&6
1910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1923 if ac_fn_c_try_compile
"$LINENO"; then :
1926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1927 /* end confdefs.h. */
1933 if (sizeof ac_aggr.$3)
1939 if ac_fn_c_try_compile
"$LINENO"; then :
1944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1953 } # ac_fn_c_check_member
1955 # ac_fn_c_check_decl LINENO SYMBOL VAR
1956 # ------------------------------------
1957 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1958 ac_fn_c_check_decl
()
1960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1962 $as_echo_n "checking whether $2 is declared... " >&6; }
1963 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1964 $as_echo_n "(cached) " >&6
1966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1980 if ac_fn_c_try_compile
"$LINENO"; then :
1985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1989 $as_echo "$ac_res" >&6; }
1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1992 } # ac_fn_c_check_decl
1994 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1995 # -------------------------------------------
1996 # Tests whether TYPE exists after having included INCLUDES, setting cache
1997 # variable VAR accordingly.
1998 ac_fn_c_check_type
()
2000 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002 $as_echo_n "checking for $2... " >&6; }
2003 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2004 $as_echo_n "(cached) " >&6
2007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2019 if ac_fn_c_try_compile
"$LINENO"; then :
2020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2021 /* end confdefs.h. */
2032 if ac_fn_c_try_compile
"$LINENO"; then :
2037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043 $as_echo "$ac_res" >&6; }
2044 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2046 } # ac_fn_c_check_type
2048 # ac_fn_c_check_func LINENO FUNC VAR
2049 # ----------------------------------
2050 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2051 ac_fn_c_check_func
()
2053 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2057 $as_echo_n "(cached) " >&6
2059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2061 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2063 #define $2 innocuous_$2
2065 /* System header to define __stub macros and hopefully few prototypes,
2066 which can conflict with char $2 (); below.
2067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2068 <limits.h> exists even on freestanding compilers. */
2071 # include <limits.h>
2073 # include <assert.h>
2078 /* Override any GCC internal prototype to avoid an error.
2079 Use char because int might match the return type of a GCC
2080 builtin and then its argument prototype would still apply. */
2085 /* The GNU C library defines this for functions which it implements
2086 to always fail with ENOSYS. Some functions are actually named
2087 something starting with __ and the normal name is an alias. */
2088 #if defined __stub_$2 || defined __stub___$2
2100 if ac_fn_c_try_link
"$LINENO"; then :
2105 rm -f core conftest.err conftest.
$ac_objext \
2106 conftest
$ac_exeext conftest.
$ac_ext
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2113 } # ac_fn_c_check_func
2114 cat >config.log
<<_ACEOF
2115 This file contains any messages produced by compilers while
2116 running configure, to aid debugging if configure makes a mistake.
2118 It was created by $as_me, which was
2119 generated by GNU Autoconf 2.65. Invocation command line was
2131 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2132 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2133 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2134 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2135 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2137 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2138 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2140 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2141 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2142 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2143 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2144 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2145 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2146 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2154 test -z "$as_dir" && as_dir
=.
2155 $as_echo "PATH: $as_dir"
2171 # Keep a trace of the command line.
2172 # Strip out --no-create and --no-recursion so they do not pile up.
2173 # Strip out --silent because we don't want to record it for future runs.
2174 # Also quote any args containing shell meta-characters.
2175 # Make two passes to allow for proper duplicate-argument suppression.
2179 ac_must_keep_next
=false
2185 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2186 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2187 |
-silent |
--silent |
--silen |
--sile |
--sil)
2190 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2193 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2195 as_fn_append ac_configure_args1
" '$ac_arg'"
2196 if test $ac_must_keep_next = true
; then
2197 ac_must_keep_next
=false
# Got value, back to normal.
2200 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2201 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2202 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2203 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2204 case "$ac_configure_args0 " in
2205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2208 -* ) ac_must_keep_next
=true
;;
2211 as_fn_append ac_configure_args
" '$ac_arg'"
2216 { ac_configure_args0
=; unset ac_configure_args0
;}
2217 { ac_configure_args1
=; unset ac_configure_args1
;}
2219 # When interrupted or exit'd, cleanup temporary files, and complete
2220 # config.log. We remove comments because anyway the quotes in there
2221 # would cause problems or look ugly.
2222 # WARNING: Use '\'' to represent an apostrophe within the trap.
2223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2224 trap 'exit_status=$?
2225 # Save into config.log some information that might help in debugging.
2230 ## ---------------- ##
2231 ## Cache variables. ##
2232 ## ---------------- ##
2235 # The following way of writing the cache mishandles newlines in values,
2237 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2238 eval ac_val=\$$ac_var
2242 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2243 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2246 _ | IFS | as_nl) ;; #(
2247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2248 *) { eval $ac_var=; unset $ac_var;} ;;
2253 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2254 *${as_nl}ac_space=\ *)
2256 "s/'\''/'\''\\\\'\'''\''/g;
2257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2268 ## ----------------- ##
2269 ## Output variables. ##
2270 ## ----------------- ##
2273 for ac_var in $ac_subst_vars
2275 eval ac_val=\$$ac_var
2277 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 $as_echo "$ac_var='\''$ac_val'\''"
2283 if test -n "$ac_subst_files"; then
2285 ## ------------------- ##
2286 ## File substitutions. ##
2287 ## ------------------- ##
2290 for ac_var
in $ac_subst_files
2292 eval ac_val
=\$
$ac_var
2294 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2296 $as_echo "$ac_var='\''$ac_val'\''"
2301 if test -s confdefs.h; then
2311 test "$ac_signal" != 0 &&
2312 $as_echo "$as_me: caught signal $ac_signal"
2313 $as_echo "$as_me: exit $exit_status"
2315 rm -f core *.core core.conftest.* &&
2316 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2319 for ac_signal
in 1 2 13 15; do
2320 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2324 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2325 rm -f -r conftest
* confdefs.h
2327 $as_echo "/* confdefs.h */" > confdefs.h
2329 # Predefined preprocessor variables.
2331 cat >>confdefs.h
<<_ACEOF
2332 #define PACKAGE_NAME "$PACKAGE_NAME"
2335 cat >>confdefs.h
<<_ACEOF
2336 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2339 cat >>confdefs.h
<<_ACEOF
2340 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2343 cat >>confdefs.h
<<_ACEOF
2344 #define PACKAGE_STRING "$PACKAGE_STRING"
2347 cat >>confdefs.h
<<_ACEOF
2348 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2351 cat >>confdefs.h
<<_ACEOF
2352 #define PACKAGE_URL "$PACKAGE_URL"
2356 # Let the site file select an alternate cache file if it wants to.
2357 # Prefer an explicitly selected file to automatically selected ones.
2360 if test -n "$CONFIG_SITE"; then
2361 ac_site_file1
=$CONFIG_SITE
2362 elif test "x$prefix" != xNONE
; then
2363 ac_site_file1
=$prefix/share
/config.site
2364 ac_site_file2
=$prefix/etc
/config.site
2366 ac_site_file1
=$ac_default_prefix/share
/config.site
2367 ac_site_file2
=$ac_default_prefix/etc
/config.site
2369 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2371 test "x$ac_site_file" = xNONE
&& continue
2372 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2374 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2375 sed 's/^/| /' "$ac_site_file" >&5
2380 if test -r "$cache_file"; then
2381 # Some versions of bash will fail to source /dev/null (special files
2382 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2383 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2385 $as_echo "$as_me: loading cache $cache_file" >&6;}
2387 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2388 *) .
"./$cache_file";;
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2393 $as_echo "$as_me: creating cache $cache_file" >&6;}
2397 as_fn_append ac_header_list
" stdlib.h"
2398 as_fn_append ac_header_list
" unistd.h"
2399 as_fn_append ac_header_list
" sys/param.h"
2400 # Check that the precious variables saved in the cache have kept the same
2402 ac_cache_corrupted
=false
2403 for ac_var
in $ac_precious_vars; do
2404 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2405 eval ac_new_set
=\
$ac_env_${ac_var}_set
2406 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2407 eval ac_new_val
=\
$ac_env_${ac_var}_value
2408 case $ac_old_set,$ac_new_set in
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2411 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2412 ac_cache_corrupted
=: ;;
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2415 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2416 ac_cache_corrupted
=: ;;
2419 if test "x$ac_old_val" != "x$ac_new_val"; then
2420 # differences in whitespace do not lead to failure.
2421 ac_old_val_w
=`echo x $ac_old_val`
2422 ac_new_val_w
=`echo x $ac_new_val`
2423 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2424 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2425 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2426 ac_cache_corrupted
=:
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2429 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2430 eval $ac_var=\
$ac_old_val
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2433 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2435 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2438 # Pass precious variables to config.status.
2439 if test "$ac_new_set" = set; then
2441 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2442 *) ac_arg
=$ac_var=$ac_new_val ;;
2444 case " $ac_configure_args " in
2445 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2446 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2450 if $ac_cache_corrupted; then
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2452 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2454 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2455 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2457 ## -------------------- ##
2458 ## Main body of script. ##
2459 ## -------------------- ##
2462 ac_cpp
='$CPP $CPPFLAGS'
2463 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2464 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2465 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2470 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2471 for ac_t
in install-sh
install.sh shtool
; do
2472 if test -f "$ac_dir/$ac_t"; then
2474 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2479 if test -z "$ac_aux_dir"; then
2480 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2483 # These three variables are undocumented and unsupported,
2484 # and are intended to be withdrawn in a future Autoconf release.
2485 # They can cause serious problems if a builder's source tree is in a directory
2486 # whose full name contains unusual characters.
2487 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2488 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2489 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2493 # Check what host we are running on.
2494 # If a target is not suggested, we use this one.
2495 # Note that what we call a target, Autoconf calls a host.
2496 # Make sure we can run config.sub.
2497 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2498 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2501 $as_echo_n "checking build system type... " >&6; }
2502 if test "${ac_cv_build+set}" = set; then :
2503 $as_echo_n "(cached) " >&6
2505 ac_build_alias
=$build_alias
2506 test "x$ac_build_alias" = x
&&
2507 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2508 test "x$ac_build_alias" = x
&&
2509 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2510 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2511 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2515 $as_echo "$ac_cv_build" >&6; }
2516 case $ac_cv_build in
2518 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2521 ac_save_IFS
=$IFS; IFS
='-'
2527 # Remember, the first character of IFS is used to create $*,
2528 # except with old shells:
2531 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2535 $as_echo_n "checking host system type... " >&6; }
2536 if test "${ac_cv_host+set}" = set; then :
2537 $as_echo_n "(cached) " >&6
2539 if test "x$host_alias" = x
; then
2540 ac_cv_host
=$ac_cv_build
2542 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2543 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2548 $as_echo "$ac_cv_host" >&6; }
2551 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2554 ac_save_IFS
=$IFS; IFS
='-'
2560 # Remember, the first character of IFS is used to create $*,
2561 # except with old shells:
2564 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2568 # The AROS target is slightly different to the normal GNU style
2569 # format. We don't have the middle part, and we reverse the order
2570 # of the $(CPU) and $(OS) bits.
2572 # Don't strip the version of the target yet, it might be
2573 # useful on some systems.
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2576 $as_echo_n "checking for AROS style target... " >&6; }
2578 if test "$target" = "NONE" ; then
2579 target
=$host_os-$host_cpu
2582 if test "$target" = "" ; then
2583 target
=$host_os-$host_cpu
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2590 $as_echo "$target" >&6; }
2592 if test "$host_os" = "mingw32" ; then
2596 #don't know where else to put this...
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2598 $as_echo_n "checking Building AROS in .. ... " >&6; }
2599 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2600 AROS_BUILDDIR_UNIX
=${PWD}
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2602 $as_echo "$AROS_BUILDDIR" >&6; }
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2605 $as_echo_n "checking AROS Source in .. ... " >&6; }
2606 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2609 $as_echo "$SRCDIR" >&6; }
2611 # Parse the target field into something useful.
2613 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2614 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2617 aros_default_wbwidth
=800
2618 aros_default_wbheight
=600
2619 aros_default_wbdepth
=4
2622 # The first step is to find the host binaries.
2623 # Check for a compiler.
2625 ac_cpp
='$CPP $CPPFLAGS'
2626 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2629 if test -n "$ac_tool_prefix"; then
2630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2631 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2633 $as_echo_n "checking for $ac_word... " >&6; }
2634 if test "${ac_cv_prog_CC+set}" = set; then :
2635 $as_echo_n "(cached) " >&6
2637 if test -n "$CC"; then
2638 ac_cv_prog_CC
="$CC" # Let the user override the test.
2640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2644 test -z "$as_dir" && as_dir
=.
2645 for ac_exec_ext
in '' $ac_executable_extensions; do
2646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2647 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2658 if test -n "$CC"; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2660 $as_echo "$CC" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2663 $as_echo "no" >&6; }
2668 if test -z "$ac_cv_prog_CC"; then
2670 # Extract the first word of "gcc", so it can be a program name with args.
2671 set dummy gcc
; ac_word
=$2
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2673 $as_echo_n "checking for $ac_word... " >&6; }
2674 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2675 $as_echo_n "(cached) " >&6
2677 if test -n "$ac_ct_CC"; then
2678 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2684 test -z "$as_dir" && as_dir
=.
2685 for ac_exec_ext
in '' $ac_executable_extensions; do
2686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2687 ac_cv_prog_ac_ct_CC
="gcc"
2688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2697 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2698 if test -n "$ac_ct_CC"; then
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2700 $as_echo "$ac_ct_CC" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2706 if test "x$ac_ct_CC" = x
; then
2709 case $cross_compiling:$ac_tool_warned in
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2713 ac_tool_warned
=yes ;;
2721 if test -z "$CC"; then
2722 if test -n "$ac_tool_prefix"; then
2723 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2724 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2726 $as_echo_n "checking for $ac_word... " >&6; }
2727 if test "${ac_cv_prog_CC+set}" = set; then :
2728 $as_echo_n "(cached) " >&6
2730 if test -n "$CC"; then
2731 ac_cv_prog_CC
="$CC" # Let the user override the test.
2733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2737 test -z "$as_dir" && as_dir
=.
2738 for ac_exec_ext
in '' $ac_executable_extensions; do
2739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2740 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 if test -n "$CC"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2753 $as_echo "$CC" >&6; }
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2756 $as_echo "no" >&6; }
2762 if test -z "$CC"; then
2763 # Extract the first word of "cc", so it can be a program name with args.
2764 set dummy cc
; ac_word
=$2
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766 $as_echo_n "checking for $ac_word... " >&6; }
2767 if test "${ac_cv_prog_CC+set}" = set; then :
2768 $as_echo_n "(cached) " >&6
2770 if test -n "$CC"; then
2771 ac_cv_prog_CC
="$CC" # Let the user override the test.
2774 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir
=.
2779 for ac_exec_ext
in '' $ac_executable_extensions; do
2780 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2781 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2782 ac_prog_rejected
=yes
2786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 if test $ac_prog_rejected = yes; then
2794 # We found a bogon in the path, so make sure we never use it.
2795 set dummy
$ac_cv_prog_CC
2797 if test $# != 0; then
2798 # We chose a different compiler from the bogus one.
2799 # However, it has the same basename, so the bogon will be chosen
2800 # first if we set CC to just the basename; use the full file name.
2802 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2808 if test -n "$CC"; then
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2810 $as_echo "$CC" >&6; }
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2813 $as_echo "no" >&6; }
2818 if test -z "$CC"; then
2819 if test -n "$ac_tool_prefix"; then
2820 for ac_prog
in cl.exe
2822 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2823 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2825 $as_echo_n "checking for $ac_word... " >&6; }
2826 if test "${ac_cv_prog_CC+set}" = set; then :
2827 $as_echo_n "(cached) " >&6
2829 if test -n "$CC"; then
2830 ac_cv_prog_CC
="$CC" # Let the user override the test.
2832 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir
=.
2837 for ac_exec_ext
in '' $ac_executable_extensions; do
2838 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2839 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2850 if test -n "$CC"; then
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2852 $as_echo "$CC" >&6; }
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2855 $as_echo "no" >&6; }
2859 test -n "$CC" && break
2862 if test -z "$CC"; then
2864 for ac_prog
in cl.exe
2866 # Extract the first word of "$ac_prog", so it can be a program name with args.
2867 set dummy
$ac_prog; ac_word
=$2
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2869 $as_echo_n "checking for $ac_word... " >&6; }
2870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2871 $as_echo_n "(cached) " >&6
2873 if test -n "$ac_ct_CC"; then
2874 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2880 test -z "$as_dir" && as_dir
=.
2881 for ac_exec_ext
in '' $ac_executable_extensions; do
2882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2883 ac_cv_prog_ac_ct_CC
="$ac_prog"
2884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2893 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2894 if test -n "$ac_ct_CC"; then
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2896 $as_echo "$ac_ct_CC" >&6; }
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2899 $as_echo "no" >&6; }
2903 test -n "$ac_ct_CC" && break
2906 if test "x$ac_ct_CC" = x
; then
2909 case $cross_compiling:$ac_tool_warned in
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2913 ac_tool_warned
=yes ;;
2922 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2923 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2924 as_fn_error
"no acceptable C compiler found in \$PATH
2925 See \`config.log' for more details." "$LINENO" 5; }
2927 # Provide some information about the compiler.
2928 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2931 for ac_option
in --version -v -V -qversion; do
2932 { { ac_try
="$ac_compiler $ac_option >&5"
2934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2935 *) ac_try_echo=$ac_try;;
2937 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2938 $as_echo "$ac_try_echo"; } >&5
2939 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2941 if test -s conftest.err; then
2943 ... rest of stderr output deleted ...
2944 10q' conftest.err >conftest.er1
2945 cat conftest.er1 >&5
2947 rm -f conftest.er1 conftest.err
2948 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2949 test $ac_status = 0; }
2952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2953 /* end confdefs.h. */
2963 ac_clean_files_save=$ac_clean_files
2964 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2965 # Try to create an executable without -o first, disregard a.out.
2966 # It will help us diagnose broken compilers, and finding out an intuition
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2969 $as_echo_n "checking whether the C compiler works... " >&6; }
2970 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2972 # The possible output files:
2973 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2976 for ac_file in $ac_files
2979 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2980 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2985 if { { ac_try="$ac_link_default"
2987 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2988 *) ac_try_echo
=$ac_try;;
2990 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2991 $as_echo "$ac_try_echo"; } >&5
2992 (eval "$ac_link_default") 2>&5
2994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2995 test $ac_status = 0; }; then :
2996 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2997 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2998 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2999 # so that the user can short-circuit this test for compilers unknown to
3001 for ac_file
in $ac_files ''
3003 test -f "$ac_file" ||
continue
3005 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3008 # We found the default executable, but exeext='' is most
3012 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3014 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3016 # We set ac_cv_exeext here because the later test for it is not
3017 # safe: cross compilers may not add the suffix if given an `-o'
3018 # argument, so we may need to know it at that point already.
3019 # Even if this section looks crufty: it has the advantage of
3026 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3031 if test -z "$ac_file"; then :
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3034 $as_echo "$as_me: failed program was:" >&5
3035 sed 's/^/| /' conftest.
$ac_ext >&5
3037 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3038 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3039 { as_fn_set_status
77
3040 as_fn_error
"C compiler cannot create executables
3041 See \`config.log' for more details." "$LINENO" 5; }; }
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3044 $as_echo "yes" >&6; }
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3047 $as_echo_n "checking for C compiler default output file name... " >&6; }
3048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3049 $as_echo "$ac_file" >&6; }
3050 ac_exeext
=$ac_cv_exeext
3052 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3053 ac_clean_files
=$ac_clean_files_save
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3055 $as_echo_n "checking for suffix of executables... " >&6; }
3056 if { { ac_try
="$ac_link"
3058 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3059 *) ac_try_echo=$ac_try;;
3061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3062 $as_echo "$ac_try_echo"; } >&5
3063 (eval "$ac_link") 2>&5
3065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3066 test $ac_status = 0; }; then :
3067 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3068 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3069 # work properly (i.e., refer to `conftest.exe'), while it won't with
3071 for ac_file
in conftest.exe conftest conftest.
*; do
3072 test -f "$ac_file" ||
continue
3074 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3075 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3084 See \`config.log' for more details." "$LINENO" 5; }
3086 rm -f conftest conftest
$ac_cv_exeext
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3088 $as_echo "$ac_cv_exeext" >&6; }
3090 rm -f conftest.
$ac_ext
3091 EXEEXT
=$ac_cv_exeext
3093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3094 /* end confdefs.h. */
3099 FILE *f = fopen ("conftest.out", "w");
3100 return ferror (f) || fclose (f) != 0;
3106 ac_clean_files
="$ac_clean_files conftest.out"
3107 # Check that the compiler produces executables we can run. If not, either
3108 # the compiler is broken, or we cross compile.
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3110 $as_echo_n "checking whether we are cross compiling... " >&6; }
3111 if test "$cross_compiling" != yes; then
3112 { { ac_try
="$ac_link"
3114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_link") 2>&5
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; }
3123 if { ac_try='./conftest$ac_cv_exeext'
3124 { { case "(($ac_try" in
3125 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3126 *) ac_try_echo
=$ac_try;;
3128 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3129 $as_echo "$ac_try_echo"; } >&5
3130 (eval "$ac_try") 2>&5
3132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3133 test $ac_status = 0; }; }; then
3136 if test "$cross_compiling" = maybe
; then
3139 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3140 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3141 as_fn_error
"cannot run C compiled programs.
3142 If you meant to cross compile, use \`--host'.
3143 See \`config.log' for more details." "$LINENO" 5; }
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3148 $as_echo "$cross_compiling" >&6; }
3150 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3151 ac_clean_files
=$ac_clean_files_save
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3153 $as_echo_n "checking for suffix of object files... " >&6; }
3154 if test "${ac_cv_objext+set}" = set; then :
3155 $as_echo_n "(cached) " >&6
3157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3168 rm -f conftest.o conftest.obj
3169 if { { ac_try
="$ac_compile"
3171 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3172 *) ac_try_echo=$ac_try;;
3174 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3175 $as_echo "$ac_try_echo"; } >&5
3176 (eval "$ac_compile") 2>&5
3178 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3179 test $ac_status = 0; }; then :
3180 for ac_file in conftest.o conftest.obj conftest.*; do
3181 test -f "$ac_file" || continue;
3183 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3184 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3189 $as_echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3192 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3193 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3194 as_fn_error "cannot compute suffix of object files
: cannot compile
3195 See \
`config.log' for more details." "$LINENO" 5; }
3197 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3200 $as_echo "$ac_cv_objext" >&6; }
3201 OBJEXT=$ac_cv_objext
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3204 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3205 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3206 $as_echo_n "(cached) " >&6
3208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3209 /* end confdefs.h. */
3222 if ac_fn_c_try_compile "$LINENO"; then :
3227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3228 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3232 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3233 if test $ac_compiler_gnu = yes; then
3238 ac_test_CFLAGS=${CFLAGS+set}
3239 ac_save_CFLAGS=$CFLAGS
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3241 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3242 if test "${ac_cv_prog_cc_g+set}" = set; then :
3243 $as_echo_n "(cached) " >&6
3245 ac_save_c_werror_flag=$ac_c_werror_flag
3246 ac_c_werror_flag=yes
3249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3250 /* end confdefs.h. */
3260 if ac_fn_c_try_compile "$LINENO"; then :
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3275 if ac_fn_c_try_compile "$LINENO"; then :
3278 ac_c_werror_flag=$ac_save_c_werror_flag
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3291 if ac_fn_c_try_compile "$LINENO"; then :
3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3299 ac_c_werror_flag=$ac_save_c_werror_flag
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3302 $as_echo "$ac_cv_prog_cc_g" >&6; }
3303 if test "$ac_test_CFLAGS" = set; then
3304 CFLAGS=$ac_save_CFLAGS
3305 elif test $ac_cv_prog_cc_g = yes; then
3306 if test "$GCC" = yes; then
3312 if test "$GCC" = yes; then
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3319 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3320 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3321 $as_echo_n "(cached) " >&6
3323 ac_cv_prog_cc_c89=no
3325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3326 /* end confdefs.h. */
3329 #include <sys/types.h>
3330 #include <sys/stat.h>
3331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3332 struct buf { int x; };
3333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3334 static char *e (p, i)
3340 static char *f (char * (*g) (char **, int), char **p, ...)
3345 s = g (p, va_arg (v,int));
3350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3351 function prototypes and stuff, but not '\xHH' hex character constants.
3352 These don't provoke an error unfortunately, instead are silently treated
3353 as 'x'. The following induces an error, until -std is added to get
3354 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3355 array size at least. It's necessary to write '\x00'==0 to get something
3356 that's true only with -std. */
3357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3359 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3360 inside strings and character constants. */
3362 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3364 int test (int i, double x);
3365 struct s1 {int (*f) (int a);};
3366 struct s2 {int (*f) (double a);};
3367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3373 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3378 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3379 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3381 CC="$ac_save_CC $ac_arg"
3382 if ac_fn_c_try_compile "$LINENO"; then :
3383 ac_cv_prog_cc_c89=$ac_arg
3385 rm -f core conftest.err conftest.$ac_objext
3386 test "x$ac_cv_prog_cc_c89" != "xno" && break
3388 rm -f conftest.$ac_ext
3393 case "x$ac_cv_prog_cc_c89" in
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3396 $as_echo "none needed" >&6; } ;;
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3399 $as_echo "unsupported" >&6; } ;;
3401 CC="$CC $ac_cv_prog_cc_c89"
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3403 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3405 if test "x$ac_cv_prog_cc_c89" != xno; then :
3410 ac_cpp='$CPP $CPPFLAGS'
3411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3415 case $ac_cv_prog_cc_stdc in #(
3417 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3420 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3421 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3424 ac_cv_prog_cc_c99=no
3426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3427 /* end confdefs.h. */
3429 #include <stdbool.h>
3434 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3435 #define debug(...) fprintf (stderr, __VA_ARGS__)
3436 #define showlist(...) puts (#__VA_ARGS__)
3437 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3439 test_varargs_macros (void)
3444 debug ("X = %d\n", x);
3445 showlist (The first, second, and third items.);
3446 report (x>y, "x is %d but y is %d", x, y);
3449 // Check long long types.
3450 #define BIG64 18446744073709551615ull
3451 #define BIG32 4294967295ul
3452 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3454 your preprocessor is broken;
3458 your preprocessor is broken;
3460 static long long int bignum = -9223372036854775807LL;
3461 static unsigned long long int ubignum = BIG64;
3463 struct incomplete_array
3471 const wchar_t *name;
3475 typedef const char *ccp;
3478 test_restrict (ccp restrict text)
3480 // See if C++-style comments work.
3481 // Iterate through items via the restricted pointer.
3482 // Also check for declarations in for loops.
3483 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3488 // Check varargs and va_copy.
3490 test_varargs (const char *format, ...)
3493 va_start (args, format);
3495 va_copy (args_copy, args);
3506 str = va_arg (args_copy, const char *);
3509 number = va_arg (args_copy, int);
3512 fnumber = va_arg (args_copy, double);
3527 _Bool success = false;
3530 if (test_restrict ("String literal") == 0)
3532 char *restrict newvar = "Another string";
3535 test_varargs ("s, d' f .", "string", 65, 34.234);
3536 test_varargs_macros ();
3538 // Check flexible array members.
3539 struct incomplete_array *ia =
3540 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3542 for (int i = 0; i < ia->datasize; ++i)
3543 ia->data[i] = i * 1.234;
3545 // Check named initializers.
3546 struct named_init ni = {
3548 .name = L"Test wide string",
3549 .average = 543.34343,
3554 int dynamic_array[ni.number];
3555 dynamic_array[ni.number - 1] = 543;
3557 // work around unused variable warnings
3558 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3559 || dynamic_array[ni.number - 1] != 543);
3565 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3567 CC="$ac_save_CC $ac_arg"
3568 if ac_fn_c_try_compile "$LINENO"; then :
3569 ac_cv_prog_cc_c99=$ac_arg
3571 rm -f core conftest.err conftest.$ac_objext
3572 test "x$ac_cv_prog_cc_c99" != "xno" && break
3574 rm -f conftest.$ac_ext
3579 case "x$ac_cv_prog_cc_c99" in
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3582 $as_echo "none needed" >&6; } ;;
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3585 $as_echo "unsupported" >&6; } ;;
3587 CC="$CC $ac_cv_prog_cc_c99"
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3589 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3591 if test "x$ac_cv_prog_cc_c99" != xno; then :
3592 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3595 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3596 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3597 $as_echo_n "(cached) " >&6
3599 ac_cv_prog_cc_c89=no
3601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3602 /* end confdefs.h. */
3605 #include <sys/types.h>
3606 #include <sys/stat.h>
3607 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3608 struct buf { int x; };
3609 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3610 static char *e (p, i)
3616 static char *f (char * (*g) (char **, int), char **p, ...)
3621 s = g (p, va_arg (v,int));
3626 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3627 function prototypes and stuff, but not '\xHH' hex character constants.
3628 These don't provoke an error unfortunately, instead are silently treated
3629 as 'x'. The following induces an error, until -std is added to get
3630 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3631 array size at least. It's necessary to write '\x00'==0 to get something
3632 that's true only with -std. */
3633 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3635 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3636 inside strings and character constants. */
3638 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3640 int test (int i, double x);
3641 struct s1 {int (*f) (int a);};
3642 struct s2 {int (*f) (double a);};
3643 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3649 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3654 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3655 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3657 CC="$ac_save_CC $ac_arg"
3658 if ac_fn_c_try_compile "$LINENO"; then :
3659 ac_cv_prog_cc_c89=$ac_arg
3661 rm -f core conftest.err conftest.$ac_objext
3662 test "x$ac_cv_prog_cc_c89" != "xno" && break
3664 rm -f conftest.$ac_ext
3669 case "x$ac_cv_prog_cc_c89" in
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3672 $as_echo "none needed" >&6; } ;;
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3675 $as_echo "unsupported" >&6; } ;;
3677 CC="$CC $ac_cv_prog_cc_c89"
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3679 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3681 if test "x$ac_cv_prog_cc_c89" != xno; then :
3682 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3684 ac_cv_prog_cc_stdc=no
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3691 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3692 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3693 $as_echo_n "(cached) " >&6
3696 case $ac_cv_prog_cc_stdc in #(
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3699 $as_echo "unsupported" >&6; } ;; #(
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3702 $as_echo "none needed" >&6; } ;; #(
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3705 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3709 ac_cpp='$CPP $CPPFLAGS'
3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3714 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3715 # On Suns, sometimes $CPP names a directory.
3716 if test -n "$CPP" && test -d "$CPP"; then
3719 if test -z "$CPP"; then
3720 if test "${ac_cv_prog_CPP+set}" = set; then :
3721 $as_echo_n "(cached) " >&6
3723 # Double quotes because CPP needs to be expanded
3724 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3727 for ac_c_preproc_warn_flag in '' yes
3729 # Use a header file that comes with gcc, so configuring glibc
3730 # with a fresh cross-compiler works.
3731 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3732 # <limits.h> exists even on freestanding compilers.
3733 # On the NeXT, cc -E runs the code through the compiler's parser,
3734 # not just through cpp. "Syntax error" is here to catch this case.
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3738 # include <limits.h>
3740 # include <assert.h>
3744 if ac_fn_c_try_cpp "$LINENO"; then :
3747 # Broken: fails on valid input.
3750 rm -f conftest.err conftest.$ac_ext
3752 # OK, works on sane cases. Now check whether nonexistent headers
3753 # can be detected and how.
3754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3756 #include <ac_nonexistent.h>
3758 if ac_fn_c_try_cpp "$LINENO"; then :
3759 # Broken: success on invalid input.
3762 # Passes both tests.
3766 rm -f conftest.err conftest.$ac_ext
3769 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3770 rm -f conftest.err conftest.
$ac_ext
3771 if $ac_preproc_ok; then :
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3784 $as_echo "$CPP" >&6; }
3786 for ac_c_preproc_warn_flag
in '' yes
3788 # Use a header file that comes with gcc, so configuring glibc
3789 # with a fresh cross-compiler works.
3790 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3791 # <limits.h> exists even on freestanding compilers.
3792 # On the NeXT, cc -E runs the code through the compiler's parser,
3793 # not just through cpp. "Syntax error" is here to catch this case.
3794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3795 /* end confdefs.h. */
3797 # include <limits.h>
3799 # include <assert.h>
3803 if ac_fn_c_try_cpp
"$LINENO"; then :
3806 # Broken: fails on valid input.
3809 rm -f conftest.err conftest.
$ac_ext
3811 # OK, works on sane cases. Now check whether nonexistent headers
3812 # can be detected and how.
3813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3814 /* end confdefs.h. */
3815 #include <ac_nonexistent.h>
3817 if ac_fn_c_try_cpp
"$LINENO"; then :
3818 # Broken: success on invalid input.
3821 # Passes both tests.
3825 rm -f conftest.err conftest.
$ac_ext
3828 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3829 rm -f conftest.err conftest.
$ac_ext
3830 if $ac_preproc_ok; then :
3833 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3835 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3836 See \`config.log' for more details." "$LINENO" 5; }
3840 ac_cpp
='$CPP $CPPFLAGS'
3841 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3846 # Check for a compatible awk
3847 for ac_prog
in gawk nawk
3849 # Extract the first word of "$ac_prog", so it can be a program name with args.
3850 set dummy
$ac_prog; ac_word
=$2
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3852 $as_echo_n "checking for $ac_word... " >&6; }
3853 if test "${ac_cv_prog_AWK+set}" = set; then :
3854 $as_echo_n "(cached) " >&6
3856 if test -n "$AWK"; then
3857 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3859 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3863 test -z "$as_dir" && as_dir
=.
3864 for ac_exec_ext
in '' $ac_executable_extensions; do
3865 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3866 ac_cv_prog_AWK
="$ac_prog"
3867 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 if test -n "$AWK"; then
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3879 $as_echo "$AWK" >&6; }
3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3882 $as_echo "no" >&6; }
3886 test -n "$AWK" && break
3889 if test "$AWK" = ""; then
3890 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3892 # Extract the first word of "mmake", so it can be a program name with args.
3893 set dummy mmake
; ac_word
=$2
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3895 $as_echo_n "checking for $ac_word... " >&6; }
3896 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3897 $as_echo_n "(cached) " >&6
3899 if test -n "$MMAKE"; then
3900 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir
=.
3907 for ac_exec_ext
in '' $ac_executable_extensions; do
3908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3909 ac_cv_prog_MMAKE
="mmake "
3910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3919 MMAKE
=$ac_cv_prog_MMAKE
3920 if test -n "$MMAKE"; then
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3922 $as_echo "$MMAKE" >&6; }
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3925 $as_echo "no" >&6; }
3930 # Perform some default variable assignments. Note all of these will be
3931 # Regenerated from the script, so there is no need to cache them.
3934 if test "$GCC" = "yes"; then
3935 aros_gcc_ld
=`$CC -print-prog-name=ld`
3936 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3937 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3939 $as_echo_n "checking for $ac_word... " >&6; }
3940 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3941 $as_echo_n "(cached) " >&6
3943 case $aros_host_ld in
3945 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3949 for as_dir
in `dirname $aros_gcc_ld`
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3966 aros_host_ld
=$ac_cv_path_aros_host_ld
3967 if test -n "$aros_host_ld"; then
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3969 $as_echo "$aros_host_ld" >&6; }
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3972 $as_echo "no" >&6; }
3977 if test "$aros_host_ld" = ""; then
3978 # Extract the first word of "ld", so it can be a program name with args.
3979 set dummy ld
; ac_word
=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3983 $as_echo_n "(cached) " >&6
3985 case $aros_host_ld in
3987 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3994 test -z "$as_dir" && as_dir
=.
3995 for ac_exec_ext
in '' $ac_executable_extensions; do
3996 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3997 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4008 aros_host_ld
=$ac_cv_path_aros_host_ld
4009 if test -n "$aros_host_ld"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
4011 $as_echo "$aros_host_ld" >&6; }
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4019 if test "$aros_host_ld" = ""; then
4020 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
4022 aros_host_make
="make"
4023 aros_host_cflags
=$CFLAGS
4024 aros_host_ldflags
=$LDFLAGS
4025 aros_host_debug
="-g -O0"
4026 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
4027 aros_host_mkargs
="--no-print-directory"
4028 aros_host_incl
="/usr/include"
4029 aros_host_exe_suffix
="$EXEEXT"
4030 aros_host_lib_suffix
=""
4032 for ac_prog
in aclocal aclocal19 aclocal-1.9
4034 # Extract the first word of "$ac_prog", so it can be a program name with args.
4035 set dummy
$ac_prog; ac_word
=$2
4036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4037 $as_echo_n "checking for $ac_word... " >&6; }
4038 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
4039 $as_echo_n "(cached) " >&6
4041 if test -n "$aros_host_aclocal"; then
4042 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
4044 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4048 test -z "$as_dir" && as_dir
=.
4049 for ac_exec_ext
in '' $ac_executable_extensions; do
4050 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4051 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4061 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4062 if test -n "$aros_host_aclocal"; then
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4064 $as_echo "$aros_host_aclocal" >&6; }
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4067 $as_echo "no" >&6; }
4071 test -n "$aros_host_aclocal" && break
4074 for ac_prog
in autoconf autoconf259 autoconf253
4076 # Extract the first word of "$ac_prog", so it can be a program name with args.
4077 set dummy
$ac_prog; ac_word
=$2
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4079 $as_echo_n "checking for $ac_word... " >&6; }
4080 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4081 $as_echo_n "(cached) " >&6
4083 if test -n "$aros_host_autoconf"; then
4084 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4086 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4090 test -z "$as_dir" && as_dir
=.
4091 for ac_exec_ext
in '' $ac_executable_extensions; do
4092 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4093 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4094 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4103 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4104 if test -n "$aros_host_autoconf"; then
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4106 $as_echo "$aros_host_autoconf" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4113 test -n "$aros_host_autoconf" && break
4116 for ac_prog
in autoheader autoheader259 autoheader253
4118 # Extract the first word of "$ac_prog", so it can be a program name with args.
4119 set dummy
$ac_prog; ac_word
=$2
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4121 $as_echo_n "checking for $ac_word... " >&6; }
4122 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4123 $as_echo_n "(cached) " >&6
4125 if test -n "$aros_host_autoheader"; then
4126 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4132 test -z "$as_dir" && as_dir
=.
4133 for ac_exec_ext
in '' $ac_executable_extensions; do
4134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4135 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4145 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4146 if test -n "$aros_host_autoheader"; then
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4148 $as_echo "$aros_host_autoheader" >&6; }
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4151 $as_echo "no" >&6; }
4155 test -n "$aros_host_autoheader" && break
4158 for ac_prog
in automake automake19 automake-1.9
4160 # Extract the first word of "$ac_prog", so it can be a program name with args.
4161 set dummy
$ac_prog; ac_word
=$2
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4163 $as_echo_n "checking for $ac_word... " >&6; }
4164 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4165 $as_echo_n "(cached) " >&6
4167 if test -n "$aros_host_automake"; then
4168 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4174 test -z "$as_dir" && as_dir
=.
4175 for ac_exec_ext
in '' $ac_executable_extensions; do
4176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4177 ac_cv_prog_aros_host_automake
="$ac_prog"
4178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 aros_host_automake
=$ac_cv_prog_aros_host_automake
4188 if test -n "$aros_host_automake"; then
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4190 $as_echo "$aros_host_automake" >&6; }
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4193 $as_echo "no" >&6; }
4197 test -n "$aros_host_automake" && break
4201 if test "$aros_host_aclocal" = ""; then
4202 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4204 if test "$aros_host_automake" = ""; then
4205 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4208 case "$aros_host_cc" in
4210 aros_host_cc_pipe
="-pipe"
4213 aros_host_cc_pipe
=""
4216 aros_host_cc_pipe
=""
4220 aros_target_cc_includes
=""
4222 # This is the main host configuration section. It is where the host
4223 # can change the values of any variables it needs to change. We do
4224 # not look at anything that compiles to the target yet, we'll get
4229 aros_host_arch
="aros"
4230 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4233 aros_host_cpu
="i386"
4236 aros_host_cpu
="x86_64"
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4243 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4244 aros_host_cpu
="$host_cpu"
4250 aros_host_arch
="linux"
4251 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4254 aros_host_cpu
="i386"
4257 aros_host_cpu
="x86_64"
4260 aros_host_cpu
="m68k"
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4270 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4271 aros_host_cpu
="$host_cpu"
4277 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4278 aros_host_make
="gmake"
4279 aros_host_arch
="freebsd"
4280 aros_host_cpu
="i386"
4282 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4287 aros_object_format
="elf_i386"
4291 aros_object_format
="elf_i386_fbsd"
4298 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4299 aros_host_arch
="darwin"
4302 aros_host_cpu
="i386"
4305 aros_host_cpu
="x86_64"
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&5
4312 $as_echo "$as_me: WARNING: \"Unknown CPU for Darwin host -- $host_cpu\"" >&2;}
4313 aros_host_cpu
="$host_cpu"
4317 aros_host_ldflags
="$aros_host_ldflags -liconv"
4322 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4323 aros_host_make
="gmake"
4324 aros_host_arch
="dragonfly"
4327 aros_host_cpu
="i386"
4330 aros_host_cpu
="x86_64"
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4334 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4335 aros_host_cpu
="$host_cpu"
4341 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4342 aros_host_make
="gmake"
4343 aros_host_arch
="netbsd"
4346 aros_host_cpu
="i386"
4349 aros_host_cpu
="m68k"
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4353 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4354 aros_host_cpu
="$host_cpu"
4357 aros_host_lib_suffix
=".0.0"
4361 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4362 aros_host_make
="gmake"
4363 aros_host_arch
="openbsd"
4366 aros_host_cpu
="i386"
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4370 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4371 aros_host_cpu
="$host_cpu"
4377 aros_host_arch
="solaris"
4378 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4381 aros_host_cpu
="i386"
4384 aros_host_cpu
="sparc"
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4388 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4389 aros_host_cpu
="$host_cpu"
4395 aros_host_arch
="morphos"
4400 aros_host_arch
="amiga"
4405 TOUCH
="/gg/bin/touch"
4408 aros_host_cpu
="m68k"
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4415 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4416 aros_host_cpu
="$host_cpu"
4422 aros_host_arch
="cygwin"
4423 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4426 aros_host_cpu
="i386"
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4430 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4431 aros_host_cpu
="$host_cpu"
4437 aros_host_arch
="mingw32"
4438 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4441 aros_host_cpu
="i386"
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4445 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4446 aros_host_cpu
="$host_cpu"
4451 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4455 # Extract the first word of "ar", so it can be a program name with args.
4456 set dummy
ar; ac_word
=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -n "$aros_host_ar"; then
4463 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir
=.
4470 for ac_exec_ext
in '' $ac_executable_extensions; do
4471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4472 ac_cv_prog_aros_host_ar
="ar cr"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 aros_host_ar
=$ac_cv_prog_aros_host_ar
4483 if test -n "$aros_host_ar"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4485 $as_echo "$aros_host_ar" >&6; }
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4492 if test "$aros_host_ar" = ""; then
4493 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4495 # Extract the first word of "ranlib", so it can be a program name with args.
4496 set dummy ranlib
; ac_word
=$2
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4498 $as_echo_n "checking for $ac_word... " >&6; }
4499 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4500 $as_echo_n "(cached) " >&6
4502 if test -n "$aros_host_ranlib"; then
4503 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir
=.
4510 for ac_exec_ext
in '' $ac_executable_extensions; do
4511 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4512 ac_cv_prog_aros_host_ranlib
="ranlib "
4513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4522 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4523 if test -n "$aros_host_ranlib"; then
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4525 $as_echo "$aros_host_ranlib" >&6; }
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4528 $as_echo "no" >&6; }
4532 if test "$aros_host_ranlib" = ""; then
4533 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4535 # Extract the first word of "strip", so it can be a program name with args.
4536 set dummy strip
; ac_word
=$2
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4538 $as_echo_n "checking for $ac_word... " >&6; }
4539 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -n "$aros_host_strip"; then
4543 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_exec_ext
in '' $ac_executable_extensions; do
4551 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4552 ac_cv_prog_aros_host_strip
="strip "
4553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4562 aros_host_strip
=$ac_cv_prog_aros_host_strip
4563 if test -n "$aros_host_strip"; then
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4565 $as_echo "$aros_host_strip" >&6; }
4567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4568 $as_echo "no" >&6; }
4572 if test "$aros_host_strip" = ""; then
4573 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4576 # Extract the first word of "rm", so it can be a program name with args.
4577 set dummy
rm; ac_word
=$2
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4579 $as_echo_n "checking for $ac_word... " >&6; }
4580 if test "${ac_cv_prog_RM+set}" = set; then :
4581 $as_echo_n "(cached) " >&6
4583 if test -n "$RM"; then
4584 ac_cv_prog_RM
="$RM" # Let the user override the test.
4586 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4590 test -z "$as_dir" && as_dir
=.
4591 for ac_exec_ext
in '' $ac_executable_extensions; do
4592 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4593 ac_cv_prog_RM
="rm -rf"
4594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4604 if test -n "$RM"; then
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4606 $as_echo "$RM" >&6; }
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4609 $as_echo "no" >&6; }
4613 if test "$RM" = ""; then
4614 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4616 # Extract the first word of "cp", so it can be a program name with args.
4617 set dummy
cp; ac_word
=$2
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4619 $as_echo_n "checking for $ac_word... " >&6; }
4620 if test "${ac_cv_prog_CP+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4623 if test -n "$CP"; then
4624 ac_cv_prog_CP
="$CP" # Let the user override the test.
4626 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4630 test -z "$as_dir" && as_dir
=.
4631 for ac_exec_ext
in '' $ac_executable_extensions; do
4632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4644 if test -n "$CP"; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4646 $as_echo "$CP" >&6; }
4648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4649 $as_echo "no" >&6; }
4653 if test "$CP" = ""; then
4654 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4656 # Extract the first word of "mv", so it can be a program name with args.
4657 set dummy
mv; ac_word
=$2
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4659 $as_echo_n "checking for $ac_word... " >&6; }
4660 if test "${ac_cv_prog_MV+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if test -n "$MV"; then
4664 ac_cv_prog_MV
="$MV" # Let the user override the test.
4666 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 test -z "$as_dir" && as_dir
=.
4671 for ac_exec_ext
in '' $ac_executable_extensions; do
4672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4684 if test -n "$MV"; then
4685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4686 $as_echo "$MV" >&6; }
4688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4689 $as_echo "no" >&6; }
4693 if test "$MV" = ""; then
4694 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4696 # Extract the first word of "echo", so it can be a program name with args.
4697 set dummy
echo; ac_word
=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if test "${ac_cv_prog_ECHO+set}" = set; then :
4701 $as_echo_n "(cached) " >&6
4703 if test -n "$ECHO"; then
4704 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4706 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4710 test -z "$as_dir" && as_dir
=.
4711 for ac_exec_ext
in '' $ac_executable_extensions; do
4712 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4713 ac_cv_prog_ECHO
="echo "
4714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4723 ECHO
=$ac_cv_prog_ECHO
4724 if test -n "$ECHO"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4726 $as_echo "$ECHO" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4733 if test "$ECHO" = ""; then
4734 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4736 # Extract the first word of "mkdir", so it can be a program name with args.
4737 set dummy mkdir
; ac_word
=$2
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4739 $as_echo_n "checking for $ac_word... " >&6; }
4740 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4743 if test -n "$MKDIR"; then
4744 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4746 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4750 test -z "$as_dir" && as_dir
=.
4751 for ac_exec_ext
in '' $ac_executable_extensions; do
4752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4753 ac_cv_prog_MKDIR
="mkdir -p"
4754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4763 MKDIR
=$ac_cv_prog_MKDIR
4764 if test -n "$MKDIR"; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4766 $as_echo "$MKDIR" >&6; }
4768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4769 $as_echo "no" >&6; }
4773 if test "$MKDIR" = ""; then
4774 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4776 # Extract the first word of "touch", so it can be a program name with args.
4777 set dummy
touch; ac_word
=$2
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4779 $as_echo_n "checking for $ac_word... " >&6; }
4780 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4781 $as_echo_n "(cached) " >&6
4783 if test -n "$TOUCH"; then
4784 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 for ac_exec_ext
in '' $ac_executable_extensions; do
4792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4793 ac_cv_prog_TOUCH
="touch "
4794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 TOUCH
=$ac_cv_prog_TOUCH
4804 if test -n "$TOUCH"; then
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4806 $as_echo "$TOUCH" >&6; }
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4809 $as_echo "no" >&6; }
4813 if test "$TOUCH" = ""; then
4814 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4816 # Extract the first word of "sort", so it can be a program name with args.
4817 set dummy
sort; ac_word
=$2
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4819 $as_echo_n "checking for $ac_word... " >&6; }
4820 if test "${ac_cv_prog_SORT+set}" = set; then :
4821 $as_echo_n "(cached) " >&6
4823 if test -n "$SORT"; then
4824 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4830 test -z "$as_dir" && as_dir
=.
4831 for ac_exec_ext
in '' $ac_executable_extensions; do
4832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4833 ac_cv_prog_SORT
="sort "
4834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 SORT
=$ac_cv_prog_SORT
4844 if test -n "$SORT"; then
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4846 $as_echo "$SORT" >&6; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 $as_echo "no" >&6; }
4853 if test "$SORT" = ""; then
4854 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4856 # Extract the first word of "uniq", so it can be a program name with args.
4857 set dummy
uniq; ac_word
=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$UNIQ"; then
4864 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4873 ac_cv_prog_UNIQ
="uniq "
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 UNIQ
=$ac_cv_prog_UNIQ
4884 if test -n "$UNIQ"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4886 $as_echo "$UNIQ" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4893 if test "$UNIQ" = ""; then
4894 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4896 # Extract the first word of "true", so it can be a program name with args.
4897 set dummy true
; ac_word
=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_NOP+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4903 if test -n "$NOP"; then
4904 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4910 test -z "$as_dir" && as_dir
=.
4911 for ac_exec_ext
in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_NOP
="true "
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 if test -n "$NOP"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4926 $as_echo "$NOP" >&6; }
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4933 if test "$NOP" = ""; then
4934 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4936 # Extract the first word of "cat", so it can be a program name with args.
4937 set dummy
cat; ac_word
=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_CAT+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4943 if test -n "$CAT"; then
4944 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4950 test -z "$as_dir" && as_dir
=.
4951 for ac_exec_ext
in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_CAT
="cat "
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4964 if test -n "$CAT"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
4966 $as_echo "$CAT" >&6; }
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4973 if test "$CAT" = ""; then
4974 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
4976 # Extract the first word of "bison", so it can be a program name with args.
4977 set dummy bison
; ac_word
=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_BISON+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4983 if test -n "$BISON"; then
4984 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4990 test -z "$as_dir" && as_dir
=.
4991 for ac_exec_ext
in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_BISON
="bison "
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5003 BISON
=$ac_cv_prog_BISON
5004 if test -n "$BISON"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5006 $as_echo "$BISON" >&6; }
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5013 if test "$BISON" = ""; then
5014 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
5016 # Extract the first word of "flex", so it can be a program name with args.
5017 set dummy flex
; ac_word
=$2
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5019 $as_echo_n "checking for $ac_word... " >&6; }
5020 if test "${ac_cv_prog_FLEX+set}" = set; then :
5021 $as_echo_n "(cached) " >&6
5023 if test -n "$FLEX"; then
5024 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
5026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5030 test -z "$as_dir" && as_dir
=.
5031 for ac_exec_ext
in '' $ac_executable_extensions; do
5032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5033 ac_cv_prog_FLEX
="flex "
5034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5043 FLEX
=$ac_cv_prog_FLEX
5044 if test -n "$FLEX"; then
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5046 $as_echo "$FLEX" >&6; }
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5049 $as_echo "no" >&6; }
5053 if test "$FLEX" = ""; then
5054 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5056 # Extract the first word of "pngtopnm", so it can be a program name with args.
5057 set dummy pngtopnm
; ac_word
=$2
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5059 $as_echo_n "checking for $ac_word... " >&6; }
5060 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5061 $as_echo_n "(cached) " >&6
5063 if test -n "$PNGTOPNM"; then
5064 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5066 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5070 test -z "$as_dir" && as_dir
=.
5071 for ac_exec_ext
in '' $ac_executable_extensions; do
5072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5073 ac_cv_prog_PNGTOPNM
="pngtopnm "
5074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5084 if test -n "$PNGTOPNM"; then
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5086 $as_echo "$PNGTOPNM" >&6; }
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5089 $as_echo "no" >&6; }
5093 if test "$PNGTOPNM" = ""; then
5094 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5096 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5097 set dummy ppmtoilbm
; ac_word
=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5101 $as_echo_n "(cached) " >&6
5103 if test -n "$PPMTOILBM"; then
5104 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir
=.
5111 for ac_exec_ext
in '' $ac_executable_extensions; do
5112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5113 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5124 if test -n "$PPMTOILBM"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5126 $as_echo "$PPMTOILBM" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5133 if test "$PPMTOILBM" = ""; then
5134 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5136 # Extract the first word of "sed", so it can be a program name with args.
5137 set dummy
sed; ac_word
=$2
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5139 $as_echo_n "checking for $ac_word... " >&6; }
5140 if test "${ac_cv_prog_SED+set}" = set; then :
5141 $as_echo_n "(cached) " >&6
5143 if test -n "$SED"; then
5144 ac_cv_prog_SED
="$SED" # Let the user override the test.
5146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5150 test -z "$as_dir" && as_dir
=.
5151 for ac_exec_ext
in '' $ac_executable_extensions; do
5152 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5153 ac_cv_prog_SED
="sed "
5154 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 if test -n "$SED"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5166 $as_echo "$SED" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5169 $as_echo "no" >&6; }
5173 if test "$SED" = ""; then
5174 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5176 # Extract the first word of "chmod", so it can be a program name with args.
5177 set dummy
chmod; ac_word
=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5181 $as_echo_n "(cached) " >&6
5183 if test -n "$CHMOD"; then
5184 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5190 test -z "$as_dir" && as_dir
=.
5191 for ac_exec_ext
in '' $ac_executable_extensions; do
5192 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5193 ac_cv_prog_CHMOD
="chmod "
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5203 CHMOD
=$ac_cv_prog_CHMOD
5204 if test -n "$CHMOD"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5206 $as_echo "$CHMOD" >&6; }
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5213 if test "$CHMOD" = ""; then
5214 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5221 if test -n "$PYTHON"; then
5222 # If the user set $PYTHON, use it and don't search something else.
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.5" >&5
5224 $as_echo_n "checking whether $PYTHON version >= 2.5... " >&6; }
5225 prog
="import sys, string
5226 # split strings by '.' and convert to numeric. Append some zeros
5227 # because we need at least 4 digits for the hex conversion.
5228 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5230 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5231 sys.exit(sys.hexversion < minverhex)"
5232 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5233 ($PYTHON -c "$prog") >&5 2>&5
5235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5236 (exit $ac_status); }; then :
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5238 $as_echo "yes" >&6; }
5240 as_fn_error
"too old" "$LINENO" 5
5242 am_display_PYTHON
=$PYTHON
5244 # Otherwise, try each interpreter until we find one that satisfies
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.5" >&5
5247 $as_echo_n "checking for a Python interpreter with version >= 2.5... " >&6; }
5248 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5249 $as_echo_n "(cached) " >&6
5252 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
5253 test "$am_cv_pathless_PYTHON" = none
&& break
5254 prog
="import sys, string
5255 # split strings by '.' and convert to numeric. Append some zeros
5256 # because we need at least 4 digits for the hex conversion.
5257 minver = map(int, string.split('2.5', '.')) + [0, 0, 0]
5259 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5260 sys.exit(sys.hexversion < minverhex)"
5261 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5262 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }; then :
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5271 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5272 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5273 if test "$am_cv_pathless_PYTHON" = none
; then
5276 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5277 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5279 $as_echo_n "checking for $ac_word... " >&6; }
5280 if test "${ac_cv_path_PYTHON+set}" = set; then :
5281 $as_echo_n "(cached) " >&6
5285 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5288 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5292 test -z "$as_dir" && as_dir
=.
5293 for ac_exec_ext
in '' $ac_executable_extensions; do
5294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5295 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 PYTHON
=$ac_cv_path_PYTHON
5307 if test -n "$PYTHON"; then
5308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5309 $as_echo "$PYTHON" >&6; }
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5312 $as_echo "no" >&6; }
5317 am_display_PYTHON
=$am_cv_pathless_PYTHON
5321 if test "$PYTHON" = :; then
5322 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5327 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5328 if test "${am_cv_python_version+set}" = set; then :
5329 $as_echo_n "(cached) " >&6
5331 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5334 $as_echo "$am_cv_python_version" >&6; }
5335 PYTHON_VERSION
=$am_cv_python_version
5339 PYTHON_PREFIX
='${prefix}'
5341 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5346 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5347 if test "${am_cv_python_platform+set}" = set; then :
5348 $as_echo_n "(cached) " >&6
5350 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5353 $as_echo "$am_cv_python_platform" >&6; }
5354 PYTHON_PLATFORM
=$am_cv_python_platform
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5360 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5361 if test "${am_cv_python_pythondir+set}" = set; then :
5362 $as_echo_n "(cached) " >&6
5364 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5365 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5368 $as_echo "$am_cv_python_pythondir" >&6; }
5369 pythondir
=$am_cv_python_pythondir
5373 pkgpythondir
=\
${pythondir}/$PACKAGE
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5377 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5378 if test "${am_cv_python_pyexecdir+set}" = set; then :
5379 $as_echo_n "(cached) " >&6
5381 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5382 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5385 $as_echo "$am_cv_python_pyexecdir" >&6; }
5386 pyexecdir
=$am_cv_python_pyexecdir
5390 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5408 # Check for some includes for the X11 HIDD and the kernel
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5412 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5413 if test "${ac_cv_path_GREP+set}" = set; then :
5414 $as_echo_n "(cached) " >&6
5416 if test -z "$GREP"; then
5417 ac_path_GREP_found
=false
5418 # Loop through the user's path and test for each of PROGNAME-LIST
5419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5420 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5423 test -z "$as_dir" && as_dir
=.
5424 for ac_prog
in grep ggrep
; do
5425 for ac_exec_ext
in '' $ac_executable_extensions; do
5426 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5427 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5428 # Check for GNU ac_path_GREP and select it if it is found.
5429 # Check for GNU $ac_path_GREP
5430 case `"$ac_path_GREP" --version 2>&1` in
5432 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5435 $as_echo_n 0123456789 >"conftest.in"
5438 cat "conftest.in" "conftest.in" >"conftest.tmp"
5439 mv "conftest.tmp" "conftest.in"
5440 cp "conftest.in" "conftest.nl"
5441 $as_echo 'GREP' >> "conftest.nl"
5442 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5443 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5444 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5445 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5446 # Best one so far, save it but keep looking for a better one
5447 ac_cv_path_GREP
="$ac_path_GREP"
5448 ac_path_GREP_max
=$ac_count
5450 # 10*(2^10) chars as input seems more than enough
5451 test $ac_count -gt 10 && break
5453 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5456 $ac_path_GREP_found && break 3
5461 if test -z "$ac_cv_path_GREP"; then
5462 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5465 ac_cv_path_GREP
=$GREP
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5470 $as_echo "$ac_cv_path_GREP" >&6; }
5471 GREP
="$ac_cv_path_GREP"
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5475 $as_echo_n "checking for egrep... " >&6; }
5476 if test "${ac_cv_path_EGREP+set}" = set; then :
5477 $as_echo_n "(cached) " >&6
5479 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5480 then ac_cv_path_EGREP
="$GREP -E"
5482 if test -z "$EGREP"; then
5483 ac_path_EGREP_found
=false
5484 # Loop through the user's path and test for each of PROGNAME-LIST
5485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5486 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5489 test -z "$as_dir" && as_dir
=.
5490 for ac_prog
in egrep; do
5491 for ac_exec_ext
in '' $ac_executable_extensions; do
5492 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5493 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5494 # Check for GNU ac_path_EGREP and select it if it is found.
5495 # Check for GNU $ac_path_EGREP
5496 case `"$ac_path_EGREP" --version 2>&1` in
5498 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5501 $as_echo_n 0123456789 >"conftest.in"
5504 cat "conftest.in" "conftest.in" >"conftest.tmp"
5505 mv "conftest.tmp" "conftest.in"
5506 cp "conftest.in" "conftest.nl"
5507 $as_echo 'EGREP' >> "conftest.nl"
5508 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5509 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5510 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5511 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5512 # Best one so far, save it but keep looking for a better one
5513 ac_cv_path_EGREP
="$ac_path_EGREP"
5514 ac_path_EGREP_max
=$ac_count
5516 # 10*(2^10) chars as input seems more than enough
5517 test $ac_count -gt 10 && break
5519 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5522 $ac_path_EGREP_found && break 3
5527 if test -z "$ac_cv_path_EGREP"; then
5528 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5531 ac_cv_path_EGREP
=$EGREP
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5537 $as_echo "$ac_cv_path_EGREP" >&6; }
5538 EGREP
="$ac_cv_path_EGREP"
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5542 $as_echo_n "checking for ANSI C header files... " >&6; }
5543 if test "${ac_cv_header_stdc+set}" = set; then :
5544 $as_echo_n "(cached) " >&6
5546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5547 /* end confdefs.h. */
5561 if ac_fn_c_try_compile
"$LINENO"; then :
5562 ac_cv_header_stdc
=yes
5564 ac_cv_header_stdc
=no
5566 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5568 if test $ac_cv_header_stdc = yes; then
5569 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5570 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5576 $EGREP "memchr" >/dev
/null
2>&1; then :
5579 ac_cv_header_stdc
=no
5585 if test $ac_cv_header_stdc = yes; then
5586 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5588 /* end confdefs.h. */
5592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5593 $EGREP "free" >/dev
/null
2>&1; then :
5596 ac_cv_header_stdc
=no
5602 if test $ac_cv_header_stdc = yes; then
5603 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5604 if test "$cross_compiling" = yes; then :
5607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5611 #if ((' ' & 0x0FF) == 0x020)
5612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5615 # define ISLOWER(c) \
5616 (('a' <= (c) && (c) <= 'i') \
5617 || ('j' <= (c) && (c) <= 'r') \
5618 || ('s' <= (c) && (c) <= 'z'))
5619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5627 for (i = 0; i < 256; i++)
5628 if (XOR (islower (i), ISLOWER (i))
5629 || toupper (i) != TOUPPER (i))
5634 if ac_fn_c_try_run
"$LINENO"; then :
5637 ac_cv_header_stdc
=no
5639 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5640 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5646 $as_echo "$ac_cv_header_stdc" >&6; }
5647 if test $ac_cv_header_stdc = yes; then
5649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5654 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5655 inttypes.h stdint.h unistd.h
5657 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5658 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5660 eval as_val
=\$
$as_ac_Header
5661 if test "x$as_val" = x
""yes; then :
5662 cat >>confdefs.h
<<_ACEOF
5663 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5671 for ac_header
in sys
/ipc.h sys
/shm.h \
5672 sys
/mmap.h sys
/mman.h sysexits.h \
5673 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5676 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5677 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5678 eval as_val
=\$
$as_ac_Header
5679 if test "x$as_val" = x
""yes; then :
5680 cat >>confdefs.h
<<_ACEOF
5681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5689 for ac_header
in sys
/mount.h
5691 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5693 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5694 cat >>confdefs.h
<<_ACEOF
5695 #define HAVE_SYS_MOUNT_H 1
5704 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5705 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5707 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5708 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5709 $as_echo_n "(cached) " >&6
5711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5712 /* end confdefs.h. */
5713 #include <sys/types.h>
5725 if ac_fn_c_try_compile
"$LINENO"; then :
5726 eval "$as_ac_Header=yes"
5728 eval "$as_ac_Header=no"
5730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5732 eval ac_res
=\$
$as_ac_Header
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5734 $as_echo "$ac_res" >&6; }
5735 eval as_val
=\$
$as_ac_Header
5736 if test "x$as_val" = x
""yes; then :
5737 cat >>confdefs.h
<<_ACEOF
5738 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5741 ac_header_dirent
=$ac_hdr; break
5745 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5746 if test $ac_header_dirent = dirent.h
; then
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5748 $as_echo_n "checking for library containing opendir... " >&6; }
5749 if test "${ac_cv_search_opendir+set}" = set; then :
5750 $as_echo_n "(cached) " >&6
5752 ac_func_search_save_LIBS
=$LIBS
5753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5754 /* end confdefs.h. */
5756 /* Override any GCC internal prototype to avoid an error.
5757 Use char because int might match the return type of a GCC
5758 builtin and then its argument prototype would still apply. */
5771 for ac_lib
in '' dir
; do
5772 if test -z "$ac_lib"; then
5773 ac_res
="none required"
5776 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5778 if ac_fn_c_try_link
"$LINENO"; then :
5779 ac_cv_search_opendir
=$ac_res
5781 rm -f core conftest.err conftest.
$ac_objext \
5783 if test "${ac_cv_search_opendir+set}" = set; then :
5787 if test "${ac_cv_search_opendir+set}" = set; then :
5790 ac_cv_search_opendir
=no
5793 LIBS
=$ac_func_search_save_LIBS
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5796 $as_echo "$ac_cv_search_opendir" >&6; }
5797 ac_res
=$ac_cv_search_opendir
5798 if test "$ac_res" != no
; then :
5799 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5805 $as_echo_n "checking for library containing opendir... " >&6; }
5806 if test "${ac_cv_search_opendir+set}" = set; then :
5807 $as_echo_n "(cached) " >&6
5809 ac_func_search_save_LIBS
=$LIBS
5810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5811 /* end confdefs.h. */
5813 /* Override any GCC internal prototype to avoid an error.
5814 Use char because int might match the return type of a GCC
5815 builtin and then its argument prototype would still apply. */
5828 for ac_lib
in '' x
; do
5829 if test -z "$ac_lib"; then
5830 ac_res
="none required"
5833 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5835 if ac_fn_c_try_link
"$LINENO"; then :
5836 ac_cv_search_opendir
=$ac_res
5838 rm -f core conftest.err conftest.
$ac_objext \
5840 if test "${ac_cv_search_opendir+set}" = set; then :
5844 if test "${ac_cv_search_opendir+set}" = set; then :
5847 ac_cv_search_opendir
=no
5850 LIBS
=$ac_func_search_save_LIBS
5852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5853 $as_echo "$ac_cv_search_opendir" >&6; }
5854 ac_res
=$ac_cv_search_opendir
5855 if test "$ac_res" != no
; then :
5856 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5863 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5864 if test "${ac_cv_header_stat_broken+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5868 /* end confdefs.h. */
5869 #include <sys/types.h>
5870 #include <sys/stat.h>
5872 #if defined S_ISBLK && defined S_IFDIR
5873 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5876 #if defined S_ISBLK && defined S_IFCHR
5877 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5880 #if defined S_ISLNK && defined S_IFREG
5881 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5884 #if defined S_ISSOCK && defined S_IFREG
5885 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5889 if ac_fn_c_try_compile
"$LINENO"; then :
5890 ac_cv_header_stat_broken
=no
5892 ac_cv_header_stat_broken
=yes
5894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5897 $as_echo "$ac_cv_header_stat_broken" >&6; }
5898 if test $ac_cv_header_stat_broken = yes; then
5900 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5905 $as_echo_n "checking for ANSI C header files... " >&6; }
5906 if test "${ac_cv_header_stdc+set}" = set; then :
5907 $as_echo_n "(cached) " >&6
5909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5910 /* end confdefs.h. */
5924 if ac_fn_c_try_compile
"$LINENO"; then :
5925 ac_cv_header_stdc
=yes
5927 ac_cv_header_stdc
=no
5929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5931 if test $ac_cv_header_stdc = yes; then
5932 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5934 /* end confdefs.h. */
5938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5939 $EGREP "memchr" >/dev
/null
2>&1; then :
5942 ac_cv_header_stdc
=no
5948 if test $ac_cv_header_stdc = yes; then
5949 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5951 /* end confdefs.h. */
5955 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5956 $EGREP "free" >/dev
/null
2>&1; then :
5959 ac_cv_header_stdc
=no
5965 if test $ac_cv_header_stdc = yes; then
5966 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5967 if test "$cross_compiling" = yes; then :
5970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5971 /* end confdefs.h. */
5974 #if ((' ' & 0x0FF) == 0x020)
5975 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5976 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5978 # define ISLOWER(c) \
5979 (('a' <= (c) && (c) <= 'i') \
5980 || ('j' <= (c) && (c) <= 'r') \
5981 || ('s' <= (c) && (c) <= 'z'))
5982 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5985 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5990 for (i = 0; i < 256; i++)
5991 if (XOR (islower (i), ISLOWER (i))
5992 || toupper (i) != TOUPPER (i))
5997 if ac_fn_c_try_run
"$LINENO"; then :
6000 ac_cv_header_stdc
=no
6002 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6003 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6009 $as_echo "$ac_cv_header_stdc" >&6; }
6010 if test $ac_cv_header_stdc = yes; then
6012 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
6017 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
6018 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
6019 $as_echo_n "(cached) " >&6
6021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6022 /* end confdefs.h. */
6023 #include <sys/types.h>
6024 #include <sys/wait.h>
6026 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
6029 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
6037 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
6042 if ac_fn_c_try_compile
"$LINENO"; then :
6043 ac_cv_header_sys_wait_h
=yes
6045 ac_cv_header_sys_wait_h
=no
6047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
6050 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
6051 if test $ac_cv_header_sys_wait_h = yes; then
6053 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6058 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6059 if test "${ac_cv_header_time+set}" = set; then :
6060 $as_echo_n "(cached) " >&6
6062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6063 /* end confdefs.h. */
6064 #include <sys/types.h>
6065 #include <sys/time.h>
6071 if ((struct tm *) 0)
6077 if ac_fn_c_try_compile
"$LINENO"; then :
6078 ac_cv_header_time
=yes
6080 ac_cv_header_time
=no
6082 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6085 $as_echo "$ac_cv_header_time" >&6; }
6086 if test $ac_cv_header_time = yes; then
6088 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6092 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6093 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6095 cat >>confdefs.h
<<_ACEOF
6096 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6100 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6105 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6106 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6108 cat >>confdefs.h
<<_ACEOF
6109 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6113 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6116 case " $LIBOBJS " in
6117 *" fileblocks.$ac_objext "* ) ;;
6118 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6125 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6126 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6128 cat >>confdefs.h
<<_ACEOF
6129 #define HAVE_STRUCT_STAT_ST_RDEV 1
6133 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6139 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6140 if test "${ac_cv_struct_tm+set}" = set; then :
6141 $as_echo_n "(cached) " >&6
6143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6144 /* end confdefs.h. */
6145 #include <sys/types.h>
6152 int *p = &tm.tm_sec;
6158 if ac_fn_c_try_compile
"$LINENO"; then :
6159 ac_cv_struct_tm
=time.h
6161 ac_cv_struct_tm
=sys
/time.h
6163 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6166 $as_echo "$ac_cv_struct_tm" >&6; }
6167 if test $ac_cv_struct_tm = sys
/time.h
; then
6169 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6173 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6174 #include <$ac_cv_struct_tm>
6177 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6179 cat >>confdefs.h
<<_ACEOF
6180 #define HAVE_STRUCT_TM_TM_ZONE 1
6186 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6188 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6191 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6193 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6199 cat >>confdefs.h
<<_ACEOF
6200 #define HAVE_DECL_TZNAME $ac_have_decl
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6204 $as_echo_n "checking for tzname... " >&6; }
6205 if test "${ac_cv_var_tzname+set}" = set; then :
6206 $as_echo_n "(cached) " >&6
6208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6209 /* end confdefs.h. */
6211 #if !HAVE_DECL_TZNAME
6212 extern char *tzname[];
6218 return tzname[0][0];
6223 if ac_fn_c_try_link
"$LINENO"; then :
6224 ac_cv_var_tzname
=yes
6228 rm -f core conftest.err conftest.
$ac_objext \
6229 conftest
$ac_exeext conftest.
$ac_ext
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6232 $as_echo "$ac_cv_var_tzname" >&6; }
6233 if test $ac_cv_var_tzname = yes; then
6235 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6240 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6241 if test "x$ac_cv_type_off_t" = x
""yes; then :
6245 cat >>confdefs.h
<<_ACEOF
6246 #define off_t long int
6251 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6252 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6256 cat >>confdefs.h
<<_ACEOF
6262 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6263 if test "x$ac_cv_type_size_t" = x
""yes; then :
6267 cat >>confdefs.h
<<_ACEOF
6268 #define size_t unsigned int
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6274 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6275 if test "${ac_cv_type_uid_t+set}" = set; then :
6276 $as_echo_n "(cached) " >&6
6278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6279 /* end confdefs.h. */
6280 #include <sys/types.h>
6283 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6284 $EGREP "uid_t" >/dev
/null
2>&1; then :
6285 ac_cv_type_uid_t
=yes
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6293 $as_echo "$ac_cv_type_uid_t" >&6; }
6294 if test $ac_cv_type_uid_t = no
; then
6296 $as_echo "#define uid_t int" >>confdefs.h
6299 $as_echo "#define gid_t int" >>confdefs.h
6304 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6305 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6307 cat >>confdefs.h
<<_ACEOF
6308 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6315 # Look for some functions
6316 for ac_func
in getpagesize kqueue statfs statvfs \
6317 clone kse_create rfork_thread thr_create sa_register \
6318 getcontext makecontext setcontext sigaltstack swapcontext
6320 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6321 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6322 eval as_val
=\$
$as_ac_var
6323 if test "x$as_val" = x
""yes; then :
6324 cat >>confdefs.h
<<_ACEOF
6325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6335 for ac_header
in $ac_header_list
6337 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6338 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
6340 eval as_val
=\$
$as_ac_Header
6341 if test "x$as_val" = x
""yes; then :
6342 cat >>confdefs.h
<<_ACEOF
6343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6357 for ac_func
in getpagesize
6359 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6360 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6361 cat >>confdefs.h
<<_ACEOF
6362 #define HAVE_GETPAGESIZE 1
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6369 $as_echo_n "checking for working mmap... " >&6; }
6370 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6371 $as_echo_n "(cached) " >&6
6373 if test "$cross_compiling" = yes; then :
6374 ac_cv_func_mmap_fixed_mapped
=no
6376 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6377 /* end confdefs.h. */
6378 $ac_includes_default
6379 /* malloc might have been renamed as rpl_malloc. */
6382 /* Thanks to Mike Haertel and Jim Avera for this test.
6383 Here is a matrix of mmap possibilities:
6384 mmap private not fixed
6385 mmap private fixed at somewhere currently unmapped
6386 mmap private fixed at somewhere already mapped
6387 mmap shared not fixed
6388 mmap shared fixed at somewhere currently unmapped
6389 mmap shared fixed at somewhere already mapped
6390 For private mappings, we should verify that changes cannot be read()
6391 back from the file, nor mmap's back from the file at a different
6392 address. (There have been systems where private was not correctly
6393 implemented like the infamous i386 svr4.0, and systems where the
6394 VM page cache was not coherent with the file system buffer cache
6395 like early versions of FreeBSD and possibly contemporary NetBSD.)
6396 For shared mappings, we should conversely verify that changes get
6397 propagated back to all the places they're supposed to be.
6399 Grep wants private fixed already mapped.
6400 The main things grep needs to know about mmap are:
6401 * does it exist and is it safe to write into the mmap'd area
6402 * how to use it (BSD variants) */
6405 #include <sys/mman.h>
6407 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6411 /* This mess was copied from the GNU getpagesize.h. */
6412 #ifndef HAVE_GETPAGESIZE
6413 # ifdef _SC_PAGESIZE
6414 # define getpagesize() sysconf(_SC_PAGESIZE)
6415 # else /* no _SC_PAGESIZE */
6416 # ifdef HAVE_SYS_PARAM_H
6417 # include <sys/param.h>
6418 # ifdef EXEC_PAGESIZE
6419 # define getpagesize() EXEC_PAGESIZE
6420 # else /* no EXEC_PAGESIZE */
6422 # define getpagesize() NBPG * CLSIZE
6425 # endif /* no CLSIZE */
6426 # else /* no NBPG */
6428 # define getpagesize() NBPC
6429 # else /* no NBPC */
6431 # define getpagesize() PAGESIZE
6432 # endif /* PAGESIZE */
6433 # endif /* no NBPC */
6434 # endif /* no NBPG */
6435 # endif /* no EXEC_PAGESIZE */
6436 # else /* no HAVE_SYS_PARAM_H */
6437 # define getpagesize() 8192 /* punt totally */
6438 # endif /* no HAVE_SYS_PARAM_H */
6439 # endif /* no _SC_PAGESIZE */
6441 #endif /* no HAVE_GETPAGESIZE */
6446 char *data, *data2, *data3;
6451 pagesize = getpagesize ();
6453 /* First, make a file with some known garbage in it. */
6454 data = (char *) malloc (pagesize);
6457 for (i = 0; i < pagesize; ++i)
6458 *(data + i) = rand ();
6460 fd = creat ("conftest.mmap", 0600);
6463 if (write (fd, data, pagesize) != pagesize)
6467 /* Next, check that the tail of a page is zero-filled. File must have
6468 non-zero length, otherwise we risk SIGBUS for entire page. */
6469 fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
6473 if (write (fd2, cdata2, 1) != 1)
6475 data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
6476 if (data2 == MAP_FAILED)
6478 for (i = 0; i < pagesize; ++i)
6482 if (munmap (data2, pagesize))
6485 /* Next, try to mmap the file at a fixed address which already has
6486 something else allocated at it. If we can, also make sure that
6487 we see the same garbage. */
6488 fd = open ("conftest.mmap", O_RDWR);
6491 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6492 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6494 for (i = 0; i < pagesize; ++i)
6495 if (*(data + i) != *(data2 + i))
6498 /* Finally, make sure that changes to the mapped area do not
6499 percolate back to the file as seen by read(). (This is a bug on
6500 some variants of i386 svr4.0.) */
6501 for (i = 0; i < pagesize; ++i)
6502 *(data2 + i) = *(data2 + i) + 1;
6503 data3 = (char *) malloc (pagesize);
6506 if (read (fd, data3, pagesize) != pagesize)
6508 for (i = 0; i < pagesize; ++i)
6509 if (*(data + i) != *(data3 + i))
6515 if ac_fn_c_try_run
"$LINENO"; then :
6516 ac_cv_func_mmap_fixed_mapped
=yes
6518 ac_cv_func_mmap_fixed_mapped
=no
6520 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6521 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6526 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6527 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6529 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6532 rm -f conftest.mmap conftest.txt
6537 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6538 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6539 aros_config_ldflags
=""
6541 aros_shared_default
=yes
6543 aros_shared_cflags
="-fPIC"
6544 aros_shared_aflags
=""
6545 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6546 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6548 aros_target_ar_flags
="cr"
6549 aros_target_nm_flags
="-C -ul"
6550 aros_target_strip_flags
="--strip-unneeded -R.comment"
6555 aros_target_genmap
="-Wl,-Map -Xlinker"
6557 # Native flavour stuff
6558 aros_serial_debug
="0"
6560 # Palm native flavour stuff
6561 aros_palm_debug_hack
="0"
6563 # Unix flavour stuff
6564 aros_nesting_supervisor
="0"
6566 # Collect-aros stuff: "-ius" to ignore undefined symbols
6567 ignore_undefined_symbols
=""
6569 #-----------------------------------------------------------------------------
6572 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6573 # it switched on by default, and we use the host compiler, so it compiles AROS
6574 # code with this enabled resulting in link failures as we don't have support
6577 # We use two methods to disable it. For the host compiler (used to compile
6578 # some hosted modules), we test to see if the compiler supports stack
6579 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6580 # work on all platforms.
6582 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6583 # (this is done unconditionally, as it should have no effect on compilers
6584 # without the stack protection feature). This may be specific to the way that
6585 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6586 # strong enough to disable it in a generic way though, so we'll live with it
6587 # until another vendor ships GCC with it enabled in a different way, and deal
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6592 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6593 save_cflags
="$CFLAGS"
6594 CFLAGS
="$CFLAGS -fno-stack-protector"
6595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6596 /* end confdefs.h. */
6606 if ac_fn_c_try_compile
"$LINENO"; then :
6607 use_no_stack_protector
="yes"
6609 use_no_stack_protector
="no"
6611 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6613 $as_echo "$use_no_stack_protector" >&6; }
6614 if test "x-$use_no_stack_protector" = "x-yes" ; then
6615 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6617 CFLAGS
="$save_cflags"
6619 #-----------------------------------------------------------------------------
6621 # Disable pointer-signedness warnings if the compiler recognises the option
6622 # (this only works for the host compiler at the moment)
6624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6625 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6626 save_cflags
="$CFLAGS"
6627 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6629 /* end confdefs.h. */
6639 if ac_fn_c_try_compile
"$LINENO"; then :
6640 use_no_sign_warning
="yes"
6642 use_no_sign_warning
="no"
6644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6646 $as_echo "$use_no_sign_warning" >&6; }
6647 if test "x-$use_no_sign_warning" = "x-yes" ; then
6648 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6650 CFLAGS
="$save_cflags"
6652 #-----------------------------------------------------------------------------
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6655 $as_echo_n "checking for type of build... " >&6; }
6656 # Check whether --enable-build_type was given.
6657 if test "${enable_build_type+set}" = set; then :
6658 enableval
=$enable_build_type; build_type
=$enableval
6660 build_type
="personal"
6664 if test "$build_type" = "nightly"; then
6665 build_type_string
="NIGHTLY"
6666 elif test "$build_type" = "snapshot"; then
6667 build_type_string
="SNAPSHOT"
6668 elif test "$build_type" = "milestone"; then
6669 build_type_string
="MILESTONE"
6670 elif test "$build_type" = "release"; then
6671 build_type_string
="RELEASE"
6673 build_type_string
="PERSONAL"
6674 build_type
="personal"
6677 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6680 $as_echo "$build_type" >&6; }
6682 #-----------------------------------------------------------------------------
6683 all_debug_types
="messages stack modules mungwall symbols"
6685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6686 $as_echo_n "checking which debug types to enable... " >&6; }
6687 # Check whether --enable-debug was given.
6688 if test "${enable_debug+set}" = set; then :
6689 enableval
=$enable_debug; debug
="$enableval"
6695 if test "$debug" = "" -o "$debug" = "no"; then
6697 elif test "$debug" = "yes"; then
6701 if test "$debug" = "all" ; then
6702 debug
="messages stack modules symbols"
6703 for d
in $all_debug_types; do
6704 export aros_
${d}_debug
="1"
6707 for d
in $all_debug_types; do
6708 export aros_
${d}_debug
="0"
6712 if test "$debug" != "none"; then
6713 debug
=`echo $debug | sed s/,/\ /g`
6716 for d2
in $all_debug_types; do
6717 if test "$d2" = "$d"; then
6722 if test "$found" = "0"; then
6723 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6725 export aros_
${d}_debug
="1"
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6730 $as_echo "$debug" >&6; }
6732 if test "$aros_messages_debug" = "1"; then
6733 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6735 aros_messages_debug
=""
6737 if test "$aros_symbols_debug" = "1"; then
6738 aros_symbols_debug
="-g"
6740 aros_symbols_debug
=""
6743 # These are the flags to pass when compiling debugged programs
6744 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6745 aros_debug_aflags
=""
6746 aros_debug_ldflags
="$aros_symbols_debug"
6748 aros_crosstools
="no"
6750 #-----------------------------------------------------------------------------
6751 # Checking if we should build crosstools..
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6753 $as_echo_n "checking whether to build crosstools... " >&6; }
6754 # Check whether --enable-crosstools was given.
6755 if test "${enable_crosstools+set}" = set; then :
6756 enableval
=$enable_crosstools; crosstools
="$enableval"
6761 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6763 $as_echo "yes" >&6; }
6764 aros_crosstools
="yes"
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6767 $as_echo "no" >&6; }
6770 #-----------------------------------------------------------------------------
6771 # Checking for distcc and ccache.
6773 # Always apply the transforms in this particular order. Basically you should
6774 # always run 'ccache distcc compiler' in that order for the best performance.
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6777 $as_echo_n "checking whether to enable distcc... " >&6; }
6778 # Check whether --enable-distcc was given.
6779 if test "${enable_distcc+set}" = set; then :
6780 enableval
=$enable_distcc; distcc
="$enableval"
6785 if test "$distcc" != "" -a "$distcc" != "no"; then
6786 # AC_CHECK_PROG will print out the result in this case
6787 # Extract the first word of "distcc", so it can be a program name with args.
6788 set dummy distcc
; ac_word
=$2
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6790 $as_echo_n "checking for $ac_word... " >&6; }
6791 if test "${ac_cv_path_DISTCC+set}" = set; then :
6792 $as_echo_n "(cached) " >&6
6796 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6799 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6803 test -z "$as_dir" && as_dir
=.
6804 for ac_exec_ext
in '' $ac_executable_extensions; do
6805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6806 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6807 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6818 DISTCC
=$ac_cv_path_DISTCC
6819 if test -n "$DISTCC"; then
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6821 $as_echo "$DISTCC" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6824 $as_echo "no" >&6; }
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6830 $as_echo "no" >&6; }
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6834 $as_echo_n "checking whether to enable ccache... " >&6; }
6835 # Check whether --enable-ccache was given.
6836 if test "${enable_ccache+set}" = set; then :
6837 enableval
=$enable_ccache; ccache
="$enableval"
6842 if test "$ccache" != "" -a "$ccache" != "no"; then
6843 # AC_CHECK_PROG will print out the result in this case
6844 # Extract the first word of "ccache", so it can be a program name with args.
6845 set dummy ccache
; ac_word
=$2
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6847 $as_echo_n "checking for $ac_word... " >&6; }
6848 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6849 $as_echo_n "(cached) " >&6
6851 if test -n "$CCACHE"; then
6852 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6854 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6858 test -z "$as_dir" && as_dir
=.
6859 for ac_exec_ext
in '' $ac_executable_extensions; do
6860 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6861 ac_cv_prog_CCACHE
="ccache"
6862 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6871 CCACHE
=$ac_cv_prog_CCACHE
6872 if test -n "$CCACHE"; then
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6874 $as_echo "$CCACHE" >&6; }
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6877 $as_echo "no" >&6; }
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6883 $as_echo "no" >&6; }
6886 #-----------------------------------------------------------------------------
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what specific gcc version to use" >&5
6888 $as_echo_n "checking what specific gcc version to use... " >&6; }
6890 # Check whether --with-gcc-version was given.
6891 if test "${with_gcc_version+set}" = set; then :
6892 withval
=$with_gcc_version; target_tool_version
="$withval"
6894 target_tool_version
="default"
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_tool_version" >&5
6898 $as_echo "$target_tool_version" >&6; }
6900 #-----------------------------------------------------------------------------
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
6902 $as_echo_n "checking what optimization flags to use... " >&6; }
6904 # Check whether --with-optimization was given.
6905 if test "${with_optimization+set}" = set; then :
6906 withval
=$with_optimization; optimization
="$withval"
6908 optimization
="unknown"
6911 if test "$optimization" = "unknown"; then
6912 if test "$debug" != "none"; then
6918 aros_config_cflags
="$aros_config_cflags $optimization"
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
6920 $as_echo "$optimization" >&6; }
6922 #-----------------------------------------------------------------------------
6923 if test "$target_os" = "ios"; then
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking XCode path" >&5
6926 $as_echo_n "checking XCode path... " >&6; }
6928 # Check whether --with-xcode-path was given.
6929 if test "${with_xcode_path+set}" = set; then :
6930 withval
=$with_xcode_path; aros_xcode_path
="$withval"
6932 aros_xcode_path
="/Developer"
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_xcode_path" >&5
6936 $as_echo "$aros_xcode_path" >&6; }
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for minimum supported iOS version" >&5
6939 $as_echo_n "checking for minimum supported iOS version... " >&6; }
6941 # Check whether --with-ios-version was given.
6942 if test "${with_ios_version+set}" = set; then :
6943 withval
=$with_ios_version; aros_ios_version
="$withval"
6945 aros_ios_version
="2.0"
6948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_version" >&5
6949 $as_echo "$aros_ios_version" >&6; }
6951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what iOS SDK version to use" >&5
6952 $as_echo_n "checking what iOS SDK version to use... " >&6; }
6954 # Check whether --with-ios-sdk was given.
6955 if test "${with_ios_sdk+set}" = set; then :
6956 withval
=$with_ios_sdk; aros_ios_sdk
="$withval"
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_ios_sdk" >&5
6962 $as_echo "$aros_ios_sdk" >&6; }
6966 #-----------------------------------------------------------------------------
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
6968 $as_echo_n "checking what target variant to enable... " >&6; }
6969 # Check whether --enable-target_variant was given.
6970 if test "${enable_target_variant+set}" = set; then :
6971 enableval
=$enable_target_variant; target_variant
=$enableval
6973 target_variant
="none"
6976 if test "$target_variant" = "none"; then
6977 aros_target_variant
=""
6978 aros_target_suffix
=""
6980 aros_target_variant
="$target_variant"
6981 aros_target_suffix
="-$target_variant"
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
6984 $as_echo "$enableval" >&6; }
6986 target_bootloader
="none"
6988 #-----------------------------------------------------------------------------
6989 # This is the target configuration switch.
6990 case "$target_os" in
6992 aros_target_arch
="linux"
6993 case "$target_cpu" in
6995 aros_target_cpu
="m68k"
6996 aros_object_format
="m68kelf"
6997 aros_flavour
="emulcompat"
6998 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
6999 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7000 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7001 gcc_target_cpu
="mc68000"
7004 aros_target_cpu
="i386"
7005 aros_object_format
="elf_i386"
7006 aros_flavour
="emulation"
7007 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7008 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7009 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7010 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7011 aros_config_ldflags
="-m32 -march=i486"
7012 aros_kernel_ldflags
="-melf_i386"
7013 aros_default_wbdepth
=8
7014 gcc_target_cpu
="i386"
7017 aros_target_cpu
="x86_64"
7018 aros_object_format
="elf_x86_64"
7019 aros_flavour
="emulation"
7020 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7021 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
7022 aros_default_wbdepth
=8
7023 gcc_target_cpu
="x86_64"
7026 aros_target_cpu
="ppc"
7027 aros_object_format
="elf32ppc"
7028 aros_flavour
="emulation"
7029 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7030 aros_default_wbdepth
=8
7031 gcc_target_cpu
="ppc"
7034 # Same as powerpc, but I need this for the nightly build to work again.
7035 # Actually, the nightly should be made working with powerpc target.
7036 # That just was too much work for the moment, another week or two.
7038 aros_target_cpu
="ppc"
7039 aros_object_format
="elf32ppc"
7040 aros_flavour
="emulation"
7041 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7042 aros_default_wbdepth
=8
7043 gcc_target_cpu
="ppc"
7046 aros_target_cpu
="arm"
7047 aros_object_format
="armelf_linux_eabi"
7048 aros_flavour
="emulation"
7049 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm -D__linux__"
7050 gcc_target_cpu
="arm"
7051 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7052 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7055 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
7061 aros_target_arch
="pc"
7062 aros_shared_default
="no"
7063 target_bootloader
="grub2"
7064 case "$target_cpu" in
7066 aros_target_cpu
="i386"
7069 if test "$aros_object_format" = "" ; then
7070 aros_object_format
="elf_i386"
7072 aros_flavour
="standalone"
7073 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7074 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
7075 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
7076 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
7077 aros_config_ldflags
="-m32 -march=i486"
7078 aros_kernel_ldflags
="-melf_i386"
7079 aros_default_wbwidth
=640
7080 aros_default_wbheight
=480
7081 gcc_target_cpu
="i386"
7084 aros_target_cpu
="x86_64"
7086 if test "$aros_object_format" = "" ; then
7087 aros_object_format
="elf_x86_64"
7089 aros_flavour
="standalone"
7090 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7091 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
7092 aros_kernel_ldflags
=""
7093 aros_default_wbwidth
=640
7094 aros_default_wbheight
=480
7095 gcc_target_cpu
="x86_64"
7098 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7104 aros_target_arch
="prep"
7105 aros_shared_default
="no"
7106 aros_target_cpu
="ppc"
7107 aros_object_format
="elf32ppc"
7108 aros_flavour
="ppcnative"
7109 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7110 aros_kernel_ldflags
=""
7111 aros_default_wbwidth
=640
7112 aros_default_wbheight
=480
7113 gcc_target_cpu
="ppc"
7117 aros_target_arch
="freebsd"
7118 aros_target_cpu
="i386"
7119 aros_flavour
="emulation"
7120 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7121 gcc_target_cpu
="i386"
7123 aros_target_strip_flags
="-x"
7127 aros_target_arch
="darwin"
7128 aros_flavour
="emulation"
7129 case "$target_cpu" in
7131 aros_target_cpu
="i386"
7132 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7133 aros_kernel_cflags
="$aros_kernel_cflags -m32"
7134 aros_kernel_ldflags
="$aros_kernel_ldflags -m32"
7135 aros_default_wbdepth
=8
7136 gcc_target_cpu
="i386"
7137 aros_object_format
="elf_i386"
7138 aros_target_strip_flags
="-x"
7139 aros_target_cc
="i386-aros-gcc"
7140 aros_target_cxx
="i386-aros-g++"
7141 aros_target_ld
="i386-aros-ld"
7142 aros_target_as
="i386-aros-as"
7143 aros_target_ar
="i386-aros-ar"
7144 aros_target_ranlib
="i386-aros-ranlib"
7145 aros_target_nm
="i386-aros-nm"
7146 aros_target_strip
="i386-aros-strip"
7147 aros_target_objcopy
="i386-aros-objcopy"
7148 aros_target_objdump
="i386-aros-objdump"
7149 target_tool_prefix
="i686-apple-darwin10-"
7152 aros_target_cpu
="x86_64"
7153 aros_object_format
="elf_x86_64"
7154 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7155 aros_kernel_cflags
="$aros_kernel_cflags -m64"
7156 aros_kernel_ldflags
="$aros_kernel_ldflags -m64"
7157 aros_default_wbdepth
=8
7158 gcc_target_cpu
="x86_64"
7159 aros_target_cc
="x86_64-aros-gcc"
7160 aros_target_cxx
="x86_64-aros-g++"
7161 aros_target_ld
="x86_64-aros-ld"
7162 aros_target_as
="x86_64-aros-as"
7163 aros_target_ar
="x86_64-aros-ar"
7164 aros_target_ranlib
="x86_64-aros-ranlib"
7165 aros_target_nm
="x86_64-aros-nm"
7166 aros_target_strip
="x86_64-aros-strip"
7167 aros_target_objcopy
="x86_64-aros-objcopy"
7168 aros_target_objdump
="x86_64-aros-objdump"
7169 target_tool_prefix
="i686-apple-darwin10-"
7172 aros_target_cpu
="ppc"
7173 aros_object_format
="elf32_ppc"
7174 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7175 aros_default_wbdepth
=8
7176 gcc_target_cpu
="ppc"
7177 aros_target_cc
="ppc-aros-gcc"
7178 aros_target_cxx
="ppc-aros-g++"
7179 aros_target_ld
="ppc-aros-ld"
7180 aros_target_as
="ppc-aros-as"
7181 aros_target_ar
="ppc-aros-ar"
7182 aros_target_ranlib
="ppc-aros-ranlib"
7183 aros_target_nm
="ppc-aros-nm"
7184 aros_target_strip
="ppc-aros-strip"
7185 aros_target_objcopy
="ppc-aros-objcopy"
7186 aros_target_objdump
="ppc-aros-objdump"
7187 target_tool_prefix
="powerpc-apple-darwin10-"
7190 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7196 aros_target_arch
="ios"
7197 aros_flavour
="emulation"
7198 # This is here because it may depend on iOS or SDK version
7199 aros_kernel_objcflags
="-fobjc-abi-version=2 -fobjc-legacy-dispatch"
7200 case "$target_cpu" in
7202 aros_ios_platform
="iPhoneSimulator"
7203 aros_target_cpu
="i386"
7204 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7205 aros_default_wbdepth
=8
7206 gcc_target_cpu
="i386"
7207 aros_object_format
="elf_i386"
7208 aros_target_strip_flags
="-x"
7209 aros_target_cc
="i386-aros-gcc"
7210 aros_target_cxx
="i386-aros-g++"
7211 aros_target_ld
="i386-aros-ld"
7212 aros_target_as
="i386-aros-as"
7213 aros_target_ar
="i386-aros-ar"
7214 aros_target_ranlib
="i386-aros-ranlib"
7215 aros_target_nm
="i386-aros-nm"
7216 aros_target_strip
="i386-aros-strip"
7217 aros_target_objcopy
="i386-aros-objcopy"
7218 aros_target_objdump
="i386-aros-objdump"
7219 target_tool_prefix
="i686-apple-darwin10-"
7220 target_tool_flags
="-m32"
7223 aros_ios_platform
="iPhoneOS"
7224 aros_target_cpu
="arm"
7225 aros_object_format
="armelf_linux_eabi"
7226 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7227 aros_default_wbdepth
=8
7228 gcc_target_cpu
="arm"
7229 aros_kernel_ld
="ld -arch armv6"
7230 aros_target_cc
="arm-elf-gcc"
7231 aros_target_ld
="arm-elf-ld"
7232 aros_target_as
="arm-elf-as"
7233 aros_target_ar
="arm-elf-ar"
7234 aros_target_ranlib
="arm-elf-ranlib"
7235 aros_target_nm
="arm-elf-nm"
7236 aros_target_strip
="arm-elf-strip"
7237 aros_target_objcopy
="arm-elf-objcopy"
7238 aros_target_objdump
="arm-elf-objdump"
7239 target_tool_prefix
="arm-apple-darwin10-"
7240 aros_default_wbwidth
=320
7241 aros_default_wbheight
=480
7242 export PATH
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/usr/bin:$PATH"
7245 as_fn_error
"\"Unsupported target CPU for iOS hosted flavour -- $target_cpu\"" "$LINENO" 5
7248 aros_ios_sdk
="$aros_xcode_path/Platforms/$aros_ios_platform.platform/Developer/SDKs/$aros_ios_platform$aros_ios_sdk.sdk"
7249 target_tool_flags
="$target_tool_flags --sysroot $aros_ios_sdk"
7253 aros_target_arch
="dragonfly"
7254 aros_flavour
="emulation"
7255 case "$target_cpu" in
7257 aros_target_cpu
="i386"
7258 aros_object_format
="elf_i386"
7259 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7262 aros_target_cpu
="x86_64"
7263 aros_object_format
="elf_x86_64"
7264 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7267 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7273 aros_target_arch
="netbsd"
7274 case "$target_cpu" in
7276 aros_target_cpu
="m68k"
7277 aros_object_format
="m68kelf"
7278 aros_flavour
="emulcompat"
7279 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7280 gcc_target_cpu
="mc68000"
7283 aros_target_cpu
="i386"
7284 aros_object_format
="elf_i386"
7285 aros_flavour
="emulation"
7286 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7287 aros_default_wbdepth
=8
7288 gcc_target_cpu
="i386"
7291 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7294 aros_target_genmap
="-Wl,-M -Xlinker >"
7295 aros_flavour
="emulation"
7296 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7300 aros_target_arch
="openbsd"
7301 case "$target_cpu" in
7303 aros_target_cpu
="i386"
7304 aros_object_format
="elf_i386"
7305 aros_flavour
="emulation"
7306 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7307 gcc_target_cpu
="i386"
7310 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7313 aros_target_genmap
="-Wl,-M -Xlinker >"
7314 aros_target_nm_flags
="-u"
7315 aros_flavour
="emulation"
7319 aros_target_arch
="solaris"
7320 case "$target_cpu" in
7322 aros_target_cpu
="i386"
7323 aros_object_format
="elf_i386"
7324 aros_flavour
="emulation"
7325 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7326 aros_default_wbdepth
=8
7327 gcc_target_cpu
="i386"
7330 aros_target_cpu
="sparc"
7331 aros_object_format
="elf_sparc"
7332 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7333 gcc_target_cpu
="sparc"
7336 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7339 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7340 aros_flavour
="emulation"
7344 aros_target_arch
="morphos"
7345 aros_shared_default
="no"
7346 aros_target_cpu
="ppc"
7347 aros_object_format
="elf_ppc"
7348 aros_flavour
="nativecompat"
7349 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7350 gcc_target_cpu
="ppc"
7354 aros_target_arch
="sam440"
7355 aros_shared_default
="no"
7356 aros_target_cpu
="ppc"
7357 aros_object_format
="elf32ppc"
7358 aros_flavour
="ppcnative"
7359 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7360 aros_kernel_ldflags
=""
7361 aros_default_wbwidth
=1024
7362 aros_default_wbheight
=768
7363 aros_default_wbdepth
=24
7364 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7365 gcc_target_cpu
="powerpc"
7369 aros_target_arch
="efika"
7370 aros_shared_default
="no"
7371 aros_target_cpu
="arm"
7372 aros_object_format
="armelf_linux_eabi"
7373 aros_flavour
="standalone"
7374 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7375 aros_kernel_ldflags
=""
7376 aros_default_wbwidth
=1024
7377 aros_default_wbheight
=600
7378 aros_arch_libs
="-laeabi"
7379 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7380 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7384 aros_target_arch
="chrp"
7385 aros_shared_default
="no"
7386 aros_target_cpu
="ppc"
7387 aros_object_format
="elf32ppc"
7388 aros_flavour
="ppcnative"
7389 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7390 aros_kernel_ldflags
=""
7391 aros_default_wbwidth
=640
7392 aros_default_wbheight
=480
7393 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7394 gcc_target_cpu
="powerpc"
7395 case "$aros_target_variant" in
7397 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7403 aros_target_arch
="amiga"
7404 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7405 aros_shared_default
="no"
7407 case "$target_cpu" in
7409 aros_target_cpu
="m68k"
7410 aros_object_format
="m68kelf"
7411 aros_flavour
="standalone"
7412 gcc_target_cpu
="mc68000"
7413 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
7414 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
7415 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
7416 target_tool_prefix
="m68k-elf-"
7417 aros_target_nostdlib_ldflags
="" # We always need -lgcc
7418 aros_target_strip_flags
="-R.comment"
7421 aros_target_cpu
="m68k"
7422 aros_object_format
="m68kelf"
7423 aros_flavour
="standcompat"
7424 gcc_target_cpu
="mc68000"
7425 aros_config_cflags
="$aros_config_cflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu} -fbuiltin"
7426 aros_config_aflags
="$aros_config_aflags -g3 -fno-strict-aliasing -ffreestanding -fomit-frame-pointer -${gcc_target_cpu}"
7427 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -${gcc_target_cpu}"
7428 target_tool_prefix
="m68k-elf-"
7429 aros_target_nostdlib_ldflags
="" # We always need -lgcc
7430 aros_target_strip_flags
="-R.comment"
7434 aros_flavour
="native"
7435 gcc_target_cpu
="ppc"
7438 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7444 aros_target_arch
="mingw32"
7445 aros_shared_default
="no"
7446 aros_flavour
="emulation"
7447 aros_shared_cflags
=""
7450 case "$target_cpu" in
7452 aros_target_cpu
="i386"
7453 aros_object_format
="elf_i386"
7454 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7455 aros_default_wbdepth
=8
7456 gcc_target_cpu
="i386"
7457 aros_target_cc
="i386-aros-gcc"
7458 aros_target_cxx
="i386-aros-g++"
7459 aros_target_ld
="i386-aros-ld"
7460 aros_target_as
="i386-aros-as"
7461 aros_target_ar
="i386-aros-ar"
7462 aros_target_ranlib
="i386-aros-ranlib"
7463 aros_target_nm
="i386-aros-nm"
7464 aros_target_strip
="i386-aros-strip"
7465 aros_target_objcopy
="i386-aros-objcopy"
7466 aros_target_objdump
="i386-aros-objdump"
7467 target_tool_prefix
="i386-mingw32-"
7470 aros_target_cpu
="x86_64"
7471 aros_object_format
="elf_x86_64"
7472 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7473 aros_default_wbdepth
=8
7474 gcc_target_cpu
="x86_64"
7475 aros_target_cc
="x86_64-aros-gcc"
7476 aros_target_cxx
="x86_64-aros-g++"
7477 aros_target_ld
="x86_64-aros-ld"
7478 aros_target_as
="x86_64-aros-as"
7479 aros_target_ar
="x86_64-aros-ar"
7480 aros_target_ranlib
="x86_64-aros-ranlib"
7481 aros_target_nm
="x86_64-aros-nm"
7482 aros_target_strip
="x86_64-aros-strip"
7483 aros_target_objcopy
="x86_64-aros-objcopy"
7484 aros_target_objdump
="x86_64-aros-objdump"
7485 target_tool_prefix
="x86_64-w64-mingw32-"
7488 aros_target_cpu
="arm"
7489 aros_object_format
="armelf_linux_eabi"
7490 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7491 aros_default_wbdepth
=8
7492 gcc_target_cpu
="arm"
7493 aros_target_cc
="arm-elf-gcc"
7494 aros_target_ld
="arm-elf-ld"
7495 aros_target_as
="arm-elf-as"
7496 aros_target_ar
="arm-elf-ar"
7497 aros_target_ranlib
="arm-elf-ranlib"
7498 aros_target_nm
="arm-elf-nm"
7499 aros_target_strip
="arm-elf-strip"
7500 aros_target_objcopy
="arm-elf-objcopy"
7501 aros_target_objdump
="arm-elf-objdump"
7502 target_tool_prefix
="arm-mingw32ce-"
7503 aros_default_wbwidth
=160
7504 aros_default_wbheight
=160
7507 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7510 if test $host_os = "cygwin"; then
7511 aros_kernel_cflags
="-mno-cygwin"
7515 aros_target_arch
="pp"
7516 aros_shared_default
="no"
7517 case "$target_cpu" in
7519 aros_target_cpu
="m68k"
7520 aros_object_format
="m68kelf"
7521 aros_flavour
="palmnative"
7522 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7523 aros_default_wbwidth
=160
7524 aros_default_wbheight
=160
7525 aros_default_wbdepth
=1
7526 aros_target_ar_flags
="cru"
7527 aros_compiler_libs
="-lgcc1"
7528 aros_shared_default
=no
7529 aros_shared_cflags
="-fpic"
7530 aros_shared_aflags
=""
7531 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7532 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7533 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7534 aros_debug_aflags
=""
7535 aros_debug_ldflags
="$aros_symbols_debug"
7536 aros_mungwall_debug
="0"
7537 aros_modules_debug
="0"
7538 gcc_target_cpu
="mc68000"
7539 ignore_undefined_symbols
="-ius"
7542 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7548 aros_target_arch
="mac"
7549 aros_shared_default
="no"
7550 case "$target_cpu" in
7552 aros_target_cpu
="m68k"
7553 aros_object_format
="m68kelf"
7554 aros_flavour
="mac68knative"
7555 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7556 aros_default_wbwidth
=512
7557 aros_default_wbheight
=384
7558 aros_default_wbdepth
=8
7559 aros_target_ar_flags
="cru"
7560 aros_compiler_libs
="-lgcc1"
7561 aros_shared_default
=no
7562 aros_shared_cflags
="-fpic"
7563 aros_shared_aflags
=""
7564 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7565 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7566 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7567 aros_debug_aflags
=""
7568 aros_debug_ldflags
="$aros_symbols_debug"
7569 aros_mungwall_debug
="0"
7570 aros_modules_debug
="0"
7571 gcc_target_cpu
="mc68000"
7572 ignore_undefined_symbols
="-ius"
7575 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7581 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7586 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7588 # Check whether --with-portssources was given.
7589 if test "${with_portssources+set}" = set; then :
7590 withval
=$with_portssources; with_portssrcdir
=$withval
7592 with_portssrcdir
="default"
7595 if test "$with_portssrcdir" = "default"; then
7596 AROS_PORTSSRCDIR
="$AROS_BUILDDIR_UNIX/bin/Sources"
7598 AROS_PORTSSRCDIR
="$with_portssrcdir"
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7601 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7604 $as_echo_n "checking which bootloader to use... " >&6; }
7606 # Check whether --with-bootloader was given.
7607 if test "${with_bootloader+set}" = set; then :
7608 withval
=$with_bootloader; target_bootloader
=$withval
7610 target_bootloader
=$target_bootloader
7613 if test "$target_bootloader" = "none"; then
7614 aros_target_bootloader
=""
7616 aros_target_bootloader
="$target_bootloader"
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7619 $as_echo "$target_bootloader" >&6; }
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7622 $as_echo_n "checking which icon-set to use... " >&6; }
7624 # Check whether --with-iconset was given.
7625 if test "${with_iconset+set}" = set; then :
7626 withval
=$with_iconset; target_iconset
=$withval
7628 target_iconset
="default"
7631 if test "$target_iconset" = "default"; then
7632 aros_target_iconset
="Gorilla"
7633 target_iconset
="default (Gorilla)"
7635 aros_target_iconset
="$target_iconset"
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7638 $as_echo "$target_iconset" >&6; }
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7641 $as_echo_n "checking which GUI Theme to use... " >&6; }
7643 # Check whether --with-theme was given.
7644 if test "${with_theme+set}" = set; then :
7645 withval
=$with_theme; target_guitheme
=$withval
7647 target_guitheme
="default"
7650 if test "$target_guitheme" = "default"; then
7651 aros_target_guitheme
="Ice"
7653 aros_target_guitheme
="$target_guitheme"
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7656 $as_echo "$aros_target_guitheme" >&6; }
7658 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7661 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7664 if test "$aros_host_cpu" == "x86_64" ; then
7665 if test "$aros_target_cpu" == "i386" ; then
7666 if test "$aros_target_arch" != "mingw32"; then
7672 # Set prefix for target compiler etc. if we're cross-compiling
7673 # (should possibly be earlier but needs to be after AC_PROG_CC)
7674 if test "$cross_compiling" = "yes" ; then
7675 if test "$target_tool_prefix" = ""; then
7676 target_tool_prefix
=${target_cpu}-elf-
7678 CC
=${target_tool_prefix}gcc
7679 if test "$target_tool_version" != "default"; then
7680 CC
="$CC-$target_tool_version"
7682 # Extract the first word of "$CC", so it can be a program name with args.
7683 set dummy
$CC; ac_word
=$2
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7685 $as_echo_n "checking for $ac_word... " >&6; }
7686 if test "${ac_cv_path_CC+set}" = set; then :
7687 $as_echo_n "(cached) " >&6
7691 ac_cv_path_CC
="$CC" # Let the user override the test with a path.
7694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7698 test -z "$as_dir" && as_dir
=.
7699 for ac_exec_ext
in '' $ac_executable_extensions; do
7700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7701 ac_cv_path_CC
="$as_dir/$ac_word$ac_exec_ext"
7702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713 if test -n "$CC"; then
7714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
7715 $as_echo "$CC" >&6; }
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7718 $as_echo "no" >&6; }
7722 if test "$CC" = ""; then
7723 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7726 CC
="$CC $target_tool_flags"
7728 #-----------------------------------------------------------------------------
7730 # Disable pointer-signedness warnings if the compiler recognises the option
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7733 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7734 save_cflags
="$CFLAGS"
7735 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7737 /* end confdefs.h. */
7747 if ac_fn_c_try_compile
"$LINENO"; then :
7748 use_no_sign_warning
="yes"
7750 use_no_sign_warning
="no"
7752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7754 $as_echo "$use_no_sign_warning" >&6; }
7755 if test "x-$use_no_sign_warning" = "x-yes" ; then
7756 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
7758 CFLAGS
="$save_cflags"
7760 #-----------------------------------------------------------------------------
7762 # Find all the tools we need to compile. This could be cross-compiling
7763 # though! If that is the case we use the GNU form of the target and
7764 # simply add this to the front of the binary name. This is rather simple,
7765 # but it should work under most circumstances.
7767 # The default tools are to use the same as the host, but only if the
7768 # host and target CPU are the same. With GCC this is normally enough.
7772 aros_shared_ld
="$aros_host_ld"
7774 aros_target_mkdep
="$aros_host_mkdep"
7775 aros_target_incl_def
="$aros_host_incl"
7777 aros_kernel_cc
="$CC"
7779 # The default tools executables to be linked to.
7780 if test "$aros_target_cc" != ""; then
7781 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
7782 set dummy
$aros_target_cc; ac_word
=$2
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7784 $as_echo_n "checking for $ac_word... " >&6; }
7785 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
7786 $as_echo_n "(cached) " >&6
7788 case $aros_target_cc in
7790 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
7793 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7797 test -z "$as_dir" && as_dir
=.
7798 for ac_exec_ext
in '' $ac_executable_extensions; do
7799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7800 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
7801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7811 aros_target_cc
=$ac_cv_path_aros_target_cc
7812 if test -n "$aros_target_cc"; then
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
7814 $as_echo "$aros_target_cc" >&6; }
7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7817 $as_echo "no" >&6; }
7821 if test "$aros_target_cc" = ""; then
7822 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7825 if test "$aros_target_ld" != ""; then
7826 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
7827 set dummy
$aros_target_ld; ac_word
=$2
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7829 $as_echo_n "checking for $ac_word... " >&6; }
7830 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
7831 $as_echo_n "(cached) " >&6
7833 case $aros_target_ld in
7835 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
7838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7842 test -z "$as_dir" && as_dir
=.
7843 for ac_exec_ext
in '' $ac_executable_extensions; do
7844 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7845 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
7846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 aros_target_ld
=$ac_cv_path_aros_target_ld
7857 if test -n "$aros_target_ld"; then
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
7859 $as_echo "$aros_target_ld" >&6; }
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7862 $as_echo "no" >&6; }
7866 if test "$aros_target_ld" = ""; then
7867 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
7871 if test "$crosstools" != "yes"; then
7873 if test "$aros_target_as" = ""; then
7874 if test "$cross_compiling" = "yes" ; then
7875 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
7876 set dummy
${target_tool_prefix}as
; ac_word
=$2
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7878 $as_echo_n "checking for $ac_word... " >&6; }
7879 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7880 $as_echo_n "(cached) " >&6
7882 case $aros_target_as_ln in
7884 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7891 test -z "$as_dir" && as_dir
=.
7892 for ac_exec_ext
in '' $ac_executable_extensions; do
7893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7894 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7905 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7906 if test -n "$aros_target_as_ln"; then
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7908 $as_echo "$aros_target_as_ln" >&6; }
7910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7911 $as_echo "no" >&6; }
7916 if test "$GCC" = "yes"; then
7917 aros_gcc_as
=`$CC -print-prog-name=as`
7918 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
7919 set dummy
`basename $aros_gcc_as`; ac_word
=$2
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7921 $as_echo_n "checking for $ac_word... " >&6; }
7922 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7923 $as_echo_n "(cached) " >&6
7925 case $aros_target_as_ln in
7927 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7930 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7931 for as_dir
in `dirname $aros_gcc_as`
7934 test -z "$as_dir" && as_dir
=.
7935 for ac_exec_ext
in '' $ac_executable_extensions; do
7936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7937 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7948 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7949 if test -n "$aros_target_as_ln"; then
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7951 $as_echo "$aros_target_as_ln" >&6; }
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7954 $as_echo "no" >&6; }
7959 if test "$aros_target_as_ln" = ""; then
7960 # Extract the first word of "as", so it can be a program name with args.
7961 set dummy as
; ac_word
=$2
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7963 $as_echo_n "checking for $ac_word... " >&6; }
7964 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7965 $as_echo_n "(cached) " >&6
7967 case $aros_target_as_ln in
7969 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7976 test -z "$as_dir" && as_dir
=.
7977 for ac_exec_ext
in '' $ac_executable_extensions; do
7978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7979 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7991 if test -n "$aros_target_as_ln"; then
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7993 $as_echo "$aros_target_as_ln" >&6; }
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7996 $as_echo "no" >&6; }
8003 # Extract the first word of "$aros_target_as", so it can be a program name with args.
8004 set dummy
$aros_target_as; ac_word
=$2
8005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8006 $as_echo_n "checking for $ac_word... " >&6; }
8007 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
8008 $as_echo_n "(cached) " >&6
8010 case $aros_target_as_ln in
8012 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
8015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8019 test -z "$as_dir" && as_dir
=.
8020 for ac_exec_ext
in '' $ac_executable_extensions; do
8021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8022 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
8023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8033 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
8034 if test -n "$aros_target_as_ln"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
8036 $as_echo "$aros_target_as_ln" >&6; }
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8045 if test "$aros_target_as_ln" = ""; then
8046 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
8049 if test "$aros_kernel_ld" = ""; then
8050 if test "$cross_compiling" = "yes" ; then
8051 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
8052 set dummy
${target_tool_prefix}ld
; ac_word
=$2
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8054 $as_echo_n "checking for $ac_word... " >&6; }
8055 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8056 $as_echo_n "(cached) " >&6
8058 case $aros_kernel_ld in
8060 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8067 test -z "$as_dir" && as_dir
=.
8068 for ac_exec_ext
in '' $ac_executable_extensions; do
8069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8070 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8081 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8082 if test -n "$aros_kernel_ld"; then
8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8084 $as_echo "$aros_kernel_ld" >&6; }
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8087 $as_echo "no" >&6; }
8092 if test "$GCC" = "yes"; then
8093 aros_gcc_ld
=`$CC -print-prog-name=ld`
8094 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
8095 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8097 $as_echo_n "checking for $ac_word... " >&6; }
8098 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8099 $as_echo_n "(cached) " >&6
8101 case $aros_kernel_ld in
8103 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8107 for as_dir
in `dirname $aros_gcc_ld`
8110 test -z "$as_dir" && as_dir
=.
8111 for ac_exec_ext
in '' $ac_executable_extensions; do
8112 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8113 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8124 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8125 if test -n "$aros_kernel_ld"; then
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8127 $as_echo "$aros_kernel_ld" >&6; }
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130 $as_echo "no" >&6; }
8135 if test "$aros_kernel_ld" = ""; then
8136 # Extract the first word of "ld", so it can be a program name with args.
8137 set dummy ld
; ac_word
=$2
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8139 $as_echo_n "checking for $ac_word... " >&6; }
8140 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8141 $as_echo_n "(cached) " >&6
8143 case $aros_kernel_ld in
8145 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8152 test -z "$as_dir" && as_dir
=.
8153 for ac_exec_ext
in '' $ac_executable_extensions; do
8154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8155 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8167 if test -n "$aros_kernel_ld"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8169 $as_echo "$aros_kernel_ld" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172 $as_echo "no" >&6; }
8179 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8180 set dummy
$aros_kernel_ld; ac_word
=$2
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8182 $as_echo_n "checking for $ac_word... " >&6; }
8183 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
8184 $as_echo_n "(cached) " >&6
8186 case $aros_kernel_ld in
8188 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
8191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8195 test -z "$as_dir" && as_dir
=.
8196 for ac_exec_ext
in '' $ac_executable_extensions; do
8197 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8198 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
8199 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
8210 if test -n "$aros_kernel_ld"; then
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
8212 $as_echo "$aros_kernel_ld" >&6; }
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8215 $as_echo "no" >&6; }
8221 if test "$aros_kernel_ld" = ""; then
8222 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
8225 if test "$aros_target_ar" = ""; then
8226 if test "$cross_compiling" = "yes" ; then
8227 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8228 set dummy
${target_tool_prefix}ar; ac_word
=$2
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8230 $as_echo_n "checking for $ac_word... " >&6; }
8231 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8232 $as_echo_n "(cached) " >&6
8234 case $aros_target_ar_ln in
8236 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8239 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8243 test -z "$as_dir" && as_dir
=.
8244 for ac_exec_ext
in '' $ac_executable_extensions; do
8245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8246 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8257 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8258 if test -n "$aros_target_ar_ln"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8260 $as_echo "$aros_target_ar_ln" >&6; }
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8268 if test "$GCC" = "yes"; then
8269 aros_gcc_ar
=`$CC -print-prog-name=ar`
8270 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8271 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273 $as_echo_n "checking for $ac_word... " >&6; }
8274 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8275 $as_echo_n "(cached) " >&6
8277 case $aros_target_ar_ln in
8279 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8283 for as_dir
in `dirname $aros_gcc_ar`
8286 test -z "$as_dir" && as_dir
=.
8287 for ac_exec_ext
in '' $ac_executable_extensions; do
8288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8289 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8300 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8301 if test -n "$aros_target_ar_ln"; then
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8303 $as_echo "$aros_target_ar_ln" >&6; }
8305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8306 $as_echo "no" >&6; }
8311 if test "$aros_target_ar_ln" = ""; then
8312 # Extract the first word of "ar", so it can be a program name with args.
8313 set dummy
ar; ac_word
=$2
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8315 $as_echo_n "checking for $ac_word... " >&6; }
8316 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8317 $as_echo_n "(cached) " >&6
8319 case $aros_target_ar_ln in
8321 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8324 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8328 test -z "$as_dir" && as_dir
=.
8329 for ac_exec_ext
in '' $ac_executable_extensions; do
8330 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8331 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8332 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8342 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8343 if test -n "$aros_target_ar_ln"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8345 $as_echo "$aros_target_ar_ln" >&6; }
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8348 $as_echo "no" >&6; }
8355 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8356 set dummy
$aros_target_ar; ac_word
=$2
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8358 $as_echo_n "checking for $ac_word... " >&6; }
8359 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8360 $as_echo_n "(cached) " >&6
8362 case $aros_target_ar_ln in
8364 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8371 test -z "$as_dir" && as_dir
=.
8372 for ac_exec_ext
in '' $ac_executable_extensions; do
8373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8374 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8385 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8386 if test -n "$aros_target_ar_ln"; then
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8388 $as_echo "$aros_target_ar_ln" >&6; }
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8391 $as_echo "no" >&6; }
8397 if test "$aros_target_ar_ln" = ""; then
8398 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8401 if test "$aros_target_nm" = ""; then
8402 if test "$cross_compiling" = "yes" ; then
8403 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8404 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8406 $as_echo_n "checking for $ac_word... " >&6; }
8407 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8408 $as_echo_n "(cached) " >&6
8410 case $aros_target_nm_ln in
8412 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir
=.
8420 for ac_exec_ext
in '' $ac_executable_extensions; do
8421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8422 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8433 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8434 if test -n "$aros_target_nm_ln"; then
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8436 $as_echo "$aros_target_nm_ln" >&6; }
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8439 $as_echo "no" >&6; }
8444 if test "$GCC" = "yes"; then
8445 aros_gcc_nm
=`$CC -print-prog-name=nm`
8446 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8447 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8449 $as_echo_n "checking for $ac_word... " >&6; }
8450 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8451 $as_echo_n "(cached) " >&6
8453 case $aros_target_nm_ln in
8455 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8459 for as_dir
in `dirname $aros_gcc_nm`
8462 test -z "$as_dir" && as_dir
=.
8463 for ac_exec_ext
in '' $ac_executable_extensions; do
8464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8465 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8476 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8477 if test -n "$aros_target_nm_ln"; then
8478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8479 $as_echo "$aros_target_nm_ln" >&6; }
8481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8482 $as_echo "no" >&6; }
8487 if test "$aros_target_nm_ln" = ""; then
8488 # Extract the first word of "nm", so it can be a program name with args.
8489 set dummy nm
; ac_word
=$2
8490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8491 $as_echo_n "checking for $ac_word... " >&6; }
8492 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8493 $as_echo_n "(cached) " >&6
8495 case $aros_target_nm_ln in
8497 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8500 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8504 test -z "$as_dir" && as_dir
=.
8505 for ac_exec_ext
in '' $ac_executable_extensions; do
8506 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8507 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8518 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8519 if test -n "$aros_target_nm_ln"; then
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8521 $as_echo "$aros_target_nm_ln" >&6; }
8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8524 $as_echo "no" >&6; }
8531 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8532 set dummy
$aros_target_nm; ac_word
=$2
8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8534 $as_echo_n "checking for $ac_word... " >&6; }
8535 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8536 $as_echo_n "(cached) " >&6
8538 case $aros_target_nm_ln in
8540 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8547 test -z "$as_dir" && as_dir
=.
8548 for ac_exec_ext
in '' $ac_executable_extensions; do
8549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8550 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8561 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8562 if test -n "$aros_target_nm_ln"; then
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8564 $as_echo "$aros_target_nm_ln" >&6; }
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8567 $as_echo "no" >&6; }
8573 if test "$aros_target_nm_ln" = ""; then
8574 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8577 if test "$aros_target_objcopy" = ""; then
8578 if test "$cross_compiling" = "yes" ; then
8579 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8580 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8582 $as_echo_n "checking for $ac_word... " >&6; }
8583 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8584 $as_echo_n "(cached) " >&6
8586 case $aros_target_objcopy_ln in
8588 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8591 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8595 test -z "$as_dir" && as_dir
=.
8596 for ac_exec_ext
in '' $ac_executable_extensions; do
8597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8598 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8609 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8610 if test -n "$aros_target_objcopy_ln"; then
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8612 $as_echo "$aros_target_objcopy_ln" >&6; }
8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8615 $as_echo "no" >&6; }
8620 if test "$GCC" = "yes"; then
8621 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8622 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8623 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8625 $as_echo_n "checking for $ac_word... " >&6; }
8626 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8627 $as_echo_n "(cached) " >&6
8629 case $aros_target_objcopy_ln in
8631 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8634 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8635 for as_dir
in `dirname $aros_gcc_objcopy`
8638 test -z "$as_dir" && as_dir
=.
8639 for ac_exec_ext
in '' $ac_executable_extensions; do
8640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8641 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8652 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8653 if test -n "$aros_target_objcopy_ln"; then
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8655 $as_echo "$aros_target_objcopy_ln" >&6; }
8657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8658 $as_echo "no" >&6; }
8663 if test "$aros_target_objcopy_ln" = ""; then
8664 # Extract the first word of "objcopy", so it can be a program name with args.
8665 set dummy objcopy
; ac_word
=$2
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8667 $as_echo_n "checking for $ac_word... " >&6; }
8668 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8669 $as_echo_n "(cached) " >&6
8671 case $aros_target_objcopy_ln in
8673 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8680 test -z "$as_dir" && as_dir
=.
8681 for ac_exec_ext
in '' $ac_executable_extensions; do
8682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8683 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8694 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8695 if test -n "$aros_target_objcopy_ln"; then
8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8697 $as_echo "$aros_target_objcopy_ln" >&6; }
8699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8700 $as_echo "no" >&6; }
8707 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8708 set dummy
$aros_target_objcopy; ac_word
=$2
8709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8710 $as_echo_n "checking for $ac_word... " >&6; }
8711 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8712 $as_echo_n "(cached) " >&6
8714 case $aros_target_objcopy_ln in
8716 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8719 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8723 test -z "$as_dir" && as_dir
=.
8724 for ac_exec_ext
in '' $ac_executable_extensions; do
8725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8726 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8737 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8738 if test -n "$aros_target_objcopy_ln"; then
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8740 $as_echo "$aros_target_objcopy_ln" >&6; }
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8743 $as_echo "no" >&6; }
8749 if test "$aros_target_objcopy_ln" = ""; then
8750 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
8753 if test "$aros_target_objdump" = ""; then
8754 if test "$cross_compiling" = "yes" ; then
8755 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8756 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8758 $as_echo_n "checking for $ac_word... " >&6; }
8759 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8760 $as_echo_n "(cached) " >&6
8762 case $aros_target_objdump_ln in
8764 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8767 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8771 test -z "$as_dir" && as_dir
=.
8772 for ac_exec_ext
in '' $ac_executable_extensions; do
8773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8774 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8785 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8786 if test -n "$aros_target_objdump_ln"; then
8787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8788 $as_echo "$aros_target_objdump_ln" >&6; }
8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8791 $as_echo "no" >&6; }
8796 if test "$GCC" = "yes"; then
8797 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8798 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8799 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8801 $as_echo_n "checking for $ac_word... " >&6; }
8802 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8803 $as_echo_n "(cached) " >&6
8805 case $aros_target_objdump_ln in
8807 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8811 for as_dir
in `dirname $aros_gcc_objdump`
8814 test -z "$as_dir" && as_dir
=.
8815 for ac_exec_ext
in '' $ac_executable_extensions; do
8816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8817 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8828 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8829 if test -n "$aros_target_objdump_ln"; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8831 $as_echo "$aros_target_objdump_ln" >&6; }
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8834 $as_echo "no" >&6; }
8839 if test "$aros_target_objdump_ln" = ""; then
8840 # Extract the first word of "objdump", so it can be a program name with args.
8841 set dummy objdump
; ac_word
=$2
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8843 $as_echo_n "checking for $ac_word... " >&6; }
8844 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8845 $as_echo_n "(cached) " >&6
8847 case $aros_target_objdump_ln in
8849 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8856 test -z "$as_dir" && as_dir
=.
8857 for ac_exec_ext
in '' $ac_executable_extensions; do
8858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8859 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8870 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8871 if test -n "$aros_target_objdump_ln"; then
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8873 $as_echo "$aros_target_objdump_ln" >&6; }
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8876 $as_echo "no" >&6; }
8883 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
8884 set dummy
$aros_target_objdump; ac_word
=$2
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8886 $as_echo_n "checking for $ac_word... " >&6; }
8887 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8890 case $aros_target_objdump_ln in
8892 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8899 test -z "$as_dir" && as_dir
=.
8900 for ac_exec_ext
in '' $ac_executable_extensions; do
8901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8902 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8913 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8914 if test -n "$aros_target_objdump_ln"; then
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8916 $as_echo "$aros_target_objdump_ln" >&6; }
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8919 $as_echo "no" >&6; }
8925 if test "$aros_target_objdump_ln" = ""; then
8926 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
8929 if test "$aros_target_ranlib" = ""; then
8930 if test "$cross_compiling" = "yes" ; then
8931 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8932 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8934 $as_echo_n "checking for $ac_word... " >&6; }
8935 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8936 $as_echo_n "(cached) " >&6
8938 case $aros_target_ranlib_ln in
8940 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir
=.
8948 for ac_exec_ext
in '' $ac_executable_extensions; do
8949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8950 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8961 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8962 if test -n "$aros_target_ranlib_ln"; then
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8964 $as_echo "$aros_target_ranlib_ln" >&6; }
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8967 $as_echo "no" >&6; }
8972 if test "$GCC" = "yes"; then
8973 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8974 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8975 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8977 $as_echo_n "checking for $ac_word... " >&6; }
8978 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8979 $as_echo_n "(cached) " >&6
8981 case $aros_target_ranlib_ln in
8983 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8987 for as_dir
in `dirname $aros_gcc_ranlib`
8990 test -z "$as_dir" && as_dir
=.
8991 for ac_exec_ext
in '' $ac_executable_extensions; do
8992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8993 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9004 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9005 if test -n "$aros_target_ranlib_ln"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9007 $as_echo "$aros_target_ranlib_ln" >&6; }
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9015 if test "$aros_target_ranlib_ln" = ""; then
9016 # Extract the first word of "ranlib", so it can be a program name with args.
9017 set dummy ranlib
; ac_word
=$2
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9019 $as_echo_n "checking for $ac_word... " >&6; }
9020 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9021 $as_echo_n "(cached) " >&6
9023 case $aros_target_ranlib_ln in
9025 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9032 test -z "$as_dir" && as_dir
=.
9033 for ac_exec_ext
in '' $ac_executable_extensions; do
9034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9035 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9046 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9047 if test -n "$aros_target_ranlib_ln"; then
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9049 $as_echo "$aros_target_ranlib_ln" >&6; }
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9052 $as_echo "no" >&6; }
9059 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
9060 set dummy
$aros_target_ranlib; ac_word
=$2
9061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9062 $as_echo_n "checking for $ac_word... " >&6; }
9063 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
9064 $as_echo_n "(cached) " >&6
9066 case $aros_target_ranlib_ln in
9068 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
9071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9075 test -z "$as_dir" && as_dir
=.
9076 for ac_exec_ext
in '' $ac_executable_extensions; do
9077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9078 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
9079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9089 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
9090 if test -n "$aros_target_ranlib_ln"; then
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
9092 $as_echo "$aros_target_ranlib_ln" >&6; }
9094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9095 $as_echo "no" >&6; }
9101 if test "$aros_target_ranlib_ln" = ""; then
9102 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
9105 if test "$aros_target_strip" = ""; then
9106 if test "$cross_compiling" = "yes" ; then
9107 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
9108 set dummy
${target_tool_prefix}strip
; ac_word
=$2
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9110 $as_echo_n "checking for $ac_word... " >&6; }
9111 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9112 $as_echo_n "(cached) " >&6
9114 case $aros_target_strip_ln in
9116 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9123 test -z "$as_dir" && as_dir
=.
9124 for ac_exec_ext
in '' $ac_executable_extensions; do
9125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9126 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9137 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9138 if test -n "$aros_target_strip_ln"; then
9139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9140 $as_echo "$aros_target_strip_ln" >&6; }
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9143 $as_echo "no" >&6; }
9148 if test "$GCC" = "yes"; then
9149 aros_gcc_strip
=`$CC -print-prog-name=strip`
9150 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
9151 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9153 $as_echo_n "checking for $ac_word... " >&6; }
9154 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9155 $as_echo_n "(cached) " >&6
9157 case $aros_target_strip_ln in
9159 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9163 for as_dir
in `dirname $aros_gcc_strip`
9166 test -z "$as_dir" && as_dir
=.
9167 for ac_exec_ext
in '' $ac_executable_extensions; do
9168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9169 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9180 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9181 if test -n "$aros_target_strip_ln"; then
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9183 $as_echo "$aros_target_strip_ln" >&6; }
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9186 $as_echo "no" >&6; }
9191 if test "$aros_target_strip_ln" = ""; then
9192 # Extract the first word of "strip", so it can be a program name with args.
9193 set dummy strip
; ac_word
=$2
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9195 $as_echo_n "checking for $ac_word... " >&6; }
9196 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9197 $as_echo_n "(cached) " >&6
9199 case $aros_target_strip_ln in
9201 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9208 test -z "$as_dir" && as_dir
=.
9209 for ac_exec_ext
in '' $ac_executable_extensions; do
9210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9211 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9222 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9223 if test -n "$aros_target_strip_ln"; then
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9225 $as_echo "$aros_target_strip_ln" >&6; }
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 $as_echo "no" >&6; }
9235 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
9236 set dummy
$aros_target_strip; ac_word
=$2
9237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9238 $as_echo_n "checking for $ac_word... " >&6; }
9239 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
9240 $as_echo_n "(cached) " >&6
9242 case $aros_target_strip_ln in
9244 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
9247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9251 test -z "$as_dir" && as_dir
=.
9252 for ac_exec_ext
in '' $ac_executable_extensions; do
9253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9254 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
9255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9265 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
9266 if test -n "$aros_target_strip_ln"; then
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
9268 $as_echo "$aros_target_strip_ln" >&6; }
9270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 $as_echo "no" >&6; }
9277 if test "$aros_target_strip_ln" = ""; then
9278 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
9280 # Temporarily disabled in order to let Windows-hosted port to build.
9281 # if test "$aros_target_cxx" != ""; then
9282 # AC_PATH_PROG(aros_target_cxx,$aros_target_cxx)
9283 # AROS_REQUIRED(c++,$aros_target_cxx)
9286 # Cancel preinstalled C++ compiler because it will be built as part of crosstools
9290 if test "$rescomp" != ""; then
9291 if test "$cross_compiling" = "yes" ; then
9292 rescomp
=${target_tool_prefix}${rescomp}
9294 # Extract the first word of "$rescomp", so it can be a program name with args.
9295 set dummy
$rescomp; ac_word
=$2
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9297 $as_echo_n "checking for $ac_word... " >&6; }
9298 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
9299 $as_echo_n "(cached) " >&6
9301 case $aros_kernel_rescomp in
9303 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9306 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9310 test -z "$as_dir" && as_dir
=.
9311 for ac_exec_ext
in '' $ac_executable_extensions; do
9312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9313 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9324 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9325 if test -n "$aros_kernel_rescomp"; then
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
9327 $as_echo "$aros_kernel_rescomp" >&6; }
9329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9330 $as_echo "no" >&6; }
9334 if test "$aros_kernel_rescomp" = ""; then
9335 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
9339 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9340 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9341 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9342 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9343 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9344 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9345 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9347 # aros_cc_pre is a variable that is added to the front of the compiler name
9348 # in the generated aros-gcc shell script. We need this to enable the cache
9349 # to work across cleaned builds. Also, support DISTCC using the correct
9350 # environment variable.
9353 if test "x${DISTCC}" != "x" ; then
9354 if test "x${CCACHE}" != "x" ; then
9355 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9357 aros_cc_pre
="${DISTCC} "
9360 if test "x${CCACHE}" != "x" ; then
9361 aros_cc_pre
="${CCACHE} "
9365 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9367 aros_target_nostdinc_cflags
=-nostdinc
9369 aros_target_nostartup_ldflags
=-nostartfiles
9371 aros_target_nix_ldflags
=-nix
9373 aros_target_detach_ldflags
=-detach
9375 aros_target_nostdlib_ldflags
=-nostdlib
9379 if test "$aros_target_cc" = ""; then
9380 orig_target_cc
=$aros_kernel_cc
9382 orig_target_cc
=$aros_target_cc
9384 if test "$aros_target_ld" = ""; then
9385 orig_target_ld
=$aros_kernel_ld
9387 orig_target_ld
=$aros_target_ld
9389 if test "$GCC" = "yes"; then
9390 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9392 aros_target_cc
="${prefix}-gcc"
9393 aros_target_as
="${prefix}-as"
9394 aros_target_ld
="${prefix}-ld"
9395 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9396 aros_target_objcopy
=${prefix}-objcopy
9397 aros_target_objdump
=${prefix}-objdump
9398 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9399 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9400 aros_kernel_nm
="${prefix}-nm"
9401 aros_target_strip
=${prefix}-strip
9403 # Find the system include path. We can suggest that an alternative is
9404 # used if we don't get it correct. The default is to use /usr/include.
9405 # Which is set in the aros_target_incl_def variable.
9407 # Check whether --enable-includes was given.
9408 if test "${enable_includes+set}" = set; then :
9409 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9411 aros_target_incl
=$aros_target_incl_def
9415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9416 $as_echo_n "checking for the target compiler's include path... " >&6; }
9417 if test "$aros_target_cc_includes" = "" ; then
9418 #try to guess where the directory is
9419 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9420 if ! test -d $aros_target_cc_includes; then
9421 #the directory doesn't exist, we need to do some more work
9422 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9424 #these are the headers we're looling for
9425 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9426 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9430 for h
in $headers; do
9431 #which other headers each of the above headers needs?
9432 deps
=$
(echo "#include <$h>" | \
9433 $aros_host_cc -E -M - 2>/dev
/null | \
9434 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9436 #copy all the needed headers to a directory beneath gendir
9439 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9440 sed -n "s,^.*/include\(/.*\),\1,p")
9441 ! test -d $dir && mkdir
-p $dir
9442 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9448 $as_echo "$aros_target_cc_includes" >&6; }
9451 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9452 # On GCC >= 4.0 -iquote should be used
9456 save_cflags
="$CFLAGS"
9458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9459 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9461 /* end confdefs.h. */
9471 if ac_fn_c_try_compile
"$LINENO"; then :
9476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9478 $as_echo "$has_iquote" >&6; }
9479 if test "x-$has_iquote" = "x-yes" ; then
9480 host_cflags_iquote
=-iquote
9481 host_cflags_iquote_end
=
9483 host_cflags_iquote
=-I
9484 host_cflags_iquote_end
=-I-
9486 kernel_cflags_iquote
=$host_cflags_iquote
9487 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9488 if test "x-$cross_compiling" = "x-yes"; then
9489 CC
="$aros_kernel_cc"
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9491 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9493 /* end confdefs.h. */
9503 if ac_fn_c_try_compile
"$LINENO"; then :
9504 use_no_stack_protector
="yes"
9506 use_no_stack_protector
="no"
9508 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9510 $as_echo "$use_no_stack_protector" >&6; }
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9512 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9524 if ac_fn_c_try_compile
"$LINENO"; then :
9529 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9531 $as_echo "$has_iquote" >&6; }
9532 if test "x-$has_iquote" = "x-yes" ; then
9533 kernel_cflags_iquote
=-iquote
9534 kernel_cflags_iquote_end
=
9536 kernel_cflags_iquote
=-I
9537 kernel_cflags_iquote_end
=-I-
9540 aros_cflags_iquote
=$kernel_cflags_iquote
9541 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9542 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9543 CC
="$orig_target_cc"
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9545 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9557 if ac_fn_c_try_compile
"$LINENO"; then :
9562 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9564 $as_echo "$has_iquote" >&6; }
9565 if test "x-$has_iquote" = "x-yes" ; then
9566 aros_cflags_iquote
=-iquote
9567 aros_cflags_iquote_end
=
9569 aros_cflags_iquote
=-I
9570 aros_cflags_iquote_end
=-I-
9573 if test "x-$use_no_stack_protector" = "x-yes" ; then
9574 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9577 #-----------------------------------------------------------------------------
9579 # Check if we can explicitly choose older version of symbol hashing
9581 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9582 CC
="$aros_kernel_cc"
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9584 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9596 if ac_fn_c_try_link
"$LINENO"; then :
9597 use_hash_style
="yes"
9601 rm -f core conftest.err conftest.
$ac_objext \
9602 conftest
$ac_exeext conftest.
$ac_ext
9603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9604 $as_echo "$use_hash_style" >&6; }
9605 if test "x-$use_hash_style" = "x-yes" ; then
9606 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9609 CFLAGS
="$save_cflags"
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9620 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9622 # Check whether --with-resolution was given.
9623 if test "${with_resolution+set}" = set; then :
9624 withval
=$with_resolution; resolution
=$withval
9629 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9630 if test "$resolution" = "yes" ; then
9633 if test "$resolution" = "no" ; then
9636 if test "$resolution" != "none" ; then
9637 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9638 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9639 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9642 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9643 aros_cv_default_wbwidth
=$aros_default_wbwidth
9644 aros_cv_default_wbheight
=$aros_default_wbheight
9645 aros_cv_default_wbdepth
=$aros_default_wbdepth
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
9648 $as_echo_n "checking if serial debug is enabled... " >&6; }
9650 # Check whether --with-serial-debug was given.
9651 if test "${with_serial_debug+set}" = set; then :
9652 withval
=$with_serial_debug; serial_debug
=$withval
9657 if test "$aros_serial_debug" = 0 ; then
9658 serial_debug_forced
=""
9659 if test "$serial_debug" = "yes" ; then
9662 if test "$serial_debug" = "no" ; then
9666 serial_debug_forced
="(forced)"
9667 serial_debug
=$aros_serial_debug
9669 if test "$serial_debug" != "none" ; then
9670 aros_serial_debug
=$serial_debug
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
9672 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9675 $as_echo "no" >&6; }
9678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
9679 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
9680 # Check whether --enable-palm_debug_hack was given.
9681 if test "${enable_palm_debug_hack+set}" = set; then :
9682 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
9684 palm_debug_hack
="no"
9687 if test "$palm_debug_hack" = "yes" ; then
9688 aros_palm_debug_hack
="1"
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
9691 $as_echo "$palm_debug_hack" >&6; }
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
9695 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
9696 # Check whether --enable-nesting_supervisor was given.
9697 if test "${enable_nesting_supervisor+set}" = set; then :
9698 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
9700 nesting_supervisor
="no"
9703 if test "$nesting_supervisor" = "yes" ; then
9704 aros_nesting_supervisor
="1"
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
9707 $as_echo "$nesting_supervisor" >&6; }
9710 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9712 if test "x-$need_dlopen" != "x-no" ; then
9713 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9714 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9720 if test "x-$have_dl" = "x-no" ; then
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9722 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9723 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9724 $as_echo_n "(cached) " >&6
9726 ac_check_lib_save_LIBS
=$LIBS
9728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9729 /* end confdefs.h. */
9731 /* Override any GCC internal prototype to avoid an error.
9732 Use char because int might match the return type of a GCC
9733 builtin and then its argument prototype would still apply. */
9746 if ac_fn_c_try_link
"$LINENO"; then :
9747 ac_cv_lib_dl_dlopen
=yes
9749 ac_cv_lib_dl_dlopen
=no
9751 rm -f core conftest.err conftest.
$ac_objext \
9752 conftest
$ac_exeext conftest.
$ac_ext
9753 LIBS
=$ac_check_lib_save_LIBS
9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9756 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9757 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9759 aros_host_ldflags
="$aros_host_ldflags -ldl"
9765 if test "x-$have_dl" = "x-no" ; then
9766 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
9771 # Check whether --enable-x11_hidd was given.
9772 if test "${enable_x11_hidd+set}" = set; then :
9773 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
9778 case "x-$x11_hidd" in
9779 x-yes|x-no|x-auto
) ;;
9780 *) x11_hidd
="auto" ;;
9785 if test "x-$x11_hidd" != "x-no" ; then
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9788 $as_echo_n "checking for X... " >&6; }
9791 # Check whether --with-x was given.
9792 if test "${with_x+set}" = set; then :
9796 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9797 if test "x$with_x" = xno
; then
9798 # The user explicitly disabled X.
9801 case $x_includes,$x_libraries in #(
9802 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
9803 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
9804 $as_echo_n "(cached) " >&6
9806 # One or both of the vars are not set, and there is no cached value.
9807 ac_x_includes
=no ac_x_libraries
=no
9808 rm -f -r conftest.dir
9809 if mkdir conftest.dir
; then
9811 cat >Imakefile
<<'_ACEOF'
9813 @echo incroot='${INCROOT}'
9815 @echo usrlibdir='${USRLIBDIR}'
9817 @echo libdir='${LIBDIR}'
9819 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9820 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9821 for ac_var
in incroot usrlibdir libdir
; do
9822 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9824 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9825 for ac_extension
in a so sl dylib la dll
; do
9826 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9827 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9828 ac_im_usrlibdir
=$ac_im_libdir; break
9831 # Screen out bogus values from the imake configuration. They are
9832 # bogus both because they are the default anyway, and because
9833 # using them would break gcc on systems where it needs fixed includes.
9834 case $ac_im_incroot in
9835 /usr
/include
) ac_x_includes
= ;;
9836 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9838 case $ac_im_usrlibdir in
9839 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9840 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9844 rm -f -r conftest.dir
9847 # Standard set of common directories for X headers.
9848 # Check X11 before X11Rn because it is often a symlink to the current release.
9862 /usr/local/X11/include
9863 /usr/local/X11R7/include
9864 /usr/local/X11R6/include
9865 /usr/local/X11R5/include
9866 /usr/local/X11R4/include
9868 /usr/local/include/X11
9869 /usr/local/include/X11R7
9870 /usr/local/include/X11R6
9871 /usr/local/include/X11R5
9872 /usr/local/include/X11R4
9876 /usr/XFree86/include/X11
9880 /usr/unsupported/include
9882 /usr/local/x11r5/include
9883 /usr/lpp/Xamples/include
9885 /usr/openwin/include
9886 /usr/openwin/share/include'
9888 if test "$ac_x_includes" = no
; then
9889 # Guess where to find include files, by looking for Xlib.h.
9890 # First, try using that file with no special directory specified.
9891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 #include <X11/Xlib.h>
9895 if ac_fn_c_try_cpp
"$LINENO"; then :
9896 # We can compile using X headers with no special include directory.
9899 for ac_dir
in $ac_x_header_dirs; do
9900 if test -r "$ac_dir/X11/Xlib.h"; then
9901 ac_x_includes
=$ac_dir
9906 rm -f conftest.err conftest.
$ac_ext
9907 fi # $ac_x_includes = no
9909 if test "$ac_x_libraries" = no
; then
9910 # Check for the libraries.
9911 # See if we find them without any special options.
9912 # Don't add to $LIBS permanently.
9915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9916 /* end confdefs.h. */
9917 #include <X11/Xlib.h>
9926 if ac_fn_c_try_link
"$LINENO"; then :
9928 # We can link X programs with no special library path.
9932 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9934 # Don't even attempt the hair of trying to link an X program!
9935 for ac_extension
in a so sl dylib la dll
; do
9936 if test -r "$ac_dir/libX11.$ac_extension"; then
9937 ac_x_libraries
=$ac_dir
9943 rm -f core conftest.err conftest.
$ac_objext \
9944 conftest
$ac_exeext conftest.
$ac_ext
9945 fi # $ac_x_libraries = no
9947 case $ac_x_includes,$ac_x_libraries in #(
9949 # Didn't find X, or a directory has "'" in its name.
9950 ac_cv_have_x
="have_x=no";; #(
9952 # Record where we found X for the cache.
9953 ac_cv_have_x
="have_x=yes\
9954 ac_x_includes='$ac_x_includes'\
9955 ac_x_libraries='$ac_x_libraries'"
9961 eval "$ac_cv_have_x"
9964 if test "$have_x" != yes; then
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9966 $as_echo "$have_x" >&6; }
9969 # If each of the values was on the command line, it overrides each guess.
9970 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9971 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9972 # Update the cache value to reflect the command line values.
9973 ac_cv_have_x
="have_x=yes\
9974 ac_x_includes='$x_includes'\
9975 ac_x_libraries='$x_libraries'"
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9977 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9982 for path
in $x_libraries
9984 x_cflags
="$x_cflags -L$path"
9987 for path
in $x_includes
9989 x_cflags
="$x_cflags -I$path"
9992 if test "x-$no_x" = "x-yes" ; then
9994 if test "x-$x11_hidd" != "x-auto" ; then
9995 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
9999 x11_hidd_target
=kernel-x11gfx-kobj
10002 # Check whether --enable-x11_shm was given.
10003 if test "${enable_x11_shm+set}" = set; then :
10004 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
10006 x11_hidd_shm
="auto"
10009 case "x-$x11_hidd_shm" in
10010 x-yes|x-no|x-auto
) ;;
10011 *) x11_hidd_shm
="auto" ;;
10016 if test "x-$x11_hidd_shm" != "x-no" ; then
10018 for ac_header
in sys
/ipc.h
10020 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
10021 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
10022 cat >>confdefs.h
<<_ACEOF
10023 #define HAVE_SYS_IPC_H 1
10030 for ac_header
in sys
/shm.h
10032 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
10033 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
10034 cat >>confdefs.h
<<_ACEOF
10035 #define HAVE_SYS_SHM_H 1
10043 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
10045 save_cflags
="$CFLAGS"
10046 CFLAGS
="$CFLAGS $x_cflags"
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10048 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10049 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
10050 $as_echo_n "(cached) " >&6
10052 ac_check_lib_save_LIBS
=$LIBS
10053 LIBS
="-lXext $LIBS"
10054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10057 /* Override any GCC internal prototype to avoid an error.
10058 Use char because int might match the return type of a GCC
10059 builtin and then its argument prototype would still apply. */
10063 char XShmQueryExtension ();
10067 return XShmQueryExtension ();
10072 if ac_fn_c_try_link
"$LINENO"; then :
10073 ac_cv_lib_Xext_XShmQueryExtension
=yes
10075 ac_cv_lib_Xext_XShmQueryExtension
=no
10077 rm -f core conftest.err conftest.
$ac_objext \
10078 conftest
$ac_exeext conftest.
$ac_ext
10079 LIBS
=$ac_check_lib_save_LIBS
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10082 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10083 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
10087 CFLAGS
="$save_cflags"
10091 if test "x-$have_xshm" = "x-yes" ; then
10092 DO_XSHM_SUPPORT
="1"
10093 elif test "x-$x11_hidd_shm" = "x-yes" ; then
10094 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
10096 DO_XSHM_SUPPORT
="0"
10100 # Check whether --enable-x11_vidmode was given.
10101 if test "${enable_x11_vidmode+set}" = set; then :
10102 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
10104 x11_hidd_vidmode
="auto"
10107 case "x-$x11_hidd_vidmode" in
10108 x-yes|x-no|x-auto
) ;;
10109 *) x11_hidd_vidmode
="auto" ;;
10114 if test "x-$x11_hidd_vidmode" != "x-no" ; then
10116 save_cflags
="$CFLAGS"
10117 CFLAGS
="$CFLAGS $x_cflags"
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
10119 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
10120 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
10121 $as_echo_n "(cached) " >&6
10123 ac_check_lib_save_LIBS
=$LIBS
10124 LIBS
="-lXxf86vm $LIBS"
10125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10126 /* end confdefs.h. */
10128 /* Override any GCC internal prototype to avoid an error.
10129 Use char because int might match the return type of a GCC
10130 builtin and then its argument prototype would still apply. */
10134 char XF86VidModeQueryExtension ();
10138 return XF86VidModeQueryExtension ();
10143 if ac_fn_c_try_link
"$LINENO"; then :
10144 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
10146 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
10148 rm -f core conftest.err conftest.
$ac_objext \
10149 conftest
$ac_exeext conftest.
$ac_ext
10150 LIBS
=$ac_check_lib_save_LIBS
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
10153 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
10154 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
10158 CFLAGS
="$save_cflags"
10161 if test "x-$have_vidmode" = "x-yes" ; then
10162 DO_VIDMODE_SUPPORT
="1"
10163 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
10164 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
10166 DO_VIDMODE_SUPPORT
="0"
10170 aros_host_x11_includes
=$x_includes
10171 aros_host_x11_libdirs
=$x_libraries
10175 # Check whether --enable-sdl_hidd was given.
10176 if test "${enable_sdl_hidd+set}" = set; then :
10177 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
10182 case "x-$sdl_hidd" in
10183 x-yes|x-no|x-auto
) ;;
10184 *) sdl_hidd
="auto" ;;
10187 if test "x-$sdl_hidd" != "x-no" ; then
10190 # Check whether --with-sdl-prefix was given.
10191 if test "${with_sdl_prefix+set}" = set; then :
10192 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
10198 # Check whether --with-sdl-exec-prefix was given.
10199 if test "${with_sdl_exec_prefix+set}" = set; then :
10200 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
10205 # Check whether --enable-sdltest was given.
10206 if test "${enable_sdltest+set}" = set; then :
10207 enableval
=$enable_sdltest;
10213 if test x
$sdl_exec_prefix != x
; then
10214 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
10215 if test x
${SDL_CONFIG+set} != xset
; then
10216 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
10219 if test x
$sdl_prefix != x
; then
10220 sdl_args
="$sdl_args --prefix=$sdl_prefix"
10221 if test x
${SDL_CONFIG+set} != xset
; then
10222 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
10226 if test "x$prefix" != xNONE
; then
10227 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
10229 # Extract the first word of "sdl-config", so it can be a program name with args.
10230 set dummy sdl-config
; ac_word
=$2
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10232 $as_echo_n "checking for $ac_word... " >&6; }
10233 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
10234 $as_echo_n "(cached) " >&6
10236 case $SDL_CONFIG in
10238 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
10241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10242 for as_dir
in $PATH
10245 test -z "$as_dir" && as_dir
=.
10246 for ac_exec_ext
in '' $ac_executable_extensions; do
10247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10248 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
10249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10256 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
10260 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
10261 if test -n "$SDL_CONFIG"; then
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
10263 $as_echo "$SDL_CONFIG" >&6; }
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10266 $as_echo "no" >&6; }
10270 min_sdl_version
=1.2.10
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
10272 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
10274 if test "$SDL_CONFIG" = "no" ; then
10277 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
10278 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
10280 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
10281 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10282 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
10283 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10284 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
10285 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10286 if test "x$enable_sdltest" = "xyes" ; then
10287 ac_save_CFLAGS
="$CFLAGS"
10288 ac_save_CXXFLAGS
="$CXXFLAGS"
10289 ac_save_LIBS
="$LIBS"
10290 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10291 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10292 LIBS
="$LIBS $SDL_LIBS"
10294 if test "$cross_compiling" = yes; then :
10295 echo $ac_n "cross compiling; assumed OK... $ac_c"
10297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10298 /* end confdefs.h. */
10301 #include <stdlib.h>
10302 #include <string.h>
10306 my_strdup (char *str)
10312 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
10313 strcpy (new_str, str);
10321 int main (int argc, char *argv[])
10323 int major, minor, micro;
10326 /* This hangs on some systems (?)
10327 system ("touch conf.sdltest");
10329 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
10331 /* HP/UX 9 (%@#!) writes to sscanf strings */
10332 tmp_version = my_strdup("$min_sdl_version");
10333 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10334 printf("%s, bad version string\n", "$min_sdl_version");
10338 if (($sdl_major_version > major) ||
10339 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10340 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10346 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10347 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10348 printf("*** best to upgrade to the required version.\n");
10349 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10350 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10351 printf("*** config.cache before re-running configure\n");
10358 if ac_fn_c_try_run
"$LINENO"; then :
10363 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10364 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10367 CFLAGS
="$ac_save_CFLAGS"
10368 CXXFLAGS
="$ac_save_CXXFLAGS"
10369 LIBS
="$ac_save_LIBS"
10372 if test "x$no_sdl" = x
; then
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10374 $as_echo "yes" >&6; }
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10378 $as_echo "no" >&6; }
10379 if test "$SDL_CONFIG" = "no" ; then
10380 echo "*** The sdl-config script installed by SDL could not be found"
10381 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10382 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10383 echo "*** full path to sdl-config."
10385 if test -f conf.sdltest
; then
10388 echo "*** Could not run SDL test program, checking why..."
10389 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10390 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10391 LIBS
="$LIBS $SDL_LIBS"
10392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10393 /* end confdefs.h. */
10398 int main(int argc, char *argv[])
10401 #define main K_and_R_C_main
10411 if ac_fn_c_try_link
"$LINENO"; then :
10412 echo "*** The test program compiled, but did not run. This usually means"
10413 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10414 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10415 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10416 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10417 echo "*** is required on your system"
10419 echo "*** If you have an old version installed, it is best to remove it, although"
10420 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10422 echo "*** The test program failed to compile or link. See the file config.log for the"
10423 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10424 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10425 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10427 rm -f core conftest.err conftest.
$ac_objext \
10428 conftest
$ac_exeext conftest.
$ac_ext
10429 CFLAGS
="$ac_save_CFLAGS"
10430 CXXFLAGS
="$ac_save_CXXFLAGS"
10431 LIBS
="$ac_save_LIBS"
10443 if test "x-$have_sdl" != "x-yes" ; then
10445 if test "x-$sdl_hidd" != "x-auto" ; then
10446 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10450 sdl_hidd_target
=kernel-hidd-sdl
10451 aros_host_sdl_cflags
=SDL_CFLAGS
10452 aros_host_sdl_libs
=SDL_LIBS
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10460 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10461 # Check whether --enable-dbus was given.
10462 if test "${enable_dbus+set}" = set; then :
10463 enableval
=$enable_dbus; dbus
="yes"
10468 if test "$dbus" = "yes" ; then
10470 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10471 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10472 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10473 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10478 $as_echo "$dbus" >&6; }
10579 # Native version related
10582 # Palm native version related
10585 # Unix/Hosted version related
10588 # Apple iOS related
10609 # Collect-aros stuff: "-ius" to ignore undefined symbols
10612 # C compiler related
10615 case "$aros_flavour" in
10616 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10617 aros_flavour
="emulation" ;;
10618 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10619 aros_flavour
="emulation" ;;
10620 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10621 aros_flavour
="standalone";;
10622 standcompat
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10623 aros_flavour
="standalone";;
10624 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10625 aros_flavour
="native" ;;
10626 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10627 aros_flavour
="native" ;;
10628 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10629 aros_flavour
="linklib" ;;
10630 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10631 aros_flavour
="palmnative" ;;
10632 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10633 aros_flavour
="mac68knative" ;;
10634 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10635 aros_flavour
="ppcnative" ;;
10638 if test ! -d ${aros_inc_dir} ; then
10639 ${MKDIR} ${aros_inc_dir}
10641 if test ! -d ${aros_geninc_dir} ; then
10642 ${MKDIR} ${aros_geninc_dir}
10644 if test ! -d ${aros_hostcfg_dir} ; then
10645 ${MKDIR} ${aros_hostcfg_dir}
10647 if test ! -d ${aros_targetcfg_dir} ; then
10648 ${MKDIR} ${aros_targetcfg_dir}
10650 if test ! -d ${aros_tools_dir} ; then
10651 ${MKDIR} ${aros_tools_dir}
10653 if test ! -d ${aros_scripts_dir} ; then
10654 ${MKDIR} ${aros_scripts_dir}
10657 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10660 ac_config_commands
="$ac_config_commands compiler_executable"
10662 ac_config_commands
="$ac_config_commands genshared_executable"
10664 ac_config_commands
="$ac_config_commands genmf_executable"
10667 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"
10670 cat >confcache
<<\_ACEOF
10671 # This file is a shell script that caches the results of configure
10672 # tests run on this system so they can be shared between configure
10673 # scripts and configure runs, see configure's option --config-cache.
10674 # It is not useful on other systems. If it contains results you don't
10675 # want to keep, you may remove or edit it.
10677 # config.status only pays attention to the cache file if you give it
10678 # the --recheck option to rerun configure.
10680 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10681 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10682 # following values.
10686 # The following way of writing the cache mishandles newlines in values,
10687 # but we know of no workaround that is simple, portable, and efficient.
10688 # So, we kill variables containing newlines.
10689 # Ultrix sh set writes to stderr and can't be redirected directly,
10690 # and sets the high bit in the cache file unless we assign to the vars.
10692 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10693 eval ac_val
=\$
$ac_var
10697 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10698 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10701 _ | IFS | as_nl
) ;; #(
10702 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10703 *) { eval $ac_var=; unset $ac_var;} ;;
10709 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10710 *${as_nl}ac_space
=\
*)
10711 # `set' does not quote correctly, so add quotes: double-quote
10712 # substitution turns \\\\ into \\, and sed turns \\ into \.
10715 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10718 # `set' quotes correctly as required by POSIX, so do not add quotes.
10719 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10728 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10730 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10732 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10733 if test -w "$cache_file"; then
10734 test "x$cache_file" != "x/dev/null" &&
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10736 $as_echo "$as_me: updating cache $cache_file" >&6;}
10737 cat confcache
>$cache_file
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10740 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10745 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10746 # Let make expand exec_prefix.
10747 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10749 DEFS
=-DHAVE_CONFIG_H
10753 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10754 # 1. Remove the extension, and $U if already installed.
10755 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10756 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10757 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10758 # will be set to the directory where LIBOBJS objects are built.
10759 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10760 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10762 LIBOBJS
=$ac_libobjs
10764 LTLIBOBJS
=$ac_ltlibobjs
10768 : ${CONFIG_STATUS=./config.status}
10770 ac_clean_files_save
=$ac_clean_files
10771 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10773 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10775 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10777 # Generated by $as_me.
10778 # Run this file to recreate the current configuration.
10779 # Compiler output produced by configure, useful for debugging
10780 # configure, is in config.log if it exists.
10783 ac_cs_recheck=false
10786 SHELL=\${CONFIG_SHELL-$SHELL}
10789 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
10790 ## -------------------- ##
10791 ## M4sh Initialization. ##
10792 ## -------------------- ##
10794 # Be more Bourne compatible
10795 DUALCASE
=1; export DUALCASE
# for MKS sh
10796 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
10799 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10800 # is contrary to our usage. Disable this feature.
10801 alias -g '${1+"$@"}'='"$@"'
10802 setopt NO_GLOB_SUBST
10804 case `(set -o) 2>/dev/null` in #(
10816 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10817 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10818 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10819 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10820 # Prefer a ksh shell builtin over an external printf program on Solaris,
10821 # but without wasting forks for bash or zsh.
10822 if test -z "$BASH_VERSION$ZSH_VERSION" \
10823 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10824 as_echo='print
-r --'
10825 as_echo_n='print
-rn --'
10826 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10827 as_echo='printf %s
\n'
10828 as_echo_n='printf %s
'
10830 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10831 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10832 as_echo_n='/usr
/ucb
/echo -n'
10834 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10835 as_echo_n_body='eval
10839 expr "X$arg" : "X\\(.*\\)$as_nl";
10840 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10842 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10844 export as_echo_n_body
10845 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10847 export as_echo_body
10848 as_echo='sh
-c $as_echo_body as_echo
'
10851 # The user is always right.
10852 if test "${PATH_SEPARATOR+set}" != set; then
10854 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10855 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10862 # We need space, tab and new line, in precisely that order. Quoting is
10863 # there to prevent editors from complaining about space-tab.
10864 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10865 # splitting by setting IFS to empty value.)
10868 # Find who we are. Look in the path if we contain no directory separator.
10870 *[\\/]* ) as_myself=$0 ;;
10871 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10872 for as_dir in $PATH
10875 test -z "$as_dir" && as_dir=.
10876 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10882 # We did not find ourselves, most probably we were run as `sh COMMAND'
10883 # in which case we are not to be found in the path.
10884 if test "x$as_myself" = x
; then
10887 if test ! -f "$as_myself"; then
10888 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10892 # Unset variables that we do not need and which cause bugs (e.g. in
10893 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10894 # suppresses any "Segmentation fault" message there. '((' could
10895 # trigger a bug in pdksh 5.2.14.
10896 for as_var
in BASH_ENV ENV MAIL MAILPATH
10897 do eval test x\
${$as_var+set} = xset \
10898 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
10911 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
10914 # as_fn_error ERROR [LINENO LOG_FD]
10915 # ---------------------------------
10916 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10917 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10918 # script with status $?, using 1 if that was 0.
10921 as_status
=$?
; test $as_status -eq 0 && as_status
=1
10923 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
10924 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
10926 $as_echo "$as_me: error: $1" >&2
10927 as_fn_exit
$as_status
10931 # as_fn_set_status STATUS
10932 # -----------------------
10933 # Set $? to STATUS, without forking.
10934 as_fn_set_status
()
10937 } # as_fn_set_status
10939 # as_fn_exit STATUS
10940 # -----------------
10941 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10945 as_fn_set_status
$1
10951 # Portably unset VAR.
10954 { eval $1=; unset $1;}
10956 as_unset
=as_fn_unset
10957 # as_fn_append VAR VALUE
10958 # ----------------------
10959 # Append the text in VALUE to the end of the definition contained in VAR. Take
10960 # advantage of any shell optimizations that allow amortized linear growth over
10961 # repeated appends, instead of the typical quadratic growth present in naive
10963 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
10964 eval 'as_fn_append ()
10975 # as_fn_arith ARG...
10976 # ------------------
10977 # Perform arithmetic evaluation on the ARGs, and store the result in the
10978 # global $as_val. Take advantage of shells that can avoid forks. The arguments
10979 # must be portable across $(()) and expr.
10980 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
10981 eval 'as_fn_arith ()
10988 as_val
=`expr "$@" || test $? -eq 1`
10993 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10994 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
11000 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
11001 as_basename
=basename
11006 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
11012 as_me
=`$as_basename -- "$0" ||
11013 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
11014 X"$0" : 'X\(//\)$' \| \
11015 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
11017 sed '/^.*\/\([^/][^/]*\)\/*$/{
11031 # Avoid depending upon Character Ranges.
11032 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
11033 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
11034 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
11035 as_cr_digits
='0123456789'
11036 as_cr_alnum
=$as_cr_Letters$as_cr_digits
11038 ECHO_C
= ECHO_N
= ECHO_T
=
11039 case `echo -n x` in #(((((
11041 case `echo 'xy\c'` in
11042 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
11044 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
11051 rm -f conf$$ conf$$.exe conf$$.
file
11052 if test -d conf$$.dir
; then
11053 rm -f conf$$.dir
/conf$$.
file
11056 mkdir conf$$.dir
2>/dev
/null
11058 if (echo >conf$$.
file) 2>/dev
/null
; then
11059 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
11061 # ... but there are two gotchas:
11062 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
11063 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
11064 # In both cases, we have to default to `cp -p'.
11065 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
11067 elif ln conf$$.
file conf$$
2>/dev
/null
; then
11075 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
11076 rmdir conf$$.dir
2>/dev
/null
11081 # Create "$as_dir" as a directory, including parents if necessary.
11086 -*) as_dir
=.
/$as_dir;;
11088 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
11092 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
11093 *) as_qdir
=$as_dir;;
11095 as_dirs
="'$as_qdir' $as_dirs"
11096 as_dir
=`$as_dirname -- "$as_dir" ||
11097 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11098 X"$as_dir" : 'X\(//\)[^/]' \| \
11099 X"$as_dir" : 'X\(//\)$' \| \
11100 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
11101 $as_echo X"$as_dir" |
11102 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11106 /^X\(\/\/\)[^/].*/{
11119 test -d "$as_dir" && break
11121 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
11122 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
11126 if mkdir
-p .
2>/dev
/null
; then
11127 as_mkdir_p
='mkdir -p "$as_dir"'
11129 test -d .
/-p && rmdir .
/-p
11133 if test -x / >/dev
/null
2>&1; then
11134 as_test_x
='test -x'
11136 if ls -dL / >/dev
/null
2>&1; then
11143 if test -d "$1"; then
11149 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
11150 ???[sx]*):;;*)false;;esac;fi
11154 as_executable_p
=$as_test_x
11156 # Sed expression to map a string onto a valid CPP name.
11157 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
11159 # Sed expression to map a string onto a valid variable name.
11160 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
11164 ## ----------------------------------- ##
11165 ## Main body of $CONFIG_STATUS script. ##
11166 ## ----------------------------------- ##
11168 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
11170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11171 # Save the log message, to keep $0 and so on meaningful, and to
11172 # report actual input values of CONFIG_FILES etc. instead of their
11173 # values after options handling.
11175 This file was extended by $as_me, which was
11176 generated by GNU Autoconf 2.65. Invocation command line was
11178 CONFIG_FILES = $CONFIG_FILES
11179 CONFIG_HEADERS = $CONFIG_HEADERS
11180 CONFIG_LINKS = $CONFIG_LINKS
11181 CONFIG_COMMANDS = $CONFIG_COMMANDS
11184 on `(hostname || uname -n) 2>/dev/null | sed 1q`
11189 case $ac_config_files in *"
11190 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
11193 case $ac_config_headers in *"
11194 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
11198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11199 # Files that config.status was made for.
11200 config_files="$ac_config_files"
11201 config_headers="$ac_config_headers"
11202 config_commands="$ac_config_commands"
11206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11208 \`$as_me' instantiates files and other configuration actions
11209 from templates according to the current configuration. Unless the files
11210 and actions are specified as TAGs, all are instantiated by default.
11212 Usage: $0 [OPTION]... [TAG]...
11214 -h, --help print this help, then exit
11215 -V, --version print version number and configuration settings, then exit
11216 --config print configuration, then exit
11217 -q, --quiet, --silent
11218 do not print progress messages
11219 -d, --debug don't remove temporary files
11220 --recheck update $as_me by reconfiguring in the same conditions
11221 --file=FILE[:TEMPLATE]
11222 instantiate the configuration file FILE
11223 --header=FILE[:TEMPLATE]
11224 instantiate the configuration header FILE
11226 Configuration files:
11229 Configuration headers:
11232 Configuration commands:
11235 Report bugs to the package provider."
11238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11239 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
11242 configured by $0, generated by GNU Autoconf 2.65,
11243 with options \\"\$ac_cs_config\\"
11245 Copyright (C) 2009 Free Software Foundation, Inc.
11246 This config.status script is free software; the Free Software Foundation
11247 gives unlimited permission to copy, distribute and modify it."
11251 test -n "\$AWK" || AWK=awk
11254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11255 # The default lists apply if the user does not specify any file.
11261 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
11262 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
11273 # Handling of the options.
11274 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
11276 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
11277 $as_echo "$ac_cs_version"; exit ;;
11278 --config |
--confi |
--conf |
--con |
--co |
--c )
11279 $as_echo "$ac_cs_config"; exit ;;
11280 --debug |
--debu |
--deb |
--de |
--d |
-d )
11282 --file |
--fil |
--fi |
--f )
11285 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11287 as_fn_append CONFIG_FILES
" '$ac_optarg'"
11288 ac_need_defaults
=false
;;
11289 --header |
--heade |
--head |
--hea )
11292 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
11294 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
11295 ac_need_defaults
=false
;;
11297 # Conflict between --help and --header
11298 as_fn_error
"ambiguous option: \`$1'
11299 Try \`$0 --help' for more information.";;
11300 --help |
--hel |
-h )
11301 $as_echo "$ac_cs_usage"; exit ;;
11302 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
11303 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
11306 # This is an error.
11307 -*) as_fn_error
"unrecognized option: \`$1'
11308 Try \`$0 --help' for more information." ;;
11310 *) as_fn_append ac_config_targets
" $1"
11311 ac_need_defaults
=false
;;
11317 ac_configure_extra_args
=
11319 if $ac_cs_silent; then
11321 ac_configure_extra_args
="$ac_configure_extra_args --silent"
11325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11326 if \$ac_cs_recheck; then
11327 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
11329 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
11330 CONFIG_SHELL='$SHELL'
11331 export CONFIG_SHELL
11336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11340 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
11341 ## Running $as_me. ##
11347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11352 aros_host_exe_suffix=${aros_host_exe_suffix}
11353 aros_tools_dir=${aros_tools_dir}
11354 aros_target_cpu=${aros_target_cpu}
11355 aros_target_arch=${aros_target_arch}
11356 aros_target_suffix=${aros_target_suffix}
11357 aros_target_nm_ln=${aros_target_nm_ln}
11358 aros_target_as_ln=${aros_target_as_ln}
11359 aros_target_ar_ln=${aros_target_ar_ln}
11360 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11361 aros_target_objdump_ln=${aros_target_objdump_ln}
11362 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11363 aros_target_strip_ln=${aros_target_strip_ln}
11366 aros_scripts_dir=${aros_scripts_dir}
11368 aros_tools_dir=${aros_tools_dir}
11373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11375 # Handling of arguments.
11376 for ac_config_target
in $ac_config_targets
11378 case $ac_config_target in
11379 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11380 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11381 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11382 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11383 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11384 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11385 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11386 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11387 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11388 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11389 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11390 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11391 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11392 "${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" ;;
11393 "${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" ;;
11394 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11395 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11396 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11398 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11403 # If the user did not use the arguments to specify the items to instantiate,
11404 # then the envvar interface is used. Set only those that are not.
11405 # We use the long form for the default assignment because of an extremely
11406 # bizarre bug on SunOS 4.1.3.
11407 if $ac_need_defaults; then
11408 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11409 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11410 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11413 # Have a temporary directory for convenience. Make it in the build tree
11414 # simply because there is no reason against having it here, and in addition,
11415 # creating and moving files from /tmp can sometimes cause problems.
11416 # Hook for its removal unless debugging.
11417 # Note that there is a small window in which the directory will not be cleaned:
11418 # after its creation but before its name has been assigned to `$tmp'.
11422 trap 'exit_status=$?
11423 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11425 trap 'as_fn_exit 1' 1 2 13 15
11427 # Create a (secure) tmp directory for tmp files.
11430 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11431 test -n "$tmp" && test -d "$tmp"
11434 tmp
=.
/conf$$
-$RANDOM
11435 (umask 077 && mkdir
"$tmp")
11436 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11438 # Set up the scripts for CONFIG_FILES section.
11439 # No need to generate them if there are no CONFIG_FILES.
11440 # This happens for instance with `./config.status config.h'.
11441 if test -n "$CONFIG_FILES"; then
11444 ac_cr
=`echo X | tr X '\015'`
11445 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11446 # But we know of no other shell where ac_cr would be empty at this
11447 # point, so we can use a bashism as a fallback.
11448 if test "x$ac_cr" = x
; then
11449 eval ac_cr
=\$
\'\\r
\'
11451 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11452 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11455 ac_cs_awk_cr
=$ac_cr
11458 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11463 echo "cat >conf$$subs.awk <<_ACEOF" &&
11464 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11466 } >conf$$subs.sh ||
11467 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11468 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11470 for ac_last_try in false false false false false :; do
11471 . ./conf$$subs.sh ||
11472 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11474 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11475 if test $ac_delim_n = $ac_delim_num; then
11477 elif $ac_last_try; then
11478 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11480 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11483 rm -f conf$$subs.sh
11485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11486 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11490 s/^/S["/; s
/!.
*/"]=/
11500 s/\(.\{148\}\)..*/\1/
11502 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11507 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11514 s/\(.\{148\}\)..*/\1/
11516 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11520 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11525 ' <conf$$subs.awk | sed '
11530 ' >>$CONFIG_STATUS || ac_write_fail=1
11531 rm -f conf$$subs.awk
11532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11534 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11535 for (key in S) S_is_set[key] = 1
11541 nfields = split(line, field, "@
")
11543 len = length(field[1])
11544 for (i = 2; i < nfields; i++) {
11546 keylen = length(key)
11547 if (S_is_set[key]) {
11549 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11550 len += length(value) + length(field[++i])
11561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11562 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11563 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11566 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11567 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11570 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11571 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11572 # trailing colons and then remove the whole line if VPATH becomes empty
11573 # (actually we leave an empty line to preserve line numbers).
11574 if test "x
$srcdir" = x.; then
11575 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11576 s/:*\$(srcdir):*/:/
11577 s/:*\${srcdir}:*/:/
11579 s/^\([^=]*=[ ]*\):*/\1/
11585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11586 fi # test -n "$CONFIG_FILES"
11588 # Set up the scripts for CONFIG_HEADERS section.
11589 # No need to generate them if there are no CONFIG_HEADERS.
11590 # This happens for instance with `./config.status Makefile'.
11591 if test -n "$CONFIG_HEADERS"; then
11592 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11596 # Transform confdefs.h into an awk script `defines.awk', embedded as
11597 # here-document in config.status, that substitutes the proper values into
11598 # config.h.in to produce config.h.
11600 # Create a delimiter string that does not exist in confdefs.h, to ease
11601 # handling of long lines.
11603 for ac_last_try in false false :; do
11604 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11605 if test -z "$ac_t"; then
11607 elif $ac_last_try; then
11608 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11610 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11614 # For the awk script, D is an array of macro values keyed by name,
11615 # likewise P contains macro parameters if any. Preserve backslash
11616 # newline sequences.
11618 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11620 s/.\{148\}/&'"$ac_delim"'/g
11623 s/^[ ]*#[ ]*define[ ][ ]*/ /
11630 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11632 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11636 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11637 D["\
1"]=" \
3\\\\\\n
"\\/p
11639 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11644 s/.\{148\}/&'"$ac_delim"'/g
11649 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11652 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11654 ' <confdefs.h | sed '
11655 s/'"$ac_delim"'/"\\\
11656 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11658 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11659 for (key in D) D_is_set[key] = 1
11662 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11664 split(line, arg, " ")
11665 if (arg[1] == "#") {
11669 defundef
= substr
(arg
[1], 2)
11672 split(mac1
, mac2
, "(") #)
11674 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11675 if (D_is_set
[macro
]) {
11676 # Preserve the white space surrounding the "#".
11677 print prefix
"define", macro P
[macro
] D
[macro
]
11680 # Replace #undef with comments. This is necessary, for example,
11681 # in the case of _POSIX_SOURCE, which is predefined and required
11682 # on some systems where configure will not decide to define it.
11683 if (defundef
== "undef") {
11684 print
"/*", prefix defundef
, macro
, "*/"
11692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11693 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
11694 fi # test -n "$CONFIG_HEADERS"
11697 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11702 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11704 case $ac_mode$ac_tag in
11706 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
11707 :[FH
]-) ac_tag
=-:-;;
11708 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11725 -) ac_f
="$tmp/stdin";;
11726 *) # Look for the file first in the build tree, then in the source tree
11727 # (if the path is not absolute). The absolute path cannot be DOS-style,
11728 # because $ac_f cannot contain `:'.
11732 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11734 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
11736 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11737 as_fn_append ac_file_inputs
" '$ac_f'"
11740 # Let's still pretend it is `configure' which instantiates (i.e., don't
11741 # use $as_me), people would be surprised to read:
11742 # /* config.h. Generated by config.status. */
11743 configure_input
='Generated from '`
11744 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11746 if test x
"$ac_file" != x-
; then
11747 configure_input
="$ac_file. $configure_input"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11749 $as_echo "$as_me: creating $ac_file" >&6;}
11751 # Neutralize special characters interpreted by sed in replacement strings.
11752 case $configure_input in #(
11753 *\
&* |
*\|
* |
*\\* )
11754 ac_sed_conf_input
=`$as_echo "$configure_input" |
11755 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11756 *) ac_sed_conf_input
=$configure_input;;
11760 *:-:* |
*:-) cat >"$tmp/stdin" \
11761 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
11766 ac_dir
=`$as_dirname -- "$ac_file" ||
11767 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11768 X"$ac_file" : 'X\(//\)[^/]' \| \
11769 X"$ac_file" : 'X\(//\)$' \| \
11770 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11771 $as_echo X"$ac_file" |
11772 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11776 /^X\(\/\/\)[^/].*/{
11789 as_dir
="$ac_dir"; as_fn_mkdir_p
11793 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11795 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11796 # A ".." for each directory in $ac_dir_suffix.
11797 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11798 case $ac_top_builddir_sub in
11799 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11800 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11803 ac_abs_top_builddir
=$ac_pwd
11804 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11805 # for backward compatibility:
11806 ac_top_builddir
=$ac_top_build_prefix
11809 .
) # We are building in place.
11811 ac_top_srcdir
=$ac_top_builddir_sub
11812 ac_abs_top_srcdir
=$ac_pwd ;;
11813 [\\/]* | ?
:[\\/]* ) # Absolute name.
11814 ac_srcdir
=$srcdir$ac_dir_suffix;
11815 ac_top_srcdir
=$srcdir
11816 ac_abs_top_srcdir
=$srcdir ;;
11817 *) # Relative name.
11818 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11819 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11820 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11822 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11834 # If the template does not know about datarootdir, expand it.
11835 # FIXME: This hack should be removed a few years after 2.60.
11836 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11847 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11848 *datarootdir
*) ac_datarootdir_seen
=yes;;
11849 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11851 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11853 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11854 ac_datarootdir_hack='
11855 s&@datadir@&$datadir&g
11856 s&@docdir@&$docdir&g
11857 s&@infodir@&$infodir&g
11858 s&@localedir@&$localedir&g
11859 s&@mandir@&$mandir&g
11860 s&\\\${datarootdir}&$datarootdir&g' ;;
11864 # Neutralize VPATH when `$srcdir' = `.'.
11865 # Shell code in configure.ac might set extrasub.
11866 # FIXME: do we really want to maintain this feature?
11867 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11868 ac_sed_extra="$ac_vpsub
11871 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11873 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11874 s|@configure_input@|
$ac_sed_conf_input|
;t t
11875 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11876 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11877 s
&@srcdir@
&$ac_srcdir&;t t
11878 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11879 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11880 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11881 s
&@builddir@
&$ac_builddir&;t t
11882 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11883 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11884 $ac_datarootdir_hack
11886 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11887 || as_fn_error "could not create
$ac_file" "$LINENO" 5
11889 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11890 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11891 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11893 which seems to be undefined. Please make sure it is defined." >&5
11894 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11895 which seems to be undefined. Please make sure it is defined." >&2;}
11899 -) cat "$tmp/out" && rm -f "$tmp/out";;
11900 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11902 || as_fn_error "could not create $ac_file" "$LINENO" 5
11908 if test x"$ac_file" != x-; then
11910 $as_echo "/* $configure_input */" \
11911 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11912 } >"$tmp/config.h" \
11913 || as_fn_error "could not create $ac_file" "$LINENO" 5
11914 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11916 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11919 mv "$tmp/config.h" "$ac_file" \
11920 || as_fn_error "could not create $ac_file" "$LINENO" 5
11923 $as_echo "/* $configure_input */" \
11924 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11925 || as_fn_error "could not create -" "$LINENO" 5
11929 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11930 $as_echo "$as_me: executing $ac_file commands" >&6;}
11935 case $ac_file$ac_mode in
11936 "compiler_executable":C)
11937 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
11939 prefix="${prefix}/${aros_target_cpu}-aros"
11940 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
11944 chmod a+x ${prefix2}-gcc ${prefix2}-ld
11946 ln -sf ${prefix2}-gcc ${prefix}-gcc
11947 ln -sf ${prefix2}-ld ${prefix}-ld
11949 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
11950 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
11951 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
11952 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
11953 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
11954 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
11955 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
11957 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
11958 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
11959 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
11960 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
11961 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
11962 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
11963 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
11965 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
11966 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
11974 ac_clean_files=$ac_clean_files_save
11976 test $ac_write_fail = 0 ||
11977 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
11980 # configure is writing to config.log, and then calls config.status.
11981 # config.status does its own redirection, appending to config.log.
11982 # Unfortunately, on DOS this fails, as config.log is still kept open
11983 # by configure, so config.status won't be able to
write to it
; its
11984 # output is simply discarded. So we exec the FD to /dev/null,
11985 # effectively closing config.log, so it can be properly (re)opened and
11986 # appended to by config.status. When coming back to configure, we
11987 # need to make the FD available again.
11988 if test "$no_create" != yes; then
11990 ac_config_status_args
=
11991 test "$silent" = yes &&
11992 ac_config_status_args
="$ac_config_status_args --quiet"
11994 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11996 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11997 # would make configure fail if this is the last instruction.
11998 $ac_cs_success || as_fn_exit $?
12000 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
12002 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
12007 #XXX compatability...
12008 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
12010 if test -n "$aros_shared_cflags" ; then
12011 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
12012 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg