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; }
6519 save_cflags
="$CFLAGS"
6520 CFLAGS
="$CFLAGS -fno-stack-protector"
6521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6522 /* end confdefs.h. */
6532 if ac_fn_c_try_compile
"$LINENO"; then :
6533 use_no_stack_protector
="yes"
6535 use_no_stack_protector
="no"
6537 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
6539 $as_echo "$use_no_stack_protector" >&6; }
6540 if test "x-$use_no_stack_protector" = "x-yes" ; then
6541 aros_host_cflags
="$aros_host_cflags -fno-stack-protector"
6543 CFLAGS
="$save_cflags"
6545 #-----------------------------------------------------------------------------
6547 # Disable pointer-signedness warnings if the compiler recognises the option
6548 # (this only works for the host compiler at the moment)
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
6551 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
6552 save_cflags
="$CFLAGS"
6553 CFLAGS
="$CFLAGS -Wno-pointer-sign"
6554 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6555 /* end confdefs.h. */
6565 if ac_fn_c_try_compile
"$LINENO"; then :
6566 use_no_sign_warning
="yes"
6568 use_no_sign_warning
="no"
6570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
6572 $as_echo "$use_no_sign_warning" >&6; }
6573 if test "x-$use_no_sign_warning" = "x-yes" ; then
6574 aros_host_cflags
="$aros_host_cflags -Wno-pointer-sign"
6576 CFLAGS
="$save_cflags"
6578 #-----------------------------------------------------------------------------
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type of build" >&5
6581 $as_echo_n "checking for type of build... " >&6; }
6582 # Check whether --enable-build_type was given.
6583 if test "${enable_build_type+set}" = set; then :
6584 enableval
=$enable_build_type; build_type
=$enableval
6586 build_type
="personal"
6590 if test "$build_type" = "nightly"; then
6591 build_type_string
="NIGHTLY"
6592 elif test "$build_type" = "snapshot"; then
6593 build_type_string
="SNAPSHOT"
6594 elif test "$build_type" = "milestone"; then
6595 build_type_string
="MILESTONE"
6596 elif test "$build_type" = "release"; then
6597 build_type_string
="RELEASE"
6599 build_type_string
="PERSONAL"
6600 build_type
="personal"
6603 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_type" >&5
6606 $as_echo "$build_type" >&6; }
6608 #-----------------------------------------------------------------------------
6609 all_debug_types
="messages stack mungwall modules symbols"
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which debug types to enable" >&5
6612 $as_echo_n "checking which debug types to enable... " >&6; }
6613 # Check whether --enable-debug was given.
6614 if test "${enable_debug+set}" = set; then :
6615 enableval
=$enable_debug; debug
="$enableval"
6621 if test "$debug" = "" -o "$debug" = "no"; then
6623 elif test "$debug" = "yes"; then
6627 if test "$debug" = "all" ; then
6628 debug
=$all_debug_types
6629 for d
in $all_debug_types; do
6630 export aros_
${d}_debug
="1"
6633 for d
in $all_debug_types; do
6634 export aros_
${d}_debug
="0"
6638 if test "$debug" != "none"; then
6639 debug
=`echo $debug | sed s/,/\ /g`
6642 for d2
in $all_debug_types; do
6643 if test "$d2" = "$d"; then
6648 if test "$found" = "0"; then
6649 as_fn_error
"unrecognized debug type \"$d\". Available types are: all none $all_debug_types" "$LINENO" 5
6651 export aros_
${d}_debug
="1"
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $debug" >&5
6656 $as_echo "$debug" >&6; }
6658 if test "$aros_messages_debug" = "1"; then
6659 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6661 aros_messages_debug
=""
6663 if test "$aros_symbols_debug" = "1"; then
6664 aros_symbols_debug
="-g"
6666 aros_symbols_debug
=""
6669 # These are the flags to pass when compiling debugged programs
6670 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
6671 aros_debug_aflags
=""
6672 aros_debug_ldflags
="$aros_symbols_debug"
6674 aros_crosstools
="no"
6676 #-----------------------------------------------------------------------------
6677 # Checking if we should build crosstools..
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build crosstools" >&5
6679 $as_echo_n "checking whether to build crosstools... " >&6; }
6680 # Check whether --enable-crosstools was given.
6681 if test "${enable_crosstools+set}" = set; then :
6682 enableval
=$enable_crosstools; crosstools
="$enableval"
6687 if test "$crosstools" != "" -a "$crosstools" != "no"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6689 $as_echo "yes" >&6; }
6690 aros_crosstools
="yes"
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6693 $as_echo "no" >&6; }
6696 #-----------------------------------------------------------------------------
6697 # Checking for distcc and ccache.
6699 # Always apply the transforms in this particular order. Basically you should
6700 # always run 'ccache distcc compiler' in that order for the best performance.
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable distcc" >&5
6703 $as_echo_n "checking whether to enable distcc... " >&6; }
6704 # Check whether --enable-distcc was given.
6705 if test "${enable_distcc+set}" = set; then :
6706 enableval
=$enable_distcc; distcc
="$enableval"
6711 if test "$distcc" != "" -a "$distcc" != "no"; then
6712 # AC_CHECK_PROG will print out the result in this case
6713 # Extract the first word of "distcc", so it can be a program name with args.
6714 set dummy distcc
; ac_word
=$2
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6716 $as_echo_n "checking for $ac_word... " >&6; }
6717 if test "${ac_cv_path_DISTCC+set}" = set; then :
6718 $as_echo_n "(cached) " >&6
6722 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
6725 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6729 test -z "$as_dir" && as_dir
=.
6730 for ac_exec_ext
in '' $ac_executable_extensions; do
6731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6732 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
6733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6740 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
6744 DISTCC
=$ac_cv_path_DISTCC
6745 if test -n "$DISTCC"; then
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DISTCC" >&5
6747 $as_echo "$DISTCC" >&6; }
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6750 $as_echo "no" >&6; }
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6756 $as_echo "no" >&6; }
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable ccache" >&5
6760 $as_echo_n "checking whether to enable ccache... " >&6; }
6761 # Check whether --enable-ccache was given.
6762 if test "${enable_ccache+set}" = set; then :
6763 enableval
=$enable_ccache; ccache
="$enableval"
6768 if test "$ccache" != "" -a "$ccache" != "no"; then
6769 # AC_CHECK_PROG will print out the result in this case
6770 # Extract the first word of "ccache", so it can be a program name with args.
6771 set dummy ccache
; ac_word
=$2
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6773 $as_echo_n "checking for $ac_word... " >&6; }
6774 if test "${ac_cv_prog_CCACHE+set}" = set; then :
6775 $as_echo_n "(cached) " >&6
6777 if test -n "$CCACHE"; then
6778 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
6780 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6784 test -z "$as_dir" && as_dir
=.
6785 for ac_exec_ext
in '' $ac_executable_extensions; do
6786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6787 ac_cv_prog_CCACHE
="ccache"
6788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6797 CCACHE
=$ac_cv_prog_CCACHE
6798 if test -n "$CCACHE"; then
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CCACHE" >&5
6800 $as_echo "$CCACHE" >&6; }
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6803 $as_echo "no" >&6; }
6808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6809 $as_echo "no" >&6; }
6812 #-----------------------------------------------------------------------------
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what optimization flags to use" >&5
6814 $as_echo_n "checking what optimization flags to use... " >&6; }
6816 # Check whether --with-optimization was given.
6817 if test "${with_optimization+set}" = set; then :
6818 withval
=$with_optimization; optimization
="$withval"
6820 optimization
="unknown"
6823 if test "$optimization" = "unknown"; then
6824 if test "$debug" != "none"; then
6830 aros_config_cflags
="$aros_config_cflags $optimization"
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $optimization" >&5
6832 $as_echo "$optimization" >&6; }
6834 #-----------------------------------------------------------------------------
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what target variant to enable" >&5
6836 $as_echo_n "checking what target variant to enable... " >&6; }
6837 # Check whether --enable-target_variant was given.
6838 if test "${enable_target_variant+set}" = set; then :
6839 enableval
=$enable_target_variant; target_variant
=$enableval
6841 target_variant
="none"
6844 if test "$target_variant" = "none"; then
6845 aros_target_variant
=""
6846 aros_target_suffix
=""
6848 aros_target_variant
="$target_variant"
6849 aros_target_suffix
="-$target_variant"
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enableval" >&5
6852 $as_echo "$enableval" >&6; }
6854 target_bootloader
="none"
6856 #-----------------------------------------------------------------------------
6857 # This is the target configuration switch.
6858 case "$target_os" in
6860 aros_target_arch
="linux"
6861 case "$target_cpu" in
6863 aros_target_cpu
="m68k"
6864 aros_object_format
="m68kelf"
6865 aros_flavour
="emulcompat"
6866 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
6867 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
6868 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
6869 gcc_target_cpu
="mc68000"
6872 aros_target_cpu
="i386"
6873 aros_object_format
="elf_i386"
6874 aros_flavour
="emulation"
6875 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
6876 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
6877 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
6878 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
6879 aros_config_ldflags
="-m32 -march=i486"
6880 aros_kernel_ldflags
="-melf_i386"
6881 aros_default_wbdepth
=8
6882 gcc_target_cpu
="i386"
6885 aros_target_cpu
="x86_64"
6886 aros_object_format
="elf_x86_64"
6887 aros_flavour
="emulation"
6888 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
6889 aros_config_cflags
="$aros_config_cflags -mno-red-zone"
6890 aros_default_wbdepth
=8
6891 gcc_target_cpu
="x86_64"
6894 aros_target_cpu
="ppc"
6895 aros_object_format
="elf32ppc"
6896 aros_flavour
="emulation"
6897 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
6898 aros_default_wbdepth
=8
6899 gcc_target_cpu
="ppc"
6902 # Same as powerpc, but I need this for the nightly build to work again.
6903 # Actually, the nightly should be made working with powerpc target.
6904 # That just was too much work for the moment, another week or two.
6906 aros_target_cpu
="ppc"
6907 aros_object_format
="elf32ppc"
6908 aros_flavour
="emulation"
6909 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
6910 aros_default_wbdepth
=8
6911 gcc_target_cpu
="ppc"
6914 as_fn_error
"\"Unknown CPU for Linux -- $target_cpu\"" "$LINENO" 5
6920 aros_target_arch
="pc"
6921 aros_shared_default
="no"
6922 target_bootloader
="grub2"
6923 case "$target_cpu" in
6925 aros_target_cpu
="i386"
6928 if test "$aros_object_format" = "" ; then
6929 aros_object_format
="elf_i386"
6931 aros_flavour
="standalone"
6932 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
6933 aros_config_cflags
="$aros_config_cflags -m32 -march=i486"
6934 aros_kernel_cflags
="$aros_kernel_cflags -m32 -march=i486"
6935 aros_config_aflags
="$aros_config_aflags -m32 -march=i486"
6936 aros_config_ldflags
="-m32 -march=i486"
6937 aros_kernel_ldflags
="-melf_i386"
6938 aros_default_wbwidth
=640
6939 aros_default_wbheight
=480
6940 gcc_target_cpu
="i386"
6943 aros_target_cpu
="x86_64"
6945 if test "$aros_object_format" = "" ; then
6946 aros_object_format
="elf_x86_64"
6948 aros_flavour
="standalone"
6949 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
6950 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables -mno-red-zone"
6951 aros_kernel_ldflags
=""
6952 aros_default_wbwidth
=640
6953 aros_default_wbheight
=480
6954 gcc_target_cpu
="x86_64"
6957 as_fn_error
"\"Unknown native CPU -- $target_cpu\"" "$LINENO" 5
6963 aros_target_arch
="prep"
6964 aros_shared_default
="no"
6965 aros_target_cpu
="ppc"
6966 aros_object_format
="elf32ppc"
6967 aros_flavour
="ppcnative"
6968 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
6969 aros_kernel_ldflags
=""
6970 aros_default_wbwidth
=640
6971 aros_default_wbheight
=480
6972 gcc_target_cpu
="ppc"
6976 aros_target_arch
="freebsd"
6977 aros_target_cpu
="i386"
6978 aros_flavour
="emulation"
6979 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
6980 gcc_target_cpu
="i386"
6982 aros_target_strip_flags
="-x"
6986 aros_target_arch
="darwin"
6987 aros_flavour
="emulation"
6989 case "$target_cpu" in
6991 aros_target_cpu
="i386"
6992 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
6993 gcc_target_cpu
="i386"
6994 aros_object_format
="elf_i386"
6995 aros_target_strip_flags
="-x"
6998 as_fn_error
"\"Unsupported target CPU for darwin hosted flavour -- $target_cpu\"" "$LINENO" 5
7004 aros_target_arch
="dragonfly"
7005 aros_flavour
="emulation"
7006 case "$target_cpu" in
7008 aros_target_cpu
="i386"
7009 aros_object_format
="elf_i386"
7010 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__DragonFly__"
7013 aros_target_cpu
="x86_64"
7014 aros_object_format
="elf_x86_64"
7015 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__DragonFly__"
7018 as_fn_error
"\"Unknown CPU for DragonFly -- $target_cpu\"" "$LINENO" 5
7024 aros_target_arch
="netbsd"
7025 case "$target_cpu" in
7027 aros_target_cpu
="m68k"
7028 aros_object_format
="m68kelf"
7029 aros_flavour
="emulcompat"
7030 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7031 gcc_target_cpu
="mc68000"
7034 aros_target_cpu
="i386"
7035 aros_object_format
="elf_i386"
7036 aros_flavour
="emulation"
7037 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7038 aros_default_wbdepth
=8
7039 gcc_target_cpu
="i386"
7042 as_fn_error
"\"Unknown CPU for NetBSD -- $target_cpu\"" "$LINENO" 5
7045 aros_target_genmap
="-Wl,-M -Xlinker >"
7046 aros_flavour
="emulation"
7047 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7051 aros_target_arch
="openbsd"
7052 case "$target_cpu" in
7054 aros_target_cpu
="i386"
7055 aros_object_format
="elf_i386"
7056 aros_flavour
="emulation"
7057 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7058 gcc_target_cpu
="i386"
7061 as_fn_error
"\"Unknown CPU for OpenBSD -- $target_cpu\"" "$LINENO" 5
7064 aros_target_genmap
="-Wl,-M -Xlinker >"
7065 aros_target_nm_flags
="-u"
7066 aros_flavour
="emulation"
7070 aros_target_arch
="solaris"
7071 case "$target_cpu" in
7073 aros_target_cpu
="i386"
7074 aros_object_format
="elf_i386"
7075 aros_flavour
="emulation"
7076 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__Solaris__"
7077 aros_default_wbdepth
=8
7078 gcc_target_cpu
="i386"
7081 aros_target_cpu
="sparc"
7082 aros_object_format
="elf_sparc"
7083 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7084 gcc_target_cpu
="sparc"
7087 as_fn_error
"\"Unknown CPU for Solaris -- $target_cpu\"" "$LINENO" 5
7090 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7091 aros_flavour
="emulation"
7095 aros_target_arch
="morphos"
7096 aros_shared_default
="no"
7097 aros_target_cpu
="ppc"
7098 aros_object_format
="elf_ppc"
7099 aros_flavour
="nativecompat"
7100 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7101 gcc_target_cpu
="ppc"
7105 aros_target_arch
="sam440"
7106 aros_shared_default
="no"
7107 aros_target_cpu
="ppc"
7108 aros_object_format
="elf32ppc"
7109 aros_flavour
="ppcnative"
7110 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7111 aros_kernel_ldflags
=""
7112 aros_default_wbwidth
=1024
7113 aros_default_wbheight
=768
7114 aros_config_cflags
="$aros_config_cflags -mcpu=440fp -mno-toc -fno-asynchronous-unwind-tables"
7115 gcc_target_cpu
="powerpc"
7119 aros_target_arch
="efika"
7120 aros_shared_default
="no"
7121 aros_target_cpu
="arm"
7122 aros_object_format
="armelf_linux_eabi"
7123 aros_flavour
="standalone"
7124 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Darm"
7125 aros_kernel_ldflags
=""
7126 aros_default_wbwidth
=1024
7127 aros_default_wbheight
=600
7128 aros_arch_libs
="-laeabi"
7129 aros_config_cflags
="$aros_config_cflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7130 aros_config_aflags
="$aros_config_aflags -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-asynchronous-unwind-tables -fno-exceptions"
7134 aros_target_arch
="chrp"
7135 aros_shared_default
="no"
7136 aros_target_cpu
="ppc"
7137 aros_object_format
="elf32ppc"
7138 aros_flavour
="ppcnative"
7139 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7140 aros_kernel_ldflags
=""
7141 aros_default_wbwidth
=640
7142 aros_default_wbheight
=480
7143 aros_config_cflags
="$aros_config_cflags -mno-toc -fno-asynchronous-unwind-tables"
7144 gcc_target_cpu
="powerpc"
7145 case "$aros_target_variant" in
7147 aros_config_cflags
="$aros_config_cflags -DBIG_ENDIAN_OHCI=1 -mcpu=603e"
7153 aros_target_arch
="amiga"
7154 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7155 aros_shared_default
="no"
7157 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
7159 case "$target_cpu" in
7161 aros_target_cpu
="m68k"
7162 aros_object_format
="m68kelf"
7163 aros_flavour
="nativecompat"
7164 gcc_target_cpu
="mc68000"
7168 aros_flavour
="native"
7169 gcc_target_cpu
="ppc"
7172 as_fn_error
"\"Unknown CPU for Amiga $target_cpu\"" "$LINENO" 5
7178 aros_target_arch
="mingw32"
7179 aros_shared_default
="no"
7182 case "$target_cpu" in
7184 aros_target_cpu
="i386"
7185 aros_object_format
="elf_i386"
7186 aros_flavour
="emulation"
7187 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7188 aros_shared_cflags
=""
7189 aros_default_wbdepth
=8
7190 gcc_target_cpu
="i386"
7191 aros_target_cc
="i386-aros-gcc"
7192 aros_target_ld
="i386-aros-ld"
7193 aros_target_as
="i386-aros-as"
7194 aros_target_ar
="i386-aros-ar"
7195 aros_target_ranlib
="i386-aros-ranlib"
7196 aros_target_nm
="i386-aros-nm"
7197 aros_target_strip
="i386-aros-strip"
7198 aros_target_objcopy
="i386-aros-objcopy"
7199 aros_target_objdump
="i386-aros-objdump"
7200 target_tool_prefix
="i386-mingw32-"
7203 as_fn_error
"\"Unknown CPU for Mingw32 -- $target_cpu\"" "$LINENO" 5
7206 if test $host_os = "cygwin"; then
7207 aros_kernel_cflags
="-mno-cygwin"
7211 aros_target_arch
="pp"
7212 aros_shared_default
="no"
7213 case "$target_cpu" in
7215 aros_target_cpu
="m68k"
7216 aros_object_format
="m68kelf"
7217 aros_flavour
="palmnative"
7218 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7219 aros_default_wbwidth
=160
7220 aros_default_wbheight
=160
7221 aros_default_wbdepth
=1
7222 aros_target_ar_flags
="cru"
7223 aros_compiler_libs
="-lgcc1"
7224 aros_shared_default
=no
7225 aros_shared_cflags
="-fpic"
7226 aros_shared_aflags
=""
7227 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7228 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7229 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7230 aros_debug_aflags
=""
7231 aros_debug_ldflags
="$aros_symbols_debug"
7232 aros_mungwall_debug
="0"
7233 aros_modules_debug
="0"
7234 gcc_target_cpu
="mc68000"
7235 ignore_undefined_symbols
="-ius"
7238 as_fn_error
"\"Unknown CPU for PalmPilot -- $target_cpu\"" "$LINENO" 5
7244 aros_target_arch
="mac"
7245 aros_shared_default
="no"
7246 case "$target_cpu" in
7248 aros_target_cpu
="m68k"
7249 aros_object_format
="m68kelf"
7250 aros_flavour
="mac68knative"
7251 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7252 aros_default_wbwidth
=512
7253 aros_default_wbheight
=384
7254 aros_default_wbdepth
=8
7255 aros_target_ar_flags
="cru"
7256 aros_compiler_libs
="-lgcc1"
7257 aros_shared_default
=no
7258 aros_shared_cflags
="-fpic"
7259 aros_shared_aflags
=""
7260 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7261 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7262 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7263 aros_debug_aflags
=""
7264 aros_debug_ldflags
="$aros_symbols_debug"
7265 aros_mungwall_debug
="0"
7266 aros_modules_debug
="0"
7267 gcc_target_cpu
="mc68000"
7268 ignore_undefined_symbols
="-ius"
7271 as_fn_error
"\"Unknown CPU for Mac68k -- $target_cpu\"" "$LINENO" 5
7277 as_fn_error
"Unsupported target architecture $target" "$LINENO" 5
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Where to download sourcecode for external ports" >&5
7282 $as_echo_n "checking Where to download sourcecode for external ports... " >&6; }
7284 # Check whether --with-portssources was given.
7285 if test "${with_portssources+set}" = set; then :
7286 withval
=$with_portssources; with_portssrcdir
=$withval
7288 with_portssrcdir
="default"
7291 if test "$with_portssrcdir" = "default"; then
7292 AROS_PORTSSRCDIR
="$AROS_BUILDDIR/bin/Sources"
7294 AROS_PORTSSRCDIR
="$with_portssrcdir"
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AROS_PORTSSRCDIR" >&5
7297 $as_echo "$AROS_PORTSSRCDIR" >&6; }
7299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which bootloader to use" >&5
7300 $as_echo_n "checking which bootloader to use... " >&6; }
7302 # Check whether --with-bootloader was given.
7303 if test "${with_bootloader+set}" = set; then :
7304 withval
=$with_bootloader; target_bootloader
=$withval
7306 target_bootloader
=$target_bootloader
7309 if test "$target_bootloader" = "none"; then
7310 aros_target_bootloader
=""
7312 aros_target_bootloader
="$target_bootloader"
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_bootloader" >&5
7315 $as_echo "$target_bootloader" >&6; }
7317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which icon-set to use" >&5
7318 $as_echo_n "checking which icon-set to use... " >&6; }
7320 # Check whether --with-iconset was given.
7321 if test "${with_iconset+set}" = set; then :
7322 withval
=$with_iconset; target_iconset
=$withval
7324 target_iconset
="default"
7327 if test "$target_iconset" = "default"; then
7328 aros_target_iconset
="Gorilla"
7329 target_iconset
="default (Gorilla)"
7331 aros_target_iconset
="$target_iconset"
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_iconset" >&5
7334 $as_echo "$target_iconset" >&6; }
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which GUI Theme to use" >&5
7337 $as_echo_n "checking which GUI Theme to use... " >&6; }
7339 # Check whether --with-theme was given.
7340 if test "${with_theme+set}" = set; then :
7341 withval
=$with_theme; target_guitheme
=$withval
7343 target_guitheme
="default"
7346 if test "$target_guitheme" = "default"; then
7347 aros_target_guitheme
="Ice"
7349 aros_target_guitheme
="$target_guitheme"
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_guitheme" >&5
7352 $as_echo "$aros_target_guitheme" >&6; }
7354 # Find out if we are cross-compiling (i.e. if we can't use the host compiler
7357 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7360 if test "$aros_host_cpu" == "x86_64" ; then
7361 if test "$aros_target_cpu" == "i386" ; then
7362 if test "$aros_target_arch" != "mingw32"; then
7367 if test "$aros_host_arch" == "darwin" ; then
7371 # Set prefix for target compiler etc. if we're cross-compiling
7372 # (should possibly be earlier but needs to be after AC_PROG_CC)
7373 if test "$cross_compiling" = "yes" ; then
7374 if test "$target_tool_prefix" = ""; then
7375 target_tool_prefix
=${target_cpu}-elf-
7377 CC
=${target_tool_prefix}gcc
7380 #-----------------------------------------------------------------------------
7382 # Disable pointer-signedness warnings if the compiler recognises the option
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wno-pointer-sign" >&5
7385 $as_echo_n "checking whether ${CC} accepts -Wno-pointer-sign... " >&6; }
7386 save_cflags
="$CFLAGS"
7387 CFLAGS
="$CFLAGS -Wno-pointer-sign"
7388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7389 /* end confdefs.h. */
7399 if ac_fn_c_try_compile
"$LINENO"; then :
7400 use_no_sign_warning
="yes"
7402 use_no_sign_warning
="no"
7404 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_sign_warning" >&5
7406 $as_echo "$use_no_sign_warning" >&6; }
7407 if test "x-$use_no_sign_warning" = "x-yes" ; then
7408 aros_config_cflags
="$aros_config_cflags -Wno-pointer-sign"
7410 CFLAGS
="$save_cflags"
7412 #-----------------------------------------------------------------------------
7414 # Find all the tools we need to compile. This could be cross-compiling
7415 # though! If that is the case we use the GNU form of the target and
7416 # simply add this to the front of the binary name. This is rather simple,
7417 # but it should work under most circumstances.
7419 # The default tools are to use the same as the host, but only if the
7420 # host and target CPU are the same. With GCC this is normally enough.
7424 aros_shared_ld
="$aros_host_ld"
7426 aros_target_mkdep
="$aros_host_mkdep"
7427 aros_target_incl_def
="$aros_host_incl"
7429 aros_kernel_cc
="$CC"
7431 # The default tools executables to be linked to.
7432 if test "$aros_target_cc" != ""; then
7433 # Extract the first word of "$aros_target_cc", so it can be a program name with args.
7434 set dummy
$aros_target_cc; ac_word
=$2
7435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7436 $as_echo_n "checking for $ac_word... " >&6; }
7437 if test "${ac_cv_path_aros_target_cc+set}" = set; then :
7438 $as_echo_n "(cached) " >&6
7440 case $aros_target_cc in
7442 ac_cv_path_aros_target_cc
="$aros_target_cc" # Let the user override the test with a path.
7445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7449 test -z "$as_dir" && as_dir
=.
7450 for ac_exec_ext
in '' $ac_executable_extensions; do
7451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7452 ac_cv_path_aros_target_cc
="$as_dir/$ac_word$ac_exec_ext"
7453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7463 aros_target_cc
=$ac_cv_path_aros_target_cc
7464 if test -n "$aros_target_cc"; then
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc" >&5
7466 $as_echo "$aros_target_cc" >&6; }
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7469 $as_echo "no" >&6; }
7473 if test "$aros_target_cc" = ""; then
7474 as_fn_error
"gcc is required to build AROS. Please install and run configure again." "$LINENO" 5
7477 if test "$aros_target_ld" != ""; then
7478 # Extract the first word of "$aros_target_ld", so it can be a program name with args.
7479 set dummy
$aros_target_ld; ac_word
=$2
7480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7481 $as_echo_n "checking for $ac_word... " >&6; }
7482 if test "${ac_cv_path_aros_target_ld+set}" = set; then :
7483 $as_echo_n "(cached) " >&6
7485 case $aros_target_ld in
7487 ac_cv_path_aros_target_ld
="$aros_target_ld" # Let the user override the test with a path.
7490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7494 test -z "$as_dir" && as_dir
=.
7495 for ac_exec_ext
in '' $ac_executable_extensions; do
7496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7497 ac_cv_path_aros_target_ld
="$as_dir/$ac_word$ac_exec_ext"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 aros_target_ld
=$ac_cv_path_aros_target_ld
7509 if test -n "$aros_target_ld"; then
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ld" >&5
7511 $as_echo "$aros_target_ld" >&6; }
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7514 $as_echo "no" >&6; }
7518 if test "$aros_target_ld" = ""; then
7519 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
7523 if test "$crosstools" != "yes"; then
7525 if test "$aros_target_as" = ""; then
7526 if test "$cross_compiling" = "yes" ; then
7527 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
7528 set dummy
${target_tool_prefix}as
; ac_word
=$2
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7530 $as_echo_n "checking for $ac_word... " >&6; }
7531 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7532 $as_echo_n "(cached) " >&6
7534 case $aros_target_as_ln in
7536 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7543 test -z "$as_dir" && as_dir
=.
7544 for ac_exec_ext
in '' $ac_executable_extensions; do
7545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7558 if test -n "$aros_target_as_ln"; then
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7560 $as_echo "$aros_target_as_ln" >&6; }
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7563 $as_echo "no" >&6; }
7568 if test "$GCC" = "yes"; then
7569 aros_gcc_as
=`$CC -print-prog-name=as`
7570 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
7571 set dummy
`basename $aros_gcc_as`; ac_word
=$2
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7573 $as_echo_n "checking for $ac_word... " >&6; }
7574 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7575 $as_echo_n "(cached) " >&6
7577 case $aros_target_as_ln in
7579 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7583 for as_dir
in `dirname $aros_gcc_as`
7586 test -z "$as_dir" && as_dir
=.
7587 for ac_exec_ext
in '' $ac_executable_extensions; do
7588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7601 if test -n "$aros_target_as_ln"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7603 $as_echo "$aros_target_as_ln" >&6; }
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7611 if test "$aros_target_as_ln" = ""; then
7612 # Extract the first word of "as", so it can be a program name with args.
7613 set dummy as
; ac_word
=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7619 case $aros_target_as_ln in
7621 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7628 test -z "$as_dir" && as_dir
=.
7629 for ac_exec_ext
in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7643 if test -n "$aros_target_as_ln"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7645 $as_echo "$aros_target_as_ln" >&6; }
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7655 # Extract the first word of "$aros_target_as", so it can be a program name with args.
7656 set dummy
$aros_target_as; ac_word
=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7662 case $aros_target_as_ln in
7664 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7667 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7671 test -z "$as_dir" && as_dir
=.
7672 for ac_exec_ext
in '' $ac_executable_extensions; do
7673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7674 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7685 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7686 if test -n "$aros_target_as_ln"; then
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_as_ln" >&5
7688 $as_echo "$aros_target_as_ln" >&6; }
7690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7691 $as_echo "no" >&6; }
7697 if test "$aros_target_as_ln" = ""; then
7698 as_fn_error
"as is required to build AROS. Please install and run configure again." "$LINENO" 5
7701 if test "$aros_kernel_ld" = ""; then
7702 if test "$cross_compiling" = "yes" ; then
7703 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
7704 set dummy
${target_tool_prefix}ld
; ac_word
=$2
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7706 $as_echo_n "checking for $ac_word... " >&6; }
7707 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7708 $as_echo_n "(cached) " >&6
7710 case $aros_kernel_ld in
7712 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7715 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir
=.
7720 for ac_exec_ext
in '' $ac_executable_extensions; do
7721 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7722 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7733 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7734 if test -n "$aros_kernel_ld"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7736 $as_echo "$aros_kernel_ld" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 if test "$GCC" = "yes"; then
7745 aros_gcc_ld
=`$CC -print-prog-name=ld`
7746 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
7747 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7753 case $aros_kernel_ld in
7755 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7759 for as_dir
in `dirname $aros_gcc_ld`
7762 test -z "$as_dir" && as_dir
=.
7763 for ac_exec_ext
in '' $ac_executable_extensions; do
7764 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7765 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7766 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7776 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7777 if test -n "$aros_kernel_ld"; then
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7779 $as_echo "$aros_kernel_ld" >&6; }
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7782 $as_echo "no" >&6; }
7787 if test "$aros_kernel_ld" = ""; then
7788 # Extract the first word of "ld", so it can be a program name with args.
7789 set dummy ld
; ac_word
=$2
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7791 $as_echo_n "checking for $ac_word... " >&6; }
7792 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7793 $as_echo_n "(cached) " >&6
7795 case $aros_kernel_ld in
7797 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7800 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7804 test -z "$as_dir" && as_dir
=.
7805 for ac_exec_ext
in '' $ac_executable_extensions; do
7806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7807 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7818 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7819 if test -n "$aros_kernel_ld"; then
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7821 $as_echo "$aros_kernel_ld" >&6; }
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7824 $as_echo "no" >&6; }
7831 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
7832 set dummy
$aros_kernel_ld; ac_word
=$2
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7834 $as_echo_n "checking for $ac_word... " >&6; }
7835 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then :
7836 $as_echo_n "(cached) " >&6
7838 case $aros_kernel_ld in
7840 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7847 test -z "$as_dir" && as_dir
=.
7848 for ac_exec_ext
in '' $ac_executable_extensions; do
7849 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7850 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7861 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7862 if test -n "$aros_kernel_ld"; then
7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_ld" >&5
7864 $as_echo "$aros_kernel_ld" >&6; }
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7867 $as_echo "no" >&6; }
7873 if test "$aros_kernel_ld" = ""; then
7874 as_fn_error
"ld is required to build AROS. Please install and run configure again." "$LINENO" 5
7877 if test "$aros_target_ar" = ""; then
7878 if test "$cross_compiling" = "yes" ; then
7879 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
7880 set dummy
${target_tool_prefix}ar; ac_word
=$2
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7882 $as_echo_n "checking for $ac_word... " >&6; }
7883 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
7884 $as_echo_n "(cached) " >&6
7886 case $aros_target_ar_ln in
7888 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7895 test -z "$as_dir" && as_dir
=.
7896 for ac_exec_ext
in '' $ac_executable_extensions; do
7897 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7898 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7909 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7910 if test -n "$aros_target_ar_ln"; then
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
7912 $as_echo "$aros_target_ar_ln" >&6; }
7914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7915 $as_echo "no" >&6; }
7920 if test "$GCC" = "yes"; then
7921 aros_gcc_ar
=`$CC -print-prog-name=ar`
7922 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
7923 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7925 $as_echo_n "checking for $ac_word... " >&6; }
7926 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
7927 $as_echo_n "(cached) " >&6
7929 case $aros_target_ar_ln in
7931 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7935 for as_dir
in `dirname $aros_gcc_ar`
7938 test -z "$as_dir" && as_dir
=.
7939 for ac_exec_ext
in '' $ac_executable_extensions; do
7940 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7941 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7952 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7953 if test -n "$aros_target_ar_ln"; then
7954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
7955 $as_echo "$aros_target_ar_ln" >&6; }
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7958 $as_echo "no" >&6; }
7963 if test "$aros_target_ar_ln" = ""; then
7964 # Extract the first word of "ar", so it can be a program name with args.
7965 set dummy
ar; ac_word
=$2
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7967 $as_echo_n "checking for $ac_word... " >&6; }
7968 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
7969 $as_echo_n "(cached) " >&6
7971 case $aros_target_ar_ln in
7973 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7976 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7980 test -z "$as_dir" && as_dir
=.
7981 for ac_exec_ext
in '' $ac_executable_extensions; do
7982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7983 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7984 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7994 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7995 if test -n "$aros_target_ar_ln"; then
7996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
7997 $as_echo "$aros_target_ar_ln" >&6; }
7999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8000 $as_echo "no" >&6; }
8007 # Extract the first word of "$aros_target_ar", so it can be a program name with args.
8008 set dummy
$aros_target_ar; ac_word
=$2
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8010 $as_echo_n "checking for $ac_word... " >&6; }
8011 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then :
8012 $as_echo_n "(cached) " >&6
8014 case $aros_target_ar_ln in
8016 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8023 test -z "$as_dir" && as_dir
=.
8024 for ac_exec_ext
in '' $ac_executable_extensions; do
8025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8026 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8037 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8038 if test -n "$aros_target_ar_ln"; then
8039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ar_ln" >&5
8040 $as_echo "$aros_target_ar_ln" >&6; }
8042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8043 $as_echo "no" >&6; }
8049 if test "$aros_target_ar_ln" = ""; then
8050 as_fn_error
"ar is required to build AROS. Please install and run configure again." "$LINENO" 5
8053 if test "$aros_target_nm" = ""; then
8054 if test "$cross_compiling" = "yes" ; then
8055 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8056 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8058 $as_echo_n "checking for $ac_word... " >&6; }
8059 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8060 $as_echo_n "(cached) " >&6
8062 case $aros_target_nm_ln in
8064 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8067 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8071 test -z "$as_dir" && as_dir
=.
8072 for ac_exec_ext
in '' $ac_executable_extensions; do
8073 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8074 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8085 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8086 if test -n "$aros_target_nm_ln"; then
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8088 $as_echo "$aros_target_nm_ln" >&6; }
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8091 $as_echo "no" >&6; }
8096 if test "$GCC" = "yes"; then
8097 aros_gcc_nm
=`$CC -print-prog-name=nm`
8098 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8099 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8101 $as_echo_n "checking for $ac_word... " >&6; }
8102 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8103 $as_echo_n "(cached) " >&6
8105 case $aros_target_nm_ln in
8107 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8110 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8111 for as_dir
in `dirname $aros_gcc_nm`
8114 test -z "$as_dir" && as_dir
=.
8115 for ac_exec_ext
in '' $ac_executable_extensions; do
8116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8117 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8128 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8129 if test -n "$aros_target_nm_ln"; then
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8131 $as_echo "$aros_target_nm_ln" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8134 $as_echo "no" >&6; }
8139 if test "$aros_target_nm_ln" = ""; then
8140 # Extract the first word of "nm", so it can be a program name with args.
8141 set dummy nm
; ac_word
=$2
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8143 $as_echo_n "checking for $ac_word... " >&6; }
8144 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8145 $as_echo_n "(cached) " >&6
8147 case $aros_target_nm_ln in
8149 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8152 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8156 test -z "$as_dir" && as_dir
=.
8157 for ac_exec_ext
in '' $ac_executable_extensions; do
8158 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8159 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8170 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8171 if test -n "$aros_target_nm_ln"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8173 $as_echo "$aros_target_nm_ln" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8183 # Extract the first word of "$aros_target_nm", so it can be a program name with args.
8184 set dummy
$aros_target_nm; ac_word
=$2
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8186 $as_echo_n "checking for $ac_word... " >&6; }
8187 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then :
8188 $as_echo_n "(cached) " >&6
8190 case $aros_target_nm_ln in
8192 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8195 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8199 test -z "$as_dir" && as_dir
=.
8200 for ac_exec_ext
in '' $ac_executable_extensions; do
8201 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8202 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8213 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8214 if test -n "$aros_target_nm_ln"; then
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_nm_ln" >&5
8216 $as_echo "$aros_target_nm_ln" >&6; }
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8219 $as_echo "no" >&6; }
8225 if test "$aros_target_nm_ln" = ""; then
8226 as_fn_error
"nm is required to build AROS. Please install and run configure again." "$LINENO" 5
8229 if test "$aros_target_objcopy" = ""; then
8230 if test "$cross_compiling" = "yes" ; then
8231 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8232 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8234 $as_echo_n "checking for $ac_word... " >&6; }
8235 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8236 $as_echo_n "(cached) " >&6
8238 case $aros_target_objcopy_ln in
8240 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8243 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8247 test -z "$as_dir" && as_dir
=.
8248 for ac_exec_ext
in '' $ac_executable_extensions; do
8249 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8250 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8251 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8261 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8262 if test -n "$aros_target_objcopy_ln"; then
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8264 $as_echo "$aros_target_objcopy_ln" >&6; }
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8267 $as_echo "no" >&6; }
8272 if test "$GCC" = "yes"; then
8273 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8274 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8275 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8277 $as_echo_n "checking for $ac_word... " >&6; }
8278 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8279 $as_echo_n "(cached) " >&6
8281 case $aros_target_objcopy_ln in
8283 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8286 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8287 for as_dir
in `dirname $aros_gcc_objcopy`
8290 test -z "$as_dir" && as_dir
=.
8291 for ac_exec_ext
in '' $ac_executable_extensions; do
8292 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8293 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8304 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8305 if test -n "$aros_target_objcopy_ln"; then
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8307 $as_echo "$aros_target_objcopy_ln" >&6; }
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8310 $as_echo "no" >&6; }
8315 if test "$aros_target_objcopy_ln" = ""; then
8316 # Extract the first word of "objcopy", so it can be a program name with args.
8317 set dummy objcopy
; ac_word
=$2
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8319 $as_echo_n "checking for $ac_word... " >&6; }
8320 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8321 $as_echo_n "(cached) " >&6
8323 case $aros_target_objcopy_ln in
8325 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8332 test -z "$as_dir" && as_dir
=.
8333 for ac_exec_ext
in '' $ac_executable_extensions; do
8334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8335 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8346 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8347 if test -n "$aros_target_objcopy_ln"; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8349 $as_echo "$aros_target_objcopy_ln" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8352 $as_echo "no" >&6; }
8359 # Extract the first word of "$aros_target_objcopy", so it can be a program name with args.
8360 set dummy
$aros_target_objcopy; ac_word
=$2
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8362 $as_echo_n "checking for $ac_word... " >&6; }
8363 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then :
8364 $as_echo_n "(cached) " >&6
8366 case $aros_target_objcopy_ln in
8368 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8375 test -z "$as_dir" && as_dir
=.
8376 for ac_exec_ext
in '' $ac_executable_extensions; do
8377 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8378 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8379 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8389 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8390 if test -n "$aros_target_objcopy_ln"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objcopy_ln" >&5
8392 $as_echo "$aros_target_objcopy_ln" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395 $as_echo "no" >&6; }
8401 if test "$aros_target_objcopy_ln" = ""; then
8402 as_fn_error
"objcopy is required to build AROS. Please install and run configure again." "$LINENO" 5
8405 if test "$aros_target_objdump" = ""; then
8406 if test "$cross_compiling" = "yes" ; then
8407 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8408 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8410 $as_echo_n "checking for $ac_word... " >&6; }
8411 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8412 $as_echo_n "(cached) " >&6
8414 case $aros_target_objdump_ln in
8416 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8419 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8423 test -z "$as_dir" && as_dir
=.
8424 for ac_exec_ext
in '' $ac_executable_extensions; do
8425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8426 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8437 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8438 if test -n "$aros_target_objdump_ln"; then
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8440 $as_echo "$aros_target_objdump_ln" >&6; }
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8443 $as_echo "no" >&6; }
8448 if test "$GCC" = "yes"; then
8449 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8450 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8451 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8453 $as_echo_n "checking for $ac_word... " >&6; }
8454 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8455 $as_echo_n "(cached) " >&6
8457 case $aros_target_objdump_ln in
8459 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8462 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8463 for as_dir
in `dirname $aros_gcc_objdump`
8466 test -z "$as_dir" && as_dir
=.
8467 for ac_exec_ext
in '' $ac_executable_extensions; do
8468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8469 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8480 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8481 if test -n "$aros_target_objdump_ln"; then
8482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8483 $as_echo "$aros_target_objdump_ln" >&6; }
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8486 $as_echo "no" >&6; }
8491 if test "$aros_target_objdump_ln" = ""; then
8492 # Extract the first word of "objdump", so it can be a program name with args.
8493 set dummy objdump
; ac_word
=$2
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8495 $as_echo_n "checking for $ac_word... " >&6; }
8496 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8497 $as_echo_n "(cached) " >&6
8499 case $aros_target_objdump_ln in
8501 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8508 test -z "$as_dir" && as_dir
=.
8509 for ac_exec_ext
in '' $ac_executable_extensions; do
8510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8511 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8522 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8523 if test -n "$aros_target_objdump_ln"; then
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8525 $as_echo "$aros_target_objdump_ln" >&6; }
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8528 $as_echo "no" >&6; }
8535 # Extract the first word of "$aros_target_objdump", so it can be a program name with args.
8536 set dummy
$aros_target_objdump; ac_word
=$2
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8538 $as_echo_n "checking for $ac_word... " >&6; }
8539 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then :
8540 $as_echo_n "(cached) " >&6
8542 case $aros_target_objdump_ln in
8544 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8551 test -z "$as_dir" && as_dir
=.
8552 for ac_exec_ext
in '' $ac_executable_extensions; do
8553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8554 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8565 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8566 if test -n "$aros_target_objdump_ln"; then
8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_objdump_ln" >&5
8568 $as_echo "$aros_target_objdump_ln" >&6; }
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8571 $as_echo "no" >&6; }
8577 if test "$aros_target_objdump_ln" = ""; then
8578 as_fn_error
"objdump is required to build AROS. Please install and run configure again." "$LINENO" 5
8581 if test "$aros_target_ranlib" = ""; then
8582 if test "$cross_compiling" = "yes" ; then
8583 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8584 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 $as_echo_n "checking for $ac_word... " >&6; }
8587 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8588 $as_echo_n "(cached) " >&6
8590 case $aros_target_ranlib_ln in
8592 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir
=.
8600 for ac_exec_ext
in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8613 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8614 if test -n "$aros_target_ranlib_ln"; then
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8616 $as_echo "$aros_target_ranlib_ln" >&6; }
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8619 $as_echo "no" >&6; }
8624 if test "$GCC" = "yes"; then
8625 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8626 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8627 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8629 $as_echo_n "checking for $ac_word... " >&6; }
8630 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8631 $as_echo_n "(cached) " >&6
8633 case $aros_target_ranlib_ln in
8635 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8639 for as_dir
in `dirname $aros_gcc_ranlib`
8642 test -z "$as_dir" && as_dir
=.
8643 for ac_exec_ext
in '' $ac_executable_extensions; do
8644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8645 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8656 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8657 if test -n "$aros_target_ranlib_ln"; then
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8659 $as_echo "$aros_target_ranlib_ln" >&6; }
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8662 $as_echo "no" >&6; }
8667 if test "$aros_target_ranlib_ln" = ""; then
8668 # Extract the first word of "ranlib", so it can be a program name with args.
8669 set dummy ranlib
; ac_word
=$2
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8671 $as_echo_n "checking for $ac_word... " >&6; }
8672 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8673 $as_echo_n "(cached) " >&6
8675 case $aros_target_ranlib_ln in
8677 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8680 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8684 test -z "$as_dir" && as_dir
=.
8685 for ac_exec_ext
in '' $ac_executable_extensions; do
8686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8687 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8698 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8699 if test -n "$aros_target_ranlib_ln"; then
8700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8701 $as_echo "$aros_target_ranlib_ln" >&6; }
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8704 $as_echo "no" >&6; }
8711 # Extract the first word of "$aros_target_ranlib", so it can be a program name with args.
8712 set dummy
$aros_target_ranlib; ac_word
=$2
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8714 $as_echo_n "checking for $ac_word... " >&6; }
8715 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then :
8716 $as_echo_n "(cached) " >&6
8718 case $aros_target_ranlib_ln in
8720 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8723 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8727 test -z "$as_dir" && as_dir
=.
8728 for ac_exec_ext
in '' $ac_executable_extensions; do
8729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8730 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8741 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8742 if test -n "$aros_target_ranlib_ln"; then
8743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_ranlib_ln" >&5
8744 $as_echo "$aros_target_ranlib_ln" >&6; }
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8747 $as_echo "no" >&6; }
8753 if test "$aros_target_ranlib_ln" = ""; then
8754 as_fn_error
"ranlib is required to build AROS. Please install and run configure again." "$LINENO" 5
8757 if test "$aros_target_strip" = ""; then
8758 if test "$cross_compiling" = "yes" ; then
8759 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
8760 set dummy
${target_tool_prefix}strip
; ac_word
=$2
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8762 $as_echo_n "checking for $ac_word... " >&6; }
8763 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8764 $as_echo_n "(cached) " >&6
8766 case $aros_target_strip_ln in
8768 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8775 test -z "$as_dir" && as_dir
=.
8776 for ac_exec_ext
in '' $ac_executable_extensions; do
8777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8778 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8789 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8790 if test -n "$aros_target_strip_ln"; then
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8792 $as_echo "$aros_target_strip_ln" >&6; }
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8795 $as_echo "no" >&6; }
8800 if test "$GCC" = "yes"; then
8801 aros_gcc_strip
=`$CC -print-prog-name=strip`
8802 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
8803 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8805 $as_echo_n "checking for $ac_word... " >&6; }
8806 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8807 $as_echo_n "(cached) " >&6
8809 case $aros_target_strip_ln in
8811 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8815 for as_dir
in `dirname $aros_gcc_strip`
8818 test -z "$as_dir" && as_dir
=.
8819 for ac_exec_ext
in '' $ac_executable_extensions; do
8820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8821 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8832 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8833 if test -n "$aros_target_strip_ln"; then
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8835 $as_echo "$aros_target_strip_ln" >&6; }
8837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8838 $as_echo "no" >&6; }
8843 if test "$aros_target_strip_ln" = ""; then
8844 # Extract the first word of "strip", so it can be a program name with args.
8845 set dummy strip
; ac_word
=$2
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8847 $as_echo_n "checking for $ac_word... " >&6; }
8848 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8849 $as_echo_n "(cached) " >&6
8851 case $aros_target_strip_ln in
8853 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8856 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8860 test -z "$as_dir" && as_dir
=.
8861 for ac_exec_ext
in '' $ac_executable_extensions; do
8862 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8863 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8874 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8875 if test -n "$aros_target_strip_ln"; then
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8877 $as_echo "$aros_target_strip_ln" >&6; }
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8880 $as_echo "no" >&6; }
8887 # Extract the first word of "$aros_target_strip", so it can be a program name with args.
8888 set dummy
$aros_target_strip; ac_word
=$2
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8890 $as_echo_n "checking for $ac_word... " >&6; }
8891 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then :
8892 $as_echo_n "(cached) " >&6
8894 case $aros_target_strip_ln in
8896 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8903 test -z "$as_dir" && as_dir
=.
8904 for ac_exec_ext
in '' $ac_executable_extensions; do
8905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8906 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8917 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8918 if test -n "$aros_target_strip_ln"; then
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_strip_ln" >&5
8920 $as_echo "$aros_target_strip_ln" >&6; }
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8923 $as_echo "no" >&6; }
8929 if test "$aros_target_strip_ln" = ""; then
8930 as_fn_error
"strip is required to build AROS. Please install and run configure again." "$LINENO" 5
8934 if test "$rescomp" != ""; then
8935 if test "$cross_compiling" = "yes" ; then
8936 rescomp
=${target_tool_prefix}${rescomp}
8938 # Extract the first word of "$rescomp", so it can be a program name with args.
8939 set dummy
$rescomp; ac_word
=$2
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8941 $as_echo_n "checking for $ac_word... " >&6; }
8942 if test "${ac_cv_path_aros_kernel_rescomp+set}" = set; then :
8943 $as_echo_n "(cached) " >&6
8945 case $aros_kernel_rescomp in
8947 ac_cv_path_aros_kernel_rescomp
="$aros_kernel_rescomp" # Let the user override the test with a path.
8950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir
=.
8955 for ac_exec_ext
in '' $ac_executable_extensions; do
8956 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8957 ac_cv_path_aros_kernel_rescomp
="$as_dir/$ac_word$ac_exec_ext"
8958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8968 aros_kernel_rescomp
=$ac_cv_path_aros_kernel_rescomp
8969 if test -n "$aros_kernel_rescomp"; then
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_kernel_rescomp" >&5
8971 $as_echo "$aros_kernel_rescomp" >&6; }
8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8974 $as_echo "no" >&6; }
8978 if test "$aros_kernel_rescomp" = ""; then
8979 as_fn_error
"$rescomp is required to build AROS. Please install and run configure again." "$LINENO" 5
8983 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
8984 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
8985 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
8986 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
8987 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
8988 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
8989 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
8991 # aros_cc_pre is a variable that is added to the front of the compiler name
8992 # in the generated aros-gcc shell script. We need this to enable the cache
8993 # to work across cleaned builds. Also, support DISTCC using the correct
8994 # environment variable.
8997 if test "x${DISTCC}" != "x" ; then
8998 if test "x${CCACHE}" != "x" ; then
8999 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
9001 aros_cc_pre
="${DISTCC} "
9004 if test "x${CCACHE}" != "x" ; then
9005 aros_cc_pre
="${CCACHE} "
9009 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
9011 aros_target_nostdinc_cflags
=-nostdinc
9013 aros_target_nostartup_ldflags
=-nostartfiles
9015 aros_target_nix_ldflags
=-nix
9017 aros_target_detach_ldflags
=-detach
9019 aros_target_nostdlib_ldflags
=-nostdlib
9023 if test "$aros_target_cc" = ""; then
9024 orig_target_cc
=$aros_kernel_cc
9026 orig_target_cc
=$aros_target_cc
9028 if test "$aros_target_ld" = ""; then
9029 orig_target_ld
=$aros_kernel_ld
9031 orig_target_ld
=$aros_target_ld
9033 if test "$GCC" = "yes"; then
9034 aros_target_cc_path
=`$orig_target_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
9036 aros_target_cc
="${prefix}-gcc"
9037 aros_target_as
="${prefix}-as"
9038 aros_target_ld
="${prefix}-ld"
9039 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
9040 aros_target_objcopy
=${prefix}-objcopy
9041 aros_target_objdump
=${prefix}-objdump
9042 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
9043 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
9044 aros_kernel_nm
="${prefix}-nm"
9045 aros_target_strip
=${prefix}-strip
9047 # Find the system include path. We can suggest that an alternative is
9048 # used if we don't get it correct. The default is to use /usr/include.
9049 # Which is set in the aros_target_incl_def variable.
9051 # Check whether --enable-includes was given.
9052 if test "${enable_includes+set}" = set; then :
9053 enableval
=$enable_includes; aros_target_incl
=$enable_includes
9055 aros_target_incl
=$aros_target_incl_def
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the target compiler's include path" >&5
9060 $as_echo_n "checking for the target compiler's include path... " >&6; }
9061 if test "$aros_target_cc_includes" = "" ; then
9062 #try to guess where the directory is
9063 aros_target_cc_includes
=`dirname \`${orig_target_cc} -print-libgcc-file-name\
``/include
9064 if ! test -d $aros_target_cc_includes; then
9065 #the directory doesn't exist, we need to do some more work
9066 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9068 #these are the headers we're looling for
9069 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9070 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9074 for h
in $headers; do
9075 #which other headers each of the above headers needs?
9076 deps
=$
(echo "#include <$h>" | \
9077 $aros_host_cc -E -M - 2>/dev
/null | \
9078 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9080 #copy all the needed headers to a directory beneath gendir
9083 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9084 sed -n "s,^.*/include\(/.*\),\1,p")
9085 ! test -d $dir && mkdir
-p $dir
9086 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_target_cc_includes" >&5
9092 $as_echo "$aros_target_cc_includes" >&6; }
9095 # For GCC < 4.0 -I- is used for giving the search path for '#include "..."'
9096 # On GCC >= 4.0 -iquote should be used
9100 save_cflags
="$CFLAGS"
9102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9103 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9115 if ac_fn_c_try_compile
"$LINENO"; then :
9120 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9122 $as_echo "$has_iquote" >&6; }
9123 if test "x-$has_iquote" = "x-yes" ; then
9124 host_cflags_iquote
=-iquote
9125 host_cflags_iquote_end
=
9127 host_cflags_iquote
=-I
9128 host_cflags_iquote_end
=-I-
9130 kernel_cflags_iquote
=$host_cflags_iquote
9131 kernel_cflags_iquote_end
=$host_cflags_iquote_end
9132 if test "x-$cross_compiling" = "x-yes"; then
9133 CC
="$aros_kernel_cc"
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -fno-stack-protector" >&5
9135 $as_echo_n "checking whether ${CC} accepts -fno-stack-protector... " >&6; }
9136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9137 /* end confdefs.h. */
9147 if ac_fn_c_try_compile
"$LINENO"; then :
9148 use_no_stack_protector
="yes"
9150 use_no_stack_protector
="no"
9152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_no_stack_protector" >&5
9154 $as_echo "$use_no_stack_protector" >&6; }
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9156 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9158 /* end confdefs.h. */
9168 if ac_fn_c_try_compile
"$LINENO"; then :
9173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9175 $as_echo "$has_iquote" >&6; }
9176 if test "x-$has_iquote" = "x-yes" ; then
9177 kernel_cflags_iquote
=-iquote
9178 kernel_cflags_iquote_end
=
9180 kernel_cflags_iquote
=-I
9181 kernel_cflags_iquote_end
=-I-
9184 aros_cflags_iquote
=$kernel_cflags_iquote
9185 aros_cflags_iquote_end
=$kernel_cflags_iquote_end
9186 if test "$orig_target_cc" != "$aros_kernel_cc"; then
9187 CC
="$orig_target_cc"
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -iquote" >&5
9189 $as_echo_n "checking whether ${CC} accepts -iquote... " >&6; }
9190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9191 /* end confdefs.h. */
9201 if ac_fn_c_try_compile
"$LINENO"; then :
9206 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $has_iquote" >&5
9208 $as_echo "$has_iquote" >&6; }
9209 if test "x-$has_iquote" = "x-yes" ; then
9210 aros_cflags_iquote
=-iquote
9211 aros_cflags_iquote_end
=
9213 aros_cflags_iquote
=-I
9214 aros_cflags_iquote_end
=-I-
9217 if test "x-$use_no_stack_protector" = "x-yes" ; then
9218 aros_kernel_cflags
="$aros_kernel_cflags -fno-stack-protector"
9221 #-----------------------------------------------------------------------------
9223 # Check if we can explicitly choose older version of symbol hashing
9225 CFLAGS
="save_cflags -Wl,--hash-style=sysv"
9226 CC
="$aros_kernel_cc"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${CC} accepts -Wl,--hash-style=sysv" >&5
9228 $as_echo_n "checking whether ${CC} accepts -Wl,--hash-style=sysv... " >&6; }
9229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9230 /* end confdefs.h. */
9240 if ac_fn_c_try_link
"$LINENO"; then :
9241 use_hash_style
="yes"
9245 rm -f core conftest.err conftest.
$ac_objext \
9246 conftest
$ac_exeext conftest.
$ac_ext
9247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $use_hash_style" >&5
9248 $as_echo "$use_hash_style" >&6; }
9249 if test "x-$use_hash_style" = "x-yes" ; then
9250 aros_kernel_cflags
="$aros_kernel_cflags -Wl,--hash-style=sysv"
9253 CFLAGS
="$save_cflags"
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default resolution of WBScreen" >&5
9264 $as_echo_n "checking for default resolution of WBScreen... " >&6; }
9266 # Check whether --with-resolution was given.
9267 if test "${with_resolution+set}" = set; then :
9268 withval
=$with_resolution; resolution
=$withval
9273 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9274 if test "$resolution" = "yes" ; then
9277 if test "$resolution" = "no" ; then
9280 if test "$resolution" != "none" ; then
9281 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9282 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9283 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9286 $as_echo "$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6; }
9287 aros_cv_default_wbwidth
=$aros_default_wbwidth
9288 aros_cv_default_wbheight
=$aros_default_wbheight
9289 aros_cv_default_wbdepth
=$aros_default_wbdepth
9291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if bochs hack is enabled" >&5
9292 $as_echo_n "checking if bochs hack is enabled... " >&6; }
9293 # Check whether --enable-bochs_hack was given.
9294 if test "${enable_bochs_hack+set}" = set; then :
9295 enableval
=$enable_bochs_hack; bochs_hack
="yes"
9300 if test "$bochs_hack" = "yes" ; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bochs_hack" >&5
9304 $as_echo "$bochs_hack" >&6; }
9306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if serial debug is enabled" >&5
9307 $as_echo_n "checking if serial debug is enabled... " >&6; }
9309 # Check whether --with-serial-debug was given.
9310 if test "${with_serial_debug+set}" = set; then :
9311 withval
=$with_serial_debug; serial_debug
=$withval
9316 if test "$aros_serial_debug" = 0 ; then
9317 serial_debug_forced
=""
9318 if test "$serial_debug" = "yes" ; then
9321 if test "$serial_debug" = "no" ; then
9325 serial_debug_forced
="(forced)"
9326 serial_debug
=$aros_serial_debug
9328 if test "$serial_debug" != "none" ; then
9329 aros_serial_debug
=$serial_debug
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $serial_debug_forced on port $serial_debug" >&5
9331 $as_echo "$serial_debug_forced on port $serial_debug" >&6; }
9333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9334 $as_echo "no" >&6; }
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if palm debug hack is enabled" >&5
9338 $as_echo_n "checking if palm debug hack is enabled... " >&6; }
9339 # Check whether --enable-palm_debug_hack was given.
9340 if test "${enable_palm_debug_hack+set}" = set; then :
9341 enableval
=$enable_palm_debug_hack; palm_debug_hack
="yes"
9343 palm_debug_hack
="no"
9346 if test "$palm_debug_hack" = "yes" ; then
9347 aros_palm_debug_hack
="1"
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $palm_debug_hack" >&5
9350 $as_echo "$palm_debug_hack" >&6; }
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if nesting supervisor support is enabled" >&5
9354 $as_echo_n "checking if nesting supervisor support is enabled... " >&6; }
9355 # Check whether --enable-nesting_supervisor was given.
9356 if test "${enable_nesting_supervisor+set}" = set; then :
9357 enableval
=$enable_nesting_supervisor; nesting_supervisor
="yes"
9359 nesting_supervisor
="no"
9362 if test "$nesting_supervisor" = "yes" ; then
9363 aros_nesting_supervisor
="1"
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $nesting_supervisor" >&5
9366 $as_echo "$nesting_supervisor" >&6; }
9369 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
9371 if test "x-$need_dlopen" != "x-no" ; then
9372 ac_fn_c_check_func
"$LINENO" "dlopen" "ac_cv_func_dlopen"
9373 if test "x$ac_cv_func_dlopen" = x
""yes; then :
9379 if test "x-$have_dl" = "x-no" ; then
9380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
9381 $as_echo_n "checking for dlopen in -ldl... " >&6; }
9382 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
9383 $as_echo_n "(cached) " >&6
9385 ac_check_lib_save_LIBS
=$LIBS
9387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9388 /* end confdefs.h. */
9390 /* Override any GCC internal prototype to avoid an error.
9391 Use char because int might match the return type of a GCC
9392 builtin and then its argument prototype would still apply. */
9405 if ac_fn_c_try_link
"$LINENO"; then :
9406 ac_cv_lib_dl_dlopen
=yes
9408 ac_cv_lib_dl_dlopen
=no
9410 rm -f core conftest.err conftest.
$ac_objext \
9411 conftest
$ac_exeext conftest.
$ac_ext
9412 LIBS
=$ac_check_lib_save_LIBS
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
9415 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
9416 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
9418 aros_host_ldflags
="$aros_host_ldflags -ldl"
9424 if test "x-$have_dl" = "x-no" ; then
9425 as_fn_error
"dlopen() dynamic linker functions not available" "$LINENO" 5
9430 # Check whether --enable-x11_hidd was given.
9431 if test "${enable_x11_hidd+set}" = set; then :
9432 enableval
=$enable_x11_hidd; x11_hidd
="$enableval"
9437 case "x-$x11_hidd" in
9438 x-yes|x-no|x-auto
) ;;
9439 *) x11_hidd
="auto" ;;
9444 if test "x-$x11_hidd" != "x-no" ; then
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9447 $as_echo_n "checking for X... " >&6; }
9450 # Check whether --with-x was given.
9451 if test "${with_x+set}" = set; then :
9455 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9456 if test "x$with_x" = xno
; then
9457 # The user explicitly disabled X.
9460 case $x_includes,$x_libraries in #(
9461 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
9462 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
9463 $as_echo_n "(cached) " >&6
9465 # One or both of the vars are not set, and there is no cached value.
9466 ac_x_includes
=no ac_x_libraries
=no
9467 rm -f -r conftest.dir
9468 if mkdir conftest.dir
; then
9470 cat >Imakefile
<<'_ACEOF'
9472 @echo incroot='${INCROOT}'
9474 @echo usrlibdir='${USRLIBDIR}'
9476 @echo libdir='${LIBDIR}'
9478 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9479 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9480 for ac_var
in incroot usrlibdir libdir
; do
9481 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9483 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9484 for ac_extension
in a so sl dylib la dll
; do
9485 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9486 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9487 ac_im_usrlibdir
=$ac_im_libdir; break
9490 # Screen out bogus values from the imake configuration. They are
9491 # bogus both because they are the default anyway, and because
9492 # using them would break gcc on systems where it needs fixed includes.
9493 case $ac_im_incroot in
9494 /usr
/include
) ac_x_includes
= ;;
9495 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9497 case $ac_im_usrlibdir in
9498 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
9499 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9503 rm -f -r conftest.dir
9506 # Standard set of common directories for X headers.
9507 # Check X11 before X11Rn because it is often a symlink to the current release.
9521 /usr/local/X11/include
9522 /usr/local/X11R7/include
9523 /usr/local/X11R6/include
9524 /usr/local/X11R5/include
9525 /usr/local/X11R4/include
9527 /usr/local/include/X11
9528 /usr/local/include/X11R7
9529 /usr/local/include/X11R6
9530 /usr/local/include/X11R5
9531 /usr/local/include/X11R4
9535 /usr/XFree86/include/X11
9539 /usr/unsupported/include
9541 /usr/local/x11r5/include
9542 /usr/lpp/Xamples/include
9544 /usr/openwin/include
9545 /usr/openwin/share/include'
9547 if test "$ac_x_includes" = no
; then
9548 # Guess where to find include files, by looking for Xlib.h.
9549 # First, try using that file with no special directory specified.
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552 #include <X11/Xlib.h>
9554 if ac_fn_c_try_cpp
"$LINENO"; then :
9555 # We can compile using X headers with no special include directory.
9558 for ac_dir
in $ac_x_header_dirs; do
9559 if test -r "$ac_dir/X11/Xlib.h"; then
9560 ac_x_includes
=$ac_dir
9565 rm -f conftest.err conftest.
$ac_ext
9566 fi # $ac_x_includes = no
9568 if test "$ac_x_libraries" = no
; then
9569 # Check for the libraries.
9570 # See if we find them without any special options.
9571 # Don't add to $LIBS permanently.
9574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 #include <X11/Xlib.h>
9585 if ac_fn_c_try_link
"$LINENO"; then :
9587 # We can link X programs with no special library path.
9591 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9593 # Don't even attempt the hair of trying to link an X program!
9594 for ac_extension
in a so sl dylib la dll
; do
9595 if test -r "$ac_dir/libX11.$ac_extension"; then
9596 ac_x_libraries
=$ac_dir
9602 rm -f core conftest.err conftest.
$ac_objext \
9603 conftest
$ac_exeext conftest.
$ac_ext
9604 fi # $ac_x_libraries = no
9606 case $ac_x_includes,$ac_x_libraries in #(
9608 # Didn't find X, or a directory has "'" in its name.
9609 ac_cv_have_x
="have_x=no";; #(
9611 # Record where we found X for the cache.
9612 ac_cv_have_x
="have_x=yes\
9613 ac_x_includes='$ac_x_includes'\
9614 ac_x_libraries='$ac_x_libraries'"
9620 eval "$ac_cv_have_x"
9623 if test "$have_x" != yes; then
9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9625 $as_echo "$have_x" >&6; }
9628 # If each of the values was on the command line, it overrides each guess.
9629 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9630 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9631 # Update the cache value to reflect the command line values.
9632 ac_cv_have_x
="have_x=yes\
9633 ac_x_includes='$x_includes'\
9634 ac_x_libraries='$x_libraries'"
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9636 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9641 for path
in $x_libraries
9643 x_cflags
="$x_cflags -L$path"
9646 for path
in $x_includes
9648 x_cflags
="$x_cflags -I$path"
9651 if test "x-$no_x" = "x-yes" ; then
9653 if test "x-$x11_hidd" != "x-auto" ; then
9654 as_fn_error
"X11 libs/headers not found, cannot build X11 hidd as requested" "$LINENO" 5
9658 x11_hidd_target
=kernel-x11gfx-kobj
9661 # Check whether --enable-x11_shm was given.
9662 if test "${enable_x11_shm+set}" = set; then :
9663 enableval
=$enable_x11_shm; x11_hidd_shm
="$enableval"
9668 case "x-$x11_hidd_shm" in
9669 x-yes|x-no|x-auto
) ;;
9670 *) x11_hidd_shm
="auto" ;;
9675 if test "x-$x11_hidd_shm" != "x-no" ; then
9677 for ac_header
in sys
/ipc.h
9679 ac_fn_c_check_header_mongrel
"$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
9680 if test "x$ac_cv_header_sys_ipc_h" = x
""yes; then :
9681 cat >>confdefs.h
<<_ACEOF
9682 #define HAVE_SYS_IPC_H 1
9689 for ac_header
in sys
/shm.h
9691 ac_fn_c_check_header_mongrel
"$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
9692 if test "x$ac_cv_header_sys_shm_h" = x
""yes; then :
9693 cat >>confdefs.h
<<_ACEOF
9694 #define HAVE_SYS_SHM_H 1
9702 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
9704 save_cflags
="$CFLAGS"
9705 CFLAGS
="$CFLAGS $x_cflags"
9706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9707 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9708 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
9709 $as_echo_n "(cached) " >&6
9711 ac_check_lib_save_LIBS
=$LIBS
9713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9714 /* end confdefs.h. */
9716 /* Override any GCC internal prototype to avoid an error.
9717 Use char because int might match the return type of a GCC
9718 builtin and then its argument prototype would still apply. */
9722 char XShmQueryExtension ();
9726 return XShmQueryExtension ();
9731 if ac_fn_c_try_link
"$LINENO"; then :
9732 ac_cv_lib_Xext_XShmQueryExtension
=yes
9734 ac_cv_lib_Xext_XShmQueryExtension
=no
9736 rm -f core conftest.err conftest.
$ac_objext \
9737 conftest
$ac_exeext conftest.
$ac_ext
9738 LIBS
=$ac_check_lib_save_LIBS
9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9741 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
9742 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
9746 CFLAGS
="$save_cflags"
9750 if test "x-$have_xshm" = "x-yes" ; then
9752 elif test "x-$x11_hidd_shm" = "x-yes" ; then
9753 as_fn_error
"X11 has no support for shared memory, cannot enable it as requested" "$LINENO" 5
9759 # Check whether --enable-x11_vidmode was given.
9760 if test "${enable_x11_vidmode+set}" = set; then :
9761 enableval
=$enable_x11_vidmode; x11_hidd_vidmode
="$enableval"
9763 x11_hidd_vidmode
="auto"
9766 case "x-$x11_hidd_vidmode" in
9767 x-yes|x-no|x-auto
) ;;
9768 *) x11_hidd_vidmode
="auto" ;;
9773 if test "x-$x11_hidd_vidmode" != "x-no" ; then
9775 save_cflags
="$CFLAGS"
9776 CFLAGS
="$CFLAGS $x_cflags"
9777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9778 $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
9779 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then :
9780 $as_echo_n "(cached) " >&6
9782 ac_check_lib_save_LIBS
=$LIBS
9783 LIBS
="-lXxf86vm $LIBS"
9784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9785 /* end confdefs.h. */
9787 /* Override any GCC internal prototype to avoid an error.
9788 Use char because int might match the return type of a GCC
9789 builtin and then its argument prototype would still apply. */
9793 char XF86VidModeQueryExtension ();
9797 return XF86VidModeQueryExtension ();
9802 if ac_fn_c_try_link
"$LINENO"; then :
9803 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9805 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9807 rm -f core conftest.err conftest.
$ac_objext \
9808 conftest
$ac_exeext conftest.
$ac_ext
9809 LIBS
=$ac_check_lib_save_LIBS
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9812 $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9813 if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = x
""yes; then :
9817 CFLAGS
="$save_cflags"
9820 if test "x-$have_vidmode" = "x-yes" ; then
9821 DO_VIDMODE_SUPPORT
="1"
9822 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
9823 as_fn_error
"X11 vidmode extension not available, cannot enable it as requested" "$LINENO" 5
9825 DO_VIDMODE_SUPPORT
="0"
9829 aros_host_x11_includes
=$x_includes
9830 aros_host_x11_libdirs
=$x_libraries
9834 # Check whether --enable-sdl_hidd was given.
9835 if test "${enable_sdl_hidd+set}" = set; then :
9836 enableval
=$enable_sdl_hidd; sdl_hidd
="$enableval"
9841 case "x-$sdl_hidd" in
9842 x-yes|x-no|x-auto
) ;;
9843 *) sdl_hidd
="auto" ;;
9846 if test "x-$sdl_hidd" != "x-no" ; then
9849 # Check whether --with-sdl-prefix was given.
9850 if test "${with_sdl_prefix+set}" = set; then :
9851 withval
=$with_sdl_prefix; sdl_prefix
="$withval"
9857 # Check whether --with-sdl-exec-prefix was given.
9858 if test "${with_sdl_exec_prefix+set}" = set; then :
9859 withval
=$with_sdl_exec_prefix; sdl_exec_prefix
="$withval"
9864 # Check whether --enable-sdltest was given.
9865 if test "${enable_sdltest+set}" = set; then :
9866 enableval
=$enable_sdltest;
9872 if test x
$sdl_exec_prefix != x
; then
9873 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
9874 if test x
${SDL_CONFIG+set} != xset
; then
9875 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
9878 if test x
$sdl_prefix != x
; then
9879 sdl_args
="$sdl_args --prefix=$sdl_prefix"
9880 if test x
${SDL_CONFIG+set} != xset
; then
9881 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
9885 if test "x$prefix" != xNONE
; then
9886 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
9888 # Extract the first word of "sdl-config", so it can be a program name with args.
9889 set dummy sdl-config
; ac_word
=$2
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9891 $as_echo_n "checking for $ac_word... " >&6; }
9892 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then :
9893 $as_echo_n "(cached) " >&6
9897 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
9900 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9904 test -z "$as_dir" && as_dir
=.
9905 for ac_exec_ext
in '' $ac_executable_extensions; do
9906 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9907 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9915 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
9919 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
9920 if test -n "$SDL_CONFIG"; then
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
9922 $as_echo "$SDL_CONFIG" >&6; }
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9925 $as_echo "no" >&6; }
9929 min_sdl_version
=1.2.10
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
9931 $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
9933 if test "$SDL_CONFIG" = "no" ; then
9936 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
9937 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
9939 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
9940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9941 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
9942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9943 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
9944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9945 if test "x$enable_sdltest" = "xyes" ; then
9946 ac_save_CFLAGS
="$CFLAGS"
9947 ac_save_CXXFLAGS
="$CXXFLAGS"
9948 ac_save_LIBS
="$LIBS"
9949 CFLAGS
="$CFLAGS $SDL_CFLAGS"
9950 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
9951 LIBS
="$LIBS $SDL_LIBS"
9953 if test "$cross_compiling" = yes; then :
9954 echo $ac_n "cross compiling; assumed OK... $ac_c"
9956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9965 my_strdup (char *str)
9971 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
9972 strcpy (new_str, str);
9980 int main (int argc, char *argv[])
9982 int major, minor, micro;
9985 /* This hangs on some systems (?)
9986 system ("touch conf.sdltest");
9988 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
9990 /* HP/UX 9 (%@#!) writes to sscanf strings */
9991 tmp_version = my_strdup("$min_sdl_version");
9992 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9993 printf("%s, bad version string\n", "$min_sdl_version");
9997 if (($sdl_major_version > major) ||
9998 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
9999 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
10005 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
10006 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
10007 printf("*** best to upgrade to the required version.\n");
10008 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
10009 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
10010 printf("*** config.cache before re-running configure\n");
10017 if ac_fn_c_try_run
"$LINENO"; then :
10022 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
10023 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
10026 CFLAGS
="$ac_save_CFLAGS"
10027 CXXFLAGS
="$ac_save_CXXFLAGS"
10028 LIBS
="$ac_save_LIBS"
10031 if test "x$no_sdl" = x
; then
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10033 $as_echo "yes" >&6; }
10036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10037 $as_echo "no" >&6; }
10038 if test "$SDL_CONFIG" = "no" ; then
10039 echo "*** The sdl-config script installed by SDL could not be found"
10040 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10041 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10042 echo "*** full path to sdl-config."
10044 if test -f conf.sdltest
; then
10047 echo "*** Could not run SDL test program, checking why..."
10048 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10049 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10050 LIBS
="$LIBS $SDL_LIBS"
10051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10057 int main(int argc, char *argv[])
10060 #define main K_and_R_C_main
10070 if ac_fn_c_try_link
"$LINENO"; then :
10071 echo "*** The test program compiled, but did not run. This usually means"
10072 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10073 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10074 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10075 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10076 echo "*** is required on your system"
10078 echo "*** If you have an old version installed, it is best to remove it, although"
10079 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10081 echo "*** The test program failed to compile or link. See the file config.log for the"
10082 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10083 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10084 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10086 rm -f core conftest.err conftest.
$ac_objext \
10087 conftest
$ac_exeext conftest.
$ac_ext
10088 CFLAGS
="$ac_save_CFLAGS"
10089 CXXFLAGS
="$ac_save_CXXFLAGS"
10090 LIBS
="$ac_save_LIBS"
10102 if test "x-$have_sdl" != "x-yes" ; then
10104 if test "x-$sdl_hidd" != "x-auto" ; then
10105 as_fn_error
"SDL libs/headers not found, cannot build SDL hidd as requested" "$LINENO" 5
10109 sdl_hidd_target
=kernel-hidd-sdl
10110 aros_host_sdl_cflags
=SDL_CFLAGS
10111 aros_host_sdl_libs
=SDL_LIBS
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if building of dbus.library is enabled" >&5
10119 $as_echo_n "checking if building of dbus.library is enabled... " >&6; }
10120 # Check whether --enable-dbus was given.
10121 if test "${enable_dbus+set}" = set; then :
10122 enableval
=$enable_dbus; dbus
="yes"
10127 if test "$dbus" = "yes" ; then
10129 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10130 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10131 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10132 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dbus" >&5
10137 $as_echo "$dbus" >&6; }
10235 # Native version related
10239 # Palm native version related
10242 # Unix/Hosted version related
10261 # Collect-aros stuff: "-ius" to ignore undefined symbols
10264 # C compiler related
10267 case "$aros_flavour" in
10268 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10269 aros_flavour
="emulation" ;;
10270 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10271 aros_flavour
="emulation" ;;
10272 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10273 aros_flavour
="standalone";;
10274 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10275 aros_flavour
="native" ;;
10276 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10277 aros_flavour
="native" ;;
10278 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10279 aros_flavour
="linklib" ;;
10280 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10281 aros_flavour
="palmnative" ;;
10282 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10283 aros_flavour
="mac68knative" ;;
10284 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_BINCOMPAT)"
10285 aros_flavour
="ppcnative" ;;
10288 if test ! -d ${aros_inc_dir} ; then
10289 ${MKDIR} ${aros_inc_dir}
10291 if test ! -d ${aros_geninc_dir} ; then
10292 ${MKDIR} ${aros_geninc_dir}
10294 if test ! -d ${aros_hostcfg_dir} ; then
10295 ${MKDIR} ${aros_hostcfg_dir}
10297 if test ! -d ${aros_targetcfg_dir} ; then
10298 ${MKDIR} ${aros_targetcfg_dir}
10300 if test ! -d ${aros_tools_dir} ; then
10301 ${MKDIR} ${aros_tools_dir}
10303 if test ! -d ${aros_scripts_dir} ; then
10304 ${MKDIR} ${aros_scripts_dir}
10307 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10310 ac_config_commands
="$ac_config_commands compiler_executable"
10312 ac_config_commands
="$ac_config_commands genshared_executable"
10314 ac_config_commands
="$ac_config_commands genmf_executable"
10317 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"
10320 cat >confcache
<<\_ACEOF
10321 # This file is a shell script that caches the results of configure
10322 # tests run on this system so they can be shared between configure
10323 # scripts and configure runs, see configure's option --config-cache.
10324 # It is not useful on other systems. If it contains results you don't
10325 # want to keep, you may remove or edit it.
10327 # config.status only pays attention to the cache file if you give it
10328 # the --recheck option to rerun configure.
10330 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10331 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10332 # following values.
10336 # The following way of writing the cache mishandles newlines in values,
10337 # but we know of no workaround that is simple, portable, and efficient.
10338 # So, we kill variables containing newlines.
10339 # Ultrix sh set writes to stderr and can't be redirected directly,
10340 # and sets the high bit in the cache file unless we assign to the vars.
10342 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
10343 eval ac_val
=\$
$ac_var
10347 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
10348 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
10351 _ | IFS | as_nl
) ;; #(
10352 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
10353 *) { eval $ac_var=; unset $ac_var;} ;;
10359 case $as_nl`(ac_space=' '; set) 2>&1` in #(
10360 *${as_nl}ac_space
=\
*)
10361 # `set' does not quote correctly, so add quotes: double-quote
10362 # substitution turns \\\\ into \\, and sed turns \\ into \.
10365 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10368 # `set' quotes correctly as required by POSIX, so do not add quotes.
10369 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
10378 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10380 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10382 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
10383 if test -w "$cache_file"; then
10384 test "x$cache_file" != "x/dev/null" &&
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
10386 $as_echo "$as_me: updating cache $cache_file" >&6;}
10387 cat confcache
>$cache_file
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
10390 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
10395 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10396 # Let make expand exec_prefix.
10397 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10399 DEFS
=-DHAVE_CONFIG_H
10403 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10404 # 1. Remove the extension, and $U if already installed.
10405 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
10406 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
10407 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
10408 # will be set to the directory where LIBOBJS objects are built.
10409 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
10410 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
10412 LIBOBJS
=$ac_libobjs
10414 LTLIBOBJS
=$ac_ltlibobjs
10418 : ${CONFIG_STATUS=./config.status}
10420 ac_clean_files_save
=$ac_clean_files
10421 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10422 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
10423 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
10425 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
10427 # Generated by $as_me.
10428 # Run this file to recreate the current configuration.
10429 # Compiler output produced by configure, useful for debugging
10430 # configure, is in config.log if it exists.
10433 ac_cs_recheck=false
10436 SHELL=\${CONFIG_SHELL-$SHELL}
10439 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
10440 ## -------------------- ##
10441 ## M4sh Initialization. ##
10442 ## -------------------- ##
10444 # Be more Bourne compatible
10445 DUALCASE
=1; export DUALCASE
# for MKS sh
10446 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
10449 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
10450 # is contrary to our usage. Disable this feature.
10451 alias -g '${1+"$@"}'='"$@"'
10452 setopt NO_GLOB_SUBST
10454 case `(set -o) 2>/dev/null` in #(
10466 # Printing a long string crashes Solaris 7 /usr/bin/printf.
10467 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
10468 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
10469 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
10470 # Prefer a ksh shell builtin over an external printf program on Solaris,
10471 # but without wasting forks for bash or zsh.
10472 if test -z "$BASH_VERSION$ZSH_VERSION" \
10473 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
10474 as_echo='print
-r --'
10475 as_echo_n='print
-rn --'
10476 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
10477 as_echo='printf %s
\n'
10478 as_echo_n='printf %s
'
10480 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
10481 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
10482 as_echo_n='/usr
/ucb
/echo -n'
10484 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
10485 as_echo_n_body='eval
10489 expr "X$arg" : "X\\(.*\\)$as_nl";
10490 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
10492 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
10494 export as_echo_n_body
10495 as_echo_n='sh
-c $as_echo_n_body as_echo
'
10497 export as_echo_body
10498 as_echo='sh
-c $as_echo_body as_echo
'
10501 # The user is always right.
10502 if test "${PATH_SEPARATOR+set}" != set; then
10504 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
10505 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
10512 # We need space, tab and new line, in precisely that order. Quoting is
10513 # there to prevent editors from complaining about space-tab.
10514 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
10515 # splitting by setting IFS to empty value.)
10518 # Find who we are. Look in the path if we contain no directory separator.
10520 *[\\/]* ) as_myself=$0 ;;
10521 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10522 for as_dir in $PATH
10525 test -z "$as_dir" && as_dir=.
10526 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
10532 # We did not find ourselves, most probably we were run as `sh COMMAND'
10533 # in which case we are not to be found in the path.
10534 if test "x$as_myself" = x
; then
10537 if test ! -f "$as_myself"; then
10538 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
10542 # Unset variables that we do not need and which cause bugs (e.g. in
10543 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
10544 # suppresses any "Segmentation fault" message there. '((' could
10545 # trigger a bug in pdksh 5.2.14.
10546 for as_var
in BASH_ENV ENV MAIL MAILPATH
10547 do eval test x\
${$as_var+set} = xset \
10548 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
10561 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
10564 # as_fn_error ERROR [LINENO LOG_FD]
10565 # ---------------------------------
10566 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
10567 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
10568 # script with status $?, using 1 if that was 0.
10571 as_status
=$?
; test $as_status -eq 0 && as_status
=1
10573 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
10574 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
10576 $as_echo "$as_me: error: $1" >&2
10577 as_fn_exit
$as_status
10581 # as_fn_set_status STATUS
10582 # -----------------------
10583 # Set $? to STATUS, without forking.
10584 as_fn_set_status
()
10587 } # as_fn_set_status
10589 # as_fn_exit STATUS
10590 # -----------------
10591 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
10595 as_fn_set_status
$1
10601 # Portably unset VAR.
10604 { eval $1=; unset $1;}
10606 as_unset
=as_fn_unset
10607 # as_fn_append VAR VALUE
10608 # ----------------------
10609 # Append the text in VALUE to the end of the definition contained in VAR. Take
10610 # advantage of any shell optimizations that allow amortized linear growth over
10611 # repeated appends, instead of the typical quadratic growth present in naive
10613 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
10614 eval 'as_fn_append ()
10625 # as_fn_arith ARG...
10626 # ------------------
10627 # Perform arithmetic evaluation on the ARGs, and store the result in the
10628 # global $as_val. Take advantage of shells that can avoid forks. The arguments
10629 # must be portable across $(()) and expr.
10630 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
10631 eval 'as_fn_arith ()
10638 as_val
=`expr "$@" || test $? -eq 1`
10643 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
10644 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
10650 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
10651 as_basename
=basename
10656 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
10662 as_me
=`$as_basename -- "$0" ||
10663 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10664 X"$0" : 'X\(//\)$' \| \
10665 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
10667 sed '/^.*\/\([^/][^/]*\)\/*$/{
10681 # Avoid depending upon Character Ranges.
10682 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10683 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10684 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10685 as_cr_digits
='0123456789'
10686 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10688 ECHO_C
= ECHO_N
= ECHO_T
=
10689 case `echo -n x` in #(((((
10691 case `echo 'xy\c'` in
10692 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
10694 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
10701 rm -f conf$$ conf$$.exe conf$$.
file
10702 if test -d conf$$.dir
; then
10703 rm -f conf$$.dir
/conf$$.
file
10706 mkdir conf$$.dir
2>/dev
/null
10708 if (echo >conf$$.
file) 2>/dev
/null
; then
10709 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10711 # ... but there are two gotchas:
10712 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
10713 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
10714 # In both cases, we have to default to `cp -p'.
10715 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
10717 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10725 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
10726 rmdir conf$$.dir
2>/dev
/null
10731 # Create "$as_dir" as a directory, including parents if necessary.
10736 -*) as_dir
=.
/$as_dir;;
10738 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
10742 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
10743 *) as_qdir
=$as_dir;;
10745 as_dirs
="'$as_qdir' $as_dirs"
10746 as_dir
=`$as_dirname -- "$as_dir" ||
10747 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10748 X"$as_dir" : 'X\(//\)[^/]' \| \
10749 X"$as_dir" : 'X\(//\)$' \| \
10750 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10751 $as_echo X"$as_dir" |
10752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10756 /^X\(\/\/\)[^/].*/{
10769 test -d "$as_dir" && break
10771 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10772 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
10776 if mkdir
-p .
2>/dev
/null
; then
10777 as_mkdir_p
='mkdir -p "$as_dir"'
10779 test -d .
/-p && rmdir .
/-p
10783 if test -x / >/dev
/null
2>&1; then
10784 as_test_x
='test -x'
10786 if ls -dL / >/dev
/null
2>&1; then
10793 if test -d "$1"; then
10799 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
10800 ???[sx]*):;;*)false;;esac;fi
10804 as_executable_p
=$as_test_x
10806 # Sed expression to map a string onto a valid CPP name.
10807 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10809 # Sed expression to map a string onto a valid variable name.
10810 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10814 ## ----------------------------------- ##
10815 ## Main body of $CONFIG_STATUS script. ##
10816 ## ----------------------------------- ##
10818 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
10820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10821 # Save the log message, to keep $0 and so on meaningful, and to
10822 # report actual input values of CONFIG_FILES etc. instead of their
10823 # values after options handling.
10825 This file was extended by $as_me, which was
10826 generated by GNU Autoconf 2.64. Invocation command line was
10828 CONFIG_FILES = $CONFIG_FILES
10829 CONFIG_HEADERS = $CONFIG_HEADERS
10830 CONFIG_LINKS = $CONFIG_LINKS
10831 CONFIG_COMMANDS = $CONFIG_COMMANDS
10834 on `(hostname || uname -n) 2>/dev/null | sed 1q`
10839 case $ac_config_files in *"
10840 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
10843 case $ac_config_headers in *"
10844 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
10848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10849 # Files that config.status was made for.
10850 config_files="$ac_config_files"
10851 config_headers="$ac_config_headers"
10852 config_commands="$ac_config_commands"
10856 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10858 \`$as_me' instantiates files and other configuration actions
10859 from templates according to the current configuration. Unless the files
10860 and actions are specified as TAGs, all are instantiated by default.
10862 Usage: $0 [OPTION]... [TAG]...
10864 -h, --help print this help, then exit
10865 -V, --version print version number and configuration settings, then exit
10866 -q, --quiet, --silent
10867 do not print progress messages
10868 -d, --debug don't remove temporary files
10869 --recheck update $as_me by reconfiguring in the same conditions
10870 --file=FILE[:TEMPLATE]
10871 instantiate the configuration file FILE
10872 --header=FILE[:TEMPLATE]
10873 instantiate the configuration header FILE
10875 Configuration files:
10878 Configuration headers:
10881 Configuration commands:
10884 Report bugs to the package provider."
10887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10890 configured by $0, generated by GNU Autoconf 2.64,
10891 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
10893 Copyright (C) 2009 Free Software Foundation, Inc.
10894 This config.status script is free software; the Free Software Foundation
10895 gives unlimited permission to copy, distribute and modify it."
10899 test -n "\$AWK" || AWK=awk
10902 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10903 # The default lists apply if the user does not specify any file.
10909 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
10910 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
10921 # Handling of the options.
10922 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10924 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
10925 $as_echo "$ac_cs_version"; exit ;;
10926 --debug |
--debu |
--deb |
--de |
--d |
-d )
10928 --file |
--fil |
--fi |
--f )
10931 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10933 as_fn_append CONFIG_FILES
" '$ac_optarg'"
10934 ac_need_defaults
=false
;;
10935 --header |
--heade |
--head |
--hea )
10938 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
10940 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
10941 ac_need_defaults
=false
;;
10943 # Conflict between --help and --header
10944 as_fn_error
"ambiguous option: \`$1'
10945 Try \`$0 --help' for more information.";;
10946 --help |
--hel |
-h )
10947 $as_echo "$ac_cs_usage"; exit ;;
10948 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10949 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10952 # This is an error.
10953 -*) as_fn_error
"unrecognized option: \`$1'
10954 Try \`$0 --help' for more information." ;;
10956 *) as_fn_append ac_config_targets
" $1"
10957 ac_need_defaults
=false
;;
10963 ac_configure_extra_args
=
10965 if $ac_cs_silent; then
10967 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10971 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10972 if \$ac_cs_recheck; then
10973 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10975 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
10976 CONFIG_SHELL='$SHELL'
10977 export CONFIG_SHELL
10982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
10986 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10987 ## Running $as_me. ##
10993 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
10998 aros_host_exe_suffix=${aros_host_exe_suffix}
10999 aros_tools_dir=${aros_tools_dir}
11000 aros_target_cpu=${aros_target_cpu}
11001 aros_target_arch=${aros_target_arch}
11002 aros_target_suffix=${aros_target_suffix}
11003 aros_target_nm_ln=${aros_target_nm_ln}
11004 aros_target_as_ln=${aros_target_as_ln}
11005 aros_target_ar_ln=${aros_target_ar_ln}
11006 aros_target_ranlib_ln=${aros_target_ranlib_ln}
11007 aros_target_objdump_ln=${aros_target_objdump_ln}
11008 aros_target_objcopy_ln=${aros_target_objcopy_ln}
11009 aros_target_strip_ln=${aros_target_strip_ln}
11012 aros_scripts_dir=${aros_scripts_dir}
11014 aros_tools_dir=${aros_tools_dir}
11019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11021 # Handling of arguments.
11022 for ac_config_target
in $ac_config_targets
11024 case $ac_config_target in
11025 "${aros_geninc_dir}/host-conf.h") CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
11026 "compiler_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
11027 "genshared_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
11028 "genmf_executable") CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
11029 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
11030 "config/make.cfg") CONFIG_FILES
="$CONFIG_FILES config/make.cfg" ;;
11031 "${aros_inc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
11032 "${aros_geninc_dir}/config.h") CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
11033 "${aros_hostcfg_dir}/host.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
11034 "${aros_targetcfg_dir}/target.cfg") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
11035 "mmake.config") CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
11036 "${aros_targetcfg_dir}/make.defaults") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
11037 "${aros_targetcfg_dir}/specs") CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
11038 "${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" ;;
11039 "${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" ;;
11040 "${aros_scripts_dir}/genshared") CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
11041 "${aros_tools_dir}/genmf.py") CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
11042 "tools/collect-aros/env.h") CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
11044 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
11049 # If the user did not use the arguments to specify the items to instantiate,
11050 # then the envvar interface is used. Set only those that are not.
11051 # We use the long form for the default assignment because of an extremely
11052 # bizarre bug on SunOS 4.1.3.
11053 if $ac_need_defaults; then
11054 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
11055 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
11056 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
11059 # Have a temporary directory for convenience. Make it in the build tree
11060 # simply because there is no reason against having it here, and in addition,
11061 # creating and moving files from /tmp can sometimes cause problems.
11062 # Hook for its removal unless debugging.
11063 # Note that there is a small window in which the directory will not be cleaned:
11064 # after its creation but before its name has been assigned to `$tmp'.
11068 trap 'exit_status=$?
11069 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
11071 trap 'as_fn_exit 1' 1 2 13 15
11073 # Create a (secure) tmp directory for tmp files.
11076 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
11077 test -n "$tmp" && test -d "$tmp"
11080 tmp
=.
/conf$$
-$RANDOM
11081 (umask 077 && mkdir
"$tmp")
11082 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
11084 # Set up the scripts for CONFIG_FILES section.
11085 # No need to generate them if there are no CONFIG_FILES.
11086 # This happens for instance with `./config.status config.h'.
11087 if test -n "$CONFIG_FILES"; then
11090 ac_cr
=`echo X | tr X '\015'`
11091 # On cygwin, bash can eat \r inside `` if the user requested igncr.
11092 # But we know of no other shell where ac_cr would be empty at this
11093 # point, so we can use a bashism as a fallback.
11094 if test "x$ac_cr" = x
; then
11095 eval ac_cr
=\$
\'\\r
\'
11097 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
11098 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
11101 ac_cs_awk_cr
=$ac_cr
11104 echo 'BEGIN {' >"$tmp/subs1.awk" &&
11109 echo "cat >conf$$subs.awk <<_ACEOF" &&
11110 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
11112 } >conf$$subs.sh ||
11113 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11114 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
11116 for ac_last_try in false false false false false :; do
11117 . ./conf$$subs.sh ||
11118 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11120 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
11121 if test $ac_delim_n = $ac_delim_num; then
11123 elif $ac_last_try; then
11124 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
11126 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11129 rm -f conf$$subs.sh
11131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11132 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
11136 s/^/S["/; s
/!.
*/"]=/
11146 s/\(.\{148\}\).*/\1/
11148 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
11153 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11160 s/\(.\{148\}\).*/\1/
11162 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
11166 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
11171 ' <conf$$subs.awk | sed '
11176 ' >>$CONFIG_STATUS || ac_write_fail=1
11177 rm -f conf$$subs.awk
11178 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11180 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
11181 for (key in S) S_is_set[key] = 1
11187 nfields = split(line, field, "@
")
11189 len = length(field[1])
11190 for (i = 2; i < nfields; i++) {
11192 keylen = length(key)
11193 if (S_is_set[key]) {
11195 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
11196 len += length(value) + length(field[++i])
11207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11208 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
11209 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
11212 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
11213 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
11216 # VPATH may cause trouble with some makes, so we remove $(srcdir),
11217 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
11218 # trailing colons and then remove the whole line if VPATH becomes empty
11219 # (actually we leave an empty line to preserve line numbers).
11220 if test "x
$srcdir" = x.; then
11221 ac_vpsub='/^[ ]*VPATH[ ]*=/{
11222 s/:*\$(srcdir):*/:/
11223 s/:*\${srcdir}:*/:/
11225 s/^\([^=]*=[ ]*\):*/\1/
11231 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
11232 fi # test -n "$CONFIG_FILES"
11234 # Set up the scripts for CONFIG_HEADERS section.
11235 # No need to generate them if there are no CONFIG_HEADERS.
11236 # This happens for instance with `./config.status Makefile'.
11237 if test -n "$CONFIG_HEADERS"; then
11238 cat >"$tmp/defines.
awk" <<\_ACAWK ||
11242 # Transform confdefs.h into an awk script `defines.awk', embedded as
11243 # here-document in config.status, that substitutes the proper values into
11244 # config.h.in to produce config.h.
11246 # Create a delimiter string that does not exist in confdefs.h, to ease
11247 # handling of long lines.
11249 for ac_last_try in false false :; do
11250 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
11251 if test -z "$ac_t"; then
11253 elif $ac_last_try; then
11254 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
11256 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
11260 # For the awk script, D is an array of macro values keyed by name,
11261 # likewise P contains macro parameters if any. Preserve backslash
11262 # newline sequences.
11264 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
11266 s/.\{148\}/&'"$ac_delim"'/g
11269 s/^[ ]*#[ ]*define[ ][ ]*/ /
11276 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
11278 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
11282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
11283 D["\
1"]=" \
3\\\\\\n
"\\/p
11285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
11290 s/.\{148\}/&'"$ac_delim"'/g
11295 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
11298 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
11300 ' <confdefs.h | sed '
11301 s/'"$ac_delim"'/"\\\
11302 "/g' >>$CONFIG_STATUS || ac_write_fail=1
11304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11305 for (key in D) D_is_set[key] = 1
11308 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
11310 split(line, arg, " ")
11311 if (arg[1] == "#") {
11315 defundef
= substr
(arg
[1], 2)
11318 split(mac1
, mac2
, "(") #)
11320 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
11321 if (D_is_set
[macro
]) {
11322 # Preserve the white space surrounding the "#".
11323 print prefix
"define", macro P
[macro
] D
[macro
]
11326 # Replace #undef with comments. This is necessary, for example,
11327 # in the case of _POSIX_SOURCE, which is predefined and required
11328 # on some systems where configure will not decide to define it.
11329 if (defundef
== "undef") {
11330 print
"/*", prefix defundef
, macro
, "*/"
11338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11339 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
11340 fi # test -n "$CONFIG_HEADERS"
11343 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
11348 :[FHLC
]) ac_mode
=$ac_tag; continue;;
11350 case $ac_mode$ac_tag in
11352 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
11353 :[FH
]-) ac_tag
=-:-;;
11354 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
11371 -) ac_f
="$tmp/stdin";;
11372 *) # Look for the file first in the build tree, then in the source tree
11373 # (if the path is not absolute). The absolute path cannot be DOS-style,
11374 # because $ac_f cannot contain `:'.
11378 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
11380 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
11382 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
11383 as_fn_append ac_file_inputs
" '$ac_f'"
11386 # Let's still pretend it is `configure' which instantiates (i.e., don't
11387 # use $as_me), people would be surprised to read:
11388 # /* config.h. Generated by config.status. */
11389 configure_input
='Generated from '`
11390 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
11392 if test x
"$ac_file" != x-
; then
11393 configure_input
="$ac_file. $configure_input"
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
11395 $as_echo "$as_me: creating $ac_file" >&6;}
11397 # Neutralize special characters interpreted by sed in replacement strings.
11398 case $configure_input in #(
11399 *\
&* |
*\|
* |
*\\* )
11400 ac_sed_conf_input
=`$as_echo "$configure_input" |
11401 sed 's/[\\\\&|]/\\\\&/g'`;; #(
11402 *) ac_sed_conf_input
=$configure_input;;
11406 *:-:* |
*:-) cat >"$tmp/stdin" \
11407 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
11412 ac_dir
=`$as_dirname -- "$ac_file" ||
11413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11414 X"$ac_file" : 'X\(//\)[^/]' \| \
11415 X"$ac_file" : 'X\(//\)$' \| \
11416 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
11417 $as_echo X"$ac_file" |
11418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
11422 /^X\(\/\/\)[^/].*/{
11435 as_dir
="$ac_dir"; as_fn_mkdir_p
11439 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11441 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
11442 # A ".." for each directory in $ac_dir_suffix.
11443 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
11444 case $ac_top_builddir_sub in
11445 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
11446 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
11449 ac_abs_top_builddir
=$ac_pwd
11450 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
11451 # for backward compatibility:
11452 ac_top_builddir
=$ac_top_build_prefix
11455 .
) # We are building in place.
11457 ac_top_srcdir
=$ac_top_builddir_sub
11458 ac_abs_top_srcdir
=$ac_pwd ;;
11459 [\\/]* | ?
:[\\/]* ) # Absolute name.
11460 ac_srcdir
=$srcdir$ac_dir_suffix;
11461 ac_top_srcdir
=$srcdir
11462 ac_abs_top_srcdir
=$srcdir ;;
11463 *) # Relative name.
11464 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
11465 ac_top_srcdir
=$ac_top_build_prefix$srcdir
11466 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
11468 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
11479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11480 # If the template does not know about datarootdir, expand it.
11481 # FIXME: This hack should be removed a few years after 2.60.
11482 ac_datarootdir_hack
=; ac_datarootdir_seen
=
11493 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
11494 *datarootdir
*) ac_datarootdir_seen
=yes;;
11495 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
11497 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
11499 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11500 ac_datarootdir_hack='
11501 s&@datadir@&$datadir&g
11502 s&@docdir@&$docdir&g
11503 s&@infodir@&$infodir&g
11504 s&@localedir@&$localedir&g
11505 s&@mandir@&$mandir&g
11506 s&\\\${datarootdir}&$datarootdir&g' ;;
11510 # Neutralize VPATH when `$srcdir' = `.'.
11511 # Shell code in configure.ac might set extrasub.
11512 # FIXME: do we really want to maintain this feature?
11513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
11514 ac_sed_extra="$ac_vpsub
11517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
11519 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11520 s|@configure_input@|
$ac_sed_conf_input|
;t t
11521 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
11522 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
11523 s
&@srcdir@
&$ac_srcdir&;t t
11524 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
11525 s
&@top_srcdir@
&$ac_top_srcdir&;t t
11526 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
11527 s
&@builddir@
&$ac_builddir&;t t
11528 s
&@abs_builddir@
&$ac_abs_builddir&;t t
11529 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
11530 $ac_datarootdir_hack
11532 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
11533 || as_fn_error "could not create
$ac_file" "$LINENO" 5
11535 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
11536 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
11537 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
11539 which seems to be undefined. Please make sure it is defined." >&5
11540 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
11541 which seems to be undefined. Please make sure it is defined." >&2;}
11545 -) cat "$tmp/out" && rm -f "$tmp/out";;
11546 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
11548 || as_fn_error "could not create $ac_file" "$LINENO" 5
11554 if test x"$ac_file" != x-; then
11556 $as_echo "/* $configure_input */" \
11557 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
11558 } >"$tmp/config.h" \
11559 || as_fn_error "could not create $ac_file" "$LINENO" 5
11560 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
11561 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
11562 $as_echo "$as_me: $ac_file is unchanged" >&6;}
11565 mv "$tmp/config.h" "$ac_file" \
11566 || as_fn_error "could not create $ac_file" "$LINENO" 5
11569 $as_echo "/* $configure_input */" \
11570 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
11571 || as_fn_error "could not create -" "$LINENO" 5
11575 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
11576 $as_echo "$as_me: executing $ac_file commands" >&6;}
11581 case $ac_file$ac_mode in
11582 "compiler_executable":C)
11583 prefix=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
11585 prefix="${prefix}/${aros_target_cpu}-aros"
11586 prefix2=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
11590 chmod a+x ${prefix2}-gcc ${prefix2}-ld
11592 ln -sf ${prefix2}-gcc ${prefix}-gcc
11593 ln -sf ${prefix2}-ld ${prefix}-ld
11595 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix}-as
11596 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix}-nm
11597 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix}-ar
11598 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix}-ranlib
11599 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix}-objcopy
11600 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix}-objdump
11601 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix}-strip
11603 ln -sf $aros_target_as_ln$aros_host_exe_suffix ${prefix2}-as
11604 ln -sf $aros_target_nm_ln$aros_host_exe_suffix ${prefix2}-nm
11605 ln -sf $aros_target_ar_ln$aros_host_exe_suffix ${prefix2}-ar
11606 ln -sf $aros_target_ranlib_ln$aros_host_exe_suffix ${prefix2}-ranlib
11607 ln -sf $aros_target_objcopy_ln$aros_host_exe_suffix ${prefix2}-objcopy
11608 ln -sf $aros_target_objdump_ln$aros_host_exe_suffix ${prefix2}-objdump
11609 ln -sf $aros_target_strip_ln$aros_host_exe_suffix ${prefix2}-strip
11611 "genshared_executable":C) chmod a+x ${aros_scripts_dir}/genshared ;;
11612 "genmf_executable":C) chmod a+x ${aros_tools_dir}/genmf.py ;;
11620 ac_clean_files=$ac_clean_files_save
11622 test $ac_write_fail = 0 ||
11623 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
11626 # configure is writing to config.log, and then calls config.status.
11627 # config.status does its own redirection, appending to config.log.
11628 # Unfortunately, on DOS this fails, as config.log is still kept open
11629 # by configure, so config.status won't be able to
write to it
; its
11630 # output is simply discarded. So we exec the FD to /dev/null,
11631 # effectively closing config.log, so it can be properly (re)opened and
11632 # appended to by config.status. When coming back to configure, we
11633 # need to make the FD available again.
11634 if test "$no_create" != yes; then
11636 ac_config_status_args
=
11637 test "$silent" = yes &&
11638 ac_config_status_args
="$ac_config_status_args --quiet"
11640 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11642 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11643 # would make configure fail if this is the last instruction.
11644 $ac_cs_success || as_fn_exit $?
11646 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
11648 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
11653 #XXX compatability...
11654 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
11656 if test -n "$aros_shared_cflags" ; then
11657 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
11658 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg