2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print
-rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x
; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var
in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\
${$as_var+set} = xset \
119 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
132 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x
; then
135 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required
="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev
/null
; then :
178 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
183 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir
=.
190 for as_base
in sh bash ksh sh5
; do
191 # Try only shells that exist, to save several forks.
192 as_shell
=$as_dir/$as_base
193 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
195 CONFIG_SHELL
=$as_shell as_have_required
=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
204 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
206 CONFIG_SHELL
=$SHELL as_have_required
=yes
211 if test "x$CONFIG_SHELL" != x
; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x
$as_have_required = xno
; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x
${ZSH_VERSION+set} = xset
; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL
=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE
= GREP_OPTIONS
=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir
=.
/$as_dir;;
283 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
287 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs
="'$as_qdir' $as_dirs"
291 as_dir
=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
317 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
352 as_val
=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status
=$?
; test $as_status -eq 0 && as_status
=1
366 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit
$as_status
373 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
380 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
392 as_me
=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits
='0123456789'
416 as_cr_alnum
=$as_cr_Letters$as_cr_digits
419 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
420 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x
"$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C
= ECHO_N
= ECHO_T
=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
463 rm -f conf$$ conf$$.exe conf$$.
file
464 if test -d conf$$.dir
; then
465 rm -f conf$$.dir
/conf$$.
file
468 mkdir conf$$.dir
2>/dev
/null
470 if (echo >conf$$.
file) 2>/dev
/null
; then
471 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
479 elif ln conf$$.
file conf$$
2>/dev
/null
; then
487 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
488 rmdir conf$$.dir
2>/dev
/null
490 if mkdir
-p .
2>/dev
/null
; then
491 as_mkdir_p
='mkdir -p "$as_dir"'
493 test -d .
/-p && rmdir .
/-p
497 if test -x / >/dev
/null
2>&1; then
500 if ls -dL / >/dev
/null
2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p
=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev
/null
6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix
=/usr
/local
539 ac_config_libobj_dir
=.
546 # Identity of this package.
554 ac_unique_file
="mmakefile"
555 # Factoring default headers for most tests.
556 ac_includes_default
="\
558 #ifdef HAVE_SYS_TYPES_H
559 # include <sys/types.h>
561 #ifdef HAVE_SYS_STAT_H
562 # include <sys/stat.h>
568 # ifdef HAVE_STDLIB_H
573 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
578 #ifdef HAVE_STRINGS_H
579 # include <strings.h>
581 #ifdef HAVE_INTTYPES_H
582 # include <inttypes.h>
591 ac_subst_vars
='LTLIBOBJS
593 ignore_undefined_symbols
604 aros_nesting_supervisor
610 aros_host_x11_libdirs
611 aros_host_x11_includes
615 aros_default_wbheight
619 aros_target_strip_flags
642 aros_target_cc_includes
655 aros_target_bootloader
682 aros_cflags_iquote_end
684 kernel_cflags_iquote_end
686 host_cflags_iquote_end
688 aros_target_nostdlib_ldflags
689 aros_target_detach_ldflags
690 aros_target_nix_ldflags
691 aros_target_nostartup_ldflags
692 aros_target_nostdinc_cflags
695 aros_target_ranlib_ln
696 aros_target_objdump_ln
697 aros_target_objcopy_ln
791 program_transform_name
804 enable_option_checking
811 enable_target_variant
820 enable_palm_debug_hack
821 enable_nesting_supervisor
832 ac_precious_vars
='build_alias
844 # Initialize some variables set by options.
846 ac_init_version
=false
847 ac_unrecognized_opts
=
849 # The variables have the same names as the options, with
850 # dashes changed to underlines.
858 program_transform_name
=s
,x
,x
,
866 # Installation directory options.
867 # These are left unexpanded so users can "make install exec_prefix=/foo"
868 # and all the variables that are supposed to be based on exec_prefix
869 # by default will actually change.
870 # Use braces instead of parens because sh, perl, etc. also accept them.
871 # (The list follows the same order as the GNU Coding Standards.)
872 bindir
='${exec_prefix}/bin'
873 sbindir
='${exec_prefix}/sbin'
874 libexecdir
='${exec_prefix}/libexec'
875 datarootdir
='${prefix}/share'
876 datadir
='${datarootdir}'
877 sysconfdir
='${prefix}/etc'
878 sharedstatedir
='${prefix}/com'
879 localstatedir
='${prefix}/var'
880 includedir
='${prefix}/include'
881 oldincludedir
='/usr/include'
882 docdir
='${datarootdir}/doc/${PACKAGE}'
883 infodir
='${datarootdir}/info'
888 libdir
='${exec_prefix}/lib'
889 localedir
='${datarootdir}/locale'
890 mandir
='${datarootdir}/man'
896 # If the previous option needs an argument, assign it.
897 if test -n "$ac_prev"; then
898 eval $ac_prev=\
$ac_option
904 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=no
;;
962 -docdir |
--docdir |
--docdi |
--doc |
--do)
964 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
967 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
969 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
972 -enable-* |
--enable-*)
973 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
976 as_fn_error
"invalid feature name: $ac_useropt"
977 ac_useropt_orig
=$ac_useropt
978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep
=', ';;
986 eval enable_
$ac_useropt=\
$ac_optarg ;;
988 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
989 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
990 |
--exec |
--exe |
--ex)
991 ac_prev
=exec_prefix
;;
992 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
993 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
994 |
--exec=* |
--exe=* |
--ex=*)
995 exec_prefix
=$ac_optarg ;;
997 -gas |
--gas |
--ga |
--g)
998 # Obsolete; use --with-gas.
1001 -help |
--help |
--hel |
--he |
-h)
1002 ac_init_help
=long
;;
1003 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1004 ac_init_help
=recursive
;;
1005 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1006 ac_init_help
=short
;;
1008 -host |
--host |
--hos |
--ho)
1009 ac_prev
=host_alias
;;
1010 -host=* |
--host=* |
--hos=* |
--ho=*)
1011 host_alias
=$ac_optarg ;;
1013 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1015 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1017 htmldir
=$ac_optarg ;;
1019 -includedir |
--includedir |
--includedi |
--included |
--include \
1020 |
--includ |
--inclu |
--incl |
--inc)
1021 ac_prev
=includedir
;;
1022 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1023 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1024 includedir
=$ac_optarg ;;
1026 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1028 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1029 infodir
=$ac_optarg ;;
1031 -libdir |
--libdir |
--libdi |
--libd)
1033 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1034 libdir
=$ac_optarg ;;
1036 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1037 |
--libexe |
--libex |
--libe)
1038 ac_prev
=libexecdir
;;
1039 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1040 |
--libexe=* |
--libex=* |
--libe=*)
1041 libexecdir
=$ac_optarg ;;
1043 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1044 ac_prev
=localedir
;;
1045 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1046 localedir
=$ac_optarg ;;
1048 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1049 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1050 ac_prev
=localstatedir
;;
1051 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1052 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1053 localstatedir
=$ac_optarg ;;
1055 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1057 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1058 mandir
=$ac_optarg ;;
1060 -nfp |
--nfp |
--nf)
1061 # Obsolete; use --without-fp.
1064 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1065 |
--no-cr |
--no-c |
-n)
1068 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1069 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1072 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1073 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1074 |
--oldin |
--oldi |
--old |
--ol |
--o)
1075 ac_prev
=oldincludedir
;;
1076 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1077 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1078 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1079 oldincludedir
=$ac_optarg ;;
1081 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1083 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1084 prefix
=$ac_optarg ;;
1086 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1087 |
--program-pre |
--program-pr |
--program-p)
1088 ac_prev
=program_prefix
;;
1089 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1090 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1091 program_prefix
=$ac_optarg ;;
1093 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1094 |
--program-suf |
--program-su |
--program-s)
1095 ac_prev
=program_suffix
;;
1096 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1097 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1098 program_suffix
=$ac_optarg ;;
1100 -program-transform-name |
--program-transform-name \
1101 |
--program-transform-nam |
--program-transform-na \
1102 |
--program-transform-n |
--program-transform- \
1103 |
--program-transform |
--program-transfor \
1104 |
--program-transfo |
--program-transf \
1105 |
--program-trans |
--program-tran \
1106 |
--progr-tra |
--program-tr |
--program-t)
1107 ac_prev
=program_transform_name
;;
1108 -program-transform-name=* |
--program-transform-name=* \
1109 |
--program-transform-nam=* |
--program-transform-na=* \
1110 |
--program-transform-n=* |
--program-transform-=* \
1111 |
--program-transform=* |
--program-transfor=* \
1112 |
--program-transfo=* |
--program-transf=* \
1113 |
--program-trans=* |
--program-tran=* \
1114 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1115 program_transform_name
=$ac_optarg ;;
1117 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1119 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1120 pdfdir
=$ac_optarg ;;
1122 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1124 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1128 |
-silent |
--silent |
--silen |
--sile |
--sil)
1131 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1133 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1135 sbindir
=$ac_optarg ;;
1137 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1138 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1139 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1141 ac_prev
=sharedstatedir
;;
1142 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1143 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1144 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1146 sharedstatedir
=$ac_optarg ;;
1148 -site |
--site |
--sit)
1150 -site=* |
--site=* |
--sit=*)
1153 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1155 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1156 srcdir
=$ac_optarg ;;
1158 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1159 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1160 ac_prev
=sysconfdir
;;
1161 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1162 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1163 sysconfdir
=$ac_optarg ;;
1165 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1166 ac_prev
=target_alias
;;
1167 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1168 target_alias
=$ac_optarg ;;
1170 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1173 -version |
--version |
--versio |
--versi |
--vers |
-V)
1174 ac_init_version
=: ;;
1177 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) as_fn_error
"unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information."
1231 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1235 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error
"missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1271 # Remove trailing slashes.
1274 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\
$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$
]* | ?
:[\\/]* ) continue;;
1280 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1282 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target
=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x
; then
1294 if test "x$build_alias" = x
; then
1295 cross_compiling
=maybe
1296 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1297 If a cross compiler is detected then cross compile mode will be used." >&2
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures this package to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --x-includes=DIR X include files are
in DIR
1442 --x-libraries=DIR X library files are
in DIR
1445 --build=BUILD configure
for building on BUILD
[guessed
]
1446 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1450 if test -n "$ac_init_help"; then
1455 --disable-option-checking ignore unrecognized
--enable/--with options
1456 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1457 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1458 --enable-build-type=TYPE
1459 Select the build
type. Available types are
:
1460 personal
, nightly
, snapshot
, milestone
, release. Do
1461 NOT use this option unless you know what you are
1462 doing
! (default
=personal
)
1463 --enable-debug=list Enable different types of debug. Commas or
1464 whitespaces can be used to separate the items
in the
1465 list. Available types of debug are
: all
, none
,
1466 messages
, stack
, mungwall
, modules
, symbols. If no
1467 list is provided
then "all" is assumed.
1469 --enable-crosstools Build cross-compiler toolchains
if necessary
1471 --enable-distcc Use distcc as a front end to the compiler
1473 --enable-ccache Use ccache as a front end to the compiler
1475 --enable-target-variant=NAME
1476 Enable a specific target variant
(default
=none
)
1477 --enable-includes=dir Alternative system include directory
1478 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
1480 --enable-palm-debug-hack
1481 Enable palm debug output hack
in palm native
1483 --enable-nesting-supervisor
1484 Enable nesting supervisor support
in unix
1486 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
1487 --enable-x11-shm use X11 shared memory
(default
=auto
)
1488 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
1489 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
1490 --disable-sdltest Do not try to compile and run a
test SDL program
1491 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
1494 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1495 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1496 --with-optimization=FLAGS
1497 Use optimization flags FLAGS
(default
=-O2).
1498 --with-portssources=DIR Where to download sourcecode
for external ports
1499 --with-bootloader=NAME Use a specific bootloader
1500 --with-iconset=NAME Use a specific Icon-set
(default
=Gorilla
).
1501 --with-theme=NAME Use a specific GUI Theme
1502 --with-resolution=XRESxYRESxDEPTH
1503 Default resolution of the initial WorkbenchScreen
1504 --with-serial-debug Enable serial debug output
in native
(default
=no
)
1505 --with-x use the X Window System
1506 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
1507 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
1509 Some influential environment variables
:
1510 CC C compiler
command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1513 nonstandard directory
<lib dir
>
1514 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1515 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1516 you have headers
in a nonstandard directory
<include dir
>
1518 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1520 Use these variables to override the choices made by
`configure' or to help
1521 it to find libraries and programs with nonstandard names/locations.
1523 Report bugs to the package provider.
1528 if test "$ac_init_help" = "recursive"; then
1529 # If there are subdirs, report their specific --help.
1530 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1531 test -d "$ac_dir" ||
1532 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1537 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1539 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1540 # A ".." for each directory in $ac_dir_suffix.
1541 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1542 case $ac_top_builddir_sub in
1543 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1544 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1547 ac_abs_top_builddir=$ac_pwd
1548 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1549 # for backward compatibility:
1550 ac_top_builddir=$ac_top_build_prefix
1553 .) # We are building in place.
1555 ac_top_srcdir=$ac_top_builddir_sub
1556 ac_abs_top_srcdir=$ac_pwd ;;
1557 [\\/]* | ?:[\\/]* ) # Absolute name.
1558 ac_srcdir=$srcdir$ac_dir_suffix;
1559 ac_top_srcdir=$srcdir
1560 ac_abs_top_srcdir=$srcdir ;;
1562 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1563 ac_top_srcdir=$ac_top_build_prefix$srcdir
1564 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1566 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1568 cd "$ac_dir" || { ac_status=$?; continue; }
1569 # Check for guested configure.
1570 if test -f "$ac_srcdir/configure.gnu"; then
1572 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1573 elif test -f "$ac_srcdir/configure"; then
1575 $SHELL "$ac_srcdir/configure" --help=recursive
1577 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1579 cd "$ac_pwd" || { ac_status=$?; break; }
1583 test -n "$ac_init_help" && exit $ac_status
1584 if $ac_init_version; then
1587 generated by GNU Autoconf 2.64
1589 Copyright (C) 2009 Free Software Foundation, Inc.
1590 This configure script is free software; the Free Software Foundation
1591 gives unlimited permission to copy, distribute and modify it.
1596 ## ------------------------ ##
1597 ## Autoconf initialization. ##
1598 ## ------------------------ ##
1600 # ac_fn_c_try_compile LINENO
1601 # --------------------------
1602 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1603 ac_fn_c_try_compile ()
1605 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1606 rm -f conftest.$ac_objext
1607 if { { ac_try="$ac_compile"
1609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1610 *) ac_try_echo
=$ac_try;;
1612 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_compile") 2>conftest.err
1616 if test -s conftest.err
; then
1617 grep -v '^ *+' conftest.err
>conftest.er1
1618 cat conftest.er1
>&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } && {
1623 test -z "$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1625 } && test -s conftest.
$ac_objext; then :
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.
$ac_ext >&5
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1636 } # ac_fn_c_try_compile
1638 # ac_fn_c_try_cpp LINENO
1639 # ----------------------
1640 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1643 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1644 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1646 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1647 *) ac_try_echo=$ac_try;;
1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1650 $as_echo "$ac_try_echo"; } >&5
1651 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1653 if test -s conftest.err; then
1654 grep -v '^ *+' conftest.err >conftest.er1
1655 cat conftest.er1 >&5
1656 mv -f conftest.er1 conftest.err
1658 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1659 test $ac_status = 0; } >/dev/null && {
1660 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1661 test ! -s conftest.err
1665 $as_echo "$as_me: failed program was:" >&5
1666 sed 's/^/| /' conftest.$ac_ext >&5
1670 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1675 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1676 # -------------------------------------------------------
1677 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1678 # the include files in INCLUDES and setting the cache variable VAR
1680 ac_fn_c_check_header_mongrel ()
1682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1683 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1685 $as_echo_n "checking for $2... " >&6; }
1686 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1687 $as_echo_n "(cached) " >&6
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1691 $as_echo "$ac_res" >&6; }
1693 # Is the header compilable?
1694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1695 $as_echo_n "checking $2 usability... " >&6; }
1696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1697 /* end confdefs.h. */
1701 if ac_fn_c_try_compile "$LINENO"; then :
1702 ac_header_compiler=yes
1704 ac_header_compiler=no
1706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1708 $as_echo "$ac_header_compiler" >&6; }
1710 # Is the header present?
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1712 $as_echo_n "checking $2 presence... " >&6; }
1713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714 /* end confdefs.h. */
1717 if ac_fn_c_try_cpp "$LINENO"; then :
1718 ac_header_preproc=yes
1720 ac_header_preproc=no
1722 rm -f conftest.err conftest.$ac_ext
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1724 $as_echo "$ac_header_preproc" >&6; }
1726 # So? What about this header?
1727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1730 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1732 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1736 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1738 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1740 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1742 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1744 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1748 $as_echo_n "checking for $2... " >&6; }
1749 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1750 $as_echo_n "(cached) " >&6
1752 eval "$3=\$ac_header_compiler"
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1756 $as_echo "$ac_res" >&6; }
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1760 } # ac_fn_c_check_header_mongrel
1762 # ac_fn_c_try_run LINENO
1763 # ----------------------
1764 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1765 # that executables *can* be run.
1768 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1769 if { { ac_try="$ac_link"
1771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1772 *) ac_try_echo
=$ac_try;;
1774 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1775 $as_echo "$ac_try_echo"; } >&5
1776 (eval "$ac_link") 2>&5
1778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1779 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1780 { { case "(($ac_try" in
1781 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1782 *) ac_try_echo=$ac_try;;
1784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1785 $as_echo "$ac_try_echo"; } >&5
1786 (eval "$ac_try") 2>&5
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; }; }; then :
1792 $as_echo "$as_me: program exited with status $ac_status" >&5
1793 $as_echo "$as_me: failed program was:" >&5
1794 sed 's/^/| /' conftest.$ac_ext >&5
1796 ac_retval=$ac_status
1798 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1804 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1805 # -------------------------------------------------------
1806 # Tests whether HEADER exists and can be compiled using the include files in
1807 # INCLUDES, setting the cache variable VAR accordingly.
1808 ac_fn_c_check_header_compile ()
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1812 $as_echo_n "checking for $2... " >&6; }
1813 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1814 $as_echo_n "(cached) " >&6
1816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1821 if ac_fn_c_try_compile "$LINENO"; then :
1826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1830 $as_echo "$ac_res" >&6; }
1831 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1833 } # ac_fn_c_check_header_compile
1835 # ac_fn_c_try_link LINENO
1836 # -----------------------
1837 # Try to link conftest.$ac_ext, and return whether this succeeded.
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 rm -f conftest.$ac_objext conftest$ac_exeext
1842 if { { ac_try="$ac_link"
1844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1845 *) ac_try_echo
=$ac_try;;
1847 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1848 $as_echo "$ac_try_echo"; } >&5
1849 (eval "$ac_link") 2>conftest.err
1851 if test -s conftest.err
; then
1852 grep -v '^ *+' conftest.err
>conftest.er1
1853 cat conftest.er1
>&5
1854 mv -f conftest.er1 conftest.err
1856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1857 test $ac_status = 0; } && {
1858 test -z "$ac_c_werror_flag" ||
1859 test ! -s conftest.err
1860 } && test -s conftest
$ac_exeext && {
1861 test "$cross_compiling" = yes ||
1862 $as_test_x conftest
$ac_exeext
1866 $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.
$ac_ext >&5
1871 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1872 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1873 # interfere with the next link command; also delete a directory that is
1874 # left behind by Apple's compiler. We do this before executing the actions.
1875 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1876 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1879 } # ac_fn_c_try_link
1881 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1882 # ----------------------------------------------------
1883 # Tries to find if the field MEMBER exists in type AGGR, after including
1884 # INCLUDES, setting cache variable VAR accordingly.
1885 ac_fn_c_check_member
()
1887 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1889 $as_echo_n "checking for $2.$3... " >&6; }
1890 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1891 $as_echo_n "(cached) " >&6
1893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1894 /* end confdefs.h. */
1906 if ac_fn_c_try_compile
"$LINENO"; then :
1909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1910 /* end confdefs.h. */
1916 if (sizeof ac_aggr.$3)
1922 if ac_fn_c_try_compile
"$LINENO"; then :
1927 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1929 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1933 $as_echo "$ac_res" >&6; }
1934 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1936 } # ac_fn_c_check_member
1938 # ac_fn_c_check_decl LINENO SYMBOL VAR
1939 # ------------------------------------
1940 # Tests whether SYMBOL is declared, setting cache variable VAR accordingly.
1941 ac_fn_c_check_decl
()
1943 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $2 is declared" >&5
1945 $as_echo_n "checking whether $2 is declared... " >&6; }
1946 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1947 $as_echo_n "(cached) " >&6
1949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1963 if ac_fn_c_try_compile
"$LINENO"; then :
1968 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1975 } # ac_fn_c_check_decl
1977 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1978 # -------------------------------------------
1979 # Tests whether TYPE exists after having included INCLUDES, setting cache
1980 # variable VAR accordingly.
1981 ac_fn_c_check_type
()
1983 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1985 $as_echo_n "checking for $2... " >&6; }
1986 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1987 $as_echo_n "(cached) " >&6
1990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1991 /* end confdefs.h. */
2002 if ac_fn_c_try_compile
"$LINENO"; then :
2003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2015 if ac_fn_c_try_compile
"$LINENO"; then :
2020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2022 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2026 $as_echo "$ac_res" >&6; }
2027 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2029 } # ac_fn_c_check_type
2031 # ac_fn_c_check_func LINENO FUNC VAR
2032 # ----------------------------------
2033 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2034 ac_fn_c_check_func
()
2036 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2038 $as_echo_n "checking for $2... " >&6; }
2039 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2040 $as_echo_n "(cached) " >&6
2042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2043 /* end confdefs.h. */
2044 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2046 #define $2 innocuous_$2
2048 /* System header to define __stub macros and hopefully few prototypes,
2049 which can conflict with char $2 (); below.
2050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2051 <limits.h> exists even on freestanding compilers. */
2054 # include <limits.h>
2056 # include <assert.h>
2061 /* Override any GCC internal prototype to avoid an error.
2062 Use char because int might match the return type of a GCC
2063 builtin and then its argument prototype would still apply. */
2068 /* The GNU C library defines this for functions which it implements
2069 to always fail with ENOSYS. Some functions are actually named
2070 something starting with __ and the normal name is an alias. */
2071 #if defined __stub_$2 || defined __stub___$2
2083 if ac_fn_c_try_link
"$LINENO"; then :
2088 rm -f core conftest.err conftest.
$ac_objext \
2089 conftest
$ac_exeext conftest.
$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2093 $as_echo "$ac_res" >&6; }
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2096 } # ac_fn_c_check_func
2097 cat >config.log
<<_ACEOF
2098 This file contains any messages produced by compilers while
2099 running configure, to aid debugging if configure makes a mistake.
2101 It was created by $as_me, which was
2102 generated by GNU Autoconf 2.64. Invocation command line was
2114 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2115 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2116 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2117 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2118 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2120 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2121 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2123 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2124 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2125 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2126 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2127 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2128 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2129 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2137 test -z "$as_dir" && as_dir
=.
2138 $as_echo "PATH: $as_dir"
2154 # Keep a trace of the command line.
2155 # Strip out --no-create and --no-recursion so they do not pile up.
2156 # Strip out --silent because we don't want to record it for future runs.
2157 # Also quote any args containing shell meta-characters.
2158 # Make two passes to allow for proper duplicate-argument suppression.
2162 ac_must_keep_next
=false
2168 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2169 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2170 |
-silent |
--silent |
--silen |
--sile |
--sil)
2173 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2176 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2178 as_fn_append ac_configure_args1
" '$ac_arg'"
2179 if test $ac_must_keep_next = true
; then
2180 ac_must_keep_next
=false
# Got value, back to normal.
2183 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2184 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2185 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2186 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2187 case "$ac_configure_args0 " in
2188 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2191 -* ) ac_must_keep_next
=true
;;
2194 as_fn_append ac_configure_args
" '$ac_arg'"
2199 { ac_configure_args0
=; unset ac_configure_args0
;}
2200 { ac_configure_args1
=; unset ac_configure_args1
;}
2202 # When interrupted or exit'd, cleanup temporary files, and complete
2203 # config.log. We remove comments because anyway the quotes in there
2204 # would cause problems or look ugly.
2205 # WARNING: Use '\'' to represent an apostrophe within the trap.
2206 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2207 trap 'exit_status=$?
2208 # Save into config.log some information that might help in debugging.
2213 ## ---------------- ##
2214 ## Cache variables. ##
2215 ## ---------------- ##
2218 # The following way of writing the cache mishandles newlines in values,
2220 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2221 eval ac_val=\$$ac_var
2225 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2226 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2229 _ | IFS | as_nl) ;; #(
2230 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2231 *) { eval $ac_var=; unset $ac_var;} ;;
2236 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2237 *${as_nl}ac_space=\ *)
2239 "s/'\''/'\''\\\\'\'''\''/g;
2240 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2243 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2251 ## ----------------- ##
2252 ## Output variables. ##
2253 ## ----------------- ##
2256 for ac_var in $ac_subst_vars
2258 eval ac_val=\$$ac_var
2260 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 $as_echo "$ac_var='\''$ac_val'\''"
2266 if test -n "$ac_subst_files"; then
2268 ## ------------------- ##
2269 ## File substitutions. ##
2270 ## ------------------- ##
2273 for ac_var
in $ac_subst_files
2275 eval ac_val
=\$
$ac_var
2277 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2279 $as_echo "$ac_var='\''$ac_val'\''"
2284 if test -s confdefs.h; then
2294 test "$ac_signal" != 0 &&
2295 $as_echo "$as_me: caught signal $ac_signal"
2296 $as_echo "$as_me: exit $exit_status"
2298 rm -f core *.core core.conftest.* &&
2299 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2302 for ac_signal
in 1 2 13 15; do
2303 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2307 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2308 rm -f -r conftest
* confdefs.h
2310 $as_echo "/* confdefs.h */" > confdefs.h
2312 # Predefined preprocessor variables.
2314 cat >>confdefs.h
<<_ACEOF
2315 #define PACKAGE_NAME "$PACKAGE_NAME"
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2322 cat >>confdefs.h
<<_ACEOF
2323 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_STRING "$PACKAGE_STRING"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2334 cat >>confdefs.h
<<_ACEOF
2335 #define PACKAGE_URL "$PACKAGE_URL"
2339 # Let the site file select an alternate cache file if it wants to.
2340 # Prefer an explicitly selected file to automatically selected ones.
2343 if test -n "$CONFIG_SITE"; then
2344 ac_site_file1
=$CONFIG_SITE
2345 elif test "x$prefix" != xNONE
; then
2346 ac_site_file1
=$prefix/share
/config.site
2347 ac_site_file2
=$prefix/etc
/config.site
2349 ac_site_file1
=$ac_default_prefix/share
/config.site
2350 ac_site_file2
=$ac_default_prefix/etc
/config.site
2352 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2354 test "x$ac_site_file" = xNONE
&& continue
2355 if test -r "$ac_site_file"; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2357 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2358 sed 's/^/| /' "$ac_site_file" >&5
2363 if test -r "$cache_file"; then
2364 # Some versions of bash will fail to source /dev/null (special
2365 # files actually), so we avoid doing that.
2366 if test -f "$cache_file"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2368 $as_echo "$as_me: loading cache $cache_file" >&6;}
2370 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2371 *) .
"./$cache_file";;
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2376 $as_echo "$as_me: creating cache $cache_file" >&6;}
2380 # Check that the precious variables saved in the cache have kept the same
2382 ac_cache_corrupted
=false
2383 for ac_var
in $ac_precious_vars; do
2384 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2385 eval ac_new_set
=\
$ac_env_${ac_var}_set
2386 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2387 eval ac_new_val
=\
$ac_env_${ac_var}_value
2388 case $ac_old_set,$ac_new_set in
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2391 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2392 ac_cache_corrupted
=: ;;
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2395 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2396 ac_cache_corrupted
=: ;;
2399 if test "x$ac_old_val" != "x$ac_new_val"; then
2400 # differences in whitespace do not lead to failure.
2401 ac_old_val_w
=`echo x $ac_old_val`
2402 ac_new_val_w
=`echo x $ac_new_val`
2403 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2405 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2406 ac_cache_corrupted
=:
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2409 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2410 eval $ac_var=\
$ac_old_val
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2413 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2415 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2418 # Pass precious variables to config.status.
2419 if test "$ac_new_set" = set; then
2421 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2422 *) ac_arg
=$ac_var=$ac_new_val ;;
2424 case " $ac_configure_args " in
2425 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2426 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2430 if $ac_cache_corrupted; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2434 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2435 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2437 ## -------------------- ##
2438 ## Main body of script. ##
2439 ## -------------------- ##
2442 ac_cpp
='$CPP $CPPFLAGS'
2443 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2444 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2445 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2450 for ac_dir
in scripts
/autoconf
"$srcdir"/scripts
/autoconf
; do
2451 for ac_t
in install-sh
install.sh shtool
; do
2452 if test -f "$ac_dir/$ac_t"; then
2454 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2459 if test -z "$ac_aux_dir"; then
2460 as_fn_error
"cannot find install-sh, install.sh, or shtool in scripts/autoconf \"$srcdir\"/scripts/autoconf" "$LINENO" 5
2463 # These three variables are undocumented and unsupported,
2464 # and are intended to be withdrawn in a future Autoconf release.
2465 # They can cause serious problems if a builder's source tree is in a directory
2466 # whose full name contains unusual characters.
2467 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2468 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2469 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2473 # Check what host we are running on.
2474 # If a target is not suggested, we use this one.
2475 # Note that what we call a target, Autoconf calls a host.
2476 # Make sure we can run config.sub.
2477 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2478 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2481 $as_echo_n "checking build system type... " >&6; }
2482 if test "${ac_cv_build+set}" = set; then :
2483 $as_echo_n "(cached) " >&6
2485 ac_build_alias
=$build_alias
2486 test "x$ac_build_alias" = x
&&
2487 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2488 test "x$ac_build_alias" = x
&&
2489 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2490 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2491 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2495 $as_echo "$ac_cv_build" >&6; }
2496 case $ac_cv_build in
2498 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2501 ac_save_IFS
=$IFS; IFS
='-'
2507 # Remember, the first character of IFS is used to create $*,
2508 # except with old shells:
2511 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2515 $as_echo_n "checking host system type... " >&6; }
2516 if test "${ac_cv_host+set}" = set; then :
2517 $as_echo_n "(cached) " >&6
2519 if test "x$host_alias" = x
; then
2520 ac_cv_host
=$ac_cv_build
2522 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2523 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2528 $as_echo "$ac_cv_host" >&6; }
2531 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2534 ac_save_IFS
=$IFS; IFS
='-'
2540 # Remember, the first character of IFS is used to create $*,
2541 # except with old shells:
2544 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2548 # The AROS target is slightly different to the normal GNU style
2549 # format. We don't have the middle part, and we reverse the order
2550 # of the $(CPU) and $(OS) bits.
2552 # Don't strip the version of the target yet, it might be
2553 # useful on some systems.
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AROS style target" >&5
2556 $as_echo_n "checking for AROS style target... " >&6; }
2558 if test "$target" = "NONE" ; then
2559 target
=$host_os-$host_cpu
2562 if test "$target" = "" ; then
2563 target
=$host_os-$host_cpu
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target" >&5
2570 $as_echo "$target" >&6; }
2572 if test "$host_os" = "mingw32" ; then
2576 #don't know where else to put this...
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Building AROS in .. " >&5
2578 $as_echo_n "checking Building AROS in .. ... " >&6; }
2579 AROS_BUILDDIR
=`${PWDCMD-pwd}`
2580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_BUILDDIR" >&5
2581 $as_echo "$AROS_BUILDDIR" >&6; }
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking AROS Source in .. " >&5
2584 $as_echo_n "checking AROS Source in .. ... " >&6; }
2585 srcpwd
=`cd ${srcdir} ; ${PWDCMD-pwd}`
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SRCDIR" >&5
2588 $as_echo "$SRCDIR" >&6; }
2590 # Parse the target field into something useful.
2592 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
2593 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
2596 aros_default_wbwidth
=800
2597 aros_default_wbheight
=600
2598 aros_default_wbdepth
=4
2601 # The first step is to find the host binaries.
2602 # Check for a compiler.
2604 ac_cpp
='$CPP $CPPFLAGS'
2605 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2606 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2607 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2608 if test -n "$ac_tool_prefix"; then
2609 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2610 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2612 $as_echo_n "checking for $ac_word... " >&6; }
2613 if test "${ac_cv_prog_CC+set}" = set; then :
2614 $as_echo_n "(cached) " >&6
2616 if test -n "$CC"; then
2617 ac_cv_prog_CC
="$CC" # Let the user override the test.
2619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir
=.
2624 for ac_exec_ext
in '' $ac_executable_extensions; do
2625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2626 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2637 if test -n "$CC"; then
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2639 $as_echo "$CC" >&6; }
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2642 $as_echo "no" >&6; }
2647 if test -z "$ac_cv_prog_CC"; then
2649 # Extract the first word of "gcc", so it can be a program name with args.
2650 set dummy gcc
; ac_word
=$2
2651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2652 $as_echo_n "checking for $ac_word... " >&6; }
2653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2654 $as_echo_n "(cached) " >&6
2656 if test -n "$ac_ct_CC"; then
2657 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2663 test -z "$as_dir" && as_dir
=.
2664 for ac_exec_ext
in '' $ac_executable_extensions; do
2665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2666 ac_cv_prog_ac_ct_CC
="gcc"
2667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2676 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2677 if test -n "$ac_ct_CC"; then
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2679 $as_echo "$ac_ct_CC" >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2682 $as_echo "no" >&6; }
2685 if test "x$ac_ct_CC" = x
; then
2688 case $cross_compiling:$ac_tool_warned in
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2691 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2692 ac_tool_warned
=yes ;;
2700 if test -z "$CC"; then
2701 if test -n "$ac_tool_prefix"; then
2702 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2703 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2705 $as_echo_n "checking for $ac_word... " >&6; }
2706 if test "${ac_cv_prog_CC+set}" = set; then :
2707 $as_echo_n "(cached) " >&6
2709 if test -n "$CC"; then
2710 ac_cv_prog_CC
="$CC" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2719 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 if test -n "$CC"; then
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2732 $as_echo "$CC" >&6; }
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2735 $as_echo "no" >&6; }
2741 if test -z "$CC"; then
2742 # Extract the first word of "cc", so it can be a program name with args.
2743 set dummy cc
; ac_word
=$2
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2745 $as_echo_n "checking for $ac_word... " >&6; }
2746 if test "${ac_cv_prog_CC+set}" = set; then :
2747 $as_echo_n "(cached) " >&6
2749 if test -n "$CC"; then
2750 ac_cv_prog_CC
="$CC" # Let the user override the test.
2753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2757 test -z "$as_dir" && as_dir
=.
2758 for ac_exec_ext
in '' $ac_executable_extensions; do
2759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2760 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2761 ac_prog_rejected
=yes
2765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2772 if test $ac_prog_rejected = yes; then
2773 # We found a bogon in the path, so make sure we never use it.
2774 set dummy
$ac_cv_prog_CC
2776 if test $# != 0; then
2777 # We chose a different compiler from the bogus one.
2778 # However, it has the same basename, so the bogon will be chosen
2779 # first if we set CC to just the basename; use the full file name.
2781 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2787 if test -n "$CC"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2789 $as_echo "$CC" >&6; }
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2792 $as_echo "no" >&6; }
2797 if test -z "$CC"; then
2798 if test -n "$ac_tool_prefix"; then
2799 for ac_prog
in cl.exe
2801 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2802 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2804 $as_echo_n "checking for $ac_word... " >&6; }
2805 if test "${ac_cv_prog_CC+set}" = set; then :
2806 $as_echo_n "(cached) " >&6
2808 if test -n "$CC"; then
2809 ac_cv_prog_CC
="$CC" # Let the user override the test.
2811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2815 test -z "$as_dir" && as_dir
=.
2816 for ac_exec_ext
in '' $ac_executable_extensions; do
2817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2818 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2829 if test -n "$CC"; then
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2831 $as_echo "$CC" >&6; }
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2834 $as_echo "no" >&6; }
2838 test -n "$CC" && break
2841 if test -z "$CC"; then
2843 for ac_prog
in cl.exe
2845 # Extract the first word of "$ac_prog", so it can be a program name with args.
2846 set dummy
$ac_prog; ac_word
=$2
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2848 $as_echo_n "checking for $ac_word... " >&6; }
2849 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2850 $as_echo_n "(cached) " >&6
2852 if test -n "$ac_ct_CC"; then
2853 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2859 test -z "$as_dir" && as_dir
=.
2860 for ac_exec_ext
in '' $ac_executable_extensions; do
2861 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2862 ac_cv_prog_ac_ct_CC
="$ac_prog"
2863 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2873 if test -n "$ac_ct_CC"; then
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2875 $as_echo "$ac_ct_CC" >&6; }
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 $as_echo "no" >&6; }
2882 test -n "$ac_ct_CC" && break
2885 if test "x$ac_ct_CC" = x
; then
2888 case $cross_compiling:$ac_tool_warned in
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2891 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2892 ac_tool_warned
=yes ;;
2901 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2902 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2903 as_fn_error
"no acceptable C compiler found in \$PATH
2904 See \`config.log' for more details." "$LINENO" 5; }
2906 # Provide some information about the compiler.
2907 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2910 for ac_option
in --version -v -V -qversion; do
2911 { { ac_try
="$ac_compiler $ac_option >&5"
2913 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2914 *) ac_try_echo=$ac_try;;
2916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2917 $as_echo "$ac_try_echo"; } >&5
2918 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2920 if test -s conftest.err; then
2922 ... rest of stderr output deleted ...
2923 10q' conftest.err >conftest.er1
2924 cat conftest.er1 >&5
2925 rm -f conftest.er1 conftest.err
2927 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2928 test $ac_status = 0; }
2931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2932 /* end confdefs.h. */
2937 FILE *f = fopen ("conftest.out", "w");
2938 return ferror (f) || fclose (f) != 0;
2944 ac_clean_files_save=$ac_clean_files
2945 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2946 # Try to create an executable without -o first, disregard a.out.
2947 # It will help us diagnose broken compilers, and finding out an intuition
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2950 $as_echo_n "checking for C compiler default output file name... " >&6; }
2951 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2953 # The possible output files:
2954 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2957 for ac_file in $ac_files
2960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2961 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2966 if { { ac_try="$ac_link_default"
2968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2969 *) ac_try_echo
=$ac_try;;
2971 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2972 $as_echo "$ac_try_echo"; } >&5
2973 (eval "$ac_link_default") 2>&5
2975 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2976 test $ac_status = 0; }; then :
2977 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2978 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2979 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2980 # so that the user can short-circuit this test for compilers unknown to
2982 for ac_file
in $ac_files ''
2984 test -f "$ac_file" ||
continue
2986 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2989 # We found the default executable, but exeext='' is most
2993 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2995 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2997 # We set ac_cv_exeext here because the later test for it is not
2998 # safe: cross compilers may not add the suffix if given an `-o'
2999 # argument, so we may need to know it at that point already.
3000 # Even if this section looks crufty: it has the advantage of
3007 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3013 $as_echo "$ac_file" >&6; }
3014 if test -z "$ac_file"; then :
3015 $as_echo "$as_me: failed program was:" >&5
3016 sed 's/^/| /' conftest.
$ac_ext >&5
3018 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020 { as_fn_set_status
77
3021 as_fn_error
"C compiler cannot create executables
3022 See \`config.log' for more details." "$LINENO" 5; }; }
3024 ac_exeext
=$ac_cv_exeext
3026 # Check that the compiler produces executables we can run. If not, either
3027 # the compiler is broken, or we cross compile.
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3029 $as_echo_n "checking whether the C compiler works... " >&6; }
3030 # If not cross compiling, check that we can run a simple program.
3031 if test "$cross_compiling" != yes; then
3032 if { ac_try
='./$ac_file'
3033 { { case "(($ac_try" in
3034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3035 *) ac_try_echo=$ac_try;;
3037 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3038 $as_echo "$ac_try_echo"; } >&5
3039 (eval "$ac_try") 2>&5
3041 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3042 test $ac_status = 0; }; }; then
3045 if test "$cross_compiling" = maybe; then
3048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error "cannot run C compiled programs.
3051 If you meant to cross compile
, use \
`--host'.
3052 See \`config.log
' for more details." "$LINENO" 5; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3057 $as_echo "yes" >&6; }
3059 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3060 ac_clean_files=$ac_clean_files_save
3061 # Check that the compiler produces executables we can run. If not, either
3062 # the compiler is broken, or we cross compile.
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3064 $as_echo_n "checking whether we are cross compiling... " >&6; }
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3066 $as_echo "$cross_compiling" >&6; }
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3069 $as_echo_n "checking for suffix of executables... " >&6; }
3070 if { { ac_try="$ac_link"
3072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3073 *) ac_try_echo=$ac_try;;
3075 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3076 $as_echo "$ac_try_echo"; } >&5
3077 (eval "$ac_link") 2>&5
3079 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3080 test $ac_status = 0; }; then :
3081 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
3082 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
3083 # work properly (i.e., refer to `conftest.exe
'), while it won't with
3085 for ac_file
in conftest.exe conftest conftest.
*; do
3086 test -f "$ac_file" ||
continue
3088 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3089 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3095 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3096 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3097 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3098 See \`config.log' for more details." "$LINENO" 5; }
3100 rm -f conftest
$ac_cv_exeext
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3102 $as_echo "$ac_cv_exeext" >&6; }
3104 rm -f conftest.
$ac_ext
3105 EXEEXT
=$ac_cv_exeext
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3108 $as_echo_n "checking for suffix of object files... " >&6; }
3109 if test "${ac_cv_objext+set}" = set; then :
3110 $as_echo_n "(cached) " >&6
3112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3123 rm -f conftest.o conftest.obj
3124 if { { ac_try
="$ac_compile"
3126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3127 *) ac_try_echo=$ac_try;;
3129 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3130 $as_echo "$ac_try_echo"; } >&5
3131 (eval "$ac_compile") 2>&5
3133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3134 test $ac_status = 0; }; then :
3135 for ac_file in conftest.o conftest.obj conftest.*; do
3136 test -f "$ac_file" || continue;
3138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3144 $as_echo "$as_me: failed program was:" >&5
3145 sed 's/^/| /' conftest.$ac_ext >&5
3147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3149 as_fn_error "cannot compute suffix of object files
: cannot compile
3150 See \
`config.log' for more details." "$LINENO" 5; }
3152 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3155 $as_echo "$ac_cv_objext" >&6; }
3156 OBJEXT=$ac_cv_objext
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3159 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3160 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3177 if ac_fn_c_try_compile "$LINENO"; then :
3182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3187 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3188 if test $ac_compiler_gnu = yes; then
3193 ac_test_CFLAGS=${CFLAGS+set}
3194 ac_save_CFLAGS=$CFLAGS
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3196 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3197 if test "${ac_cv_prog_cc_g+set}" = set; then :
3198 $as_echo_n "(cached) " >&6
3200 ac_save_c_werror_flag=$ac_c_werror_flag
3201 ac_c_werror_flag=yes
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3215 if ac_fn_c_try_compile "$LINENO"; then :
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3230 if ac_fn_c_try_compile "$LINENO"; then :
3233 ac_c_werror_flag=$ac_save_c_werror_flag
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3246 if ac_fn_c_try_compile "$LINENO"; then :
3249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3254 ac_c_werror_flag=$ac_save_c_werror_flag
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3257 $as_echo "$ac_cv_prog_cc_g" >&6; }
3258 if test "$ac_test_CFLAGS" = set; then
3259 CFLAGS=$ac_save_CFLAGS
3260 elif test $ac_cv_prog_cc_g = yes; then
3261 if test "$GCC" = yes; then
3267 if test "$GCC" = yes; then
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3274 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3275 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3276 $as_echo_n "(cached) " >&6
3278 ac_cv_prog_cc_c89=no
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3284 #include <sys/types.h>
3285 #include <sys/stat.h>
3286 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3287 struct buf { int x; };
3288 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3289 static char *e (p, i)
3295 static char *f (char * (*g) (char **, int), char **p, ...)
3300 s = g (p, va_arg (v,int));
3305 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3306 function prototypes and stuff, but not '\xHH' hex character constants.
3307 These don't provoke an error unfortunately, instead are silently treated
3308 as 'x'. The following induces an error, until -std is added to get
3309 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3310 array size at least. It's necessary to write '\x00'==0 to get something
3311 that's true only with -std. */
3312 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3314 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3315 inside strings and character constants. */
3317 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3319 int test (int i, double x);
3320 struct s1 {int (*f) (int a);};
3321 struct s2 {int (*f) (double a);};
3322 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3328 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3333 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3334 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3336 CC="$ac_save_CC $ac_arg"
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 ac_cv_prog_cc_c89=$ac_arg
3340 rm -f core conftest.err conftest.$ac_objext
3341 test "x$ac_cv_prog_cc_c89" != "xno" && break
3343 rm -f conftest.$ac_ext
3348 case "x$ac_cv_prog_cc_c89" in
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3351 $as_echo "none needed" >&6; } ;;
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3354 $as_echo "unsupported" >&6; } ;;
3356 CC="$CC $ac_cv_prog_cc_c89"
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3358 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3360 if test "x$ac_cv_prog_cc_c89" != xno; then :
3365 ac_cpp='$CPP $CPPFLAGS'
3366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3370 case $ac_cv_prog_cc_stdc in #(
3372 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3375 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3376 if test "${ac_cv_prog_cc_c99+set}" = set; then :
3377 $as_echo_n "(cached) " >&6
3379 ac_cv_prog_cc_c99=no
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3384 #include <stdbool.h>
3389 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3390 #define debug(...) fprintf (stderr, __VA_ARGS__)
3391 #define showlist(...) puts (#__VA_ARGS__)
3392 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3394 test_varargs_macros (void)
3399 debug ("X = %d\n", x);
3400 showlist (The first, second, and third items.);
3401 report (x>y, "x is %d but y is %d", x, y);
3404 // Check long long types.
3405 #define BIG64 18446744073709551615ull
3406 #define BIG32 4294967295ul
3407 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3409 your preprocessor is broken;
3413 your preprocessor is broken;
3415 static long long int bignum = -9223372036854775807LL;
3416 static unsigned long long int ubignum = BIG64;
3418 struct incomplete_array
3426 const wchar_t *name;
3430 typedef const char *ccp;
3433 test_restrict (ccp restrict text)
3435 // See if C++-style comments work.
3436 // Iterate through items via the restricted pointer.
3437 // Also check for declarations in for loops.
3438 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
3443 // Check varargs and va_copy.
3445 test_varargs (const char *format, ...)
3448 va_start (args, format);
3450 va_copy (args_copy, args);
3461 str = va_arg (args_copy, const char *);
3464 number = va_arg (args_copy, int);
3467 fnumber = va_arg (args_copy, double);
3482 _Bool success = false;
3485 if (test_restrict ("String literal") == 0)
3487 char *restrict newvar = "Another string";
3490 test_varargs ("s, d' f .", "string", 65, 34.234);
3491 test_varargs_macros ();
3493 // Check flexible array members.
3494 struct incomplete_array *ia =
3495 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3497 for (int i = 0; i < ia->datasize; ++i)
3498 ia->data[i] = i * 1.234;
3500 // Check named initializers.
3501 struct named_init ni = {
3503 .name = L"Test wide string",
3504 .average = 543.34343,
3509 int dynamic_array[ni.number];
3510 dynamic_array[ni.number - 1] = 543;
3512 // work around unused variable warnings
3513 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
3514 || dynamic_array[ni.number - 1] != 543);
3520 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
3522 CC="$ac_save_CC $ac_arg"
3523 if ac_fn_c_try_compile "$LINENO"; then :
3524 ac_cv_prog_cc_c99=$ac_arg
3526 rm -f core conftest.err conftest.$ac_objext
3527 test "x$ac_cv_prog_cc_c99" != "xno" && break
3529 rm -f conftest.$ac_ext
3534 case "x$ac_cv_prog_cc_c99" in
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3537 $as_echo "none needed" >&6; } ;;
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3540 $as_echo "unsupported" >&6; } ;;
3542 CC="$CC $ac_cv_prog_cc_c99"
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3544 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
3546 if test "x$ac_cv_prog_cc_c99" != xno; then :
3547 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3550 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3551 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3552 $as_echo_n "(cached) " >&6
3554 ac_cv_prog_cc_c89=no
3556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3557 /* end confdefs.h. */
3560 #include <sys/types.h>
3561 #include <sys/stat.h>
3562 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3563 struct buf { int x; };
3564 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3565 static char *e (p, i)
3571 static char *f (char * (*g) (char **, int), char **p, ...)
3576 s = g (p, va_arg (v,int));
3581 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3582 function prototypes and stuff, but not '\xHH' hex character constants.
3583 These don't provoke an error unfortunately, instead are silently treated
3584 as 'x'. The following induces an error, until -std is added to get
3585 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3586 array size at least. It's necessary to write '\x00'==0 to get something
3587 that's true only with -std. */
3588 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3590 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3591 inside strings and character constants. */
3593 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3595 int test (int i, double x);
3596 struct s1 {int (*f) (int a);};
3597 struct s2 {int (*f) (double a);};
3598 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3604 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3609 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3610 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3612 CC="$ac_save_CC $ac_arg"
3613 if ac_fn_c_try_compile "$LINENO"; then :
3614 ac_cv_prog_cc_c89=$ac_arg
3616 rm -f core conftest.err conftest.$ac_objext
3617 test "x$ac_cv_prog_cc_c89" != "xno" && break
3619 rm -f conftest.$ac_ext
3624 case "x$ac_cv_prog_cc_c89" in
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3627 $as_echo "none needed" >&6; } ;;
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3630 $as_echo "unsupported" >&6; } ;;
3632 CC="$CC $ac_cv_prog_cc_c89"
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3634 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3636 if test "x$ac_cv_prog_cc_c89" != xno; then :
3637 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3639 ac_cv_prog_cc_stdc=no
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
3646 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
3647 if test "${ac_cv_prog_cc_stdc+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3651 case $ac_cv_prog_cc_stdc in #(
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3654 $as_echo "unsupported" >&6; } ;; #(
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657 $as_echo "none needed" >&6; } ;; #(
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
3660 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
3664 ac_cpp='$CPP $CPPFLAGS'
3665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3669 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3670 # On Suns, sometimes $CPP names a directory.
3671 if test -n "$CPP" && test -d "$CPP"; then
3674 if test -z "$CPP"; then
3675 if test "${ac_cv_prog_CPP+set}" = set; then :
3676 $as_echo_n "(cached) " >&6
3678 # Double quotes because CPP needs to be expanded
3679 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3682 for ac_c_preproc_warn_flag in '' yes
3684 # Use a header file that comes with gcc, so configuring glibc
3685 # with a fresh cross-compiler works.
3686 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3687 # <limits.h> exists even on freestanding compilers.
3688 # On the NeXT, cc -E runs the code through the compiler's parser,
3689 # not just through cpp. "Syntax error" is here to catch this case.
3690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3691 /* end confdefs.h. */
3693 # include <limits.h>
3695 # include <assert.h>
3699 if ac_fn_c_try_cpp "$LINENO"; then :
3702 # Broken: fails on valid input.
3705 rm -f conftest.err conftest.$ac_ext
3707 # OK, works on sane cases. Now check whether nonexistent headers
3708 # can be detected and how.
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3711 #include <ac_nonexistent.h>
3713 if ac_fn_c_try_cpp "$LINENO"; then :
3714 # Broken: success on invalid input.
3717 # Passes both tests.
3721 rm -f conftest.err conftest.$ac_ext
3724 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3725 rm -f conftest.err conftest.
$ac_ext
3726 if $ac_preproc_ok; then :
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3739 $as_echo "$CPP" >&6; }
3741 for ac_c_preproc_warn_flag
in '' yes
3743 # Use a header file that comes with gcc, so configuring glibc
3744 # with a fresh cross-compiler works.
3745 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3746 # <limits.h> exists even on freestanding compilers.
3747 # On the NeXT, cc -E runs the code through the compiler's parser,
3748 # not just through cpp. "Syntax error" is here to catch this case.
3749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3750 /* end confdefs.h. */
3752 # include <limits.h>
3754 # include <assert.h>
3758 if ac_fn_c_try_cpp
"$LINENO"; then :
3761 # Broken: fails on valid input.
3764 rm -f conftest.err conftest.
$ac_ext
3766 # OK, works on sane cases. Now check whether nonexistent headers
3767 # can be detected and how.
3768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3769 /* end confdefs.h. */
3770 #include <ac_nonexistent.h>
3772 if ac_fn_c_try_cpp
"$LINENO"; then :
3773 # Broken: success on invalid input.
3776 # Passes both tests.
3780 rm -f conftest.err conftest.
$ac_ext
3783 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3784 rm -f conftest.err conftest.
$ac_ext
3785 if $ac_preproc_ok; then :
3788 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3789 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3790 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3791 See \`config.log' for more details." "$LINENO" 5; }
3795 ac_cpp
='$CPP $CPPFLAGS'
3796 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3797 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3798 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3801 # Check for a compatible awk
3802 for ac_prog
in gawk nawk
3804 # Extract the first word of "$ac_prog", so it can be a program name with args.
3805 set dummy
$ac_prog; ac_word
=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if test "${ac_cv_prog_AWK+set}" = set; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -n "$AWK"; then
3812 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
3814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir
=.
3819 for ac_exec_ext
in '' $ac_executable_extensions; do
3820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3821 ac_cv_prog_AWK
="$ac_prog"
3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3832 if test -n "$AWK"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3834 $as_echo "$AWK" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3841 test -n "$AWK" && break
3844 if test "$AWK" = ""; then
3845 as_fn_error
"gawk is required to build AROS. Please install and run configure again." "$LINENO" 5
3847 # Extract the first word of "mmake", so it can be a program name with args.
3848 set dummy mmake
; ac_word
=$2
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3850 $as_echo_n "checking for $ac_word... " >&6; }
3851 if test "${ac_cv_prog_MMAKE+set}" = set; then :
3852 $as_echo_n "(cached) " >&6
3854 if test -n "$MMAKE"; then
3855 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
3857 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3861 test -z "$as_dir" && as_dir
=.
3862 for ac_exec_ext
in '' $ac_executable_extensions; do
3863 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3864 ac_cv_prog_MMAKE
="mmake "
3865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3874 MMAKE
=$ac_cv_prog_MMAKE
3875 if test -n "$MMAKE"; then
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MMAKE" >&5
3877 $as_echo "$MMAKE" >&6; }
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3880 $as_echo "no" >&6; }
3885 # Perform some default variable assignments. Note all of these will be
3886 # Regenerated from the script, so there is no need to cache them.
3889 if test "$GCC" = "yes"; then
3890 aros_gcc_ld
=`$CC -print-prog-name=ld`
3891 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
3892 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3894 $as_echo_n "checking for $ac_word... " >&6; }
3895 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3896 $as_echo_n "(cached) " >&6
3898 case $aros_host_ld in
3900 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3904 for as_dir
in `dirname $aros_gcc_ld`
3907 test -z "$as_dir" && as_dir
=.
3908 for ac_exec_ext
in '' $ac_executable_extensions; do
3909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3910 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3921 aros_host_ld
=$ac_cv_path_aros_host_ld
3922 if test -n "$aros_host_ld"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3924 $as_echo "$aros_host_ld" >&6; }
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3932 if test "$aros_host_ld" = ""; then
3933 # Extract the first word of "ld", so it can be a program name with args.
3934 set dummy ld
; ac_word
=$2
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3936 $as_echo_n "checking for $ac_word... " >&6; }
3937 if test "${ac_cv_path_aros_host_ld+set}" = set; then :
3938 $as_echo_n "(cached) " >&6
3940 case $aros_host_ld in
3942 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
3945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3949 test -z "$as_dir" && as_dir
=.
3950 for ac_exec_ext
in '' $ac_executable_extensions; do
3951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3952 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3963 aros_host_ld
=$ac_cv_path_aros_host_ld
3964 if test -n "$aros_host_ld"; then
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ld" >&5
3966 $as_echo "$aros_host_ld" >&6; }
3968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3969 $as_echo "no" >&6; }
3974 if test "$aros_host_ld" = ""; then
3975 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
3977 aros_host_make
="make"
3978 aros_host_cflags
=$CFLAGS
3979 aros_host_ldflags
=$LDFLAGS
3980 aros_host_debug
="-g -O0"
3981 aros_host_mkdep
="\$(SRCDIR)/scripts/mkdep"
3982 aros_host_mkargs
="--no-print-directory"
3983 aros_host_incl
="/usr/include"
3984 aros_host_exe_suffix
="$EXEEXT"
3985 aros_host_lib_suffix
=""
3987 for ac_prog
in aclocal aclocal19 aclocal-1.9
3989 # Extract the first word of "$ac_prog", so it can be a program name with args.
3990 set dummy
$ac_prog; ac_word
=$2
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3992 $as_echo_n "checking for $ac_word... " >&6; }
3993 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then :
3994 $as_echo_n "(cached) " >&6
3996 if test -n "$aros_host_aclocal"; then
3997 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
3999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir
=.
4004 for ac_exec_ext
in '' $ac_executable_extensions; do
4005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4006 ac_cv_prog_aros_host_aclocal
="$ac_prog"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4016 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
4017 if test -n "$aros_host_aclocal"; then
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_aclocal" >&5
4019 $as_echo "$aros_host_aclocal" >&6; }
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4022 $as_echo "no" >&6; }
4026 test -n "$aros_host_aclocal" && break
4029 for ac_prog
in autoconf autoconf259 autoconf253
4031 # Extract the first word of "$ac_prog", so it can be a program name with args.
4032 set dummy
$ac_prog; ac_word
=$2
4033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4034 $as_echo_n "checking for $ac_word... " >&6; }
4035 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then :
4036 $as_echo_n "(cached) " >&6
4038 if test -n "$aros_host_autoconf"; then
4039 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
4041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4045 test -z "$as_dir" && as_dir
=.
4046 for ac_exec_ext
in '' $ac_executable_extensions; do
4047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4048 ac_cv_prog_aros_host_autoconf
="$ac_prog"
4049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4058 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
4059 if test -n "$aros_host_autoconf"; then
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoconf" >&5
4061 $as_echo "$aros_host_autoconf" >&6; }
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4064 $as_echo "no" >&6; }
4068 test -n "$aros_host_autoconf" && break
4071 for ac_prog
in autoheader autoheader259 autoheader253
4073 # Extract the first word of "$ac_prog", so it can be a program name with args.
4074 set dummy
$ac_prog; ac_word
=$2
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076 $as_echo_n "checking for $ac_word... " >&6; }
4077 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4080 if test -n "$aros_host_autoheader"; then
4081 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
4083 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4087 test -z "$as_dir" && as_dir
=.
4088 for ac_exec_ext
in '' $ac_executable_extensions; do
4089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4090 ac_cv_prog_aros_host_autoheader
="$ac_prog"
4091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4100 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
4101 if test -n "$aros_host_autoheader"; then
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_autoheader" >&5
4103 $as_echo "$aros_host_autoheader" >&6; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4106 $as_echo "no" >&6; }
4110 test -n "$aros_host_autoheader" && break
4113 for ac_prog
in automake automake19 automake-1.9
4115 # Extract the first word of "$ac_prog", so it can be a program name with args.
4116 set dummy
$ac_prog; ac_word
=$2
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4118 $as_echo_n "checking for $ac_word... " >&6; }
4119 if test "${ac_cv_prog_aros_host_automake+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4122 if test -n "$aros_host_automake"; then
4123 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
4125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4129 test -z "$as_dir" && as_dir
=.
4130 for ac_exec_ext
in '' $ac_executable_extensions; do
4131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4132 ac_cv_prog_aros_host_automake
="$ac_prog"
4133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 aros_host_automake
=$ac_cv_prog_aros_host_automake
4143 if test -n "$aros_host_automake"; then
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_automake" >&5
4145 $as_echo "$aros_host_automake" >&6; }
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4148 $as_echo "no" >&6; }
4152 test -n "$aros_host_automake" && break
4156 if test "$aros_host_aclocal" = ""; then
4157 as_fn_error
"aclocal/aclocal19/aclocal-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4159 if test "$aros_host_automake" = ""; then
4160 as_fn_error
"automake/automake19/automake-1.9 is required to build AROS. Please install and run configure again." "$LINENO" 5
4163 case "$aros_host_cc" in
4165 aros_host_cc_pipe
="-pipe"
4168 aros_host_cc_pipe
=""
4171 aros_host_cc_pipe
=""
4175 aros_target_cc_includes
=""
4177 # This is the main host configuration section. It is where the host
4178 # can change the values of any variables it needs to change. We do
4179 # not look at anything that compiles to the target yet, we'll get
4184 aros_host_arch
="aros"
4185 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4188 aros_host_cpu
="i386"
4191 aros_host_cpu
="x86_64"
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4195 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4196 aros_host_cpu
="$host_cpu"
4202 aros_host_arch
="linux"
4203 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4206 aros_host_cpu
="i386"
4209 aros_host_cpu
="x86_64"
4212 aros_host_cpu
="m68k"
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4219 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4220 aros_host_cpu
="$host_cpu"
4226 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
4227 aros_host_make
="gmake"
4228 aros_host_arch
="freebsd"
4229 aros_host_cpu
="i386"
4231 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
4236 aros_object_format
="elf_i386"
4240 aros_object_format
="elf_i386_fbsd"
4247 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4248 aros_host_arch
="darwin"
4251 aros_host_cpu
="i386"
4257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4258 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4259 aros_host_cpu
="$host_cpu"
4263 aros_host_ldflags
="$aros_host_ldflags -liconv"
4268 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4269 aros_host_make
="gmake"
4270 aros_host_arch
="dragonfly"
4273 aros_host_cpu
="i386"
4276 aros_host_cpu
="x86_64"
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4280 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4281 aros_host_cpu
="$host_cpu"
4287 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4288 aros_host_make
="gmake"
4289 aros_host_arch
="netbsd"
4292 aros_host_cpu
="i386"
4295 aros_host_cpu
="m68k"
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4299 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4300 aros_host_cpu
="$host_cpu"
4303 aros_host_lib_suffix
=".0.0"
4307 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4308 aros_host_make
="gmake"
4309 aros_host_arch
="openbsd"
4312 aros_host_cpu
="i386"
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4316 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4317 aros_host_cpu
="$host_cpu"
4323 aros_host_arch
="solaris"
4324 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4327 aros_host_cpu
="i386"
4330 aros_host_cpu
="sparc"
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_arch
="morphos"
4346 aros_host_arch
="amiga"
4351 TOUCH
="/gg/bin/touch"
4354 aros_host_cpu
="m68k"
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4361 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4362 aros_host_cpu
="$host_cpu"
4368 aros_host_arch
="cygwin"
4369 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4372 aros_host_cpu
="i386"
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4376 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4377 aros_host_cpu
="$host_cpu"
4383 aros_host_arch
="mingw32"
4384 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
4387 aros_host_cpu
="i386"
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
4391 $as_echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
4392 aros_host_cpu
="$host_cpu"
4397 as_fn_error
"Unsupported host architecture $host" "$LINENO" 5
4401 # Extract the first word of "ar", so it can be a program name with args.
4402 set dummy
ar; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_aros_host_ar+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$aros_host_ar"; then
4409 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_aros_host_ar
="ar cr"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 aros_host_ar
=$ac_cv_prog_aros_host_ar
4429 if test -n "$aros_host_ar"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ar" >&5
4431 $as_echo "$aros_host_ar" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 if test "$aros_host_ar" = ""; then
4439 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
4441 # Extract the first word of "ranlib", so it can be a program name with args.
4442 set dummy ranlib
; ac_word
=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$aros_host_ranlib"; then
4449 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
4451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir
=.
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4458 ac_cv_prog_aros_host_ranlib
="ranlib "
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
4469 if test -n "$aros_host_ranlib"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_ranlib" >&5
4471 $as_echo "$aros_host_ranlib" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4478 if test "$aros_host_ranlib" = ""; then
4479 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
4481 # Extract the first word of "strip", so it can be a program name with args.
4482 set dummy strip
; ac_word
=$2
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4484 $as_echo_n "checking for $ac_word... " >&6; }
4485 if test "${ac_cv_prog_aros_host_strip+set}" = set; then :
4486 $as_echo_n "(cached) " >&6
4488 if test -n "$aros_host_strip"; then
4489 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
4491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4495 test -z "$as_dir" && as_dir
=.
4496 for ac_exec_ext
in '' $ac_executable_extensions; do
4497 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4498 ac_cv_prog_aros_host_strip
="strip "
4499 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4508 aros_host_strip
=$ac_cv_prog_aros_host_strip
4509 if test -n "$aros_host_strip"; then
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_host_strip" >&5
4511 $as_echo "$aros_host_strip" >&6; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4514 $as_echo "no" >&6; }
4518 if test "$aros_host_strip" = ""; then
4519 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
4522 # Extract the first word of "rm", so it can be a program name with args.
4523 set dummy
rm; ac_word
=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if test "${ac_cv_prog_RM+set}" = set; then :
4527 $as_echo_n "(cached) " >&6
4529 if test -n "$RM"; then
4530 ac_cv_prog_RM
="$RM" # Let the user override the test.
4532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4536 test -z "$as_dir" && as_dir
=.
4537 for ac_exec_ext
in '' $ac_executable_extensions; do
4538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4539 ac_cv_prog_RM
="rm -rf"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4550 if test -n "$RM"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
4552 $as_echo "$RM" >&6; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 if test "$RM" = ""; then
4560 as_fn_error
"rm is required to build AROS. Please install and run configure again." "$LINENO" 5
4562 # Extract the first word of "cp", so it can be a program name with args.
4563 set dummy
cp; ac_word
=$2
4564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4565 $as_echo_n "checking for $ac_word... " >&6; }
4566 if test "${ac_cv_prog_CP+set}" = set; then :
4567 $as_echo_n "(cached) " >&6
4569 if test -n "$CP"; then
4570 ac_cv_prog_CP
="$CP" # Let the user override the test.
4572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4576 test -z "$as_dir" && as_dir
=.
4577 for ac_exec_ext
in '' $ac_executable_extensions; do
4578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 if test -n "$CP"; then
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
4592 $as_echo "$CP" >&6; }
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4595 $as_echo "no" >&6; }
4599 if test "$CP" = ""; then
4600 as_fn_error
"cp is required to build AROS. Please install and run configure again." "$LINENO" 5
4602 # Extract the first word of "mv", so it can be a program name with args.
4603 set dummy
mv; ac_word
=$2
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4605 $as_echo_n "checking for $ac_word... " >&6; }
4606 if test "${ac_cv_prog_MV+set}" = set; then :
4607 $as_echo_n "(cached) " >&6
4609 if test -n "$MV"; then
4610 ac_cv_prog_MV
="$MV" # Let the user override the test.
4612 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4616 test -z "$as_dir" && as_dir
=.
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4630 if test -n "$MV"; then
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MV" >&5
4632 $as_echo "$MV" >&6; }
4634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635 $as_echo "no" >&6; }
4639 if test "$MV" = ""; then
4640 as_fn_error
"mv is required to build AROS. Please install and run configure again." "$LINENO" 5
4642 # Extract the first word of "echo", so it can be a program name with args.
4643 set dummy
echo; ac_word
=$2
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4645 $as_echo_n "checking for $ac_word... " >&6; }
4646 if test "${ac_cv_prog_ECHO+set}" = set; then :
4647 $as_echo_n "(cached) " >&6
4649 if test -n "$ECHO"; then
4650 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
4652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 test -z "$as_dir" && as_dir
=.
4657 for ac_exec_ext
in '' $ac_executable_extensions; do
4658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659 ac_cv_prog_ECHO
="echo "
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 ECHO
=$ac_cv_prog_ECHO
4670 if test -n "$ECHO"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ECHO" >&5
4672 $as_echo "$ECHO" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4679 if test "$ECHO" = ""; then
4680 as_fn_error
"echo is required to build AROS. Please install and run configure again." "$LINENO" 5
4682 # Extract the first word of "mkdir", so it can be a program name with args.
4683 set dummy mkdir
; ac_word
=$2
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4685 $as_echo_n "checking for $ac_word... " >&6; }
4686 if test "${ac_cv_prog_MKDIR+set}" = set; then :
4687 $as_echo_n "(cached) " >&6
4689 if test -n "$MKDIR"; then
4690 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
4692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4696 test -z "$as_dir" && as_dir
=.
4697 for ac_exec_ext
in '' $ac_executable_extensions; do
4698 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4699 ac_cv_prog_MKDIR
="mkdir -p"
4700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4709 MKDIR
=$ac_cv_prog_MKDIR
4710 if test -n "$MKDIR"; then
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR" >&5
4712 $as_echo "$MKDIR" >&6; }
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715 $as_echo "no" >&6; }
4719 if test "$MKDIR" = ""; then
4720 as_fn_error
"mkdir is required to build AROS. Please install and run configure again." "$LINENO" 5
4722 # Extract the first word of "touch", so it can be a program name with args.
4723 set dummy
touch; ac_word
=$2
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725 $as_echo_n "checking for $ac_word... " >&6; }
4726 if test "${ac_cv_prog_TOUCH+set}" = set; then :
4727 $as_echo_n "(cached) " >&6
4729 if test -n "$TOUCH"; then
4730 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
4732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4736 test -z "$as_dir" && as_dir
=.
4737 for ac_exec_ext
in '' $ac_executable_extensions; do
4738 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4739 ac_cv_prog_TOUCH
="touch "
4740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4749 TOUCH
=$ac_cv_prog_TOUCH
4750 if test -n "$TOUCH"; then
4751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TOUCH" >&5
4752 $as_echo "$TOUCH" >&6; }
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4755 $as_echo "no" >&6; }
4759 if test "$TOUCH" = ""; then
4760 as_fn_error
"touch is required to build AROS. Please install and run configure again." "$LINENO" 5
4762 # Extract the first word of "sort", so it can be a program name with args.
4763 set dummy
sort; ac_word
=$2
4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765 $as_echo_n "checking for $ac_word... " >&6; }
4766 if test "${ac_cv_prog_SORT+set}" = set; then :
4767 $as_echo_n "(cached) " >&6
4769 if test -n "$SORT"; then
4770 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
4772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4776 test -z "$as_dir" && as_dir
=.
4777 for ac_exec_ext
in '' $ac_executable_extensions; do
4778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4779 ac_cv_prog_SORT
="sort "
4780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4789 SORT
=$ac_cv_prog_SORT
4790 if test -n "$SORT"; then
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SORT" >&5
4792 $as_echo "$SORT" >&6; }
4794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4795 $as_echo "no" >&6; }
4799 if test "$SORT" = ""; then
4800 as_fn_error
"sort is required to build AROS. Please install and run configure again." "$LINENO" 5
4802 # Extract the first word of "uniq", so it can be a program name with args.
4803 set dummy
uniq; ac_word
=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if test "${ac_cv_prog_UNIQ+set}" = set; then :
4807 $as_echo_n "(cached) " >&6
4809 if test -n "$UNIQ"; then
4810 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
4812 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4816 test -z "$as_dir" && as_dir
=.
4817 for ac_exec_ext
in '' $ac_executable_extensions; do
4818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4819 ac_cv_prog_UNIQ
="uniq "
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 UNIQ
=$ac_cv_prog_UNIQ
4830 if test -n "$UNIQ"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIQ" >&5
4832 $as_echo "$UNIQ" >&6; }
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 if test "$UNIQ" = ""; then
4840 as_fn_error
"uniq is required to build AROS. Please install and run configure again." "$LINENO" 5
4842 # Extract the first word of "true", so it can be a program name with args.
4843 set dummy true
; ac_word
=$2
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4845 $as_echo_n "checking for $ac_word... " >&6; }
4846 if test "${ac_cv_prog_NOP+set}" = set; then :
4847 $as_echo_n "(cached) " >&6
4849 if test -n "$NOP"; then
4850 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
4852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4856 test -z "$as_dir" && as_dir
=.
4857 for ac_exec_ext
in '' $ac_executable_extensions; do
4858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4859 ac_cv_prog_NOP
="true "
4860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4870 if test -n "$NOP"; then
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NOP" >&5
4872 $as_echo "$NOP" >&6; }
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4875 $as_echo "no" >&6; }
4879 if test "$NOP" = ""; then
4880 as_fn_error
"true is required to build AROS. Please install and run configure again." "$LINENO" 5
4882 # Extract the first word of "cat", so it can be a program name with args.
4883 set dummy
cat; ac_word
=$2
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4885 $as_echo_n "checking for $ac_word... " >&6; }
4886 if test "${ac_cv_prog_CAT+set}" = set; then :
4887 $as_echo_n "(cached) " >&6
4889 if test -n "$CAT"; then
4890 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4899 ac_cv_prog_CAT
="cat "
4900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 if test -n "$CAT"; then
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CAT" >&5
4912 $as_echo "$CAT" >&6; }
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4915 $as_echo "no" >&6; }
4919 if test "$CAT" = ""; then
4920 as_fn_error
"cat is required to build AROS. Please install and run configure again." "$LINENO" 5
4922 # Extract the first word of "bison", so it can be a program name with args.
4923 set dummy bison
; ac_word
=$2
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 $as_echo_n "checking for $ac_word... " >&6; }
4926 if test "${ac_cv_prog_BISON+set}" = set; then :
4927 $as_echo_n "(cached) " >&6
4929 if test -n "$BISON"; then
4930 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4936 test -z "$as_dir" && as_dir
=.
4937 for ac_exec_ext
in '' $ac_executable_extensions; do
4938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4939 ac_cv_prog_BISON
="bison "
4940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4949 BISON
=$ac_cv_prog_BISON
4950 if test -n "$BISON"; then
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4952 $as_echo "$BISON" >&6; }
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4955 $as_echo "no" >&6; }
4959 if test "$BISON" = ""; then
4960 as_fn_error
"bison is required to build AROS. Please install and run configure again." "$LINENO" 5
4962 # Extract the first word of "flex", so it can be a program name with args.
4963 set dummy flex
; ac_word
=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if test "${ac_cv_prog_FLEX+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$FLEX"; then
4970 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979 ac_cv_prog_FLEX
="flex "
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 FLEX
=$ac_cv_prog_FLEX
4990 if test -n "$FLEX"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4992 $as_echo "$FLEX" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4999 if test "$FLEX" = ""; then
5000 as_fn_error
"flex is required to build AROS. Please install and run configure again." "$LINENO" 5
5002 # Extract the first word of "pngtopnm", so it can be a program name with args.
5003 set dummy pngtopnm
; ac_word
=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$PNGTOPNM"; then
5010 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_PNGTOPNM
="pngtopnm "
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
5030 if test -n "$PNGTOPNM"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PNGTOPNM" >&5
5032 $as_echo "$PNGTOPNM" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 if test "$PNGTOPNM" = ""; then
5040 as_fn_error
"pngtopnm is required to build AROS. Please install and run configure again." "$LINENO" 5
5042 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
5043 set dummy ppmtoilbm
; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$PPMTOILBM"; then
5050 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5059 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
5070 if test -n "$PPMTOILBM"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PPMTOILBM" >&5
5072 $as_echo "$PPMTOILBM" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 if test "$PPMTOILBM" = ""; then
5080 as_fn_error
"ppmtoilbm is required to build AROS. Please install and run configure again." "$LINENO" 5
5082 # Extract the first word of "sed", so it can be a program name with args.
5083 set dummy
sed; ac_word
=$2
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5085 $as_echo_n "checking for $ac_word... " >&6; }
5086 if test "${ac_cv_prog_SED+set}" = set; then :
5087 $as_echo_n "(cached) " >&6
5089 if test -n "$SED"; then
5090 ac_cv_prog_SED
="$SED" # Let the user override the test.
5092 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5096 test -z "$as_dir" && as_dir
=.
5097 for ac_exec_ext
in '' $ac_executable_extensions; do
5098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5099 ac_cv_prog_SED
="sed "
5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 if test -n "$SED"; then
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SED" >&5
5112 $as_echo "$SED" >&6; }
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5115 $as_echo "no" >&6; }
5119 if test "$SED" = ""; then
5120 as_fn_error
"sed is required to build AROS. Please install and run configure again." "$LINENO" 5
5122 # Extract the first word of "chmod", so it can be a program name with args.
5123 set dummy
chmod; ac_word
=$2
5124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5125 $as_echo_n "checking for $ac_word... " >&6; }
5126 if test "${ac_cv_prog_CHMOD+set}" = set; then :
5127 $as_echo_n "(cached) " >&6
5129 if test -n "$CHMOD"; then
5130 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
5132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5136 test -z "$as_dir" && as_dir
=.
5137 for ac_exec_ext
in '' $ac_executable_extensions; do
5138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5139 ac_cv_prog_CHMOD
="chmod "
5140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 CHMOD
=$ac_cv_prog_CHMOD
5150 if test -n "$CHMOD"; then
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
5152 $as_echo "$CHMOD" >&6; }
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5155 $as_echo "no" >&6; }
5159 if test "$CHMOD" = ""; then
5160 as_fn_error
"chmod is required to build AROS. Please install and run configure again." "$LINENO" 5
5167 if test -n "$PYTHON"; then
5168 # If the user set $PYTHON, use it and don't search something else.
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version >= 2.2.1" >&5
5170 $as_echo_n "checking whether $PYTHON version >= 2.2.1... " >&6; }
5171 prog
="import sys, string
5172 # split strings by '.' and convert to numeric. Append some zeros
5173 # because we need at least 4 digits for the hex conversion.
5174 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5176 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5177 sys.exit(sys.hexversion < minverhex)"
5178 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
5179 ($PYTHON -c "$prog") >&5 2>&5
5181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182 (exit $ac_status); }; then :
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5184 $as_echo "yes" >&6; }
5186 as_fn_error
"too old" "$LINENO" 5
5188 am_display_PYTHON
=$PYTHON
5190 # Otherwise, try each interpreter until we find one that satisfies
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.2.1" >&5
5193 $as_echo_n "checking for a Python interpreter with version >= 2.2.1... " >&6; }
5194 if test "${am_cv_pathless_PYTHON+set}" = set; then :
5195 $as_echo_n "(cached) " >&6
5198 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
5199 test "$am_cv_pathless_PYTHON" = none
&& break
5200 prog
="import sys, string
5201 # split strings by '.' and convert to numeric. Append some zeros
5202 # because we need at least 4 digits for the hex conversion.
5203 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
5205 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
5206 sys.exit(sys.hexversion < minverhex)"
5207 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
5208 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; then :
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
5217 $as_echo "$am_cv_pathless_PYTHON" >&6; }
5218 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
5219 if test "$am_cv_pathless_PYTHON" = none
; then
5222 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
5223 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5225 $as_echo_n "checking for $ac_word... " >&6; }
5226 if test "${ac_cv_path_PYTHON+set}" = set; then :
5227 $as_echo_n "(cached) " >&6
5231 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
5234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5238 test -z "$as_dir" && as_dir
=.
5239 for ac_exec_ext
in '' $ac_executable_extensions; do
5240 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5241 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
5242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5252 PYTHON
=$ac_cv_path_PYTHON
5253 if test -n "$PYTHON"; then
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
5255 $as_echo "$PYTHON" >&6; }
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5258 $as_echo "no" >&6; }
5263 am_display_PYTHON
=$am_cv_pathless_PYTHON
5267 if test "$PYTHON" = :; then
5268 as_fn_error
"no suitable Python interpreter found" "$LINENO" 5
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
5273 $as_echo_n "checking for $am_display_PYTHON version... " >&6; }
5274 if test "${am_cv_python_version+set}" = set; then :
5275 $as_echo_n "(cached) " >&6
5277 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
5280 $as_echo "$am_cv_python_version" >&6; }
5281 PYTHON_VERSION
=$am_cv_python_version
5285 PYTHON_PREFIX
='${prefix}'
5287 PYTHON_EXEC_PREFIX
='${exec_prefix}'
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
5292 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
5293 if test "${am_cv_python_platform+set}" = set; then :
5294 $as_echo_n "(cached) " >&6
5296 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
5299 $as_echo "$am_cv_python_platform" >&6; }
5300 PYTHON_PLATFORM
=$am_cv_python_platform
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
5306 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
5307 if test "${am_cv_python_pythondir+set}" = set; then :
5308 $as_echo_n "(cached) " >&6
5310 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
5311 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
5314 $as_echo "$am_cv_python_pythondir" >&6; }
5315 pythondir
=$am_cv_python_pythondir
5319 pkgpythondir
=\
${pythondir}/$PACKAGE
5322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
5323 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
5324 if test "${am_cv_python_pyexecdir+set}" = set; then :
5325 $as_echo_n "(cached) " >&6
5327 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
5328 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
5330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
5331 $as_echo "$am_cv_python_pyexecdir" >&6; }
5332 pyexecdir
=$am_cv_python_pyexecdir
5336 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
5354 # Check for some includes for the X11 HIDD and the kernel
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5358 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5359 if test "${ac_cv_path_GREP+set}" = set; then :
5360 $as_echo_n "(cached) " >&6
5362 if test -z "$GREP"; then
5363 ac_path_GREP_found
=false
5364 # Loop through the user's path and test for each of PROGNAME-LIST
5365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5366 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5369 test -z "$as_dir" && as_dir
=.
5370 for ac_prog
in grep ggrep
; do
5371 for ac_exec_ext
in '' $ac_executable_extensions; do
5372 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5373 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
5374 # Check for GNU ac_path_GREP and select it if it is found.
5375 # Check for GNU $ac_path_GREP
5376 case `"$ac_path_GREP" --version 2>&1` in
5378 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5381 $as_echo_n 0123456789 >"conftest.in"
5384 cat "conftest.in" "conftest.in" >"conftest.tmp"
5385 mv "conftest.tmp" "conftest.in"
5386 cp "conftest.in" "conftest.nl"
5387 $as_echo 'GREP' >> "conftest.nl"
5388 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5389 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5390 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5391 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5392 # Best one so far, save it but keep looking for a better one
5393 ac_cv_path_GREP
="$ac_path_GREP"
5394 ac_path_GREP_max
=$ac_count
5396 # 10*(2^10) chars as input seems more than enough
5397 test $ac_count -gt 10 && break
5399 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5402 $ac_path_GREP_found && break 3
5407 if test -z "$ac_cv_path_GREP"; then
5408 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5411 ac_cv_path_GREP
=$GREP
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5416 $as_echo "$ac_cv_path_GREP" >&6; }
5417 GREP
="$ac_cv_path_GREP"
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5421 $as_echo_n "checking for egrep... " >&6; }
5422 if test "${ac_cv_path_EGREP+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5425 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5426 then ac_cv_path_EGREP
="$GREP -E"
5428 if test -z "$EGREP"; then
5429 ac_path_EGREP_found
=false
5430 # Loop through the user's path and test for each of PROGNAME-LIST
5431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5432 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5435 test -z "$as_dir" && as_dir
=.
5436 for ac_prog
in egrep; do
5437 for ac_exec_ext
in '' $ac_executable_extensions; do
5438 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5439 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
5440 # Check for GNU ac_path_EGREP and select it if it is found.
5441 # Check for GNU $ac_path_EGREP
5442 case `"$ac_path_EGREP" --version 2>&1` in
5444 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5447 $as_echo_n 0123456789 >"conftest.in"
5450 cat "conftest.in" "conftest.in" >"conftest.tmp"
5451 mv "conftest.tmp" "conftest.in"
5452 cp "conftest.in" "conftest.nl"
5453 $as_echo 'EGREP' >> "conftest.nl"
5454 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5455 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5456 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5457 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5458 # Best one so far, save it but keep looking for a better one
5459 ac_cv_path_EGREP
="$ac_path_EGREP"
5460 ac_path_EGREP_max
=$ac_count
5462 # 10*(2^10) chars as input seems more than enough
5463 test $ac_count -gt 10 && break
5465 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5468 $ac_path_EGREP_found && break 3
5473 if test -z "$ac_cv_path_EGREP"; then
5474 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5477 ac_cv_path_EGREP
=$EGREP
5482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5483 $as_echo "$ac_cv_path_EGREP" >&6; }
5484 EGREP
="$ac_cv_path_EGREP"
5487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5488 $as_echo_n "checking for ANSI C header files... " >&6; }
5489 if test "${ac_cv_header_stdc+set}" = set; then :
5490 $as_echo_n "(cached) " >&6
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5507 if ac_fn_c_try_compile
"$LINENO"; then :
5508 ac_cv_header_stdc
=yes
5510 ac_cv_header_stdc
=no
5512 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5514 if test $ac_cv_header_stdc = yes; then
5515 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5516 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5517 /* end confdefs.h. */
5521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5522 $EGREP "memchr" >/dev
/null
2>&1; then :
5525 ac_cv_header_stdc
=no
5531 if test $ac_cv_header_stdc = yes; then
5532 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5539 $EGREP "free" >/dev
/null
2>&1; then :
5542 ac_cv_header_stdc
=no
5548 if test $ac_cv_header_stdc = yes; then
5549 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5550 if test "$cross_compiling" = yes; then :
5553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5554 /* end confdefs.h. */
5557 #if ((' ' & 0x0FF) == 0x020)
5558 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5559 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5561 # define ISLOWER(c) \
5562 (('a' <= (c) && (c) <= 'i') \
5563 || ('j' <= (c) && (c) <= 'r') \
5564 || ('s' <= (c) && (c) <= 'z'))
5565 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5568 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5573 for (i = 0; i < 256; i++)
5574 if (XOR (islower (i), ISLOWER (i))
5575 || toupper (i) != TOUPPER (i))
5580 if ac_fn_c_try_run
"$LINENO"; then :
5583 ac_cv_header_stdc
=no
5585 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5586 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5592 $as_echo "$ac_cv_header_stdc" >&6; }
5593 if test $ac_cv_header_stdc = yes; then
5595 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5600 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5601 inttypes.h stdint.h unistd.h
5603 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5604 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5606 eval as_val
=\$
$as_ac_Header
5607 if test "x$as_val" = x
""yes; then :
5608 cat >>confdefs.h
<<_ACEOF
5609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5617 for ac_header
in sys
/ipc.h sys
/shm.h \
5618 sys
/mmap.h sys
/mman.h sysexits.h \
5619 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
5622 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5623 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5624 eval as_val
=\$
$as_ac_Header
5625 if test "x$as_val" = x
""yes; then :
5626 cat >>confdefs.h
<<_ACEOF
5627 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5635 for ac_header
in sys
/mount.h
5637 ac_fn_c_check_header_compile
"$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/param.h>
5639 if test "x$ac_cv_header_sys_mount_h" = x
""yes; then :
5640 cat >>confdefs.h
<<_ACEOF
5641 #define HAVE_SYS_MOUNT_H 1
5650 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
5651 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
5653 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
5654 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
5655 $as_echo_n "(cached) " >&6
5657 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 #include <sys/types.h>
5671 if ac_fn_c_try_compile
"$LINENO"; then :
5672 eval "$as_ac_Header=yes"
5674 eval "$as_ac_Header=no"
5676 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5678 eval ac_res
=\$
$as_ac_Header
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5680 $as_echo "$ac_res" >&6; }
5681 eval as_val
=\$
$as_ac_Header
5682 if test "x$as_val" = x
""yes; then :
5683 cat >>confdefs.h
<<_ACEOF
5684 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
5687 ac_header_dirent
=$ac_hdr; break
5691 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
5692 if test $ac_header_dirent = dirent.h
; then
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5694 $as_echo_n "checking for library containing opendir... " >&6; }
5695 if test "${ac_cv_search_opendir+set}" = set; then :
5696 $as_echo_n "(cached) " >&6
5698 ac_func_search_save_LIBS
=$LIBS
5699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5702 /* Override any GCC internal prototype to avoid an error.
5703 Use char because int might match the return type of a GCC
5704 builtin and then its argument prototype would still apply. */
5717 for ac_lib
in '' dir
; do
5718 if test -z "$ac_lib"; then
5719 ac_res
="none required"
5722 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5724 if ac_fn_c_try_link
"$LINENO"; then :
5725 ac_cv_search_opendir
=$ac_res
5727 rm -f core conftest.err conftest.
$ac_objext \
5729 if test "${ac_cv_search_opendir+set}" = set; then :
5733 if test "${ac_cv_search_opendir+set}" = set; then :
5736 ac_cv_search_opendir
=no
5739 LIBS
=$ac_func_search_save_LIBS
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5742 $as_echo "$ac_cv_search_opendir" >&6; }
5743 ac_res
=$ac_cv_search_opendir
5744 if test "$ac_res" != no
; then :
5745 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
5751 $as_echo_n "checking for library containing opendir... " >&6; }
5752 if test "${ac_cv_search_opendir+set}" = set; then :
5753 $as_echo_n "(cached) " >&6
5755 ac_func_search_save_LIBS
=$LIBS
5756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5757 /* end confdefs.h. */
5759 /* Override any GCC internal prototype to avoid an error.
5760 Use char because int might match the return type of a GCC
5761 builtin and then its argument prototype would still apply. */
5774 for ac_lib
in '' x
; do
5775 if test -z "$ac_lib"; then
5776 ac_res
="none required"
5779 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
5781 if ac_fn_c_try_link
"$LINENO"; then :
5782 ac_cv_search_opendir
=$ac_res
5784 rm -f core conftest.err conftest.
$ac_objext \
5786 if test "${ac_cv_search_opendir+set}" = set; then :
5790 if test "${ac_cv_search_opendir+set}" = set; then :
5793 ac_cv_search_opendir
=no
5796 LIBS
=$ac_func_search_save_LIBS
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
5799 $as_echo "$ac_cv_search_opendir" >&6; }
5800 ac_res
=$ac_cv_search_opendir
5801 if test "$ac_res" != no
; then :
5802 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5809 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5810 if test "${ac_cv_header_stat_broken+set}" = set; then :
5811 $as_echo_n "(cached) " >&6
5813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5814 /* end confdefs.h. */
5815 #include <sys/types.h>
5816 #include <sys/stat.h>
5818 #if defined S_ISBLK && defined S_IFDIR
5819 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5822 #if defined S_ISBLK && defined S_IFCHR
5823 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5826 #if defined S_ISLNK && defined S_IFREG
5827 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5830 #if defined S_ISSOCK && defined S_IFREG
5831 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5835 if ac_fn_c_try_compile
"$LINENO"; then :
5836 ac_cv_header_stat_broken
=no
5838 ac_cv_header_stat_broken
=yes
5840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5843 $as_echo "$ac_cv_header_stat_broken" >&6; }
5844 if test $ac_cv_header_stat_broken = yes; then
5846 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5851 $as_echo_n "checking for ANSI C header files... " >&6; }
5852 if test "${ac_cv_header_stdc+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5856 /* end confdefs.h. */
5870 if ac_fn_c_try_compile
"$LINENO"; then :
5871 ac_cv_header_stdc
=yes
5873 ac_cv_header_stdc
=no
5875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5877 if test $ac_cv_header_stdc = yes; then
5878 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5885 $EGREP "memchr" >/dev
/null
2>&1; then :
5888 ac_cv_header_stdc
=no
5894 if test $ac_cv_header_stdc = yes; then
5895 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5897 /* end confdefs.h. */
5901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5902 $EGREP "free" >/dev
/null
2>&1; then :
5905 ac_cv_header_stdc
=no
5911 if test $ac_cv_header_stdc = yes; then
5912 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5913 if test "$cross_compiling" = yes; then :
5916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5917 /* end confdefs.h. */
5920 #if ((' ' & 0x0FF) == 0x020)
5921 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5922 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5924 # define ISLOWER(c) \
5925 (('a' <= (c) && (c) <= 'i') \
5926 || ('j' <= (c) && (c) <= 'r') \
5927 || ('s' <= (c) && (c) <= 'z'))
5928 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5936 for (i = 0; i < 256; i++)
5937 if (XOR (islower (i), ISLOWER (i))
5938 || toupper (i) != TOUPPER (i))
5943 if ac_fn_c_try_run
"$LINENO"; then :
5946 ac_cv_header_stdc
=no
5948 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5949 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5955 $as_echo "$ac_cv_header_stdc" >&6; }
5956 if test $ac_cv_header_stdc = yes; then
5958 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
5963 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
5964 if test "${ac_cv_header_sys_wait_h+set}" = set; then :
5965 $as_echo_n "(cached) " >&6
5967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5968 /* end confdefs.h. */
5969 #include <sys/types.h>
5970 #include <sys/wait.h>
5972 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
5975 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5983 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5988 if ac_fn_c_try_compile
"$LINENO"; then :
5989 ac_cv_header_sys_wait_h
=yes
5991 ac_cv_header_sys_wait_h
=no
5993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
5996 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
5997 if test $ac_cv_header_sys_wait_h = yes; then
5999 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
6004 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
6005 if test "${ac_cv_header_time+set}" = set; then :
6006 $as_echo_n "(cached) " >&6
6008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6009 /* end confdefs.h. */
6010 #include <sys/types.h>
6011 #include <sys/time.h>
6017 if ((struct tm *) 0)
6023 if ac_fn_c_try_compile
"$LINENO"; then :
6024 ac_cv_header_time
=yes
6026 ac_cv_header_time
=no
6028 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
6031 $as_echo "$ac_cv_header_time" >&6; }
6032 if test $ac_cv_header_time = yes; then
6034 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
6038 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blksize" "ac_cv_member_struct_stat_st_blksize" "$ac_includes_default"
6039 if test "x$ac_cv_member_struct_stat_st_blksize" = x
""yes; then :
6041 cat >>confdefs.h
<<_ACEOF
6042 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
6046 $as_echo "#define HAVE_ST_BLKSIZE 1" >>confdefs.h
6051 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
6052 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
6054 cat >>confdefs.h
<<_ACEOF
6055 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
6059 $as_echo "#define HAVE_ST_BLOCKS 1" >>confdefs.h
6062 case " $LIBOBJS " in
6063 *" fileblocks.$ac_objext "* ) ;;
6064 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext"
6071 ac_fn_c_check_member
"$LINENO" "struct stat" "st_rdev" "ac_cv_member_struct_stat_st_rdev" "$ac_includes_default"
6072 if test "x$ac_cv_member_struct_stat_st_rdev" = x
""yes; then :
6074 cat >>confdefs.h
<<_ACEOF
6075 #define HAVE_STRUCT_STAT_ST_RDEV 1
6079 $as_echo "#define HAVE_ST_RDEV 1" >>confdefs.h
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
6085 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
6086 if test "${ac_cv_struct_tm+set}" = set; then :
6087 $as_echo_n "(cached) " >&6
6089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6090 /* end confdefs.h. */
6091 #include <sys/types.h>
6098 int *p = &tm.tm_sec;
6104 if ac_fn_c_try_compile
"$LINENO"; then :
6105 ac_cv_struct_tm
=time.h
6107 ac_cv_struct_tm
=sys
/time.h
6109 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
6112 $as_echo "$ac_cv_struct_tm" >&6; }
6113 if test $ac_cv_struct_tm = sys
/time.h
; then
6115 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
6119 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_zone" "ac_cv_member_struct_tm_tm_zone" "#include <sys/types.h>
6120 #include <$ac_cv_struct_tm>
6123 if test "x$ac_cv_member_struct_tm_tm_zone" = x
""yes; then :
6125 cat >>confdefs.h
<<_ACEOF
6126 #define HAVE_STRUCT_TM_TM_ZONE 1
6132 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
6134 $as_echo "#define HAVE_TM_ZONE 1" >>confdefs.h
6137 ac_fn_c_check_decl
"$LINENO" "tzname" "ac_cv_have_decl_tzname" "#include <time.h>
6139 if test "x$ac_cv_have_decl_tzname" = x
""yes; then :
6145 cat >>confdefs.h
<<_ACEOF
6146 #define HAVE_DECL_TZNAME $ac_have_decl
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tzname" >&5
6150 $as_echo_n "checking for tzname... " >&6; }
6151 if test "${ac_cv_var_tzname+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6155 /* end confdefs.h. */
6157 #if !HAVE_DECL_TZNAME
6158 extern char *tzname[];
6164 return tzname[0][0];
6169 if ac_fn_c_try_link
"$LINENO"; then :
6170 ac_cv_var_tzname
=yes
6174 rm -f core conftest.err conftest.
$ac_objext \
6175 conftest
$ac_exeext conftest.
$ac_ext
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_var_tzname" >&5
6178 $as_echo "$ac_cv_var_tzname" >&6; }
6179 if test $ac_cv_var_tzname = yes; then
6181 $as_echo "#define HAVE_TZNAME 1" >>confdefs.h
6186 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
6187 if test "x$ac_cv_type_off_t" = x
""yes; then :
6191 cat >>confdefs.h
<<_ACEOF
6192 #define off_t long int
6197 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
6198 if test "x$ac_cv_type_pid_t" = x
""yes; then :
6202 cat >>confdefs.h
<<_ACEOF
6208 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6209 if test "x$ac_cv_type_size_t" = x
""yes; then :
6213 cat >>confdefs.h
<<_ACEOF
6214 #define size_t unsigned int
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
6220 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
6221 if test "${ac_cv_type_uid_t+set}" = set; then :
6222 $as_echo_n "(cached) " >&6
6224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6226 #include <sys/types.h>
6229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6230 $EGREP "uid_t" >/dev
/null
2>&1; then :
6231 ac_cv_type_uid_t
=yes
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
6239 $as_echo "$ac_cv_type_uid_t" >&6; }
6240 if test $ac_cv_type_uid_t = no
; then
6242 $as_echo "#define uid_t int" >>confdefs.h
6245 $as_echo "#define gid_t int" >>confdefs.h
6250 ac_fn_c_check_member
"$LINENO" "struct tm" "tm_gmtoff" "ac_cv_member_struct_tm_tm_gmtoff" "$ac_includes_default"
6251 if test "x$ac_cv_member_struct_tm_tm_gmtoff" = x
""yes; then :
6253 cat >>confdefs.h
<<_ACEOF
6254 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6261 # Look for some functions
6262 for ac_func
in getpagesize kqueue statfs statvfs \
6263 clone kse_create rfork_thread thr_create sa_register \
6264 getcontext makecontext setcontext sigaltstack swapcontext
6266 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6267 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
6268 eval as_val
=\$
$as_ac_var
6269 if test "x$as_val" = x
""yes; then :
6270 cat >>confdefs.h
<<_ACEOF
6271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6278 for ac_header
in stdlib.h unistd.h
6280 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6281 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
6282 eval as_val
=\$
$as_ac_Header
6283 if test "x$as_val" = x
""yes; then :
6284 cat >>confdefs.h
<<_ACEOF
6285 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6292 for ac_func
in getpagesize
6294 ac_fn_c_check_func
"$LINENO" "getpagesize" "ac_cv_func_getpagesize"
6295 if test "x$ac_cv_func_getpagesize" = x
""yes; then :
6296 cat >>confdefs.h
<<_ACEOF
6297 #define HAVE_GETPAGESIZE 1
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
6304 $as_echo_n "checking for working mmap... " >&6; }
6305 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then :
6306 $as_echo_n "(cached) " >&6
6308 if test "$cross_compiling" = yes; then :
6309 ac_cv_func_mmap_fixed_mapped
=no
6311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6313 $ac_includes_default
6314 /* malloc might have been renamed as rpl_malloc. */
6317 /* Thanks to Mike Haertel and Jim Avera for this test.
6318 Here is a matrix of mmap possibilities:
6319 mmap private not fixed
6320 mmap private fixed at somewhere currently unmapped
6321 mmap private fixed at somewhere already mapped
6322 mmap shared not fixed
6323 mmap shared fixed at somewhere currently unmapped
6324 mmap shared fixed at somewhere already mapped
6325 For private mappings, we should verify that changes cannot be read()
6326 back from the file, nor mmap's back from the file at a different
6327 address. (There have been systems where private was not correctly
6328 implemented like the infamous i386 svr4.0, and systems where the
6329 VM page cache was not coherent with the file system buffer cache
6330 like early versions of FreeBSD and possibly contemporary NetBSD.)
6331 For shared mappings, we should conversely verify that changes get
6332 propagated back to all the places they're supposed to be.
6334 Grep wants private fixed already mapped.
6335 The main things grep needs to know about mmap are:
6336 * does it exist and is it safe to write into the mmap'd area
6337 * how to use it (BSD variants) */
6340 #include <sys/mman.h>
6342 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
6346 /* This mess was copied from the GNU getpagesize.h. */
6347 #ifndef HAVE_GETPAGESIZE
6348 /* Assume that all systems that can run configure have sys/param.h. */
6349 # ifndef HAVE_SYS_PARAM_H
6350 # define HAVE_SYS_PARAM_H 1
6353 # ifdef _SC_PAGESIZE
6354 # define getpagesize() sysconf(_SC_PAGESIZE)
6355 # else /* no _SC_PAGESIZE */
6356 # ifdef HAVE_SYS_PARAM_H
6357 # include <sys/param.h>
6358 # ifdef EXEC_PAGESIZE
6359 # define getpagesize() EXEC_PAGESIZE
6360 # else /* no EXEC_PAGESIZE */
6362 # define getpagesize() NBPG * CLSIZE
6365 # endif /* no CLSIZE */
6366 # else /* no NBPG */
6368 # define getpagesize() NBPC
6369 # else /* no NBPC */
6371 # define getpagesize() PAGESIZE
6372 # endif /* PAGESIZE */
6373 # endif /* no NBPC */
6374 # endif /* no NBPG */
6375 # endif /* no EXEC_PAGESIZE */
6376 # else /* no HAVE_SYS_PARAM_H */
6377 # define getpagesize() 8192 /* punt totally */
6378 # endif /* no HAVE_SYS_PARAM_H */
6379 # endif /* no _SC_PAGESIZE */
6381 #endif /* no HAVE_GETPAGESIZE */
6386 char *data, *data2, *data3;
6390 pagesize = getpagesize ();
6392 /* First, make a file with some known garbage in it. */
6393 data = (char *) malloc (pagesize);
6396 for (i = 0; i < pagesize; ++i)
6397 *(data + i) = rand ();
6399 fd = creat ("conftest.mmap", 0600);
6402 if (write (fd, data, pagesize) != pagesize)
6406 /* Next, try to mmap the file at a fixed address which already has
6407 something else allocated at it. If we can, also make sure that
6408 we see the same garbage. */
6409 fd = open ("conftest.mmap", O_RDWR);
6412 data2 = (char *) malloc (2 * pagesize);
6415 data2 += (pagesize - ((long int) data2 & (pagesize - 1))) & (pagesize - 1);
6416 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6417 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6419 for (i = 0; i < pagesize; ++i)
6420 if (*(data + i) != *(data2 + i))
6423 /* Finally, make sure that changes to the mapped area do not
6424 percolate back to the file as seen by read(). (This is a bug on
6425 some variants of i386 svr4.0.) */
6426 for (i = 0; i < pagesize; ++i)
6427 *(data2 + i) = *(data2 + i) + 1;
6428 data3 = (char *) malloc (pagesize);
6431 if (read (fd, data3, pagesize) != pagesize)
6433 for (i = 0; i < pagesize; ++i)
6434 if (*(data + i) != *(data3 + i))
6440 if ac_fn_c_try_run
"$LINENO"; then :
6441 ac_cv_func_mmap_fixed_mapped
=yes
6443 ac_cv_func_mmap_fixed_mapped
=no
6445 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6446 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
6451 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
6452 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6454 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
6462 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6463 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6464 aros_config_ldflags
=""
6466 aros_shared_default
=yes
6468 aros_shared_cflags
="-fPIC"
6469 aros_shared_aflags
=""
6470 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6471 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6473 aros_target_ar_flags
="cr"
6474 aros_target_nm_flags
="-C -ul"
6475 aros_target_strip_flags
="--strip-unneeded -R.comment"
6480 aros_target_genmap
="-Wl,-Map -Xlinker"
6482 # Native flavour stuff
6484 aros_serial_debug
="0"
6486 # Palm native flavour stuff
6487 aros_palm_debug_hack
="0"
6489 # Unix flavour stuff
6490 aros_nesting_supervisor
="0"
6492 # Collect-aros stuff: "-ius" to ignore undefined symbols
6493 ignore_undefined_symbols
=""
6495 #-----------------------------------------------------------------------------
6498 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6499 # it switched on by default, and we use the host compiler, so it compiles AROS
6500 # code with this enabled resulting in link failures as we don't have support
6503 # We use two methods to disable it. For the host compiler (used to compile
6504 # some hosted modules), we test to see if the compiler supports stack
6505 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6506 # work on all platforms.
6508 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6509 # (this is done unconditionally, as it should have no effect on compilers
6510 # without the stack protection feature). This may be specific to the way that
6511 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6512 # strong enough to disable it in a generic way though, so we'll live with it
6513 # until another vendor ships GCC with it enabled in a different way, and deal
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6518 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6520 save_cflags
="$CFLAGS"
6521 CFLAGS
="$CFLAGS -fno-stack-protector"
6522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6523 /* end confdefs.h. */
6533 if ac_fn_c_try_compile
"$LINENO"; then :
6534 use_no_stack_protector
="yes"
6536 use_no_stack_protector
="no"
6538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6540 $as_echo "$use_no_stack_protector" >&6; }
6541 if test "x-$use_no_stack_protector" = "x-yes" ; then
6542 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6544 if test "x-$cross_compiling" = "x-yes"; then
6545 CC
="$aros_kernel_cc"
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
6547 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
6548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6549 /* end confdefs.h. */
6559 if ac_fn_c_try_compile
"$LINENO"; then :
6560 use_no_stack_protector
="yes"
6562 use_no_stack_protector
="no"
6564 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6566 $as_echo "$use_no_stack_protector" >&6; }
6568 if test "x-$use_no_stack_protector" = "x-yes" ; then
6569 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
6572 CFLAGS
="$save_cflags"
6575 #-----------------------------------------------------------------------------
6577 # Check if we can explicitly choose older version of symbol hashing
6579 save_cflags
="$CFLAGS"
6580 CFLAGS
="$CFLAGS -Wl,--hash-style=sysv"
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
6582 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
6583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6584 /* end confdefs.h. */
6594 if ac_fn_c_try_link
"$LINENO"; then :
6595 use_hash_style
="yes"
6599 rm -f core conftest.err conftest.
$ac_objext \
6600 conftest
$ac_exeext conftest.
$ac_ext
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
6602 $as_echo "$use_hash_style" >&6; }
6603 if test "x-$use_hash_style" = "x-yes" ; then
6604 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
6606 CFLAGS
="$save_cflags"
6609 #-----------------------------------------------------------------------------
6611 # Disable pointer-signedness warnings if the compiler recognises the option
6612 # (this only works for the host compiler at the moment)
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6615 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6616 save_cflags
="$CFLAGS"
6617 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6629 if ac_fn_c_try_compile
"$LINENO"; then :
6630 use_no_sign_warning
="yes"
6632 use_no_sign_warning
="no"
6634 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6636 $as_echo "$use_no_sign_warning" >&6; }
6637 if test "x-$use_no_sign_warning" = "x-yes" ; then
6638 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6640 CFLAGS
="$save_cflags"
6642 #-----------------------------------------------------------------------------
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6645 $as_echo_n "checking for type of build... " >&6; }
6646 # Check whether --enable-build_type was given.
6647 if test "${enable_build_type+set}" = set; then :
6648 enableval
=$enable_build_type; build_type
=$enableval
6650 build_type
="personal"
6654 if test "$build_type" = "nightly"; then
6655 build_type_string
="NIGHTLY"
6656 elif test "$build_type" = "snapshot"; then
6657 build_type_string
="SNAPSHOT"
6658 elif test "$build_type" = "milestone"; then
6659 build_type_string
="MILESTONE"
6660 elif test "$build_type" = "release"; then
6661 build_type_string
="RELEASE"
6663 build_type_string
="PERSONAL"
6664 build_type
="personal"
6667 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6670 $as_echo "$build_type" >&6; }
6672 #-----------------------------------------------------------------------------
6673 all_debug_types
="messages stack mungwall modules symbols"
6675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6676 $as_echo_n "checking which debug types to enable... " >&6; }
6677 # Check whether --enable-debug was given.
6678 if test "${enable_debug+set}" = set; then :
6679 enableval
=$enable_debug; debug
="$enableval"
6685 if test "$debug" = "" -o "$debug" = "no"; then
6687 elif test "$debug" = "yes"; then
6691 if test "$debug" = "all" ; then
6692 debug
=$all_debug_types
6693 for d
in $all_debug_types; do
6694 export aros_
${d}_debug
="1"
6697 for d
in $all_debug_types; do
6698 export aros_
${d}_debug
="0"
6702 if test "$debug" != "none"; then
6703 debug
=`echo $debug | sed s/,/\ /g`
6706 for d2
in $all_debug_types; do
6707 if test "$d2" = "$d"; then
6712 if test "$found" = "0"; then
6713 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6715 export aros_
${d}_debug
="1"
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6720 $as_echo "$debug" >&6; }
6722 if test "$aros_messages_debug" = "1"; then
6723 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6725 aros_messages_debug
=""
6727 if test "$aros_symbols_debug" = "1"; then
6728 aros_symbols_debug
="-g"
6730 aros_symbols_debug
=""
6733 # These are the flags to pass when compiling debugged programs
6734 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6735 aros_debug_aflags
=""
6736 aros_debug_ldflags
="$aros_symbols_debug"
6738 aros_crosstools
="no"
6740 #-----------------------------------------------------------------------------
6741 # Checking if we should build crosstools..
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6743 $as_echo_n "checking whether to build crosstools... " >&6; }
6744 # Check whether --enable-crosstools was given.
6745 if test "${enable_crosstools+set}" = set; then :
6746 enableval
=$enable_crosstools; crosstools
="$enableval"
6751 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6753 $as_echo "yes" >&6; }
6754 aros_crosstools
="yes"
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6757 $as_echo "no" >&6; }
6760 #-----------------------------------------------------------------------------
6761 # Checking for distcc and ccache.
6763 # Always apply the transforms in this particular order. Basically you should
6764 # always run 'ccache distcc compiler' in that order for the best performance.
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6767 $as_echo_n "checking whether to enable distcc... " >&6; }
6768 # Check whether --enable-distcc was given.
6769 if test "${enable_distcc+set}" = set; then :
6770 enableval
=$enable_distcc; distcc
="$enableval"
6775 if test "$distcc" != "" -a "$distcc" != "no"; then
6776 # AC_CHECK_PROG will print out the result in this case
6777 # Extract the first word of "distcc", so it can be a program name with args.
6778 set dummy distcc
; ac_word
=$2
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6780 $as_echo_n "checking for $ac_word... " >&6; }
6781 if test "${ac_cv_path_DISTCC+set}" = set; then :
6782 $as_echo_n "(cached) " >&6
6786 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6793 test -z "$as_dir" && as_dir
=.
6794 for ac_exec_ext
in '' $ac_executable_extensions; do
6795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6796 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6804 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6808 DISTCC
=$ac_cv_path_DISTCC
6809 if test -n "$DISTCC"; then
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6811 $as_echo "$DISTCC" >&6; }
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6814 $as_echo "no" >&6; }
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6820 $as_echo "no" >&6; }
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6824 $as_echo_n "checking whether to enable ccache... " >&6; }
6825 # Check whether --enable-ccache was given.
6826 if test "${enable_ccache+set}" = set; then :
6827 enableval
=$enable_ccache; ccache
="$enableval"
6832 if test "$ccache" != "" -a "$ccache" != "no"; then
6833 # AC_CHECK_PROG will print out the result in this case
6834 # Extract the first word of "ccache", so it can be a program name with args.
6835 set dummy ccache
; ac_word
=$2
6836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6837 $as_echo_n "checking for $ac_word... " >&6; }
6838 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6839 $as_echo_n "(cached) " >&6
6841 if test -n "$CCACHE"; then
6842 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6844 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6848 test -z "$as_dir" && as_dir
=.
6849 for ac_exec_ext
in '' $ac_executable_extensions; do
6850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6851 ac_cv_prog_CCACHE
="ccache"
6852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6861 CCACHE
=$ac_cv_prog_CCACHE
6862 if test -n "$CCACHE"; then
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6864 $as_echo "$CCACHE" >&6; }
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6867 $as_echo "no" >&6; }
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6873 $as_echo "no" >&6; }
6876 #-----------------------------------------------------------------------------
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
6878 $as_echo_n "checking what optimization flags to use... " >&6; }
6880 # Check whether --with-optimization was given.
6881 if test "${with_optimization+set}" = set; then :
6882 withval
=$with_optimization; optimization
="$withval"
6884 optimization
="unknown"
6887 if test "$optimization" = "unknown"; then
6888 if test "$debug" != "none"; then
6894 aros_config_cflags
="$aros_config_cflags $optimization"
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
6896 $as_echo "$optimization" >&6; }
6898 #-----------------------------------------------------------------------------
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
6900 $as_echo_n "checking what target variant to enable... " >&6; }
6901 # Check whether --enable-target_variant was given.
6902 if test "${enable_target_variant+set}" = set; then :
6903 enableval
=$enable_target_variant; target_variant
=$enableval
6905 target_variant
="none"
6908 if test "$target_variant" = "none"; then
6909 aros_target_variant
=""
6910 aros_target_suffix
=""
6912 aros_target_variant
="$target_variant"
6913 aros_target_suffix
="-$target_variant"
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
6916 $as_echo "$enableval" >&6; }
6918 target_bootloader
="none"
6920 #-----------------------------------------------------------------------------
6921 # This is the target configuration switch.
6922 case "$target_os" in
6924 aros_target_arch
="linux"
6925 case "$target_cpu" in
6927 aros_target_cpu
="m68k"
6928 aros_object_format
="m68kelf"
6929 aros_flavour
="emulcompat"
6930 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
6931 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
6932 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
6933 gcc_target_cpu
="mc68000"
6936 aros_target_cpu
="i386"
6937 aros_object_format
="elf_i386"
6938 aros_flavour
="emulation"
6939 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
6940 aros_config_cflags
="$aros_config_cflags -m32"
6941 aros_kernel_cflags
="$aros_kernel_cflags -m32"
6942 aros_config_aflags
="$aros_config_aflags -m32"
6943 aros_config_ldflags
="-m32"
6944 aros_kernel_ldflags
="-melf_i386"
6945 aros_default_wbdepth
=8
6946 gcc_target_cpu
="i386"
6949 aros_target_cpu
="x86_64"
6950 aros_object_format
="elf_x86_64"
6951 aros_flavour
="emulation"
6952 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
6953 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
6954 aros_default_wbdepth
=8
6955 gcc_target_cpu
="x86_64"
6958 aros_target_cpu
="ppc"
6959 aros_object_format
="elf32ppc"
6960 aros_flavour
="emulation"
6961 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
6962 aros_default_wbdepth
=8
6963 gcc_target_cpu
="ppc"
6966 # Same as powerpc, but I need this for the nightly build to work again.
6967 # Actually, the nightly should be made working with powerpc target.
6968 # That just was too much work for the moment, another week or two.
6970 aros_target_cpu
="ppc"
6971 aros_object_format
="elf32ppc"
6972 aros_flavour
="emulation"
6973 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
6974 aros_default_wbdepth
=8
6975 gcc_target_cpu
="ppc"
6978 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
6984 aros_target_arch
="pc"
6985 aros_shared_default
="no"
6986 target_bootloader
="grub2"
6987 case "$target_cpu" in
6989 aros_target_cpu
="i386"
6992 if test "$aros_object_format" = "" ; then
6993 aros_object_format
="elf_i386"
6995 aros_flavour
="standalone"
6996 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
6997 aros_config_cflags
="$aros_config_cflags -m32"
6998 aros_kernel_cflags
="$aros_kernel_cflags -m32"
6999 aros_config_aflags
="$aros_config_aflags -m32"
7000 aros_config_ldflags
="-m32"
7001 aros_kernel_ldflags
="-melf_i386"
7002 aros_default_wbwidth
=640
7003 aros_default_wbheight
=480
7004 gcc_target_cpu
="i386"
7007 aros_target_cpu
="x86_64"
7009 if test "$aros_object_format" = "" ; then
7010 aros_object_format
="elf_x86_64"
7012 aros_flavour
="standalone"
7013 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7014 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
7015 aros_kernel_ldflags
=""
7016 aros_default_wbwidth
=640
7017 aros_default_wbheight
=480
7018 gcc_target_cpu
="x86_64"
7021 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
7027 aros_target_arch
="prep"
7028 aros_shared_default
="no"
7029 aros_target_cpu
="ppc"
7030 aros_object_format
="elf32ppc"
7031 aros_flavour
="ppcnative"
7032 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7033 aros_kernel_ldflags
=""
7034 aros_default_wbwidth
=640
7035 aros_default_wbheight
=480
7036 gcc_target_cpu
="ppc"
7040 aros_target_arch
="freebsd"
7041 aros_target_cpu
="i386"
7042 aros_flavour
="emulation"
7043 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7044 gcc_target_cpu
="i386"
7046 aros_target_strip_flags
="-x"
7050 aros_target_arch
="darwin"
7051 aros_flavour
="emulation"
7053 case "$target_cpu" in
7055 aros_target_cpu
="i386"
7056 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7057 gcc_target_cpu
="i386"
7058 aros_object_format
="elf_i386"
7059 aros_target_strip_flags
="-x"
7062 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7068 aros_target_arch
="dragonfly"
7069 aros_flavour
="emulation"
7070 case "$target_cpu" in
7072 aros_target_cpu
="i386"
7073 aros_object_format
="elf_i386"
7074 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7077 aros_target_cpu
="x86_64"
7078 aros_object_format
="elf_x86_64"
7079 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7082 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7088 aros_target_arch
="netbsd"
7089 case "$target_cpu" in
7091 aros_target_cpu
="m68k"
7092 aros_object_format
="m68kelf"
7093 aros_flavour
="emulcompat"
7094 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7095 gcc_target_cpu
="mc68000"
7098 aros_target_cpu
="i386"
7099 aros_object_format
="elf_i386"
7100 aros_flavour
="emulation"
7101 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7102 aros_default_wbdepth
=8
7103 gcc_target_cpu
="i386"
7106 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7109 aros_target_genmap
="-Wl,-M -Xlinker >"
7110 aros_flavour
="emulation"
7111 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7115 aros_target_arch
="openbsd"
7116 case "$target_cpu" in
7118 aros_target_cpu
="i386"
7119 aros_object_format
="elf_i386"
7120 aros_flavour
="emulation"
7121 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7122 gcc_target_cpu
="i386"
7125 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7128 aros_target_genmap
="-Wl,-M -Xlinker >"
7129 aros_target_nm_flags
="-u"
7130 aros_flavour
="emulation"
7134 aros_target_arch
="solaris"
7135 case "$target_cpu" in
7137 aros_target_cpu
="i386"
7138 aros_object_format
="elf_i386"
7139 aros_flavour
="emulation"
7140 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7141 aros_default_wbdepth
=8
7142 gcc_target_cpu
="i386"
7145 aros_target_cpu
="sparc"
7146 aros_object_format
="elf_sparc"
7147 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7148 gcc_target_cpu
="sparc"
7151 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7154 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7155 aros_flavour
="emulation"
7159 aros_target_arch
="morphos"
7160 aros_shared_default
="no"
7161 aros_target_cpu
="ppc"
7162 aros_object_format
="elf_ppc"
7163 aros_flavour
="nativecompat"
7164 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7165 gcc_target_cpu
="ppc"
7169 aros_target_arch
="sam440"
7170 aros_shared_default
="no"
7171 aros_target_cpu
="ppc"
7172 aros_object_format
="elf32ppc"
7173 aros_flavour
="ppcnative"
7174 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7175 aros_kernel_ldflags
=""
7176 aros_default_wbwidth
=640
7177 aros_default_wbheight
=480
7178 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7179 gcc_target_cpu
="powerpc"
7183 aros_target_arch
="efika"
7184 aros_shared_default
="no"
7185 aros_target_cpu
="arm"
7186 aros_object_format
="armelf_linux_eabi"
7187 aros_flavour
="standalone"
7188 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7189 aros_kernel_ldflags
=""
7190 aros_default_wbwidth
=1024
7191 aros_default_wbheight
=600
7192 aros_arch_libs
="-laeabi"
7193 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7194 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7198 aros_target_arch
="chrp"
7199 aros_shared_default
="no"
7200 aros_target_cpu
="ppc"
7201 aros_object_format
="elf32ppc"
7202 aros_flavour
="ppcnative"
7203 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7204 aros_kernel_ldflags
=""
7205 aros_default_wbwidth
=640
7206 aros_default_wbheight
=480
7207 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7208 gcc_target_cpu
="powerpc"
7209 case "$aros_target_variant" in
7211 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7217 aros_target_arch
="amiga"
7218 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7219 aros_shared_default
="no"
7221 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
7223 case "$target_cpu" in
7225 aros_target_cpu
="m68k"
7226 aros_object_format
="m68kelf"
7227 aros_flavour
="nativecompat"
7228 gcc_target_cpu
="mc68000"
7232 aros_flavour
="native"
7233 gcc_target_cpu
="ppc"
7236 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7242 aros_target_arch
="mingw32"
7243 aros_shared_default
="no"
7246 case "$target_cpu" in
7248 aros_target_cpu
="i386"
7249 aros_object_format
="elf_i386"
7250 aros_flavour
="emulation"
7251 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7252 aros_shared_cflags
=""
7253 aros_default_wbdepth
=8
7254 gcc_target_cpu
="i386"
7255 aros_target_cc
="i386-aros-gcc"
7256 aros_target_ld
="i386-aros-ld"
7257 aros_target_as
="i386-aros-as"
7258 aros_target_ar
="i386-aros-ar"
7259 aros_target_ranlib
="i386-aros-ranlib"
7260 aros_target_nm
="i386-aros-nm"
7261 aros_target_strip
="i386-aros-strip"
7262 aros_target_objcopy
="i386-aros-objcopy"
7263 aros_target_objdump
="i386-aros-objdump"
7264 target_tool_prefix
="i386-mingw32-"
7267 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7270 if test $host_os = "cygwin"; then
7271 aros_kernel_cflags
="-mno-cygwin"
7275 aros_target_arch
="pp"
7276 aros_shared_default
="no"
7277 case "$target_cpu" in
7279 aros_target_cpu
="m68k"
7280 aros_object_format
="m68kelf"
7281 aros_flavour
="palmnative"
7282 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7283 aros_default_wbwidth
=160
7284 aros_default_wbheight
=160
7285 aros_default_wbdepth
=1
7286 aros_target_ar_flags
="cru"
7287 aros_compiler_libs
="-lgcc1"
7288 aros_shared_default
=no
7289 aros_shared_cflags
="-fpic"
7290 aros_shared_aflags
=""
7291 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7292 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7293 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7294 aros_debug_aflags
=""
7295 aros_debug_ldflags
="$aros_symbols_debug"
7296 aros_mungwall_debug
="0"
7297 aros_modules_debug
="0"
7298 gcc_target_cpu
="mc68000"
7299 ignore_undefined_symbols
="-ius"
7302 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7308 aros_target_arch
="mac"
7309 aros_shared_default
="no"
7310 case "$target_cpu" in
7312 aros_target_cpu
="m68k"
7313 aros_object_format
="m68kelf"
7314 aros_flavour
="mac68knative"
7315 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7316 aros_default_wbwidth
=512
7317 aros_default_wbheight
=384
7318 aros_default_wbdepth
=8
7319 aros_target_ar_flags
="cru"
7320 aros_compiler_libs
="-lgcc1"
7321 aros_shared_default
=no
7322 aros_shared_cflags
="-fpic"
7323 aros_shared_aflags
=""
7324 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7325 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7326 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7327 aros_debug_aflags
=""
7328 aros_debug_ldflags
="$aros_symbols_debug"
7329 aros_mungwall_debug
="0"
7330 aros_modules_debug
="0"
7331 gcc_target_cpu
="mc68000"
7332 ignore_undefined_symbols
="-ius"
7335 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7341 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7346 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7348 # Check whether --with-portssources was given.
7349 if test "${with_portssources+set}" = set; then :
7350 withval
=$with_portssources; with_portssrcdir
=$withval
7352 with_portssrcdir
="default"
7355 if test "$with_portssrcdir" = "default"; then
7356 AROS_PORTSSRCDIR
="$AROS_BUILDDIR/bin/Sources"
7358 AROS_PORTSSRCDIR
="$with_portssrcdir"
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7361 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7364 $as_echo_n "checking which bootloader to use... " >&6; }
7366 # Check whether --with-bootloader was given.
7367 if test "${with_bootloader+set}" = set; then :
7368 withval
=$with_bootloader; target_bootloader
=$withval
7370 target_bootloader
=$target_bootloader
7373 if test "$target_bootloader" = "none"; then
7374 aros_target_bootloader
=""
7376 aros_target_bootloader
="$target_bootloader"
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7379 $as_echo "$target_bootloader" >&6; }
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7382 $as_echo_n "checking which icon-set to use... " >&6; }
7384 # Check whether --with-iconset was given.
7385 if test "${with_iconset+set}" = set; then :
7386 withval
=$with_iconset; target_iconset
=$withval
7388 target_iconset
="default"
7391 if test "$target_iconset" = "default"; then
7392 aros_target_iconset
="Gorilla"
7393 target_iconset
="default (Gorilla)"
7395 aros_target_iconset
="$target_iconset"
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7398 $as_echo "$target_iconset" >&6; }
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7401 $as_echo_n "checking which GUI Theme to use... " >&6; }
7403 # Check whether --with-theme was given.
7404 if test "${with_theme+set}" = set; then :
7405 withval
=$with_theme; target_guitheme
=$withval
7407 target_guitheme
="default"
7410 if test "$target_guitheme" = "default"; then
7411 aros_target_guitheme
="Ice"
7413 aros_target_guitheme
="$target_guitheme"
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7416 $as_echo "$aros_target_guitheme" >&6; }
7418 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7421 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7424 if test "$aros_host_cpu" == "x86_64" ; then
7425 if test "$aros_target_cpu" == "i386" ; then
7429 if test "$aros_host_arch" == "darwin" ; then
7433 # Set prefix for target compiler etc. if we're cross-compiling
7434 # (should possibly be earlier but needs to be after AC_PROG_CC)
7435 if test "$cross_compiling" = "yes" ; then
7436 if test "$target_tool_prefix" = ""; then
7437 target_tool_prefix
=${target_cpu}-elf-
7439 CC
=${target_tool_prefix}gcc
7442 #-----------------------------------------------------------------------------
7444 # Disable pointer-signedness warnings if the compiler recognises the option
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7447 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7448 save_cflags
="$CFLAGS"
7449 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7450 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7451 /* end confdefs.h. */
7461 if ac_fn_c_try_compile
"$LINENO"; then :
7462 use_no_sign_warning
="yes"
7464 use_no_sign_warning
="no"
7466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7468 $as_echo "$use_no_sign_warning" >&6; }
7469 if test "x-$use_no_sign_warning" = "x-yes" ; then
7470 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
7472 CFLAGS
="$save_cflags"
7474 #-----------------------------------------------------------------------------
7476 # Find all the tools we need to compile. This could be cross-compiling
7477 # though! If that is the case we use the GNU form of the target and
7478 # simply add this to the front of the binary name. This is rather simple,
7479 # but it should work under most circumstances.
7481 # The default tools are to use the same as the host, but only if the
7482 # host and target CPU are the same. With GCC this is normally enough.
7486 aros_shared_ld
="$aros_host_ld"
7488 aros_target_mkdep
="$aros_host_mkdep"
7489 aros_target_incl_def
="$aros_host_incl"
7491 aros_kernel_cc
="$CC"
7493 # The default tools executables to be linked to.
7494 if test "$aros_target_cc" != ""; then
7495 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
7496 set dummy
$aros_target_cc; ac_word
=$2
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7498 $as_echo_n "checking for $ac_word... " >&6; }
7499 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
7500 $as_echo_n "(cached) " >&6
7502 case $aros_target_cc in
7504 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
7507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7511 test -z "$as_dir" && as_dir
=.
7512 for ac_exec_ext
in '' $ac_executable_extensions; do
7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7525 aros_target_cc
=$ac_cv_path_aros_target_cc
7526 if test -n "$aros_target_cc"; then
7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
7528 $as_echo "$aros_target_cc" >&6; }
7530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7531 $as_echo "no" >&6; }
7535 if test "$aros_target_cc" = ""; then
7536 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7539 if test "$aros_target_ld" != ""; then
7540 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
7541 set dummy
$aros_target_ld; ac_word
=$2
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7543 $as_echo_n "checking for $ac_word... " >&6; }
7544 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
7545 $as_echo_n "(cached) " >&6
7547 case $aros_target_ld in
7549 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
7552 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7556 test -z "$as_dir" && as_dir
=.
7557 for ac_exec_ext
in '' $ac_executable_extensions; do
7558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7559 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
7560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 aros_target_ld
=$ac_cv_path_aros_target_ld
7571 if test -n "$aros_target_ld"; then
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
7573 $as_echo "$aros_target_ld" >&6; }
7575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7576 $as_echo "no" >&6; }
7580 if test "$aros_target_ld" = ""; then
7581 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
7585 if test "$crosstools" != "yes"; then
7587 if test "$aros_target_as" = ""; then
7588 if test "$cross_compiling" = "yes" ; then
7589 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
7590 set dummy
${target_tool_prefix}as
; ac_word
=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7596 case $aros_target_as_ln in
7598 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7601 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir
=.
7606 for ac_exec_ext
in '' $ac_executable_extensions; do
7607 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7608 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7619 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7620 if test -n "$aros_target_as_ln"; then
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7622 $as_echo "$aros_target_as_ln" >&6; }
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7625 $as_echo "no" >&6; }
7630 if test "$GCC" = "yes"; then
7631 aros_gcc_as
=`$CC -print-prog-name=as`
7632 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
7633 set dummy
`basename $aros_gcc_as`; ac_word
=$2
7634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7635 $as_echo_n "checking for $ac_word... " >&6; }
7636 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7637 $as_echo_n "(cached) " >&6
7639 case $aros_target_as_ln in
7641 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7645 for as_dir
in `dirname $aros_gcc_as`
7648 test -z "$as_dir" && as_dir
=.
7649 for ac_exec_ext
in '' $ac_executable_extensions; do
7650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7651 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7662 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7663 if test -n "$aros_target_as_ln"; then
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7665 $as_echo "$aros_target_as_ln" >&6; }
7667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7668 $as_echo "no" >&6; }
7673 if test "$aros_target_as_ln" = ""; then
7674 # Extract the first word of "as", so it can be a program name with args.
7675 set dummy as
; ac_word
=$2
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7677 $as_echo_n "checking for $ac_word... " >&6; }
7678 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7679 $as_echo_n "(cached) " >&6
7681 case $aros_target_as_ln in
7683 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7690 test -z "$as_dir" && as_dir
=.
7691 for ac_exec_ext
in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7704 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7705 if test -n "$aros_target_as_ln"; then
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7707 $as_echo "$aros_target_as_ln" >&6; }
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7710 $as_echo "no" >&6; }
7717 # Extract the first word of "$aros_target_as", so it can be a program name with args.
7718 set dummy
$aros_target_as; ac_word
=$2
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7720 $as_echo_n "checking for $ac_word... " >&6; }
7721 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7722 $as_echo_n "(cached) " >&6
7724 case $aros_target_as_ln in
7726 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7733 test -z "$as_dir" && as_dir
=.
7734 for ac_exec_ext
in '' $ac_executable_extensions; do
7735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7736 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7747 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7748 if test -n "$aros_target_as_ln"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7750 $as_echo "$aros_target_as_ln" >&6; }
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 $as_echo "no" >&6; }
7759 if test "$aros_target_as_ln" = ""; then
7760 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
7763 if test "$aros_kernel_ld" = ""; then
7764 if test "$cross_compiling" = "yes" ; then
7765 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
7766 set dummy
${target_tool_prefix}ld
; ac_word
=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768 $as_echo_n "checking for $ac_word... " >&6; }
7769 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7770 $as_echo_n "(cached) " >&6
7772 case $aros_kernel_ld in
7774 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7777 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7781 test -z "$as_dir" && as_dir
=.
7782 for ac_exec_ext
in '' $ac_executable_extensions; do
7783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7784 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7795 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7796 if test -n "$aros_kernel_ld"; then
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7798 $as_echo "$aros_kernel_ld" >&6; }
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7801 $as_echo "no" >&6; }
7806 if test "$GCC" = "yes"; then
7807 aros_gcc_ld
=`$CC -print-prog-name=ld`
7808 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
7809 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7811 $as_echo_n "checking for $ac_word... " >&6; }
7812 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7813 $as_echo_n "(cached) " >&6
7815 case $aros_kernel_ld in
7817 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7821 for as_dir
in `dirname $aros_gcc_ld`
7824 test -z "$as_dir" && as_dir
=.
7825 for ac_exec_ext
in '' $ac_executable_extensions; do
7826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7827 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7838 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7839 if test -n "$aros_kernel_ld"; then
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7841 $as_echo "$aros_kernel_ld" >&6; }
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7844 $as_echo "no" >&6; }
7849 if test "$aros_kernel_ld" = ""; then
7850 # Extract the first word of "ld", so it can be a program name with args.
7851 set dummy ld
; ac_word
=$2
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7853 $as_echo_n "checking for $ac_word... " >&6; }
7854 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7857 case $aros_kernel_ld in
7859 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7862 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7866 test -z "$as_dir" && as_dir
=.
7867 for ac_exec_ext
in '' $ac_executable_extensions; do
7868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7869 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7881 if test -n "$aros_kernel_ld"; then
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7883 $as_echo "$aros_kernel_ld" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7886 $as_echo "no" >&6; }
7893 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
7894 set dummy
$aros_kernel_ld; ac_word
=$2
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7896 $as_echo_n "checking for $ac_word... " >&6; }
7897 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7898 $as_echo_n "(cached) " >&6
7900 case $aros_kernel_ld in
7902 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir
=.
7910 for ac_exec_ext
in '' $ac_executable_extensions; do
7911 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7912 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7924 if test -n "$aros_kernel_ld"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7926 $as_echo "$aros_kernel_ld" >&6; }
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929 $as_echo "no" >&6; }
7935 if test "$aros_kernel_ld" = ""; then
7936 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
7939 if test "$aros_target_ar" = ""; then
7940 if test "$cross_compiling" = "yes" ; then
7941 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
7942 set dummy
${target_tool_prefix}ar; ac_word
=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
7946 $as_echo_n "(cached) " >&6
7948 case $aros_target_ar_ln in
7950 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7957 test -z "$as_dir" && as_dir
=.
7958 for ac_exec_ext
in '' $ac_executable_extensions; do
7959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7960 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7971 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7972 if test -n "$aros_target_ar_ln"; then
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
7974 $as_echo "$aros_target_ar_ln" >&6; }
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7977 $as_echo "no" >&6; }
7982 if test "$GCC" = "yes"; then
7983 aros_gcc_ar
=`$CC -print-prog-name=ar`
7984 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
7985 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7987 $as_echo_n "checking for $ac_word... " >&6; }
7988 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
7989 $as_echo_n "(cached) " >&6
7991 case $aros_target_ar_ln in
7993 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7997 for as_dir
in `dirname $aros_gcc_ar`
8000 test -z "$as_dir" && as_dir
=.
8001 for ac_exec_ext
in '' $ac_executable_extensions; do
8002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8003 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8015 if test -n "$aros_target_ar_ln"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8017 $as_echo "$aros_target_ar_ln" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8025 if test "$aros_target_ar_ln" = ""; then
8026 # Extract the first word of "ar", so it can be a program name with args.
8027 set dummy
ar; ac_word
=$2
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8029 $as_echo_n "checking for $ac_word... " >&6; }
8030 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8031 $as_echo_n "(cached) " >&6
8033 case $aros_target_ar_ln in
8035 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8042 test -z "$as_dir" && as_dir
=.
8043 for ac_exec_ext
in '' $ac_executable_extensions; do
8044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8045 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8056 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8057 if test -n "$aros_target_ar_ln"; then
8058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8059 $as_echo "$aros_target_ar_ln" >&6; }
8061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8062 $as_echo "no" >&6; }
8069 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8070 set dummy
$aros_target_ar; ac_word
=$2
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8072 $as_echo_n "checking for $ac_word... " >&6; }
8073 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8074 $as_echo_n "(cached) " >&6
8076 case $aros_target_ar_ln in
8078 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8085 test -z "$as_dir" && as_dir
=.
8086 for ac_exec_ext
in '' $ac_executable_extensions; do
8087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8088 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8099 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8100 if test -n "$aros_target_ar_ln"; then
8101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8102 $as_echo "$aros_target_ar_ln" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8105 $as_echo "no" >&6; }
8111 if test "$aros_target_ar_ln" = ""; then
8112 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8115 if test "$aros_target_nm" = ""; then
8116 if test "$cross_compiling" = "yes" ; then
8117 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8118 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8120 $as_echo_n "checking for $ac_word... " >&6; }
8121 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8122 $as_echo_n "(cached) " >&6
8124 case $aros_target_nm_ln in
8126 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8133 test -z "$as_dir" && as_dir
=.
8134 for ac_exec_ext
in '' $ac_executable_extensions; do
8135 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8136 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8147 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8148 if test -n "$aros_target_nm_ln"; then
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8150 $as_echo "$aros_target_nm_ln" >&6; }
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8153 $as_echo "no" >&6; }
8158 if test "$GCC" = "yes"; then
8159 aros_gcc_nm
=`$CC -print-prog-name=nm`
8160 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8161 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8163 $as_echo_n "checking for $ac_word... " >&6; }
8164 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8165 $as_echo_n "(cached) " >&6
8167 case $aros_target_nm_ln in
8169 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8173 for as_dir
in `dirname $aros_gcc_nm`
8176 test -z "$as_dir" && as_dir
=.
8177 for ac_exec_ext
in '' $ac_executable_extensions; do
8178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8179 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8190 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8191 if test -n "$aros_target_nm_ln"; then
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8193 $as_echo "$aros_target_nm_ln" >&6; }
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8196 $as_echo "no" >&6; }
8201 if test "$aros_target_nm_ln" = ""; then
8202 # Extract the first word of "nm", so it can be a program name with args.
8203 set dummy nm
; ac_word
=$2
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8205 $as_echo_n "checking for $ac_word... " >&6; }
8206 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8207 $as_echo_n "(cached) " >&6
8209 case $aros_target_nm_ln in
8211 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8218 test -z "$as_dir" && as_dir
=.
8219 for ac_exec_ext
in '' $ac_executable_extensions; do
8220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8221 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8232 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8233 if test -n "$aros_target_nm_ln"; then
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8235 $as_echo "$aros_target_nm_ln" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8238 $as_echo "no" >&6; }
8245 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8246 set dummy
$aros_target_nm; ac_word
=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8248 $as_echo_n "checking for $ac_word... " >&6; }
8249 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8250 $as_echo_n "(cached) " >&6
8252 case $aros_target_nm_ln in
8254 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8261 test -z "$as_dir" && as_dir
=.
8262 for ac_exec_ext
in '' $ac_executable_extensions; do
8263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8264 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8275 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8276 if test -n "$aros_target_nm_ln"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8278 $as_echo "$aros_target_nm_ln" >&6; }
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8287 if test "$aros_target_nm_ln" = ""; then
8288 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8291 if test "$aros_target_objcopy" = ""; then
8292 if test "$cross_compiling" = "yes" ; then
8293 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8294 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8296 $as_echo_n "checking for $ac_word... " >&6; }
8297 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8298 $as_echo_n "(cached) " >&6
8300 case $aros_target_objcopy_ln in
8302 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8309 test -z "$as_dir" && as_dir
=.
8310 for ac_exec_ext
in '' $ac_executable_extensions; do
8311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8312 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8323 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8324 if test -n "$aros_target_objcopy_ln"; then
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8326 $as_echo "$aros_target_objcopy_ln" >&6; }
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8329 $as_echo "no" >&6; }
8334 if test "$GCC" = "yes"; then
8335 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8336 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8337 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8339 $as_echo_n "checking for $ac_word... " >&6; }
8340 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8341 $as_echo_n "(cached) " >&6
8343 case $aros_target_objcopy_ln in
8345 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8349 for as_dir
in `dirname $aros_gcc_objcopy`
8352 test -z "$as_dir" && as_dir
=.
8353 for ac_exec_ext
in '' $ac_executable_extensions; do
8354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8355 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8366 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8367 if test -n "$aros_target_objcopy_ln"; then
8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8369 $as_echo "$aros_target_objcopy_ln" >&6; }
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8372 $as_echo "no" >&6; }
8377 if test "$aros_target_objcopy_ln" = ""; then
8378 # Extract the first word of "objcopy", so it can be a program name with args.
8379 set dummy objcopy
; ac_word
=$2
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8381 $as_echo_n "checking for $ac_word... " >&6; }
8382 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8383 $as_echo_n "(cached) " >&6
8385 case $aros_target_objcopy_ln in
8387 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8390 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8394 test -z "$as_dir" && as_dir
=.
8395 for ac_exec_ext
in '' $ac_executable_extensions; do
8396 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8397 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8408 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8409 if test -n "$aros_target_objcopy_ln"; then
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8411 $as_echo "$aros_target_objcopy_ln" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8414 $as_echo "no" >&6; }
8421 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8422 set dummy
$aros_target_objcopy; ac_word
=$2
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8424 $as_echo_n "checking for $ac_word... " >&6; }
8425 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8428 case $aros_target_objcopy_ln in
8430 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8437 test -z "$as_dir" && as_dir
=.
8438 for ac_exec_ext
in '' $ac_executable_extensions; do
8439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8440 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8451 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8452 if test -n "$aros_target_objcopy_ln"; then
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8454 $as_echo "$aros_target_objcopy_ln" >&6; }
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8457 $as_echo "no" >&6; }
8463 if test "$aros_target_objcopy_ln" = ""; then
8464 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
8467 if test "$aros_target_objdump" = ""; then
8468 if test "$cross_compiling" = "yes" ; then
8469 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8470 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8472 $as_echo_n "checking for $ac_word... " >&6; }
8473 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8474 $as_echo_n "(cached) " >&6
8476 case $aros_target_objdump_ln in
8478 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8485 test -z "$as_dir" && as_dir
=.
8486 for ac_exec_ext
in '' $ac_executable_extensions; do
8487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8488 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8499 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8500 if test -n "$aros_target_objdump_ln"; then
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8502 $as_echo "$aros_target_objdump_ln" >&6; }
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8505 $as_echo "no" >&6; }
8510 if test "$GCC" = "yes"; then
8511 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8512 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8513 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8515 $as_echo_n "checking for $ac_word... " >&6; }
8516 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8517 $as_echo_n "(cached) " >&6
8519 case $aros_target_objdump_ln in
8521 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8525 for as_dir
in `dirname $aros_gcc_objdump`
8528 test -z "$as_dir" && as_dir
=.
8529 for ac_exec_ext
in '' $ac_executable_extensions; do
8530 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8531 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8542 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8543 if test -n "$aros_target_objdump_ln"; then
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8545 $as_echo "$aros_target_objdump_ln" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8548 $as_echo "no" >&6; }
8553 if test "$aros_target_objdump_ln" = ""; then
8554 # Extract the first word of "objdump", so it can be a program name with args.
8555 set dummy objdump
; ac_word
=$2
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8557 $as_echo_n "checking for $ac_word... " >&6; }
8558 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8561 case $aros_target_objdump_ln in
8563 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8566 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8570 test -z "$as_dir" && as_dir
=.
8571 for ac_exec_ext
in '' $ac_executable_extensions; do
8572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8573 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8584 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8585 if test -n "$aros_target_objdump_ln"; then
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8587 $as_echo "$aros_target_objdump_ln" >&6; }
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8590 $as_echo "no" >&6; }
8597 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
8598 set dummy
$aros_target_objdump; ac_word
=$2
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8600 $as_echo_n "checking for $ac_word... " >&6; }
8601 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8602 $as_echo_n "(cached) " >&6
8604 case $aros_target_objdump_ln in
8606 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8613 test -z "$as_dir" && as_dir
=.
8614 for ac_exec_ext
in '' $ac_executable_extensions; do
8615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8616 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8627 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8628 if test -n "$aros_target_objdump_ln"; then
8629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8630 $as_echo "$aros_target_objdump_ln" >&6; }
8632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8633 $as_echo "no" >&6; }
8639 if test "$aros_target_objdump_ln" = ""; then
8640 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
8643 if test "$aros_target_ranlib" = ""; then
8644 if test "$cross_compiling" = "yes" ; then
8645 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8646 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8648 $as_echo_n "checking for $ac_word... " >&6; }
8649 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8650 $as_echo_n "(cached) " >&6
8652 case $aros_target_ranlib_ln in
8654 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8661 test -z "$as_dir" && as_dir
=.
8662 for ac_exec_ext
in '' $ac_executable_extensions; do
8663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8664 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8675 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8676 if test -n "$aros_target_ranlib_ln"; then
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8678 $as_echo "$aros_target_ranlib_ln" >&6; }
8680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8681 $as_echo "no" >&6; }
8686 if test "$GCC" = "yes"; then
8687 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8688 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8689 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8691 $as_echo_n "checking for $ac_word... " >&6; }
8692 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8693 $as_echo_n "(cached) " >&6
8695 case $aros_target_ranlib_ln in
8697 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8701 for as_dir
in `dirname $aros_gcc_ranlib`
8704 test -z "$as_dir" && as_dir
=.
8705 for ac_exec_ext
in '' $ac_executable_extensions; do
8706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8707 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8718 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8719 if test -n "$aros_target_ranlib_ln"; then
8720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8721 $as_echo "$aros_target_ranlib_ln" >&6; }
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8724 $as_echo "no" >&6; }
8729 if test "$aros_target_ranlib_ln" = ""; then
8730 # Extract the first word of "ranlib", so it can be a program name with args.
8731 set dummy ranlib
; ac_word
=$2
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 $as_echo_n "checking for $ac_word... " >&6; }
8734 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8735 $as_echo_n "(cached) " >&6
8737 case $aros_target_ranlib_ln in
8739 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8746 test -z "$as_dir" && as_dir
=.
8747 for ac_exec_ext
in '' $ac_executable_extensions; do
8748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8749 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8760 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8761 if test -n "$aros_target_ranlib_ln"; then
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8763 $as_echo "$aros_target_ranlib_ln" >&6; }
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8766 $as_echo "no" >&6; }
8773 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
8774 set dummy
$aros_target_ranlib; ac_word
=$2
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8776 $as_echo_n "checking for $ac_word... " >&6; }
8777 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8778 $as_echo_n "(cached) " >&6
8780 case $aros_target_ranlib_ln in
8782 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8785 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8789 test -z "$as_dir" && as_dir
=.
8790 for ac_exec_ext
in '' $ac_executable_extensions; do
8791 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8792 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8803 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8804 if test -n "$aros_target_ranlib_ln"; then
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8806 $as_echo "$aros_target_ranlib_ln" >&6; }
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8809 $as_echo "no" >&6; }
8815 if test "$aros_target_ranlib_ln" = ""; then
8816 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
8819 if test "$aros_target_strip" = ""; then
8820 if test "$cross_compiling" = "yes" ; then
8821 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
8822 set dummy
${target_tool_prefix}strip
; ac_word
=$2
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8824 $as_echo_n "checking for $ac_word... " >&6; }
8825 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8826 $as_echo_n "(cached) " >&6
8828 case $aros_target_strip_ln in
8830 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8833 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8837 test -z "$as_dir" && as_dir
=.
8838 for ac_exec_ext
in '' $ac_executable_extensions; do
8839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8840 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8851 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8852 if test -n "$aros_target_strip_ln"; then
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8854 $as_echo "$aros_target_strip_ln" >&6; }
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8857 $as_echo "no" >&6; }
8862 if test "$GCC" = "yes"; then
8863 aros_gcc_strip
=`$CC -print-prog-name=strip`
8864 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
8865 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8867 $as_echo_n "checking for $ac_word... " >&6; }
8868 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8869 $as_echo_n "(cached) " >&6
8871 case $aros_target_strip_ln in
8873 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8877 for as_dir
in `dirname $aros_gcc_strip`
8880 test -z "$as_dir" && as_dir
=.
8881 for ac_exec_ext
in '' $ac_executable_extensions; do
8882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8883 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8894 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8895 if test -n "$aros_target_strip_ln"; then
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8897 $as_echo "$aros_target_strip_ln" >&6; }
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8905 if test "$aros_target_strip_ln" = ""; then
8906 # Extract the first word of "strip", so it can be a program name with args.
8907 set dummy strip
; ac_word
=$2
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8909 $as_echo_n "checking for $ac_word... " >&6; }
8910 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8911 $as_echo_n "(cached) " >&6
8913 case $aros_target_strip_ln in
8915 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8922 test -z "$as_dir" && as_dir
=.
8923 for ac_exec_ext
in '' $ac_executable_extensions; do
8924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8925 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8936 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8937 if test -n "$aros_target_strip_ln"; then
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8939 $as_echo "$aros_target_strip_ln" >&6; }
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8949 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
8950 set dummy
$aros_target_strip; ac_word
=$2
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8952 $as_echo_n "checking for $ac_word... " >&6; }
8953 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8954 $as_echo_n "(cached) " >&6
8956 case $aros_target_strip_ln in
8958 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8965 test -z "$as_dir" && as_dir
=.
8966 for ac_exec_ext
in '' $ac_executable_extensions; do
8967 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8968 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8979 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8980 if test -n "$aros_target_strip_ln"; then
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8982 $as_echo "$aros_target_strip_ln" >&6; }
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8985 $as_echo "no" >&6; }
8991 if test "$aros_target_strip_ln" = ""; then
8992 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
8996 if test "$rescomp" != ""; then
8997 if test "$cross_compiling" = "yes" ; then
8998 rescomp
=${target_tool_prefix}${rescomp}
9000 # Extract the first word of "$rescomp", so it can be a program name with args.
9001 set dummy
$rescomp; ac_word
=$2
9002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9003 $as_echo_n "checking for $ac_word... " >&6; }
9004 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
9005 $as_echo_n "(cached) " >&6
9007 case $aros_kernel_rescomp in
9009 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
9012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9016 test -z "$as_dir" && as_dir
=.
9017 for ac_exec_ext
in '' $ac_executable_extensions; do
9018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9019 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
9020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9030 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
9031 if test -n "$aros_kernel_rescomp"; then
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
9033 $as_echo "$aros_kernel_rescomp" >&6; }
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9036 $as_echo "no" >&6; }
9040 if test "$aros_kernel_rescomp" = ""; then
9041 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
9045 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
9046 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
9047 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
9048 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
9049 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
9050 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
9051 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
9053 # aros_cc_pre is a variable that is added to the front of the compiler name
9054 # in the generated aros-gcc shell script. We need this to enable the cache
9055 # to work across cleaned builds. Also, support DISTCC using the correct
9056 # environment variable.
9059 if test "x${DISTCC}" != "x" ; then
9060 if test "x${CCACHE}" != "x" ; then
9061 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9063 aros_cc_pre
="${DISTCC} "
9066 if test "x${CCACHE}" != "x" ; then
9067 aros_cc_pre
="${CCACHE} "
9071 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9073 aros_target_nostdinc_cflags
=-nostdinc
9075 aros_target_nostartup_ldflags
=-nostartfiles
9077 aros_target_nix_ldflags
=-nix
9079 aros_target_detach_ldflags
=-detach
9081 aros_target_nostdlib_ldflags
=-nostdlib
9085 if test "$aros_target_cc" = ""; then
9086 orig_target_cc
=$aros_kernel_cc
9088 orig_target_cc
=$aros_target_cc
9090 if test "$aros_target_ld" = ""; then
9091 orig_target_ld
=$aros_kernel_ld
9093 orig_target_ld
=$aros_target_ld
9095 if test "$GCC" = "yes"; then
9096 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9098 aros_target_cc
="${prefix}-gcc"
9099 aros_target_as
="${prefix}-as"
9100 aros_target_ld
="${prefix}-ld"
9101 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9102 aros_target_objcopy
=${prefix}-objcopy
9103 aros_target_objdump
=${prefix}-objdump
9104 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9105 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9106 aros_kernel_nm
="${prefix}-nm"
9107 aros_target_strip
=${prefix}-strip
9109 # Find the system include path. We can suggest that an alternative is
9110 # used if we don't get it correct. The default is to use /usr/include.
9111 # Which is set in the aros_target_incl_def variable.
9113 # Check whether --enable-includes was given.
9114 if test "${enable_includes+set}" = set; then :
9115 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9117 aros_target_incl
=$aros_target_incl_def
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9122 $as_echo_n "checking for the target compiler's include path... " >&6; }
9123 if test "$aros_target_cc_includes" = "" ; then
9124 #try to guess where the directory is
9125 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9126 if ! test -d $aros_target_cc_includes; then
9127 #the directory doesn't exist, we need to do some more work
9128 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9130 #these are the headers we're looling for
9131 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9132 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9136 for h
in $headers; do
9137 #which other headers each of the above headers needs?
9138 deps
=$
(echo "#include <$h>" | \
9139 $aros_host_cc -E -M - 2>/dev
/null | \
9140 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9142 #copy all the needed headers to a directory beneath gendir
9145 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9146 sed -n "s,^.*/include\(/.*\),\1,p")
9147 ! test -d $dir && mkdir
-p $dir
9148 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9154 $as_echo "$aros_target_cc_includes" >&6; }
9157 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9158 # On GCC >= 4.0 -iquote should be used
9162 save_cflags
="$CFLAGS"
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9165 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9167 /* end confdefs.h. */
9177 if ac_fn_c_try_compile
"$LINENO"; then :
9182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9184 $as_echo "$has_iquote" >&6; }
9185 if test "x-$has_iquote" = "x-yes" ; then
9186 host_cflags_iquote
=-iquote
9187 host_cflags_iquote_end
=
9189 host_cflags_iquote
=-I
9190 host_cflags_iquote_end
=-I-
9192 kernel_cflags_iquote
=$host_cflags_iquote
9193 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9194 if test "x-$cross_compiling" = "x-yes"; then
9195 CC
="$aros_kernel_cc"
9196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9197 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9209 if ac_fn_c_try_compile
"$LINENO"; then :
9214 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9216 $as_echo "$has_iquote" >&6; }
9217 if test "x-$has_iquote" = "x-yes" ; then
9218 kernel_cflags_iquote
=-iquote
9219 kernel_cflags_iquote_end
=
9221 kernel_cflags_iquote
=-I
9222 kernel_cflags_iquote_end
=-I-
9225 aros_cflags_iquote
=$kernel_cflags_iquote
9226 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9227 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9228 CC
="$orig_target_cc"
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9230 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9242 if ac_fn_c_try_compile
"$LINENO"; then :
9247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9249 $as_echo "$has_iquote" >&6; }
9250 if test "x-$has_iquote" = "x-yes" ; then
9251 aros_cflags_iquote
=-iquote
9252 aros_cflags_iquote_end
=
9254 aros_cflags_iquote
=-I
9255 aros_cflags_iquote_end
=-I-
9259 CFLAGS
="$save_cflags"
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9270 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9272 # Check whether --with-resolution was given.
9273 if test "${with_resolution+set}" = set; then :
9274 withval
=$with_resolution; resolution
=$withval
9279 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9280 if test "$resolution" = "yes" ; then
9283 if test "$resolution" = "no" ; then
9286 if test "$resolution" != "none" ; then
9287 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9288 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9289 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9292 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9293 aros_cv_default_wbwidth
=$aros_default_wbwidth
9294 aros_cv_default_wbheight
=$aros_default_wbheight
9295 aros_cv_default_wbdepth
=$aros_default_wbdepth
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bochs hack is enabled" >&5
9298 $as_echo_n "checking if bochs hack is enabled... " >&6; }
9299 # Check whether --enable-bochs_hack was given.
9300 if test "${enable_bochs_hack+set}" = set; then :
9301 enableval
=$enable_bochs_hack; bochs_hack
="yes"
9306 if test "$bochs_hack" = "yes" ; then
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bochs_hack" >&5
9310 $as_echo "$bochs_hack" >&6; }
9312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
9313 $as_echo_n "checking if serial debug is enabled... " >&6; }
9315 # Check whether --with-serial-debug was given.
9316 if test "${with_serial_debug+set}" = set; then :
9317 withval
=$with_serial_debug; serial_debug
=$withval
9322 if test "$aros_serial_debug" = 0 ; then
9323 serial_debug_forced
=""
9324 if test "$serial_debug" = "yes" ; then
9327 if test "$serial_debug" = "no" ; then
9331 serial_debug_forced
="(forced)"
9332 serial_debug
=$aros_serial_debug
9334 if test "$serial_debug" != "none" ; then
9335 aros_serial_debug
=$serial_debug
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
9337 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9340 $as_echo "no" >&6; }
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
9344 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
9345 # Check whether --enable-palm_debug_hack was given.
9346 if test "${enable_palm_debug_hack+set}" = set; then :
9347 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
9349 palm_debug_hack
="no"
9352 if test "$palm_debug_hack" = "yes" ; then
9353 aros_palm_debug_hack
="1"
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
9356 $as_echo "$palm_debug_hack" >&6; }
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
9360 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
9361 # Check whether --enable-nesting_supervisor was given.
9362 if test "${enable_nesting_supervisor+set}" = set; then :
9363 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
9365 nesting_supervisor
="no"
9368 if test "$nesting_supervisor" = "yes" ; then
9369 aros_nesting_supervisor
="1"
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
9372 $as_echo "$nesting_supervisor" >&6; }
9375 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9377 if test "x-$need_dlopen" != "x-no" ; then
9378 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9379 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9385 if test "x-$have_dl" = "x-no" ; then
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9387 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9388 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9389 $as_echo_n "(cached) " >&6
9391 ac_check_lib_save_LIBS
=$LIBS
9393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9411 if ac_fn_c_try_link
"$LINENO"; then :
9412 ac_cv_lib_dl_dlopen
=yes
9414 ac_cv_lib_dl_dlopen
=no
9416 rm -f core conftest.err conftest.
$ac_objext \
9417 conftest
$ac_exeext conftest.
$ac_ext
9418 LIBS
=$ac_check_lib_save_LIBS
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9421 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9422 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9424 aros_host_ldflags
="$aros_host_ldflags -ldl"
9430 if test "x-$have_dl" = "x-no" ; then
9431 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
9436 # Check whether --enable-x11_hidd was given.
9437 if test "${enable_x11_hidd+set}" = set; then :
9438 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
9443 case "x-$x11_hidd" in
9444 x-yes|x-no|x-auto
) ;;
9445 *) x11_hidd
="auto" ;;
9450 if test "x-$x11_hidd" != "x-no" ; then
9452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9453 $as_echo_n "checking for X... " >&6; }
9456 # Check whether --with-x was given.
9457 if test "${with_x+set}" = set; then :
9461 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9462 if test "x$with_x" = xno
; then
9463 # The user explicitly disabled X.
9466 case $x_includes,$x_libraries in #(
9467 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
9468 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
9469 $as_echo_n "(cached) " >&6
9471 # One or both of the vars are not set, and there is no cached value.
9472 ac_x_includes
=no ac_x_libraries
=no
9473 rm -f -r conftest.dir
9474 if mkdir conftest.dir
; then
9476 cat >Imakefile
<<'_ACEOF'
9478 @echo incroot='${INCROOT}'
9480 @echo usrlibdir='${USRLIBDIR}'
9482 @echo libdir='${LIBDIR}'
9484 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9485 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9486 for ac_var
in incroot usrlibdir libdir
; do
9487 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9489 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9490 for ac_extension
in a so sl dylib la dll
; do
9491 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9492 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9493 ac_im_usrlibdir
=$ac_im_libdir; break
9496 # Screen out bogus values from the imake configuration. They are
9497 # bogus both because they are the default anyway, and because
9498 # using them would break gcc on systems where it needs fixed includes.
9499 case $ac_im_incroot in
9500 /usr
/include
) ac_x_includes
= ;;
9501 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9503 case $ac_im_usrlibdir in
9504 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9505 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9509 rm -f -r conftest.dir
9512 # Standard set of common directories for X headers.
9513 # Check X11 before X11Rn because it is often a symlink to the current release.
9527 /usr/local/X11/include
9528 /usr/local/X11R7/include
9529 /usr/local/X11R6/include
9530 /usr/local/X11R5/include
9531 /usr/local/X11R4/include
9533 /usr/local/include/X11
9534 /usr/local/include/X11R7
9535 /usr/local/include/X11R6
9536 /usr/local/include/X11R5
9537 /usr/local/include/X11R4
9541 /usr/XFree86/include/X11
9545 /usr/unsupported/include
9547 /usr/local/x11r5/include
9548 /usr/lpp/Xamples/include
9550 /usr/openwin/include
9551 /usr/openwin/share/include'
9553 if test "$ac_x_includes" = no
; then
9554 # Guess where to find include files, by looking for Xlib.h.
9555 # First, try using that file with no special directory specified.
9556 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9557 /* end confdefs.h. */
9558 #include <X11/Xlib.h>
9560 if ac_fn_c_try_cpp
"$LINENO"; then :
9561 # We can compile using X headers with no special include directory.
9564 for ac_dir
in $ac_x_header_dirs; do
9565 if test -r "$ac_dir/X11/Xlib.h"; then
9566 ac_x_includes
=$ac_dir
9571 rm -f conftest.err conftest.
$ac_ext
9572 fi # $ac_x_includes = no
9574 if test "$ac_x_libraries" = no
; then
9575 # Check for the libraries.
9576 # See if we find them without any special options.
9577 # Don't add to $LIBS permanently.
9580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9581 /* end confdefs.h. */
9582 #include <X11/Xlib.h>
9591 if ac_fn_c_try_link
"$LINENO"; then :
9593 # We can link X programs with no special library path.
9597 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9599 # Don't even attempt the hair of trying to link an X program!
9600 for ac_extension
in a so sl dylib la dll
; do
9601 if test -r "$ac_dir/libX11.$ac_extension"; then
9602 ac_x_libraries
=$ac_dir
9608 rm -f core conftest.err conftest.
$ac_objext \
9609 conftest
$ac_exeext conftest.
$ac_ext
9610 fi # $ac_x_libraries = no
9612 case $ac_x_includes,$ac_x_libraries in #(
9614 # Didn't find X, or a directory has "'" in its name.
9615 ac_cv_have_x
="have_x=no";; #(
9617 # Record where we found X for the cache.
9618 ac_cv_have_x
="have_x=yes\
9619 ac_x_includes='$ac_x_includes'\
9620 ac_x_libraries='$ac_x_libraries'"
9626 eval "$ac_cv_have_x"
9629 if test "$have_x" != yes; then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9631 $as_echo "$have_x" >&6; }
9634 # If each of the values was on the command line, it overrides each guess.
9635 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9636 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9637 # Update the cache value to reflect the command line values.
9638 ac_cv_have_x
="have_x=yes\
9639 ac_x_includes='$x_includes'\
9640 ac_x_libraries='$x_libraries'"
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9642 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9647 for path
in $x_libraries
9649 x_cflags
="$x_cflags -L$path"
9652 for path
in $x_includes
9654 x_cflags
="$x_cflags -I$path"
9657 if test "x-$no_x" = "x-yes" ; then
9659 if test "x-$x11_hidd" != "x-auto" ; then
9660 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
9664 x11_hidd_target
=kernel-x11gfx-kobj
9667 # Check whether --enable-x11_shm was given.
9668 if test "${enable_x11_shm+set}" = set; then :
9669 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
9674 case "x-$x11_hidd_shm" in
9675 x-yes|x-no|x-auto
) ;;
9676 *) x11_hidd_shm
="auto" ;;
9681 if test "x-$x11_hidd_shm" != "x-no" ; then
9683 for ac_header
in sys
/ipc.h
9685 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
9686 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
9687 cat >>confdefs.h
<<_ACEOF
9688 #define HAVE_SYS_IPC_H 1
9695 for ac_header
in sys
/shm.h
9697 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
9698 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
9699 cat >>confdefs.h
<<_ACEOF
9700 #define HAVE_SYS_SHM_H 1
9708 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
9710 save_cflags
="$CFLAGS"
9711 CFLAGS
="$CFLAGS $x_cflags"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9713 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9714 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
9715 $as_echo_n "(cached) " >&6
9717 ac_check_lib_save_LIBS
=$LIBS
9719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9728 char XShmQueryExtension ();
9732 return XShmQueryExtension ();
9737 if ac_fn_c_try_link
"$LINENO"; then :
9738 ac_cv_lib_Xext_XShmQueryExtension
=yes
9740 ac_cv_lib_Xext_XShmQueryExtension
=no
9742 rm -f core conftest.err conftest.
$ac_objext \
9743 conftest
$ac_exeext conftest.
$ac_ext
9744 LIBS
=$ac_check_lib_save_LIBS
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9747 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9748 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
9752 CFLAGS
="$save_cflags"
9756 if test "x-$have_xshm" = "x-yes" ; then
9758 elif test "x-$x11_hidd_shm" = "x-yes" ; then
9759 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
9765 # Check whether --enable-x11_vidmode was given.
9766 if test "${enable_x11_vidmode+set}" = set; then :
9767 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
9769 x11_hidd_vidmode
="auto"
9772 case "x-$x11_hidd_vidmode" in
9773 x-yes|x-no|x-auto
) ;;
9774 *) x11_hidd_vidmode
="auto" ;;
9779 if test "x-$x11_hidd_vidmode" != "x-no" ; then
9781 save_cflags
="$CFLAGS"
9782 CFLAGS
="$CFLAGS $x_cflags"
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9784 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
9785 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
9786 $as_echo_n "(cached) " >&6
9788 ac_check_lib_save_LIBS
=$LIBS
9789 LIBS
="-lXxf86vm $LIBS"
9790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9793 /* Override any GCC internal prototype to avoid an error.
9794 Use char because int might match the return type of a GCC
9795 builtin and then its argument prototype would still apply. */
9799 char XF86VidModeQueryExtension ();
9803 return XF86VidModeQueryExtension ();
9808 if ac_fn_c_try_link
"$LINENO"; then :
9809 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9811 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9813 rm -f core conftest.err conftest.
$ac_objext \
9814 conftest
$ac_exeext conftest.
$ac_ext
9815 LIBS
=$ac_check_lib_save_LIBS
9817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9818 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9819 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
9823 CFLAGS
="$save_cflags"
9826 if test "x-$have_vidmode" = "x-yes" ; then
9827 DO_VIDMODE_SUPPORT
="1"
9828 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
9829 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
9831 DO_VIDMODE_SUPPORT
="0"
9835 aros_host_x11_includes
=$x_includes
9836 aros_host_x11_libdirs
=$x_libraries
9840 # Check whether --enable-sdl_hidd was given.
9841 if test "${enable_sdl_hidd+set}" = set; then :
9842 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
9847 case "x-$sdl_hidd" in
9848 x-yes|x-no|x-auto
) ;;
9849 *) sdl_hidd
="auto" ;;
9852 if test "x-$sdl_hidd" != "x-no" ; then
9855 # Check whether --with-sdl-prefix was given.
9856 if test "${with_sdl_prefix+set}" = set; then :
9857 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
9863 # Check whether --with-sdl-exec-prefix was given.
9864 if test "${with_sdl_exec_prefix+set}" = set; then :
9865 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
9870 # Check whether --enable-sdltest was given.
9871 if test "${enable_sdltest+set}" = set; then :
9872 enableval
=$enable_sdltest;
9878 if test x
$sdl_exec_prefix != x
; then
9879 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
9880 if test x
${SDL_CONFIG+set} != xset
; then
9881 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
9884 if test x
$sdl_prefix != x
; then
9885 sdl_args
="$sdl_args --prefix=$sdl_prefix"
9886 if test x
${SDL_CONFIG+set} != xset
; then
9887 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
9891 if test "x$prefix" != xNONE
; then
9892 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
9894 # Extract the first word of "sdl-config", so it can be a program name with args.
9895 set dummy sdl-config
; ac_word
=$2
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9897 $as_echo_n "checking for $ac_word... " >&6; }
9898 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
9899 $as_echo_n "(cached) " >&6
9903 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
9906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9910 test -z "$as_dir" && as_dir
=.
9911 for ac_exec_ext
in '' $ac_executable_extensions; do
9912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9913 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9921 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
9925 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
9926 if test -n "$SDL_CONFIG"; then
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
9928 $as_echo "$SDL_CONFIG" >&6; }
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9931 $as_echo "no" >&6; }
9935 min_sdl_version
=1.2.10
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
9937 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
9939 if test "$SDL_CONFIG" = "no" ; then
9942 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
9943 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
9945 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
9946 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9947 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
9948 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9949 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
9950 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9951 if test "x$enable_sdltest" = "xyes" ; then
9952 ac_save_CFLAGS
="$CFLAGS"
9953 ac_save_CXXFLAGS
="$CXXFLAGS"
9954 ac_save_LIBS
="$LIBS"
9955 CFLAGS
="$CFLAGS $SDL_CFLAGS"
9956 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
9957 LIBS
="$LIBS $SDL_LIBS"
9959 if test "$cross_compiling" = yes; then :
9960 echo $ac_n "cross compiling; assumed OK... $ac_c"
9962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9971 my_strdup (char *str)
9977 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
9978 strcpy (new_str, str);
9986 int main (int argc, char *argv[])
9988 int major, minor, micro;
9991 /* This hangs on some systems (?)
9992 system ("touch conf.sdltest");
9994 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
9996 /* HP/UX 9 (%@#!) writes to sscanf strings */
9997 tmp_version = my_strdup("$min_sdl_version");
9998 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9999 printf("%s, bad version string\n", "$min_sdl_version");
10003 if (($sdl_major_version > major) ||
10004 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
10005 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10011 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10012 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10013 printf("*** best to upgrade to the required version.\n");
10014 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10015 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10016 printf("*** config.cache before re-running configure\n");
10023 if ac_fn_c_try_run
"$LINENO"; then :
10028 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10029 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10032 CFLAGS
="$ac_save_CFLAGS"
10033 CXXFLAGS
="$ac_save_CXXFLAGS"
10034 LIBS
="$ac_save_LIBS"
10037 if test "x$no_sdl" = x
; then
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10039 $as_echo "yes" >&6; }
10042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10043 $as_echo "no" >&6; }
10044 if test "$SDL_CONFIG" = "no" ; then
10045 echo "*** The sdl-config script installed by SDL could not be found"
10046 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10047 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10048 echo "*** full path to sdl-config."
10050 if test -f conf.sdltest
; then
10053 echo "*** Could not run SDL test program, checking why..."
10054 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10055 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10056 LIBS
="$LIBS $SDL_LIBS"
10057 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10063 int main(int argc, char *argv[])
10066 #define main K_and_R_C_main
10076 if ac_fn_c_try_link
"$LINENO"; then :
10077 echo "*** The test program compiled, but did not run. This usually means"
10078 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10079 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10080 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10081 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10082 echo "*** is required on your system"
10084 echo "*** If you have an old version installed, it is best to remove it, although"
10085 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10087 echo "*** The test program failed to compile or link. See the file config.log for the"
10088 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10089 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10090 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10092 rm -f core conftest.err conftest.
$ac_objext \
10093 conftest
$ac_exeext conftest.
$ac_ext
10094 CFLAGS
="$ac_save_CFLAGS"
10095 CXXFLAGS
="$ac_save_CXXFLAGS"
10096 LIBS
="$ac_save_LIBS"
10108 if test "x-$have_sdl" != "x-yes" ; then
10110 if test "x-$sdl_hidd" != "x-auto" ; then
10111 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10115 sdl_hidd_target
=kernel-hidd-sdl
10116 aros_host_sdl_cflags
=SDL_CFLAGS
10117 aros_host_sdl_libs
=SDL_LIBS
10124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10125 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10126 # Check whether --enable-dbus was given.
10127 if test "${enable_dbus+set}" = set; then :
10128 enableval
=$enable_dbus; dbus
="yes"
10133 if test "$dbus" = "yes" ; then
10135 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10136 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10137 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10138 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10143 $as_echo "$dbus" >&6; }
10241 # Native version related
10245 # Palm native version related
10248 # Unix/Hosted version related
10267 # Collect-aros stuff: "-ius" to ignore undefined symbols
10270 # C compiler related
10273 case "$aros_flavour" in
10274 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10275 aros_flavour
="emulation" ;;
10276 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10277 aros_flavour
="emulation" ;;
10278 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10279 aros_flavour
="standalone";;
10280 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10281 aros_flavour
="native" ;;
10282 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10283 aros_flavour
="native" ;;
10284 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10285 aros_flavour
="linklib" ;;
10286 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10287 aros_flavour
="palmnative" ;;
10288 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10289 aros_flavour
="mac68knative" ;;
10290 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10291 aros_flavour
="ppcnative" ;;
10294 if test ! -d ${aros_inc_dir} ; then
10295 ${MKDIR} ${aros_inc_dir}
10297 if test ! -d ${aros_geninc_dir} ; then
10298 ${MKDIR} ${aros_geninc_dir}
10300 if test ! -d ${aros_hostcfg_dir} ; then
10301 ${MKDIR} ${aros_hostcfg_dir}
10303 if test ! -d ${aros_targetcfg_dir} ; then
10304 ${MKDIR} ${aros_targetcfg_dir}
10306 if test ! -d ${aros_tools_dir} ; then
10307 ${MKDIR} ${aros_tools_dir}
10309 if test ! -d ${aros_scripts_dir} ; then
10310 ${MKDIR} ${aros_scripts_dir}
10313 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10316 ac_config_commands
="$ac_config_commands compiler_executable"
10318 ac_config_commands
="$ac_config_commands genshared_executable"
10320 ac_config_commands
="$ac_config_commands genmf_executable"
10323 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"
10326 cat >confcache
<<\_ACEOF
10327 # This file is a shell script that caches the results of configure
10328 # tests run on this system so they can be shared between configure
10329 # scripts and configure runs, see configure's option --config-cache.
10330 # It is not useful on other systems. If it contains results you don't
10331 # want to keep, you may remove or edit it.
10333 # config.status only pays attention to the cache file if you give it
10334 # the --recheck option to rerun configure.
10336 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10337 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10338 # following values.
10342 # The following way of writing the cache mishandles newlines in values,
10343 # but we know of no workaround that is simple, portable, and efficient.
10344 # So, we kill variables containing newlines.
10345 # Ultrix sh set writes to stderr and can't be redirected directly,
10346 # and sets the high bit in the cache file unless we assign to the vars.
10348 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10349 eval ac_val
=\$
$ac_var
10353 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10354 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10357 _ | IFS | as_nl
) ;; #(
10358 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10359 *) { eval $ac_var=; unset $ac_var;} ;;
10365 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10366 *${as_nl}ac_space
=\
*)
10367 # `set' does not quote correctly, so add quotes: double-quote
10368 # substitution turns \\\\ into \\, and sed turns \\ into \.
10371 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10374 # `set' quotes correctly as required by POSIX, so do not add quotes.
10375 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10384 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10386 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10388 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10389 if test -w "$cache_file"; then
10390 test "x$cache_file" != "x/dev/null" &&
10391 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10392 $as_echo "$as_me: updating cache $cache_file" >&6;}
10393 cat confcache
>$cache_file
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10396 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10401 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10402 # Let make expand exec_prefix.
10403 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10405 DEFS
=-DHAVE_CONFIG_H
10409 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10410 # 1. Remove the extension, and $U if already installed.
10411 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10412 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10413 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10414 # will be set to the directory where LIBOBJS objects are built.
10415 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10416 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10418 LIBOBJS
=$ac_libobjs
10420 LTLIBOBJS
=$ac_ltlibobjs
10424 : ${CONFIG_STATUS=./config.status}
10426 ac_clean_files_save
=$ac_clean_files
10427 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10428 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10429 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10431 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10433 # Generated by $as_me.
10434 # Run this file to recreate the current configuration.
10435 # Compiler output produced by configure, useful for debugging
10436 # configure, is in config.log if it exists.
10439 ac_cs_recheck=false
10442 SHELL=\${CONFIG_SHELL-$SHELL}
10445 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
10446 ## -------------------- ##
10447 ## M4sh Initialization. ##
10448 ## -------------------- ##
10450 # Be more Bourne compatible
10451 DUALCASE
=1; export DUALCASE
# for MKS sh
10452 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
10455 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10456 # is contrary to our usage. Disable this feature.
10457 alias -g '${1+"$@"}'='"$@"'
10458 setopt NO_GLOB_SUBST
10460 case `(set -o) 2>/dev/null` in #(
10472 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10473 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10474 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10475 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10476 # Prefer a ksh shell builtin over an external printf program on Solaris,
10477 # but without wasting forks for bash or zsh.
10478 if test -z "$BASH_VERSION$ZSH_VERSION" \
10479 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10480 as_echo='print
-r --'
10481 as_echo_n='print
-rn --'
10482 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10483 as_echo='printf %s
\n'
10484 as_echo_n='printf %s
'
10486 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10487 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10488 as_echo_n='/usr
/ucb
/echo -n'
10490 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10491 as_echo_n_body='eval
10495 expr "X$arg" : "X\\(.*\\)$as_nl";
10496 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10498 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10500 export as_echo_n_body
10501 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10503 export as_echo_body
10504 as_echo='sh
-c $as_echo_body as_echo
'
10507 # The user is always right.
10508 if test "${PATH_SEPARATOR+set}" != set; then
10510 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10511 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10518 # We need space, tab and new line, in precisely that order. Quoting is
10519 # there to prevent editors from complaining about space-tab.
10520 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10521 # splitting by setting IFS to empty value.)
10524 # Find who we are. Look in the path if we contain no directory separator.
10526 *[\\/]* ) as_myself=$0 ;;
10527 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10528 for as_dir in $PATH
10531 test -z "$as_dir" && as_dir=.
10532 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10538 # We did not find ourselves, most probably we were run as `sh COMMAND'
10539 # in which case we are not to be found in the path.
10540 if test "x$as_myself" = x
; then
10543 if test ! -f "$as_myself"; then
10544 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10548 # Unset variables that we do not need and which cause bugs (e.g. in
10549 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10550 # suppresses any "Segmentation fault" message there. '((' could
10551 # trigger a bug in pdksh 5.2.14.
10552 for as_var
in BASH_ENV ENV MAIL MAILPATH
10553 do eval test x\
${$as_var+set} = xset \
10554 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
10567 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
10570 # as_fn_error ERROR [LINENO LOG_FD]
10571 # ---------------------------------
10572 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10573 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10574 # script with status $?, using 1 if that was 0.
10577 as_status
=$?
; test $as_status -eq 0 && as_status
=1
10579 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
10580 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
10582 $as_echo "$as_me: error: $1" >&2
10583 as_fn_exit
$as_status
10587 # as_fn_set_status STATUS
10588 # -----------------------
10589 # Set $? to STATUS, without forking.
10590 as_fn_set_status
()
10593 } # as_fn_set_status
10595 # as_fn_exit STATUS
10596 # -----------------
10597 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10601 as_fn_set_status
$1
10607 # Portably unset VAR.
10610 { eval $1=; unset $1;}
10612 as_unset
=as_fn_unset
10613 # as_fn_append VAR VALUE
10614 # ----------------------
10615 # Append the text in VALUE to the end of the definition contained in VAR. Take
10616 # advantage of any shell optimizations that allow amortized linear growth over
10617 # repeated appends, instead of the typical quadratic growth present in naive
10619 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
10620 eval 'as_fn_append ()
10631 # as_fn_arith ARG...
10632 # ------------------
10633 # Perform arithmetic evaluation on the ARGs, and store the result in the
10634 # global $as_val. Take advantage of shells that can avoid forks. The arguments
10635 # must be portable across $(()) and expr.
10636 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
10637 eval 'as_fn_arith ()
10644 as_val
=`expr "$@" || test $? -eq 1`
10649 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10650 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10656 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10657 as_basename
=basename
10662 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10668 as_me
=`$as_basename -- "$0" ||
10669 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10670 X"$0" : 'X\(//\)$' \| \
10671 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10673 sed '/^.*\/\([^/][^/]*\)\/*$/{
10687 # Avoid depending upon Character Ranges.
10688 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10689 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10690 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10691 as_cr_digits
='0123456789'
10692 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10694 ECHO_C
= ECHO_N
= ECHO_T
=
10695 case `echo -n x` in #(((((
10697 case `echo 'xy\c'` in
10698 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10700 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
10707 rm -f conf$$ conf$$.exe conf$$.
file
10708 if test -d conf$$.dir
; then
10709 rm -f conf$$.dir
/conf$$.
file
10712 mkdir conf$$.dir
2>/dev
/null
10714 if (echo >conf$$.
file) 2>/dev
/null
; then
10715 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10717 # ... but there are two gotchas:
10718 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10719 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10720 # In both cases, we have to default to `cp -p'.
10721 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10723 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10731 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10732 rmdir conf$$.dir
2>/dev
/null
10737 # Create "$as_dir" as a directory, including parents if necessary.
10742 -*) as_dir
=.
/$as_dir;;
10744 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
10748 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10749 *) as_qdir
=$as_dir;;
10751 as_dirs
="'$as_qdir' $as_dirs"
10752 as_dir
=`$as_dirname -- "$as_dir" ||
10753 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10754 X"$as_dir" : 'X\(//\)[^/]' \| \
10755 X"$as_dir" : 'X\(//\)$' \| \
10756 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10757 $as_echo X"$as_dir" |
10758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10762 /^X\(\/\/\)[^/].*/{
10775 test -d "$as_dir" && break
10777 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10778 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
10782 if mkdir
-p .
2>/dev
/null
; then
10783 as_mkdir_p
='mkdir -p "$as_dir"'
10785 test -d .
/-p && rmdir .
/-p
10789 if test -x / >/dev
/null
2>&1; then
10790 as_test_x
='test -x'
10792 if ls -dL / >/dev
/null
2>&1; then
10799 if test -d "$1"; then
10805 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10806 ???[sx]*):;;*)false;;esac;fi
10810 as_executable_p
=$as_test_x
10812 # Sed expression to map a string onto a valid CPP name.
10813 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10815 # Sed expression to map a string onto a valid variable name.
10816 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10820 ## ----------------------------------- ##
10821 ## Main body of $CONFIG_STATUS script. ##
10822 ## ----------------------------------- ##
10824 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
10826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10827 # Save the log message, to keep $0 and so on meaningful, and to
10828 # report actual input values of CONFIG_FILES etc. instead of their
10829 # values after options handling.
10831 This file was extended by $as_me, which was
10832 generated by GNU Autoconf 2.64. Invocation command line was
10834 CONFIG_FILES = $CONFIG_FILES
10835 CONFIG_HEADERS = $CONFIG_HEADERS
10836 CONFIG_LINKS = $CONFIG_LINKS
10837 CONFIG_COMMANDS = $CONFIG_COMMANDS
10840 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10845 case $ac_config_files in *"
10846 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
10849 case $ac_config_headers in *"
10850 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
10854 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10855 # Files that config.status was made for.
10856 config_files="$ac_config_files"
10857 config_headers="$ac_config_headers"
10858 config_commands="$ac_config_commands"
10862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10864 \`$as_me' instantiates files and other configuration actions
10865 from templates according to the current configuration. Unless the files
10866 and actions are specified as TAGs, all are instantiated by default.
10868 Usage: $0 [OPTION]... [TAG]...
10870 -h, --help print this help, then exit
10871 -V, --version print version number and configuration settings, then exit
10872 -q, --quiet, --silent
10873 do not print progress messages
10874 -d, --debug don't remove temporary files
10875 --recheck update $as_me by reconfiguring in the same conditions
10876 --file=FILE[:TEMPLATE]
10877 instantiate the configuration file FILE
10878 --header=FILE[:TEMPLATE]
10879 instantiate the configuration header FILE
10881 Configuration files:
10884 Configuration headers:
10887 Configuration commands:
10890 Report bugs to the package provider."
10893 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10896 configured by $0, generated by GNU Autoconf 2.64,
10897 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10899 Copyright (C) 2009 Free Software Foundation, Inc.
10900 This config.status script is free software; the Free Software Foundation
10901 gives unlimited permission to copy, distribute and modify it."
10905 test -n "\$AWK" || AWK=awk
10908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10909 # The default lists apply if the user does not specify any file.
10915 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10916 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10927 # Handling of the options.
10928 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10930 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10931 $as_echo "$ac_cs_version"; exit ;;
10932 --debug |
--debu |
--deb |
--de |
--d |
-d )
10934 --file |
--fil |
--fi |
--f )
10937 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10939 as_fn_append CONFIG_FILES
" '$ac_optarg'"
10940 ac_need_defaults
=false
;;
10941 --header |
--heade |
--head |
--hea )
10944 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10946 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
10947 ac_need_defaults
=false
;;
10949 # Conflict between --help and --header
10950 as_fn_error
"ambiguous option: \`$1'
10951 Try \`$0 --help' for more information.";;
10952 --help |
--hel |
-h )
10953 $as_echo "$ac_cs_usage"; exit ;;
10954 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10955 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10958 # This is an error.
10959 -*) as_fn_error
"unrecognized option: \`$1'
10960 Try \`$0 --help' for more information." ;;
10962 *) as_fn_append ac_config_targets
" $1"
10963 ac_need_defaults
=false
;;
10969 ac_configure_extra_args
=
10971 if $ac_cs_silent; then
10973 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10978 if \$ac_cs_recheck; then
10979 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10981 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10982 CONFIG_SHELL='$SHELL'
10983 export CONFIG_SHELL
10988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10992 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10993 ## Running $as_me. ##
10999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11004 aros_host_exe_suffix=${aros_host_exe_suffix}
11005 aros_tools_dir=${aros_tools_dir}
11006 aros_target_cpu=${aros_target_cpu}
11007 aros_target_arch=${aros_target_arch}
11008 aros_target_suffix=${aros_target_suffix}
11009 aros_target_nm_ln=${aros_target_nm_ln}
11010 aros_target_as_ln=${aros_target_as_ln}
11011 aros_target_ar_ln=${aros_target_ar_ln}
11012 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11013 aros_target_objdump_ln=${aros_target_objdump_ln}
11014 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11015 aros_target_strip_ln=${aros_target_strip_ln}
11018 aros_scripts_dir=${aros_scripts_dir}
11020 aros_tools_dir=${aros_tools_dir}
11025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11027 # Handling of arguments.
11028 for ac_config_target
in $ac_config_targets
11030 case $ac_config_target in
11031 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11032 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11033 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11034 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11035 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11036 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11037 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11038 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11039 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11040 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11041 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11042 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11043 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11044 "${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" ;;
11045 "${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" ;;
11046 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11047 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11048 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11050 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11055 # If the user did not use the arguments to specify the items to instantiate,
11056 # then the envvar interface is used. Set only those that are not.
11057 # We use the long form for the default assignment because of an extremely
11058 # bizarre bug on SunOS 4.1.3.
11059 if $ac_need_defaults; then
11060 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11061 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11062 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11065 # Have a temporary directory for convenience. Make it in the build tree
11066 # simply because there is no reason against having it here, and in addition,
11067 # creating and moving files from /tmp can sometimes cause problems.
11068 # Hook for its removal unless debugging.
11069 # Note that there is a small window in which the directory will not be cleaned:
11070 # after its creation but before its name has been assigned to `$tmp'.
11074 trap 'exit_status=$?
11075 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11077 trap 'as_fn_exit 1' 1 2 13 15
11079 # Create a (secure) tmp directory for tmp files.
11082 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11083 test -n "$tmp" && test -d "$tmp"
11086 tmp
=.
/conf$$
-$RANDOM
11087 (umask 077 && mkdir
"$tmp")
11088 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11090 # Set up the scripts for CONFIG_FILES section.
11091 # No need to generate them if there are no CONFIG_FILES.
11092 # This happens for instance with `./config.status config.h'.
11093 if test -n "$CONFIG_FILES"; then
11096 ac_cr
=`echo X | tr X '\015'`
11097 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11098 # But we know of no other shell where ac_cr would be empty at this
11099 # point, so we can use a bashism as a fallback.
11100 if test "x$ac_cr" = x
; then
11101 eval ac_cr
=\$
\'\\r
\'
11103 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11104 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11107 ac_cs_awk_cr
=$ac_cr
11110 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11115 echo "cat >conf$$subs.awk <<_ACEOF" &&
11116 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11118 } >conf$$subs.sh ||
11119 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11120 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11122 for ac_last_try in false false false false false :; do
11123 . ./conf$$subs.sh ||
11124 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11126 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11127 if test $ac_delim_n = $ac_delim_num; then
11129 elif $ac_last_try; then
11130 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11132 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11135 rm -f conf$$subs.sh
11137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11138 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11142 s/^/S["/; s
/!.
*/"]=/
11152 s/\(.\{148\}\).*/\1/
11154 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11159 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11166 s/\(.\{148\}\).*/\1/
11168 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11172 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11177 ' <conf$$subs.awk | sed '
11182 ' >>$CONFIG_STATUS || ac_write_fail=1
11183 rm -f conf$$subs.awk
11184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11186 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11187 for (key in S) S_is_set[key] = 1
11193 nfields = split(line, field, "@
")
11195 len = length(field[1])
11196 for (i = 2; i < nfields; i++) {
11198 keylen = length(key)
11199 if (S_is_set[key]) {
11201 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11202 len += length(value) + length(field[++i])
11213 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11214 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11215 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11218 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11219 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11222 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11223 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11224 # trailing colons and then remove the whole line if VPATH becomes empty
11225 # (actually we leave an empty line to preserve line numbers).
11226 if test "x
$srcdir" = x.; then
11227 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11228 s/:*\$(srcdir):*/:/
11229 s/:*\${srcdir}:*/:/
11231 s/^\([^=]*=[ ]*\):*/\1/
11237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11238 fi # test -n "$CONFIG_FILES"
11240 # Set up the scripts for CONFIG_HEADERS section.
11241 # No need to generate them if there are no CONFIG_HEADERS.
11242 # This happens for instance with `./config.status Makefile'.
11243 if test -n "$CONFIG_HEADERS"; then
11244 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11248 # Transform confdefs.h into an awk script `defines.awk', embedded as
11249 # here-document in config.status, that substitutes the proper values into
11250 # config.h.in to produce config.h.
11252 # Create a delimiter string that does not exist in confdefs.h, to ease
11253 # handling of long lines.
11255 for ac_last_try in false false :; do
11256 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11257 if test -z "$ac_t"; then
11259 elif $ac_last_try; then
11260 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11262 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11266 # For the awk script, D is an array of macro values keyed by name,
11267 # likewise P contains macro parameters if any. Preserve backslash
11268 # newline sequences.
11270 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11272 s/.\{148\}/&'"$ac_delim"'/g
11275 s/^[ ]*#[ ]*define[ ][ ]*/ /
11282 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11284 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11288 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11289 D["\
1"]=" \
3\\\\\\n
"\\/p
11291 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11296 s/.\{148\}/&'"$ac_delim"'/g
11301 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11304 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11306 ' <confdefs.h | sed '
11307 s/'"$ac_delim"'/"\\\
11308 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11310 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11311 for (key in D) D_is_set[key] = 1
11314 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11316 split(line, arg, " ")
11317 if (arg[1] == "#") {
11321 defundef
= substr
(arg
[1], 2)
11324 split(mac1
, mac2
, "(") #)
11326 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11327 if (D_is_set
[macro
]) {
11328 # Preserve the white space surrounding the "#".
11329 print prefix
"define", macro P
[macro
] D
[macro
]
11332 # Replace #undef with comments. This is necessary, for example,
11333 # in the case of _POSIX_SOURCE, which is predefined and required
11334 # on some systems where configure will not decide to define it.
11335 if (defundef
== "undef") {
11336 print
"/*", prefix defundef
, macro
, "*/"
11344 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11345 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
11346 fi # test -n "$CONFIG_HEADERS"
11349 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11354 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11356 case $ac_mode$ac_tag in
11358 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
11359 :[FH
]-) ac_tag
=-:-;;
11360 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11377 -) ac_f
="$tmp/stdin";;
11378 *) # Look for the file first in the build tree, then in the source tree
11379 # (if the path is not absolute). The absolute path cannot be DOS-style,
11380 # because $ac_f cannot contain `:'.
11384 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11386 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
11388 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11389 as_fn_append ac_file_inputs
" '$ac_f'"
11392 # Let's still pretend it is `configure' which instantiates (i.e., don't
11393 # use $as_me), people would be surprised to read:
11394 # /* config.h. Generated by config.status. */
11395 configure_input
='Generated from '`
11396 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11398 if test x
"$ac_file" != x-
; then
11399 configure_input
="$ac_file. $configure_input"
11400 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11401 $as_echo "$as_me: creating $ac_file" >&6;}
11403 # Neutralize special characters interpreted by sed in replacement strings.
11404 case $configure_input in #(
11405 *\
&* |
*\|
* |
*\\* )
11406 ac_sed_conf_input
=`$as_echo "$configure_input" |
11407 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11408 *) ac_sed_conf_input
=$configure_input;;
11412 *:-:* |
*:-) cat >"$tmp/stdin" \
11413 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
11418 ac_dir
=`$as_dirname -- "$ac_file" ||
11419 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11420 X"$ac_file" : 'X\(//\)[^/]' \| \
11421 X"$ac_file" : 'X\(//\)$' \| \
11422 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11423 $as_echo X"$ac_file" |
11424 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11428 /^X\(\/\/\)[^/].*/{
11441 as_dir
="$ac_dir"; as_fn_mkdir_p
11445 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11447 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11448 # A ".." for each directory in $ac_dir_suffix.
11449 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11450 case $ac_top_builddir_sub in
11451 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11452 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11455 ac_abs_top_builddir
=$ac_pwd
11456 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11457 # for backward compatibility:
11458 ac_top_builddir
=$ac_top_build_prefix
11461 .
) # We are building in place.
11463 ac_top_srcdir
=$ac_top_builddir_sub
11464 ac_abs_top_srcdir
=$ac_pwd ;;
11465 [\\/]* | ?
:[\\/]* ) # Absolute name.
11466 ac_srcdir
=$srcdir$ac_dir_suffix;
11467 ac_top_srcdir
=$srcdir
11468 ac_abs_top_srcdir
=$srcdir ;;
11469 *) # Relative name.
11470 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11471 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11472 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11474 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11486 # If the template does not know about datarootdir, expand it.
11487 # FIXME: This hack should be removed a few years after 2.60.
11488 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11499 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11500 *datarootdir
*) ac_datarootdir_seen
=yes;;
11501 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11503 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11505 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11506 ac_datarootdir_hack='
11507 s&@datadir@&$datadir&g
11508 s&@docdir@&$docdir&g
11509 s&@infodir@&$infodir&g
11510 s&@localedir@&$localedir&g
11511 s&@mandir@&$mandir&g
11512 s&\\\${datarootdir}&$datarootdir&g' ;;
11516 # Neutralize VPATH when `$srcdir' = `.'.
11517 # Shell code in configure.ac might set extrasub.
11518 # FIXME: do we really want to maintain this feature?
11519 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11520 ac_sed_extra="$ac_vpsub
11523 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11525 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11526 s|@configure_input@|
$ac_sed_conf_input|
;t t
11527 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11528 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11529 s
&@srcdir@
&$ac_srcdir&;t t
11530 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11531 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11532 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11533 s
&@builddir@
&$ac_builddir&;t t
11534 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11535 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11536 $ac_datarootdir_hack
11538 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11539 || as_fn_error "could not create
$ac_file" "$LINENO" 5
11541 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11542 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11543 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11545 which seems to be undefined. Please make sure it is defined." >&5
11546 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11547 which seems to be undefined. Please make sure it is defined." >&2;}
11551 -) cat "$tmp/out" && rm -f "$tmp/out";;
11552 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11554 || as_fn_error "could not create $ac_file" "$LINENO" 5
11560 if test x"$ac_file" != x-; then
11562 $as_echo "/* $configure_input */" \
11563 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11564 } >"$tmp/config.h" \
11565 || as_fn_error "could not create $ac_file" "$LINENO" 5
11566 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11568 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11571 mv "$tmp/config.h" "$ac_file" \
11572 || as_fn_error "could not create $ac_file" "$LINENO" 5
11575 $as_echo "/* $configure_input */" \
11576 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11577 || as_fn_error "could not create -" "$LINENO" 5
11581 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11582 $as_echo "$as_me: executing $ac_file commands" >&6;}
11587 case $ac_file$ac_mode in
11588 "compiler_executable":C)
11589 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
11591 prefix="${prefix}/${aros_target_cpu}-aros"
11592 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
11596 chmod a+x ${prefix2}-gcc ${prefix2}-ld
11598 ln -sf ${prefix2}-gcc ${prefix}-gcc
11599 ln -sf ${prefix2}-ld ${prefix}-ld
11601 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
11602 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
11603 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
11604 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
11605 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
11606 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
11607 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
11609 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
11610 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
11611 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
11612 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
11613 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
11614 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
11615 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
11617 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
11618 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
11626 ac_clean_files=$ac_clean_files_save
11628 test $ac_write_fail = 0 ||
11629 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
11632 # configure is writing to config.log, and then calls config.status.
11633 # config.status does its own redirection, appending to config.log.
11634 # Unfortunately, on DOS this fails, as config.log is still kept open
11635 # by configure, so config.status won't be able to
write to it
; its
11636 # output is simply discarded. So we exec the FD to /dev/null,
11637 # effectively closing config.log, so it can be properly (re)opened and
11638 # appended to by config.status. When coming back to configure, we
11639 # need to make the FD available again.
11640 if test "$no_create" != yes; then
11642 ac_config_status_args
=
11643 test "$silent" = yes &&
11644 ac_config_status_args
="$ac_config_status_args --quiet"
11646 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11649 # would make configure fail if this is the last instruction.
11650 $ac_cs_success || as_fn_exit $?
11652 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11654 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11659 #XXX compatability...
11660 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
11662 if test -n "$aros_shared_cflags" ; then
11663 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
11664 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg