2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="mmakefile"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP AWK MMAKE aros_host_ld aros_host_aclocal aros_host_autoconf aros_host_autoheader aros_host_automake aros_host_ar aros_host_ranlib aros_host_strip RM CP MV ECHO MKDIR TOUCH SORT UNIQ NOP CAT BISON FLEX PNGTOPNM PPMTOILBM SED CHMOD PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir FOR IF TEST CMP EGREP LIBOBJS DISTCC CCACHE aros_kernel_cc aros_target_as_ln aros_kernel_ld aros_target_ar_ln aros_target_nm_ln aros_target_objcopy_ln aros_target_objdump_ln aros_target_ranlib_ln aros_target_strip_ln aros_target_nostdinc_cflags aros_target_nostartup_ldflags aros_target_nix_ldflags aros_target_detach_ldflags aros_target_nostdlib_ldflags SDL_CONFIG SDL_CFLAGS SDL_LIBS aros_arch aros_cpu aros_flavour aros_flavour_uc TOPDIR aros_cc_pre aros_host_arch aros_host_cpu aros_host_cc aros_host_make aros_host_cflags aros_host_ldflags aros_host_debug aros_host_mkdep aros_host_mkargs aros_host_exe_suffix aros_host_lib_suffix aros_tools_dir aros_host_x11_includes aros_host_x11_libdirs aros_host_sdl_cflags aros_host_sdl_libs aros_target_arch aros_target_cpu aros_target_variant aros_target_suffix aros_target_incl aros_target_ar aros_target_ranlib aros_kernel_nm aros_target_cc aros_target_as aros_target_ld aros_target_cc_includes aros_target_cc_path aros_target_objdump aros_target_objcopy aros_target_strip aros_target_nm aros_shared_default aros_shared_ld aros_object_format aros_compiler_libs aros_config_cflags aros_config_aflags aros_config_ldflags aros_shared_cflags aros_shared_aflags aros_shared_ldflags aros_kernel_ldflags aros_debug_cflags aros_debug_aflags aros_debug_ldflags aros_target_genmap aros_target_strip_flags aros_gui_libdir aros_gui_ldflags aros_gui_libflags aros_gui_incdir aros_gui_ccflags x11_hidd_target sdl_hidd_target aros_default_wbwidth aros_default_wbheight aros_default_wbdepth DO_XSHM_SUPPORT DO_VIDMODE_SUPPORT aros_bochs_hack aros_serial_debug aros_palm_debug_hack aros_nesting_supervisor ENABLE_DBUS DBUS_CFLAGS DBUS_LIBFLAGS KERNEL_DBUS_KOBJ KERNEL_DBUS_INCLUDES aros_debug aros_mungwall_debug aros_stack_debug aros_modules_debug ignore_undefined_symbols gcc_target_cpu LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --x-includes=DIR X include files are
in DIR
836 --x-libraries=DIR X library files are
in DIR
839 --build=BUILD configure
for building on BUILD
[guessed
]
840 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
844 if test -n "$ac_init_help"; then
849 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
850 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
851 --enable-build-type=TYPE
852 Select the build
type. Available types are
:
853 personal
, nightly
, snapshot
, milestone
, release. Do
854 NOT use this option unless you know what you are
855 doing
! (default
=personal
)
856 --enable-debug=list Enable different types of debug. Commas or
857 whitespaces can be used to separate the items
in the
858 list. Available types of debug are
: all
, none
,
859 messages
, stack
, mungwall
, modules
, symbols. If no
860 list is provided
then "all" is assumed.
862 --enable-distcc Use distcc as a front end to the compiler
864 --enable-ccache Use ccache as a front end to the compiler
866 --enable-target-variant=NAME
867 Enable a specific target variant
(default
=none
)
868 --enable-includes=dir Alternative system include directory
869 --enable-bochs-hack Enable hacks to
make BOCHS
(partly
) work
871 --enable-palm-debug-hack
872 Enable palm debug output hack
in palm native
874 --enable-nesting-supervisor
875 Enable nesting supervisor support
in unix
877 --enable-x11-hidd build X11 hidd
for hosted
(default
=auto
)
878 --enable-x11-shm use X11 shared memory
(default
=auto
)
879 --enable-x11-vidmode use X11 vidmode extension
(default
=auto
)
880 --enable-sdl-hidd build SDL hidd
for hosted
(default
=auto
)
881 --disable-sdltest Do not try to compile and run a
test SDL program
882 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
885 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
886 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
887 --with-optimization=FLAGS
888 Use optimization flags FLAGS
(default
=-O2).
889 --with-resolution=XRESxYRESxDEPTH
890 Default resolution of the initial WorkbenchScreen
891 --with-serial-debug Enable serial debug output
in native
(default
=no
)
892 --with-x use the X Window System
893 --with-sdl-prefix=PFX Prefix where SDL is installed
(optional
)
894 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed
(optional
)
896 Some influential environment variables
:
897 CC C compiler
command
898 CFLAGS C compiler flags
899 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
900 nonstandard directory
<lib dir
>
901 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
902 headers
in a nonstandard directory
<include dir
>
905 Use these variables to override the choices made by
`configure' or to help
906 it to find libraries and programs with nonstandard names/locations.
911 if test "$ac_init_help" = "recursive"; then
912 # If there are subdirs, report their specific --help.
914 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
915 test -d $ac_dir || continue
918 if test "$ac_dir" != .; then
919 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
920 # A "../" for each directory in $ac_dir_suffix.
921 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
923 ac_dir_suffix= ac_top_builddir=
927 .) # No --srcdir option. We are building in place.
929 if test -z "$ac_top_builddir"; then
932 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
934 [\\/]* | ?:[\\/]* ) # Absolute path.
935 ac_srcdir=$srcdir$ac_dir_suffix;
936 ac_top_srcdir=$srcdir ;;
938 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
939 ac_top_srcdir=$ac_top_builddir$srcdir ;;
942 # Do not use `cd foo
&& pwd` to compute absolute paths, because
943 # the directories may not exist.
945 .) ac_abs_builddir="$ac_dir";;
948 .) ac_abs_builddir=`pwd`;;
949 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
950 *) ac_abs_builddir=`pwd`/"$ac_dir";;
953 case $ac_abs_builddir in
954 .) ac_abs_top_builddir=${ac_top_builddir}.;;
956 case ${ac_top_builddir}. in
957 .) ac_abs_top_builddir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
959 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
962 case $ac_abs_builddir in
963 .) ac_abs_srcdir=$ac_srcdir;;
966 .) ac_abs_srcdir=$ac_abs_builddir;;
967 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
968 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
971 case $ac_abs_builddir in
972 .) ac_abs_top_srcdir=$ac_top_srcdir;;
974 case $ac_top_srcdir in
975 .) ac_abs_top_srcdir=$ac_abs_builddir;;
976 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
977 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
982 # Check for guested configure; otherwise get Cygnus style configure.
983 if test -f $ac_srcdir/configure.gnu; then
985 $SHELL $ac_srcdir/configure.gnu --help=recursive
986 elif test -f $ac_srcdir/configure; then
988 $SHELL $ac_srcdir/configure --help=recursive
989 elif test -f $ac_srcdir/configure.ac ||
990 test -f $ac_srcdir/configure.in; then
994 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1000 test -n "$ac_init_help" && exit 0
1001 if $ac_init_version; then
1004 Copyright (C) 2003 Free Software Foundation, Inc.
1005 This configure script is free software; the Free Software Foundation
1006 gives unlimited permission to copy, distribute and modify it.
1012 This file contains any messages produced by compilers while
1013 running configure, to aid debugging if configure makes a mistake.
1015 It was created by $as_me, which was
1016 generated by GNU Autoconf 2.59. Invocation command line was
1027 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1028 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1029 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1030 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1031 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1033 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1034 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1036 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1037 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1038 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1039 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1040 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1041 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1042 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1050 test -z "$as_dir" && as_dir=.
1051 echo "PATH: $as_dir"
1066 # Keep a trace of the command line.
1067 # Strip out --no-create and --no-recursion so they do not pile up.
1068 # Strip out --silent because we don't want to record it for future runs.
1069 # Also quote any args containing shell meta-characters.
1070 # Make two passes to allow for proper duplicate-argument suppression.
1075 ac_must_keep_next=false
1081 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1083 | -silent | --silent | --silen | --sile | --sil)
1085 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1086 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1089 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1091 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1092 if test $ac_must_keep_next = true; then
1093 ac_must_keep_next=false # Got value, back to normal.
1096 *=* | --config-cache | -C | -disable-* | --disable-* \
1097 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1098 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1099 | -with-* | --with-* | -without-* | --without-* | --x)
1100 case "$ac_configure_args0 " in
1101 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1104 -* ) ac_must_keep_next=true ;;
1107 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1108 # Get rid of the leading space.
1114 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1115 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1117 # When interrupted or exit'd, cleanup temporary files, and complete
1118 # config.log. We remove comments because anyway the quotes in there
1119 # would cause problems or look ugly.
1120 # WARNING: Be sure not to use single quotes in there, as some shells,
1121 # such as our DU 5.0 friend, will then `close
' the trap.
1122 trap 'exit_status
=$?
1123 # Save into config.log some information that might help in debugging.
1128 ## ---------------- ##
1129 ## Cache variables. ##
1130 ## ---------------- ##
1133 # The following way of writing the cache mishandles newlines in values,
1136 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1139 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1140 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1144 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1151 ## ----------------- ##
1152 ## Output variables. ##
1153 ## ----------------- ##
1156 for ac_var
in $ac_subst_vars
1158 eval ac_val
=$
`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1163 if test -n "$ac_subst_files"; then
1170 for ac_var
in $ac_subst_files
1172 eval ac_val
=$
`echo $ac_var`
1173 echo "$ac_var='"'"'$ac_val'"'"'"
1178 if test -s confdefs.h
; then
1185 sed "/^$/d" confdefs.h |
sort
1188 test "$ac_signal" != 0 &&
1189 echo "$as_me: caught signal $ac_signal"
1190 echo "$as_me: exit $exit_status"
1192 rm -f core
*.core
&&
1193 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1196 for ac_signal in 1 2 13 15; do
1197 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1202 rm -rf conftest* confdefs.h
1203 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1206 # Predefined preprocessor variables.
1208 cat >>confdefs.h <<_ACEOF
1209 #define PACKAGE_NAME "$PACKAGE_NAME"
1213 cat >>confdefs.h <<_ACEOF
1214 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1218 cat >>confdefs.h <<_ACEOF
1219 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1223 cat >>confdefs.h <<_ACEOF
1224 #define PACKAGE_STRING "$PACKAGE_STRING"
1228 cat >>confdefs.h <<_ACEOF
1229 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1233 # Let the site file select an alternate cache file if it wants to.
1234 # Prefer explicitly selected file to automatically selected ones.
1235 if test -z "$CONFIG_SITE"; then
1236 if test "x$prefix" != xNONE; then
1237 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1239 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1242 for ac_site_file in $CONFIG_SITE; do
1243 if test -r "$ac_site_file"; then
1244 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1245 echo "$as_me: loading site script $ac_site_file" >&6;}
1246 sed 's
/^
/|
/' "$ac_site_file" >&5
1251 if test -r "$cache_file"; then
1252 # Some versions of bash will fail to source /dev/null (special
1253 # files actually), so we avoid doing that.
1254 if test -f "$cache_file"; then
1255 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1256 echo "$as_me: loading cache $cache_file" >&6;}
1258 [\\/]* | ?:[\\/]* ) . $cache_file;;
1259 *) . ./$cache_file;;
1263 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1264 echo "$as_me: creating cache $cache_file" >&6;}
1268 # Check that the precious variables saved in the cache have kept the same
1270 ac_cache_corrupted=false
1271 for ac_var in `(set) 2>&1 |
1272 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1273 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1274 eval ac_new_set=\$ac_env_${ac_var}_set
1275 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1276 eval ac_new_val="\$ac_env_${ac_var}_value"
1277 case $ac_old_set,$ac_new_set in
1279 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1280 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1281 ac_cache_corrupted=: ;;
1283 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1284 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1285 ac_cache_corrupted=: ;;
1288 if test "x$ac_old_val" != "x$ac_new_val"; then
1289 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1290 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1291 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1292 echo "$as_me: former value: $ac_old_val" >&2;}
1293 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1294 echo "$as_me: current value: $ac_new_val" >&2;}
1295 ac_cache_corrupted=:
1298 # Pass precious variables to config.status.
1299 if test "$ac_new_set" = set; then
1301 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1302 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1303 *) ac_arg=$ac_var=$ac_new_val ;;
1305 case " $ac_configure_args " in
1306 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1307 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1311 if $ac_cache_corrupted; then
1312 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1313 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1314 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1315 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1316 { (exit 1); exit 1; }; }
1320 ac_cpp='$CPP $CPPFLAGS'
1321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1322 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1345 for ac_dir in scripts/autoconf $srcdir/scripts/autoconf; do
1346 if test -f $ac_dir/install-sh; then
1348 ac_install_sh="$ac_aux_dir/install-sh -c"
1350 elif test -f $ac_dir/install.sh; then
1352 ac_install_sh="$ac_aux_dir/install.sh -c"
1354 elif test -f $ac_dir/shtool; then
1356 ac_install_sh="$ac_aux_dir/shtool install -c"
1360 if test -z "$ac_aux_dir"; then
1361 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf $srcdir/scripts/autoconf" >&5
1362 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf $srcdir/scripts/autoconf" >&2;}
1363 { (exit 1); exit 1; }; }
1365 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1366 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1367 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1370 # Check what host we are running on.
1371 # If a target is not suggested, we use this one.
1372 # Note that what we call a target, Autoconf calls a host.
1373 # Make sure we can run config.sub.
1374 $ac_config_sub sun4 >/dev/null 2>&1 ||
1375 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1376 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1377 { (exit 1); exit 1; }; }
1379 echo "$as_me:$LINENO: checking build system type" >&5
1380 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1381 if test "${ac_cv_build+set}" = set; then
1382 echo $ECHO_N "(cached) $ECHO_C" >&6
1384 ac_cv_build_alias=$build_alias
1385 test -z "$ac_cv_build_alias" &&
1386 ac_cv_build_alias=`$ac_config_guess`
1387 test -z "$ac_cv_build_alias" &&
1388 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1389 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1390 { (exit 1); exit 1; }; }
1391 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1392 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1393 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1394 { (exit 1); exit 1; }; }
1397 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1398 echo "${ECHO_T}$ac_cv_build" >&6
1400 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1401 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1402 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1405 echo "$as_me:$LINENO: checking host system type" >&5
1406 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1407 if test "${ac_cv_host+set}" = set; then
1408 echo $ECHO_N "(cached) $ECHO_C" >&6
1410 ac_cv_host_alias=$host_alias
1411 test -z "$ac_cv_host_alias" &&
1412 ac_cv_host_alias=$ac_cv_build_alias
1413 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1420 echo "${ECHO_T}$ac_cv_host" >&6
1422 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1423 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1424 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1428 # The AROS target is slightly different to the normal GNU style
1429 # format. We don't have the middle part
, and we reverse the order
1430 # of the $(CPU) and $(OS) bits.
1432 # Don't strip the version of the target yet, it might be
1433 # useful on some systems.
1435 echo "$as_me:$LINENO: checking for AROS style target" >&5
1436 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6
1438 if test "$target" = "NONE" ; then
1439 target
=$host_os-$host_cpu
1442 if test "$target" = "" ; then
1443 target
=$host_os-$host_cpu
1449 echo "$as_me:$LINENO: result: $target" >&5
1450 echo "${ECHO_T}$target" >&6
1452 #don't know where else to put this...
1455 # Parse the target field into something useful.
1457 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
1458 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
1461 aros_default_wbwidth
=800
1462 aros_default_wbheight
=600
1463 aros_default_wbdepth
=4
1466 # The first step is to find the host binaries.
1467 # Check for a compiler.
1469 ac_cpp
='$CPP $CPPFLAGS'
1470 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1471 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1472 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1473 if test -n "$ac_tool_prefix"; then
1474 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1475 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1476 echo "$as_me:$LINENO: checking for $ac_word" >&5
1477 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1478 if test "${ac_cv_prog_CC+set}" = set; then
1479 echo $ECHO_N "(cached) $ECHO_C" >&6
1481 if test -n "$CC"; then
1482 ac_cv_prog_CC
="$CC" # Let the user override the test.
1484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1488 test -z "$as_dir" && as_dir
=.
1489 for ac_exec_ext
in '' $ac_executable_extensions; do
1490 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1491 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1501 if test -n "$CC"; then
1502 echo "$as_me:$LINENO: result: $CC" >&5
1503 echo "${ECHO_T}$CC" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1510 if test -z "$ac_cv_prog_CC"; then
1512 # Extract the first word of "gcc", so it can be a program name with args.
1513 set dummy gcc
; ac_word
=$2
1514 echo "$as_me:$LINENO: checking for $ac_word" >&5
1515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1516 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1517 echo $ECHO_N "(cached) $ECHO_C" >&6
1519 if test -n "$ac_ct_CC"; then
1520 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1522 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1526 test -z "$as_dir" && as_dir
=.
1527 for ac_exec_ext
in '' $ac_executable_extensions; do
1528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1529 ac_cv_prog_ac_ct_CC
="gcc"
1530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1538 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1539 if test -n "$ac_ct_CC"; then
1540 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1541 echo "${ECHO_T}$ac_ct_CC" >&6
1543 echo "$as_me:$LINENO: result: no" >&5
1544 echo "${ECHO_T}no" >&6
1552 if test -z "$CC"; then
1553 if test -n "$ac_tool_prefix"; then
1554 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1555 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$CC"; then
1562 ac_cv_prog_CC
="$CC" # Let the user override the test.
1564 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir
=.
1569 for ac_exec_ext
in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1581 if test -n "$CC"; then
1582 echo "$as_me:$LINENO: result: $CC" >&5
1583 echo "${ECHO_T}$CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1590 if test -z "$ac_cv_prog_CC"; then
1592 # Extract the first word of "cc", so it can be a program name with args.
1593 set dummy cc
; ac_word
=$2
1594 echo "$as_me:$LINENO: checking for $ac_word" >&5
1595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1599 if test -n "$ac_ct_CC"; then
1600 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1602 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1606 test -z "$as_dir" && as_dir
=.
1607 for ac_exec_ext
in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 ac_cv_prog_ac_ct_CC
="cc"
1610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1618 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1619 if test -n "$ac_ct_CC"; then
1620 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1621 echo "${ECHO_T}$ac_ct_CC" >&6
1623 echo "$as_me:$LINENO: result: no" >&5
1624 echo "${ECHO_T}no" >&6
1633 if test -z "$CC"; then
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc
; ac_word
=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$CC"; then
1642 ac_cv_prog_CC
="$CC" # Let the user override the test.
1645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1649 test -z "$as_dir" && as_dir
=.
1650 for ac_exec_ext
in '' $ac_executable_extensions; do
1651 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1652 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1653 ac_prog_rejected
=yes
1657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1663 if test $ac_prog_rejected = yes; then
1664 # We found a bogon in the path, so make sure we never use it.
1665 set dummy
$ac_cv_prog_CC
1667 if test $# != 0; then
1668 # We chose a different compiler from the bogus one.
1669 # However, it has the same basename, so the bogon will be chosen
1670 # first if we set CC to just the basename; use the full file name.
1672 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1678 if test -n "$CC"; then
1679 echo "$as_me:$LINENO: result: $CC" >&5
1680 echo "${ECHO_T}$CC" >&6
1682 echo "$as_me:$LINENO: result: no" >&5
1683 echo "${ECHO_T}no" >&6
1687 if test -z "$CC"; then
1688 if test -n "$ac_tool_prefix"; then
1691 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1692 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1693 echo "$as_me:$LINENO: checking for $ac_word" >&5
1694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695 if test "${ac_cv_prog_CC+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 if test -n "$CC"; then
1699 ac_cv_prog_CC
="$CC" # Let the user override the test.
1701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir
=.
1706 for ac_exec_ext
in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1718 if test -n "$CC"; then
1719 echo "$as_me:$LINENO: result: $CC" >&5
1720 echo "${ECHO_T}$CC" >&6
1722 echo "$as_me:$LINENO: result: no" >&5
1723 echo "${ECHO_T}no" >&6
1726 test -n "$CC" && break
1729 if test -z "$CC"; then
1733 # Extract the first word of "$ac_prog", so it can be a program name with args.
1734 set dummy
$ac_prog; ac_word
=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$ac_ct_CC"; then
1741 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir
=.
1748 for ac_exec_ext
in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_ac_ct_CC
="$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1759 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1760 if test -n "$ac_ct_CC"; then
1761 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1762 echo "${ECHO_T}$ac_ct_CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$ac_ct_CC" && break
1777 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1778 See \`config.log' for more details." >&5
1779 echo "$as_me: error: no acceptable C compiler found in \$PATH
1780 See \`config.log' for more details." >&2;}
1781 { (exit 1); exit 1; }; }
1783 # Provide some information about the compiler.
1784 echo "$as_me:$LINENO:" \
1785 "checking for C compiler version" >&5
1786 ac_compiler
=`set X $ac_compile; echo $2`
1787 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1788 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1791 (exit $ac_status); }
1792 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1793 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1796 (exit $ac_status); }
1797 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1798 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1801 (exit $ac_status); }
1803 cat >conftest.
$ac_ext <<_ACEOF
1806 cat confdefs.h
>>conftest.
$ac_ext
1807 cat >>conftest.
$ac_ext <<_ACEOF
1808 /* end confdefs.h. */
1818 ac_clean_files_save
=$ac_clean_files
1819 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1820 # Try to create an executable without -o first, disregard a.out.
1821 # It will help us diagnose broken compilers, and finding out an intuition
1823 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1824 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1825 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1826 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1827 (eval $ac_link_default) 2>&5
1829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1830 (exit $ac_status); }; then
1831 # Find the output, starting from the most likely. This scheme is
1832 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1835 # Be careful to initialize this variable, since it used to be cached.
1836 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1838 # b.out is created by i960 compilers.
1839 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1841 test -f "$ac_file" ||
continue
1843 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1846 # This is the source file.
1849 # We found the default executable, but exeext='' is most
1853 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1854 # FIXME: I believe we export ac_cv_exeext for Libtool,
1855 # but it would be cool to find out if it's true. Does anybody
1856 # maintain Libtool? --akim.
1864 echo "$as_me: failed program was:" >&5
1865 sed 's/^/| /' conftest.
$ac_ext >&5
1867 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1868 See \`config.log' for more details." >&5
1869 echo "$as_me: error: C compiler cannot create executables
1870 See \`config.log' for more details." >&2;}
1871 { (exit 77); exit 77; }; }
1874 ac_exeext
=$ac_cv_exeext
1875 echo "$as_me:$LINENO: result: $ac_file" >&5
1876 echo "${ECHO_T}$ac_file" >&6
1878 # Check the compiler produces executables we can run. If not, either
1879 # the compiler is broken, or we cross compile.
1880 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1881 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1882 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1883 # If not cross compiling, check that we can run a simple program.
1884 if test "$cross_compiling" != yes; then
1885 if { ac_try
='./$ac_file'
1886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; }; then
1893 if test "$cross_compiling" = maybe
; then
1896 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1897 If you meant to cross compile, use \`--host'.
1898 See \`config.log' for more details." >&5
1899 echo "$as_me: error: cannot run C compiled programs.
1900 If you meant to cross compile, use \`--host'.
1901 See \`config.log' for more details." >&2;}
1902 { (exit 1); exit 1; }; }
1906 echo "$as_me:$LINENO: result: yes" >&5
1907 echo "${ECHO_T}yes" >&6
1909 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1910 ac_clean_files
=$ac_clean_files_save
1911 # Check the compiler produces executables we can run. If not, either
1912 # the compiler is broken, or we cross compile.
1913 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1914 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1915 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1916 echo "${ECHO_T}$cross_compiling" >&6
1918 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1919 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1921 (eval $ac_link) 2>&5
1923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1924 (exit $ac_status); }; then
1925 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1926 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1927 # work properly (i.e., refer to `conftest.exe'), while it won't with
1929 for ac_file
in conftest.exe conftest conftest.
*; do
1930 test -f "$ac_file" ||
continue
1932 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1933 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1940 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1941 See \`config.log' for more details." >&5
1942 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1947 rm -f conftest
$ac_cv_exeext
1948 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1949 echo "${ECHO_T}$ac_cv_exeext" >&6
1951 rm -f conftest.
$ac_ext
1952 EXEEXT
=$ac_cv_exeext
1954 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1955 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1956 if test "${ac_cv_objext+set}" = set; then
1957 echo $ECHO_N "(cached) $ECHO_C" >&6
1959 cat >conftest.
$ac_ext <<_ACEOF
1962 cat confdefs.h
>>conftest.
$ac_ext
1963 cat >>conftest.
$ac_ext <<_ACEOF
1964 /* end confdefs.h. */
1974 rm -f conftest.o conftest.obj
1975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1976 (eval $ac_compile) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }; then
1980 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1982 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1983 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1988 echo "$as_me: failed program was:" >&5
1989 sed 's/^/| /' conftest.
$ac_ext >&5
1991 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1992 See \`config.log' for more details." >&5
1993 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1994 See \`config.log' for more details." >&2;}
1995 { (exit 1); exit 1; }; }
1998 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2000 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2001 echo "${ECHO_T}$ac_cv_objext" >&6
2002 OBJEXT
=$ac_cv_objext
2004 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2005 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2006 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 cat >conftest.
$ac_ext <<_ACEOF
2012 cat confdefs.h
>>conftest.
$ac_ext
2013 cat >>conftest.
$ac_ext <<_ACEOF
2014 /* end confdefs.h. */
2027 rm -f conftest.
$ac_objext
2028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2029 (eval $ac_compile) 2>conftest.er1
2031 grep -v '^ *+' conftest.er1
>conftest.err
2033 cat conftest.err
>&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); } &&
2036 { ac_try
='test -z "$ac_c_werror_flag"
2037 || test ! -s conftest.err'
2038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); }; } &&
2043 { ac_try
='test -s conftest.$ac_objext'
2044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); }; }; then
2051 echo "$as_me: failed program was:" >&5
2052 sed 's/^/| /' conftest.
$ac_ext >&5
2056 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2057 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2060 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2061 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2062 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2063 ac_test_CFLAGS
=${CFLAGS+set}
2064 ac_save_CFLAGS
=$CFLAGS
2066 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2067 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2068 if test "${ac_cv_prog_cc_g+set}" = set; then
2069 echo $ECHO_N "(cached) $ECHO_C" >&6
2071 cat >conftest.
$ac_ext <<_ACEOF
2074 cat confdefs.h
>>conftest.
$ac_ext
2075 cat >>conftest.
$ac_ext <<_ACEOF
2076 /* end confdefs.h. */
2086 rm -f conftest.
$ac_objext
2087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2088 (eval $ac_compile) 2>conftest.er1
2090 grep -v '^ *+' conftest.er1
>conftest.err
2092 cat conftest.err
>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); } &&
2095 { ac_try
='test -z "$ac_c_werror_flag"
2096 || test ! -s conftest.err'
2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; } &&
2102 { ac_try
='test -s conftest.$ac_objext'
2103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; }; then
2110 echo "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.
$ac_ext >&5
2115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2117 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2118 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2119 if test "$ac_test_CFLAGS" = set; then
2120 CFLAGS
=$ac_save_CFLAGS
2121 elif test $ac_cv_prog_cc_g = yes; then
2122 if test "$GCC" = yes; then
2128 if test "$GCC" = yes; then
2134 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2135 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2136 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 ac_cv_prog_cc_stdc
=no
2141 cat >conftest.
$ac_ext <<_ACEOF
2144 cat confdefs.h
>>conftest.
$ac_ext
2145 cat >>conftest.
$ac_ext <<_ACEOF
2146 /* end confdefs.h. */
2149 #include <sys/types.h>
2150 #include <sys/stat.h>
2151 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2152 struct buf { int x; };
2153 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2154 static char *e (p, i)
2160 static char *f (char * (*g) (char **, int), char **p, ...)
2165 s = g (p, va_arg (v,int));
2170 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2171 function prototypes and stuff, but not '\xHH' hex character constants.
2172 These don't provoke an error unfortunately, instead are silently treated
2173 as 'x'. The following induces an error, until -std1 is added to get
2174 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2175 array size at least. It's necessary to write '\x00'==0 to get something
2176 that's true only with -std1. */
2177 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2179 int test (int i, double x);
2180 struct s1 {int (*f) (int a);};
2181 struct s2 {int (*f) (double a);};
2182 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2188 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2193 # Don't try gcc -ansi; that turns off useful extensions and
2194 # breaks some systems' header files.
2195 # AIX -qlanglvl=ansi
2196 # Ultrix and OSF/1 -std1
2197 # HP-UX 10.20 and later -Ae
2198 # HP-UX older versions -Aa -D_HPUX_SOURCE
2199 # SVR4 -Xc -D__EXTENSIONS__
2200 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2202 CC
="$ac_save_CC $ac_arg"
2203 rm -f conftest.
$ac_objext
2204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2205 (eval $ac_compile) 2>conftest.er1
2207 grep -v '^ *+' conftest.er1
>conftest.err
2209 cat conftest.err
>&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); } &&
2212 { ac_try
='test -z "$ac_c_werror_flag"
2213 || test ! -s conftest.err'
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; } &&
2219 { ac_try
='test -s conftest.$ac_objext'
2220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2224 (exit $ac_status); }; }; then
2225 ac_cv_prog_cc_stdc
=$ac_arg
2228 echo "$as_me: failed program was:" >&5
2229 sed 's/^/| /' conftest.
$ac_ext >&5
2232 rm -f conftest.err conftest.
$ac_objext
2234 rm -f conftest.
$ac_ext conftest.
$ac_objext
2239 case "x$ac_cv_prog_cc_stdc" in
2241 echo "$as_me:$LINENO: result: none needed" >&5
2242 echo "${ECHO_T}none needed" >&6 ;;
2244 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2245 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2246 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2249 # Some people use a C++ compiler to compile C. Since we use `exit',
2250 # in C++ we need to declare it. In case someone uses the same compiler
2251 # for both compiling C and C++ we need to have the C++ compiler decide
2252 # the declaration of exit, since it's the most demanding environment.
2253 cat >conftest.
$ac_ext <<_ACEOF
2258 rm -f conftest.
$ac_objext
2259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2260 (eval $ac_compile) 2>conftest.er1
2262 grep -v '^ *+' conftest.er1
>conftest.err
2264 cat conftest.err
>&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); } &&
2267 { ac_try
='test -z "$ac_c_werror_flag"
2268 || test ! -s conftest.err'
2269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; } &&
2274 { ac_try
='test -s conftest.$ac_objext'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; }; then
2280 for ac_declaration
in \
2282 'extern "C" void std::exit (int) throw (); using std::exit;' \
2283 'extern "C" void std::exit (int); using std::exit;' \
2284 'extern "C" void exit (int) throw ();' \
2285 'extern "C" void exit (int);' \
2288 cat >conftest.
$ac_ext <<_ACEOF
2291 cat confdefs.h
>>conftest.
$ac_ext
2292 cat >>conftest.
$ac_ext <<_ACEOF
2293 /* end confdefs.h. */
2304 rm -f conftest.
$ac_objext
2305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2306 (eval $ac_compile) 2>conftest.er1
2308 grep -v '^ *+' conftest.er1
>conftest.err
2310 cat conftest.err
>&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); } &&
2313 { ac_try
='test -z "$ac_c_werror_flag"
2314 || test ! -s conftest.err'
2315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; } &&
2320 { ac_try
='test -s conftest.$ac_objext'
2321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); }; }; then
2328 echo "$as_me: failed program was:" >&5
2329 sed 's/^/| /' conftest.
$ac_ext >&5
2333 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2334 cat >conftest.
$ac_ext <<_ACEOF
2337 cat confdefs.h
>>conftest.
$ac_ext
2338 cat >>conftest.
$ac_ext <<_ACEOF
2339 /* end confdefs.h. */
2349 rm -f conftest.
$ac_objext
2350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2351 (eval $ac_compile) 2>conftest.er1
2353 grep -v '^ *+' conftest.er1
>conftest.err
2355 cat conftest.err
>&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); } &&
2358 { ac_try
='test -z "$ac_c_werror_flag"
2359 || test ! -s conftest.err'
2360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2364 (exit $ac_status); }; } &&
2365 { ac_try
='test -s conftest.$ac_objext'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; }; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2380 if test -n "$ac_declaration"; then
2381 echo '#ifdef __cplusplus' >>confdefs.h
2382 echo $ac_declaration >>confdefs.h
2383 echo '#endif' >>confdefs.h
2387 echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.
$ac_ext >&5
2391 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2393 ac_cpp
='$CPP $CPPFLAGS'
2394 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2395 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2396 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2400 ac_cpp
='$CPP $CPPFLAGS'
2401 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2402 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2403 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2404 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2405 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2406 # On Suns, sometimes $CPP names a directory.
2407 if test -n "$CPP" && test -d "$CPP"; then
2410 if test -z "$CPP"; then
2411 if test "${ac_cv_prog_CPP+set}" = set; then
2412 echo $ECHO_N "(cached) $ECHO_C" >&6
2414 # Double quotes because CPP needs to be expanded
2415 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2418 for ac_c_preproc_warn_flag
in '' yes
2420 # Use a header file that comes with gcc, so configuring glibc
2421 # with a fresh cross-compiler works.
2422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2423 # <limits.h> exists even on freestanding compilers.
2424 # On the NeXT, cc -E runs the code through the compiler's parser,
2425 # not just through cpp. "Syntax error" is here to catch this case.
2426 cat >conftest.
$ac_ext <<_ACEOF
2429 cat confdefs.h
>>conftest.
$ac_ext
2430 cat >>conftest.
$ac_ext <<_ACEOF
2431 /* end confdefs.h. */
2433 # include <limits.h>
2435 # include <assert.h>
2439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2440 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2442 grep -v '^ *+' conftest.er1
>conftest.err
2444 cat conftest.err
>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); } >/dev
/null
; then
2447 if test -s conftest.err
; then
2448 ac_cpp_err
=$ac_c_preproc_warn_flag
2449 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2456 if test -z "$ac_cpp_err"; then
2459 echo "$as_me: failed program was:" >&5
2460 sed 's/^/| /' conftest.
$ac_ext >&5
2462 # Broken: fails on valid input.
2465 rm -f conftest.err conftest.
$ac_ext
2467 # OK, works on sane cases. Now check whether non-existent headers
2468 # can be detected and how.
2469 cat >conftest.
$ac_ext <<_ACEOF
2472 cat confdefs.h
>>conftest.
$ac_ext
2473 cat >>conftest.
$ac_ext <<_ACEOF
2474 /* end confdefs.h. */
2475 #include <ac_nonexistent.h>
2477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2478 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2480 grep -v '^ *+' conftest.er1
>conftest.err
2482 cat conftest.err
>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); } >/dev
/null
; then
2485 if test -s conftest.err
; then
2486 ac_cpp_err
=$ac_c_preproc_warn_flag
2487 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2494 if test -z "$ac_cpp_err"; then
2495 # Broken: success on invalid input.
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.
$ac_ext >&5
2501 # Passes both tests.
2505 rm -f conftest.err conftest.
$ac_ext
2508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2509 rm -f conftest.err conftest.
$ac_ext
2510 if $ac_preproc_ok; then
2522 echo "$as_me:$LINENO: result: $CPP" >&5
2523 echo "${ECHO_T}$CPP" >&6
2525 for ac_c_preproc_warn_flag
in '' yes
2527 # Use a header file that comes with gcc, so configuring glibc
2528 # with a fresh cross-compiler works.
2529 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2530 # <limits.h> exists even on freestanding compilers.
2531 # On the NeXT, cc -E runs the code through the compiler's parser,
2532 # not just through cpp. "Syntax error" is here to catch this case.
2533 cat >conftest.
$ac_ext <<_ACEOF
2536 cat confdefs.h
>>conftest.
$ac_ext
2537 cat >>conftest.
$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2540 # include <limits.h>
2542 # include <assert.h>
2546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2547 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2549 grep -v '^ *+' conftest.er1
>conftest.err
2551 cat conftest.err
>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); } >/dev
/null
; then
2554 if test -s conftest.err
; then
2555 ac_cpp_err
=$ac_c_preproc_warn_flag
2556 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2563 if test -z "$ac_cpp_err"; then
2566 echo "$as_me: failed program was:" >&5
2567 sed 's/^/| /' conftest.
$ac_ext >&5
2569 # Broken: fails on valid input.
2572 rm -f conftest.err conftest.
$ac_ext
2574 # OK, works on sane cases. Now check whether non-existent headers
2575 # can be detected and how.
2576 cat >conftest.
$ac_ext <<_ACEOF
2579 cat confdefs.h
>>conftest.
$ac_ext
2580 cat >>conftest.
$ac_ext <<_ACEOF
2581 /* end confdefs.h. */
2582 #include <ac_nonexistent.h>
2584 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2585 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2587 grep -v '^ *+' conftest.er1
>conftest.err
2589 cat conftest.err
>&5
2590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2591 (exit $ac_status); } >/dev
/null
; then
2592 if test -s conftest.err
; then
2593 ac_cpp_err
=$ac_c_preproc_warn_flag
2594 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2601 if test -z "$ac_cpp_err"; then
2602 # Broken: success on invalid input.
2605 echo "$as_me: failed program was:" >&5
2606 sed 's/^/| /' conftest.
$ac_ext >&5
2608 # Passes both tests.
2612 rm -f conftest.err conftest.
$ac_ext
2615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2616 rm -f conftest.err conftest.
$ac_ext
2617 if $ac_preproc_ok; then
2620 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2621 See \`config.log' for more details." >&5
2622 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2623 See \`config.log' for more details." >&2;}
2624 { (exit 1); exit 1; }; }
2628 ac_cpp
='$CPP $CPPFLAGS'
2629 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2630 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2631 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2634 # Check for a compatible awk
2635 for ac_prog
in gawk nawk
2637 # Extract the first word of "$ac_prog", so it can be a program name with args.
2638 set dummy
$ac_prog; ac_word
=$2
2639 echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2641 if test "${ac_cv_prog_AWK+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 if test -n "$AWK"; then
2645 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2647 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir
=.
2652 for ac_exec_ext
in '' $ac_executable_extensions; do
2653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654 ac_cv_prog_AWK
="$ac_prog"
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2664 if test -n "$AWK"; then
2665 echo "$as_me:$LINENO: result: $AWK" >&5
2666 echo "${ECHO_T}$AWK" >&6
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2672 test -n "$AWK" && break
2675 if test "$AWK" = ""; then
2676 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
2677 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
2678 { (exit 1); exit 1; }; }
2680 # Extract the first word of "mmake", so it can be a program name with args.
2681 set dummy mmake
; ac_word
=$2
2682 echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2684 if test "${ac_cv_prog_MMAKE+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$MMAKE"; then
2688 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
2690 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir
=.
2695 for ac_exec_ext
in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 ac_cv_prog_MMAKE
="mmake "
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 MMAKE
=$ac_cv_prog_MMAKE
2707 if test -n "$MMAKE"; then
2708 echo "$as_me:$LINENO: result: $MMAKE" >&5
2709 echo "${ECHO_T}$MMAKE" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2716 # Perform some default variable assignments. Note all of these will be
2717 # Regenerated from the script, so there is no need to cache them.
2720 if test "$GCC" = "yes"; then
2721 aros_gcc_ld
=`$CC -print-prog-name=ld`
2722 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
2723 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
2724 echo "$as_me:$LINENO: checking for $ac_word" >&5
2725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2726 if test "${ac_cv_path_aros_host_ld+set}" = set; then
2727 echo $ECHO_N "(cached) $ECHO_C" >&6
2729 case $aros_host_ld in
2731 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2735 for as_dir
in `dirname $aros_gcc_ld`
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 aros_host_ld
=$ac_cv_path_aros_host_ld
2753 if test -n "$aros_host_ld"; then
2754 echo "$as_me:$LINENO: result: $aros_host_ld" >&5
2755 echo "${ECHO_T}$aros_host_ld" >&6
2757 echo "$as_me:$LINENO: result: no" >&5
2758 echo "${ECHO_T}no" >&6
2762 if test "$aros_host_ld" = ""; then
2763 # Extract the first word of "ld", so it can be a program name with args.
2764 set dummy ld
; ac_word
=$2
2765 echo "$as_me:$LINENO: checking for $ac_word" >&5
2766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2767 if test "${ac_cv_path_aros_host_ld+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2770 case $aros_host_ld in
2772 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2782 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
2783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 aros_host_ld
=$ac_cv_path_aros_host_ld
2794 if test -n "$aros_host_ld"; then
2795 echo "$as_me:$LINENO: result: $aros_host_ld" >&5
2796 echo "${ECHO_T}$aros_host_ld" >&6
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2803 if test "$aros_host_ld" = ""; then
2804 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
2805 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
2806 { (exit 1); exit 1; }; }
2808 aros_host_make
="make"
2809 aros_host_cflags
=$CFLAGS
2810 aros_host_ldflags
=$LDFLAGS
2811 aros_host_debug
="-g -O0"
2812 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
2813 aros_host_mkargs
="--no-print-directory"
2814 aros_host_incl
="/usr/include"
2815 aros_host_exe_suffix
="$EXEEXT"
2816 aros_host_lib_suffix
=""
2818 for ac_prog
in aclocal aclocal19
2820 # Extract the first word of "$ac_prog", so it can be a program name with args.
2821 set dummy
$ac_prog; ac_word
=$2
2822 echo "$as_me:$LINENO: checking for $ac_word" >&5
2823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2824 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
2825 echo $ECHO_N "(cached) $ECHO_C" >&6
2827 if test -n "$aros_host_aclocal"; then
2828 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
2830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir
=.
2835 for ac_exec_ext
in '' $ac_executable_extensions; do
2836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2837 ac_cv_prog_aros_host_aclocal
="$ac_prog"
2838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
2847 if test -n "$aros_host_aclocal"; then
2848 echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
2849 echo "${ECHO_T}$aros_host_aclocal" >&6
2851 echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6
2855 test -n "$aros_host_aclocal" && break
2858 for ac_prog
in autoconf autoconf259 autoconf253
2860 # Extract the first word of "$ac_prog", so it can be a program name with args.
2861 set dummy
$ac_prog; ac_word
=$2
2862 echo "$as_me:$LINENO: checking for $ac_word" >&5
2863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2864 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
2865 echo $ECHO_N "(cached) $ECHO_C" >&6
2867 if test -n "$aros_host_autoconf"; then
2868 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
2870 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir
=.
2875 for ac_exec_ext
in '' $ac_executable_extensions; do
2876 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2877 ac_cv_prog_aros_host_autoconf
="$ac_prog"
2878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2886 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
2887 if test -n "$aros_host_autoconf"; then
2888 echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
2889 echo "${ECHO_T}$aros_host_autoconf" >&6
2891 echo "$as_me:$LINENO: result: no" >&5
2892 echo "${ECHO_T}no" >&6
2895 test -n "$aros_host_autoconf" && break
2898 for ac_prog
in autoheader autoheader259 autoheader253
2900 # Extract the first word of "$ac_prog", so it can be a program name with args.
2901 set dummy
$ac_prog; ac_word
=$2
2902 echo "$as_me:$LINENO: checking for $ac_word" >&5
2903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2904 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 if test -n "$aros_host_autoheader"; then
2908 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
2910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir
=.
2915 for ac_exec_ext
in '' $ac_executable_extensions; do
2916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917 ac_cv_prog_aros_host_autoheader
="$ac_prog"
2918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2926 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
2927 if test -n "$aros_host_autoheader"; then
2928 echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
2929 echo "${ECHO_T}$aros_host_autoheader" >&6
2931 echo "$as_me:$LINENO: result: no" >&5
2932 echo "${ECHO_T}no" >&6
2935 test -n "$aros_host_autoheader" && break
2938 for ac_prog
in automake automake19
2940 # Extract the first word of "$ac_prog", so it can be a program name with args.
2941 set dummy
$ac_prog; ac_word
=$2
2942 echo "$as_me:$LINENO: checking for $ac_word" >&5
2943 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2944 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2947 if test -n "$aros_host_automake"; then
2948 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
2950 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2954 test -z "$as_dir" && as_dir
=.
2955 for ac_exec_ext
in '' $ac_executable_extensions; do
2956 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2957 ac_cv_prog_aros_host_automake
="$ac_prog"
2958 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2966 aros_host_automake
=$ac_cv_prog_aros_host_automake
2967 if test -n "$aros_host_automake"; then
2968 echo "$as_me:$LINENO: result: $aros_host_automake" >&5
2969 echo "${ECHO_T}$aros_host_automake" >&6
2971 echo "$as_me:$LINENO: result: no" >&5
2972 echo "${ECHO_T}no" >&6
2975 test -n "$aros_host_automake" && break
2979 case "$aros_host_cc" in
2981 aros_host_cc_pipe
="-pipe"
2984 aros_host_cc_pipe
=""
2987 aros_host_cc_pipe
=""
2991 aros_target_cc_includes
=""
2993 # This is the main host configuration section. It is where the host
2994 # can change the values of any variables it needs to change. We do
2995 # not look at anything that compiles to the target yet, we'll get
3000 aros_host_arch
="linux"
3001 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3004 aros_host_cpu
="i386"
3007 aros_host_cpu
="x86_64"
3010 aros_host_cpu
="m68k"
3016 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3017 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3018 aros_host_cpu
="$host_cpu"
3024 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3025 aros_host_make
="gmake"
3026 aros_host_arch
="freebsd"
3027 aros_host_cpu
="i386"
3029 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3034 aros_object_format
="elf_i386"
3038 aros_object_format
="elf_i386_fbsd"
3045 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3046 aros_host_arch
="darwin"
3049 aros_host_cpu
="i386"
3055 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3056 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3057 aros_host_cpu
="$host_cpu"
3061 aros_host_ldflags
="$aros_host_ldflags -liconv"
3066 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3067 aros_host_make
="gmake"
3068 aros_host_arch
="netbsd"
3071 aros_host_cpu
="i386"
3074 aros_host_cpu
="m68k"
3077 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3078 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3079 aros_host_cpu
="$host_cpu"
3082 aros_host_lib_suffix
=".0.0"
3086 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3087 aros_host_make
="gmake"
3088 aros_host_arch
="openbsd"
3091 aros_host_cpu
="i386"
3094 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3095 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3096 aros_host_cpu
="$host_cpu"
3102 aros_host_arch
="solaris"
3103 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3106 aros_host_cpu
="sparc"
3109 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3110 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3111 aros_host_cpu
="$host_cpu"
3117 aros_host_arch
="morphos"
3122 aros_host_arch
="amiga"
3127 TOUCH
="/gg/bin/touch"
3130 aros_host_cpu
="m68k"
3136 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3137 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3138 aros_host_cpu
="$host_cpu"
3144 aros_host_arch
="cygwin"
3145 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3148 aros_host_cpu
="i386"
3151 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3152 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3153 aros_host_cpu
="$host_cpu"
3158 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
3159 echo "$as_me: error: Unsupported host architecture $host" >&2;}
3160 { (exit 1); exit 1; }; }
3164 # Extract the first word of "ar", so it can be a program name with args.
3165 set dummy
ar; ac_word
=$2
3166 echo "$as_me:$LINENO: checking for $ac_word" >&5
3167 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3168 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
3169 echo $ECHO_N "(cached) $ECHO_C" >&6
3171 if test -n "$aros_host_ar"; then
3172 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
3174 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3178 test -z "$as_dir" && as_dir
=.
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3181 ac_cv_prog_aros_host_ar
="ar cr"
3182 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3190 aros_host_ar
=$ac_cv_prog_aros_host_ar
3191 if test -n "$aros_host_ar"; then
3192 echo "$as_me:$LINENO: result: $aros_host_ar" >&5
3193 echo "${ECHO_T}$aros_host_ar" >&6
3195 echo "$as_me:$LINENO: result: no" >&5
3196 echo "${ECHO_T}no" >&6
3199 if test "$aros_host_ar" = ""; then
3200 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
3201 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
3202 { (exit 1); exit 1; }; }
3204 # Extract the first word of "ranlib", so it can be a program name with args.
3205 set dummy ranlib
; ac_word
=$2
3206 echo "$as_me:$LINENO: checking for $ac_word" >&5
3207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3208 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
3209 echo $ECHO_N "(cached) $ECHO_C" >&6
3211 if test -n "$aros_host_ranlib"; then
3212 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
3214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3218 test -z "$as_dir" && as_dir
=.
3219 for ac_exec_ext
in '' $ac_executable_extensions; do
3220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3221 ac_cv_prog_aros_host_ranlib
="ranlib "
3222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3230 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
3231 if test -n "$aros_host_ranlib"; then
3232 echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
3233 echo "${ECHO_T}$aros_host_ranlib" >&6
3235 echo "$as_me:$LINENO: result: no" >&5
3236 echo "${ECHO_T}no" >&6
3239 if test "$aros_host_ranlib" = ""; then
3240 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
3241 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
3242 { (exit 1); exit 1; }; }
3244 # Extract the first word of "strip", so it can be a program name with args.
3245 set dummy strip
; ac_word
=$2
3246 echo "$as_me:$LINENO: checking for $ac_word" >&5
3247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3248 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
3249 echo $ECHO_N "(cached) $ECHO_C" >&6
3251 if test -n "$aros_host_strip"; then
3252 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
3254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3258 test -z "$as_dir" && as_dir
=.
3259 for ac_exec_ext
in '' $ac_executable_extensions; do
3260 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3261 ac_cv_prog_aros_host_strip
="strip "
3262 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3270 aros_host_strip
=$ac_cv_prog_aros_host_strip
3271 if test -n "$aros_host_strip"; then
3272 echo "$as_me:$LINENO: result: $aros_host_strip" >&5
3273 echo "${ECHO_T}$aros_host_strip" >&6
3275 echo "$as_me:$LINENO: result: no" >&5
3276 echo "${ECHO_T}no" >&6
3279 if test "$aros_host_strip" = ""; then
3280 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
3281 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
3282 { (exit 1); exit 1; }; }
3285 # Extract the first word of "rm", so it can be a program name with args.
3286 set dummy
rm; ac_word
=$2
3287 echo "$as_me:$LINENO: checking for $ac_word" >&5
3288 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3289 if test "${ac_cv_prog_RM+set}" = set; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 if test -n "$RM"; then
3293 ac_cv_prog_RM
="$RM" # Let the user override the test.
3295 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir
=.
3300 for ac_exec_ext
in '' $ac_executable_extensions; do
3301 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 ac_cv_prog_RM
="rm -rf"
3303 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 if test -n "$RM"; then
3313 echo "$as_me:$LINENO: result: $RM" >&5
3314 echo "${ECHO_T}$RM" >&6
3316 echo "$as_me:$LINENO: result: no" >&5
3317 echo "${ECHO_T}no" >&6
3320 if test "$RM" = ""; then
3321 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
3322 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
3323 { (exit 1); exit 1; }; }
3325 # Extract the first word of "cp", so it can be a program name with args.
3326 set dummy
cp; ac_word
=$2
3327 echo "$as_me:$LINENO: checking for $ac_word" >&5
3328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3329 if test "${ac_cv_prog_CP+set}" = set; then
3330 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 if test -n "$CP"; then
3333 ac_cv_prog_CP
="$CP" # Let the user override the test.
3335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir
=.
3340 for ac_exec_ext
in '' $ac_executable_extensions; do
3341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 if test -n "$CP"; then
3353 echo "$as_me:$LINENO: result: $CP" >&5
3354 echo "${ECHO_T}$CP" >&6
3356 echo "$as_me:$LINENO: result: no" >&5
3357 echo "${ECHO_T}no" >&6
3360 if test "$CP" = ""; then
3361 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
3362 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
3363 { (exit 1); exit 1; }; }
3365 # Extract the first word of "mv", so it can be a program name with args.
3366 set dummy
mv; ac_word
=$2
3367 echo "$as_me:$LINENO: checking for $ac_word" >&5
3368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3369 if test "${ac_cv_prog_MV+set}" = set; then
3370 echo $ECHO_N "(cached) $ECHO_C" >&6
3372 if test -n "$MV"; then
3373 ac_cv_prog_MV
="$MV" # Let the user override the test.
3375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir
=.
3380 for ac_exec_ext
in '' $ac_executable_extensions; do
3381 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3392 if test -n "$MV"; then
3393 echo "$as_me:$LINENO: result: $MV" >&5
3394 echo "${ECHO_T}$MV" >&6
3396 echo "$as_me:$LINENO: result: no" >&5
3397 echo "${ECHO_T}no" >&6
3400 if test "$MV" = ""; then
3401 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
3402 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
3403 { (exit 1); exit 1; }; }
3405 # Extract the first word of "echo", so it can be a program name with args.
3406 set dummy
echo; ac_word
=$2
3407 echo "$as_me:$LINENO: checking for $ac_word" >&5
3408 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3409 if test "${ac_cv_prog_ECHO+set}" = set; then
3410 echo $ECHO_N "(cached) $ECHO_C" >&6
3412 if test -n "$ECHO"; then
3413 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
3415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3419 test -z "$as_dir" && as_dir
=.
3420 for ac_exec_ext
in '' $ac_executable_extensions; do
3421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3422 ac_cv_prog_ECHO
="echo "
3423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3431 ECHO
=$ac_cv_prog_ECHO
3432 if test -n "$ECHO"; then
3433 echo "$as_me:$LINENO: result: $ECHO" >&5
3434 echo "${ECHO_T}$ECHO" >&6
3436 echo "$as_me:$LINENO: result: no" >&5
3437 echo "${ECHO_T}no" >&6
3440 if test "$ECHO" = ""; then
3441 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
3442 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
3443 { (exit 1); exit 1; }; }
3445 # Extract the first word of "mkdir", so it can be a program name with args.
3446 set dummy mkdir
; ac_word
=$2
3447 echo "$as_me:$LINENO: checking for $ac_word" >&5
3448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3449 if test "${ac_cv_prog_MKDIR+set}" = set; then
3450 echo $ECHO_N "(cached) $ECHO_C" >&6
3452 if test -n "$MKDIR"; then
3453 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
3455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3459 test -z "$as_dir" && as_dir
=.
3460 for ac_exec_ext
in '' $ac_executable_extensions; do
3461 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3462 ac_cv_prog_MKDIR
="mkdir -p"
3463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 MKDIR
=$ac_cv_prog_MKDIR
3472 if test -n "$MKDIR"; then
3473 echo "$as_me:$LINENO: result: $MKDIR" >&5
3474 echo "${ECHO_T}$MKDIR" >&6
3476 echo "$as_me:$LINENO: result: no" >&5
3477 echo "${ECHO_T}no" >&6
3480 if test "$MKDIR" = ""; then
3481 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
3482 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
3483 { (exit 1); exit 1; }; }
3485 # Extract the first word of "touch", so it can be a program name with args.
3486 set dummy
touch; ac_word
=$2
3487 echo "$as_me:$LINENO: checking for $ac_word" >&5
3488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3489 if test "${ac_cv_prog_TOUCH+set}" = set; then
3490 echo $ECHO_N "(cached) $ECHO_C" >&6
3492 if test -n "$TOUCH"; then
3493 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
3495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3499 test -z "$as_dir" && as_dir
=.
3500 for ac_exec_ext
in '' $ac_executable_extensions; do
3501 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3502 ac_cv_prog_TOUCH
="touch "
3503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3511 TOUCH
=$ac_cv_prog_TOUCH
3512 if test -n "$TOUCH"; then
3513 echo "$as_me:$LINENO: result: $TOUCH" >&5
3514 echo "${ECHO_T}$TOUCH" >&6
3516 echo "$as_me:$LINENO: result: no" >&5
3517 echo "${ECHO_T}no" >&6
3520 if test "$TOUCH" = ""; then
3521 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
3522 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
3523 { (exit 1); exit 1; }; }
3525 # Extract the first word of "sort", so it can be a program name with args.
3526 set dummy
sort; ac_word
=$2
3527 echo "$as_me:$LINENO: checking for $ac_word" >&5
3528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3529 if test "${ac_cv_prog_SORT+set}" = set; then
3530 echo $ECHO_N "(cached) $ECHO_C" >&6
3532 if test -n "$SORT"; then
3533 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
3535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3539 test -z "$as_dir" && as_dir
=.
3540 for ac_exec_ext
in '' $ac_executable_extensions; do
3541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3542 ac_cv_prog_SORT
="sort "
3543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3551 SORT
=$ac_cv_prog_SORT
3552 if test -n "$SORT"; then
3553 echo "$as_me:$LINENO: result: $SORT" >&5
3554 echo "${ECHO_T}$SORT" >&6
3556 echo "$as_me:$LINENO: result: no" >&5
3557 echo "${ECHO_T}no" >&6
3560 if test "$SORT" = ""; then
3561 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
3562 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
3563 { (exit 1); exit 1; }; }
3565 # Extract the first word of "uniq", so it can be a program name with args.
3566 set dummy
uniq; ac_word
=$2
3567 echo "$as_me:$LINENO: checking for $ac_word" >&5
3568 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3569 if test "${ac_cv_prog_UNIQ+set}" = set; then
3570 echo $ECHO_N "(cached) $ECHO_C" >&6
3572 if test -n "$UNIQ"; then
3573 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
3575 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3579 test -z "$as_dir" && as_dir
=.
3580 for ac_exec_ext
in '' $ac_executable_extensions; do
3581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3582 ac_cv_prog_UNIQ
="uniq "
3583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3591 UNIQ
=$ac_cv_prog_UNIQ
3592 if test -n "$UNIQ"; then
3593 echo "$as_me:$LINENO: result: $UNIQ" >&5
3594 echo "${ECHO_T}$UNIQ" >&6
3596 echo "$as_me:$LINENO: result: no" >&5
3597 echo "${ECHO_T}no" >&6
3600 if test "$UNIQ" = ""; then
3601 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
3602 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
3603 { (exit 1); exit 1; }; }
3605 # Extract the first word of "true", so it can be a program name with args.
3606 set dummy true
; ac_word
=$2
3607 echo "$as_me:$LINENO: checking for $ac_word" >&5
3608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3609 if test "${ac_cv_prog_NOP+set}" = set; then
3610 echo $ECHO_N "(cached) $ECHO_C" >&6
3612 if test -n "$NOP"; then
3613 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
3615 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3619 test -z "$as_dir" && as_dir
=.
3620 for ac_exec_ext
in '' $ac_executable_extensions; do
3621 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3622 ac_cv_prog_NOP
="true "
3623 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 if test -n "$NOP"; then
3633 echo "$as_me:$LINENO: result: $NOP" >&5
3634 echo "${ECHO_T}$NOP" >&6
3636 echo "$as_me:$LINENO: result: no" >&5
3637 echo "${ECHO_T}no" >&6
3640 if test "$NOP" = ""; then
3641 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
3642 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
3643 { (exit 1); exit 1; }; }
3645 # Extract the first word of "cat", so it can be a program name with args.
3646 set dummy
cat; ac_word
=$2
3647 echo "$as_me:$LINENO: checking for $ac_word" >&5
3648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3649 if test "${ac_cv_prog_CAT+set}" = set; then
3650 echo $ECHO_N "(cached) $ECHO_C" >&6
3652 if test -n "$CAT"; then
3653 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
3655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir
=.
3660 for ac_exec_ext
in '' $ac_executable_extensions; do
3661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3662 ac_cv_prog_CAT
="cat "
3663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 if test -n "$CAT"; then
3673 echo "$as_me:$LINENO: result: $CAT" >&5
3674 echo "${ECHO_T}$CAT" >&6
3676 echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6
3680 if test "$CAT" = ""; then
3681 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
3682 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
3683 { (exit 1); exit 1; }; }
3685 # Extract the first word of "bison", so it can be a program name with args.
3686 set dummy bison
; ac_word
=$2
3687 echo "$as_me:$LINENO: checking for $ac_word" >&5
3688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3689 if test "${ac_cv_prog_BISON+set}" = set; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 if test -n "$BISON"; then
3693 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
3695 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3699 test -z "$as_dir" && as_dir
=.
3700 for ac_exec_ext
in '' $ac_executable_extensions; do
3701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3702 ac_cv_prog_BISON
="bison "
3703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 BISON
=$ac_cv_prog_BISON
3712 if test -n "$BISON"; then
3713 echo "$as_me:$LINENO: result: $BISON" >&5
3714 echo "${ECHO_T}$BISON" >&6
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3720 if test "$BISON" = ""; then
3721 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
3722 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
3723 { (exit 1); exit 1; }; }
3725 # Extract the first word of "flex", so it can be a program name with args.
3726 set dummy flex
; ac_word
=$2
3727 echo "$as_me:$LINENO: checking for $ac_word" >&5
3728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3729 if test "${ac_cv_prog_FLEX+set}" = set; then
3730 echo $ECHO_N "(cached) $ECHO_C" >&6
3732 if test -n "$FLEX"; then
3733 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
3735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir
=.
3740 for ac_exec_ext
in '' $ac_executable_extensions; do
3741 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_FLEX
="flex "
3743 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3751 FLEX
=$ac_cv_prog_FLEX
3752 if test -n "$FLEX"; then
3753 echo "$as_me:$LINENO: result: $FLEX" >&5
3754 echo "${ECHO_T}$FLEX" >&6
3756 echo "$as_me:$LINENO: result: no" >&5
3757 echo "${ECHO_T}no" >&6
3760 if test "$FLEX" = ""; then
3761 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
3762 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
3763 { (exit 1); exit 1; }; }
3765 # Extract the first word of "pngtopnm", so it can be a program name with args.
3766 set dummy pngtopnm
; ac_word
=$2
3767 echo "$as_me:$LINENO: checking for $ac_word" >&5
3768 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3769 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 if test -n "$PNGTOPNM"; then
3773 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
3775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3779 test -z "$as_dir" && as_dir
=.
3780 for ac_exec_ext
in '' $ac_executable_extensions; do
3781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3782 ac_cv_prog_PNGTOPNM
="pngtopnm "
3783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
3792 if test -n "$PNGTOPNM"; then
3793 echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
3794 echo "${ECHO_T}$PNGTOPNM" >&6
3796 echo "$as_me:$LINENO: result: no" >&5
3797 echo "${ECHO_T}no" >&6
3800 if test "$PNGTOPNM" = ""; then
3801 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
3802 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
3803 { (exit 1); exit 1; }; }
3805 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
3806 set dummy ppmtoilbm
; ac_word
=$2
3807 echo "$as_me:$LINENO: checking for $ac_word" >&5
3808 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3809 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 if test -n "$PPMTOILBM"; then
3813 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
3815 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3819 test -z "$as_dir" && as_dir
=.
3820 for ac_exec_ext
in '' $ac_executable_extensions; do
3821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3822 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
3823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
3832 if test -n "$PPMTOILBM"; then
3833 echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
3834 echo "${ECHO_T}$PPMTOILBM" >&6
3836 echo "$as_me:$LINENO: result: no" >&5
3837 echo "${ECHO_T}no" >&6
3840 if test "$PPMTOILBM" = ""; then
3841 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
3842 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
3843 { (exit 1); exit 1; }; }
3845 # Extract the first word of "sed", so it can be a program name with args.
3846 set dummy
sed; ac_word
=$2
3847 echo "$as_me:$LINENO: checking for $ac_word" >&5
3848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3849 if test "${ac_cv_prog_SED+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3852 if test -n "$SED"; then
3853 ac_cv_prog_SED
="$SED" # Let the user override the test.
3855 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3859 test -z "$as_dir" && as_dir
=.
3860 for ac_exec_ext
in '' $ac_executable_extensions; do
3861 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3862 ac_cv_prog_SED
="sed "
3863 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3872 if test -n "$SED"; then
3873 echo "$as_me:$LINENO: result: $SED" >&5
3874 echo "${ECHO_T}$SED" >&6
3876 echo "$as_me:$LINENO: result: no" >&5
3877 echo "${ECHO_T}no" >&6
3880 if test "$SED" = ""; then
3881 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
3882 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
3883 { (exit 1); exit 1; }; }
3885 # Extract the first word of "chmod", so it can be a program name with args.
3886 set dummy
chmod; ac_word
=$2
3887 echo "$as_me:$LINENO: checking for $ac_word" >&5
3888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3889 if test "${ac_cv_prog_CHMOD+set}" = set; then
3890 echo $ECHO_N "(cached) $ECHO_C" >&6
3892 if test -n "$CHMOD"; then
3893 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
3895 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir
=.
3900 for ac_exec_ext
in '' $ac_executable_extensions; do
3901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902 ac_cv_prog_CHMOD
="chmod "
3903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 CHMOD
=$ac_cv_prog_CHMOD
3912 if test -n "$CHMOD"; then
3913 echo "$as_me:$LINENO: result: $CHMOD" >&5
3914 echo "${ECHO_T}$CHMOD" >&6
3916 echo "$as_me:$LINENO: result: no" >&5
3917 echo "${ECHO_T}no" >&6
3920 if test "$CHMOD" = ""; then
3921 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
3922 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
3923 { (exit 1); exit 1; }; }
3930 if test -n "$PYTHON"; then
3931 # If the user set $PYTHON, use it and don't search something else.
3932 echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
3933 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6
3934 prog
="import sys, string
3935 # split strings by '.' and convert to numeric. Append some zeros
3936 # because we need at least 4 digits for the hex conversion.
3937 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
3939 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3940 sys.exit(sys.hexversion < minverhex)"
3941 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3942 ($PYTHON -c "$prog") >&5 2>&5
3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3945 (exit $ac_status); }; then
3946 echo "$as_me:$LINENO: result: yes" >&5
3947 echo "${ECHO_T}yes" >&6
3949 { { echo "$as_me:$LINENO: error: too old" >&5
3950 echo "$as_me: error: too old" >&2;}
3951 { (exit 1); exit 1; }; }
3954 am_display_PYTHON
=$PYTHON
3956 # Otherwise, try each interpreter until we find one that satisfies
3958 echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
3959 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6
3960 if test "${am_cv_pathless_PYTHON+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3964 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
3965 test "$am_cv_pathless_PYTHON" = none
&& break
3966 prog
="import sys, string
3967 # split strings by '.' and convert to numeric. Append some zeros
3968 # because we need at least 4 digits for the hex conversion.
3969 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
3971 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3972 sys.exit(sys.hexversion < minverhex)"
3973 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3974 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; then
3983 echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
3984 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
3985 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3986 if test "$am_cv_pathless_PYTHON" = none
; then
3989 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3990 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
3991 echo "$as_me:$LINENO: checking for $ac_word" >&5
3992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3993 if test "${ac_cv_path_PYTHON+set}" = set; then
3994 echo $ECHO_N "(cached) $ECHO_C" >&6
3998 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
4001 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4005 test -z "$as_dir" && as_dir
=.
4006 for ac_exec_ext
in '' $ac_executable_extensions; do
4007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4008 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 PYTHON
=$ac_cv_path_PYTHON
4020 if test -n "$PYTHON"; then
4021 echo "$as_me:$LINENO: result: $PYTHON" >&5
4022 echo "${ECHO_T}$PYTHON" >&6
4024 echo "$as_me:$LINENO: result: no" >&5
4025 echo "${ECHO_T}no" >&6
4029 am_display_PYTHON
=$am_cv_pathless_PYTHON
4033 if test "$PYTHON" = :; then
4034 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
4035 echo "$as_me: error: no suitable Python interpreter found" >&2;}
4036 { (exit 1); exit 1; }; }
4040 echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
4041 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
4042 if test "${am_cv_python_version+set}" = set; then
4043 echo $ECHO_N "(cached) $ECHO_C" >&6
4045 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
4047 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
4048 echo "${ECHO_T}$am_cv_python_version" >&6
4049 PYTHON_VERSION
=$am_cv_python_version
4053 PYTHON_PREFIX
='${prefix}'
4055 PYTHON_EXEC_PREFIX
='${exec_prefix}'
4059 echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
4060 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
4061 if test "${am_cv_python_platform+set}" = set; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
4066 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
4067 echo "${ECHO_T}$am_cv_python_platform" >&6
4068 PYTHON_PLATFORM
=$am_cv_python_platform
4073 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
4074 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
4075 if test "${am_cv_python_pythondir+set}" = set; then
4076 echo $ECHO_N "(cached) $ECHO_C" >&6
4078 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
4079 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
4081 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
4082 echo "${ECHO_T}$am_cv_python_pythondir" >&6
4083 pythondir
=$am_cv_python_pythondir
4087 pkgpythondir
=\
${pythondir}/$PACKAGE
4090 echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
4091 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
4092 if test "${am_cv_python_pyexecdir+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
4096 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
4098 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
4099 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
4100 pyexecdir
=$am_cv_python_pyexecdir
4104 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
4122 # Check for some includes for the X11 HIDD and the kernel
4125 echo "$as_me:$LINENO: checking for egrep" >&5
4126 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4127 if test "${ac_cv_prog_egrep+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4131 then ac_cv_prog_egrep
='grep -E'
4132 else ac_cv_prog_egrep
='egrep'
4135 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4136 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4137 EGREP
=$ac_cv_prog_egrep
4140 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4141 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4142 if test "${ac_cv_header_stdc+set}" = set; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 cat >conftest.
$ac_ext <<_ACEOF
4148 cat confdefs.h
>>conftest.
$ac_ext
4149 cat >>conftest.
$ac_ext <<_ACEOF
4150 /* end confdefs.h. */
4164 rm -f conftest.
$ac_objext
4165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4166 (eval $ac_compile) 2>conftest.er1
4168 grep -v '^ *+' conftest.er1
>conftest.err
4170 cat conftest.err
>&5
4171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4172 (exit $ac_status); } &&
4173 { ac_try
='test -z "$ac_c_werror_flag"
4174 || test ! -s conftest.err'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; } &&
4180 { ac_try
='test -s conftest.$ac_objext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 ac_cv_header_stdc
=yes
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4191 ac_cv_header_stdc
=no
4193 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4195 if test $ac_cv_header_stdc = yes; then
4196 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4197 cat >conftest.
$ac_ext <<_ACEOF
4200 cat confdefs.h
>>conftest.
$ac_ext
4201 cat >>conftest.
$ac_ext <<_ACEOF
4202 /* end confdefs.h. */
4206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4207 $EGREP "memchr" >/dev
/null
2>&1; then
4210 ac_cv_header_stdc
=no
4216 if test $ac_cv_header_stdc = yes; then
4217 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4218 cat >conftest.
$ac_ext <<_ACEOF
4221 cat confdefs.h
>>conftest.
$ac_ext
4222 cat >>conftest.
$ac_ext <<_ACEOF
4223 /* end confdefs.h. */
4227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4228 $EGREP "free" >/dev
/null
2>&1; then
4231 ac_cv_header_stdc
=no
4237 if test $ac_cv_header_stdc = yes; then
4238 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4239 if test "$cross_compiling" = yes; then
4242 cat >conftest.
$ac_ext <<_ACEOF
4245 cat confdefs.h
>>conftest.
$ac_ext
4246 cat >>conftest.
$ac_ext <<_ACEOF
4247 /* end confdefs.h. */
4249 #if ((' ' & 0x0FF) == 0x020)
4250 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4251 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4253 # define ISLOWER(c) \
4254 (('a' <= (c) && (c) <= 'i') \
4255 || ('j' <= (c) && (c) <= 'r') \
4256 || ('s' <= (c) && (c) <= 'z'))
4257 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4260 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4265 for (i = 0; i < 256; i++)
4266 if (XOR (islower (i), ISLOWER (i))
4267 || toupper (i) != TOUPPER (i))
4272 rm -f conftest
$ac_exeext
4273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4274 (eval $ac_link) 2>&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); }; }; then
4285 echo "$as_me: program exited with status $ac_status" >&5
4286 echo "$as_me: failed program was:" >&5
4287 sed 's/^/| /' conftest.
$ac_ext >&5
4290 ac_cv_header_stdc
=no
4292 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4296 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4297 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4298 if test $ac_cv_header_stdc = yes; then
4300 cat >>confdefs.h
<<\_ACEOF
4301 #define STDC_HEADERS 1
4306 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4316 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4317 inttypes.h stdint.h unistd.h
4319 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4320 echo "$as_me:$LINENO: checking for $ac_header" >&5
4321 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4322 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4323 echo $ECHO_N "(cached) $ECHO_C" >&6
4325 cat >conftest.
$ac_ext <<_ACEOF
4328 cat confdefs.h
>>conftest.
$ac_ext
4329 cat >>conftest.
$ac_ext <<_ACEOF
4330 /* end confdefs.h. */
4331 $ac_includes_default
4333 #include <$ac_header>
4335 rm -f conftest.
$ac_objext
4336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4337 (eval $ac_compile) 2>conftest.er1
4339 grep -v '^ *+' conftest.er1
>conftest.err
4341 cat conftest.err
>&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); } &&
4344 { ac_try
='test -z "$ac_c_werror_flag"
4345 || test ! -s conftest.err'
4346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4350 (exit $ac_status); }; } &&
4351 { ac_try
='test -s conftest.$ac_objext'
4352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4356 (exit $ac_status); }; }; then
4357 eval "$as_ac_Header=yes"
4359 echo "$as_me: failed program was:" >&5
4360 sed 's/^/| /' conftest.
$ac_ext >&5
4362 eval "$as_ac_Header=no"
4364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4367 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4369 cat >>confdefs.h
<<_ACEOF
4370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4387 for ac_header
in sys
/ipc.h sys
/shm.h \
4388 sys
/mmap.h sys
/mman.h sysexits.h \
4389 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
4392 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4394 echo "$as_me:$LINENO: checking for $ac_header" >&5
4395 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4397 echo $ECHO_N "(cached) $ECHO_C" >&6
4399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4400 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4402 # Is the header compilable?
4403 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4404 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4405 cat >conftest.
$ac_ext <<_ACEOF
4408 cat confdefs.h
>>conftest.
$ac_ext
4409 cat >>conftest.
$ac_ext <<_ACEOF
4410 /* end confdefs.h. */
4411 $ac_includes_default
4412 #include <$ac_header>
4414 rm -f conftest.
$ac_objext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>conftest.er1
4418 grep -v '^ *+' conftest.er1
>conftest.err
4420 cat conftest.err
>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); } &&
4423 { ac_try
='test -z "$ac_c_werror_flag"
4424 || test ! -s conftest.err'
4425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4429 (exit $ac_status); }; } &&
4430 { ac_try
='test -s conftest.$ac_objext'
4431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; }; then
4436 ac_header_compiler
=yes
4438 echo "$as_me: failed program was:" >&5
4439 sed 's/^/| /' conftest.
$ac_ext >&5
4441 ac_header_compiler
=no
4443 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4445 echo "${ECHO_T}$ac_header_compiler" >&6
4447 # Is the header present?
4448 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4449 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4450 cat >conftest.
$ac_ext <<_ACEOF
4453 cat confdefs.h
>>conftest.
$ac_ext
4454 cat >>conftest.
$ac_ext <<_ACEOF
4455 /* end confdefs.h. */
4456 #include <$ac_header>
4458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4459 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4461 grep -v '^ *+' conftest.er1
>conftest.err
4463 cat conftest.err
>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } >/dev
/null
; then
4466 if test -s conftest.err
; then
4467 ac_cpp_err
=$ac_c_preproc_warn_flag
4468 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4475 if test -z "$ac_cpp_err"; then
4476 ac_header_preproc
=yes
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.
$ac_ext >&5
4481 ac_header_preproc
=no
4483 rm -f conftest.err conftest.
$ac_ext
4484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4485 echo "${ECHO_T}$ac_header_preproc" >&6
4487 # So? What about this header?
4488 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4490 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4491 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4492 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4493 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4494 ac_header_preproc
=yes
4497 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4498 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4499 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4500 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4501 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4502 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4503 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4504 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4505 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4506 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4507 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4508 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4511 ## ------------------------------------------ ##
4512 ## Report this to the AC_PACKAGE_NAME lists. ##
4513 ## ------------------------------------------ ##
4516 sed "s/^/$as_me: WARNING: /" >&2
4519 echo "$as_me:$LINENO: checking for $ac_header" >&5
4520 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4522 echo $ECHO_N "(cached) $ECHO_C" >&6
4524 eval "$as_ac_Header=\$ac_header_preproc"
4526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4527 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4530 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4531 cat >>confdefs.h
<<_ACEOF
4532 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4541 for ac_header
in sys
/mount.h
4543 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4544 echo "$as_me:$LINENO: checking for $ac_header" >&5
4545 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4547 echo $ECHO_N "(cached) $ECHO_C" >&6
4549 cat >conftest.
$ac_ext <<_ACEOF
4552 cat confdefs.h
>>conftest.
$ac_ext
4553 cat >>conftest.
$ac_ext <<_ACEOF
4554 /* end confdefs.h. */
4555 #include <sys/param.h>
4557 #include <$ac_header>
4559 rm -f conftest.
$ac_objext
4560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4561 (eval $ac_compile) 2>conftest.er1
4563 grep -v '^ *+' conftest.er1
>conftest.err
4565 cat conftest.err
>&5
4566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4567 (exit $ac_status); } &&
4568 { ac_try
='test -z "$ac_c_werror_flag"
4569 || test ! -s conftest.err'
4570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4574 (exit $ac_status); }; } &&
4575 { ac_try
='test -s conftest.$ac_objext'
4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; }; then
4581 eval "$as_ac_Header=yes"
4583 echo "$as_me: failed program was:" >&5
4584 sed 's/^/| /' conftest.
$ac_ext >&5
4586 eval "$as_ac_Header=no"
4588 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4591 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4593 cat >>confdefs.h
<<_ACEOF
4594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4608 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4609 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4610 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4611 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4612 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4613 echo $ECHO_N "(cached) $ECHO_C" >&6
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4621 #include <sys/types.h>
4633 rm -f conftest.
$ac_objext
4634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4635 (eval $ac_compile) 2>conftest.er1
4637 grep -v '^ *+' conftest.er1
>conftest.err
4639 cat conftest.err
>&5
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); } &&
4642 { ac_try
='test -z "$ac_c_werror_flag"
4643 || test ! -s conftest.err'
4644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4648 (exit $ac_status); }; } &&
4649 { ac_try
='test -s conftest.$ac_objext'
4650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4654 (exit $ac_status); }; }; then
4655 eval "$as_ac_Header=yes"
4657 echo "$as_me: failed program was:" >&5
4658 sed 's/^/| /' conftest.
$ac_ext >&5
4660 eval "$as_ac_Header=no"
4662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4665 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4667 cat >>confdefs.h
<<_ACEOF
4668 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4671 ac_header_dirent
=$ac_hdr; break
4675 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4676 if test $ac_header_dirent = dirent.h
; then
4677 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4678 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4679 if test "${ac_cv_search_opendir+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 ac_func_search_save_LIBS
=$LIBS
4683 ac_cv_search_opendir
=no
4684 cat >conftest.
$ac_ext <<_ACEOF
4687 cat confdefs.h
>>conftest.
$ac_ext
4688 cat >>conftest.
$ac_ext <<_ACEOF
4689 /* end confdefs.h. */
4691 /* Override any gcc2 internal prototype to avoid an error. */
4695 /* We use char because int might match the return type of a gcc2
4696 builtin and then its argument prototype would still apply. */
4706 rm -f conftest.
$ac_objext conftest
$ac_exeext
4707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4708 (eval $ac_link) 2>conftest.er1
4710 grep -v '^ *+' conftest.er1
>conftest.err
4712 cat conftest.err
>&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } &&
4715 { ac_try
='test -z "$ac_c_werror_flag"
4716 || test ! -s conftest.err'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; } &&
4722 { ac_try
='test -s conftest$ac_exeext'
4723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727 (exit $ac_status); }; }; then
4728 ac_cv_search_opendir
="none required"
4730 echo "$as_me: failed program was:" >&5
4731 sed 's/^/| /' conftest.
$ac_ext >&5
4734 rm -f conftest.err conftest.
$ac_objext \
4735 conftest
$ac_exeext conftest.
$ac_ext
4736 if test "$ac_cv_search_opendir" = no
; then
4737 for ac_lib
in dir
; do
4738 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4739 cat >conftest.
$ac_ext <<_ACEOF
4742 cat confdefs.h
>>conftest.
$ac_ext
4743 cat >>conftest.
$ac_ext <<_ACEOF
4744 /* end confdefs.h. */
4746 /* Override any gcc2 internal prototype to avoid an error. */
4750 /* We use char because int might match the return type of a gcc2
4751 builtin and then its argument prototype would still apply. */
4761 rm -f conftest.
$ac_objext conftest
$ac_exeext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4763 (eval $ac_link) 2>conftest.er1
4765 grep -v '^ *+' conftest.er1
>conftest.err
4767 cat conftest.err
>&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } &&
4770 { ac_try
='test -z "$ac_c_werror_flag"
4771 || test ! -s conftest.err'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; } &&
4777 { ac_try
='test -s conftest$ac_exeext'
4778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); }; }; then
4783 ac_cv_search_opendir
="-l$ac_lib"
4786 echo "$as_me: failed program was:" >&5
4787 sed 's/^/| /' conftest.
$ac_ext >&5
4790 rm -f conftest.err conftest.
$ac_objext \
4791 conftest
$ac_exeext conftest.
$ac_ext
4794 LIBS
=$ac_func_search_save_LIBS
4796 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4797 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4798 if test "$ac_cv_search_opendir" != no
; then
4799 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4804 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4805 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4806 if test "${ac_cv_search_opendir+set}" = set; then
4807 echo $ECHO_N "(cached) $ECHO_C" >&6
4809 ac_func_search_save_LIBS
=$LIBS
4810 ac_cv_search_opendir
=no
4811 cat >conftest.
$ac_ext <<_ACEOF
4814 cat confdefs.h
>>conftest.
$ac_ext
4815 cat >>conftest.
$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4818 /* Override any gcc2 internal prototype to avoid an error. */
4822 /* We use char because int might match the return type of a gcc2
4823 builtin and then its argument prototype would still apply. */
4833 rm -f conftest.
$ac_objext conftest
$ac_exeext
4834 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4835 (eval $ac_link) 2>conftest.er1
4837 grep -v '^ *+' conftest.er1
>conftest.err
4839 cat conftest.err
>&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } &&
4842 { ac_try
='test -z "$ac_c_werror_flag"
4843 || test ! -s conftest.err'
4844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4848 (exit $ac_status); }; } &&
4849 { ac_try
='test -s conftest$ac_exeext'
4850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_search_opendir
="none required"
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.
$ac_ext >&5
4861 rm -f conftest.err conftest.
$ac_objext \
4862 conftest
$ac_exeext conftest.
$ac_ext
4863 if test "$ac_cv_search_opendir" = no
; then
4865 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4866 cat >conftest.
$ac_ext <<_ACEOF
4869 cat confdefs.h
>>conftest.
$ac_ext
4870 cat >>conftest.
$ac_ext <<_ACEOF
4871 /* end confdefs.h. */
4873 /* Override any gcc2 internal prototype to avoid an error. */
4877 /* We use char because int might match the return type of a gcc2
4878 builtin and then its argument prototype would still apply. */
4888 rm -f conftest.
$ac_objext conftest
$ac_exeext
4889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4890 (eval $ac_link) 2>conftest.er1
4892 grep -v '^ *+' conftest.er1
>conftest.err
4894 cat conftest.err
>&5
4895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } &&
4897 { ac_try
='test -z "$ac_c_werror_flag"
4898 || test ! -s conftest.err'
4899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4903 (exit $ac_status); }; } &&
4904 { ac_try
='test -s conftest$ac_exeext'
4905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); }; }; then
4910 ac_cv_search_opendir
="-l$ac_lib"
4913 echo "$as_me: failed program was:" >&5
4914 sed 's/^/| /' conftest.
$ac_ext >&5
4917 rm -f conftest.err conftest.
$ac_objext \
4918 conftest
$ac_exeext conftest.
$ac_ext
4921 LIBS
=$ac_func_search_save_LIBS
4923 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4924 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4925 if test "$ac_cv_search_opendir" != no
; then
4926 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4932 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4933 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4934 if test "${ac_cv_header_stat_broken+set}" = set; then
4935 echo $ECHO_N "(cached) $ECHO_C" >&6
4937 cat >conftest.
$ac_ext <<_ACEOF
4940 cat confdefs.h
>>conftest.
$ac_ext
4941 cat >>conftest.
$ac_ext <<_ACEOF
4942 /* end confdefs.h. */
4943 #include <sys/types.h>
4944 #include <sys/stat.h>
4946 #if defined(S_ISBLK) && defined(S_IFDIR)
4947 # if S_ISBLK (S_IFDIR)
4952 #if defined(S_ISBLK) && defined(S_IFCHR)
4953 # if S_ISBLK (S_IFCHR)
4958 #if defined(S_ISLNK) && defined(S_IFREG)
4959 # if S_ISLNK (S_IFREG)
4964 #if defined(S_ISSOCK) && defined(S_IFREG)
4965 # if S_ISSOCK (S_IFREG)
4971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4972 $EGREP "You lose" >/dev
/null
2>&1; then
4973 ac_cv_header_stat_broken
=yes
4975 ac_cv_header_stat_broken
=no
4980 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4981 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4982 if test $ac_cv_header_stat_broken = yes; then
4984 cat >>confdefs.h
<<\_ACEOF
4985 #define STAT_MACROS_BROKEN 1
4990 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4991 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4992 if test "${ac_cv_header_stdc+set}" = set; then
4993 echo $ECHO_N "(cached) $ECHO_C" >&6
4995 cat >conftest.
$ac_ext <<_ACEOF
4998 cat confdefs.h
>>conftest.
$ac_ext
4999 cat >>conftest.
$ac_ext <<_ACEOF
5000 /* end confdefs.h. */
5014 rm -f conftest.
$ac_objext
5015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5016 (eval $ac_compile) 2>conftest.er1
5018 grep -v '^ *+' conftest.er1
>conftest.err
5020 cat conftest.err
>&5
5021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5022 (exit $ac_status); } &&
5023 { ac_try
='test -z "$ac_c_werror_flag"
5024 || test ! -s conftest.err'
5025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5029 (exit $ac_status); }; } &&
5030 { ac_try
='test -s conftest.$ac_objext'
5031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); }; }; then
5036 ac_cv_header_stdc
=yes
5038 echo "$as_me: failed program was:" >&5
5039 sed 's/^/| /' conftest.
$ac_ext >&5
5041 ac_cv_header_stdc
=no
5043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5045 if test $ac_cv_header_stdc = yes; then
5046 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5047 cat >conftest.
$ac_ext <<_ACEOF
5050 cat confdefs.h
>>conftest.
$ac_ext
5051 cat >>conftest.
$ac_ext <<_ACEOF
5052 /* end confdefs.h. */
5056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5057 $EGREP "memchr" >/dev
/null
2>&1; then
5060 ac_cv_header_stdc
=no
5066 if test $ac_cv_header_stdc = yes; then
5067 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5068 cat >conftest.
$ac_ext <<_ACEOF
5071 cat confdefs.h
>>conftest.
$ac_ext
5072 cat >>conftest.
$ac_ext <<_ACEOF
5073 /* end confdefs.h. */
5077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5078 $EGREP "free" >/dev
/null
2>&1; then
5081 ac_cv_header_stdc
=no
5087 if test $ac_cv_header_stdc = yes; then
5088 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5089 if test "$cross_compiling" = yes; then
5092 cat >conftest.
$ac_ext <<_ACEOF
5095 cat confdefs.h
>>conftest.
$ac_ext
5096 cat >>conftest.
$ac_ext <<_ACEOF
5097 /* end confdefs.h. */
5099 #if ((' ' & 0x0FF) == 0x020)
5100 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5101 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5103 # define ISLOWER(c) \
5104 (('a' <= (c) && (c) <= 'i') \
5105 || ('j' <= (c) && (c) <= 'r') \
5106 || ('s' <= (c) && (c) <= 'z'))
5107 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5110 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5115 for (i = 0; i < 256; i++)
5116 if (XOR (islower (i), ISLOWER (i))
5117 || toupper (i) != TOUPPER (i))
5122 rm -f conftest
$ac_exeext
5123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5124 (eval $ac_link) 2>&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5132 (exit $ac_status); }; }; then
5135 echo "$as_me: program exited with status $ac_status" >&5
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.
$ac_ext >&5
5140 ac_cv_header_stdc
=no
5142 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5146 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5147 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5148 if test $ac_cv_header_stdc = yes; then
5150 cat >>confdefs.h
<<\_ACEOF
5151 #define STDC_HEADERS 1
5156 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5157 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5158 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5159 echo $ECHO_N "(cached) $ECHO_C" >&6
5161 cat >conftest.
$ac_ext <<_ACEOF
5164 cat confdefs.h
>>conftest.
$ac_ext
5165 cat >>conftest.
$ac_ext <<_ACEOF
5166 /* end confdefs.h. */
5167 #include <sys/types.h>
5168 #include <sys/wait.h>
5170 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5173 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5181 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5186 rm -f conftest.
$ac_objext
5187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5188 (eval $ac_compile) 2>conftest.er1
5190 grep -v '^ *+' conftest.er1
>conftest.err
5192 cat conftest.err
>&5
5193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5194 (exit $ac_status); } &&
5195 { ac_try
='test -z "$ac_c_werror_flag"
5196 || test ! -s conftest.err'
5197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5201 (exit $ac_status); }; } &&
5202 { ac_try
='test -s conftest.$ac_objext'
5203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5207 (exit $ac_status); }; }; then
5208 ac_cv_header_sys_wait_h
=yes
5210 echo "$as_me: failed program was:" >&5
5211 sed 's/^/| /' conftest.
$ac_ext >&5
5213 ac_cv_header_sys_wait_h
=no
5215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5217 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5218 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5219 if test $ac_cv_header_sys_wait_h = yes; then
5221 cat >>confdefs.h
<<\_ACEOF
5222 #define HAVE_SYS_WAIT_H 1
5227 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5228 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5229 if test "${ac_cv_header_time+set}" = set; then
5230 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 cat >conftest.
$ac_ext <<_ACEOF
5235 cat confdefs.h
>>conftest.
$ac_ext
5236 cat >>conftest.
$ac_ext <<_ACEOF
5237 /* end confdefs.h. */
5238 #include <sys/types.h>
5239 #include <sys/time.h>
5245 if ((struct tm *) 0)
5251 rm -f conftest.
$ac_objext
5252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5253 (eval $ac_compile) 2>conftest.er1
5255 grep -v '^ *+' conftest.er1
>conftest.err
5257 cat conftest.err
>&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try
='test -z "$ac_c_werror_flag"
5261 || test ! -s conftest.err'
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; } &&
5267 { ac_try
='test -s conftest.$ac_objext'
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; }; then
5273 ac_cv_header_time
=yes
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.
$ac_ext >&5
5278 ac_cv_header_time
=no
5280 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5282 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5283 echo "${ECHO_T}$ac_cv_header_time" >&6
5284 if test $ac_cv_header_time = yes; then
5286 cat >>confdefs.h
<<\_ACEOF
5287 #define TIME_WITH_SYS_TIME 1
5293 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5294 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5295 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
5296 echo $ECHO_N "(cached) $ECHO_C" >&6
5298 cat >conftest.
$ac_ext <<_ACEOF
5301 cat confdefs.h
>>conftest.
$ac_ext
5302 cat >>conftest.
$ac_ext <<_ACEOF
5303 /* end confdefs.h. */
5304 $ac_includes_default
5308 static struct stat ac_aggr;
5309 if (ac_aggr.st_blksize)
5315 rm -f conftest.
$ac_objext
5316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5317 (eval $ac_compile) 2>conftest.er1
5319 grep -v '^ *+' conftest.er1
>conftest.err
5321 cat conftest.err
>&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); } &&
5324 { ac_try
='test -z "$ac_c_werror_flag"
5325 || test ! -s conftest.err'
5326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); }; } &&
5331 { ac_try
='test -s conftest.$ac_objext'
5332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5336 (exit $ac_status); }; }; then
5337 ac_cv_member_struct_stat_st_blksize
=yes
5339 echo "$as_me: failed program was:" >&5
5340 sed 's/^/| /' conftest.
$ac_ext >&5
5342 cat >conftest.
$ac_ext <<_ACEOF
5345 cat confdefs.h
>>conftest.
$ac_ext
5346 cat >>conftest.
$ac_ext <<_ACEOF
5347 /* end confdefs.h. */
5348 $ac_includes_default
5352 static struct stat ac_aggr;
5353 if (sizeof ac_aggr.st_blksize)
5359 rm -f conftest.
$ac_objext
5360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5361 (eval $ac_compile) 2>conftest.er1
5363 grep -v '^ *+' conftest.er1
>conftest.err
5365 cat conftest.err
>&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); } &&
5368 { ac_try
='test -z "$ac_c_werror_flag"
5369 || test ! -s conftest.err'
5370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; } &&
5375 { ac_try
='test -s conftest.$ac_objext'
5376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; }; then
5381 ac_cv_member_struct_stat_st_blksize
=yes
5383 echo "$as_me: failed program was:" >&5
5384 sed 's/^/| /' conftest.
$ac_ext >&5
5386 ac_cv_member_struct_stat_st_blksize
=no
5388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5392 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
5393 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
5394 if test $ac_cv_member_struct_stat_st_blksize = yes; then
5396 cat >>confdefs.h
<<_ACEOF
5397 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5401 cat >>confdefs.h
<<\_ACEOF
5402 #define HAVE_ST_BLKSIZE 1
5408 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5409 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5410 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
5411 echo $ECHO_N "(cached) $ECHO_C" >&6
5413 cat >conftest.
$ac_ext <<_ACEOF
5416 cat confdefs.h
>>conftest.
$ac_ext
5417 cat >>conftest.
$ac_ext <<_ACEOF
5418 /* end confdefs.h. */
5419 $ac_includes_default
5423 static struct stat ac_aggr;
5424 if (ac_aggr.st_blocks)
5430 rm -f conftest.
$ac_objext
5431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5432 (eval $ac_compile) 2>conftest.er1
5434 grep -v '^ *+' conftest.er1
>conftest.err
5436 cat conftest.err
>&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); } &&
5439 { ac_try
='test -z "$ac_c_werror_flag"
5440 || test ! -s conftest.err'
5441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5445 (exit $ac_status); }; } &&
5446 { ac_try
='test -s conftest.$ac_objext'
5447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5451 (exit $ac_status); }; }; then
5452 ac_cv_member_struct_stat_st_blocks
=yes
5454 echo "$as_me: failed program was:" >&5
5455 sed 's/^/| /' conftest.
$ac_ext >&5
5457 cat >conftest.
$ac_ext <<_ACEOF
5460 cat confdefs.h
>>conftest.
$ac_ext
5461 cat >>conftest.
$ac_ext <<_ACEOF
5462 /* end confdefs.h. */
5463 $ac_includes_default
5467 static struct stat ac_aggr;
5468 if (sizeof ac_aggr.st_blocks)
5474 rm -f conftest.
$ac_objext
5475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5476 (eval $ac_compile) 2>conftest.er1
5478 grep -v '^ *+' conftest.er1
>conftest.err
5480 cat conftest.err
>&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); } &&
5483 { ac_try
='test -z "$ac_c_werror_flag"
5484 || test ! -s conftest.err'
5485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; } &&
5490 { ac_try
='test -s conftest.$ac_objext'
5491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }; }; then
5496 ac_cv_member_struct_stat_st_blocks
=yes
5498 echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.
$ac_ext >&5
5501 ac_cv_member_struct_stat_st_blocks
=no
5503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5507 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
5508 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
5509 if test $ac_cv_member_struct_stat_st_blocks = yes; then
5511 cat >>confdefs.h
<<_ACEOF
5512 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5516 cat >>confdefs.h
<<\_ACEOF
5517 #define HAVE_ST_BLOCKS 1
5522 "fileblocks.$ac_objext" | \
5523 *" fileblocks.$ac_objext" | \
5524 "fileblocks.$ac_objext "* | \
5525 *" fileblocks.$ac_objext "* ) ;;
5526 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext" ;;
5533 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5534 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5535 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5536 echo $ECHO_N "(cached) $ECHO_C" >&6
5538 cat >conftest.
$ac_ext <<_ACEOF
5541 cat confdefs.h
>>conftest.
$ac_ext
5542 cat >>conftest.
$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5544 $ac_includes_default
5548 static struct stat ac_aggr;
5549 if (ac_aggr.st_rdev)
5555 rm -f conftest.
$ac_objext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5557 (eval $ac_compile) 2>conftest.er1
5559 grep -v '^ *+' conftest.er1
>conftest.err
5561 cat conftest.err
>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try
='test -z "$ac_c_werror_flag"
5565 || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try
='test -s conftest.$ac_objext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5577 ac_cv_member_struct_stat_st_rdev
=yes
5579 echo "$as_me: failed program was:" >&5
5580 sed 's/^/| /' conftest.
$ac_ext >&5
5582 cat >conftest.
$ac_ext <<_ACEOF
5585 cat confdefs.h
>>conftest.
$ac_ext
5586 cat >>conftest.
$ac_ext <<_ACEOF
5587 /* end confdefs.h. */
5588 $ac_includes_default
5592 static struct stat ac_aggr;
5593 if (sizeof ac_aggr.st_rdev)
5599 rm -f conftest.
$ac_objext
5600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5601 (eval $ac_compile) 2>conftest.er1
5603 grep -v '^ *+' conftest.er1
>conftest.err
5605 cat conftest.err
>&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } &&
5608 { ac_try
='test -z "$ac_c_werror_flag"
5609 || test ! -s conftest.err'
5610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; } &&
5615 { ac_try
='test -s conftest.$ac_objext'
5616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); }; }; then
5621 ac_cv_member_struct_stat_st_rdev
=yes
5623 echo "$as_me: failed program was:" >&5
5624 sed 's/^/| /' conftest.
$ac_ext >&5
5626 ac_cv_member_struct_stat_st_rdev
=no
5628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5630 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5632 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5633 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
5634 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5636 cat >>confdefs.h
<<_ACEOF
5637 #define HAVE_STRUCT_STAT_ST_RDEV 1
5641 cat >>confdefs.h
<<\_ACEOF
5642 #define HAVE_ST_RDEV 1
5648 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5649 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5650 if test "${ac_cv_struct_tm+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 cat >conftest.
$ac_ext <<_ACEOF
5656 cat confdefs.h
>>conftest.
$ac_ext
5657 cat >>conftest.
$ac_ext <<_ACEOF
5658 /* end confdefs.h. */
5659 #include <sys/types.h>
5665 struct tm *tp; tp->tm_sec;
5670 rm -f conftest.
$ac_objext
5671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5672 (eval $ac_compile) 2>conftest.er1
5674 grep -v '^ *+' conftest.er1
>conftest.err
5676 cat conftest.err
>&5
5677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5678 (exit $ac_status); } &&
5679 { ac_try
='test -z "$ac_c_werror_flag"
5680 || test ! -s conftest.err'
5681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5685 (exit $ac_status); }; } &&
5686 { ac_try
='test -s conftest.$ac_objext'
5687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); }; }; then
5692 ac_cv_struct_tm
=time.h
5694 echo "$as_me: failed program was:" >&5
5695 sed 's/^/| /' conftest.
$ac_ext >&5
5697 ac_cv_struct_tm
=sys
/time.h
5699 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5701 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5702 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5703 if test $ac_cv_struct_tm = sys
/time.h
; then
5705 cat >>confdefs.h
<<\_ACEOF
5706 #define TM_IN_SYS_TIME 1
5711 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
5712 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
5713 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
5714 echo $ECHO_N "(cached) $ECHO_C" >&6
5716 cat >conftest.
$ac_ext <<_ACEOF
5719 cat confdefs.h
>>conftest.
$ac_ext
5720 cat >>conftest.
$ac_ext <<_ACEOF
5721 /* end confdefs.h. */
5722 #include <sys/types.h>
5723 #include <$ac_cv_struct_tm>
5729 static struct tm ac_aggr;
5730 if (ac_aggr.tm_zone)
5736 rm -f conftest.
$ac_objext
5737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5738 (eval $ac_compile) 2>conftest.er1
5740 grep -v '^ *+' conftest.er1
>conftest.err
5742 cat conftest.err
>&5
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); } &&
5745 { ac_try
='test -z "$ac_c_werror_flag"
5746 || test ! -s conftest.err'
5747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5751 (exit $ac_status); }; } &&
5752 { ac_try
='test -s conftest.$ac_objext'
5753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5757 (exit $ac_status); }; }; then
5758 ac_cv_member_struct_tm_tm_zone
=yes
5760 echo "$as_me: failed program was:" >&5
5761 sed 's/^/| /' conftest.
$ac_ext >&5
5763 cat >conftest.
$ac_ext <<_ACEOF
5766 cat confdefs.h
>>conftest.
$ac_ext
5767 cat >>conftest.
$ac_ext <<_ACEOF
5768 /* end confdefs.h. */
5769 #include <sys/types.h>
5770 #include <$ac_cv_struct_tm>
5776 static struct tm ac_aggr;
5777 if (sizeof ac_aggr.tm_zone)
5783 rm -f conftest.
$ac_objext
5784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5785 (eval $ac_compile) 2>conftest.er1
5787 grep -v '^ *+' conftest.er1
>conftest.err
5789 cat conftest.err
>&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); } &&
5792 { ac_try
='test -z "$ac_c_werror_flag"
5793 || test ! -s conftest.err'
5794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5798 (exit $ac_status); }; } &&
5799 { ac_try
='test -s conftest.$ac_objext'
5800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); }; }; then
5805 ac_cv_member_struct_tm_tm_zone
=yes
5807 echo "$as_me: failed program was:" >&5
5808 sed 's/^/| /' conftest.
$ac_ext >&5
5810 ac_cv_member_struct_tm_tm_zone
=no
5812 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5814 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5816 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
5817 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
5818 if test $ac_cv_member_struct_tm_tm_zone = yes; then
5820 cat >>confdefs.h
<<_ACEOF
5821 #define HAVE_STRUCT_TM_TM_ZONE 1
5827 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
5829 cat >>confdefs.h
<<\_ACEOF
5830 #define HAVE_TM_ZONE 1
5834 echo "$as_me:$LINENO: checking for tzname" >&5
5835 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
5836 if test "${ac_cv_var_tzname+set}" = set; then
5837 echo $ECHO_N "(cached) $ECHO_C" >&6
5839 cat >conftest.
$ac_ext <<_ACEOF
5842 cat confdefs.h
>>conftest.
$ac_ext
5843 cat >>conftest.
$ac_ext <<_ACEOF
5844 /* end confdefs.h. */
5846 #ifndef tzname /* For SGI. */
5847 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
5858 rm -f conftest.
$ac_objext conftest
$ac_exeext
5859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5860 (eval $ac_link) 2>conftest.er1
5862 grep -v '^ *+' conftest.er1
>conftest.err
5864 cat conftest.err
>&5
5865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5866 (exit $ac_status); } &&
5867 { ac_try
='test -z "$ac_c_werror_flag"
5868 || test ! -s conftest.err'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; } &&
5874 { ac_try
='test -s conftest$ac_exeext'
5875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5879 (exit $ac_status); }; }; then
5880 ac_cv_var_tzname
=yes
5882 echo "$as_me: failed program was:" >&5
5883 sed 's/^/| /' conftest.
$ac_ext >&5
5887 rm -f conftest.err conftest.
$ac_objext \
5888 conftest
$ac_exeext conftest.
$ac_ext
5890 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
5891 echo "${ECHO_T}$ac_cv_var_tzname" >&6
5892 if test $ac_cv_var_tzname = yes; then
5894 cat >>confdefs.h
<<\_ACEOF
5895 #define HAVE_TZNAME 1
5901 echo "$as_me:$LINENO: checking for off_t" >&5
5902 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5903 if test "${ac_cv_type_off_t+set}" = set; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 cat >conftest.
$ac_ext <<_ACEOF
5909 cat confdefs.h
>>conftest.
$ac_ext
5910 cat >>conftest.
$ac_ext <<_ACEOF
5911 /* end confdefs.h. */
5912 $ac_includes_default
5924 rm -f conftest.
$ac_objext
5925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5926 (eval $ac_compile) 2>conftest.er1
5928 grep -v '^ *+' conftest.er1
>conftest.err
5930 cat conftest.err
>&5
5931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5932 (exit $ac_status); } &&
5933 { ac_try
='test -z "$ac_c_werror_flag"
5934 || test ! -s conftest.err'
5935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5939 (exit $ac_status); }; } &&
5940 { ac_try
='test -s conftest.$ac_objext'
5941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5945 (exit $ac_status); }; }; then
5946 ac_cv_type_off_t
=yes
5948 echo "$as_me: failed program was:" >&5
5949 sed 's/^/| /' conftest.
$ac_ext >&5
5953 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5955 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5956 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5957 if test $ac_cv_type_off_t = yes; then
5961 cat >>confdefs.h
<<_ACEOF
5967 echo "$as_me:$LINENO: checking for pid_t" >&5
5968 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
5969 if test "${ac_cv_type_pid_t+set}" = set; then
5970 echo $ECHO_N "(cached) $ECHO_C" >&6
5972 cat >conftest.
$ac_ext <<_ACEOF
5975 cat confdefs.h
>>conftest.
$ac_ext
5976 cat >>conftest.
$ac_ext <<_ACEOF
5977 /* end confdefs.h. */
5978 $ac_includes_default
5990 rm -f conftest.
$ac_objext
5991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5992 (eval $ac_compile) 2>conftest.er1
5994 grep -v '^ *+' conftest.er1
>conftest.err
5996 cat conftest.err
>&5
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); } &&
5999 { ac_try
='test -z "$ac_c_werror_flag"
6000 || test ! -s conftest.err'
6001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; } &&
6006 { ac_try
='test -s conftest.$ac_objext'
6007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6011 (exit $ac_status); }; }; then
6012 ac_cv_type_pid_t
=yes
6014 echo "$as_me: failed program was:" >&5
6015 sed 's/^/| /' conftest.
$ac_ext >&5
6019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6021 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6022 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6023 if test $ac_cv_type_pid_t = yes; then
6027 cat >>confdefs.h
<<_ACEOF
6033 echo "$as_me:$LINENO: checking for size_t" >&5
6034 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6035 if test "${ac_cv_type_size_t+set}" = set; then
6036 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 cat >conftest.
$ac_ext <<_ACEOF
6041 cat confdefs.h
>>conftest.
$ac_ext
6042 cat >>conftest.
$ac_ext <<_ACEOF
6043 /* end confdefs.h. */
6044 $ac_includes_default
6050 if (sizeof (size_t))
6056 rm -f conftest.
$ac_objext
6057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6058 (eval $ac_compile) 2>conftest.er1
6060 grep -v '^ *+' conftest.er1
>conftest.err
6062 cat conftest.err
>&5
6063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } &&
6065 { ac_try
='test -z "$ac_c_werror_flag"
6066 || test ! -s conftest.err'
6067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071 (exit $ac_status); }; } &&
6072 { ac_try
='test -s conftest.$ac_objext'
6073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6077 (exit $ac_status); }; }; then
6078 ac_cv_type_size_t
=yes
6080 echo "$as_me: failed program was:" >&5
6081 sed 's/^/| /' conftest.
$ac_ext >&5
6083 ac_cv_type_size_t
=no
6085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6087 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6088 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6089 if test $ac_cv_type_size_t = yes; then
6093 cat >>confdefs.h
<<_ACEOF
6094 #define size_t unsigned
6099 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6100 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6101 if test "${ac_cv_type_uid_t+set}" = set; then
6102 echo $ECHO_N "(cached) $ECHO_C" >&6
6104 cat >conftest.
$ac_ext <<_ACEOF
6107 cat confdefs.h
>>conftest.
$ac_ext
6108 cat >>conftest.
$ac_ext <<_ACEOF
6109 /* end confdefs.h. */
6110 #include <sys/types.h>
6113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6114 $EGREP "uid_t" >/dev
/null
2>&1; then
6115 ac_cv_type_uid_t
=yes
6122 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6123 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6124 if test $ac_cv_type_uid_t = no
; then
6126 cat >>confdefs.h
<<\_ACEOF
6131 cat >>confdefs.h
<<\_ACEOF
6138 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6139 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6140 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6141 echo $ECHO_N "(cached) $ECHO_C" >&6
6143 cat >conftest.
$ac_ext <<_ACEOF
6146 cat confdefs.h
>>conftest.
$ac_ext
6147 cat >>conftest.
$ac_ext <<_ACEOF
6148 /* end confdefs.h. */
6149 $ac_includes_default
6153 static struct tm ac_aggr;
6154 if (ac_aggr.tm_gmtoff)
6160 rm -f conftest.
$ac_objext
6161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6162 (eval $ac_compile) 2>conftest.er1
6164 grep -v '^ *+' conftest.er1
>conftest.err
6166 cat conftest.err
>&5
6167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6168 (exit $ac_status); } &&
6169 { ac_try
='test -z "$ac_c_werror_flag"
6170 || test ! -s conftest.err'
6171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6175 (exit $ac_status); }; } &&
6176 { ac_try
='test -s conftest.$ac_objext'
6177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6181 (exit $ac_status); }; }; then
6182 ac_cv_member_struct_tm_tm_gmtoff
=yes
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.
$ac_ext >&5
6187 cat >conftest.
$ac_ext <<_ACEOF
6190 cat confdefs.h
>>conftest.
$ac_ext
6191 cat >>conftest.
$ac_ext <<_ACEOF
6192 /* end confdefs.h. */
6193 $ac_includes_default
6197 static struct tm ac_aggr;
6198 if (sizeof ac_aggr.tm_gmtoff)
6204 rm -f conftest.
$ac_objext
6205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6206 (eval $ac_compile) 2>conftest.er1
6208 grep -v '^ *+' conftest.er1
>conftest.err
6210 cat conftest.err
>&5
6211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6212 (exit $ac_status); } &&
6213 { ac_try
='test -z "$ac_c_werror_flag"
6214 || test ! -s conftest.err'
6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); }; } &&
6220 { ac_try
='test -s conftest.$ac_objext'
6221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6225 (exit $ac_status); }; }; then
6226 ac_cv_member_struct_tm_tm_gmtoff
=yes
6228 echo "$as_me: failed program was:" >&5
6229 sed 's/^/| /' conftest.
$ac_ext >&5
6231 ac_cv_member_struct_tm_tm_gmtoff
=no
6233 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6235 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6237 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6238 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6239 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6241 cat >>confdefs.h
<<_ACEOF
6242 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6249 # Look for some functions
6264 for ac_func
in getpagesize kqueue statfs statvfs \
6265 clone kse_create rfork_thread thr_create sa_register \
6266 getcontext makecontext setcontext sigaltstack swapcontext
6268 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6269 echo "$as_me:$LINENO: checking for $ac_func" >&5
6270 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6271 if eval "test \"\${$as_ac_var+set}\" = set"; then
6272 echo $ECHO_N "(cached) $ECHO_C" >&6
6274 cat >conftest.
$ac_ext <<_ACEOF
6277 cat confdefs.h
>>conftest.
$ac_ext
6278 cat >>conftest.
$ac_ext <<_ACEOF
6279 /* end confdefs.h. */
6280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6282 #define $ac_func innocuous_$ac_func
6284 /* System header to define __stub macros and hopefully few prototypes,
6285 which can conflict with char $ac_func (); below.
6286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6287 <limits.h> exists even on freestanding compilers. */
6290 # include <limits.h>
6292 # include <assert.h>
6297 /* Override any gcc2 internal prototype to avoid an error. */
6302 /* We use char because int might match the return type of a gcc2
6303 builtin and then its argument prototype would still apply. */
6305 /* The GNU C library defines this for functions which it implements
6306 to always fail with ENOSYS. Some functions are actually named
6307 something starting with __ and the normal name is an alias. */
6308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6311 char (*f) () = $ac_func;
6320 return f != $ac_func;
6325 rm -f conftest.
$ac_objext conftest
$ac_exeext
6326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6327 (eval $ac_link) 2>conftest.er1
6329 grep -v '^ *+' conftest.er1
>conftest.err
6331 cat conftest.err
>&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); } &&
6334 { ac_try
='test -z "$ac_c_werror_flag"
6335 || test ! -s conftest.err'
6336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6340 (exit $ac_status); }; } &&
6341 { ac_try
='test -s conftest$ac_exeext'
6342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6346 (exit $ac_status); }; }; then
6347 eval "$as_ac_var=yes"
6349 echo "$as_me: failed program was:" >&5
6350 sed 's/^/| /' conftest.
$ac_ext >&5
6352 eval "$as_ac_var=no"
6354 rm -f conftest.err conftest.
$ac_objext \
6355 conftest
$ac_exeext conftest.
$ac_ext
6357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6359 if test `eval echo '${'$as_ac_var'}'` = yes; then
6360 cat >>confdefs.h
<<_ACEOF
6361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6370 for ac_header
in stdlib.h unistd.h
6372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6374 echo "$as_me:$LINENO: checking for $ac_header" >&5
6375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6377 echo $ECHO_N "(cached) $ECHO_C" >&6
6379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6382 # Is the header compilable?
6383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6385 cat >conftest.
$ac_ext <<_ACEOF
6388 cat confdefs.h
>>conftest.
$ac_ext
6389 cat >>conftest.
$ac_ext <<_ACEOF
6390 /* end confdefs.h. */
6391 $ac_includes_default
6392 #include <$ac_header>
6394 rm -f conftest.
$ac_objext
6395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6396 (eval $ac_compile) 2>conftest.er1
6398 grep -v '^ *+' conftest.er1
>conftest.err
6400 cat conftest.err
>&5
6401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6402 (exit $ac_status); } &&
6403 { ac_try
='test -z "$ac_c_werror_flag"
6404 || test ! -s conftest.err'
6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); }; } &&
6410 { ac_try
='test -s conftest.$ac_objext'
6411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6415 (exit $ac_status); }; }; then
6416 ac_header_compiler
=yes
6418 echo "$as_me: failed program was:" >&5
6419 sed 's/^/| /' conftest.
$ac_ext >&5
6421 ac_header_compiler
=no
6423 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6424 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6425 echo "${ECHO_T}$ac_header_compiler" >&6
6427 # Is the header present?
6428 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6429 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6430 cat >conftest.
$ac_ext <<_ACEOF
6433 cat confdefs.h
>>conftest.
$ac_ext
6434 cat >>conftest.
$ac_ext <<_ACEOF
6435 /* end confdefs.h. */
6436 #include <$ac_header>
6438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6439 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6441 grep -v '^ *+' conftest.er1
>conftest.err
6443 cat conftest.err
>&5
6444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6445 (exit $ac_status); } >/dev
/null
; then
6446 if test -s conftest.err
; then
6447 ac_cpp_err
=$ac_c_preproc_warn_flag
6448 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6455 if test -z "$ac_cpp_err"; then
6456 ac_header_preproc
=yes
6458 echo "$as_me: failed program was:" >&5
6459 sed 's/^/| /' conftest.
$ac_ext >&5
6461 ac_header_preproc
=no
6463 rm -f conftest.err conftest.
$ac_ext
6464 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6465 echo "${ECHO_T}$ac_header_preproc" >&6
6467 # So? What about this header?
6468 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6470 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6471 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6473 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6474 ac_header_preproc
=yes
6477 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6478 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6479 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6480 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6481 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6482 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6483 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6484 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6485 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6486 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6487 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6488 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6491 ## ------------------------------------------ ##
6492 ## Report this to the AC_PACKAGE_NAME lists. ##
6493 ## ------------------------------------------ ##
6496 sed "s/^/$as_me: WARNING: /" >&2
6499 echo "$as_me:$LINENO: checking for $ac_header" >&5
6500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6502 echo $ECHO_N "(cached) $ECHO_C" >&6
6504 eval "$as_ac_Header=\$ac_header_preproc"
6506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6510 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6511 cat >>confdefs.h
<<_ACEOF
6512 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6520 for ac_func
in getpagesize
6522 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6523 echo "$as_me:$LINENO: checking for $ac_func" >&5
6524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6525 if eval "test \"\${$as_ac_var+set}\" = set"; then
6526 echo $ECHO_N "(cached) $ECHO_C" >&6
6528 cat >conftest.
$ac_ext <<_ACEOF
6531 cat confdefs.h
>>conftest.
$ac_ext
6532 cat >>conftest.
$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6536 #define $ac_func innocuous_$ac_func
6538 /* System header to define __stub macros and hopefully few prototypes,
6539 which can conflict with char $ac_func (); below.
6540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6541 <limits.h> exists even on freestanding compilers. */
6544 # include <limits.h>
6546 # include <assert.h>
6551 /* Override any gcc2 internal prototype to avoid an error. */
6556 /* We use char because int might match the return type of a gcc2
6557 builtin and then its argument prototype would still apply. */
6559 /* The GNU C library defines this for functions which it implements
6560 to always fail with ENOSYS. Some functions are actually named
6561 something starting with __ and the normal name is an alias. */
6562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6565 char (*f) () = $ac_func;
6574 return f != $ac_func;
6579 rm -f conftest.
$ac_objext conftest
$ac_exeext
6580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6581 (eval $ac_link) 2>conftest.er1
6583 grep -v '^ *+' conftest.er1
>conftest.err
6585 cat conftest.err
>&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); } &&
6588 { ac_try
='test -z "$ac_c_werror_flag"
6589 || test ! -s conftest.err'
6590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); }; } &&
6595 { ac_try
='test -s conftest$ac_exeext'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; }; then
6601 eval "$as_ac_var=yes"
6603 echo "$as_me: failed program was:" >&5
6604 sed 's/^/| /' conftest.
$ac_ext >&5
6606 eval "$as_ac_var=no"
6608 rm -f conftest.err conftest.
$ac_objext \
6609 conftest
$ac_exeext conftest.
$ac_ext
6611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6613 if test `eval echo '${'$as_ac_var'}'` = yes; then
6614 cat >>confdefs.h
<<_ACEOF
6615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6621 echo "$as_me:$LINENO: checking for working mmap" >&5
6622 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6623 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6624 echo $ECHO_N "(cached) $ECHO_C" >&6
6626 if test "$cross_compiling" = yes; then
6627 ac_cv_func_mmap_fixed_mapped
=no
6629 cat >conftest.
$ac_ext <<_ACEOF
6632 cat confdefs.h
>>conftest.
$ac_ext
6633 cat >>conftest.
$ac_ext <<_ACEOF
6634 /* end confdefs.h. */
6635 $ac_includes_default
6636 /* malloc might have been renamed as rpl_malloc. */
6639 /* Thanks to Mike Haertel and Jim Avera for this test.
6640 Here is a matrix of mmap possibilities:
6641 mmap private not fixed
6642 mmap private fixed at somewhere currently unmapped
6643 mmap private fixed at somewhere already mapped
6644 mmap shared not fixed
6645 mmap shared fixed at somewhere currently unmapped
6646 mmap shared fixed at somewhere already mapped
6647 For private mappings, we should verify that changes cannot be read()
6648 back from the file, nor mmap's back from the file at a different
6649 address. (There have been systems where private was not correctly
6650 implemented like the infamous i386 svr4.0, and systems where the
6651 VM page cache was not coherent with the file system buffer cache
6652 like early versions of FreeBSD and possibly contemporary NetBSD.)
6653 For shared mappings, we should conversely verify that changes get
6654 propagated back to all the places they're supposed to be.
6656 Grep wants private fixed already mapped.
6657 The main things grep needs to know about mmap are:
6658 * does it exist and is it safe to write into the mmap'd area
6659 * how to use it (BSD variants) */
6662 #include <sys/mman.h>
6664 #if !STDC_HEADERS && !HAVE_STDLIB_H
6668 /* This mess was copied from the GNU getpagesize.h. */
6669 #if !HAVE_GETPAGESIZE
6670 /* Assume that all systems that can run configure have sys/param.h. */
6671 # if !HAVE_SYS_PARAM_H
6672 # define HAVE_SYS_PARAM_H 1
6675 # ifdef _SC_PAGESIZE
6676 # define getpagesize() sysconf(_SC_PAGESIZE)
6677 # else /* no _SC_PAGESIZE */
6678 # if HAVE_SYS_PARAM_H
6679 # include <sys/param.h>
6680 # ifdef EXEC_PAGESIZE
6681 # define getpagesize() EXEC_PAGESIZE
6682 # else /* no EXEC_PAGESIZE */
6684 # define getpagesize() NBPG * CLSIZE
6687 # endif /* no CLSIZE */
6688 # else /* no NBPG */
6690 # define getpagesize() NBPC
6691 # else /* no NBPC */
6693 # define getpagesize() PAGESIZE
6694 # endif /* PAGESIZE */
6695 # endif /* no NBPC */
6696 # endif /* no NBPG */
6697 # endif /* no EXEC_PAGESIZE */
6698 # else /* no HAVE_SYS_PARAM_H */
6699 # define getpagesize() 8192 /* punt totally */
6700 # endif /* no HAVE_SYS_PARAM_H */
6701 # endif /* no _SC_PAGESIZE */
6703 #endif /* no HAVE_GETPAGESIZE */
6708 char *data, *data2, *data3;
6712 pagesize = getpagesize ();
6714 /* First, make a file with some known garbage in it. */
6715 data = (char *) malloc (pagesize);
6718 for (i = 0; i < pagesize; ++i)
6719 *(data + i) = rand ();
6721 fd = creat ("conftest.mmap", 0600);
6724 if (write (fd, data, pagesize) != pagesize)
6728 /* Next, try to mmap the file at a fixed address which already has
6729 something else allocated at it. If we can, also make sure that
6730 we see the same garbage. */
6731 fd = open ("conftest.mmap", O_RDWR);
6734 data2 = (char *) malloc (2 * pagesize);
6737 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6738 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6739 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6741 for (i = 0; i < pagesize; ++i)
6742 if (*(data + i) != *(data2 + i))
6745 /* Finally, make sure that changes to the mapped area do not
6746 percolate back to the file as seen by read(). (This is a bug on
6747 some variants of i386 svr4.0.) */
6748 for (i = 0; i < pagesize; ++i)
6749 *(data2 + i) = *(data2 + i) + 1;
6750 data3 = (char *) malloc (pagesize);
6753 if (read (fd, data3, pagesize) != pagesize)
6755 for (i = 0; i < pagesize; ++i)
6756 if (*(data + i) != *(data3 + i))
6762 rm -f conftest
$ac_exeext
6763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6764 (eval $ac_link) 2>&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); }; }; then
6773 ac_cv_func_mmap_fixed_mapped
=yes
6775 echo "$as_me: program exited with status $ac_status" >&5
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.
$ac_ext >&5
6780 ac_cv_func_mmap_fixed_mapped
=no
6782 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6785 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6786 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6787 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6789 cat >>confdefs.h
<<\_ACEOF
6799 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
6800 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
6801 aros_config_ldflags
=""
6803 aros_shared_default
=yes
6805 aros_shared_cflags
="-fPIC"
6806 aros_shared_aflags
=""
6807 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
6808 aros_kernel_ldflags
="-Wl,-rpath,./lib"
6810 aros_target_ar_flags
="cr"
6811 aros_target_nm_flags
="-C -ul"
6812 aros_target_strip_flags
="--strip-unneeded -R.comment"
6816 aros_target_genmap
="-Wl,-Map -Xlinker"
6818 # Native flavour stuff
6820 aros_serial_debug
="0"
6822 # Palm native flavour stuff
6823 aros_palm_debug_hack
="0"
6825 # Unix flavour stuff
6826 aros_nesting_supervisor
="0"
6828 # Collect-aros stuff: "-ius" to ignore undefined symbols
6829 ignore_undefined_symbols
=""
6831 #-----------------------------------------------------------------------------
6834 # GCC 4.1+ has a stack protection feature that requires OS support. Ubuntu has
6835 # it switched on by default, and we use the host compiler, so it compiles AROS
6836 # code with this enabled resulting in link failures as we don't have support
6839 # We use two methods to disable it. For the host compiler (used to compile
6840 # some hosted modules), we test to see if the compiler supports stack
6841 # protection, and if it does we disable it in AROS_CONFIG_CFLAGS. This should
6842 # work on all platforms.
6844 # For the "cross" compiler we clear the "ssp_default" spec in config/specs.in
6845 # (this is done unconditionally, as it should have no effect on compilers
6846 # without the stack protection feature). This may be specific to the way that
6847 # Ubuntu enables the feature, so may not work everywhere. My specs-fu isn't
6848 # strong enough to disable it in a generic way though, so we'll live with it
6849 # until another vendor ships GCC with it enabled in a different way, and deal
6853 echo "$as_me:$LINENO: checking whether ${CC} accepts -fno-stack-protector" >&5
6854 echo $ECHO_N "checking whether ${CC} accepts -fno-stack-protector... $ECHO_C" >&6
6855 save_cflags
="$CFLAGS"
6856 CFLAGS
="$CFLAGS -fno-stack-protector"
6857 cat >conftest.
$ac_ext <<_ACEOF
6860 cat confdefs.h
>>conftest.
$ac_ext
6861 cat >>conftest.
$ac_ext <<_ACEOF
6862 /* end confdefs.h. */
6872 rm -f conftest.
$ac_objext
6873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6874 (eval $ac_compile) 2>conftest.er1
6876 grep -v '^ *+' conftest.er1
>conftest.err
6878 cat conftest.err
>&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); } &&
6881 { ac_try
='test -z "$ac_c_werror_flag"
6882 || test ! -s conftest.err'
6883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6887 (exit $ac_status); }; } &&
6888 { ac_try
='test -s conftest.$ac_objext'
6889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }; }; then
6894 use_no_stack_protector
="yes"
6896 echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.
$ac_ext >&5
6899 use_no_stack_protector
="no"
6901 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6902 echo "$as_me:$LINENO: result: $use_no_stack_protector" >&5
6903 echo "${ECHO_T}$use_no_stack_protector" >&6
6904 if test "x-$use_no_stack_protector" = "x-yes" ; then
6905 aros_config_cflags
="$aros_config_cflags -fno-stack-protector"
6907 CFLAGS
="$save_cflags"
6909 #-----------------------------------------------------------------------------
6911 echo "$as_me:$LINENO: checking for type of build" >&5
6912 echo $ECHO_N "checking for type of build... $ECHO_C" >&6
6913 # Check whether --enable-build_type or --disable-build_type was given.
6914 if test "${enable_build_type+set}" = set; then
6915 enableval
="$enable_build_type"
6916 build_type
=$enableval
6918 build_type
="personal"
6921 if test "$build_type" = "nightly"; then
6922 build_type_string
="NIGHTLY"
6923 elif test "$build_type" = "snapshot"; then
6924 build_type_string
="SNAPSHOT"
6925 elif test "$build_type" = "milestone"; then
6926 build_type_string
="MILESTONE"
6927 elif test "$build_type" = "release"; then
6928 build_type_string
="RELEASE"
6930 build_type_string
="PERSONAL"
6931 build_type
="personal"
6934 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
6936 echo "$as_me:$LINENO: result: $build_type" >&5
6937 echo "${ECHO_T}$build_type" >&6
6939 #-----------------------------------------------------------------------------
6940 all_debug_types
="messages stack mungwall modules symbols"
6942 echo "$as_me:$LINENO: checking which debug types to enable" >&5
6943 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6
6944 # Check whether --enable-debug or --disable-debug was given.
6945 if test "${enable_debug+set}" = set; then
6946 enableval
="$enable_debug"
6952 if test "$debug" = "" -o "$debug" = "no"; then
6954 elif test "$debug" = "yes"; then
6958 if test "$debug" = "all" ; then
6959 debug
=$all_debug_types
6960 for d
in $all_debug_types; do
6961 export aros_
${d}_debug
="1"
6964 for d
in $all_debug_types; do
6965 export aros_
${d}_debug
="0"
6969 if test "$debug" != "none"; then
6970 debug
=`echo $debug | sed s/,/\ /g`
6973 for d2
in $all_debug_types; do
6974 if test "$d2" = "$d"; then
6979 if test "$found" = "0"; then
6980 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
6981 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
6982 { (exit 1); exit 1; }; }
6984 export aros_
${d}_debug
="1"
6988 echo "$as_me:$LINENO: result: $debug" >&5
6989 echo "${ECHO_T}$debug" >&6
6991 if test "$aros_messages_debug" = "1"; then
6992 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
6994 aros_messages_debug
=""
6996 if test "$aros_symbols_debug" = "1"; then
6997 aros_symbols_debug
="-g"
6999 aros_symbols_debug
=""
7002 # These are the flags to pass when compiling debugged programs
7003 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7004 aros_debug_aflags
=""
7005 aros_debug_ldflags
="$aros_symbols_debug"
7007 #-----------------------------------------------------------------------------
7008 # Checking for distcc and ccache.
7010 # Always apply the transforms in this particular order. Basically you should
7011 # always run 'ccache distcc compiler' in that order for the best performance.
7013 echo "$as_me:$LINENO: checking whether to enable distcc" >&5
7014 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6
7015 # Check whether --enable-distcc or --disable-distcc was given.
7016 if test "${enable_distcc+set}" = set; then
7017 enableval
="$enable_distcc"
7022 if test "$distcc" != "" -a "$distcc" != "no"; then
7023 # AC_CHECK_PROG will print out the result in this case
7024 # Extract the first word of "distcc", so it can be a program name with args.
7025 set dummy distcc
; ac_word
=$2
7026 echo "$as_me:$LINENO: checking for $ac_word" >&5
7027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7028 if test "${ac_cv_path_DISTCC+set}" = set; then
7029 echo $ECHO_N "(cached) $ECHO_C" >&6
7033 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7040 test -z "$as_dir" && as_dir
=.
7041 for ac_exec_ext
in '' $ac_executable_extensions; do
7042 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7043 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7044 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7050 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7054 DISTCC
=$ac_cv_path_DISTCC
7056 if test -n "$DISTCC"; then
7057 echo "$as_me:$LINENO: result: $DISTCC" >&5
7058 echo "${ECHO_T}$DISTCC" >&6
7060 echo "$as_me:$LINENO: result: no" >&5
7061 echo "${ECHO_T}no" >&6
7065 echo "$as_me:$LINENO: result: no" >&5
7066 echo "${ECHO_T}no" >&6
7069 echo "$as_me:$LINENO: checking whether to enable ccache" >&5
7070 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6
7071 # Check whether --enable-ccache or --disable-ccache was given.
7072 if test "${enable_ccache+set}" = set; then
7073 enableval
="$enable_ccache"
7078 if test "$ccache" != "" -a "$ccache" != "no"; then
7079 # AC_CHECK_PROG will print out the result in this case
7080 # Extract the first word of "ccache", so it can be a program name with args.
7081 set dummy ccache
; ac_word
=$2
7082 echo "$as_me:$LINENO: checking for $ac_word" >&5
7083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7084 if test "${ac_cv_prog_CCACHE+set}" = set; then
7085 echo $ECHO_N "(cached) $ECHO_C" >&6
7087 if test -n "$CCACHE"; then
7088 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir
=.
7095 for ac_exec_ext
in '' $ac_executable_extensions; do
7096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_CCACHE
="ccache"
7098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7106 CCACHE
=$ac_cv_prog_CCACHE
7107 if test -n "$CCACHE"; then
7108 echo "$as_me:$LINENO: result: $CCACHE" >&5
7109 echo "${ECHO_T}$CCACHE" >&6
7111 echo "$as_me:$LINENO: result: no" >&5
7112 echo "${ECHO_T}no" >&6
7116 echo "$as_me:$LINENO: result: no" >&5
7117 echo "${ECHO_T}no" >&6
7120 #-----------------------------------------------------------------------------
7121 echo "$as_me:$LINENO: checking what optimization flags to use" >&5
7122 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6
7124 # Check whether --with-optimization or --without-optimization was given.
7125 if test "${with_optimization+set}" = set; then
7126 withval
="$with_optimization"
7127 optimization
="$withval"
7129 optimization
="unknown"
7131 if test "$optimization" = "unknown"; then
7132 if test "$debug" != "none"; then
7138 aros_config_cflags
="$aros_config_cflags $optimization"
7139 echo "$as_me:$LINENO: result: $optimization" >&5
7140 echo "${ECHO_T}$optimization" >&6
7142 #-----------------------------------------------------------------------------
7143 echo "$as_me:$LINENO: checking what target variant to enable" >&5
7144 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6
7145 # Check whether --enable-target_variant or --disable-target_variant was given.
7146 if test "${enable_target_variant+set}" = set; then
7147 enableval
="$enable_target_variant"
7148 target_variant
=$enableval
7150 target_variant
="none"
7152 if test "$target_variant" = "none"; then
7153 aros_target_variant
=""
7154 aros_target_suffix
=""
7156 aros_target_variant
="$target_variant"
7157 aros_target_suffix
="-$target_variant"
7159 echo "$as_me:$LINENO: result: $enableval" >&5
7160 echo "${ECHO_T}$enableval" >&6
7162 #-----------------------------------------------------------------------------
7163 # This is the target configuration switch.
7164 case "$target_os" in
7166 aros_target_arch
="linux"
7167 case "$target_cpu" in
7169 aros_target_cpu
="m68k"
7170 aros_object_format
="m68kelf"
7171 aros_flavour
="emulcompat"
7172 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7173 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7174 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7175 gcc_target_cpu
="mc68000"
7178 aros_target_cpu
="i386"
7179 aros_object_format
="elf_i386"
7180 aros_flavour
="emulation"
7181 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7182 aros_default_wbdepth
=8
7183 gcc_target_cpu
="i386"
7186 aros_target_cpu
="x86_64"
7187 aros_object_format
="elf_x86_64"
7188 aros_flavour
="emulation"
7189 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7190 aros_default_wbdepth
=8
7191 gcc_target_cpu
="x86_64"
7194 aros_target_cpu
="ppc"
7195 aros_object_format
="elf32ppc"
7196 aros_flavour
="emulation"
7197 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7198 aros_default_wbdepth
=8
7199 gcc_target_cpu
="ppc"
7202 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
7203 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
7204 { (exit 1); exit 1; }; }
7210 aros_target_arch
="pc"
7211 aros_shared_default
="no"
7212 case "$target_cpu" in
7214 aros_target_cpu
="i386"
7217 if test "$aros_object_format" = "" ; then
7218 aros_object_format
="elf_i386"
7220 aros_flavour
="standalone"
7221 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7222 aros_kernel_ldflags
=""
7223 aros_default_wbwidth
=640
7224 aros_default_wbheight
=480
7225 gcc_target_cpu
="i386"
7228 aros_target_cpu
="x86_64"
7229 if test "$aros_object_format" = "" ; then
7230 aros_object_format
="elf_x86_64"
7232 aros_flavour
="standalone"
7233 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64"
7234 aros_config_cflags
="$aros_config_cflags -fno-asynchronous-unwind-tables"
7235 aros_kernel_ldflags
=""
7236 aros_default_wbwidth
=640
7237 aros_default_wbheight
=480
7238 gcc_target_cpu
="x86_64"
7241 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
7242 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
7243 { (exit 1); exit 1; }; }
7249 aros_target_arch
="prep"
7250 aros_shared_default
="no"
7251 aros_target_cpu
="ppc"
7252 aros_object_format
="elf32ppc"
7253 aros_flavour
="ppcnative"
7254 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7255 aros_kernel_ldflags
=""
7256 aros_default_wbwidth
=640
7257 aros_default_wbheight
=480
7258 gcc_target_cpu
="ppc"
7259 case "$target_cpu" in
7261 aros_target_cc
="ppc-linux-gcc -pipe"
7262 aros_target_ld
="ppc-linux-ld"
7263 aros_target_as
="ppc-linux-as"
7264 aros_target_ar
="ppc-linux-ar"
7265 aros_target_ranlib
="ppc-linux-ranlib"
7266 aros_target_nm
="ppc-linux-nm"
7267 aros_target_strip
="ppc-linux-strip"
7268 aros_target_objcopy
="ppc-linux-objcopy"
7269 aros_target_objdump
="ppc-linux-objdump"
7270 aros_shared_ld
="ppc-linux-ld"
7271 aros_kernel_ld
="ppc-linux-ld"
7279 aros_target_arch
="freebsd"
7280 aros_target_cpu
="i386"
7281 aros_flavour
="emulation"
7282 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7283 gcc_target_cpu
="i386"
7285 aros_target_strip_flags
="-x"
7289 aros_target_arch
="darwin"
7290 aros_target_cpu
="i386"
7291 aros_flavour
="emulation"
7292 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7293 gcc_target_cpu
="i386"
7295 aros_target_strip_flags
="-x"
7299 aros_target_arch
="netbsd"
7300 case "$target_cpu" in
7302 aros_target_cpu
="m68k"
7303 aros_object_format
="m68kelf"
7304 aros_flavour
="emulcompat"
7305 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7306 gcc_target_cpu
="mc68000"
7309 aros_target_cpu
="i386"
7310 aros_object_format
="elf_i386"
7311 aros_flavour
="emulation"
7312 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7313 aros_default_wbdepth
=8
7314 gcc_target_cpu
="i386"
7317 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
7318 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
7319 { (exit 1); exit 1; }; }
7322 aros_target_genmap
="-Wl,-M -Xlinker >"
7323 aros_flavour
="emulation"
7324 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7328 aros_target_arch
="openbsd"
7329 case "$target_cpu" in
7331 aros_target_cpu
="i386"
7332 aros_object_format
="elf_i386"
7333 aros_flavour
="emulation"
7334 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7335 gcc_target_cpu
="i386"
7338 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
7339 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
7340 { (exit 1); exit 1; }; }
7343 aros_target_genmap
="-Wl,-M -Xlinker >"
7344 aros_target_nm_flags
="-u"
7345 aros_flavour
="emulation"
7349 aros_target_arch
="solaris"
7350 case "$target_cpu" in
7352 aros_target_cpu
="sparc"
7353 aros_object_format
="elf_sparc"
7354 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7355 gcc_target_cpu
="sparc"
7358 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
7359 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
7360 { (exit 1); exit 1; }; }
7363 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7364 aros_flavour
="emulation"
7368 aros_target_arch
="morphos"
7369 aros_shared_default
="no"
7370 aros_target_cpu
="ppc"
7371 aros_object_format
="elf_ppc"
7372 aros_flavour
="nativecompat"
7373 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7374 gcc_target_cpu
="ppc"
7378 aros_target_arch
="amiga"
7379 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7380 aros_shared_default
="no"
7382 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
7384 case "$target_cpu" in
7386 aros_target_cpu
="m68k"
7387 aros_object_format
="m68kelf"
7388 aros_flavour
="nativecompat"
7389 gcc_target_cpu
="mc68000"
7393 aros_flavour
="native"
7394 gcc_target_cpu
="ppc"
7397 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
7398 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
7399 { (exit 1); exit 1; }; }
7405 aros_target_arch
="cygwin"
7406 aros_shared_default
="no"
7407 case "$target_cpu" in
7409 aros_target_cpu
="i386"
7410 aros_object_format
="elf_i386"
7411 aros_flavour
="emulation"
7412 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
7413 aros_shared_cflags
=""
7414 aros_default_wbdepth
=8
7415 gcc_target_cpu
="i386"
7418 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
7419 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
7420 { (exit 1); exit 1; }; }
7425 aros_target_arch
="pp"
7426 aros_shared_default
="no"
7427 case "$target_cpu" in
7429 aros_target_cpu
="m68k"
7430 aros_object_format
="m68kelf"
7431 aros_flavour
="palmnative"
7432 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7433 aros_kernel_ldflags
=""
7434 aros_default_wbwidth
=160
7435 aros_default_wbheight
=160
7436 aros_default_wbdepth
=1
7437 aros_target_cc
="m68k-elf-gcc -pipe"
7438 aros_target_ld
="$(which m68k-elf-ld)"
7439 aros_target_as
="m68k-elf-gcc -pipe"
7440 aros_shared_ld
="m68k-elf-gcc"
7441 aros_kernel_ld
="m68k-elf-gcc"
7442 aros_target_ar
="m68k-elf-ar"
7443 aros_target_ar_flags
="cru"
7444 aros_target_ranlib
="m68k-elf-ranlib"
7445 aros_target_nm
="m68k-elf-nm"
7446 aros_target_objcopy
="m68k-elf-objcopy"
7447 aros_target_objdump
="m68k-elf-objdump"
7448 aros_compiler_libs
="-lgcc1"
7449 aros_shared_default
=no
7450 aros_shared_cflags
="-fpic"
7451 aros_shared_aflags
=""
7452 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7453 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7454 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7455 aros_debug_aflags
=""
7456 aros_debug_ldflags
="$aros_symbols_debug"
7457 aros_mungwall_debug
="0"
7458 aros_modules_debug
="0"
7459 gcc_target_cpu
="mc68000"
7460 ignore_undefined_symbols
="-ius"
7463 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
7464 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
7465 { (exit 1); exit 1; }; }
7471 aros_target_arch
="mac"
7472 aros_shared_default
="no"
7473 case "$target_cpu" in
7475 aros_target_cpu
="m68k"
7476 aros_object_format
="m68kelf"
7477 aros_flavour
="mac68knative"
7478 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7479 aros_default_wbwidth
=512
7480 aros_default_wbheight
=384
7481 aros_default_wbdepth
=8
7482 aros_target_cc
="m68k-elf-gcc -pipe"
7483 aros_target_ld
="$(which m68k-elf-ld)"
7484 aros_target_as
="m68k-elf-gcc -pipe"
7485 aros_shared_ld
="m68k-elf-gcc"
7486 aros_kernel_ld
="m68k-elf-gcc"
7487 aros_target_ar
="m68k-elf-ar"
7488 aros_target_ar_flags
="cru"
7489 aros_target_ranlib
="m68k-elf-ranlib"
7490 aros_target_nm
="m68k-elf-nm"
7491 aros_target_objcopy
="m68k-elf-objcopy"
7492 aros_target_objdump
="m68k-elf-objdump"
7493 aros_compiler_libs
="-lgcc1"
7494 aros_shared_default
=no
7495 aros_shared_cflags
="-fpic"
7496 aros_shared_aflags
=""
7497 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7498 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7499 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7500 aros_debug_aflags
=""
7501 aros_debug_ldflags
="$aros_symbols_debug"
7502 aros_mungwall_debug
="0"
7503 aros_modules_debug
="0"
7504 gcc_target_cpu
="mc68000"
7505 ignore_undefined_symbols
="-ius"
7508 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
7509 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
7510 { (exit 1); exit 1; }; }
7516 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
7517 echo "$as_me: error: Unsupported target architecture $target" >&2;}
7518 { (exit 1); exit 1; }; }
7523 # Find out if we are cross-compiling (ie. if we can't use the host compiler
7526 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7529 if test "$aros_host_arch" == "darwin" ; then
7533 # Set prefix for target compiler etc. if we're cross-compiling
7534 # (should possibly be earlier but needs to be after AC_PROG_CC)
7535 if test "$cross_compiling" = "yes" ; then
7536 target_tool_prefix
=${target_cpu}-elf-
7537 CC
=${target_tool_prefix}gcc
7540 # Find all the tools we need to compile. This could be cross-compiling
7541 # though! If that is the case we use the GNU form of the target and
7542 # simply add this to the front of the binary name. This is rather simple,
7543 # but it should work under most circumstances.
7545 # The default tools are to use the same as the host, but only if the
7546 # host and target CPU are the same. With GCC this is normally enough.
7550 aros_shared_ld
="$aros_host_ld"
7552 aros_target_mkdep
="$aros_host_mkdep"
7553 aros_target_incl_def
="$aros_host_incl"
7555 # Extract the first word of "$CC", so it can be a program name with args.
7556 set dummy
$CC; ac_word
=$2
7557 echo "$as_me:$LINENO: checking for $ac_word" >&5
7558 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7559 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
7560 echo $ECHO_N "(cached) $ECHO_C" >&6
7562 case $aros_kernel_cc in
7564 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
7567 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7571 test -z "$as_dir" && as_dir
=.
7572 for ac_exec_ext
in '' $ac_executable_extensions; do
7573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7574 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
7575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7584 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
7586 if test -n "$aros_kernel_cc"; then
7587 echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
7588 echo "${ECHO_T}$aros_kernel_cc" >&6
7590 echo "$as_me:$LINENO: result: no" >&5
7591 echo "${ECHO_T}no" >&6
7595 # The default tools executables to be linked to.
7597 if test "$cross_compiling" = "yes" ; then
7598 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
7599 set dummy
${target_tool_prefix}as
; ac_word
=$2
7600 echo "$as_me:$LINENO: checking for $ac_word" >&5
7601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7602 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
7603 echo $ECHO_N "(cached) $ECHO_C" >&6
7605 case $aros_target_as_ln in
7607 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7610 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7614 test -z "$as_dir" && as_dir
=.
7615 for ac_exec_ext
in '' $ac_executable_extensions; do
7616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7617 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7627 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7629 if test -n "$aros_target_as_ln"; then
7630 echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
7631 echo "${ECHO_T}$aros_target_as_ln" >&6
7633 echo "$as_me:$LINENO: result: no" >&5
7634 echo "${ECHO_T}no" >&6
7638 if test "$GCC" = "yes"; then
7639 aros_gcc_as
=`$CC -print-prog-name=as`
7640 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
7641 set dummy
`basename $aros_gcc_as`; ac_word
=$2
7642 echo "$as_me:$LINENO: checking for $ac_word" >&5
7643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7644 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
7645 echo $ECHO_N "(cached) $ECHO_C" >&6
7647 case $aros_target_as_ln in
7649 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7653 for as_dir
in `dirname $aros_gcc_as`
7656 test -z "$as_dir" && as_dir
=.
7657 for ac_exec_ext
in '' $ac_executable_extensions; do
7658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7659 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7669 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7671 if test -n "$aros_target_as_ln"; then
7672 echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
7673 echo "${ECHO_T}$aros_target_as_ln" >&6
7675 echo "$as_me:$LINENO: result: no" >&5
7676 echo "${ECHO_T}no" >&6
7680 if test "$aros_target_as_ln" = ""; then
7681 # Extract the first word of "as", so it can be a program name with args.
7682 set dummy as
; ac_word
=$2
7683 echo "$as_me:$LINENO: checking for $ac_word" >&5
7684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7685 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
7686 echo $ECHO_N "(cached) $ECHO_C" >&6
7688 case $aros_target_as_ln in
7690 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7693 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7697 test -z "$as_dir" && as_dir
=.
7698 for ac_exec_ext
in '' $ac_executable_extensions; do
7699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7700 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7710 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7712 if test -n "$aros_target_as_ln"; then
7713 echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
7714 echo "${ECHO_T}$aros_target_as_ln" >&6
7716 echo "$as_me:$LINENO: result: no" >&5
7717 echo "${ECHO_T}no" >&6
7723 if test "$aros_target_as_ln" = ""; then
7724 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
7725 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
7726 { (exit 1); exit 1; }; }
7729 if test "$cross_compiling" = "yes" ; then
7730 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
7731 set dummy
${target_tool_prefix}ld
; ac_word
=$2
7732 echo "$as_me:$LINENO: checking for $ac_word" >&5
7733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7734 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
7735 echo $ECHO_N "(cached) $ECHO_C" >&6
7737 case $aros_kernel_ld in
7739 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7746 test -z "$as_dir" && as_dir
=.
7747 for ac_exec_ext
in '' $ac_executable_extensions; do
7748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7749 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7759 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7761 if test -n "$aros_kernel_ld"; then
7762 echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
7763 echo "${ECHO_T}$aros_kernel_ld" >&6
7765 echo "$as_me:$LINENO: result: no" >&5
7766 echo "${ECHO_T}no" >&6
7770 if test "$GCC" = "yes"; then
7771 aros_gcc_ld
=`$CC -print-prog-name=ld`
7772 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
7773 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
7774 echo "$as_me:$LINENO: checking for $ac_word" >&5
7775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7776 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
7777 echo $ECHO_N "(cached) $ECHO_C" >&6
7779 case $aros_kernel_ld in
7781 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7784 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7785 for as_dir
in `dirname $aros_gcc_ld`
7788 test -z "$as_dir" && as_dir
=.
7789 for ac_exec_ext
in '' $ac_executable_extensions; do
7790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7791 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7801 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7803 if test -n "$aros_kernel_ld"; then
7804 echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
7805 echo "${ECHO_T}$aros_kernel_ld" >&6
7807 echo "$as_me:$LINENO: result: no" >&5
7808 echo "${ECHO_T}no" >&6
7812 if test "$aros_kernel_ld" = ""; then
7813 # Extract the first word of "ld", so it can be a program name with args.
7814 set dummy ld
; ac_word
=$2
7815 echo "$as_me:$LINENO: checking for $ac_word" >&5
7816 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7817 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
7818 echo $ECHO_N "(cached) $ECHO_C" >&6
7820 case $aros_kernel_ld in
7822 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7825 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7829 test -z "$as_dir" && as_dir
=.
7830 for ac_exec_ext
in '' $ac_executable_extensions; do
7831 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7832 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7833 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7842 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7844 if test -n "$aros_kernel_ld"; then
7845 echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
7846 echo "${ECHO_T}$aros_kernel_ld" >&6
7848 echo "$as_me:$LINENO: result: no" >&5
7849 echo "${ECHO_T}no" >&6
7855 if test "$aros_kernel_ld" = ""; then
7856 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
7857 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
7858 { (exit 1); exit 1; }; }
7861 if test "$cross_compiling" = "yes" ; then
7862 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
7863 set dummy
${target_tool_prefix}ar; ac_word
=$2
7864 echo "$as_me:$LINENO: checking for $ac_word" >&5
7865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7866 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
7867 echo $ECHO_N "(cached) $ECHO_C" >&6
7869 case $aros_target_ar_ln in
7871 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7874 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7878 test -z "$as_dir" && as_dir
=.
7879 for ac_exec_ext
in '' $ac_executable_extensions; do
7880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7891 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7893 if test -n "$aros_target_ar_ln"; then
7894 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
7895 echo "${ECHO_T}$aros_target_ar_ln" >&6
7897 echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6
7902 if test "$GCC" = "yes"; then
7903 aros_gcc_ar
=`$CC -print-prog-name=ar`
7904 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
7905 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
7906 echo "$as_me:$LINENO: checking for $ac_word" >&5
7907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7908 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7911 case $aros_target_ar_ln in
7913 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7917 for as_dir
in `dirname $aros_gcc_ar`
7920 test -z "$as_dir" && as_dir
=.
7921 for ac_exec_ext
in '' $ac_executable_extensions; do
7922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7923 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7935 if test -n "$aros_target_ar_ln"; then
7936 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
7937 echo "${ECHO_T}$aros_target_ar_ln" >&6
7939 echo "$as_me:$LINENO: result: no" >&5
7940 echo "${ECHO_T}no" >&6
7944 if test "$aros_target_ar_ln" = ""; then
7945 # Extract the first word of "ar", so it can be a program name with args.
7946 set dummy
ar; ac_word
=$2
7947 echo "$as_me:$LINENO: checking for $ac_word" >&5
7948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7949 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7952 case $aros_target_ar_ln in
7954 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
7957 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir
=.
7962 for ac_exec_ext
in '' $ac_executable_extensions; do
7963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
7965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
7976 if test -n "$aros_target_ar_ln"; then
7977 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
7978 echo "${ECHO_T}$aros_target_ar_ln" >&6
7980 echo "$as_me:$LINENO: result: no" >&5
7981 echo "${ECHO_T}no" >&6
7987 if test "$aros_target_ar_ln" = ""; then
7988 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
7989 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
7990 { (exit 1); exit 1; }; }
7993 if test "$cross_compiling" = "yes" ; then
7994 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
7995 set dummy
${target_tool_prefix}nm
; ac_word
=$2
7996 echo "$as_me:$LINENO: checking for $ac_word" >&5
7997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7998 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
7999 echo $ECHO_N "(cached) $ECHO_C" >&6
8001 case $aros_target_nm_ln in
8003 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8010 test -z "$as_dir" && as_dir
=.
8011 for ac_exec_ext
in '' $ac_executable_extensions; do
8012 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8014 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8025 if test -n "$aros_target_nm_ln"; then
8026 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
8027 echo "${ECHO_T}$aros_target_nm_ln" >&6
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8034 if test "$GCC" = "yes"; then
8035 aros_gcc_nm
=`$CC -print-prog-name=nm`
8036 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8037 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8038 echo "$as_me:$LINENO: checking for $ac_word" >&5
8039 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8040 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8041 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 case $aros_target_nm_ln in
8045 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8048 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8049 for as_dir
in `dirname $aros_gcc_nm`
8052 test -z "$as_dir" && as_dir
=.
8053 for ac_exec_ext
in '' $ac_executable_extensions; do
8054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8055 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8067 if test -n "$aros_target_nm_ln"; then
8068 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
8069 echo "${ECHO_T}$aros_target_nm_ln" >&6
8071 echo "$as_me:$LINENO: result: no" >&5
8072 echo "${ECHO_T}no" >&6
8076 if test "$aros_target_nm_ln" = ""; then
8077 # Extract the first word of "nm", so it can be a program name with args.
8078 set dummy nm
; ac_word
=$2
8079 echo "$as_me:$LINENO: checking for $ac_word" >&5
8080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8081 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8082 echo $ECHO_N "(cached) $ECHO_C" >&6
8084 case $aros_target_nm_ln in
8086 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir
=.
8094 for ac_exec_ext
in '' $ac_executable_extensions; do
8095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8108 if test -n "$aros_target_nm_ln"; then
8109 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
8110 echo "${ECHO_T}$aros_target_nm_ln" >&6
8112 echo "$as_me:$LINENO: result: no" >&5
8113 echo "${ECHO_T}no" >&6
8119 if test "$aros_target_nm_ln" = ""; then
8120 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
8121 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
8122 { (exit 1); exit 1; }; }
8125 if test "$cross_compiling" = "yes" ; then
8126 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8127 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8128 echo "$as_me:$LINENO: checking for $ac_word" >&5
8129 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8130 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
8131 echo $ECHO_N "(cached) $ECHO_C" >&6
8133 case $aros_target_objcopy_ln in
8135 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8142 test -z "$as_dir" && as_dir
=.
8143 for ac_exec_ext
in '' $ac_executable_extensions; do
8144 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8145 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8146 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8155 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8157 if test -n "$aros_target_objcopy_ln"; then
8158 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
8159 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
8161 echo "$as_me:$LINENO: result: no" >&5
8162 echo "${ECHO_T}no" >&6
8166 if test "$GCC" = "yes"; then
8167 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8168 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8169 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8170 echo "$as_me:$LINENO: checking for $ac_word" >&5
8171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8172 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
8173 echo $ECHO_N "(cached) $ECHO_C" >&6
8175 case $aros_target_objcopy_ln in
8177 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8180 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8181 for as_dir
in `dirname $aros_gcc_objcopy`
8184 test -z "$as_dir" && as_dir
=.
8185 for ac_exec_ext
in '' $ac_executable_extensions; do
8186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8187 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8197 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8199 if test -n "$aros_target_objcopy_ln"; then
8200 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
8201 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
8203 echo "$as_me:$LINENO: result: no" >&5
8204 echo "${ECHO_T}no" >&6
8208 if test "$aros_target_objcopy_ln" = ""; then
8209 # Extract the first word of "objcopy", so it can be a program name with args.
8210 set dummy objcopy
; ac_word
=$2
8211 echo "$as_me:$LINENO: checking for $ac_word" >&5
8212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8213 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
8214 echo $ECHO_N "(cached) $ECHO_C" >&6
8216 case $aros_target_objcopy_ln in
8218 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8221 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8225 test -z "$as_dir" && as_dir
=.
8226 for ac_exec_ext
in '' $ac_executable_extensions; do
8227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8228 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8238 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8240 if test -n "$aros_target_objcopy_ln"; then
8241 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
8242 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
8244 echo "$as_me:$LINENO: result: no" >&5
8245 echo "${ECHO_T}no" >&6
8251 if test "$aros_target_objcopy_ln" = ""; then
8252 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
8253 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
8254 { (exit 1); exit 1; }; }
8257 if test "$cross_compiling" = "yes" ; then
8258 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8259 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8260 echo "$as_me:$LINENO: checking for $ac_word" >&5
8261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8262 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 case $aros_target_objdump_ln in
8267 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8274 test -z "$as_dir" && as_dir
=.
8275 for ac_exec_ext
in '' $ac_executable_extensions; do
8276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8277 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8287 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8289 if test -n "$aros_target_objdump_ln"; then
8290 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
8291 echo "${ECHO_T}$aros_target_objdump_ln" >&6
8293 echo "$as_me:$LINENO: result: no" >&5
8294 echo "${ECHO_T}no" >&6
8298 if test "$GCC" = "yes"; then
8299 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8300 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8301 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8302 echo "$as_me:$LINENO: checking for $ac_word" >&5
8303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8304 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8307 case $aros_target_objdump_ln in
8309 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8313 for as_dir
in `dirname $aros_gcc_objdump`
8316 test -z "$as_dir" && as_dir
=.
8317 for ac_exec_ext
in '' $ac_executable_extensions; do
8318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8319 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8329 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8331 if test -n "$aros_target_objdump_ln"; then
8332 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
8333 echo "${ECHO_T}$aros_target_objdump_ln" >&6
8335 echo "$as_me:$LINENO: result: no" >&5
8336 echo "${ECHO_T}no" >&6
8340 if test "$aros_target_objdump_ln" = ""; then
8341 # Extract the first word of "objdump", so it can be a program name with args.
8342 set dummy objdump
; ac_word
=$2
8343 echo "$as_me:$LINENO: checking for $ac_word" >&5
8344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8345 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
8346 echo $ECHO_N "(cached) $ECHO_C" >&6
8348 case $aros_target_objdump_ln in
8350 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8357 test -z "$as_dir" && as_dir
=.
8358 for ac_exec_ext
in '' $ac_executable_extensions; do
8359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8360 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8370 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8372 if test -n "$aros_target_objdump_ln"; then
8373 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
8374 echo "${ECHO_T}$aros_target_objdump_ln" >&6
8376 echo "$as_me:$LINENO: result: no" >&5
8377 echo "${ECHO_T}no" >&6
8383 if test "$aros_target_objdump_ln" = ""; then
8384 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
8385 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
8386 { (exit 1); exit 1; }; }
8389 if test "$cross_compiling" = "yes" ; then
8390 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8391 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8392 echo "$as_me:$LINENO: checking for $ac_word" >&5
8393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8394 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
8395 echo $ECHO_N "(cached) $ECHO_C" >&6
8397 case $aros_target_ranlib_ln in
8399 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8406 test -z "$as_dir" && as_dir
=.
8407 for ac_exec_ext
in '' $ac_executable_extensions; do
8408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8409 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8419 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8421 if test -n "$aros_target_ranlib_ln"; then
8422 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
8423 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
8425 echo "$as_me:$LINENO: result: no" >&5
8426 echo "${ECHO_T}no" >&6
8430 if test "$GCC" = "yes"; then
8431 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8432 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8433 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8434 echo "$as_me:$LINENO: checking for $ac_word" >&5
8435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8436 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6
8439 case $aros_target_ranlib_ln in
8441 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8445 for as_dir
in `dirname $aros_gcc_ranlib`
8448 test -z "$as_dir" && as_dir
=.
8449 for ac_exec_ext
in '' $ac_executable_extensions; do
8450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8451 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8461 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8463 if test -n "$aros_target_ranlib_ln"; then
8464 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
8465 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
8467 echo "$as_me:$LINENO: result: no" >&5
8468 echo "${ECHO_T}no" >&6
8472 if test "$aros_target_ranlib_ln" = ""; then
8473 # Extract the first word of "ranlib", so it can be a program name with args.
8474 set dummy ranlib
; ac_word
=$2
8475 echo "$as_me:$LINENO: checking for $ac_word" >&5
8476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8477 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
8478 echo $ECHO_N "(cached) $ECHO_C" >&6
8480 case $aros_target_ranlib_ln in
8482 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8489 test -z "$as_dir" && as_dir
=.
8490 for ac_exec_ext
in '' $ac_executable_extensions; do
8491 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8492 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8493 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8502 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8504 if test -n "$aros_target_ranlib_ln"; then
8505 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
8506 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
8508 echo "$as_me:$LINENO: result: no" >&5
8509 echo "${ECHO_T}no" >&6
8515 if test "$aros_target_ranlib_ln" = ""; then
8516 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
8517 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
8518 { (exit 1); exit 1; }; }
8521 if test "$cross_compiling" = "yes" ; then
8522 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
8523 set dummy
${target_tool_prefix}strip
; ac_word
=$2
8524 echo "$as_me:$LINENO: checking for $ac_word" >&5
8525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8526 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
8527 echo $ECHO_N "(cached) $ECHO_C" >&6
8529 case $aros_target_strip_ln in
8531 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8534 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8538 test -z "$as_dir" && as_dir
=.
8539 for ac_exec_ext
in '' $ac_executable_extensions; do
8540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8541 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8551 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8553 if test -n "$aros_target_strip_ln"; then
8554 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
8555 echo "${ECHO_T}$aros_target_strip_ln" >&6
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8562 if test "$GCC" = "yes"; then
8563 aros_gcc_strip
=`$CC -print-prog-name=strip`
8564 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
8565 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
8566 echo "$as_me:$LINENO: checking for $ac_word" >&5
8567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8568 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
8569 echo $ECHO_N "(cached) $ECHO_C" >&6
8571 case $aros_target_strip_ln in
8573 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8577 for as_dir
in `dirname $aros_gcc_strip`
8580 test -z "$as_dir" && as_dir
=.
8581 for ac_exec_ext
in '' $ac_executable_extensions; do
8582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8583 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8593 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8595 if test -n "$aros_target_strip_ln"; then
8596 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
8597 echo "${ECHO_T}$aros_target_strip_ln" >&6
8599 echo "$as_me:$LINENO: result: no" >&5
8600 echo "${ECHO_T}no" >&6
8604 if test "$aros_target_strip_ln" = ""; then
8605 # Extract the first word of "strip", so it can be a program name with args.
8606 set dummy strip
; ac_word
=$2
8607 echo "$as_me:$LINENO: checking for $ac_word" >&5
8608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8609 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
8610 echo $ECHO_N "(cached) $ECHO_C" >&6
8612 case $aros_target_strip_ln in
8614 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8617 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8621 test -z "$as_dir" && as_dir
=.
8622 for ac_exec_ext
in '' $ac_executable_extensions; do
8623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8624 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8634 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8636 if test -n "$aros_target_strip_ln"; then
8637 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
8638 echo "${ECHO_T}$aros_target_strip_ln" >&6
8640 echo "$as_me:$LINENO: result: no" >&5
8641 echo "${ECHO_T}no" >&6
8647 if test "$aros_target_strip_ln" = ""; then
8648 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
8649 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
8650 { (exit 1); exit 1; }; }
8653 if test "$GCC" = "yes"; then
8654 aros_target_cc_path
=`$aros_kernel_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
8657 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
8658 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
8659 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
8660 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
8661 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
8662 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
8663 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
8665 # aros_cc_pre is a variable that is added to the front of the compiler name
8666 # in the generated aros-gcc shell script. We need this to enable the cache
8667 # to work across cleaned builds. Also, support DISTCC using the correct
8668 # environment variable.
8671 if test "x${DISTCC}" != "x" ; then
8672 if test "x${CCACHE}" != "x" ; then
8673 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
8675 aros_cc_pre
="${DISTCC} "
8678 if test "x${CCACHE}" != "x" ; then
8679 aros_cc_pre
="${CCACHE} "
8683 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
8685 aros_target_nostdinc_cflags
=-nostdinc
8687 aros_target_nostartup_ldflags
=-nostartfiles
8689 aros_target_nix_ldflags
=-nix
8691 aros_target_detach_ldflags
=-detach
8693 aros_target_nostdlib_ldflags
=-nostdlib
8697 aros_target_cc
="${prefix}-gcc"
8698 aros_target_as
="${prefix}-as"
8699 aros_target_ld
="${prefix}-ld"
8700 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
8701 aros_target_objcopy
=${prefix}-objcopy
8702 aros_target_objdump
=${prefix}-objdump
8703 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
8704 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
8705 aros_kernel_nm
="${prefix}-nm"
8706 aros_target_strip
=${prefix}-strip
8709 # Find the system include path. We can suggest that an alternative is
8710 # used if we don't get it correct. The default is to use /usr/include.
8711 # Which is set in the aros_target_incl_def variable.
8713 # Check whether --enable-includes or --disable-includes was given.
8714 if test "${enable_includes+set}" = set; then
8715 enableval
="$enable_includes"
8716 aros_target_incl
=$enable_includes
8718 aros_target_incl
=$aros_target_incl_def
8721 echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
8722 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6
8723 if test "$aros_target_cc_includes" = "" ; then
8724 #try to guess where the directory is
8725 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
8726 if ! test -d $aros_target_cc_includes; then
8727 #the directory doesn't exist, we need to do some more work
8728 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
8730 #these are the headers we're looling for
8731 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
8732 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
8736 for h
in $headers; do
8737 #which other headers each of the above headers needs?
8738 deps
=$
(echo "#include <$h>" | \
8739 $aros_host_cc -E -M - 2>/dev
/null | \
8740 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
8742 #copy all the needed headers to a directory beneath gendir
8745 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
8746 sed -n "s,^.*/include\(/.*\),\1,p")
8747 ! test -d $dir && mkdir
-p $dir
8748 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
8753 echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
8754 echo "${ECHO_T}$aros_target_cc_includes" >&6
8756 echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
8757 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6
8759 # Check whether --with-resolution or --without-resolution was given.
8760 if test "${with_resolution+set}" = set; then
8761 withval
="$with_resolution"
8766 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
8767 if test "$resolution" = "yes" ; then
8770 if test "$resolution" = "no" ; then
8773 if test "$resolution" != "none" ; then
8774 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
8775 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
8776 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
8778 echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
8779 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6
8780 aros_cv_default_wbwidth
=$aros_default_wbwidth
8781 aros_cv_default_wbheight
=$aros_default_wbheight
8782 aros_cv_default_wbdepth
=$aros_default_wbdepth
8784 echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
8785 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6
8786 # Check whether --enable-bochs_hack or --disable-bochs_hack was given.
8787 if test "${enable_bochs_hack+set}" = set; then
8788 enableval
="$enable_bochs_hack"
8793 if test "$bochs_hack" = "yes" ; then
8796 echo "$as_me:$LINENO: result: $bochs_hack" >&5
8797 echo "${ECHO_T}$bochs_hack" >&6
8799 echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
8800 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6
8802 # Check whether --with-serial-debug or --without-serial-debug was given.
8803 if test "${with_serial_debug+set}" = set; then
8804 withval
="$with_serial_debug"
8805 serial_debug
=$withval
8809 if test "$serial_debug" = "yes" ; then
8812 if test "$serial_debug" = "no" ; then
8815 if test "$serial_debug" != "none" ; then
8816 aros_serial_debug
=$serial_debug
8817 echo "$as_me:$LINENO: result: on port $serial_debug" >&5
8818 echo "${ECHO_T}on port $serial_debug" >&6
8820 echo "$as_me:$LINENO: result: no" >&5
8821 echo "${ECHO_T}no" >&6
8824 echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
8825 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6
8826 # Check whether --enable-palm_debug_hack or --disable-palm_debug_hack was given.
8827 if test "${enable_palm_debug_hack+set}" = set; then
8828 enableval
="$enable_palm_debug_hack"
8829 palm_debug_hack
="yes"
8831 palm_debug_hack
="no"
8833 if test "$palm_debug_hack" = "yes" ; then
8834 aros_palm_debug_hack
="1"
8836 echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
8837 echo "${ECHO_T}$palm_debug_hack" >&6
8840 echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
8841 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6
8842 # Check whether --enable-nesting_supervisor or --disable-nesting_supervisor was given.
8843 if test "${enable_nesting_supervisor+set}" = set; then
8844 enableval
="$enable_nesting_supervisor"
8845 nesting_supervisor
="yes"
8847 nesting_supervisor
="no"
8849 if test "$nesting_supervisor" = "yes" ; then
8850 aros_nesting_supervisor
="1"
8852 echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
8853 echo "${ECHO_T}$nesting_supervisor" >&6
8856 if test "x-$aros_flavour" = "x-emulation" -o "x-$aros_flavour" = "x-emulcompat" ; then
8858 echo "$as_me:$LINENO: checking for dlopen" >&5
8859 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8860 if test "${ac_cv_func_dlopen+set}" = set; then
8861 echo $ECHO_N "(cached) $ECHO_C" >&6
8863 cat >conftest.
$ac_ext <<_ACEOF
8866 cat confdefs.h
>>conftest.
$ac_ext
8867 cat >>conftest.
$ac_ext <<_ACEOF
8868 /* end confdefs.h. */
8869 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
8870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8871 #define dlopen innocuous_dlopen
8873 /* System header to define __stub macros and hopefully few prototypes,
8874 which can conflict with char dlopen (); below.
8875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8876 <limits.h> exists even on freestanding compilers. */
8879 # include <limits.h>
8881 # include <assert.h>
8886 /* Override any gcc2 internal prototype to avoid an error. */
8891 /* We use char because int might match the return type of a gcc2
8892 builtin and then its argument prototype would still apply. */
8894 /* The GNU C library defines this for functions which it implements
8895 to always fail with ENOSYS. Some functions are actually named
8896 something starting with __ and the normal name is an alias. */
8897 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8900 char (*f) () = dlopen;
8914 rm -f conftest.
$ac_objext conftest
$ac_exeext
8915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8916 (eval $ac_link) 2>conftest.er1
8918 grep -v '^ *+' conftest.er1
>conftest.err
8920 cat conftest.err
>&5
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); } &&
8923 { ac_try
='test -z "$ac_c_werror_flag"
8924 || test ! -s conftest.err'
8925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 (exit $ac_status); }; } &&
8930 { ac_try
='test -s conftest$ac_exeext'
8931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8935 (exit $ac_status); }; }; then
8936 ac_cv_func_dlopen
=yes
8938 echo "$as_me: failed program was:" >&5
8939 sed 's/^/| /' conftest.
$ac_ext >&5
8941 ac_cv_func_dlopen
=no
8943 rm -f conftest.err conftest.
$ac_objext \
8944 conftest
$ac_exeext conftest.
$ac_ext
8946 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8947 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8948 if test $ac_cv_func_dlopen = yes; then
8954 if test "x-$have_dl" = "x-no" ; then
8955 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8956 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8957 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8958 echo $ECHO_N "(cached) $ECHO_C" >&6
8960 ac_check_lib_save_LIBS
=$LIBS
8962 cat >conftest.
$ac_ext <<_ACEOF
8965 cat confdefs.h
>>conftest.
$ac_ext
8966 cat >>conftest.
$ac_ext <<_ACEOF
8967 /* end confdefs.h. */
8969 /* Override any gcc2 internal prototype to avoid an error. */
8973 /* We use char because int might match the return type of a gcc2
8974 builtin and then its argument prototype would still apply. */
8984 rm -f conftest.
$ac_objext conftest
$ac_exeext
8985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8986 (eval $ac_link) 2>conftest.er1
8988 grep -v '^ *+' conftest.er1
>conftest.err
8990 cat conftest.err
>&5
8991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8992 (exit $ac_status); } &&
8993 { ac_try
='test -z "$ac_c_werror_flag"
8994 || test ! -s conftest.err'
8995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8999 (exit $ac_status); }; } &&
9000 { ac_try
='test -s conftest$ac_exeext'
9001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9005 (exit $ac_status); }; }; then
9006 ac_cv_lib_dl_dlopen
=yes
9008 echo "$as_me: failed program was:" >&5
9009 sed 's/^/| /' conftest.
$ac_ext >&5
9011 ac_cv_lib_dl_dlopen
=no
9013 rm -f conftest.err conftest.
$ac_objext \
9014 conftest
$ac_exeext conftest.
$ac_ext
9015 LIBS
=$ac_check_lib_save_LIBS
9017 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9018 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9019 if test $ac_cv_lib_dl_dlopen = yes; then
9021 aros_host_ldflags
="$aros_host_ldflags -ldl"
9027 if test "x-$have_dl" = "x-no" ; then
9028 { { echo "$as_me:$LINENO: error: dlopen() dynamic linker functions not available" >&5
9029 echo "$as_me: error: dlopen() dynamic linker functions not available" >&2;}
9030 { (exit 1); exit 1; }; }
9034 # Check whether --enable-x11_hidd or --disable-x11_hidd was given.
9035 if test "${enable_x11_hidd+set}" = set; then
9036 enableval
="$enable_x11_hidd"
9037 x11_hidd
="$enableval"
9041 case "x-$x11_hidd" in
9042 x-yes|x-no|x-auto
) ;;
9043 *) x11_hidd
="auto" ;;
9046 if test "x-$x11_hidd" != "x-no" ; then
9048 echo "$as_me:$LINENO: checking for X" >&5
9049 echo $ECHO_N "checking for X... $ECHO_C" >&6
9052 # Check whether --with-x or --without-x was given.
9053 if test "${with_x+set}" = set; then
9057 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9058 if test "x$with_x" = xno
; then
9059 # The user explicitly disabled X.
9062 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9063 # Both variables are already set.
9066 if test "${ac_cv_have_x+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9069 # One or both of the vars are not set, and there is no cached value.
9070 ac_x_includes
=no ac_x_libraries
=no
9072 if mkdir conftest.dir
; then
9074 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9075 cat >Imakefile
<<'_ACEOF'
9077 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9079 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9080 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9081 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9082 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9083 for ac_extension
in a so sl
; do
9084 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9085 test -f $ac_im_libdir/libX11.
$ac_extension; then
9086 ac_im_usrlibdir
=$ac_im_libdir; break
9089 # Screen out bogus values from the imake configuration. They are
9090 # bogus both because they are the default anyway, and because
9091 # using them would break gcc on systems where it needs fixed includes.
9092 case $ac_im_incroot in
9094 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
9096 case $ac_im_usrlibdir in
9098 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
9105 # Standard set of common directories for X headers.
9106 # Check X11 before X11Rn because it is often a symlink to the current release.
9118 /usr/local/X11/include
9119 /usr/local/X11R6/include
9120 /usr/local/X11R5/include
9121 /usr/local/X11R4/include
9123 /usr/local/include/X11
9124 /usr/local/include/X11R6
9125 /usr/local/include/X11R5
9126 /usr/local/include/X11R4
9130 /usr/XFree86/include/X11
9134 /usr/unsupported/include
9136 /usr/local/x11r5/include
9137 /usr/lpp/Xamples/include
9139 /usr/openwin/include
9140 /usr/openwin/share/include'
9142 if test "$ac_x_includes" = no
; then
9143 # Guess where to find include files, by looking for Intrinsic.h.
9144 # First, try using that file with no special directory specified.
9145 cat >conftest.
$ac_ext <<_ACEOF
9148 cat confdefs.h
>>conftest.
$ac_ext
9149 cat >>conftest.
$ac_ext <<_ACEOF
9150 /* end confdefs.h. */
9151 #include <X11/Intrinsic.h>
9153 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9154 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9156 grep -v '^ *+' conftest.er1
>conftest.err
9158 cat conftest.err
>&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } >/dev
/null
; then
9161 if test -s conftest.err
; then
9162 ac_cpp_err
=$ac_c_preproc_warn_flag
9163 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9170 if test -z "$ac_cpp_err"; then
9171 # We can compile using X headers with no special include directory.
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.
$ac_ext >&5
9177 for ac_dir
in $ac_x_header_dirs; do
9178 if test -r "$ac_dir/X11/Intrinsic.h"; then
9179 ac_x_includes
=$ac_dir
9184 rm -f conftest.err conftest.
$ac_ext
9185 fi # $ac_x_includes = no
9187 if test "$ac_x_libraries" = no
; then
9188 # Check for the libraries.
9189 # See if we find them without any special options.
9190 # Don't add to $LIBS permanently.
9193 cat >conftest.
$ac_ext <<_ACEOF
9196 cat confdefs.h
>>conftest.
$ac_ext
9197 cat >>conftest.
$ac_ext <<_ACEOF
9198 /* end confdefs.h. */
9199 #include <X11/Intrinsic.h>
9208 rm -f conftest.
$ac_objext conftest
$ac_exeext
9209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9210 (eval $ac_link) 2>conftest.er1
9212 grep -v '^ *+' conftest.er1
>conftest.err
9214 cat conftest.err
>&5
9215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9216 (exit $ac_status); } &&
9217 { ac_try
='test -z "$ac_c_werror_flag"
9218 || test ! -s conftest.err'
9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; } &&
9224 { ac_try
='test -s conftest$ac_exeext'
9225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9229 (exit $ac_status); }; }; then
9231 # We can link X programs with no special library path.
9234 echo "$as_me: failed program was:" >&5
9235 sed 's/^/| /' conftest.
$ac_ext >&5
9238 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9240 # Don't even attempt the hair of trying to link an X program!
9241 for ac_extension
in a so sl
; do
9242 if test -r $ac_dir/libXt.
$ac_extension; then
9243 ac_x_libraries
=$ac_dir
9249 rm -f conftest.err conftest.
$ac_objext \
9250 conftest
$ac_exeext conftest.
$ac_ext
9251 fi # $ac_x_libraries = no
9253 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
9254 # Didn't find X anywhere. Cache the known absence of X.
9255 ac_cv_have_x
="have_x=no"
9257 # Record where we found X for the cache.
9258 ac_cv_have_x
="have_x=yes \
9259 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9264 eval "$ac_cv_have_x"
9267 if test "$have_x" != yes; then
9268 echo "$as_me:$LINENO: result: $have_x" >&5
9269 echo "${ECHO_T}$have_x" >&6
9272 # If each of the values was on the command line, it overrides each guess.
9273 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9274 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9275 # Update the cache value to reflect the command line values.
9276 ac_cv_have_x
="have_x=yes \
9277 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9278 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
9279 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
9283 if test "x-$no_x" = "x-yes" ; then
9285 if test "x-$x11_hidd" != "x-auto" ; then
9286 { { echo "$as_me:$LINENO: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&5
9287 echo "$as_me: error: X11 libs/headers not found, cannot build X11 hidd as requested" >&2;}
9288 { (exit 1); exit 1; }; }
9292 x11_hidd_target
=kernel-x11gfx
9295 # Check whether --enable-x11_shm or --disable-x11_shm was given.
9296 if test "${enable_x11_shm+set}" = set; then
9297 enableval
="$enable_x11_shm"
9298 x11_hidd_shm
="$enableval"
9302 case "x-$x11_hidd_shm" in
9303 x-yes|x-no|x-auto
) ;;
9304 *) x11_hidd_shm
="auto" ;;
9309 if test "x-$x11_hidd_shm" != "x-no" ; then
9312 for ac_header
in sys
/ipc.h
9314 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9316 echo "$as_me:$LINENO: checking for $ac_header" >&5
9317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9319 echo $ECHO_N "(cached) $ECHO_C" >&6
9321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9324 # Is the header compilable?
9325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9327 cat >conftest.
$ac_ext <<_ACEOF
9330 cat confdefs.h
>>conftest.
$ac_ext
9331 cat >>conftest.
$ac_ext <<_ACEOF
9332 /* end confdefs.h. */
9333 $ac_includes_default
9334 #include <$ac_header>
9336 rm -f conftest.
$ac_objext
9337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9338 (eval $ac_compile) 2>conftest.er1
9340 grep -v '^ *+' conftest.er1
>conftest.err
9342 cat conftest.err
>&5
9343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9344 (exit $ac_status); } &&
9345 { ac_try
='test -z "$ac_c_werror_flag"
9346 || test ! -s conftest.err'
9347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); }; } &&
9352 { ac_try
='test -s conftest.$ac_objext'
9353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 (exit $ac_status); }; }; then
9358 ac_header_compiler
=yes
9360 echo "$as_me: failed program was:" >&5
9361 sed 's/^/| /' conftest.
$ac_ext >&5
9363 ac_header_compiler
=no
9365 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9367 echo "${ECHO_T}$ac_header_compiler" >&6
9369 # Is the header present?
9370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9372 cat >conftest.
$ac_ext <<_ACEOF
9375 cat confdefs.h
>>conftest.
$ac_ext
9376 cat >>conftest.
$ac_ext <<_ACEOF
9377 /* end confdefs.h. */
9378 #include <$ac_header>
9380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9381 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9383 grep -v '^ *+' conftest.er1
>conftest.err
9385 cat conftest.err
>&5
9386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9387 (exit $ac_status); } >/dev
/null
; then
9388 if test -s conftest.err
; then
9389 ac_cpp_err
=$ac_c_preproc_warn_flag
9390 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9397 if test -z "$ac_cpp_err"; then
9398 ac_header_preproc
=yes
9400 echo "$as_me: failed program was:" >&5
9401 sed 's/^/| /' conftest.
$ac_ext >&5
9403 ac_header_preproc
=no
9405 rm -f conftest.err conftest.
$ac_ext
9406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9407 echo "${ECHO_T}$ac_header_preproc" >&6
9409 # So? What about this header?
9410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9416 ac_header_preproc
=yes
9419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9433 ## ------------------------------------------ ##
9434 ## Report this to the AC_PACKAGE_NAME lists. ##
9435 ## ------------------------------------------ ##
9438 sed "s/^/$as_me: WARNING: /" >&2
9441 echo "$as_me:$LINENO: checking for $ac_header" >&5
9442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 eval "$as_ac_Header=\$ac_header_preproc"
9448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9453 cat >>confdefs.h
<<_ACEOF
9454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9462 for ac_header
in sys
/shm.h
9464 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9466 echo "$as_me:$LINENO: checking for $ac_header" >&5
9467 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9468 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9469 echo $ECHO_N "(cached) $ECHO_C" >&6
9471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9474 # Is the header compilable?
9475 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9476 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9477 cat >conftest.
$ac_ext <<_ACEOF
9480 cat confdefs.h
>>conftest.
$ac_ext
9481 cat >>conftest.
$ac_ext <<_ACEOF
9482 /* end confdefs.h. */
9483 $ac_includes_default
9484 #include <$ac_header>
9486 rm -f conftest.
$ac_objext
9487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9488 (eval $ac_compile) 2>conftest.er1
9490 grep -v '^ *+' conftest.er1
>conftest.err
9492 cat conftest.err
>&5
9493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9494 (exit $ac_status); } &&
9495 { ac_try
='test -z "$ac_c_werror_flag"
9496 || test ! -s conftest.err'
9497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; } &&
9502 { ac_try
='test -s conftest.$ac_objext'
9503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9507 (exit $ac_status); }; }; then
9508 ac_header_compiler
=yes
9510 echo "$as_me: failed program was:" >&5
9511 sed 's/^/| /' conftest.
$ac_ext >&5
9513 ac_header_compiler
=no
9515 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9516 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9517 echo "${ECHO_T}$ac_header_compiler" >&6
9519 # Is the header present?
9520 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9521 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9522 cat >conftest.
$ac_ext <<_ACEOF
9525 cat confdefs.h
>>conftest.
$ac_ext
9526 cat >>conftest.
$ac_ext <<_ACEOF
9527 /* end confdefs.h. */
9528 #include <$ac_header>
9530 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9531 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9533 grep -v '^ *+' conftest.er1
>conftest.err
9535 cat conftest.err
>&5
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); } >/dev
/null
; then
9538 if test -s conftest.err
; then
9539 ac_cpp_err
=$ac_c_preproc_warn_flag
9540 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9547 if test -z "$ac_cpp_err"; then
9548 ac_header_preproc
=yes
9550 echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.
$ac_ext >&5
9553 ac_header_preproc
=no
9555 rm -f conftest.err conftest.
$ac_ext
9556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9557 echo "${ECHO_T}$ac_header_preproc" >&6
9559 # So? What about this header?
9560 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9565 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9566 ac_header_preproc
=yes
9569 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9570 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9571 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9572 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9573 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9574 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9575 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9576 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9578 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9579 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9580 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9583 ## ------------------------------------------ ##
9584 ## Report this to the AC_PACKAGE_NAME lists. ##
9585 ## ------------------------------------------ ##
9588 sed "s/^/$as_me: WARNING: /" >&2
9591 echo "$as_me:$LINENO: checking for $ac_header" >&5
9592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9594 echo $ECHO_N "(cached) $ECHO_C" >&6
9596 eval "$as_ac_Header=\$ac_header_preproc"
9598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9599 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9602 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9603 cat >>confdefs.h
<<_ACEOF
9604 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9612 if test "x-$ac_cv_header_sys_ipc_h" = "x-yes" -a "x-$ac_cv_header_sys_shm_h" = "x-yes" ; then
9615 save_cflags
="$CFLAGS"
9617 CFLAGS
="$x_includes"
9618 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
9619 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
9620 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
9621 echo $ECHO_N "(cached) $ECHO_C" >&6
9623 ac_check_lib_save_LIBS
=$LIBS
9625 cat >conftest.
$ac_ext <<_ACEOF
9628 cat confdefs.h
>>conftest.
$ac_ext
9629 cat >>conftest.
$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9632 /* Override any gcc2 internal prototype to avoid an error. */
9636 /* We use char because int might match the return type of a gcc2
9637 builtin and then its argument prototype would still apply. */
9638 char XShmQueryExtension ();
9642 XShmQueryExtension ();
9647 rm -f conftest.
$ac_objext conftest
$ac_exeext
9648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9649 (eval $ac_link) 2>conftest.er1
9651 grep -v '^ *+' conftest.er1
>conftest.err
9653 cat conftest.err
>&5
9654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9655 (exit $ac_status); } &&
9656 { ac_try
='test -z "$ac_c_werror_flag"
9657 || test ! -s conftest.err'
9658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); }; } &&
9663 { ac_try
='test -s conftest$ac_exeext'
9664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); }; }; then
9669 ac_cv_lib_Xext_XShmQueryExtension
=yes
9671 echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.
$ac_ext >&5
9674 ac_cv_lib_Xext_XShmQueryExtension
=no
9676 rm -f conftest.err conftest.
$ac_objext \
9677 conftest
$ac_exeext conftest.
$ac_ext
9678 LIBS
=$ac_check_lib_save_LIBS
9680 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
9681 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
9682 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
9687 CFLAGS
="$save_cflags"
9691 if test "x-$have_xshm" = "x-yes" ; then
9693 elif test "x-$x11_hidd_shm" = "x-yes" ; then
9694 { { echo "$as_me:$LINENO: error: X11 has no support for shared memory, cannot enable it as requested" >&5
9695 echo "$as_me: error: X11 has no support for shared memory, cannot enable it as requested" >&2;}
9696 { (exit 1); exit 1; }; }
9702 # Check whether --enable-x11_vidmode or --disable-x11_vidmode was given.
9703 if test "${enable_x11_vidmode+set}" = set; then
9704 enableval
="$enable_x11_vidmode"
9705 x11_hidd_vidmode
="$enableval"
9707 x11_hidd_vidmode
="auto"
9709 case "x-$x11_hidd_vidmode" in
9710 x-yes|x-no|x-auto
) ;;
9711 *) x11_hidd_vidmode
="auto" ;;
9716 if test "x-$x11_hidd_vidmode" != "x-no" ; then
9719 save_cflags
="$CFLAGS"
9721 CFLAGS
="$x_includes"
9722 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
9723 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
9724 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
9725 echo $ECHO_N "(cached) $ECHO_C" >&6
9727 ac_check_lib_save_LIBS
=$LIBS
9728 LIBS
="-lXxf86vm $LIBS"
9729 cat >conftest.
$ac_ext <<_ACEOF
9732 cat confdefs.h
>>conftest.
$ac_ext
9733 cat >>conftest.
$ac_ext <<_ACEOF
9734 /* end confdefs.h. */
9736 /* Override any gcc2 internal prototype to avoid an error. */
9740 /* We use char because int might match the return type of a gcc2
9741 builtin and then its argument prototype would still apply. */
9742 char XF86VidModeQueryExtension ();
9746 XF86VidModeQueryExtension ();
9751 rm -f conftest.
$ac_objext conftest
$ac_exeext
9752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9753 (eval $ac_link) 2>conftest.er1
9755 grep -v '^ *+' conftest.er1
>conftest.err
9757 cat conftest.err
>&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); } &&
9760 { ac_try
='test -z "$ac_c_werror_flag"
9761 || test ! -s conftest.err'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; } &&
9767 { ac_try
='test -s conftest$ac_exeext'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; }; then
9773 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
9775 echo "$as_me: failed program was:" >&5
9776 sed 's/^/| /' conftest.
$ac_ext >&5
9778 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
9780 rm -f conftest.err conftest.
$ac_objext \
9781 conftest
$ac_exeext conftest.
$ac_ext
9782 LIBS
=$ac_check_lib_save_LIBS
9784 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9785 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
9786 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9791 CFLAGS
="$save_cflags"
9794 if test "x-$have_vidmode" = "x-yes" ; then
9795 DO_VIDMODE_SUPPORT
="1"
9796 elif test "x-$x11_hidd_vidmode" = "x-yes" ; then
9797 { { echo "$as_me:$LINENO: error: X11 vidmode extension not available, cannot enable it as requested" >&5
9798 echo "$as_me: error: X11 vidmode extension not available, cannot enable it as requested" >&2;}
9799 { (exit 1); exit 1; }; }
9801 DO_VIDMODE_SUPPORT
="0"
9805 aros_host_x11_includes
=$x_includes
9806 aros_host_x11_libdirs
=$x_libraries
9810 # Check whether --enable-sdl_hidd or --disable-sdl_hidd was given.
9811 if test "${enable_sdl_hidd+set}" = set; then
9812 enableval
="$enable_sdl_hidd"
9813 sdl_hidd
="$enableval"
9817 case "x-$sdl_hidd" in
9818 x-yes|x-no|x-auto
) ;;
9819 *) sdl_hidd
="auto" ;;
9822 if test "x-$sdl_hidd" != "x-no" ; then
9825 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
9826 if test "${with_sdl_prefix+set}" = set; then
9827 withval
="$with_sdl_prefix"
9828 sdl_prefix
="$withval"
9833 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
9834 if test "${with_sdl_exec_prefix+set}" = set; then
9835 withval
="$with_sdl_exec_prefix"
9836 sdl_exec_prefix
="$withval"
9840 # Check whether --enable-sdltest or --disable-sdltest was given.
9841 if test "${enable_sdltest+set}" = set; then
9842 enableval
="$enable_sdltest"
9848 if test x
$sdl_exec_prefix != x
; then
9849 sdl_args
="$sdl_args --exec-prefix=$sdl_exec_prefix"
9850 if test x
${SDL_CONFIG+set} != xset
; then
9851 SDL_CONFIG
=$sdl_exec_prefix/bin
/sdl-config
9854 if test x
$sdl_prefix != x
; then
9855 sdl_args
="$sdl_args --prefix=$sdl_prefix"
9856 if test x
${SDL_CONFIG+set} != xset
; then
9857 SDL_CONFIG
=$sdl_prefix/bin
/sdl-config
9861 if test "x$prefix" != xNONE
; then
9862 PATH
="$prefix/bin:$prefix/usr/bin:$PATH"
9864 # Extract the first word of "sdl-config", so it can be a program name with args.
9865 set dummy sdl-config
; ac_word
=$2
9866 echo "$as_me:$LINENO: checking for $ac_word" >&5
9867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9868 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
9869 echo $ECHO_N "(cached) $ECHO_C" >&6
9873 ac_cv_path_SDL_CONFIG
="$SDL_CONFIG" # Let the user override the test with a path.
9876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9880 test -z "$as_dir" && as_dir
=.
9881 for ac_exec_ext
in '' $ac_executable_extensions; do
9882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9883 ac_cv_path_SDL_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
9884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9890 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG
="no"
9894 SDL_CONFIG
=$ac_cv_path_SDL_CONFIG
9896 if test -n "$SDL_CONFIG"; then
9897 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
9898 echo "${ECHO_T}$SDL_CONFIG" >&6
9900 echo "$as_me:$LINENO: result: no" >&5
9901 echo "${ECHO_T}no" >&6
9904 min_sdl_version
=1.2.10
9905 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
9906 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
9908 if test "$SDL_CONFIG" = "no" ; then
9911 SDL_CFLAGS
=`$SDL_CONFIG $sdlconf_args --cflags`
9912 SDL_LIBS
=`$SDL_CONFIG $sdlconf_args --libs`
9914 sdl_major_version
=`$SDL_CONFIG $sdl_args --version | \
9915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
9916 sdl_minor_version
=`$SDL_CONFIG $sdl_args --version | \
9917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
9918 sdl_micro_version
=`$SDL_CONFIG $sdl_config_args --version | \
9919 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
9920 if test "x$enable_sdltest" = "xyes" ; then
9921 ac_save_CFLAGS
="$CFLAGS"
9922 ac_save_CXXFLAGS
="$CXXFLAGS"
9923 ac_save_LIBS
="$LIBS"
9924 CFLAGS
="$CFLAGS $SDL_CFLAGS"
9925 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
9926 LIBS
="$LIBS $SDL_LIBS"
9928 if test "$cross_compiling" = yes; then
9929 echo $ac_n "cross compiling; assumed OK... $ac_c"
9931 cat >conftest.
$ac_ext <<_ACEOF
9934 cat confdefs.h
>>conftest.
$ac_ext
9935 cat >>conftest.
$ac_ext <<_ACEOF
9936 /* end confdefs.h. */
9944 my_strdup (char *str)
9950 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
9951 strcpy (new_str, str);
9959 int main (int argc, char *argv[])
9961 int major, minor, micro;
9964 /* This hangs on some systems (?)
9965 system ("touch conf.sdltest");
9967 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
9969 /* HP/UX 9 (%@#!) writes to sscanf strings */
9970 tmp_version = my_strdup("$min_sdl_version");
9971 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
9972 printf("%s, bad version string\n", "$min_sdl_version");
9976 if (($sdl_major_version > major) ||
9977 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
9978 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
9984 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
9985 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
9986 printf("*** best to upgrade to the required version.\n");
9987 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
9988 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
9989 printf("*** config.cache before re-running configure\n");
9996 rm -f conftest
$ac_exeext
9997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9998 (eval $ac_link) 2>&5
10000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10001 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10003 (eval $ac_try) 2>&5
10005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006 (exit $ac_status); }; }; then
10009 echo "$as_me: program exited with status $ac_status" >&5
10010 echo "$as_me: failed program was:" >&5
10011 sed 's/^/| /' conftest.
$ac_ext >&5
10013 ( exit $ac_status )
10016 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10018 CFLAGS
="$ac_save_CFLAGS"
10019 CXXFLAGS
="$ac_save_CXXFLAGS"
10020 LIBS
="$ac_save_LIBS"
10023 if test "x$no_sdl" = x
; then
10024 echo "$as_me:$LINENO: result: yes" >&5
10025 echo "${ECHO_T}yes" >&6
10028 echo "$as_me:$LINENO: result: no" >&5
10029 echo "${ECHO_T}no" >&6
10030 if test "$SDL_CONFIG" = "no" ; then
10031 echo "*** The sdl-config script installed by SDL could not be found"
10032 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
10033 echo "*** your path, or set the SDL_CONFIG environment variable to the"
10034 echo "*** full path to sdl-config."
10036 if test -f conf.sdltest
; then
10039 echo "*** Could not run SDL test program, checking why..."
10040 CFLAGS
="$CFLAGS $SDL_CFLAGS"
10041 CXXFLAGS
="$CXXFLAGS $SDL_CFLAGS"
10042 LIBS
="$LIBS $SDL_LIBS"
10043 cat >conftest.
$ac_ext <<_ACEOF
10046 cat confdefs.h
>>conftest.
$ac_ext
10047 cat >>conftest.
$ac_ext <<_ACEOF
10048 /* end confdefs.h. */
10053 int main(int argc, char *argv[])
10056 #define main K_and_R_C_main
10066 rm -f conftest.
$ac_objext conftest
$ac_exeext
10067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10068 (eval $ac_link) 2>conftest.er1
10070 grep -v '^ *+' conftest.er1
>conftest.err
10072 cat conftest.err
>&5
10073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10074 (exit $ac_status); } &&
10075 { ac_try
='test -z "$ac_c_werror_flag"
10076 || test ! -s conftest.err'
10077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10078 (eval $ac_try) 2>&5
10080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10081 (exit $ac_status); }; } &&
10082 { ac_try
='test -s conftest$ac_exeext'
10083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10084 (eval $ac_try) 2>&5
10086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10087 (exit $ac_status); }; }; then
10088 echo "*** The test program compiled, but did not run. This usually means"
10089 echo "*** that the run-time linker is not finding SDL or finding the wrong"
10090 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
10091 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10092 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10093 echo "*** is required on your system"
10095 echo "*** If you have an old version installed, it is best to remove it, although"
10096 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10098 echo "$as_me: failed program was:" >&5
10099 sed 's/^/| /' conftest.
$ac_ext >&5
10101 echo "*** The test program failed to compile or link. See the file config.log for the"
10102 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
10103 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
10104 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
10106 rm -f conftest.err conftest.
$ac_objext \
10107 conftest
$ac_exeext conftest.
$ac_ext
10108 CFLAGS
="$ac_save_CFLAGS"
10109 CXXFLAGS
="$ac_save_CXXFLAGS"
10110 LIBS
="$ac_save_LIBS"
10122 if test "x-$have_sdl" != "x-yes" ; then
10124 if test "x-$sdl_hidd" != "x-auto" ; then
10125 { { echo "$as_me:$LINENO: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&5
10126 echo "$as_me: error: SDL libs/headers not found, cannot build SDL hidd as requested" >&2;}
10127 { (exit 1); exit 1; }; }
10131 sdl_hidd_target
=kernel-hidd-sdl
10132 aros_host_sdl_cflags
=SDL_CFLAGS
10133 aros_host_sdl_libs
=SDL_LIBS
10140 echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
10141 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6
10142 # Check whether --enable-dbus or --disable-dbus was given.
10143 if test "${enable_dbus+set}" = set; then
10144 enableval
="$enable_dbus"
10149 if test "$dbus" = "yes" ; then
10151 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
10152 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
10153 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
10154 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
10158 echo "$as_me:$LINENO: result: $dbus" >&5
10159 echo "${ECHO_T}$dbus" >&6
10252 # Native version related
10256 # Palm native version related
10259 # Unix/Hosted version related
10275 # Collect-aros stuff: "-ius" to ignore undefined symbols
10278 # C compiler related
10281 case "$aros_flavour" in
10282 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
10283 aros_flavour
="emulation" ;;
10284 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
10285 aros_flavour
="emulation" ;;
10286 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
10287 aros_flavour
="standalone";;
10288 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
10289 aros_flavour
="native" ;;
10290 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10291 aros_flavour
="native" ;;
10292 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
10293 aros_flavour
="linklib" ;;
10294 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10295 aros_flavour
="palmnative" ;;
10296 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
10297 aros_flavour
="mac68knative" ;;
10298 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
10299 aros_flavour
="ppcnative" ;;
10304 if test ! -d ${aros_inc_dir} ; then
10305 ${MKDIR} ${aros_inc_dir}
10307 if test ! -d ${aros_geninc_dir} ; then
10308 ${MKDIR} ${aros_geninc_dir}
10310 if test ! -d ${aros_hostcfg_dir} ; then
10311 ${MKDIR} ${aros_hostcfg_dir}
10313 if test ! -d ${aros_targetcfg_dir} ; then
10314 ${MKDIR} ${aros_targetcfg_dir}
10316 if test ! -d ${aros_tools_dir} ; then
10317 ${MKDIR} ${aros_tools_dir}
10319 if test ! -d ${aros_scripts_dir} ; then
10320 ${MKDIR} ${aros_scripts_dir}
10323 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
10326 ac_config_commands
="$ac_config_commands compiler_executable"
10328 ac_config_commands
="$ac_config_commands genshared_executable"
10330 ac_config_commands
="$ac_config_commands genmf_executable"
10332 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
10335 ac_config_files
="$ac_config_files Makefile rom/mmakefile ${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/adflib/myconf.aros tools/collect-aros/env.h"
10338 cat >confcache
<<\_ACEOF
10339 # This file is a shell script that caches the results of configure
10340 # tests run on this system so they can be shared between configure
10341 # scripts and configure runs, see configure's option --config-cache.
10342 # It is not useful on other systems. If it contains results you don't
10343 # want to keep, you may remove or edit it.
10345 # config.status only pays attention to the cache file if you give it
10346 # the --recheck option to rerun configure.
10348 # `ac_cv_env_foo' variables (set or unset) will be overridden when
10349 # loading this file, other *unset* `ac_cv_foo' will be assigned the
10350 # following values.
10354 # The following way of writing the cache mishandles newlines in values,
10355 # but we know of no workaround that is simple, portable, and efficient.
10356 # So, don't put newlines in cache variables' values.
10357 # Ultrix sh set writes to stderr and can't be redirected directly,
10358 # and sets the high bit in the cache file unless we assign to the vars.
10361 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10363 # `set' does not quote correctly, so add quotes (double-quote
10364 # substitution turns \\\\ into \\, and sed turns \\ into \).
10367 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
10370 # `set' quotes correctly as required by POSIX, so do not add quotes.
10372 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
10379 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
10381 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
10383 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
10384 if test -w $cache_file; then
10385 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
10386 cat confcache
>$cache_file
10388 echo "not updating unwritable cache $cache_file"
10393 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
10394 # Let make expand exec_prefix.
10395 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
10397 # VPATH may cause trouble with some makes, so we remove $(srcdir),
10398 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
10399 # trailing colons and then remove the whole line if VPATH becomes empty
10400 # (actually we leave an empty line to preserve line numbers).
10401 if test "x$srcdir" = x.
; then
10402 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
10403 s/:*\$(srcdir):*/:/;
10404 s/:*\${srcdir}:*/:/;
10406 s/^\([^=]*=[ ]*\):*/\1/;
10412 DEFS
=-DHAVE_CONFIG_H
10416 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
10417 # 1. Remove the extension, and $U if already installed.
10418 ac_i
=`echo "$ac_i" |
10419 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
10421 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
10422 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
10424 LIBOBJS
=$ac_libobjs
10426 LTLIBOBJS
=$ac_ltlibobjs
10430 : ${CONFIG_STATUS=./config.status}
10431 ac_clean_files_save
=$ac_clean_files
10432 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
10433 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
10434 echo "$as_me: creating $CONFIG_STATUS" >&6;}
10435 cat >$CONFIG_STATUS <<_ACEOF
10437 # Generated by $as_me.
10438 # Run this file to recreate the current configuration.
10439 # Compiler output produced by configure, useful for debugging
10440 # configure, is in config.log if it exists.
10443 ac_cs_recheck=false
10445 SHELL=\${CONFIG_SHELL-$SHELL}
10448 cat >>$CONFIG_STATUS <<\_ACEOF
10449 ## --------------------- ##
10450 ## M4sh Initialization. ##
10451 ## --------------------- ##
10453 # Be Bourne compatible
10454 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
10457 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
10458 # is contrary to our usage. Disable this feature.
10459 alias -g '${1+"$@"}'='"$@"'
10460 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
10463 DUALCASE
=1; export DUALCASE
# for MKS sh
10465 # Support unset when possible.
10466 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
10473 # Work around bugs in pre-3.0 UWIN ksh.
10474 $as_unset ENV MAIL MAILPATH
10481 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
10482 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
10483 LC_TELEPHONE LC_TIME
10485 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
10486 eval $as_var=C
; export $as_var
10492 # Required to use basename.
10493 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10499 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
10500 as_basename
=basename
10506 # Name of the executable.
10507 as_me
=`$as_basename "$0" ||
10508 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
10509 X"$0" : 'X\(//\)$' \| \
10510 X"$0" : 'X\(/\)$' \| \
10511 . : '\(.\)' 2>/dev/null ||
10513 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
10514 /^X\/\(\/\/\)$/{ s//\1/; q; }
10515 /^X\/\(\/\).*/{ s//\1/; q; }
10519 # PATH needs CR, and LINENO needs CR and PATH.
10520 # Avoid depending upon Character Ranges.
10521 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
10522 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
10523 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
10524 as_cr_digits
='0123456789'
10525 as_cr_alnum
=$as_cr_Letters$as_cr_digits
10527 # The user is always right.
10528 if test "${PATH_SEPARATOR+set}" != set; then
10529 echo "#! /bin/sh" >conf$$.sh
10530 echo "exit 0" >>conf$$.sh
10532 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
10541 as_lineno_1
=$LINENO
10542 as_lineno_2
=$LINENO
10543 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
10544 test "x$as_lineno_1" != "x$as_lineno_2" &&
10545 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
10546 # Find who we are. Look in the path if we contain no path at all
10549 *[\\/]* ) as_myself
=$0 ;;
10550 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10551 for as_dir
in $PATH
10554 test -z "$as_dir" && as_dir
=.
10555 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
10560 # We did not find ourselves, most probably we were run as `sh COMMAND'
10561 # in which case we are not to be found in the path.
10562 if test "x$as_myself" = x
; then
10565 if test ! -f "$as_myself"; then
10566 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
10567 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
10568 { (exit 1); exit 1; }; }
10570 case $CONFIG_SHELL in
10572 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10573 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
10576 test -z "$as_dir" && as_dir
=.
10577 for as_base
in sh bash ksh sh5
; do
10580 if ("$as_dir/$as_base" -c '
10581 as_lineno_1=$LINENO
10582 as_lineno_2=$LINENO
10583 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10584 test "x$as_lineno_1" != "x$as_lineno_2" &&
10585 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
10586 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
10587 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
10588 CONFIG_SHELL
=$as_dir/$as_base
10589 export CONFIG_SHELL
10590 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
10598 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
10599 # uniformly replaced by the line number. The first 'sed' inserts a
10600 # line-number line before each line; the second 'sed' does the real
10601 # work. The second script uses 'N' to pair each line-number line
10602 # with the numbered line, and appends trailing '-' during
10603 # substitution so that $LINENO is not a special case at line end.
10604 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
10605 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
10606 sed '=' <$as_myself |
10611 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
10614 s,^['$as_cr_digits']*\n,,
10615 ' >$as_me.lineno
&&
10616 chmod +x
$as_me.lineno ||
10617 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
10618 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
10619 { (exit 1); exit 1; }; }
10621 # Don't try to exec as it changes $[0], causing all sort of problems
10622 # (the dirname of $[0] is not the place where we might find the
10623 # original and so on. Autoconf is especially sensible to this).
10625 # Exit status is that of the last command.
10630 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
10631 *c
*,-n*) ECHO_N
= ECHO_C
='
10633 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
10634 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
10637 if expr a
: '\(a\)' >/dev
/null
2>&1; then
10643 rm -f conf$$ conf$$.exe conf$$.
file
10645 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
10646 # We could just check for DJGPP; but this test a) works b) is more generic
10647 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
10648 if test -f conf$$.exe
; then
10649 # Don't use ln at all; we don't have any links
10654 elif ln conf$$.
file conf$$
2>/dev
/null
; then
10659 rm -f conf$$ conf$$.exe conf$$.
file
10661 if mkdir
-p .
2>/dev
/null
; then
10664 test -d .
/-p && rmdir .
/-p
10668 as_executable_p
="test -f"
10670 # Sed expression to map a string onto a valid CPP name.
10671 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
10673 # Sed expression to map a string onto a valid variable name.
10674 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
10678 # We need space, tab and new line, in precisely that order.
10688 # Open the log real soon, to keep \$[0] and so on meaningful, and to
10689 # report actual input values of CONFIG_FILES etc. instead of their
10690 # values after options handling. Logging --version etc. is OK.
10694 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
10695 ## Running $as_me. ##
10700 This file was extended by $as_me, which was
10701 generated by GNU Autoconf 2.59. Invocation command line was
10703 CONFIG_FILES = $CONFIG_FILES
10704 CONFIG_HEADERS = $CONFIG_HEADERS
10705 CONFIG_LINKS = $CONFIG_LINKS
10706 CONFIG_COMMANDS = $CONFIG_COMMANDS
10710 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
10714 # Files that config.status was made for.
10715 if test -n "$ac_config_files"; then
10716 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
10719 if test -n "$ac_config_headers"; then
10720 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
10723 if test -n "$ac_config_links"; then
10724 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
10727 if test -n "$ac_config_commands"; then
10728 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
10731 cat >>$CONFIG_STATUS <<\_ACEOF
10734 \`$as_me' instantiates files from templates according to the
10735 current configuration.
10737 Usage: $0 [OPTIONS] [FILE]...
10739 -h, --help print this help, then exit
10740 -V, --version print version number, then exit
10741 -q, --quiet do not print progress messages
10742 -d, --debug don't remove temporary files
10743 --recheck update $as_me by reconfiguring in the same conditions
10744 --file=FILE[:TEMPLATE]
10745 instantiate the configuration file FILE
10746 --header=FILE[:TEMPLATE]
10747 instantiate the configuration header FILE
10749 Configuration files:
10752 Configuration headers:
10755 Configuration commands:
10758 Report bugs to <bug-autoconf@gnu.org>."
10761 cat >>$CONFIG_STATUS <<_ACEOF
10764 configured by $0, generated by GNU Autoconf 2.59,
10765 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
10767 Copyright (C) 2003 Free Software Foundation, Inc.
10768 This config.status script is free software; the Free Software Foundation
10769 gives unlimited permission to copy, distribute and modify it."
10773 cat >>$CONFIG_STATUS <<\_ACEOF
10774 # If no file are specified by the user, then we need to provide default
10775 # value. By we need to know if files were specified by the user.
10781 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
10782 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
10790 *) # This is not an option, so the user has probably given explicit
10793 ac_need_defaults
=false
;;
10797 # Handling of the options.
10799 cat >>$CONFIG_STATUS <<\_ACEOF
10800 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
10802 --version |
--vers* |
-V )
10803 echo "$ac_cs_version"; exit 0 ;;
10805 # Conflict between --help and --header
10806 { { echo "$as_me:$LINENO: error: ambiguous option: $1
10807 Try \`$0 --help' for more information." >&5
10808 echo "$as_me: error: ambiguous option: $1
10809 Try \`$0 --help' for more information." >&2;}
10810 { (exit 1); exit 1; }; };;
10811 --help |
--hel |
-h )
10812 echo "$ac_cs_usage"; exit 0 ;;
10813 --debug |
--d* |
-d )
10815 --file |
--fil |
--fi |
--f )
10817 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
10818 ac_need_defaults
=false
;;
10819 --header |
--heade |
--head |
--hea )
10821 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
10822 ac_need_defaults
=false
;;
10823 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
10824 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
10827 # This is an error.
10828 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
10829 Try \`$0 --help' for more information." >&5
10830 echo "$as_me: error: unrecognized option: $1
10831 Try \`$0 --help' for more information." >&2;}
10832 { (exit 1); exit 1; }; } ;;
10834 *) ac_config_targets
="$ac_config_targets $1" ;;
10840 ac_configure_extra_args
=
10842 if $ac_cs_silent; then
10844 ac_configure_extra_args
="$ac_configure_extra_args --silent"
10848 cat >>$CONFIG_STATUS <<_ACEOF
10849 if \$ac_cs_recheck; then
10850 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
10851 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
10856 cat >>$CONFIG_STATUS <<_ACEOF
10858 # INIT-COMMANDS section.
10862 aros_tools_dir=${aros_tools_dir}
10863 aros_target_cpu=${aros_target_cpu}
10864 aros_target_arch=${aros_target_arch}
10865 aros_target_suffix=${aros_target_suffix}
10866 aros_target_nm_ln=${aros_target_nm_ln}
10867 aros_target_as_ln=${aros_target_as_ln}
10868 aros_target_ar_ln=${aros_target_ar_ln}
10869 aros_target_ranlib_ln=${aros_target_ranlib_ln}
10870 aros_target_objdump_ln=${aros_target_objdump_ln}
10871 aros_target_objcopy_ln=${aros_target_objcopy_ln}
10872 aros_target_strip_ln=${aros_target_strip_ln}
10875 aros_scripts_dir=${aros_scripts_dir}
10877 aros_tools_dir=${aros_tools_dir}
10884 cat >>$CONFIG_STATUS <<\_ACEOF
10885 for ac_config_target
in $ac_config_targets
10887 case "$ac_config_target" in
10888 # Handling of arguments.
10889 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
10890 "rom/mmakefile" ) CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
10891 "${aros_inc_dir}/config.h" ) CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
10892 "${aros_geninc_dir}/config.h" ) CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
10893 "${aros_hostcfg_dir}/host.cfg" ) CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
10894 "${aros_targetcfg_dir}/target.cfg" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
10895 "mmake.config" ) CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
10896 "${aros_targetcfg_dir}/make.defaults" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
10897 "${aros_targetcfg_dir}/specs" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
10898 "${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" ;;
10899 "${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" ;;
10900 "${aros_scripts_dir}/genshared" ) CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
10901 "${aros_tools_dir}/genmf.py" ) CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
10902 "tools/adflib/myconf.aros" ) CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
10903 "tools/collect-aros/env.h" ) CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
10904 "compiler_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
10905 "genshared_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
10906 "genmf_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
10907 "adflib_myaros.conf_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
10908 "${aros_geninc_dir}/host-conf.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
10909 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
10910 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
10911 { (exit 1); exit 1; }; };;
10915 # If the user did not use the arguments to specify the items to instantiate,
10916 # then the envvar interface is used. Set only those that are not.
10917 # We use the long form for the default assignment because of an extremely
10918 # bizarre bug on SunOS 4.1.3.
10919 if $ac_need_defaults; then
10920 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10921 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10922 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10925 # Have a temporary directory for convenience. Make it in the build tree
10926 # simply because there is no reason to put it here, and in addition,
10927 # creating and moving files from /tmp can sometimes cause problems.
10928 # Create a temporary directory, and hook for its removal unless debugging.
10931 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10932 trap '{ (exit 1); exit 1; }' 1 2 13 15
10935 # Create a (secure) tmp directory for tmp files.
10938 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10939 test -n "$tmp" && test -d "$tmp"
10942 tmp
=.
/confstat$$
-$RANDOM
10943 (umask 077 && mkdir
$tmp)
10946 echo "$me: cannot create a temporary directory in ." >&2
10947 { (exit 1); exit 1; }
10952 cat >>$CONFIG_STATUS <<_ACEOF
10955 # CONFIG_FILES section.
10958 # No need to generate the scripts if there are no CONFIG_FILES.
10959 # This happens for instance when ./config.status config.h
10960 if test -n "\$CONFIG_FILES"; then
10961 # Protect against being on the right side of a sed subst in config.status.
10962 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10963 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10964 s,@SHELL@,$SHELL,;t t
10965 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10966 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10967 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10968 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10969 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10970 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10971 s,@exec_prefix@,$exec_prefix,;t t
10972 s,@prefix@,$prefix,;t t
10973 s,@program_transform_name@,$program_transform_name,;t t
10974 s,@bindir@,$bindir,;t t
10975 s,@sbindir@,$sbindir,;t t
10976 s,@libexecdir@,$libexecdir,;t t
10977 s,@datadir@,$datadir,;t t
10978 s,@sysconfdir@,$sysconfdir,;t t
10979 s,@sharedstatedir@,$sharedstatedir,;t t
10980 s,@localstatedir@,$localstatedir,;t t
10981 s,@libdir@,$libdir,;t t
10982 s,@includedir@,$includedir,;t t
10983 s,@oldincludedir@,$oldincludedir,;t t
10984 s,@infodir@,$infodir,;t t
10985 s,@mandir@,$mandir,;t t
10986 s,@build_alias@,$build_alias,;t t
10987 s,@host_alias@,$host_alias,;t t
10988 s,@target_alias@,$target_alias,;t t
10989 s,@DEFS@,$DEFS,;t t
10990 s,@ECHO_C@,$ECHO_C,;t t
10991 s,@ECHO_N@,$ECHO_N,;t t
10992 s,@ECHO_T@,$ECHO_T,;t t
10993 s,@LIBS@,$LIBS,;t t
10994 s,@build@,$build,;t t
10995 s,@build_cpu@,$build_cpu,;t t
10996 s,@build_vendor@,$build_vendor,;t t
10997 s,@build_os@,$build_os,;t t
10998 s,@host@,$host,;t t
10999 s,@host_cpu@,$host_cpu,;t t
11000 s,@host_vendor@,$host_vendor,;t t
11001 s,@host_os@,$host_os,;t t
11003 s,@CFLAGS@,$CFLAGS,;t t
11004 s,@LDFLAGS@,$LDFLAGS,;t t
11005 s,@CPPFLAGS@,$CPPFLAGS,;t t
11006 s,@ac_ct_CC@,$ac_ct_CC,;t t
11007 s,@EXEEXT@,$EXEEXT,;t t
11008 s,@OBJEXT@,$OBJEXT,;t t
11011 s,@MMAKE@,$MMAKE,;t t
11012 s,@aros_host_ld@,$aros_host_ld,;t t
11013 s,@aros_host_aclocal@,$aros_host_aclocal,;t t
11014 s,@aros_host_autoconf@,$aros_host_autoconf,;t t
11015 s,@aros_host_autoheader@,$aros_host_autoheader,;t t
11016 s,@aros_host_automake@,$aros_host_automake,;t t
11017 s,@aros_host_ar@,$aros_host_ar,;t t
11018 s,@aros_host_ranlib@,$aros_host_ranlib,;t t
11019 s,@aros_host_strip@,$aros_host_strip,;t t
11023 s,@ECHO@,$ECHO,;t t
11024 s,@MKDIR@,$MKDIR,;t t
11025 s,@TOUCH@,$TOUCH,;t t
11026 s,@SORT@,$SORT,;t t
11027 s,@UNIQ@,$UNIQ,;t t
11030 s,@BISON@,$BISON,;t t
11031 s,@FLEX@,$FLEX,;t t
11032 s,@PNGTOPNM@,$PNGTOPNM,;t t
11033 s,@PPMTOILBM@,$PPMTOILBM,;t t
11035 s,@CHMOD@,$CHMOD,;t t
11036 s,@PYTHON@,$PYTHON,;t t
11037 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
11038 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
11039 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
11040 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
11041 s,@pythondir@,$pythondir,;t t
11042 s,@pkgpythondir@,$pkgpythondir,;t t
11043 s,@pyexecdir@,$pyexecdir,;t t
11044 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
11047 s,@TEST@,$TEST,;t t
11049 s,@EGREP@,$EGREP,;t t
11050 s,@LIBOBJS@,$LIBOBJS,;t t
11051 s,@DISTCC@,$DISTCC,;t t
11052 s,@CCACHE@,$CCACHE,;t t
11053 s,@aros_kernel_cc@,$aros_kernel_cc,;t t
11054 s,@aros_target_as_ln@,$aros_target_as_ln,;t t
11055 s,@aros_kernel_ld@,$aros_kernel_ld,;t t
11056 s,@aros_target_ar_ln@,$aros_target_ar_ln,;t t
11057 s,@aros_target_nm_ln@,$aros_target_nm_ln,;t t
11058 s,@aros_target_objcopy_ln@,$aros_target_objcopy_ln,;t t
11059 s,@aros_target_objdump_ln@,$aros_target_objdump_ln,;t t
11060 s,@aros_target_ranlib_ln@,$aros_target_ranlib_ln,;t t
11061 s,@aros_target_strip_ln@,$aros_target_strip_ln,;t t
11062 s,@aros_target_nostdinc_cflags@,$aros_target_nostdinc_cflags,;t t
11063 s,@aros_target_nostartup_ldflags@,$aros_target_nostartup_ldflags,;t t
11064 s,@aros_target_nix_ldflags@,$aros_target_nix_ldflags,;t t
11065 s,@aros_target_detach_ldflags@,$aros_target_detach_ldflags,;t t
11066 s,@aros_target_nostdlib_ldflags@,$aros_target_nostdlib_ldflags,;t t
11067 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
11068 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
11069 s,@SDL_LIBS@,$SDL_LIBS,;t t
11070 s,@aros_arch@,$aros_arch,;t t
11071 s,@aros_cpu@,$aros_cpu,;t t
11072 s,@aros_flavour@,$aros_flavour,;t t
11073 s,@aros_flavour_uc@,$aros_flavour_uc,;t t
11074 s,@TOPDIR@,$TOPDIR,;t t
11075 s,@aros_cc_pre@,$aros_cc_pre,;t t
11076 s,@aros_host_arch@,$aros_host_arch,;t t
11077 s,@aros_host_cpu@,$aros_host_cpu,;t t
11078 s,@aros_host_cc@,$aros_host_cc,;t t
11079 s,@aros_host_make@,$aros_host_make,;t t
11080 s,@aros_host_cflags@,$aros_host_cflags,;t t
11081 s,@aros_host_ldflags@,$aros_host_ldflags,;t t
11082 s,@aros_host_debug@,$aros_host_debug,;t t
11083 s,@aros_host_mkdep@,$aros_host_mkdep,;t t
11084 s,@aros_host_mkargs@,$aros_host_mkargs,;t t
11085 s,@aros_host_exe_suffix@,$aros_host_exe_suffix,;t t
11086 s,@aros_host_lib_suffix@,$aros_host_lib_suffix,;t t
11087 s,@aros_tools_dir@,$aros_tools_dir,;t t
11088 s,@aros_host_x11_includes@,$aros_host_x11_includes,;t t
11089 s,@aros_host_x11_libdirs@,$aros_host_x11_libdirs,;t t
11090 s,@aros_host_sdl_cflags@,$aros_host_sdl_cflags,;t t
11091 s,@aros_host_sdl_libs@,$aros_host_sdl_libs,;t t
11092 s,@aros_target_arch@,$aros_target_arch,;t t
11093 s,@aros_target_cpu@,$aros_target_cpu,;t t
11094 s,@aros_target_variant@,$aros_target_variant,;t t
11095 s,@aros_target_suffix@,$aros_target_suffix,;t t
11096 s,@aros_target_incl@,$aros_target_incl,;t t
11097 s,@aros_target_ar@,$aros_target_ar,;t t
11098 s,@aros_target_ranlib@,$aros_target_ranlib,;t t
11099 s,@aros_kernel_nm@,$aros_kernel_nm,;t t
11100 s,@aros_target_cc@,$aros_target_cc,;t t
11101 s,@aros_target_as@,$aros_target_as,;t t
11102 s,@aros_target_ld@,$aros_target_ld,;t t
11103 s,@aros_target_cc_includes@,$aros_target_cc_includes,;t t
11104 s,@aros_target_cc_path@,$aros_target_cc_path,;t t
11105 s,@aros_target_objdump@,$aros_target_objdump,;t t
11106 s,@aros_target_objcopy@,$aros_target_objcopy,;t t
11107 s,@aros_target_strip@,$aros_target_strip,;t t
11108 s,@aros_target_nm@,$aros_target_nm,;t t
11109 s,@aros_shared_default@,$aros_shared_default,;t t
11110 s,@aros_shared_ld@,$aros_shared_ld,;t t
11111 s,@aros_object_format@,$aros_object_format,;t t
11112 s,@aros_compiler_libs@,$aros_compiler_libs,;t t
11113 s,@aros_config_cflags@,$aros_config_cflags,;t t
11114 s,@aros_config_aflags@,$aros_config_aflags,;t t
11115 s,@aros_config_ldflags@,$aros_config_ldflags,;t t
11116 s,@aros_shared_cflags@,$aros_shared_cflags,;t t
11117 s,@aros_shared_aflags@,$aros_shared_aflags,;t t
11118 s,@aros_shared_ldflags@,$aros_shared_ldflags,;t t
11119 s,@aros_kernel_ldflags@,$aros_kernel_ldflags,;t t
11120 s,@aros_debug_cflags@,$aros_debug_cflags,;t t
11121 s,@aros_debug_aflags@,$aros_debug_aflags,;t t
11122 s,@aros_debug_ldflags@,$aros_debug_ldflags,;t t
11123 s,@aros_target_genmap@,$aros_target_genmap,;t t
11124 s,@aros_target_strip_flags@,$aros_target_strip_flags,;t t
11125 s,@aros_gui_libdir@,$aros_gui_libdir,;t t
11126 s,@aros_gui_ldflags@,$aros_gui_ldflags,;t t
11127 s,@aros_gui_libflags@,$aros_gui_libflags,;t t
11128 s,@aros_gui_incdir@,$aros_gui_incdir,;t t
11129 s,@aros_gui_ccflags@,$aros_gui_ccflags,;t t
11130 s,@x11_hidd_target@,$x11_hidd_target,;t t
11131 s,@sdl_hidd_target@,$sdl_hidd_target,;t t
11132 s,@aros_default_wbwidth@,$aros_default_wbwidth,;t t
11133 s,@aros_default_wbheight@,$aros_default_wbheight,;t t
11134 s,@aros_default_wbdepth@,$aros_default_wbdepth,;t t
11135 s,@DO_XSHM_SUPPORT@,$DO_XSHM_SUPPORT,;t t
11136 s,@DO_VIDMODE_SUPPORT@,$DO_VIDMODE_SUPPORT,;t t
11137 s,@aros_bochs_hack@,$aros_bochs_hack,;t t
11138 s,@aros_serial_debug@,$aros_serial_debug,;t t
11139 s,@aros_palm_debug_hack@,$aros_palm_debug_hack,;t t
11140 s,@aros_nesting_supervisor@,$aros_nesting_supervisor,;t t
11141 s,@ENABLE_DBUS@,$ENABLE_DBUS,;t t
11142 s,@DBUS_CFLAGS@,$DBUS_CFLAGS,;t t
11143 s,@DBUS_LIBFLAGS@,$DBUS_LIBFLAGS,;t t
11144 s,@KERNEL_DBUS_KOBJ@,$KERNEL_DBUS_KOBJ,;t t
11145 s,@KERNEL_DBUS_INCLUDES@,$KERNEL_DBUS_INCLUDES,;t t
11146 s,@aros_debug@,$aros_debug,;t t
11147 s,@aros_mungwall_debug@,$aros_mungwall_debug,;t t
11148 s,@aros_stack_debug@,$aros_stack_debug,;t t
11149 s,@aros_modules_debug@,$aros_modules_debug,;t t
11150 s,@ignore_undefined_symbols@,$ignore_undefined_symbols,;t t
11151 s,@gcc_target_cpu@,$gcc_target_cpu,;t t
11152 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
11157 cat >>$CONFIG_STATUS <<\_ACEOF
11158 # Split the substitutions into bite-sized pieces for seds with
11159 # small command number limits, like on Digital OSF/1 and HP-UX.
11160 ac_max_sed_lines
=48
11161 ac_sed_frag
=1 # Number of current file.
11162 ac_beg
=1 # First line for current file.
11163 ac_end
=$ac_max_sed_lines # Line after last line for current file.
11166 while $ac_more_lines; do
11167 if test $ac_beg -gt 1; then
11168 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11170 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
11172 if test ! -s $tmp/subs.frag
; then
11173 ac_more_lines
=false
11175 # The purpose of the label and of the branching condition is to
11176 # speed up the sed processing (if there are no `@' at all, there
11177 # is no need to browse any of the substitutions).
11178 # These are the two extra sed commands mentioned above.
11180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
11181 if test -z "$ac_sed_cmds"; then
11182 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
11184 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
11186 ac_sed_frag
=`expr $ac_sed_frag + 1`
11188 ac_end
=`expr $ac_end + $ac_max_sed_lines`
11191 if test -z "$ac_sed_cmds"; then
11194 fi # test -n "$CONFIG_FILES"
11197 cat >>$CONFIG_STATUS <<\_ACEOF
11198 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
11199 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11201 - |
*:- |
*:-:* ) # input from stdin
11203 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11204 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11205 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11206 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11207 * ) ac_file_in
=$ac_file.
in ;;
11210 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
11211 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11213 X"$ac_file" : 'X\(//\)[^/]' \| \
11214 X"$ac_file" : 'X\(//\)$' \| \
11215 X"$ac_file" : 'X\(/\)' \| \
11216 . : '\(.\)' 2>/dev/null ||
11218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11220 /^X\(\/\/\)$/{ s//\1/; q; }
11221 /^X\(\/\).*/{ s//\1/; q; }
11223 { if $as_mkdir_p; then
11228 while test ! -d "$as_dir"; do
11229 as_dirs
="$as_dir $as_dirs"
11230 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11232 X"$as_dir" : 'X\(//\)[^/]' \| \
11233 X"$as_dir" : 'X\(//\)$' \| \
11234 X"$as_dir" : 'X\(/\)' \| \
11235 . : '\(.\)' 2>/dev/null ||
11237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11239 /^X\(\/\/\)$/{ s//\1/; q; }
11240 /^X\(\/\).*/{ s//\1/; q; }
11243 test ! -n "$as_dirs" || mkdir
$as_dirs
11244 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11245 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11246 { (exit 1); exit 1; }; }; }
11250 if test "$ac_dir" != .
; then
11251 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11252 # A "../" for each directory in $ac_dir_suffix.
11253 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11255 ac_dir_suffix
= ac_top_builddir
=
11259 .
) # No --srcdir option. We are building in place.
11261 if test -z "$ac_top_builddir"; then
11264 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11266 [\\/]* | ?
:[\\/]* ) # Absolute path.
11267 ac_srcdir
=$srcdir$ac_dir_suffix;
11268 ac_top_srcdir
=$srcdir ;;
11269 *) # Relative path.
11270 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11271 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11274 # Do not use `cd foo && pwd` to compute absolute paths, because
11275 # the directories may not exist.
11277 .
) ac_abs_builddir
="$ac_dir";;
11280 .
) ac_abs_builddir
=`pwd`;;
11281 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11282 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11285 case $ac_abs_builddir in
11286 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11288 case ${ac_top_builddir}.
in
11289 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11290 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11291 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11294 case $ac_abs_builddir in
11295 .
) ac_abs_srcdir
=$ac_srcdir;;
11298 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11299 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11300 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11303 case $ac_abs_builddir in
11304 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11306 case $ac_top_srcdir in
11307 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11308 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11309 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11315 if test x
"$ac_file" != x-
; then
11316 { echo "$as_me:$LINENO: creating $ac_file" >&5
11317 echo "$as_me: creating $ac_file" >&6;}
11320 # Let's still pretend it is `configure' which instantiates (i.e., don't
11321 # use $as_me), people would be surprised to read:
11322 # /* config.h. Generated by config.status. */
11323 if test x
"$ac_file" = x-
; then
11326 configure_input
="$ac_file. "
11328 configure_input
=$configure_input"Generated from `echo $ac_file_in |
11329 sed 's,.*/,,'` by configure."
11331 # First look for the input files in the build tree, otherwise in the
11333 ac_file_inputs
=`IFS=:
11334 for f in $ac_file_in; do
11336 -) echo $tmp/stdin ;;
11338 # Absolute (can't be DOS-style, as IFS=:)
11339 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11340 echo "$as_me: error: cannot find input file: $f" >&2;}
11341 { (exit 1); exit 1; }; }
11344 if test -f "$f"; then
11347 elif test -f "$srcdir/$f"; then
11352 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11353 echo "$as_me: error: cannot find input file: $f" >&2;}
11354 { (exit 1); exit 1; }; }
11357 done` ||
{ (exit 1); exit 1; }
11359 cat >>$CONFIG_STATUS <<_ACEOF
11363 cat >>$CONFIG_STATUS <<\_ACEOF
11365 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
11366 s
,@configure_input@
,$configure_input,;t t
11367 s
,@srcdir@
,$ac_srcdir,;t t
11368 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
11369 s
,@top_srcdir@
,$ac_top_srcdir,;t t
11370 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
11371 s
,@builddir@
,$ac_builddir,;t t
11372 s
,@abs_builddir@
,$ac_abs_builddir,;t t
11373 s
,@top_builddir@
,$ac_top_builddir,;t t
11374 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
11375 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
11377 if test x"$ac_file" != x-; then
11378 mv $tmp/out $ac_file
11386 cat >>$CONFIG_STATUS <<\_ACEOF
11389 # CONFIG_HEADER section.
11392 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
11393 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11395 # ac_d sets the value in "#define NAME VALUE" lines.
11396 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11397 ac_dB
='[ ].*$,\1#\2'
11400 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11401 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11402 ac_uB
='$,\1#\2define\3'
11406 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
11407 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11409 - |
*:- |
*:-:* ) # input from stdin
11411 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11412 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11413 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11414 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
11415 * ) ac_file_in
=$ac_file.
in ;;
11418 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
11419 echo "$as_me: creating $ac_file" >&6;}
11421 # First look for the input files in the build tree, otherwise in the
11423 ac_file_inputs
=`IFS=:
11424 for f in $ac_file_in; do
11426 -) echo $tmp/stdin ;;
11428 # Absolute (can't be DOS-style, as IFS=:)
11429 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11430 echo "$as_me: error: cannot find input file: $f" >&2;}
11431 { (exit 1); exit 1; }; }
11432 # Do quote $f, to prevent DOS paths from being IFS'd.
11435 if test -f "$f"; then
11438 elif test -f "$srcdir/$f"; then
11443 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
11444 echo "$as_me: error: cannot find input file: $f" >&2;}
11445 { (exit 1); exit 1; }; }
11448 done` ||
{ (exit 1); exit 1; }
11449 # Remove the trailing spaces.
11450 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
11454 # Transform confdefs.h into two sed scripts, `conftest.defines' and
11455 # `conftest.undefs', that substitutes the proper values into
11456 # config.h.in to produce config.h. The first handles `#define'
11457 # templates, and the second `#undef' templates.
11458 # And first: Protect against being on the right side of a sed subst in
11459 # config.status. Protect against being in an unquoted here document
11460 # in config.status.
11461 rm -f conftest.defines conftest.undefs
11462 # Using a here document instead of a string reduces the quoting nightmare.
11463 # Putting comments in sed scripts is not portable.
11465 # `end' is used to avoid that the second main sed command (meant for
11466 # 0-ary CPP macros) applies to n-ary macro definitions.
11467 # See the Autoconf documentation for `clear'.
11468 cat >confdef2sed.
sed <<\_ACEOF
11473 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
11475 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
11478 # If some macros were called several times there might be several times
11479 # the same #defines, which is useless. Nevertheless, we may not want to
11480 # sort them, since we want the *last* AC-DEFINE to be honored.
11481 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
11482 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
11483 rm -f confdef2sed.sed
11485 # This sed command replaces #undef with comments. This is necessary, for
11486 # example, in the case of _POSIX_SOURCE, which is predefined and required
11487 # on some systems where configure will not decide to define it.
11488 cat >>conftest.undefs <<\_ACEOF
11489 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
11492 # Break up conftest.defines because some shells have a limit on the size
11493 # of here documents, and old seds have small limits too (100 cmds).
11494 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
11495 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
11496 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
11497 echo ' :' >>$CONFIG_STATUS
11498 rm -f conftest.tail
11499 while grep . conftest.defines >/dev/null
11501 # Write a limited-size here document to $tmp/defines.sed.
11502 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
11503 # Speed up: don't consider the non `#define' lines.
11504 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
11505 # Work around the forget-to-reset-the-flag bug.
11506 echo 't clr' >>$CONFIG_STATUS
11507 echo ': clr' >>$CONFIG_STATUS
11508 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
11510 sed -f $tmp/defines.sed $tmp/in >$tmp/out
11512 mv $tmp/out $tmp/in
11514 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
11515 rm -f conftest.defines
11516 mv conftest.
tail conftest.defines
11518 rm -f conftest.defines
11519 echo ' fi # grep' >>$CONFIG_STATUS
11520 echo >>$CONFIG_STATUS
11522 # Break up conftest.undefs because some shells have a limit on the size
11523 # of here documents, and old seds have small limits too (100 cmds).
11524 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
11525 rm -f conftest.
tail
11526 while grep . conftest.undefs
>/dev
/null
11528 # Write a limited-size here document to $tmp/undefs.sed.
11529 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
11530 # Speed up: don't consider the non
`#undef'
11531 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
11532 # Work around the forget-to-reset-the-flag bug.
11533 echo 't clr' >>$CONFIG_STATUS
11534 echo ': clr' >>$CONFIG_STATUS
11535 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
11537 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
11539 mv $tmp/out $tmp/in
11541 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
11542 rm -f conftest.undefs
11543 mv conftest.tail conftest.undefs
11545 rm -f conftest.undefs
11547 cat >>$CONFIG_STATUS <<\_ACEOF
11548 # Let's still pretend it is `configure
' which instantiates (i.e., don't
11549 # use $as_me), people would be surprised to read:
11550 # /* config.h. Generated by config.status. */
11551 if test x
"$ac_file" = x-
; then
11552 echo "/* Generated by configure. */" >$tmp/config.h
11554 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
11556 cat $tmp/in >>$tmp/config.h
11558 if test x
"$ac_file" != x-
; then
11559 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
11560 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
11561 echo "$as_me: $ac_file is unchanged" >&6;}
11563 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
11564 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11565 X"$ac_file" : 'X\(//\)[^/]' \| \
11566 X"$ac_file" : 'X\(//\)$' \| \
11567 X"$ac_file" : 'X\(/\)' \| \
11568 . : '\(.\)' 2>/dev/null ||
11570 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11571 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11572 /^X\(\/\/\)$/{ s//\1/; q; }
11573 /^X\(\/\).*/{ s//\1/; q; }
11575 { if $as_mkdir_p; then
11580 while test ! -d "$as_dir"; do
11581 as_dirs
="$as_dir $as_dirs"
11582 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11583 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11584 X"$as_dir" : 'X\(//\)[^/]' \| \
11585 X"$as_dir" : 'X\(//\)$' \| \
11586 X"$as_dir" : 'X\(/\)' \| \
11587 . : '\(.\)' 2>/dev/null ||
11589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11590 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11591 /^X\(\/\/\)$/{ s//\1/; q; }
11592 /^X\(\/\).*/{ s//\1/; q; }
11595 test ! -n "$as_dirs" || mkdir
$as_dirs
11596 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11597 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11598 { (exit 1); exit 1; }; }; }
11601 mv $tmp/config.h
$ac_file
11605 rm -f $tmp/config.h
11609 cat >>$CONFIG_STATUS <<\_ACEOF
11612 # CONFIG_COMMANDS section.
11614 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
11615 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
11616 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
11617 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
11618 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11619 X"$ac_dest" : 'X\(//\)[^/]' \| \
11620 X"$ac_dest" : 'X\(//\)$' \| \
11621 X"$ac_dest" : 'X\(/\)' \| \
11622 . : '\(.\)' 2>/dev/null ||
11624 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11625 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11626 /^X\(\/\/\)$/{ s//\1/; q; }
11627 /^X\(\/\).*/{ s//\1/; q; }
11629 { if $as_mkdir_p; then
11634 while test ! -d "$as_dir"; do
11635 as_dirs
="$as_dir $as_dirs"
11636 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
11637 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
11638 X"$as_dir" : 'X\(//\)[^/]' \| \
11639 X"$as_dir" : 'X\(//\)$' \| \
11640 X"$as_dir" : 'X\(/\)' \| \
11641 . : '\(.\)' 2>/dev/null ||
11643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
11644 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
11645 /^X\(\/\/\)$/{ s//\1/; q; }
11646 /^X\(\/\).*/{ s//\1/; q; }
11649 test ! -n "$as_dirs" || mkdir
$as_dirs
11650 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
11651 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
11652 { (exit 1); exit 1; }; }; }
11656 if test "$ac_dir" != .
; then
11657 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
11658 # A "../" for each directory in $ac_dir_suffix.
11659 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
11661 ac_dir_suffix
= ac_top_builddir
=
11665 .
) # No --srcdir option. We are building in place.
11667 if test -z "$ac_top_builddir"; then
11670 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
11672 [\\/]* | ?
:[\\/]* ) # Absolute path.
11673 ac_srcdir
=$srcdir$ac_dir_suffix;
11674 ac_top_srcdir
=$srcdir ;;
11675 *) # Relative path.
11676 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
11677 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
11680 # Do not use `cd foo && pwd` to compute absolute paths, because
11681 # the directories may not exist.
11683 .
) ac_abs_builddir
="$ac_dir";;
11686 .
) ac_abs_builddir
=`pwd`;;
11687 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
11688 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
11691 case $ac_abs_builddir in
11692 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11694 case ${ac_top_builddir}.
in
11695 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
11696 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
11697 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
11700 case $ac_abs_builddir in
11701 .
) ac_abs_srcdir
=$ac_srcdir;;
11704 .
) ac_abs_srcdir
=$ac_abs_builddir;;
11705 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
11706 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
11709 case $ac_abs_builddir in
11710 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
11712 case $ac_top_srcdir in
11713 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
11714 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
11715 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
11720 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
11721 echo "$as_me: executing $ac_dest commands" >&6;}
11723 compiler_executable
)
11724 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
11726 prefix
="${prefix}/${aros_target_cpu}-aros"
11727 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
11731 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
11733 ln -sf ${prefix2}-gcc ${prefix}-gcc
11734 ln -sf ${prefix2}-ld ${prefix}-ld
11736 ln -sf $aros_target_as_ln ${prefix}-as
11737 ln -sf $aros_target_nm_ln ${prefix}-nm
11738 ln -sf $aros_target_ar_ln ${prefix}-ar
11739 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
11740 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
11741 ln -sf $aros_target_objdump_ln ${prefix}-objdump
11742 ln -sf $aros_target_strip_ln ${prefix}-strip
11744 ln -sf $aros_target_as_ln ${prefix2}-as
11745 ln -sf $aros_target_nm_ln ${prefix2}-nm
11746 ln -sf $aros_target_ar_ln ${prefix2}-ar
11747 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
11748 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
11749 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
11750 ln -sf $aros_target_strip_ln ${prefix2}-strip
11752 genshared_executable
) chmod a
+x
${aros_scripts_dir}/genshared
;;
11753 genmf_executable
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
11754 adflib_myaros.conf_executable
) chmod a
+x tools
/adflib
/myconf.aros
11760 cat >>$CONFIG_STATUS <<\_ACEOF
11762 { (exit 0); exit 0; }
11764 chmod +x
$CONFIG_STATUS
11765 ac_clean_files
=$ac_clean_files_save
11768 # configure is writing to config.log, and then calls config.status.
11769 # config.status does its own redirection, appending to config.log.
11770 # Unfortunately, on DOS this fails, as config.log is still kept open
11771 # by configure, so config.status won't be able to write to it; its
11772 # output is simply discarded. So we exec the FD to /dev/null,
11773 # effectively closing config.log, so it can be properly (re)opened and
11774 # appended to by config.status. When coming back to configure, we
11775 # need to make the FD available again.
11776 if test "$no_create" != yes; then
11778 ac_config_status_args
=
11779 test "$silent" = yes &&
11780 ac_config_status_args
="$ac_config_status_args --quiet"
11782 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
11784 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
11785 # would make configure fail if this is the last instruction.
11786 $ac_cs_success ||
{ (exit 1); exit 1; }
11791 #XXX compatability...
11792 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
11794 if test -n "$aros_shared_cflags" ; then
11795 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
11796 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg