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 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_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 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-xshm-extension Enable X11 MIT-SHM extension
(default
=yes)
878 --enable-vidmode-extension
879 Enable X11 vidmode extension
(default
=yes)
880 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
883 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
884 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
885 --with-x use the X Window System
886 --with-optimization=FLAGS
887 Use optimization flags FLAGS
(default
=-O2).
888 --with-resolution=XRESxYRESxDEPTH
889 Default resolution of the initial WorkbenchScreen
890 --with-serial-debug Enable serial debug output
in native
(default
=no
)
892 Some influential environment variables
:
893 CC C compiler
command
894 CFLAGS C compiler flags
895 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
896 nonstandard directory
<lib dir
>
897 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
898 headers
in a nonstandard directory
<include dir
>
901 Use these variables to override the choices made by
`configure' or to help
902 it to find libraries and programs with nonstandard names/locations.
907 if test "$ac_init_help" = "recursive"; then
908 # If there are subdirs, report their specific --help.
910 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
911 test -d $ac_dir || continue
914 if test "$ac_dir" != .; then
915 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
916 # A "../" for each directory in $ac_dir_suffix.
917 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
919 ac_dir_suffix= ac_top_builddir=
923 .) # No --srcdir option. We are building in place.
925 if test -z "$ac_top_builddir"; then
928 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
930 [\\/]* | ?:[\\/]* ) # Absolute path.
931 ac_srcdir=$srcdir$ac_dir_suffix;
932 ac_top_srcdir=$srcdir ;;
934 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
935 ac_top_srcdir=$ac_top_builddir$srcdir ;;
938 # Do not use `cd foo
&& pwd` to compute absolute paths, because
939 # the directories may not exist.
941 .) ac_abs_builddir="$ac_dir";;
944 .) ac_abs_builddir=`pwd`;;
945 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
946 *) ac_abs_builddir=`pwd`/"$ac_dir";;
949 case $ac_abs_builddir in
950 .) ac_abs_top_builddir=${ac_top_builddir}.;;
952 case ${ac_top_builddir}. in
953 .) ac_abs_top_builddir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
955 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
958 case $ac_abs_builddir in
959 .) ac_abs_srcdir=$ac_srcdir;;
962 .) ac_abs_srcdir=$ac_abs_builddir;;
963 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
964 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
967 case $ac_abs_builddir in
968 .) ac_abs_top_srcdir=$ac_top_srcdir;;
970 case $ac_top_srcdir in
971 .) ac_abs_top_srcdir=$ac_abs_builddir;;
972 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
973 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
978 # Check for guested configure; otherwise get Cygnus style configure.
979 if test -f $ac_srcdir/configure.gnu; then
981 $SHELL $ac_srcdir/configure.gnu --help=recursive
982 elif test -f $ac_srcdir/configure; then
984 $SHELL $ac_srcdir/configure --help=recursive
985 elif test -f $ac_srcdir/configure.ac ||
986 test -f $ac_srcdir/configure.in; then
990 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
996 test -n "$ac_init_help" && exit 0
997 if $ac_init_version; then
1000 Copyright (C) 2003 Free Software Foundation, Inc.
1001 This configure script is free software; the Free Software Foundation
1002 gives unlimited permission to copy, distribute and modify it.
1008 This file contains any messages produced by compilers while
1009 running configure, to aid debugging if configure makes a mistake.
1011 It was created by $as_me, which was
1012 generated by GNU Autoconf 2.59. Invocation command line was
1023 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1024 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1025 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1026 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1027 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1029 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1030 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1032 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1033 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1034 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1035 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1036 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1037 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1038 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1046 test -z "$as_dir" && as_dir=.
1047 echo "PATH: $as_dir"
1062 # Keep a trace of the command line.
1063 # Strip out --no-create and --no-recursion so they do not pile up.
1064 # Strip out --silent because we don't want to record it for future runs.
1065 # Also quote any args containing shell meta-characters.
1066 # Make two passes to allow for proper duplicate-argument suppression.
1071 ac_must_keep_next=false
1077 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1078 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1079 | -silent | --silent | --silen | --sile | --sil)
1081 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1082 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1085 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1087 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1088 if test $ac_must_keep_next = true; then
1089 ac_must_keep_next=false # Got value, back to normal.
1092 *=* | --config-cache | -C | -disable-* | --disable-* \
1093 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1094 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1095 | -with-* | --with-* | -without-* | --without-* | --x)
1096 case "$ac_configure_args0 " in
1097 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1100 -* ) ac_must_keep_next=true ;;
1103 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1104 # Get rid of the leading space.
1110 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1111 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1113 # When interrupted or exit'd, cleanup temporary files, and complete
1114 # config.log. We remove comments because anyway the quotes in there
1115 # would cause problems or look ugly.
1116 # WARNING: Be sure not to use single quotes in there, as some shells,
1117 # such as our DU 5.0 friend, will then `close
' the trap.
1118 trap 'exit_status
=$?
1119 # Save into config.log some information that might help in debugging.
1124 ## ---------------- ##
1125 ## Cache variables. ##
1126 ## ---------------- ##
1129 # The following way of writing the cache mishandles newlines in values,
1132 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1135 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1136 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1140 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1147 ## ----------------- ##
1148 ## Output variables. ##
1149 ## ----------------- ##
1152 for ac_var
in $ac_subst_vars
1154 eval ac_val
=$
`echo $ac_var`
1155 echo "$ac_var='"'"'$ac_val'"'"'"
1159 if test -n "$ac_subst_files"; then
1166 for ac_var
in $ac_subst_files
1168 eval ac_val
=$
`echo $ac_var`
1169 echo "$ac_var='"'"'$ac_val'"'"'"
1174 if test -s confdefs.h
; then
1181 sed "/^$/d" confdefs.h |
sort
1184 test "$ac_signal" != 0 &&
1185 echo "$as_me: caught signal $ac_signal"
1186 echo "$as_me: exit $exit_status"
1188 rm -f core
*.core
&&
1189 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1192 for ac_signal in 1 2 13 15; do
1193 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1197 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1198 rm -rf conftest* confdefs.h
1199 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1202 # Predefined preprocessor variables.
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_NAME "$PACKAGE_NAME"
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1219 cat >>confdefs.h <<_ACEOF
1220 #define PACKAGE_STRING "$PACKAGE_STRING"
1224 cat >>confdefs.h <<_ACEOF
1225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1229 # Let the site file select an alternate cache file if it wants to.
1230 # Prefer explicitly selected file to automatically selected ones.
1231 if test -z "$CONFIG_SITE"; then
1232 if test "x$prefix" != xNONE; then
1233 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1235 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1238 for ac_site_file in $CONFIG_SITE; do
1239 if test -r "$ac_site_file"; then
1240 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1241 echo "$as_me: loading site script $ac_site_file" >&6;}
1242 sed 's
/^
/|
/' "$ac_site_file" >&5
1247 if test -r "$cache_file"; then
1248 # Some versions of bash will fail to source /dev/null (special
1249 # files actually), so we avoid doing that.
1250 if test -f "$cache_file"; then
1251 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1252 echo "$as_me: loading cache $cache_file" >&6;}
1254 [\\/]* | ?:[\\/]* ) . $cache_file;;
1255 *) . ./$cache_file;;
1259 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1260 echo "$as_me: creating cache $cache_file" >&6;}
1264 # Check that the precious variables saved in the cache have kept the same
1266 ac_cache_corrupted=false
1267 for ac_var in `(set) 2>&1 |
1268 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1269 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1270 eval ac_new_set=\$ac_env_${ac_var}_set
1271 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1272 eval ac_new_val="\$ac_env_${ac_var}_value"
1273 case $ac_old_set,$ac_new_set in
1275 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1276 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1277 ac_cache_corrupted=: ;;
1279 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1280 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1281 ac_cache_corrupted=: ;;
1284 if test "x$ac_old_val" != "x$ac_new_val"; then
1285 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1286 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1287 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1288 echo "$as_me: former value: $ac_old_val" >&2;}
1289 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1290 echo "$as_me: current value: $ac_new_val" >&2;}
1291 ac_cache_corrupted=:
1294 # Pass precious variables to config.status.
1295 if test "$ac_new_set" = set; then
1297 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1298 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1299 *) ac_arg=$ac_var=$ac_new_val ;;
1301 case " $ac_configure_args " in
1302 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1303 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1307 if $ac_cache_corrupted; then
1308 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1309 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1310 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1311 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1312 { (exit 1); exit 1; }; }
1316 ac_cpp='$CPP $CPPFLAGS'
1317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1318 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1341 for ac_dir in scripts/autoconf $srcdir/scripts/autoconf; do
1342 if test -f $ac_dir/install-sh; then
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh; then
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool; then
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf $srcdir/scripts/autoconf" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf $srcdir/scripts/autoconf" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1366 # Check what host we are running on.
1367 # If a target is not suggested, we use this one.
1368 # Note that what we call a target, Autoconf calls a host.
1369 # Make sure we can run config.sub.
1370 $ac_config_sub sun4 >/dev/null 2>&1 ||
1371 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1372 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1373 { (exit 1); exit 1; }; }
1375 echo "$as_me:$LINENO: checking build system type" >&5
1376 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1377 if test "${ac_cv_build+set}" = set; then
1378 echo $ECHO_N "(cached) $ECHO_C" >&6
1380 ac_cv_build_alias=$build_alias
1381 test -z "$ac_cv_build_alias" &&
1382 ac_cv_build_alias=`$ac_config_guess`
1383 test -z "$ac_cv_build_alias" &&
1384 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1385 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1386 { (exit 1); exit 1; }; }
1387 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1388 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1389 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1390 { (exit 1); exit 1; }; }
1393 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1394 echo "${ECHO_T}$ac_cv_build" >&6
1396 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1397 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1398 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1401 echo "$as_me:$LINENO: checking host system type" >&5
1402 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1403 if test "${ac_cv_host+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 ac_cv_host_alias=$host_alias
1407 test -z "$ac_cv_host_alias" &&
1408 ac_cv_host_alias=$ac_cv_build_alias
1409 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1410 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1411 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1412 { (exit 1); exit 1; }; }
1415 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1416 echo "${ECHO_T}$ac_cv_host" >&6
1418 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1419 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1420 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1424 # The AROS target is slightly different to the normal GNU style
1425 # format. We don't have the middle part
, and we reverse the order
1426 # of the $(CPU) and $(OS) bits.
1428 # Don't strip the version of the target yet, it might be
1429 # useful on some systems.
1431 echo "$as_me:$LINENO: checking for AROS style target" >&5
1432 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6
1434 if test "$target" = "NONE" ; then
1435 target
=$host_os-$host_cpu
1438 if test "$target" = "" ; then
1439 target
=$host_os-$host_cpu
1445 echo "$as_me:$LINENO: result: $target" >&5
1446 echo "${ECHO_T}$target" >&6
1448 #don't know where else to put this...
1451 # Parse the target field into something useful.
1453 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
1454 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
1457 aros_default_wbwidth
=800
1458 aros_default_wbheight
=600
1459 aros_default_wbdepth
=4
1462 # The first step is to find the host binaries.
1463 # Check for a compiler.
1465 ac_cpp
='$CPP $CPPFLAGS'
1466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1469 if test -n "$ac_tool_prefix"; then
1470 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1471 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1472 echo "$as_me:$LINENO: checking for $ac_word" >&5
1473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1474 if test "${ac_cv_prog_CC+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 if test -n "$CC"; then
1478 ac_cv_prog_CC
="$CC" # Let the user override the test.
1480 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1484 test -z "$as_dir" && as_dir
=.
1485 for ac_exec_ext
in '' $ac_executable_extensions; do
1486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1487 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 if test -n "$CC"; then
1498 echo "$as_me:$LINENO: result: $CC" >&5
1499 echo "${ECHO_T}$CC" >&6
1501 echo "$as_me:$LINENO: result: no" >&5
1502 echo "${ECHO_T}no" >&6
1506 if test -z "$ac_cv_prog_CC"; then
1508 # Extract the first word of "gcc", so it can be a program name with args.
1509 set dummy gcc
; ac_word
=$2
1510 echo "$as_me:$LINENO: checking for $ac_word" >&5
1511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 if test -n "$ac_ct_CC"; then
1516 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir
=.
1523 for ac_exec_ext
in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 ac_cv_prog_ac_ct_CC
="gcc"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1535 if test -n "$ac_ct_CC"; then
1536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1537 echo "${ECHO_T}$ac_ct_CC" >&6
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1548 if test -z "$CC"; then
1549 if test -n "$ac_tool_prefix"; then
1550 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1551 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$CC"; then
1558 ac_cv_prog_CC
="$CC" # Let the user override the test.
1560 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir
=.
1565 for ac_exec_ext
in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1577 if test -n "$CC"; then
1578 echo "$as_me:$LINENO: result: $CC" >&5
1579 echo "${ECHO_T}$CC" >&6
1581 echo "$as_me:$LINENO: result: no" >&5
1582 echo "${ECHO_T}no" >&6
1586 if test -z "$ac_cv_prog_CC"; then
1588 # Extract the first word of "cc", so it can be a program name with args.
1589 set dummy cc
; ac_word
=$2
1590 echo "$as_me:$LINENO: checking for $ac_word" >&5
1591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1592 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1593 echo $ECHO_N "(cached) $ECHO_C" >&6
1595 if test -n "$ac_ct_CC"; then
1596 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1598 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1602 test -z "$as_dir" && as_dir
=.
1603 for ac_exec_ext
in '' $ac_executable_extensions; do
1604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1605 ac_cv_prog_ac_ct_CC
="cc"
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1614 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1615 if test -n "$ac_ct_CC"; then
1616 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1617 echo "${ECHO_T}$ac_ct_CC" >&6
1619 echo "$as_me:$LINENO: result: no" >&5
1620 echo "${ECHO_T}no" >&6
1629 if test -z "$CC"; then
1630 # Extract the first word of "cc", so it can be a program name with args.
1631 set dummy cc
; ac_word
=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_CC+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$CC"; then
1638 ac_cv_prog_CC
="$CC" # Let the user override the test.
1641 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1645 test -z "$as_dir" && as_dir
=.
1646 for ac_exec_ext
in '' $ac_executable_extensions; do
1647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1648 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1649 ac_prog_rejected
=yes
1653 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1659 if test $ac_prog_rejected = yes; then
1660 # We found a bogon in the path, so make sure we never use it.
1661 set dummy
$ac_cv_prog_CC
1663 if test $# != 0; then
1664 # We chose a different compiler from the bogus one.
1665 # However, it has the same basename, so the bogon will be chosen
1666 # first if we set CC to just the basename; use the full file name.
1668 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1674 if test -n "$CC"; then
1675 echo "$as_me:$LINENO: result: $CC" >&5
1676 echo "${ECHO_T}$CC" >&6
1678 echo "$as_me:$LINENO: result: no" >&5
1679 echo "${ECHO_T}no" >&6
1683 if test -z "$CC"; then
1684 if test -n "$ac_tool_prefix"; then
1687 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1688 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1689 echo "$as_me:$LINENO: checking for $ac_word" >&5
1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1691 if test "${ac_cv_prog_CC+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1694 if test -n "$CC"; then
1695 ac_cv_prog_CC
="$CC" # Let the user override the test.
1697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1701 test -z "$as_dir" && as_dir
=.
1702 for ac_exec_ext
in '' $ac_executable_extensions; do
1703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1704 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1714 if test -n "$CC"; then
1715 echo "$as_me:$LINENO: result: $CC" >&5
1716 echo "${ECHO_T}$CC" >&6
1718 echo "$as_me:$LINENO: result: no" >&5
1719 echo "${ECHO_T}no" >&6
1722 test -n "$CC" && break
1725 if test -z "$CC"; then
1729 # Extract the first word of "$ac_prog", so it can be a program name with args.
1730 set dummy
$ac_prog; ac_word
=$2
1731 echo "$as_me:$LINENO: checking for $ac_word" >&5
1732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1733 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1734 echo $ECHO_N "(cached) $ECHO_C" >&6
1736 if test -n "$ac_ct_CC"; then
1737 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1739 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1743 test -z "$as_dir" && as_dir
=.
1744 for ac_exec_ext
in '' $ac_executable_extensions; do
1745 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1746 ac_cv_prog_ac_ct_CC
="$ac_prog"
1747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1756 if test -n "$ac_ct_CC"; then
1757 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1758 echo "${ECHO_T}$ac_ct_CC" >&6
1760 echo "$as_me:$LINENO: result: no" >&5
1761 echo "${ECHO_T}no" >&6
1764 test -n "$ac_ct_CC" && break
1773 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1774 See \`config.log' for more details." >&5
1775 echo "$as_me: error: no acceptable C compiler found in \$PATH
1776 See \`config.log' for more details." >&2;}
1777 { (exit 1); exit 1; }; }
1779 # Provide some information about the compiler.
1780 echo "$as_me:$LINENO:" \
1781 "checking for C compiler version" >&5
1782 ac_compiler
=`set X $ac_compile; echo $2`
1783 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1784 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787 (exit $ac_status); }
1788 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1789 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }
1793 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1794 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1797 (exit $ac_status); }
1799 cat >conftest.
$ac_ext <<_ACEOF
1802 cat confdefs.h
>>conftest.
$ac_ext
1803 cat >>conftest.
$ac_ext <<_ACEOF
1804 /* end confdefs.h. */
1814 ac_clean_files_save
=$ac_clean_files
1815 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1816 # Try to create an executable without -o first, disregard a.out.
1817 # It will help us diagnose broken compilers, and finding out an intuition
1819 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1820 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1821 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1822 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1823 (eval $ac_link_default) 2>&5
1825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1826 (exit $ac_status); }; then
1827 # Find the output, starting from the most likely. This scheme is
1828 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1831 # Be careful to initialize this variable, since it used to be cached.
1832 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1834 # b.out is created by i960 compilers.
1835 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1837 test -f "$ac_file" ||
continue
1839 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1842 # This is the source file.
1845 # We found the default executable, but exeext='' is most
1849 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1850 # FIXME: I believe we export ac_cv_exeext for Libtool,
1851 # but it would be cool to find out if it's true. Does anybody
1852 # maintain Libtool? --akim.
1860 echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.
$ac_ext >&5
1863 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1864 See \`config.log' for more details." >&5
1865 echo "$as_me: error: C compiler cannot create executables
1866 See \`config.log' for more details." >&2;}
1867 { (exit 77); exit 77; }; }
1870 ac_exeext
=$ac_cv_exeext
1871 echo "$as_me:$LINENO: result: $ac_file" >&5
1872 echo "${ECHO_T}$ac_file" >&6
1874 # Check the compiler produces executables we can run. If not, either
1875 # the compiler is broken, or we cross compile.
1876 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1877 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1878 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1879 # If not cross compiling, check that we can run a simple program.
1880 if test "$cross_compiling" != yes; then
1881 if { ac_try
='./$ac_file'
1882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1886 (exit $ac_status); }; }; then
1889 if test "$cross_compiling" = maybe
; then
1892 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1893 If you meant to cross compile, use \`--host'.
1894 See \`config.log' for more details." >&5
1895 echo "$as_me: error: cannot run C compiled programs.
1896 If you meant to cross compile, use \`--host'.
1897 See \`config.log' for more details." >&2;}
1898 { (exit 1); exit 1; }; }
1902 echo "$as_me:$LINENO: result: yes" >&5
1903 echo "${ECHO_T}yes" >&6
1905 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1906 ac_clean_files
=$ac_clean_files_save
1907 # Check the compiler produces executables we can run. If not, either
1908 # the compiler is broken, or we cross compile.
1909 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1910 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1911 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1912 echo "${ECHO_T}$cross_compiling" >&6
1914 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1915 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1917 (eval $ac_link) 2>&5
1919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1920 (exit $ac_status); }; then
1921 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1922 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1923 # work properly (i.e., refer to `conftest.exe'), while it won't with
1925 for ac_file
in conftest.exe conftest conftest.
*; do
1926 test -f "$ac_file" ||
continue
1928 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1929 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1936 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1937 See \`config.log' for more details." >&5
1938 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1939 See \`config.log' for more details." >&2;}
1940 { (exit 1); exit 1; }; }
1943 rm -f conftest
$ac_cv_exeext
1944 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1945 echo "${ECHO_T}$ac_cv_exeext" >&6
1947 rm -f conftest.
$ac_ext
1948 EXEEXT
=$ac_cv_exeext
1950 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1951 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1952 if test "${ac_cv_objext+set}" = set; then
1953 echo $ECHO_N "(cached) $ECHO_C" >&6
1955 cat >conftest.
$ac_ext <<_ACEOF
1958 cat confdefs.h
>>conftest.
$ac_ext
1959 cat >>conftest.
$ac_ext <<_ACEOF
1960 /* end confdefs.h. */
1970 rm -f conftest.o conftest.obj
1971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1972 (eval $ac_compile) 2>&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); }; then
1976 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1978 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1979 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1984 echo "$as_me: failed program was:" >&5
1985 sed 's/^/| /' conftest.
$ac_ext >&5
1987 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1988 See \`config.log' for more details." >&5
1989 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1990 See \`config.log' for more details." >&2;}
1991 { (exit 1); exit 1; }; }
1994 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1996 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1997 echo "${ECHO_T}$ac_cv_objext" >&6
1998 OBJEXT
=$ac_cv_objext
2000 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2001 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2002 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2003 echo $ECHO_N "(cached) $ECHO_C" >&6
2005 cat >conftest.
$ac_ext <<_ACEOF
2008 cat confdefs.h
>>conftest.
$ac_ext
2009 cat >>conftest.
$ac_ext <<_ACEOF
2010 /* end confdefs.h. */
2023 rm -f conftest.
$ac_objext
2024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2025 (eval $ac_compile) 2>conftest.er1
2027 grep -v '^ *+' conftest.er1
>conftest.err
2029 cat conftest.err
>&5
2030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031 (exit $ac_status); } &&
2032 { ac_try
='test -z "$ac_c_werror_flag"
2033 || test ! -s conftest.err'
2034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2038 (exit $ac_status); }; } &&
2039 { ac_try
='test -s conftest.$ac_objext'
2040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }; }; then
2047 echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.
$ac_ext >&5
2052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2053 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2056 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2057 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2058 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2059 ac_test_CFLAGS
=${CFLAGS+set}
2060 ac_save_CFLAGS
=$CFLAGS
2062 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2063 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2064 if test "${ac_cv_prog_cc_g+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 cat >conftest.
$ac_ext <<_ACEOF
2070 cat confdefs.h
>>conftest.
$ac_ext
2071 cat >>conftest.
$ac_ext <<_ACEOF
2072 /* end confdefs.h. */
2082 rm -f conftest.
$ac_objext
2083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2084 (eval $ac_compile) 2>conftest.er1
2086 grep -v '^ *+' conftest.er1
>conftest.err
2088 cat conftest.err
>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); } &&
2091 { ac_try
='test -z "$ac_c_werror_flag"
2092 || test ! -s conftest.err'
2093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2097 (exit $ac_status); }; } &&
2098 { ac_try
='test -s conftest.$ac_objext'
2099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2103 (exit $ac_status); }; }; then
2106 echo "$as_me: failed program was:" >&5
2107 sed 's/^/| /' conftest.
$ac_ext >&5
2111 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2113 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2114 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2115 if test "$ac_test_CFLAGS" = set; then
2116 CFLAGS
=$ac_save_CFLAGS
2117 elif test $ac_cv_prog_cc_g = yes; then
2118 if test "$GCC" = yes; then
2124 if test "$GCC" = yes; then
2130 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2131 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2132 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2135 ac_cv_prog_cc_stdc
=no
2137 cat >conftest.
$ac_ext <<_ACEOF
2140 cat confdefs.h
>>conftest.
$ac_ext
2141 cat >>conftest.
$ac_ext <<_ACEOF
2142 /* end confdefs.h. */
2145 #include <sys/types.h>
2146 #include <sys/stat.h>
2147 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2148 struct buf { int x; };
2149 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2150 static char *e (p, i)
2156 static char *f (char * (*g) (char **, int), char **p, ...)
2161 s = g (p, va_arg (v,int));
2166 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2167 function prototypes and stuff, but not '\xHH' hex character constants.
2168 These don't provoke an error unfortunately, instead are silently treated
2169 as 'x'. The following induces an error, until -std1 is added to get
2170 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2171 array size at least. It's necessary to write '\x00'==0 to get something
2172 that's true only with -std1. */
2173 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2175 int test (int i, double x);
2176 struct s1 {int (*f) (int a);};
2177 struct s2 {int (*f) (double a);};
2178 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2184 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2189 # Don't try gcc -ansi; that turns off useful extensions and
2190 # breaks some systems' header files.
2191 # AIX -qlanglvl=ansi
2192 # Ultrix and OSF/1 -std1
2193 # HP-UX 10.20 and later -Ae
2194 # HP-UX older versions -Aa -D_HPUX_SOURCE
2195 # SVR4 -Xc -D__EXTENSIONS__
2196 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2198 CC
="$ac_save_CC $ac_arg"
2199 rm -f conftest.
$ac_objext
2200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2201 (eval $ac_compile) 2>conftest.er1
2203 grep -v '^ *+' conftest.er1
>conftest.err
2205 cat conftest.err
>&5
2206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2207 (exit $ac_status); } &&
2208 { ac_try
='test -z "$ac_c_werror_flag"
2209 || test ! -s conftest.err'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; } &&
2215 { ac_try
='test -s conftest.$ac_objext'
2216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2220 (exit $ac_status); }; }; then
2221 ac_cv_prog_cc_stdc
=$ac_arg
2224 echo "$as_me: failed program was:" >&5
2225 sed 's/^/| /' conftest.
$ac_ext >&5
2228 rm -f conftest.err conftest.
$ac_objext
2230 rm -f conftest.
$ac_ext conftest.
$ac_objext
2235 case "x$ac_cv_prog_cc_stdc" in
2237 echo "$as_me:$LINENO: result: none needed" >&5
2238 echo "${ECHO_T}none needed" >&6 ;;
2240 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2241 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2242 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2245 # Some people use a C++ compiler to compile C. Since we use `exit',
2246 # in C++ we need to declare it. In case someone uses the same compiler
2247 # for both compiling C and C++ we need to have the C++ compiler decide
2248 # the declaration of exit, since it's the most demanding environment.
2249 cat >conftest.
$ac_ext <<_ACEOF
2254 rm -f conftest.
$ac_objext
2255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2256 (eval $ac_compile) 2>conftest.er1
2258 grep -v '^ *+' conftest.er1
>conftest.err
2260 cat conftest.err
>&5
2261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2262 (exit $ac_status); } &&
2263 { ac_try
='test -z "$ac_c_werror_flag"
2264 || test ! -s conftest.err'
2265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); }; } &&
2270 { ac_try
='test -s conftest.$ac_objext'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; }; then
2276 for ac_declaration
in \
2278 'extern "C" void std::exit (int) throw (); using std::exit;' \
2279 'extern "C" void std::exit (int); using std::exit;' \
2280 'extern "C" void exit (int) throw ();' \
2281 'extern "C" void exit (int);' \
2284 cat >conftest.
$ac_ext <<_ACEOF
2287 cat confdefs.h
>>conftest.
$ac_ext
2288 cat >>conftest.
$ac_ext <<_ACEOF
2289 /* end confdefs.h. */
2300 rm -f conftest.
$ac_objext
2301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2302 (eval $ac_compile) 2>conftest.er1
2304 grep -v '^ *+' conftest.er1
>conftest.err
2306 cat conftest.err
>&5
2307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308 (exit $ac_status); } &&
2309 { ac_try
='test -z "$ac_c_werror_flag"
2310 || test ! -s conftest.err'
2311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315 (exit $ac_status); }; } &&
2316 { ac_try
='test -s conftest.$ac_objext'
2317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321 (exit $ac_status); }; }; then
2324 echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.
$ac_ext >&5
2329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2330 cat >conftest.
$ac_ext <<_ACEOF
2333 cat confdefs.h
>>conftest.
$ac_ext
2334 cat >>conftest.
$ac_ext <<_ACEOF
2335 /* end confdefs.h. */
2345 rm -f conftest.
$ac_objext
2346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2347 (eval $ac_compile) 2>conftest.er1
2349 grep -v '^ *+' conftest.er1
>conftest.err
2351 cat conftest.err
>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); } &&
2354 { ac_try
='test -z "$ac_c_werror_flag"
2355 || test ! -s conftest.err'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; } &&
2361 { ac_try
='test -s conftest.$ac_objext'
2362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }; }; then
2369 echo "$as_me: failed program was:" >&5
2370 sed 's/^/| /' conftest.
$ac_ext >&5
2373 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2376 if test -n "$ac_declaration"; then
2377 echo '#ifdef __cplusplus' >>confdefs.h
2378 echo $ac_declaration >>confdefs.h
2379 echo '#endif' >>confdefs.h
2383 echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.
$ac_ext >&5
2387 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2389 ac_cpp
='$CPP $CPPFLAGS'
2390 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2391 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2392 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2396 ac_cpp
='$CPP $CPPFLAGS'
2397 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2398 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2399 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2400 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2401 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2402 # On Suns, sometimes $CPP names a directory.
2403 if test -n "$CPP" && test -d "$CPP"; then
2406 if test -z "$CPP"; then
2407 if test "${ac_cv_prog_CPP+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2410 # Double quotes because CPP needs to be expanded
2411 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2414 for ac_c_preproc_warn_flag
in '' yes
2416 # Use a header file that comes with gcc, so configuring glibc
2417 # with a fresh cross-compiler works.
2418 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2419 # <limits.h> exists even on freestanding compilers.
2420 # On the NeXT, cc -E runs the code through the compiler's parser,
2421 # not just through cpp. "Syntax error" is here to catch this case.
2422 cat >conftest.
$ac_ext <<_ACEOF
2425 cat confdefs.h
>>conftest.
$ac_ext
2426 cat >>conftest.
$ac_ext <<_ACEOF
2427 /* end confdefs.h. */
2429 # include <limits.h>
2431 # include <assert.h>
2435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2436 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2438 grep -v '^ *+' conftest.er1
>conftest.err
2440 cat conftest.err
>&5
2441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2442 (exit $ac_status); } >/dev
/null
; then
2443 if test -s conftest.err
; then
2444 ac_cpp_err
=$ac_c_preproc_warn_flag
2445 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2452 if test -z "$ac_cpp_err"; then
2455 echo "$as_me: failed program was:" >&5
2456 sed 's/^/| /' conftest.
$ac_ext >&5
2458 # Broken: fails on valid input.
2461 rm -f conftest.err conftest.
$ac_ext
2463 # OK, works on sane cases. Now check whether non-existent headers
2464 # can be detected and how.
2465 cat >conftest.
$ac_ext <<_ACEOF
2468 cat confdefs.h
>>conftest.
$ac_ext
2469 cat >>conftest.
$ac_ext <<_ACEOF
2470 /* end confdefs.h. */
2471 #include <ac_nonexistent.h>
2473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2474 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2476 grep -v '^ *+' conftest.er1
>conftest.err
2478 cat conftest.err
>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); } >/dev
/null
; then
2481 if test -s conftest.err
; then
2482 ac_cpp_err
=$ac_c_preproc_warn_flag
2483 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2490 if test -z "$ac_cpp_err"; then
2491 # Broken: success on invalid input.
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.
$ac_ext >&5
2497 # Passes both tests.
2501 rm -f conftest.err conftest.
$ac_ext
2504 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2505 rm -f conftest.err conftest.
$ac_ext
2506 if $ac_preproc_ok; then
2518 echo "$as_me:$LINENO: result: $CPP" >&5
2519 echo "${ECHO_T}$CPP" >&6
2521 for ac_c_preproc_warn_flag
in '' yes
2523 # Use a header file that comes with gcc, so configuring glibc
2524 # with a fresh cross-compiler works.
2525 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2526 # <limits.h> exists even on freestanding compilers.
2527 # On the NeXT, cc -E runs the code through the compiler's parser,
2528 # not just through cpp. "Syntax error" is here to catch this case.
2529 cat >conftest.
$ac_ext <<_ACEOF
2532 cat confdefs.h
>>conftest.
$ac_ext
2533 cat >>conftest.
$ac_ext <<_ACEOF
2534 /* end confdefs.h. */
2536 # include <limits.h>
2538 # include <assert.h>
2542 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2543 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2545 grep -v '^ *+' conftest.er1
>conftest.err
2547 cat conftest.err
>&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); } >/dev
/null
; then
2550 if test -s conftest.err
; then
2551 ac_cpp_err
=$ac_c_preproc_warn_flag
2552 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2559 if test -z "$ac_cpp_err"; then
2562 echo "$as_me: failed program was:" >&5
2563 sed 's/^/| /' conftest.
$ac_ext >&5
2565 # Broken: fails on valid input.
2568 rm -f conftest.err conftest.
$ac_ext
2570 # OK, works on sane cases. Now check whether non-existent headers
2571 # can be detected and how.
2572 cat >conftest.
$ac_ext <<_ACEOF
2575 cat confdefs.h
>>conftest.
$ac_ext
2576 cat >>conftest.
$ac_ext <<_ACEOF
2577 /* end confdefs.h. */
2578 #include <ac_nonexistent.h>
2580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2581 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2583 grep -v '^ *+' conftest.er1
>conftest.err
2585 cat conftest.err
>&5
2586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2587 (exit $ac_status); } >/dev
/null
; then
2588 if test -s conftest.err
; then
2589 ac_cpp_err
=$ac_c_preproc_warn_flag
2590 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2597 if test -z "$ac_cpp_err"; then
2598 # Broken: success on invalid input.
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.
$ac_ext >&5
2604 # Passes both tests.
2608 rm -f conftest.err conftest.
$ac_ext
2611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2612 rm -f conftest.err conftest.
$ac_ext
2613 if $ac_preproc_ok; then
2616 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2617 See \`config.log' for more details." >&5
2618 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2619 See \`config.log' for more details." >&2;}
2620 { (exit 1); exit 1; }; }
2624 ac_cpp
='$CPP $CPPFLAGS'
2625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2630 # Check for a compatible awk
2631 for ac_prog
in gawk nawk
2633 # Extract the first word of "$ac_prog", so it can be a program name with args.
2634 set dummy
$ac_prog; ac_word
=$2
2635 echo "$as_me:$LINENO: checking for $ac_word" >&5
2636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2637 if test "${ac_cv_prog_AWK+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -n "$AWK"; then
2641 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2643 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir
=.
2648 for ac_exec_ext
in '' $ac_executable_extensions; do
2649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2650 ac_cv_prog_AWK
="$ac_prog"
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2660 if test -n "$AWK"; then
2661 echo "$as_me:$LINENO: result: $AWK" >&5
2662 echo "${ECHO_T}$AWK" >&6
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2668 test -n "$AWK" && break
2671 if test "$AWK" = ""; then
2672 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
2673 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
2674 { (exit 1); exit 1; }; }
2676 # Extract the first word of "mmake", so it can be a program name with args.
2677 set dummy mmake
; ac_word
=$2
2678 echo "$as_me:$LINENO: checking for $ac_word" >&5
2679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2680 if test "${ac_cv_prog_MMAKE+set}" = set; then
2681 echo $ECHO_N "(cached) $ECHO_C" >&6
2683 if test -n "$MMAKE"; then
2684 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
2686 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2690 test -z "$as_dir" && as_dir
=.
2691 for ac_exec_ext
in '' $ac_executable_extensions; do
2692 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2693 ac_cv_prog_MMAKE
="mmake "
2694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2702 MMAKE
=$ac_cv_prog_MMAKE
2703 if test -n "$MMAKE"; then
2704 echo "$as_me:$LINENO: result: $MMAKE" >&5
2705 echo "${ECHO_T}$MMAKE" >&6
2707 echo "$as_me:$LINENO: result: no" >&5
2708 echo "${ECHO_T}no" >&6
2712 # Perform some default variable assignments. Note all of these will be
2713 # Regenerated from the script, so there is no need to cache them.
2716 if test "$GCC" = "yes"; then
2717 aros_gcc_ld
=`$CC -print-prog-name=ld`
2718 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
2719 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
2720 echo "$as_me:$LINENO: checking for $ac_word" >&5
2721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2722 if test "${ac_cv_path_aros_host_ld+set}" = set; then
2723 echo $ECHO_N "(cached) $ECHO_C" >&6
2725 case $aros_host_ld in
2727 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
2730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2731 for as_dir
in `dirname $aros_gcc_ld`
2734 test -z "$as_dir" && as_dir
=.
2735 for ac_exec_ext
in '' $ac_executable_extensions; do
2736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2737 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
2738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2747 aros_host_ld
=$ac_cv_path_aros_host_ld
2749 if test -n "$aros_host_ld"; then
2750 echo "$as_me:$LINENO: result: $aros_host_ld" >&5
2751 echo "${ECHO_T}$aros_host_ld" >&6
2753 echo "$as_me:$LINENO: result: no" >&5
2754 echo "${ECHO_T}no" >&6
2758 if test "$aros_host_ld" = ""; then
2759 # Extract the first word of "ld", so it can be a program name with args.
2760 set dummy ld
; ac_word
=$2
2761 echo "$as_me:$LINENO: checking for $ac_word" >&5
2762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2763 if test "${ac_cv_path_aros_host_ld+set}" = set; then
2764 echo $ECHO_N "(cached) $ECHO_C" >&6
2766 case $aros_host_ld in
2768 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
2771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2775 test -z "$as_dir" && as_dir
=.
2776 for ac_exec_ext
in '' $ac_executable_extensions; do
2777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2778 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
2779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 aros_host_ld
=$ac_cv_path_aros_host_ld
2790 if test -n "$aros_host_ld"; then
2791 echo "$as_me:$LINENO: result: $aros_host_ld" >&5
2792 echo "${ECHO_T}$aros_host_ld" >&6
2794 echo "$as_me:$LINENO: result: no" >&5
2795 echo "${ECHO_T}no" >&6
2799 if test "$aros_host_ld" = ""; then
2800 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
2801 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
2802 { (exit 1); exit 1; }; }
2804 aros_host_make
="make"
2805 aros_host_cflags
=$CFLAGS
2806 aros_host_ldflags
=$LDFLAGS
2807 aros_host_debug
="-g -O0"
2808 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
2809 aros_host_mkargs
="--no-print-directory"
2810 aros_host_incl
="/usr/include"
2811 aros_host_exe_suffix
="$EXEEXT"
2812 aros_host_lib_suffix
=""
2814 for ac_prog
in aclocal aclocal19
2816 # Extract the first word of "$ac_prog", so it can be a program name with args.
2817 set dummy
$ac_prog; ac_word
=$2
2818 echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2820 if test "${ac_cv_prog_aros_host_aclocal+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$aros_host_aclocal"; then
2824 ac_cv_prog_aros_host_aclocal
="$aros_host_aclocal" # Let the user override the test.
2826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir
=.
2831 for ac_exec_ext
in '' $ac_executable_extensions; do
2832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_aros_host_aclocal
="$ac_prog"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 aros_host_aclocal
=$ac_cv_prog_aros_host_aclocal
2843 if test -n "$aros_host_aclocal"; then
2844 echo "$as_me:$LINENO: result: $aros_host_aclocal" >&5
2845 echo "${ECHO_T}$aros_host_aclocal" >&6
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2851 test -n "$aros_host_aclocal" && break
2854 for ac_prog
in autoconf autoconf259 autoconf253
2856 # Extract the first word of "$ac_prog", so it can be a program name with args.
2857 set dummy
$ac_prog; ac_word
=$2
2858 echo "$as_me:$LINENO: checking for $ac_word" >&5
2859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2860 if test "${ac_cv_prog_aros_host_autoconf+set}" = set; then
2861 echo $ECHO_N "(cached) $ECHO_C" >&6
2863 if test -n "$aros_host_autoconf"; then
2864 ac_cv_prog_aros_host_autoconf
="$aros_host_autoconf" # Let the user override the test.
2866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2870 test -z "$as_dir" && as_dir
=.
2871 for ac_exec_ext
in '' $ac_executable_extensions; do
2872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2873 ac_cv_prog_aros_host_autoconf
="$ac_prog"
2874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 aros_host_autoconf
=$ac_cv_prog_aros_host_autoconf
2883 if test -n "$aros_host_autoconf"; then
2884 echo "$as_me:$LINENO: result: $aros_host_autoconf" >&5
2885 echo "${ECHO_T}$aros_host_autoconf" >&6
2887 echo "$as_me:$LINENO: result: no" >&5
2888 echo "${ECHO_T}no" >&6
2891 test -n "$aros_host_autoconf" && break
2894 for ac_prog
in autoheader autoheader259 autoheader253
2896 # Extract the first word of "$ac_prog", so it can be a program name with args.
2897 set dummy
$ac_prog; ac_word
=$2
2898 echo "$as_me:$LINENO: checking for $ac_word" >&5
2899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2900 if test "${ac_cv_prog_aros_host_autoheader+set}" = set; then
2901 echo $ECHO_N "(cached) $ECHO_C" >&6
2903 if test -n "$aros_host_autoheader"; then
2904 ac_cv_prog_aros_host_autoheader
="$aros_host_autoheader" # Let the user override the test.
2906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir
=.
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2913 ac_cv_prog_aros_host_autoheader
="$ac_prog"
2914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2922 aros_host_autoheader
=$ac_cv_prog_aros_host_autoheader
2923 if test -n "$aros_host_autoheader"; then
2924 echo "$as_me:$LINENO: result: $aros_host_autoheader" >&5
2925 echo "${ECHO_T}$aros_host_autoheader" >&6
2927 echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6
2931 test -n "$aros_host_autoheader" && break
2934 for ac_prog
in automake automake19
2936 # Extract the first word of "$ac_prog", so it can be a program name with args.
2937 set dummy
$ac_prog; ac_word
=$2
2938 echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2940 if test "${ac_cv_prog_aros_host_automake+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if test -n "$aros_host_automake"; then
2944 ac_cv_prog_aros_host_automake
="$aros_host_automake" # Let the user override the test.
2946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir
=.
2951 for ac_exec_ext
in '' $ac_executable_extensions; do
2952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_aros_host_automake
="$ac_prog"
2954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2962 aros_host_automake
=$ac_cv_prog_aros_host_automake
2963 if test -n "$aros_host_automake"; then
2964 echo "$as_me:$LINENO: result: $aros_host_automake" >&5
2965 echo "${ECHO_T}$aros_host_automake" >&6
2967 echo "$as_me:$LINENO: result: no" >&5
2968 echo "${ECHO_T}no" >&6
2971 test -n "$aros_host_automake" && break
2975 case "$aros_host_cc" in
2977 aros_host_cc_pipe
="-pipe"
2980 aros_host_cc_pipe
=""
2983 aros_host_cc_pipe
=""
2987 aros_target_cc_includes
=""
2989 # This is the main host configuration section. It is where the host
2990 # can change the values of any variables it needs to change. We do
2991 # not look at anything that compiles to the target yet, we'll get
2996 aros_host_arch
="linux"
2997 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3000 aros_host_cpu
="i386"
3003 aros_host_cpu
="x86_64"
3006 aros_host_cpu
="m68k"
3012 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3013 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3014 aros_host_cpu
="$host_cpu"
3020 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe -I/usr/local/include"
3021 aros_host_make
="gmake"
3022 aros_host_arch
="freebsd"
3023 aros_host_cpu
="i386"
3025 aros_host_ldflags
="$aros_host_ldflags -L/usr/local/lib -liconv"
3030 aros_object_format
="elf_i386"
3034 aros_object_format
="elf_i386_fbsd"
3041 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3042 aros_host_arch
="darwin"
3045 aros_host_cpu
="i386"
3051 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3052 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3053 aros_host_cpu
="$host_cpu"
3057 aros_host_ldflags
="$aros_host_ldflags -liconv"
3062 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3063 aros_host_make
="gmake"
3064 aros_host_arch
="netbsd"
3067 aros_host_cpu
="i386"
3070 aros_host_cpu
="m68k"
3073 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3074 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3075 aros_host_cpu
="$host_cpu"
3078 aros_host_lib_suffix
=".0.0"
3082 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3083 aros_host_make
="gmake"
3084 aros_host_arch
="openbsd"
3087 aros_host_cpu
="i386"
3090 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3091 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3092 aros_host_cpu
="$host_cpu"
3098 aros_host_arch
="solaris"
3099 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3102 aros_host_cpu
="sparc"
3105 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3106 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3107 aros_host_cpu
="$host_cpu"
3113 aros_host_arch
="morphos"
3118 aros_host_arch
="amiga"
3123 TOUCH
="/gg/bin/touch"
3126 aros_host_cpu
="m68k"
3132 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3133 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3134 aros_host_cpu
="$host_cpu"
3140 aros_host_arch
="cygwin"
3141 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
3144 aros_host_cpu
="i386"
3147 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
3148 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
3149 aros_host_cpu
="$host_cpu"
3154 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
3155 echo "$as_me: error: Unsupported host architecture $host" >&2;}
3156 { (exit 1); exit 1; }; }
3160 # Extract the first word of "ar", so it can be a program name with args.
3161 set dummy
ar; ac_word
=$2
3162 echo "$as_me:$LINENO: checking for $ac_word" >&5
3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3164 if test "${ac_cv_prog_aros_host_ar+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 if test -n "$aros_host_ar"; then
3168 ac_cv_prog_aros_host_ar
="$aros_host_ar" # Let the user override the test.
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3177 ac_cv_prog_aros_host_ar
="ar cr"
3178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3186 aros_host_ar
=$ac_cv_prog_aros_host_ar
3187 if test -n "$aros_host_ar"; then
3188 echo "$as_me:$LINENO: result: $aros_host_ar" >&5
3189 echo "${ECHO_T}$aros_host_ar" >&6
3191 echo "$as_me:$LINENO: result: no" >&5
3192 echo "${ECHO_T}no" >&6
3195 if test "$aros_host_ar" = ""; then
3196 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
3197 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
3198 { (exit 1); exit 1; }; }
3200 # Extract the first word of "ranlib", so it can be a program name with args.
3201 set dummy ranlib
; ac_word
=$2
3202 echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3204 if test "${ac_cv_prog_aros_host_ranlib+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 if test -n "$aros_host_ranlib"; then
3208 ac_cv_prog_aros_host_ranlib
="$aros_host_ranlib" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3217 ac_cv_prog_aros_host_ranlib
="ranlib "
3218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3226 aros_host_ranlib
=$ac_cv_prog_aros_host_ranlib
3227 if test -n "$aros_host_ranlib"; then
3228 echo "$as_me:$LINENO: result: $aros_host_ranlib" >&5
3229 echo "${ECHO_T}$aros_host_ranlib" >&6
3231 echo "$as_me:$LINENO: result: no" >&5
3232 echo "${ECHO_T}no" >&6
3235 if test "$aros_host_ranlib" = ""; then
3236 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
3237 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
3238 { (exit 1); exit 1; }; }
3240 # Extract the first word of "strip", so it can be a program name with args.
3241 set dummy strip
; ac_word
=$2
3242 echo "$as_me:$LINENO: checking for $ac_word" >&5
3243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3244 if test "${ac_cv_prog_aros_host_strip+set}" = set; then
3245 echo $ECHO_N "(cached) $ECHO_C" >&6
3247 if test -n "$aros_host_strip"; then
3248 ac_cv_prog_aros_host_strip
="$aros_host_strip" # Let the user override the test.
3250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3254 test -z "$as_dir" && as_dir
=.
3255 for ac_exec_ext
in '' $ac_executable_extensions; do
3256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3257 ac_cv_prog_aros_host_strip
="strip "
3258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3266 aros_host_strip
=$ac_cv_prog_aros_host_strip
3267 if test -n "$aros_host_strip"; then
3268 echo "$as_me:$LINENO: result: $aros_host_strip" >&5
3269 echo "${ECHO_T}$aros_host_strip" >&6
3271 echo "$as_me:$LINENO: result: no" >&5
3272 echo "${ECHO_T}no" >&6
3275 if test "$aros_host_strip" = ""; then
3276 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
3277 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
3278 { (exit 1); exit 1; }; }
3281 # Extract the first word of "rm", so it can be a program name with args.
3282 set dummy
rm; ac_word
=$2
3283 echo "$as_me:$LINENO: checking for $ac_word" >&5
3284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3285 if test "${ac_cv_prog_RM+set}" = set; then
3286 echo $ECHO_N "(cached) $ECHO_C" >&6
3288 if test -n "$RM"; then
3289 ac_cv_prog_RM
="$RM" # Let the user override the test.
3291 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3295 test -z "$as_dir" && as_dir
=.
3296 for ac_exec_ext
in '' $ac_executable_extensions; do
3297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3298 ac_cv_prog_RM
="rm -rf"
3299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3308 if test -n "$RM"; then
3309 echo "$as_me:$LINENO: result: $RM" >&5
3310 echo "${ECHO_T}$RM" >&6
3312 echo "$as_me:$LINENO: result: no" >&5
3313 echo "${ECHO_T}no" >&6
3316 if test "$RM" = ""; then
3317 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
3318 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
3319 { (exit 1); exit 1; }; }
3321 # Extract the first word of "cp", so it can be a program name with args.
3322 set dummy
cp; ac_word
=$2
3323 echo "$as_me:$LINENO: checking for $ac_word" >&5
3324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3325 if test "${ac_cv_prog_CP+set}" = set; then
3326 echo $ECHO_N "(cached) $ECHO_C" >&6
3328 if test -n "$CP"; then
3329 ac_cv_prog_CP
="$CP" # Let the user override the test.
3331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3335 test -z "$as_dir" && as_dir
=.
3336 for ac_exec_ext
in '' $ac_executable_extensions; do
3337 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3348 if test -n "$CP"; then
3349 echo "$as_me:$LINENO: result: $CP" >&5
3350 echo "${ECHO_T}$CP" >&6
3352 echo "$as_me:$LINENO: result: no" >&5
3353 echo "${ECHO_T}no" >&6
3356 if test "$CP" = ""; then
3357 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
3358 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
3359 { (exit 1); exit 1; }; }
3361 # Extract the first word of "mv", so it can be a program name with args.
3362 set dummy
mv; ac_word
=$2
3363 echo "$as_me:$LINENO: checking for $ac_word" >&5
3364 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3365 if test "${ac_cv_prog_MV+set}" = set; then
3366 echo $ECHO_N "(cached) $ECHO_C" >&6
3368 if test -n "$MV"; then
3369 ac_cv_prog_MV
="$MV" # Let the user override the test.
3371 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3375 test -z "$as_dir" && as_dir
=.
3376 for ac_exec_ext
in '' $ac_executable_extensions; do
3377 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3379 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3388 if test -n "$MV"; then
3389 echo "$as_me:$LINENO: result: $MV" >&5
3390 echo "${ECHO_T}$MV" >&6
3392 echo "$as_me:$LINENO: result: no" >&5
3393 echo "${ECHO_T}no" >&6
3396 if test "$MV" = ""; then
3397 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
3398 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
3399 { (exit 1); exit 1; }; }
3401 # Extract the first word of "echo", so it can be a program name with args.
3402 set dummy
echo; ac_word
=$2
3403 echo "$as_me:$LINENO: checking for $ac_word" >&5
3404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3405 if test "${ac_cv_prog_ECHO+set}" = set; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 if test -n "$ECHO"; then
3409 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
3411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3415 test -z "$as_dir" && as_dir
=.
3416 for ac_exec_ext
in '' $ac_executable_extensions; do
3417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3418 ac_cv_prog_ECHO
="echo "
3419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 ECHO
=$ac_cv_prog_ECHO
3428 if test -n "$ECHO"; then
3429 echo "$as_me:$LINENO: result: $ECHO" >&5
3430 echo "${ECHO_T}$ECHO" >&6
3432 echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6
3436 if test "$ECHO" = ""; then
3437 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
3438 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
3439 { (exit 1); exit 1; }; }
3441 # Extract the first word of "mkdir", so it can be a program name with args.
3442 set dummy mkdir
; ac_word
=$2
3443 echo "$as_me:$LINENO: checking for $ac_word" >&5
3444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3445 if test "${ac_cv_prog_MKDIR+set}" = set; then
3446 echo $ECHO_N "(cached) $ECHO_C" >&6
3448 if test -n "$MKDIR"; then
3449 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
3451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3455 test -z "$as_dir" && as_dir
=.
3456 for ac_exec_ext
in '' $ac_executable_extensions; do
3457 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3458 ac_cv_prog_MKDIR
="mkdir -p"
3459 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3467 MKDIR
=$ac_cv_prog_MKDIR
3468 if test -n "$MKDIR"; then
3469 echo "$as_me:$LINENO: result: $MKDIR" >&5
3470 echo "${ECHO_T}$MKDIR" >&6
3472 echo "$as_me:$LINENO: result: no" >&5
3473 echo "${ECHO_T}no" >&6
3476 if test "$MKDIR" = ""; then
3477 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
3478 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
3479 { (exit 1); exit 1; }; }
3481 # Extract the first word of "touch", so it can be a program name with args.
3482 set dummy
touch; ac_word
=$2
3483 echo "$as_me:$LINENO: checking for $ac_word" >&5
3484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3485 if test "${ac_cv_prog_TOUCH+set}" = set; then
3486 echo $ECHO_N "(cached) $ECHO_C" >&6
3488 if test -n "$TOUCH"; then
3489 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
3491 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3495 test -z "$as_dir" && as_dir
=.
3496 for ac_exec_ext
in '' $ac_executable_extensions; do
3497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498 ac_cv_prog_TOUCH
="touch "
3499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 TOUCH
=$ac_cv_prog_TOUCH
3508 if test -n "$TOUCH"; then
3509 echo "$as_me:$LINENO: result: $TOUCH" >&5
3510 echo "${ECHO_T}$TOUCH" >&6
3512 echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6
3516 if test "$TOUCH" = ""; then
3517 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
3518 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
3519 { (exit 1); exit 1; }; }
3521 # Extract the first word of "sort", so it can be a program name with args.
3522 set dummy
sort; ac_word
=$2
3523 echo "$as_me:$LINENO: checking for $ac_word" >&5
3524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3525 if test "${ac_cv_prog_SORT+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 if test -n "$SORT"; then
3529 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
3531 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir
=.
3536 for ac_exec_ext
in '' $ac_executable_extensions; do
3537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538 ac_cv_prog_SORT
="sort "
3539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 SORT
=$ac_cv_prog_SORT
3548 if test -n "$SORT"; then
3549 echo "$as_me:$LINENO: result: $SORT" >&5
3550 echo "${ECHO_T}$SORT" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3556 if test "$SORT" = ""; then
3557 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
3558 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
3559 { (exit 1); exit 1; }; }
3561 # Extract the first word of "uniq", so it can be a program name with args.
3562 set dummy
uniq; ac_word
=$2
3563 echo "$as_me:$LINENO: checking for $ac_word" >&5
3564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3565 if test "${ac_cv_prog_UNIQ+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 if test -n "$UNIQ"; then
3569 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
3571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3575 test -z "$as_dir" && as_dir
=.
3576 for ac_exec_ext
in '' $ac_executable_extensions; do
3577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3578 ac_cv_prog_UNIQ
="uniq "
3579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 UNIQ
=$ac_cv_prog_UNIQ
3588 if test -n "$UNIQ"; then
3589 echo "$as_me:$LINENO: result: $UNIQ" >&5
3590 echo "${ECHO_T}$UNIQ" >&6
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3596 if test "$UNIQ" = ""; then
3597 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
3598 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
3599 { (exit 1); exit 1; }; }
3601 # Extract the first word of "true", so it can be a program name with args.
3602 set dummy true
; ac_word
=$2
3603 echo "$as_me:$LINENO: checking for $ac_word" >&5
3604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3605 if test "${ac_cv_prog_NOP+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3608 if test -n "$NOP"; then
3609 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
3611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3615 test -z "$as_dir" && as_dir
=.
3616 for ac_exec_ext
in '' $ac_executable_extensions; do
3617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3618 ac_cv_prog_NOP
="true "
3619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 if test -n "$NOP"; then
3629 echo "$as_me:$LINENO: result: $NOP" >&5
3630 echo "${ECHO_T}$NOP" >&6
3632 echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6
3636 if test "$NOP" = ""; then
3637 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
3638 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
3639 { (exit 1); exit 1; }; }
3641 # Extract the first word of "cat", so it can be a program name with args.
3642 set dummy
cat; ac_word
=$2
3643 echo "$as_me:$LINENO: checking for $ac_word" >&5
3644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3645 if test "${ac_cv_prog_CAT+set}" = set; then
3646 echo $ECHO_N "(cached) $ECHO_C" >&6
3648 if test -n "$CAT"; then
3649 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
3651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3655 test -z "$as_dir" && as_dir
=.
3656 for ac_exec_ext
in '' $ac_executable_extensions; do
3657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3658 ac_cv_prog_CAT
="cat "
3659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 if test -n "$CAT"; then
3669 echo "$as_me:$LINENO: result: $CAT" >&5
3670 echo "${ECHO_T}$CAT" >&6
3672 echo "$as_me:$LINENO: result: no" >&5
3673 echo "${ECHO_T}no" >&6
3676 if test "$CAT" = ""; then
3677 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
3678 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
3679 { (exit 1); exit 1; }; }
3681 # Extract the first word of "bison", so it can be a program name with args.
3682 set dummy bison
; ac_word
=$2
3683 echo "$as_me:$LINENO: checking for $ac_word" >&5
3684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3685 if test "${ac_cv_prog_BISON+set}" = set; then
3686 echo $ECHO_N "(cached) $ECHO_C" >&6
3688 if test -n "$BISON"; then
3689 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
3691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3695 test -z "$as_dir" && as_dir
=.
3696 for ac_exec_ext
in '' $ac_executable_extensions; do
3697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3698 ac_cv_prog_BISON
="bison "
3699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 BISON
=$ac_cv_prog_BISON
3708 if test -n "$BISON"; then
3709 echo "$as_me:$LINENO: result: $BISON" >&5
3710 echo "${ECHO_T}$BISON" >&6
3712 echo "$as_me:$LINENO: result: no" >&5
3713 echo "${ECHO_T}no" >&6
3716 if test "$BISON" = ""; then
3717 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
3718 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
3719 { (exit 1); exit 1; }; }
3721 # Extract the first word of "flex", so it can be a program name with args.
3722 set dummy flex
; ac_word
=$2
3723 echo "$as_me:$LINENO: checking for $ac_word" >&5
3724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3725 if test "${ac_cv_prog_FLEX+set}" = set; then
3726 echo $ECHO_N "(cached) $ECHO_C" >&6
3728 if test -n "$FLEX"; then
3729 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
3731 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir
=.
3736 for ac_exec_ext
in '' $ac_executable_extensions; do
3737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3738 ac_cv_prog_FLEX
="flex "
3739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 FLEX
=$ac_cv_prog_FLEX
3748 if test -n "$FLEX"; then
3749 echo "$as_me:$LINENO: result: $FLEX" >&5
3750 echo "${ECHO_T}$FLEX" >&6
3752 echo "$as_me:$LINENO: result: no" >&5
3753 echo "${ECHO_T}no" >&6
3756 if test "$FLEX" = ""; then
3757 { { echo "$as_me:$LINENO: error: flex is required to build AROS. Please install and run configure again." >&5
3758 echo "$as_me: error: flex is required to build AROS. Please install and run configure again." >&2;}
3759 { (exit 1); exit 1; }; }
3761 # Extract the first word of "pngtopnm", so it can be a program name with args.
3762 set dummy pngtopnm
; ac_word
=$2
3763 echo "$as_me:$LINENO: checking for $ac_word" >&5
3764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3765 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 if test -n "$PNGTOPNM"; then
3769 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
3771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3775 test -z "$as_dir" && as_dir
=.
3776 for ac_exec_ext
in '' $ac_executable_extensions; do
3777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3778 ac_cv_prog_PNGTOPNM
="pngtopnm "
3779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3787 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
3788 if test -n "$PNGTOPNM"; then
3789 echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
3790 echo "${ECHO_T}$PNGTOPNM" >&6
3792 echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6
3796 if test "$PNGTOPNM" = ""; then
3797 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
3798 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
3799 { (exit 1); exit 1; }; }
3801 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
3802 set dummy ppmtoilbm
; ac_word
=$2
3803 echo "$as_me:$LINENO: checking for $ac_word" >&5
3804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3805 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 if test -n "$PPMTOILBM"; then
3809 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
3811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3815 test -z "$as_dir" && as_dir
=.
3816 for ac_exec_ext
in '' $ac_executable_extensions; do
3817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_PPMTOILBM
="ppmtoilbm "
3819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3827 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
3828 if test -n "$PPMTOILBM"; then
3829 echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
3830 echo "${ECHO_T}$PPMTOILBM" >&6
3832 echo "$as_me:$LINENO: result: no" >&5
3833 echo "${ECHO_T}no" >&6
3836 if test "$PPMTOILBM" = ""; then
3837 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
3838 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
3839 { (exit 1); exit 1; }; }
3841 # Extract the first word of "sed", so it can be a program name with args.
3842 set dummy
sed; ac_word
=$2
3843 echo "$as_me:$LINENO: checking for $ac_word" >&5
3844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3845 if test "${ac_cv_prog_SED+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 if test -n "$SED"; then
3849 ac_cv_prog_SED
="$SED" # Let the user override the test.
3851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3855 test -z "$as_dir" && as_dir
=.
3856 for ac_exec_ext
in '' $ac_executable_extensions; do
3857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_SED
="sed "
3859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3868 if test -n "$SED"; then
3869 echo "$as_me:$LINENO: result: $SED" >&5
3870 echo "${ECHO_T}$SED" >&6
3872 echo "$as_me:$LINENO: result: no" >&5
3873 echo "${ECHO_T}no" >&6
3876 if test "$SED" = ""; then
3877 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
3878 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
3879 { (exit 1); exit 1; }; }
3881 # Extract the first word of "chmod", so it can be a program name with args.
3882 set dummy
chmod; ac_word
=$2
3883 echo "$as_me:$LINENO: checking for $ac_word" >&5
3884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3885 if test "${ac_cv_prog_CHMOD+set}" = set; then
3886 echo $ECHO_N "(cached) $ECHO_C" >&6
3888 if test -n "$CHMOD"; then
3889 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
3891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3895 test -z "$as_dir" && as_dir
=.
3896 for ac_exec_ext
in '' $ac_executable_extensions; do
3897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3898 ac_cv_prog_CHMOD
="chmod "
3899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 CHMOD
=$ac_cv_prog_CHMOD
3908 if test -n "$CHMOD"; then
3909 echo "$as_me:$LINENO: result: $CHMOD" >&5
3910 echo "${ECHO_T}$CHMOD" >&6
3912 echo "$as_me:$LINENO: result: no" >&5
3913 echo "${ECHO_T}no" >&6
3916 if test "$CHMOD" = ""; then
3917 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
3918 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
3919 { (exit 1); exit 1; }; }
3926 if test -n "$PYTHON"; then
3927 # If the user set $PYTHON, use it and don't search something else.
3928 echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
3929 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6
3930 prog
="import sys, string
3931 # split strings by '.' and convert to numeric. Append some zeros
3932 # because we need at least 4 digits for the hex conversion.
3933 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
3935 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3936 sys.exit(sys.hexversion < minverhex)"
3937 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3938 ($PYTHON -c "$prog") >&5 2>&5
3940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3941 (exit $ac_status); }; then
3942 echo "$as_me:$LINENO: result: yes" >&5
3943 echo "${ECHO_T}yes" >&6
3945 { { echo "$as_me:$LINENO: error: too old" >&5
3946 echo "$as_me: error: too old" >&2;}
3947 { (exit 1); exit 1; }; }
3951 # Otherwise, try each interpreter until we find one that satisfies
3953 echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
3954 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6
3955 if test "${am_cv_pathless_PYTHON+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3959 for am_cv_pathless_PYTHON
in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none
; do
3960 test "$am_cv_pathless_PYTHON" = none
&& break
3961 prog
="import sys, string
3962 # split strings by '.' and convert to numeric. Append some zeros
3963 # because we need at least 4 digits for the hex conversion.
3964 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
3966 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3967 sys.exit(sys.hexversion < minverhex)"
3968 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3969 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; then
3978 echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
3979 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
3980 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3981 if test "$am_cv_pathless_PYTHON" = none
; then
3984 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3985 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
3986 echo "$as_me:$LINENO: checking for $ac_word" >&5
3987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3988 if test "${ac_cv_path_PYTHON+set}" = set; then
3989 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
3996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4000 test -z "$as_dir" && as_dir
=.
4001 for ac_exec_ext
in '' $ac_executable_extensions; do
4002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4003 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
4004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4013 PYTHON
=$ac_cv_path_PYTHON
4015 if test -n "$PYTHON"; then
4016 echo "$as_me:$LINENO: result: $PYTHON" >&5
4017 echo "${ECHO_T}$PYTHON" >&6
4019 echo "$as_me:$LINENO: result: no" >&5
4020 echo "${ECHO_T}no" >&6
4024 am_display_PYTHON
=$am_cv_pathless_PYTHON
4028 if test "$PYTHON" = :; then
4029 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
4030 echo "$as_me: error: no suitable Python interpreter found" >&2;}
4031 { (exit 1); exit 1; }; }
4035 echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
4036 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
4037 if test "${am_cv_python_version+set}" = set; then
4038 echo $ECHO_N "(cached) $ECHO_C" >&6
4040 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
4042 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
4043 echo "${ECHO_T}$am_cv_python_version" >&6
4044 PYTHON_VERSION
=$am_cv_python_version
4048 PYTHON_PREFIX
='${prefix}'
4050 PYTHON_EXEC_PREFIX
='${exec_prefix}'
4054 echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
4055 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
4056 if test "${am_cv_python_platform+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4059 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
4061 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
4062 echo "${ECHO_T}$am_cv_python_platform" >&6
4063 PYTHON_PLATFORM
=$am_cv_python_platform
4068 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
4069 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
4070 if test "${am_cv_python_pythondir+set}" = set; then
4071 echo $ECHO_N "(cached) $ECHO_C" >&6
4073 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
4074 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
4076 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
4077 echo "${ECHO_T}$am_cv_python_pythondir" >&6
4078 pythondir
=$am_cv_python_pythondir
4082 pkgpythondir
=\
${pythondir}/$PACKAGE
4085 echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
4086 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
4087 if test "${am_cv_python_pyexecdir+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4090 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
4091 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
4093 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
4094 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
4095 pyexecdir
=$am_cv_python_pyexecdir
4099 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
4117 # Check for some includes for the X11 HIDD and the kernel
4120 echo "$as_me:$LINENO: checking for egrep" >&5
4121 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4122 if test "${ac_cv_prog_egrep+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4125 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4126 then ac_cv_prog_egrep
='grep -E'
4127 else ac_cv_prog_egrep
='egrep'
4130 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4131 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4132 EGREP
=$ac_cv_prog_egrep
4135 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4136 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4137 if test "${ac_cv_header_stdc+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 cat >conftest.
$ac_ext <<_ACEOF
4143 cat confdefs.h
>>conftest.
$ac_ext
4144 cat >>conftest.
$ac_ext <<_ACEOF
4145 /* end confdefs.h. */
4159 rm -f conftest.
$ac_objext
4160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4161 (eval $ac_compile) 2>conftest.er1
4163 grep -v '^ *+' conftest.er1
>conftest.err
4165 cat conftest.err
>&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); } &&
4168 { ac_try
='test -z "$ac_c_werror_flag"
4169 || test ! -s conftest.err'
4170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4174 (exit $ac_status); }; } &&
4175 { ac_try
='test -s conftest.$ac_objext'
4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); }; }; then
4181 ac_cv_header_stdc
=yes
4183 echo "$as_me: failed program was:" >&5
4184 sed 's/^/| /' conftest.
$ac_ext >&5
4186 ac_cv_header_stdc
=no
4188 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4190 if test $ac_cv_header_stdc = yes; then
4191 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4192 cat >conftest.
$ac_ext <<_ACEOF
4195 cat confdefs.h
>>conftest.
$ac_ext
4196 cat >>conftest.
$ac_ext <<_ACEOF
4197 /* end confdefs.h. */
4201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4202 $EGREP "memchr" >/dev
/null
2>&1; then
4205 ac_cv_header_stdc
=no
4211 if test $ac_cv_header_stdc = yes; then
4212 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4213 cat >conftest.
$ac_ext <<_ACEOF
4216 cat confdefs.h
>>conftest.
$ac_ext
4217 cat >>conftest.
$ac_ext <<_ACEOF
4218 /* end confdefs.h. */
4222 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4223 $EGREP "free" >/dev
/null
2>&1; then
4226 ac_cv_header_stdc
=no
4232 if test $ac_cv_header_stdc = yes; then
4233 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4234 if test "$cross_compiling" = yes; then
4237 cat >conftest.
$ac_ext <<_ACEOF
4240 cat confdefs.h
>>conftest.
$ac_ext
4241 cat >>conftest.
$ac_ext <<_ACEOF
4242 /* end confdefs.h. */
4244 #if ((' ' & 0x0FF) == 0x020)
4245 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4246 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4248 # define ISLOWER(c) \
4249 (('a' <= (c) && (c) <= 'i') \
4250 || ('j' <= (c) && (c) <= 'r') \
4251 || ('s' <= (c) && (c) <= 'z'))
4252 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4255 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4260 for (i = 0; i < 256; i++)
4261 if (XOR (islower (i), ISLOWER (i))
4262 || toupper (i) != TOUPPER (i))
4267 rm -f conftest
$ac_exeext
4268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4269 (eval $ac_link) 2>&5
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); }; }; then
4280 echo "$as_me: program exited with status $ac_status" >&5
4281 echo "$as_me: failed program was:" >&5
4282 sed 's/^/| /' conftest.
$ac_ext >&5
4285 ac_cv_header_stdc
=no
4287 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4291 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4292 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4293 if test $ac_cv_header_stdc = yes; then
4295 cat >>confdefs.h
<<\_ACEOF
4296 #define STDC_HEADERS 1
4301 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4311 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4312 inttypes.h stdint.h unistd.h
4314 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4315 echo "$as_me:$LINENO: checking for $ac_header" >&5
4316 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4317 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4318 echo $ECHO_N "(cached) $ECHO_C" >&6
4320 cat >conftest.
$ac_ext <<_ACEOF
4323 cat confdefs.h
>>conftest.
$ac_ext
4324 cat >>conftest.
$ac_ext <<_ACEOF
4325 /* end confdefs.h. */
4326 $ac_includes_default
4328 #include <$ac_header>
4330 rm -f conftest.
$ac_objext
4331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4332 (eval $ac_compile) 2>conftest.er1
4334 grep -v '^ *+' conftest.er1
>conftest.err
4336 cat conftest.err
>&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); } &&
4339 { ac_try
='test -z "$ac_c_werror_flag"
4340 || test ! -s conftest.err'
4341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345 (exit $ac_status); }; } &&
4346 { ac_try
='test -s conftest.$ac_objext'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; }; then
4352 eval "$as_ac_Header=yes"
4354 echo "$as_me: failed program was:" >&5
4355 sed 's/^/| /' conftest.
$ac_ext >&5
4357 eval "$as_ac_Header=no"
4359 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4363 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4364 cat >>confdefs.h
<<_ACEOF
4365 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4382 for ac_header
in sys
/ipc.h sys
/shm.h \
4383 sys
/mmap.h sys
/mman.h sysexits.h \
4384 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
4387 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4389 echo "$as_me:$LINENO: checking for $ac_header" >&5
4390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4392 echo $ECHO_N "(cached) $ECHO_C" >&6
4394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4397 # Is the header compilable?
4398 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4399 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4400 cat >conftest.
$ac_ext <<_ACEOF
4403 cat confdefs.h
>>conftest.
$ac_ext
4404 cat >>conftest.
$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4406 $ac_includes_default
4407 #include <$ac_header>
4409 rm -f conftest.
$ac_objext
4410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4411 (eval $ac_compile) 2>conftest.er1
4413 grep -v '^ *+' conftest.er1
>conftest.err
4415 cat conftest.err
>&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } &&
4418 { ac_try
='test -z "$ac_c_werror_flag"
4419 || test ! -s conftest.err'
4420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4424 (exit $ac_status); }; } &&
4425 { ac_try
='test -s conftest.$ac_objext'
4426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4430 (exit $ac_status); }; }; then
4431 ac_header_compiler
=yes
4433 echo "$as_me: failed program was:" >&5
4434 sed 's/^/| /' conftest.
$ac_ext >&5
4436 ac_header_compiler
=no
4438 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4439 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4440 echo "${ECHO_T}$ac_header_compiler" >&6
4442 # Is the header present?
4443 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4444 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4445 cat >conftest.
$ac_ext <<_ACEOF
4448 cat confdefs.h
>>conftest.
$ac_ext
4449 cat >>conftest.
$ac_ext <<_ACEOF
4450 /* end confdefs.h. */
4451 #include <$ac_header>
4453 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4454 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4456 grep -v '^ *+' conftest.er1
>conftest.err
4458 cat conftest.err
>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); } >/dev
/null
; then
4461 if test -s conftest.err
; then
4462 ac_cpp_err
=$ac_c_preproc_warn_flag
4463 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4470 if test -z "$ac_cpp_err"; then
4471 ac_header_preproc
=yes
4473 echo "$as_me: failed program was:" >&5
4474 sed 's/^/| /' conftest.
$ac_ext >&5
4476 ac_header_preproc
=no
4478 rm -f conftest.err conftest.
$ac_ext
4479 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4480 echo "${ECHO_T}$ac_header_preproc" >&6
4482 # So? What about this header?
4483 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4485 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4486 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4487 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4488 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4489 ac_header_preproc
=yes
4492 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4493 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4494 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4495 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4496 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4497 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4498 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4499 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4500 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4501 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4502 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4503 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4506 ## ------------------------------------------ ##
4507 ## Report this to the AC_PACKAGE_NAME lists. ##
4508 ## ------------------------------------------ ##
4511 sed "s/^/$as_me: WARNING: /" >&2
4514 echo "$as_me:$LINENO: checking for $ac_header" >&5
4515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4517 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 eval "$as_ac_Header=\$ac_header_preproc"
4521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4526 cat >>confdefs.h
<<_ACEOF
4527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4536 for ac_header
in sys
/mount.h
4538 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4539 echo "$as_me:$LINENO: checking for $ac_header" >&5
4540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4542 echo $ECHO_N "(cached) $ECHO_C" >&6
4544 cat >conftest.
$ac_ext <<_ACEOF
4547 cat confdefs.h
>>conftest.
$ac_ext
4548 cat >>conftest.
$ac_ext <<_ACEOF
4549 /* end confdefs.h. */
4550 #include <sys/param.h>
4552 #include <$ac_header>
4554 rm -f conftest.
$ac_objext
4555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4556 (eval $ac_compile) 2>conftest.er1
4558 grep -v '^ *+' conftest.er1
>conftest.err
4560 cat conftest.err
>&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try
='test -z "$ac_c_werror_flag"
4564 || test ! -s conftest.err'
4565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4569 (exit $ac_status); }; } &&
4570 { ac_try
='test -s conftest.$ac_objext'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; }; then
4576 eval "$as_ac_Header=yes"
4578 echo "$as_me: failed program was:" >&5
4579 sed 's/^/| /' conftest.
$ac_ext >&5
4581 eval "$as_ac_Header=no"
4583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4588 cat >>confdefs.h
<<_ACEOF
4589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4603 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4604 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4605 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4606 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4608 echo $ECHO_N "(cached) $ECHO_C" >&6
4610 cat >conftest.
$ac_ext <<_ACEOF
4613 cat confdefs.h
>>conftest.
$ac_ext
4614 cat >>conftest.
$ac_ext <<_ACEOF
4615 /* end confdefs.h. */
4616 #include <sys/types.h>
4628 rm -f conftest.
$ac_objext
4629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4630 (eval $ac_compile) 2>conftest.er1
4632 grep -v '^ *+' conftest.er1
>conftest.err
4634 cat conftest.err
>&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); } &&
4637 { ac_try
='test -z "$ac_c_werror_flag"
4638 || test ! -s conftest.err'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; } &&
4644 { ac_try
='test -s conftest.$ac_objext'
4645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); }; }; then
4650 eval "$as_ac_Header=yes"
4652 echo "$as_me: failed program was:" >&5
4653 sed 's/^/| /' conftest.
$ac_ext >&5
4655 eval "$as_ac_Header=no"
4657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4662 cat >>confdefs.h
<<_ACEOF
4663 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4666 ac_header_dirent
=$ac_hdr; break
4670 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4671 if test $ac_header_dirent = dirent.h
; then
4672 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4673 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4674 if test "${ac_cv_search_opendir+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 ac_func_search_save_LIBS
=$LIBS
4678 ac_cv_search_opendir
=no
4679 cat >conftest.
$ac_ext <<_ACEOF
4682 cat confdefs.h
>>conftest.
$ac_ext
4683 cat >>conftest.
$ac_ext <<_ACEOF
4684 /* end confdefs.h. */
4686 /* Override any gcc2 internal prototype to avoid an error. */
4690 /* We use char because int might match the return type of a gcc2
4691 builtin and then its argument prototype would still apply. */
4701 rm -f conftest.
$ac_objext conftest
$ac_exeext
4702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4703 (eval $ac_link) 2>conftest.er1
4705 grep -v '^ *+' conftest.er1
>conftest.err
4707 cat conftest.err
>&5
4708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4709 (exit $ac_status); } &&
4710 { ac_try
='test -z "$ac_c_werror_flag"
4711 || test ! -s conftest.err'
4712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4716 (exit $ac_status); }; } &&
4717 { ac_try
='test -s conftest$ac_exeext'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; }; then
4723 ac_cv_search_opendir
="none required"
4725 echo "$as_me: failed program was:" >&5
4726 sed 's/^/| /' conftest.
$ac_ext >&5
4729 rm -f conftest.err conftest.
$ac_objext \
4730 conftest
$ac_exeext conftest.
$ac_ext
4731 if test "$ac_cv_search_opendir" = no
; then
4732 for ac_lib
in dir
; do
4733 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4734 cat >conftest.
$ac_ext <<_ACEOF
4737 cat confdefs.h
>>conftest.
$ac_ext
4738 cat >>conftest.
$ac_ext <<_ACEOF
4739 /* end confdefs.h. */
4741 /* Override any gcc2 internal prototype to avoid an error. */
4745 /* We use char because int might match the return type of a gcc2
4746 builtin and then its argument prototype would still apply. */
4756 rm -f conftest.
$ac_objext conftest
$ac_exeext
4757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4758 (eval $ac_link) 2>conftest.er1
4760 grep -v '^ *+' conftest.er1
>conftest.err
4762 cat conftest.err
>&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } &&
4765 { ac_try
='test -z "$ac_c_werror_flag"
4766 || test ! -s conftest.err'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; } &&
4772 { ac_try
='test -s conftest$ac_exeext'
4773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); }; }; then
4778 ac_cv_search_opendir
="-l$ac_lib"
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.
$ac_ext >&5
4785 rm -f conftest.err conftest.
$ac_objext \
4786 conftest
$ac_exeext conftest.
$ac_ext
4789 LIBS
=$ac_func_search_save_LIBS
4791 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4792 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4793 if test "$ac_cv_search_opendir" != no
; then
4794 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4799 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4800 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4801 if test "${ac_cv_search_opendir+set}" = set; then
4802 echo $ECHO_N "(cached) $ECHO_C" >&6
4804 ac_func_search_save_LIBS
=$LIBS
4805 ac_cv_search_opendir
=no
4806 cat >conftest.
$ac_ext <<_ACEOF
4809 cat confdefs.h
>>conftest.
$ac_ext
4810 cat >>conftest.
$ac_ext <<_ACEOF
4811 /* end confdefs.h. */
4813 /* Override any gcc2 internal prototype to avoid an error. */
4817 /* We use char because int might match the return type of a gcc2
4818 builtin and then its argument prototype would still apply. */
4828 rm -f conftest.
$ac_objext conftest
$ac_exeext
4829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4830 (eval $ac_link) 2>conftest.er1
4832 grep -v '^ *+' conftest.er1
>conftest.err
4834 cat conftest.err
>&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } &&
4837 { ac_try
='test -z "$ac_c_werror_flag"
4838 || test ! -s conftest.err'
4839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); }; } &&
4844 { ac_try
='test -s conftest$ac_exeext'
4845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4849 (exit $ac_status); }; }; then
4850 ac_cv_search_opendir
="none required"
4852 echo "$as_me: failed program was:" >&5
4853 sed 's/^/| /' conftest.
$ac_ext >&5
4856 rm -f conftest.err conftest.
$ac_objext \
4857 conftest
$ac_exeext conftest.
$ac_ext
4858 if test "$ac_cv_search_opendir" = no
; then
4860 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4861 cat >conftest.
$ac_ext <<_ACEOF
4864 cat confdefs.h
>>conftest.
$ac_ext
4865 cat >>conftest.
$ac_ext <<_ACEOF
4866 /* end confdefs.h. */
4868 /* Override any gcc2 internal prototype to avoid an error. */
4872 /* We use char because int might match the return type of a gcc2
4873 builtin and then its argument prototype would still apply. */
4883 rm -f conftest.
$ac_objext conftest
$ac_exeext
4884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4885 (eval $ac_link) 2>conftest.er1
4887 grep -v '^ *+' conftest.er1
>conftest.err
4889 cat conftest.err
>&5
4890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4891 (exit $ac_status); } &&
4892 { ac_try
='test -z "$ac_c_werror_flag"
4893 || test ! -s conftest.err'
4894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4898 (exit $ac_status); }; } &&
4899 { ac_try
='test -s conftest$ac_exeext'
4900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4904 (exit $ac_status); }; }; then
4905 ac_cv_search_opendir
="-l$ac_lib"
4908 echo "$as_me: failed program was:" >&5
4909 sed 's/^/| /' conftest.
$ac_ext >&5
4912 rm -f conftest.err conftest.
$ac_objext \
4913 conftest
$ac_exeext conftest.
$ac_ext
4916 LIBS
=$ac_func_search_save_LIBS
4918 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4919 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4920 if test "$ac_cv_search_opendir" != no
; then
4921 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4927 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4928 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4929 if test "${ac_cv_header_stat_broken+set}" = set; then
4930 echo $ECHO_N "(cached) $ECHO_C" >&6
4932 cat >conftest.
$ac_ext <<_ACEOF
4935 cat confdefs.h
>>conftest.
$ac_ext
4936 cat >>conftest.
$ac_ext <<_ACEOF
4937 /* end confdefs.h. */
4938 #include <sys/types.h>
4939 #include <sys/stat.h>
4941 #if defined(S_ISBLK) && defined(S_IFDIR)
4942 # if S_ISBLK (S_IFDIR)
4947 #if defined(S_ISBLK) && defined(S_IFCHR)
4948 # if S_ISBLK (S_IFCHR)
4953 #if defined(S_ISLNK) && defined(S_IFREG)
4954 # if S_ISLNK (S_IFREG)
4959 #if defined(S_ISSOCK) && defined(S_IFREG)
4960 # if S_ISSOCK (S_IFREG)
4966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4967 $EGREP "You lose" >/dev
/null
2>&1; then
4968 ac_cv_header_stat_broken
=yes
4970 ac_cv_header_stat_broken
=no
4975 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4976 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4977 if test $ac_cv_header_stat_broken = yes; then
4979 cat >>confdefs.h
<<\_ACEOF
4980 #define STAT_MACROS_BROKEN 1
4985 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4986 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4987 if test "${ac_cv_header_stdc+set}" = set; then
4988 echo $ECHO_N "(cached) $ECHO_C" >&6
4990 cat >conftest.
$ac_ext <<_ACEOF
4993 cat confdefs.h
>>conftest.
$ac_ext
4994 cat >>conftest.
$ac_ext <<_ACEOF
4995 /* end confdefs.h. */
5009 rm -f conftest.
$ac_objext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5011 (eval $ac_compile) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1
>conftest.err
5015 cat conftest.err
>&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try
='test -z "$ac_c_werror_flag"
5019 || test ! -s conftest.err'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; } &&
5025 { ac_try
='test -s conftest.$ac_objext'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then
5031 ac_cv_header_stdc
=yes
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.
$ac_ext >&5
5036 ac_cv_header_stdc
=no
5038 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5040 if test $ac_cv_header_stdc = yes; then
5041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5042 cat >conftest.
$ac_ext <<_ACEOF
5045 cat confdefs.h
>>conftest.
$ac_ext
5046 cat >>conftest.
$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5052 $EGREP "memchr" >/dev
/null
2>&1; then
5055 ac_cv_header_stdc
=no
5061 if test $ac_cv_header_stdc = yes; then
5062 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5063 cat >conftest.
$ac_ext <<_ACEOF
5066 cat confdefs.h
>>conftest.
$ac_ext
5067 cat >>conftest.
$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5073 $EGREP "free" >/dev
/null
2>&1; then
5076 ac_cv_header_stdc
=no
5082 if test $ac_cv_header_stdc = yes; then
5083 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5084 if test "$cross_compiling" = yes; then
5087 cat >conftest.
$ac_ext <<_ACEOF
5090 cat confdefs.h
>>conftest.
$ac_ext
5091 cat >>conftest.
$ac_ext <<_ACEOF
5092 /* end confdefs.h. */
5094 #if ((' ' & 0x0FF) == 0x020)
5095 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5096 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5098 # define ISLOWER(c) \
5099 (('a' <= (c) && (c) <= 'i') \
5100 || ('j' <= (c) && (c) <= 'r') \
5101 || ('s' <= (c) && (c) <= 'z'))
5102 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5105 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5110 for (i = 0; i < 256; i++)
5111 if (XOR (islower (i), ISLOWER (i))
5112 || toupper (i) != TOUPPER (i))
5117 rm -f conftest
$ac_exeext
5118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5119 (eval $ac_link) 2>&5
5121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5122 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
5123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); }; }; then
5130 echo "$as_me: program exited with status $ac_status" >&5
5131 echo "$as_me: failed program was:" >&5
5132 sed 's/^/| /' conftest.
$ac_ext >&5
5135 ac_cv_header_stdc
=no
5137 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
5141 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5142 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5143 if test $ac_cv_header_stdc = yes; then
5145 cat >>confdefs.h
<<\_ACEOF
5146 #define STDC_HEADERS 1
5151 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
5152 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
5153 if test "${ac_cv_header_sys_wait_h+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 cat >conftest.
$ac_ext <<_ACEOF
5159 cat confdefs.h
>>conftest.
$ac_ext
5160 cat >>conftest.
$ac_ext <<_ACEOF
5161 /* end confdefs.h. */
5162 #include <sys/types.h>
5163 #include <sys/wait.h>
5165 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
5168 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
5176 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
5181 rm -f conftest.
$ac_objext
5182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5183 (eval $ac_compile) 2>conftest.er1
5185 grep -v '^ *+' conftest.er1
>conftest.err
5187 cat conftest.err
>&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); } &&
5190 { ac_try
='test -z "$ac_c_werror_flag"
5191 || test ! -s conftest.err'
5192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5196 (exit $ac_status); }; } &&
5197 { ac_try
='test -s conftest.$ac_objext'
5198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5202 (exit $ac_status); }; }; then
5203 ac_cv_header_sys_wait_h
=yes
5205 echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.
$ac_ext >&5
5208 ac_cv_header_sys_wait_h
=no
5210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5212 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5213 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5214 if test $ac_cv_header_sys_wait_h = yes; then
5216 cat >>confdefs.h
<<\_ACEOF
5217 #define HAVE_SYS_WAIT_H 1
5222 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5223 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5224 if test "${ac_cv_header_time+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5227 cat >conftest.
$ac_ext <<_ACEOF
5230 cat confdefs.h
>>conftest.
$ac_ext
5231 cat >>conftest.
$ac_ext <<_ACEOF
5232 /* end confdefs.h. */
5233 #include <sys/types.h>
5234 #include <sys/time.h>
5240 if ((struct tm *) 0)
5246 rm -f conftest.
$ac_objext
5247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5248 (eval $ac_compile) 2>conftest.er1
5250 grep -v '^ *+' conftest.er1
>conftest.err
5252 cat conftest.err
>&5
5253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5254 (exit $ac_status); } &&
5255 { ac_try
='test -z "$ac_c_werror_flag"
5256 || test ! -s conftest.err'
5257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5261 (exit $ac_status); }; } &&
5262 { ac_try
='test -s conftest.$ac_objext'
5263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); }; }; then
5268 ac_cv_header_time
=yes
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.
$ac_ext >&5
5273 ac_cv_header_time
=no
5275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5277 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5278 echo "${ECHO_T}$ac_cv_header_time" >&6
5279 if test $ac_cv_header_time = yes; then
5281 cat >>confdefs.h
<<\_ACEOF
5282 #define TIME_WITH_SYS_TIME 1
5288 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5289 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5290 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
5291 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 cat >conftest.
$ac_ext <<_ACEOF
5296 cat confdefs.h
>>conftest.
$ac_ext
5297 cat >>conftest.
$ac_ext <<_ACEOF
5298 /* end confdefs.h. */
5299 $ac_includes_default
5303 static struct stat ac_aggr;
5304 if (ac_aggr.st_blksize)
5310 rm -f conftest.
$ac_objext
5311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5312 (eval $ac_compile) 2>conftest.er1
5314 grep -v '^ *+' conftest.er1
>conftest.err
5316 cat conftest.err
>&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); } &&
5319 { ac_try
='test -z "$ac_c_werror_flag"
5320 || test ! -s conftest.err'
5321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); }; } &&
5326 { ac_try
='test -s conftest.$ac_objext'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; }; then
5332 ac_cv_member_struct_stat_st_blksize
=yes
5334 echo "$as_me: failed program was:" >&5
5335 sed 's/^/| /' conftest.
$ac_ext >&5
5337 cat >conftest.
$ac_ext <<_ACEOF
5340 cat confdefs.h
>>conftest.
$ac_ext
5341 cat >>conftest.
$ac_ext <<_ACEOF
5342 /* end confdefs.h. */
5343 $ac_includes_default
5347 static struct stat ac_aggr;
5348 if (sizeof ac_aggr.st_blksize)
5354 rm -f conftest.
$ac_objext
5355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5356 (eval $ac_compile) 2>conftest.er1
5358 grep -v '^ *+' conftest.er1
>conftest.err
5360 cat conftest.err
>&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); } &&
5363 { ac_try
='test -z "$ac_c_werror_flag"
5364 || test ! -s conftest.err'
5365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); }; } &&
5370 { ac_try
='test -s conftest.$ac_objext'
5371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); }; }; then
5376 ac_cv_member_struct_stat_st_blksize
=yes
5378 echo "$as_me: failed program was:" >&5
5379 sed 's/^/| /' conftest.
$ac_ext >&5
5381 ac_cv_member_struct_stat_st_blksize
=no
5383 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5385 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5387 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
5388 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
5389 if test $ac_cv_member_struct_stat_st_blksize = yes; then
5391 cat >>confdefs.h
<<_ACEOF
5392 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5396 cat >>confdefs.h
<<\_ACEOF
5397 #define HAVE_ST_BLKSIZE 1
5403 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5404 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5405 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
5406 echo $ECHO_N "(cached) $ECHO_C" >&6
5408 cat >conftest.
$ac_ext <<_ACEOF
5411 cat confdefs.h
>>conftest.
$ac_ext
5412 cat >>conftest.
$ac_ext <<_ACEOF
5413 /* end confdefs.h. */
5414 $ac_includes_default
5418 static struct stat ac_aggr;
5419 if (ac_aggr.st_blocks)
5425 rm -f conftest.
$ac_objext
5426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5427 (eval $ac_compile) 2>conftest.er1
5429 grep -v '^ *+' conftest.er1
>conftest.err
5431 cat conftest.err
>&5
5432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5433 (exit $ac_status); } &&
5434 { ac_try
='test -z "$ac_c_werror_flag"
5435 || test ! -s conftest.err'
5436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); }; } &&
5441 { ac_try
='test -s conftest.$ac_objext'
5442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5446 (exit $ac_status); }; }; then
5447 ac_cv_member_struct_stat_st_blocks
=yes
5449 echo "$as_me: failed program was:" >&5
5450 sed 's/^/| /' conftest.
$ac_ext >&5
5452 cat >conftest.
$ac_ext <<_ACEOF
5455 cat confdefs.h
>>conftest.
$ac_ext
5456 cat >>conftest.
$ac_ext <<_ACEOF
5457 /* end confdefs.h. */
5458 $ac_includes_default
5462 static struct stat ac_aggr;
5463 if (sizeof ac_aggr.st_blocks)
5469 rm -f conftest.
$ac_objext
5470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5471 (eval $ac_compile) 2>conftest.er1
5473 grep -v '^ *+' conftest.er1
>conftest.err
5475 cat conftest.err
>&5
5476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5477 (exit $ac_status); } &&
5478 { ac_try
='test -z "$ac_c_werror_flag"
5479 || test ! -s conftest.err'
5480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5484 (exit $ac_status); }; } &&
5485 { ac_try
='test -s conftest.$ac_objext'
5486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5490 (exit $ac_status); }; }; then
5491 ac_cv_member_struct_stat_st_blocks
=yes
5493 echo "$as_me: failed program was:" >&5
5494 sed 's/^/| /' conftest.
$ac_ext >&5
5496 ac_cv_member_struct_stat_st_blocks
=no
5498 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5502 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
5503 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
5504 if test $ac_cv_member_struct_stat_st_blocks = yes; then
5506 cat >>confdefs.h
<<_ACEOF
5507 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5511 cat >>confdefs.h
<<\_ACEOF
5512 #define HAVE_ST_BLOCKS 1
5517 "fileblocks.$ac_objext" | \
5518 *" fileblocks.$ac_objext" | \
5519 "fileblocks.$ac_objext "* | \
5520 *" fileblocks.$ac_objext "* ) ;;
5521 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext" ;;
5528 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5529 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5530 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5531 echo $ECHO_N "(cached) $ECHO_C" >&6
5533 cat >conftest.
$ac_ext <<_ACEOF
5536 cat confdefs.h
>>conftest.
$ac_ext
5537 cat >>conftest.
$ac_ext <<_ACEOF
5538 /* end confdefs.h. */
5539 $ac_includes_default
5543 static struct stat ac_aggr;
5544 if (ac_aggr.st_rdev)
5550 rm -f conftest.
$ac_objext
5551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5552 (eval $ac_compile) 2>conftest.er1
5554 grep -v '^ *+' conftest.er1
>conftest.err
5556 cat conftest.err
>&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } &&
5559 { ac_try
='test -z "$ac_c_werror_flag"
5560 || test ! -s conftest.err'
5561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); }; } &&
5566 { ac_try
='test -s conftest.$ac_objext'
5567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5571 (exit $ac_status); }; }; then
5572 ac_cv_member_struct_stat_st_rdev
=yes
5574 echo "$as_me: failed program was:" >&5
5575 sed 's/^/| /' conftest.
$ac_ext >&5
5577 cat >conftest.
$ac_ext <<_ACEOF
5580 cat confdefs.h
>>conftest.
$ac_ext
5581 cat >>conftest.
$ac_ext <<_ACEOF
5582 /* end confdefs.h. */
5583 $ac_includes_default
5587 static struct stat ac_aggr;
5588 if (sizeof ac_aggr.st_rdev)
5594 rm -f conftest.
$ac_objext
5595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5596 (eval $ac_compile) 2>conftest.er1
5598 grep -v '^ *+' conftest.er1
>conftest.err
5600 cat conftest.err
>&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); } &&
5603 { ac_try
='test -z "$ac_c_werror_flag"
5604 || test ! -s conftest.err'
5605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5609 (exit $ac_status); }; } &&
5610 { ac_try
='test -s conftest.$ac_objext'
5611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5615 (exit $ac_status); }; }; then
5616 ac_cv_member_struct_stat_st_rdev
=yes
5618 echo "$as_me: failed program was:" >&5
5619 sed 's/^/| /' conftest.
$ac_ext >&5
5621 ac_cv_member_struct_stat_st_rdev
=no
5623 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5627 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5628 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
5629 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5631 cat >>confdefs.h
<<_ACEOF
5632 #define HAVE_STRUCT_STAT_ST_RDEV 1
5636 cat >>confdefs.h
<<\_ACEOF
5637 #define HAVE_ST_RDEV 1
5643 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5644 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5645 if test "${ac_cv_struct_tm+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 cat >conftest.
$ac_ext <<_ACEOF
5651 cat confdefs.h
>>conftest.
$ac_ext
5652 cat >>conftest.
$ac_ext <<_ACEOF
5653 /* end confdefs.h. */
5654 #include <sys/types.h>
5660 struct tm *tp; tp->tm_sec;
5665 rm -f conftest.
$ac_objext
5666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5667 (eval $ac_compile) 2>conftest.er1
5669 grep -v '^ *+' conftest.er1
>conftest.err
5671 cat conftest.err
>&5
5672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5673 (exit $ac_status); } &&
5674 { ac_try
='test -z "$ac_c_werror_flag"
5675 || test ! -s conftest.err'
5676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5680 (exit $ac_status); }; } &&
5681 { ac_try
='test -s conftest.$ac_objext'
5682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5686 (exit $ac_status); }; }; then
5687 ac_cv_struct_tm
=time.h
5689 echo "$as_me: failed program was:" >&5
5690 sed 's/^/| /' conftest.
$ac_ext >&5
5692 ac_cv_struct_tm
=sys
/time.h
5694 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5696 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5697 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5698 if test $ac_cv_struct_tm = sys
/time.h
; then
5700 cat >>confdefs.h
<<\_ACEOF
5701 #define TM_IN_SYS_TIME 1
5706 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
5707 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
5708 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
5709 echo $ECHO_N "(cached) $ECHO_C" >&6
5711 cat >conftest.
$ac_ext <<_ACEOF
5714 cat confdefs.h
>>conftest.
$ac_ext
5715 cat >>conftest.
$ac_ext <<_ACEOF
5716 /* end confdefs.h. */
5717 #include <sys/types.h>
5718 #include <$ac_cv_struct_tm>
5724 static struct tm ac_aggr;
5725 if (ac_aggr.tm_zone)
5731 rm -f conftest.
$ac_objext
5732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5733 (eval $ac_compile) 2>conftest.er1
5735 grep -v '^ *+' conftest.er1
>conftest.err
5737 cat conftest.err
>&5
5738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5739 (exit $ac_status); } &&
5740 { ac_try
='test -z "$ac_c_werror_flag"
5741 || test ! -s conftest.err'
5742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5746 (exit $ac_status); }; } &&
5747 { ac_try
='test -s conftest.$ac_objext'
5748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5752 (exit $ac_status); }; }; then
5753 ac_cv_member_struct_tm_tm_zone
=yes
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.
$ac_ext >&5
5758 cat >conftest.
$ac_ext <<_ACEOF
5761 cat confdefs.h
>>conftest.
$ac_ext
5762 cat >>conftest.
$ac_ext <<_ACEOF
5763 /* end confdefs.h. */
5764 #include <sys/types.h>
5765 #include <$ac_cv_struct_tm>
5771 static struct tm ac_aggr;
5772 if (sizeof ac_aggr.tm_zone)
5778 rm -f conftest.
$ac_objext
5779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5780 (eval $ac_compile) 2>conftest.er1
5782 grep -v '^ *+' conftest.er1
>conftest.err
5784 cat conftest.err
>&5
5785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5786 (exit $ac_status); } &&
5787 { ac_try
='test -z "$ac_c_werror_flag"
5788 || test ! -s conftest.err'
5789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); }; } &&
5794 { ac_try
='test -s conftest.$ac_objext'
5795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5799 (exit $ac_status); }; }; then
5800 ac_cv_member_struct_tm_tm_zone
=yes
5802 echo "$as_me: failed program was:" >&5
5803 sed 's/^/| /' conftest.
$ac_ext >&5
5805 ac_cv_member_struct_tm_tm_zone
=no
5807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5809 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5811 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
5812 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
5813 if test $ac_cv_member_struct_tm_tm_zone = yes; then
5815 cat >>confdefs.h
<<_ACEOF
5816 #define HAVE_STRUCT_TM_TM_ZONE 1
5822 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
5824 cat >>confdefs.h
<<\_ACEOF
5825 #define HAVE_TM_ZONE 1
5829 echo "$as_me:$LINENO: checking for tzname" >&5
5830 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
5831 if test "${ac_cv_var_tzname+set}" = set; then
5832 echo $ECHO_N "(cached) $ECHO_C" >&6
5834 cat >conftest.
$ac_ext <<_ACEOF
5837 cat confdefs.h
>>conftest.
$ac_ext
5838 cat >>conftest.
$ac_ext <<_ACEOF
5839 /* end confdefs.h. */
5841 #ifndef tzname /* For SGI. */
5842 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
5853 rm -f conftest.
$ac_objext conftest
$ac_exeext
5854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5855 (eval $ac_link) 2>conftest.er1
5857 grep -v '^ *+' conftest.er1
>conftest.err
5859 cat conftest.err
>&5
5860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5861 (exit $ac_status); } &&
5862 { ac_try
='test -z "$ac_c_werror_flag"
5863 || test ! -s conftest.err'
5864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); }; } &&
5869 { ac_try
='test -s conftest$ac_exeext'
5870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5874 (exit $ac_status); }; }; then
5875 ac_cv_var_tzname
=yes
5877 echo "$as_me: failed program was:" >&5
5878 sed 's/^/| /' conftest.
$ac_ext >&5
5882 rm -f conftest.err conftest.
$ac_objext \
5883 conftest
$ac_exeext conftest.
$ac_ext
5885 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
5886 echo "${ECHO_T}$ac_cv_var_tzname" >&6
5887 if test $ac_cv_var_tzname = yes; then
5889 cat >>confdefs.h
<<\_ACEOF
5890 #define HAVE_TZNAME 1
5896 echo "$as_me:$LINENO: checking for off_t" >&5
5897 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5898 if test "${ac_cv_type_off_t+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 cat >conftest.
$ac_ext <<_ACEOF
5904 cat confdefs.h
>>conftest.
$ac_ext
5905 cat >>conftest.
$ac_ext <<_ACEOF
5906 /* end confdefs.h. */
5907 $ac_includes_default
5919 rm -f conftest.
$ac_objext
5920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5921 (eval $ac_compile) 2>conftest.er1
5923 grep -v '^ *+' conftest.er1
>conftest.err
5925 cat conftest.err
>&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); } &&
5928 { ac_try
='test -z "$ac_c_werror_flag"
5929 || test ! -s conftest.err'
5930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5934 (exit $ac_status); }; } &&
5935 { ac_try
='test -s conftest.$ac_objext'
5936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5940 (exit $ac_status); }; }; then
5941 ac_cv_type_off_t
=yes
5943 echo "$as_me: failed program was:" >&5
5944 sed 's/^/| /' conftest.
$ac_ext >&5
5948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5950 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5951 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5952 if test $ac_cv_type_off_t = yes; then
5956 cat >>confdefs.h
<<_ACEOF
5962 echo "$as_me:$LINENO: checking for pid_t" >&5
5963 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
5964 if test "${ac_cv_type_pid_t+set}" = set; then
5965 echo $ECHO_N "(cached) $ECHO_C" >&6
5967 cat >conftest.
$ac_ext <<_ACEOF
5970 cat confdefs.h
>>conftest.
$ac_ext
5971 cat >>conftest.
$ac_ext <<_ACEOF
5972 /* end confdefs.h. */
5973 $ac_includes_default
5985 rm -f conftest.
$ac_objext
5986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5987 (eval $ac_compile) 2>conftest.er1
5989 grep -v '^ *+' conftest.er1
>conftest.err
5991 cat conftest.err
>&5
5992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5993 (exit $ac_status); } &&
5994 { ac_try
='test -z "$ac_c_werror_flag"
5995 || test ! -s conftest.err'
5996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); }; } &&
6001 { ac_try
='test -s conftest.$ac_objext'
6002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6006 (exit $ac_status); }; }; then
6007 ac_cv_type_pid_t
=yes
6009 echo "$as_me: failed program was:" >&5
6010 sed 's/^/| /' conftest.
$ac_ext >&5
6014 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6016 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
6017 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
6018 if test $ac_cv_type_pid_t = yes; then
6022 cat >>confdefs.h
<<_ACEOF
6028 echo "$as_me:$LINENO: checking for size_t" >&5
6029 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
6030 if test "${ac_cv_type_size_t+set}" = set; then
6031 echo $ECHO_N "(cached) $ECHO_C" >&6
6033 cat >conftest.
$ac_ext <<_ACEOF
6036 cat confdefs.h
>>conftest.
$ac_ext
6037 cat >>conftest.
$ac_ext <<_ACEOF
6038 /* end confdefs.h. */
6039 $ac_includes_default
6045 if (sizeof (size_t))
6051 rm -f conftest.
$ac_objext
6052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6053 (eval $ac_compile) 2>conftest.er1
6055 grep -v '^ *+' conftest.er1
>conftest.err
6057 cat conftest.err
>&5
6058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6059 (exit $ac_status); } &&
6060 { ac_try
='test -z "$ac_c_werror_flag"
6061 || test ! -s conftest.err'
6062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066 (exit $ac_status); }; } &&
6067 { ac_try
='test -s conftest.$ac_objext'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; }; then
6073 ac_cv_type_size_t
=yes
6075 echo "$as_me: failed program was:" >&5
6076 sed 's/^/| /' conftest.
$ac_ext >&5
6078 ac_cv_type_size_t
=no
6080 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6082 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6083 echo "${ECHO_T}$ac_cv_type_size_t" >&6
6084 if test $ac_cv_type_size_t = yes; then
6088 cat >>confdefs.h
<<_ACEOF
6089 #define size_t unsigned
6094 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
6095 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
6096 if test "${ac_cv_type_uid_t+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 cat >conftest.
$ac_ext <<_ACEOF
6102 cat confdefs.h
>>conftest.
$ac_ext
6103 cat >>conftest.
$ac_ext <<_ACEOF
6104 /* end confdefs.h. */
6105 #include <sys/types.h>
6108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6109 $EGREP "uid_t" >/dev
/null
2>&1; then
6110 ac_cv_type_uid_t
=yes
6117 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
6118 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
6119 if test $ac_cv_type_uid_t = no
; then
6121 cat >>confdefs.h
<<\_ACEOF
6126 cat >>confdefs.h
<<\_ACEOF
6133 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
6134 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
6135 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
6136 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 cat >conftest.
$ac_ext <<_ACEOF
6141 cat confdefs.h
>>conftest.
$ac_ext
6142 cat >>conftest.
$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6144 $ac_includes_default
6148 static struct tm ac_aggr;
6149 if (ac_aggr.tm_gmtoff)
6155 rm -f conftest.
$ac_objext
6156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6157 (eval $ac_compile) 2>conftest.er1
6159 grep -v '^ *+' conftest.er1
>conftest.err
6161 cat conftest.err
>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); } &&
6164 { ac_try
='test -z "$ac_c_werror_flag"
6165 || test ! -s conftest.err'
6166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); }; } &&
6171 { ac_try
='test -s conftest.$ac_objext'
6172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6176 (exit $ac_status); }; }; then
6177 ac_cv_member_struct_tm_tm_gmtoff
=yes
6179 echo "$as_me: failed program was:" >&5
6180 sed 's/^/| /' conftest.
$ac_ext >&5
6182 cat >conftest.
$ac_ext <<_ACEOF
6185 cat confdefs.h
>>conftest.
$ac_ext
6186 cat >>conftest.
$ac_ext <<_ACEOF
6187 /* end confdefs.h. */
6188 $ac_includes_default
6192 static struct tm ac_aggr;
6193 if (sizeof ac_aggr.tm_gmtoff)
6199 rm -f conftest.
$ac_objext
6200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6201 (eval $ac_compile) 2>conftest.er1
6203 grep -v '^ *+' conftest.er1
>conftest.err
6205 cat conftest.err
>&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); } &&
6208 { ac_try
='test -z "$ac_c_werror_flag"
6209 || test ! -s conftest.err'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; } &&
6215 { ac_try
='test -s conftest.$ac_objext'
6216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6220 (exit $ac_status); }; }; then
6221 ac_cv_member_struct_tm_tm_gmtoff
=yes
6223 echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.
$ac_ext >&5
6226 ac_cv_member_struct_tm_tm_gmtoff
=no
6228 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6230 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6232 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6233 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6234 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6236 cat >>confdefs.h
<<_ACEOF
6237 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6244 # Look for some functions
6259 for ac_func
in getpagesize kqueue statfs statvfs \
6260 clone kse_create rfork_thread thr_create sa_register \
6261 getcontext makecontext setcontext sigaltstack swapcontext
6263 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6264 echo "$as_me:$LINENO: checking for $ac_func" >&5
6265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6266 if eval "test \"\${$as_ac_var+set}\" = set"; then
6267 echo $ECHO_N "(cached) $ECHO_C" >&6
6269 cat >conftest.
$ac_ext <<_ACEOF
6272 cat confdefs.h
>>conftest.
$ac_ext
6273 cat >>conftest.
$ac_ext <<_ACEOF
6274 /* end confdefs.h. */
6275 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6276 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6277 #define $ac_func innocuous_$ac_func
6279 /* System header to define __stub macros and hopefully few prototypes,
6280 which can conflict with char $ac_func (); below.
6281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6282 <limits.h> exists even on freestanding compilers. */
6285 # include <limits.h>
6287 # include <assert.h>
6292 /* Override any gcc2 internal prototype to avoid an error. */
6297 /* We use char because int might match the return type of a gcc2
6298 builtin and then its argument prototype would still apply. */
6300 /* The GNU C library defines this for functions which it implements
6301 to always fail with ENOSYS. Some functions are actually named
6302 something starting with __ and the normal name is an alias. */
6303 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6306 char (*f) () = $ac_func;
6315 return f != $ac_func;
6320 rm -f conftest.
$ac_objext conftest
$ac_exeext
6321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6322 (eval $ac_link) 2>conftest.er1
6324 grep -v '^ *+' conftest.er1
>conftest.err
6326 cat conftest.err
>&5
6327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6328 (exit $ac_status); } &&
6329 { ac_try
='test -z "$ac_c_werror_flag"
6330 || test ! -s conftest.err'
6331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6335 (exit $ac_status); }; } &&
6336 { ac_try
='test -s conftest$ac_exeext'
6337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); }; }; then
6342 eval "$as_ac_var=yes"
6344 echo "$as_me: failed program was:" >&5
6345 sed 's/^/| /' conftest.
$ac_ext >&5
6347 eval "$as_ac_var=no"
6349 rm -f conftest.err conftest.
$ac_objext \
6350 conftest
$ac_exeext conftest.
$ac_ext
6352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6353 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6354 if test `eval echo '${'$as_ac_var'}'` = yes; then
6355 cat >>confdefs.h
<<_ACEOF
6356 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6365 for ac_header
in stdlib.h unistd.h
6367 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6369 echo "$as_me:$LINENO: checking for $ac_header" >&5
6370 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6371 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6372 echo $ECHO_N "(cached) $ECHO_C" >&6
6374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6375 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6377 # Is the header compilable?
6378 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6379 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6380 cat >conftest.
$ac_ext <<_ACEOF
6383 cat confdefs.h
>>conftest.
$ac_ext
6384 cat >>conftest.
$ac_ext <<_ACEOF
6385 /* end confdefs.h. */
6386 $ac_includes_default
6387 #include <$ac_header>
6389 rm -f conftest.
$ac_objext
6390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6391 (eval $ac_compile) 2>conftest.er1
6393 grep -v '^ *+' conftest.er1
>conftest.err
6395 cat conftest.err
>&5
6396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6397 (exit $ac_status); } &&
6398 { ac_try
='test -z "$ac_c_werror_flag"
6399 || test ! -s conftest.err'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; } &&
6405 { ac_try
='test -s conftest.$ac_objext'
6406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6410 (exit $ac_status); }; }; then
6411 ac_header_compiler
=yes
6413 echo "$as_me: failed program was:" >&5
6414 sed 's/^/| /' conftest.
$ac_ext >&5
6416 ac_header_compiler
=no
6418 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6419 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6420 echo "${ECHO_T}$ac_header_compiler" >&6
6422 # Is the header present?
6423 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6424 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6425 cat >conftest.
$ac_ext <<_ACEOF
6428 cat confdefs.h
>>conftest.
$ac_ext
6429 cat >>conftest.
$ac_ext <<_ACEOF
6430 /* end confdefs.h. */
6431 #include <$ac_header>
6433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6434 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6436 grep -v '^ *+' conftest.er1
>conftest.err
6438 cat conftest.err
>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } >/dev
/null
; then
6441 if test -s conftest.err
; then
6442 ac_cpp_err
=$ac_c_preproc_warn_flag
6443 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6450 if test -z "$ac_cpp_err"; then
6451 ac_header_preproc
=yes
6453 echo "$as_me: failed program was:" >&5
6454 sed 's/^/| /' conftest.
$ac_ext >&5
6456 ac_header_preproc
=no
6458 rm -f conftest.err conftest.
$ac_ext
6459 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6460 echo "${ECHO_T}$ac_header_preproc" >&6
6462 # So? What about this header?
6463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6465 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6466 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6467 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6468 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6469 ac_header_preproc
=yes
6472 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6473 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6474 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6475 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6476 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6477 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6478 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6479 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6481 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6482 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6483 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6486 ## ------------------------------------------ ##
6487 ## Report this to the AC_PACKAGE_NAME lists. ##
6488 ## ------------------------------------------ ##
6491 sed "s/^/$as_me: WARNING: /" >&2
6494 echo "$as_me:$LINENO: checking for $ac_header" >&5
6495 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6496 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6497 echo $ECHO_N "(cached) $ECHO_C" >&6
6499 eval "$as_ac_Header=\$ac_header_preproc"
6501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6502 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6505 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6506 cat >>confdefs.h
<<_ACEOF
6507 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6515 for ac_func
in getpagesize
6517 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6518 echo "$as_me:$LINENO: checking for $ac_func" >&5
6519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6520 if eval "test \"\${$as_ac_var+set}\" = set"; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 cat >conftest.
$ac_ext <<_ACEOF
6526 cat confdefs.h
>>conftest.
$ac_ext
6527 cat >>conftest.
$ac_ext <<_ACEOF
6528 /* end confdefs.h. */
6529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6531 #define $ac_func innocuous_$ac_func
6533 /* System header to define __stub macros and hopefully few prototypes,
6534 which can conflict with char $ac_func (); below.
6535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6536 <limits.h> exists even on freestanding compilers. */
6539 # include <limits.h>
6541 # include <assert.h>
6546 /* Override any gcc2 internal prototype to avoid an error. */
6551 /* We use char because int might match the return type of a gcc2
6552 builtin and then its argument prototype would still apply. */
6554 /* The GNU C library defines this for functions which it implements
6555 to always fail with ENOSYS. Some functions are actually named
6556 something starting with __ and the normal name is an alias. */
6557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6560 char (*f) () = $ac_func;
6569 return f != $ac_func;
6574 rm -f conftest.
$ac_objext conftest
$ac_exeext
6575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6576 (eval $ac_link) 2>conftest.er1
6578 grep -v '^ *+' conftest.er1
>conftest.err
6580 cat conftest.err
>&5
6581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6582 (exit $ac_status); } &&
6583 { ac_try
='test -z "$ac_c_werror_flag"
6584 || test ! -s conftest.err'
6585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6589 (exit $ac_status); }; } &&
6590 { ac_try
='test -s conftest$ac_exeext'
6591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6595 (exit $ac_status); }; }; then
6596 eval "$as_ac_var=yes"
6598 echo "$as_me: failed program was:" >&5
6599 sed 's/^/| /' conftest.
$ac_ext >&5
6601 eval "$as_ac_var=no"
6603 rm -f conftest.err conftest.
$ac_objext \
6604 conftest
$ac_exeext conftest.
$ac_ext
6606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6608 if test `eval echo '${'$as_ac_var'}'` = yes; then
6609 cat >>confdefs.h
<<_ACEOF
6610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6616 echo "$as_me:$LINENO: checking for working mmap" >&5
6617 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6618 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6619 echo $ECHO_N "(cached) $ECHO_C" >&6
6621 if test "$cross_compiling" = yes; then
6622 ac_cv_func_mmap_fixed_mapped
=no
6624 cat >conftest.
$ac_ext <<_ACEOF
6627 cat confdefs.h
>>conftest.
$ac_ext
6628 cat >>conftest.
$ac_ext <<_ACEOF
6629 /* end confdefs.h. */
6630 $ac_includes_default
6631 /* malloc might have been renamed as rpl_malloc. */
6634 /* Thanks to Mike Haertel and Jim Avera for this test.
6635 Here is a matrix of mmap possibilities:
6636 mmap private not fixed
6637 mmap private fixed at somewhere currently unmapped
6638 mmap private fixed at somewhere already mapped
6639 mmap shared not fixed
6640 mmap shared fixed at somewhere currently unmapped
6641 mmap shared fixed at somewhere already mapped
6642 For private mappings, we should verify that changes cannot be read()
6643 back from the file, nor mmap's back from the file at a different
6644 address. (There have been systems where private was not correctly
6645 implemented like the infamous i386 svr4.0, and systems where the
6646 VM page cache was not coherent with the file system buffer cache
6647 like early versions of FreeBSD and possibly contemporary NetBSD.)
6648 For shared mappings, we should conversely verify that changes get
6649 propagated back to all the places they're supposed to be.
6651 Grep wants private fixed already mapped.
6652 The main things grep needs to know about mmap are:
6653 * does it exist and is it safe to write into the mmap'd area
6654 * how to use it (BSD variants) */
6657 #include <sys/mman.h>
6659 #if !STDC_HEADERS && !HAVE_STDLIB_H
6663 /* This mess was copied from the GNU getpagesize.h. */
6664 #if !HAVE_GETPAGESIZE
6665 /* Assume that all systems that can run configure have sys/param.h. */
6666 # if !HAVE_SYS_PARAM_H
6667 # define HAVE_SYS_PARAM_H 1
6670 # ifdef _SC_PAGESIZE
6671 # define getpagesize() sysconf(_SC_PAGESIZE)
6672 # else /* no _SC_PAGESIZE */
6673 # if HAVE_SYS_PARAM_H
6674 # include <sys/param.h>
6675 # ifdef EXEC_PAGESIZE
6676 # define getpagesize() EXEC_PAGESIZE
6677 # else /* no EXEC_PAGESIZE */
6679 # define getpagesize() NBPG * CLSIZE
6682 # endif /* no CLSIZE */
6683 # else /* no NBPG */
6685 # define getpagesize() NBPC
6686 # else /* no NBPC */
6688 # define getpagesize() PAGESIZE
6689 # endif /* PAGESIZE */
6690 # endif /* no NBPC */
6691 # endif /* no NBPG */
6692 # endif /* no EXEC_PAGESIZE */
6693 # else /* no HAVE_SYS_PARAM_H */
6694 # define getpagesize() 8192 /* punt totally */
6695 # endif /* no HAVE_SYS_PARAM_H */
6696 # endif /* no _SC_PAGESIZE */
6698 #endif /* no HAVE_GETPAGESIZE */
6703 char *data, *data2, *data3;
6707 pagesize = getpagesize ();
6709 /* First, make a file with some known garbage in it. */
6710 data = (char *) malloc (pagesize);
6713 for (i = 0; i < pagesize; ++i)
6714 *(data + i) = rand ();
6716 fd = creat ("conftest.mmap", 0600);
6719 if (write (fd, data, pagesize) != pagesize)
6723 /* Next, try to mmap the file at a fixed address which already has
6724 something else allocated at it. If we can, also make sure that
6725 we see the same garbage. */
6726 fd = open ("conftest.mmap", O_RDWR);
6729 data2 = (char *) malloc (2 * pagesize);
6732 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6733 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6734 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6736 for (i = 0; i < pagesize; ++i)
6737 if (*(data + i) != *(data2 + i))
6740 /* Finally, make sure that changes to the mapped area do not
6741 percolate back to the file as seen by read(). (This is a bug on
6742 some variants of i386 svr4.0.) */
6743 for (i = 0; i < pagesize; ++i)
6744 *(data2 + i) = *(data2 + i) + 1;
6745 data3 = (char *) malloc (pagesize);
6748 if (read (fd, data3, pagesize) != pagesize)
6750 for (i = 0; i < pagesize; ++i)
6751 if (*(data + i) != *(data3 + i))
6757 rm -f conftest
$ac_exeext
6758 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6759 (eval $ac_link) 2>&5
6761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6762 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); }; }; then
6768 ac_cv_func_mmap_fixed_mapped
=yes
6770 echo "$as_me: program exited with status $ac_status" >&5
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.
$ac_ext >&5
6775 ac_cv_func_mmap_fixed_mapped
=no
6777 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6780 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6781 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6782 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6784 cat >>confdefs.h
<<\_ACEOF
6793 echo "$as_me:$LINENO: checking for X" >&5
6794 echo $ECHO_N "checking for X... $ECHO_C" >&6
6797 # Check whether --with-x or --without-x was given.
6798 if test "${with_x+set}" = set; then
6802 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6803 if test "x$with_x" = xno
; then
6804 # The user explicitly disabled X.
6807 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6808 # Both variables are already set.
6811 if test "${ac_cv_have_x+set}" = set; then
6812 echo $ECHO_N "(cached) $ECHO_C" >&6
6814 # One or both of the vars are not set, and there is no cached value.
6815 ac_x_includes
=no ac_x_libraries
=no
6817 if mkdir conftest.dir
; then
6819 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6820 cat >Imakefile
<<'_ACEOF'
6822 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6824 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6825 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6826 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6827 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6828 for ac_extension
in a so sl
; do
6829 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6830 test -f $ac_im_libdir/libX11.
$ac_extension; then
6831 ac_im_usrlibdir
=$ac_im_libdir; break
6834 # Screen out bogus values from the imake configuration. They are
6835 # bogus both because they are the default anyway, and because
6836 # using them would break gcc on systems where it needs fixed includes.
6837 case $ac_im_incroot in
6839 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6841 case $ac_im_usrlibdir in
6843 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6850 # Standard set of common directories for X headers.
6851 # Check X11 before X11Rn because it is often a symlink to the current release.
6863 /usr/local/X11/include
6864 /usr/local/X11R6/include
6865 /usr/local/X11R5/include
6866 /usr/local/X11R4/include
6868 /usr/local/include/X11
6869 /usr/local/include/X11R6
6870 /usr/local/include/X11R5
6871 /usr/local/include/X11R4
6875 /usr/XFree86/include/X11
6879 /usr/unsupported/include
6881 /usr/local/x11r5/include
6882 /usr/lpp/Xamples/include
6884 /usr/openwin/include
6885 /usr/openwin/share/include'
6887 if test "$ac_x_includes" = no
; then
6888 # Guess where to find include files, by looking for Intrinsic.h.
6889 # First, try using that file with no special directory specified.
6890 cat >conftest.
$ac_ext <<_ACEOF
6893 cat confdefs.h
>>conftest.
$ac_ext
6894 cat >>conftest.
$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6896 #include <X11/Intrinsic.h>
6898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6899 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6901 grep -v '^ *+' conftest.er1
>conftest.err
6903 cat conftest.err
>&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } >/dev
/null
; then
6906 if test -s conftest.err
; then
6907 ac_cpp_err
=$ac_c_preproc_warn_flag
6908 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6915 if test -z "$ac_cpp_err"; then
6916 # We can compile using X headers with no special include directory.
6919 echo "$as_me: failed program was:" >&5
6920 sed 's/^/| /' conftest.
$ac_ext >&5
6922 for ac_dir
in $ac_x_header_dirs; do
6923 if test -r "$ac_dir/X11/Intrinsic.h"; then
6924 ac_x_includes
=$ac_dir
6929 rm -f conftest.err conftest.
$ac_ext
6930 fi # $ac_x_includes = no
6932 if test "$ac_x_libraries" = no
; then
6933 # Check for the libraries.
6934 # See if we find them without any special options.
6935 # Don't add to $LIBS permanently.
6938 cat >conftest.
$ac_ext <<_ACEOF
6941 cat confdefs.h
>>conftest.
$ac_ext
6942 cat >>conftest.
$ac_ext <<_ACEOF
6943 /* end confdefs.h. */
6944 #include <X11/Intrinsic.h>
6953 rm -f conftest.
$ac_objext conftest
$ac_exeext
6954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6955 (eval $ac_link) 2>conftest.er1
6957 grep -v '^ *+' conftest.er1
>conftest.err
6959 cat conftest.err
>&5
6960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6961 (exit $ac_status); } &&
6962 { ac_try
='test -z "$ac_c_werror_flag"
6963 || test ! -s conftest.err'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; } &&
6969 { ac_try
='test -s conftest$ac_exeext'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; }; then
6976 # We can link X programs with no special library path.
6979 echo "$as_me: failed program was:" >&5
6980 sed 's/^/| /' conftest.
$ac_ext >&5
6983 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6985 # Don't even attempt the hair of trying to link an X program!
6986 for ac_extension
in a so sl
; do
6987 if test -r $ac_dir/libXt.
$ac_extension; then
6988 ac_x_libraries
=$ac_dir
6994 rm -f conftest.err conftest.
$ac_objext \
6995 conftest
$ac_exeext conftest.
$ac_ext
6996 fi # $ac_x_libraries = no
6998 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6999 # Didn't find X anywhere. Cache the known absence of X.
7000 ac_cv_have_x
="have_x=no"
7002 # Record where we found X for the cache.
7003 ac_cv_have_x
="have_x=yes \
7004 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7009 eval "$ac_cv_have_x"
7012 if test "$have_x" != yes; then
7013 echo "$as_me:$LINENO: result: $have_x" >&5
7014 echo "${ECHO_T}$have_x" >&6
7017 # If each of the values was on the command line, it overrides each guess.
7018 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7019 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7020 # Update the cache value to reflect the command line values.
7021 ac_cv_have_x
="have_x=yes \
7022 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7023 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
7024 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
7030 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7031 aros_config_aflags
="-Wall -x assembler-with-cpp -c"
7032 aros_config_ldflags
=""
7034 aros_shared_default
=yes
7036 aros_shared_cflags
="-fPIC"
7037 aros_shared_aflags
=""
7038 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7039 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7041 aros_target_ar_flags
="cr"
7042 aros_target_nm_flags
="-C -ul"
7043 aros_target_strip_flags
="--strip-unneeded -R.comment"
7047 aros_target_genmap
="-Wl,-Map -Xlinker"
7049 # Native flavour stuff
7051 aros_serial_debug
="0"
7053 # Palm native flavour stuff
7054 aros_palm_debug_hack
="0"
7056 # Unix flavour stuff
7057 aros_nesting_supervisor
="0"
7059 # Collect-aros stuff: "-ius" to ignore undefined symbols
7060 ignore_undefined_symbols
=""
7064 DO_VIDMODE_SUPPORT
="1"
7066 #-----------------------------------------------------------------------------
7068 echo "$as_me:$LINENO: checking for type of build" >&5
7069 echo $ECHO_N "checking for type of build... $ECHO_C" >&6
7070 # Check whether --enable-build_type or --disable-build_type was given.
7071 if test "${enable_build_type+set}" = set; then
7072 enableval
="$enable_build_type"
7073 build_type
=$enableval
7075 build_type
="personal"
7078 if test "$build_type" = "nightly"; then
7079 build_type_string
="NIGHTLY"
7080 elif test "$build_type" = "snapshot"; then
7081 build_type_string
="SNAPSHOT"
7082 elif test "$build_type" = "milestone"; then
7083 build_type_string
="MILESTONE"
7084 elif test "$build_type" = "release"; then
7085 build_type_string
="RELEASE"
7087 build_type_string
="PERSONAL"
7088 build_type
="personal"
7091 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7093 echo "$as_me:$LINENO: result: $build_type" >&5
7094 echo "${ECHO_T}$build_type" >&6
7096 #-----------------------------------------------------------------------------
7097 all_debug_types
="messages stack mungwall modules symbols"
7099 echo "$as_me:$LINENO: checking which debug types to enable" >&5
7100 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6
7101 # Check whether --enable-debug or --disable-debug was given.
7102 if test "${enable_debug+set}" = set; then
7103 enableval
="$enable_debug"
7109 if test "$debug" = "" -o "$debug" = "no"; then
7111 elif test "$debug" = "yes"; then
7115 if test "$debug" = "all" ; then
7116 debug
=$all_debug_types
7117 for d
in $all_debug_types; do
7118 export aros_
${d}_debug
="1"
7121 for d
in $all_debug_types; do
7122 export aros_
${d}_debug
="0"
7126 if test "$debug" != "none"; then
7127 debug
=`echo $debug | sed s/,/\ /g`
7130 for d2
in $all_debug_types; do
7131 if test "$d2" = "$d"; then
7136 if test "$found" = "0"; then
7137 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
7138 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
7139 { (exit 1); exit 1; }; }
7141 export aros_
${d}_debug
="1"
7145 echo "$as_me:$LINENO: result: $debug" >&5
7146 echo "${ECHO_T}$debug" >&6
7148 if test "$aros_messages_debug" = "1"; then
7149 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7151 aros_messages_debug
=""
7153 if test "$aros_symbols_debug" = "1"; then
7154 aros_symbols_debug
="-g"
7156 aros_symbols_debug
=""
7159 # These are the flags to pass when compiling debugged programs
7160 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7161 aros_debug_aflags
=""
7162 aros_debug_ldflags
="$aros_symbols_debug"
7164 #-----------------------------------------------------------------------------
7165 # Checking for distcc and ccache.
7167 # Always apply the transforms in this particular order. Basically you should
7168 # always run 'ccache distcc compiler' in that order for the best performance.
7170 echo "$as_me:$LINENO: checking whether to enable distcc" >&5
7171 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6
7172 # Check whether --enable-distcc or --disable-distcc was given.
7173 if test "${enable_distcc+set}" = set; then
7174 enableval
="$enable_distcc"
7179 if test "$distcc" != "" -a "$distcc" != "no"; then
7180 # AC_CHECK_PROG will print out the result in this case
7181 # Extract the first word of "distcc", so it can be a program name with args.
7182 set dummy distcc
; ac_word
=$2
7183 echo "$as_me:$LINENO: checking for $ac_word" >&5
7184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7185 if test "${ac_cv_path_DISTCC+set}" = set; then
7186 echo $ECHO_N "(cached) $ECHO_C" >&6
7190 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7197 test -z "$as_dir" && as_dir
=.
7198 for ac_exec_ext
in '' $ac_executable_extensions; do
7199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7207 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7211 DISTCC
=$ac_cv_path_DISTCC
7213 if test -n "$DISTCC"; then
7214 echo "$as_me:$LINENO: result: $DISTCC" >&5
7215 echo "${ECHO_T}$DISTCC" >&6
7217 echo "$as_me:$LINENO: result: no" >&5
7218 echo "${ECHO_T}no" >&6
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7226 echo "$as_me:$LINENO: checking whether to enable ccache" >&5
7227 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6
7228 # Check whether --enable-ccache or --disable-ccache was given.
7229 if test "${enable_ccache+set}" = set; then
7230 enableval
="$enable_ccache"
7235 if test "$ccache" != "" -a "$ccache" != "no"; then
7236 # AC_CHECK_PROG will print out the result in this case
7237 # Extract the first word of "ccache", so it can be a program name with args.
7238 set dummy ccache
; ac_word
=$2
7239 echo "$as_me:$LINENO: checking for $ac_word" >&5
7240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7241 if test "${ac_cv_prog_CCACHE+set}" = set; then
7242 echo $ECHO_N "(cached) $ECHO_C" >&6
7244 if test -n "$CCACHE"; then
7245 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7251 test -z "$as_dir" && as_dir
=.
7252 for ac_exec_ext
in '' $ac_executable_extensions; do
7253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7254 ac_cv_prog_CCACHE
="ccache"
7255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 CCACHE
=$ac_cv_prog_CCACHE
7264 if test -n "$CCACHE"; then
7265 echo "$as_me:$LINENO: result: $CCACHE" >&5
7266 echo "${ECHO_T}$CCACHE" >&6
7268 echo "$as_me:$LINENO: result: no" >&5
7269 echo "${ECHO_T}no" >&6
7273 echo "$as_me:$LINENO: result: no" >&5
7274 echo "${ECHO_T}no" >&6
7277 #-----------------------------------------------------------------------------
7278 echo "$as_me:$LINENO: checking what optimization flags to use" >&5
7279 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6
7281 # Check whether --with-optimization or --without-optimization was given.
7282 if test "${with_optimization+set}" = set; then
7283 withval
="$with_optimization"
7284 optimization
="$withval"
7286 optimization
="unknown"
7288 if test "$optimization" = "unknown"; then
7289 if test "$debug" != "none"; then
7295 aros_config_cflags
="$aros_config_cflags $optimization"
7296 echo "$as_me:$LINENO: result: $optimization" >&5
7297 echo "${ECHO_T}$optimization" >&6
7299 #-----------------------------------------------------------------------------
7300 echo "$as_me:$LINENO: checking what target variant to enable" >&5
7301 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6
7302 # Check whether --enable-target_variant or --disable-target_variant was given.
7303 if test "${enable_target_variant+set}" = set; then
7304 enableval
="$enable_target_variant"
7305 target_variant
=$enableval
7307 target_variant
="none"
7309 if test "$target_variant" = "none"; then
7310 aros_target_variant
=""
7311 aros_target_suffix
=""
7313 aros_target_variant
="$target_variant"
7314 aros_target_suffix
="-$target_variant"
7316 echo "$as_me:$LINENO: result: $enableval" >&5
7317 echo "${ECHO_T}$enableval" >&6
7319 #-----------------------------------------------------------------------------
7320 # This is the target configuration switch.
7321 case "$target_os" in
7323 aros_target_arch
="linux"
7324 case "$target_cpu" in
7326 aros_target_cpu
="m68k"
7327 aros_object_format
="m68kelf"
7328 aros_flavour
="emulcompat"
7329 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7330 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7331 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7332 gcc_target_cpu
="mc68000"
7335 aros_target_cpu
="i386"
7336 aros_object_format
="elf_i386"
7337 aros_flavour
="emulation"
7338 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7339 aros_default_wbdepth
=8
7340 gcc_target_cpu
="i386"
7343 aros_target_cpu
="x86_64"
7344 aros_object_format
="elf_x86_64"
7345 aros_flavour
="emulation"
7346 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7347 aros_default_wbdepth
=8
7348 gcc_target_cpu
="x86_64"
7351 aros_target_cpu
="ppc"
7352 aros_object_format
="elf32ppc"
7353 aros_flavour
="emulation"
7354 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7355 aros_default_wbdepth
=8
7356 aros_compiler_libs
="-lgcc"
7357 gcc_target_cpu
="ppc"
7360 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
7361 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
7362 { (exit 1); exit 1; }; }
7368 aros_target_arch
="pc"
7369 aros_shared_default
="no"
7370 case "$target_cpu" in
7372 aros_target_cpu
="i386"
7375 if test "$aros_object_format" = "" ; then
7376 aros_object_format
="elf_i386"
7378 aros_flavour
="standalone"
7379 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7380 aros_kernel_ldflags
=""
7381 aros_default_wbwidth
=640
7382 aros_default_wbheight
=480
7383 gcc_target_cpu
="i386"
7386 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
7387 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
7388 { (exit 1); exit 1; }; }
7394 aros_target_arch
="prep"
7395 aros_shared_default
="no"
7396 aros_target_cpu
="ppc"
7397 aros_object_format
="elf32ppc"
7398 aros_flavour
="ppcnative"
7399 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7400 aros_kernel_ldflags
=""
7401 aros_default_wbwidth
=640
7402 aros_default_wbheight
=480
7403 gcc_target_cpu
="ppc"
7404 case "$target_cpu" in
7406 aros_target_cc
="ppc-linux-gcc -pipe"
7407 aros_target_ld
="ppc-linux-ld"
7408 aros_target_as
="ppc-linux-as"
7409 aros_target_ar
="ppc-linux-ar"
7410 aros_target_ranlib
="ppc-linux-ranlib"
7411 aros_target_nm
="ppc-linux-nm"
7412 aros_target_strip
="ppc-linux-strip"
7413 aros_target_objcopy
="ppc-linux-objcopy"
7414 aros_target_objdump
="ppc-linux-objdump"
7415 aros_shared_ld
="ppc-linux-ld"
7416 aros_kernel_ld
="ppc-linux-ld"
7424 aros_target_arch
="freebsd"
7425 aros_target_cpu
="i386"
7426 aros_flavour
="emulation"
7427 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7428 gcc_target_cpu
="i386"
7430 aros_target_strip_flags
="-x"
7434 aros_target_arch
="darwin"
7435 aros_target_cpu
="i386"
7436 aros_flavour
="emulation"
7437 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7438 gcc_target_cpu
="i386"
7440 aros_target_strip_flags
="-x"
7444 aros_target_arch
="netbsd"
7445 case "$target_cpu" in
7447 aros_target_cpu
="m68k"
7448 aros_object_format
="m68kelf"
7449 aros_flavour
="emulcompat"
7450 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7451 gcc_target_cpu
="mc68000"
7454 aros_target_cpu
="i386"
7455 aros_object_format
="elf_i386"
7456 aros_flavour
="emulation"
7457 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7458 aros_default_wbdepth
=8
7459 gcc_target_cpu
="i386"
7462 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
7463 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
7464 { (exit 1); exit 1; }; }
7467 aros_target_genmap
="-Wl,-M -Xlinker >"
7468 aros_flavour
="emulation"
7469 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7473 aros_target_arch
="openbsd"
7474 case "$target_cpu" in
7476 aros_target_cpu
="i386"
7477 aros_object_format
="elf_i386"
7478 aros_flavour
="emulation"
7479 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7480 gcc_target_cpu
="i386"
7483 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
7484 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
7485 { (exit 1); exit 1; }; }
7488 aros_target_genmap
="-Wl,-M -Xlinker >"
7489 aros_target_nm_flags
="-u"
7490 aros_flavour
="emulation"
7494 aros_target_arch
="solaris"
7495 case "$target_cpu" in
7497 aros_target_cpu
="sparc"
7498 aros_object_format
="elf_sparc"
7499 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7500 gcc_target_cpu
="sparc"
7503 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
7504 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
7505 { (exit 1); exit 1; }; }
7508 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7509 aros_flavour
="emulation"
7513 aros_target_arch
="morphos"
7514 aros_shared_default
="no"
7515 aros_target_cpu
="ppc"
7516 aros_object_format
="elf_ppc"
7517 aros_flavour
="nativecompat"
7518 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7519 gcc_target_cpu
="ppc"
7523 aros_target_arch
="amiga"
7524 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7525 aros_shared_default
="no"
7527 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
7529 case "$target_cpu" in
7531 aros_target_cpu
="m68k"
7532 aros_object_format
="m68kelf"
7533 aros_flavour
="nativecompat"
7534 gcc_target_cpu
="mc68000"
7538 aros_flavour
="native"
7539 gcc_target_cpu
="ppc"
7542 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
7543 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
7544 { (exit 1); exit 1; }; }
7550 aros_target_arch
="cygwin"
7551 aros_shared_default
="no"
7552 case "$target_cpu" in
7554 aros_target_cpu
="i386"
7555 aros_object_format
="elf_i386"
7556 aros_flavour
="emulation"
7557 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
7558 aros_shared_cflags
=""
7559 aros_default_wbdepth
=8
7560 gcc_target_cpu
="i386"
7563 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
7564 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
7565 { (exit 1); exit 1; }; }
7570 aros_target_arch
="pp"
7571 aros_shared_default
="no"
7572 case "$target_cpu" in
7574 aros_target_cpu
="m68k"
7575 aros_object_format
="m68kelf"
7576 aros_flavour
="palmnative"
7577 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7578 aros_kernel_ldflags
=""
7579 aros_default_wbwidth
=160
7580 aros_default_wbheight
=160
7581 aros_default_wbdepth
=1
7582 aros_target_cc
="m68k-elf-gcc -pipe"
7583 aros_target_ld
="$(which m68k-elf-ld)"
7584 aros_target_as
="m68k-elf-gcc -pipe"
7585 aros_shared_ld
="m68k-elf-gcc"
7586 aros_kernel_ld
="m68k-elf-gcc"
7587 aros_target_ar
="m68k-elf-ar"
7588 aros_target_ar_flags
="cru"
7589 aros_target_ranlib
="m68k-elf-ranlib"
7590 aros_target_nm
="m68k-elf-nm"
7591 aros_target_objcopy
="m68k-elf-objcopy"
7592 aros_target_objdump
="m68k-elf-objdump"
7593 aros_compiler_libs
="-lgcc1"
7594 aros_shared_default
=no
7595 aros_shared_cflags
="-fpic"
7596 aros_shared_aflags
=""
7597 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7598 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7599 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7600 aros_debug_aflags
=""
7601 aros_debug_ldflags
="$aros_symbols_debug"
7602 aros_mungwall_debug
="0"
7603 aros_modules_debug
="0"
7604 gcc_target_cpu
="mc68000"
7605 ignore_undefined_symbols
="-ius"
7608 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
7609 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
7610 { (exit 1); exit 1; }; }
7616 aros_target_arch
="mac"
7617 aros_shared_default
="no"
7618 case "$target_cpu" in
7620 aros_target_cpu
="m68k"
7621 aros_object_format
="m68kelf"
7622 aros_flavour
="mac68knative"
7623 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7624 aros_default_wbwidth
=512
7625 aros_default_wbheight
=384
7626 aros_default_wbdepth
=8
7627 aros_target_cc
="m68k-elf-gcc -pipe"
7628 aros_target_ld
="$(which m68k-elf-ld)"
7629 aros_target_as
="m68k-elf-gcc -pipe"
7630 aros_shared_ld
="m68k-elf-gcc"
7631 aros_kernel_ld
="m68k-elf-gcc"
7632 aros_target_ar
="m68k-elf-ar"
7633 aros_target_ar_flags
="cru"
7634 aros_target_ranlib
="m68k-elf-ranlib"
7635 aros_target_nm
="m68k-elf-nm"
7636 aros_target_objcopy
="m68k-elf-objcopy"
7637 aros_target_objdump
="m68k-elf-objdump"
7638 aros_compiler_libs
="-lgcc1"
7639 aros_shared_default
=no
7640 aros_shared_cflags
="-fpic"
7641 aros_shared_aflags
=""
7642 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7643 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7644 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000"
7645 aros_debug_aflags
=""
7646 aros_debug_ldflags
="$aros_symbols_debug"
7647 aros_mungwall_debug
="0"
7648 aros_modules_debug
="0"
7649 gcc_target_cpu
="mc68000"
7650 ignore_undefined_symbols
="-ius"
7653 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&5
7654 echo "$as_me: error: \"Unknown CPU for Mac68k -- $target_cpu\"" >&2;}
7655 { (exit 1); exit 1; }; }
7661 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
7662 echo "$as_me: error: Unsupported target architecture $target" >&2;}
7663 { (exit 1); exit 1; }; }
7668 # Find out if we are cross-compiling (ie. if we can't use the host compiler
7671 if test "$aros_host_cpu" != "$aros_target_cpu" ; then
7674 if test "$aros_host_arch" == "darwin" ; then
7678 # Set prefix for target compiler etc. if we're cross-compiling
7679 # (should possibly be earlier but needs to be after AC_PROG_CC)
7680 if test "$cross_compiling" = "yes" ; then
7681 target_tool_prefix
=${target_cpu}-elf-
7682 CC
=${target_tool_prefix}gcc
7685 # Find all the tools we need to compile. This could be cross-compiling
7686 # though! If that is the case we use the GNU form of the target and
7687 # simply add this to the front of the binary name. This is rather simple,
7688 # but it should work under most circumstances.
7690 # The default tools are to use the same as the host, but only if the
7691 # host and target CPU are the same. With GCC this is normally enough.
7695 aros_shared_ld
="$aros_host_ld"
7697 aros_target_mkdep
="$aros_host_mkdep"
7698 aros_target_incl_def
="$aros_host_incl"
7700 # Extract the first word of "$CC", so it can be a program name with args.
7701 set dummy
$CC; ac_word
=$2
7702 echo "$as_me:$LINENO: checking for $ac_word" >&5
7703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7704 if test "${ac_cv_path_aros_kernel_cc+set}" = set; then
7705 echo $ECHO_N "(cached) $ECHO_C" >&6
7707 case $aros_kernel_cc in
7709 ac_cv_path_aros_kernel_cc
="$aros_kernel_cc" # Let the user override the test with a path.
7712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7716 test -z "$as_dir" && as_dir
=.
7717 for ac_exec_ext
in '' $ac_executable_extensions; do
7718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7719 ac_cv_path_aros_kernel_cc
="$as_dir/$ac_word$ac_exec_ext"
7720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 aros_kernel_cc
=$ac_cv_path_aros_kernel_cc
7731 if test -n "$aros_kernel_cc"; then
7732 echo "$as_me:$LINENO: result: $aros_kernel_cc" >&5
7733 echo "${ECHO_T}$aros_kernel_cc" >&6
7735 echo "$as_me:$LINENO: result: no" >&5
7736 echo "${ECHO_T}no" >&6
7740 # The default tools executables to be linked to.
7742 if test "$cross_compiling" = "yes" ; then
7743 # Extract the first word of "${target_tool_prefix}as", so it can be a program name with args.
7744 set dummy
${target_tool_prefix}as
; ac_word
=$2
7745 echo "$as_me:$LINENO: checking for $ac_word" >&5
7746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7747 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
7748 echo $ECHO_N "(cached) $ECHO_C" >&6
7750 case $aros_target_as_ln in
7752 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7759 test -z "$as_dir" && as_dir
=.
7760 for ac_exec_ext
in '' $ac_executable_extensions; do
7761 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7762 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7763 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7772 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7774 if test -n "$aros_target_as_ln"; then
7775 echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
7776 echo "${ECHO_T}$aros_target_as_ln" >&6
7778 echo "$as_me:$LINENO: result: no" >&5
7779 echo "${ECHO_T}no" >&6
7783 if test "$GCC" = "yes"; then
7784 aros_gcc_as
=`$CC -print-prog-name=as`
7785 # Extract the first word of "`basename $aros_gcc_[as]`", so it can be a program name with args.
7786 set dummy
`basename $aros_gcc_as`; ac_word
=$2
7787 echo "$as_me:$LINENO: checking for $ac_word" >&5
7788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7789 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
7790 echo $ECHO_N "(cached) $ECHO_C" >&6
7792 case $aros_target_as_ln in
7794 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7797 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7798 for as_dir
in `dirname $aros_gcc_as`
7801 test -z "$as_dir" && as_dir
=.
7802 for ac_exec_ext
in '' $ac_executable_extensions; do
7803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7804 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7814 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7816 if test -n "$aros_target_as_ln"; then
7817 echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
7818 echo "${ECHO_T}$aros_target_as_ln" >&6
7820 echo "$as_me:$LINENO: result: no" >&5
7821 echo "${ECHO_T}no" >&6
7825 if test "$aros_target_as_ln" = ""; then
7826 # Extract the first word of "as", so it can be a program name with args.
7827 set dummy as
; ac_word
=$2
7828 echo "$as_me:$LINENO: checking for $ac_word" >&5
7829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7830 if test "${ac_cv_path_aros_target_as_ln+set}" = set; then
7831 echo $ECHO_N "(cached) $ECHO_C" >&6
7833 case $aros_target_as_ln in
7835 ac_cv_path_aros_target_as_ln
="$aros_target_as_ln" # Let the user override the test with a path.
7838 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7842 test -z "$as_dir" && as_dir
=.
7843 for ac_exec_ext
in '' $ac_executable_extensions; do
7844 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7845 ac_cv_path_aros_target_as_ln
="$as_dir/$ac_word$ac_exec_ext"
7846 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7855 aros_target_as_ln
=$ac_cv_path_aros_target_as_ln
7857 if test -n "$aros_target_as_ln"; then
7858 echo "$as_me:$LINENO: result: $aros_target_as_ln" >&5
7859 echo "${ECHO_T}$aros_target_as_ln" >&6
7861 echo "$as_me:$LINENO: result: no" >&5
7862 echo "${ECHO_T}no" >&6
7868 if test "$aros_target_as_ln" = ""; then
7869 { { echo "$as_me:$LINENO: error: as is required to build AROS. Please install and run configure again." >&5
7870 echo "$as_me: error: as is required to build AROS. Please install and run configure again." >&2;}
7871 { (exit 1); exit 1; }; }
7874 if test "$cross_compiling" = "yes" ; then
7875 # Extract the first word of "${target_tool_prefix}ld", so it can be a program name with args.
7876 set dummy
${target_tool_prefix}ld
; ac_word
=$2
7877 echo "$as_me:$LINENO: checking for $ac_word" >&5
7878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7879 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
7880 echo $ECHO_N "(cached) $ECHO_C" >&6
7882 case $aros_kernel_ld in
7884 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7887 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7891 test -z "$as_dir" && as_dir
=.
7892 for ac_exec_ext
in '' $ac_executable_extensions; do
7893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7904 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7906 if test -n "$aros_kernel_ld"; then
7907 echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
7908 echo "${ECHO_T}$aros_kernel_ld" >&6
7910 echo "$as_me:$LINENO: result: no" >&5
7911 echo "${ECHO_T}no" >&6
7915 if test "$GCC" = "yes"; then
7916 aros_gcc_ld
=`$CC -print-prog-name=ld`
7917 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
7918 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
7919 echo "$as_me:$LINENO: checking for $ac_word" >&5
7920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7921 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
7922 echo $ECHO_N "(cached) $ECHO_C" >&6
7924 case $aros_kernel_ld in
7926 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7930 for as_dir
in `dirname $aros_gcc_ld`
7933 test -z "$as_dir" && as_dir
=.
7934 for ac_exec_ext
in '' $ac_executable_extensions; do
7935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7936 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7946 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7948 if test -n "$aros_kernel_ld"; then
7949 echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
7950 echo "${ECHO_T}$aros_kernel_ld" >&6
7952 echo "$as_me:$LINENO: result: no" >&5
7953 echo "${ECHO_T}no" >&6
7957 if test "$aros_kernel_ld" = ""; then
7958 # Extract the first word of "ld", so it can be a program name with args.
7959 set dummy ld
; ac_word
=$2
7960 echo "$as_me:$LINENO: checking for $ac_word" >&5
7961 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7962 if test "${ac_cv_path_aros_kernel_ld+set}" = set; then
7963 echo $ECHO_N "(cached) $ECHO_C" >&6
7965 case $aros_kernel_ld in
7967 ac_cv_path_aros_kernel_ld
="$aros_kernel_ld" # Let the user override the test with a path.
7970 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7974 test -z "$as_dir" && as_dir
=.
7975 for ac_exec_ext
in '' $ac_executable_extensions; do
7976 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7977 ac_cv_path_aros_kernel_ld
="$as_dir/$ac_word$ac_exec_ext"
7978 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 aros_kernel_ld
=$ac_cv_path_aros_kernel_ld
7989 if test -n "$aros_kernel_ld"; then
7990 echo "$as_me:$LINENO: result: $aros_kernel_ld" >&5
7991 echo "${ECHO_T}$aros_kernel_ld" >&6
7993 echo "$as_me:$LINENO: result: no" >&5
7994 echo "${ECHO_T}no" >&6
8000 if test "$aros_kernel_ld" = ""; then
8001 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
8002 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
8003 { (exit 1); exit 1; }; }
8006 if test "$cross_compiling" = "yes" ; then
8007 # Extract the first word of "${target_tool_prefix}ar", so it can be a program name with args.
8008 set dummy
${target_tool_prefix}ar; ac_word
=$2
8009 echo "$as_me:$LINENO: checking for $ac_word" >&5
8010 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8011 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8012 echo $ECHO_N "(cached) $ECHO_C" >&6
8014 case $aros_target_ar_ln in
8016 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8019 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8023 test -z "$as_dir" && as_dir
=.
8024 for ac_exec_ext
in '' $ac_executable_extensions; do
8025 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8036 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8038 if test -n "$aros_target_ar_ln"; then
8039 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8040 echo "${ECHO_T}$aros_target_ar_ln" >&6
8042 echo "$as_me:$LINENO: result: no" >&5
8043 echo "${ECHO_T}no" >&6
8047 if test "$GCC" = "yes"; then
8048 aros_gcc_ar
=`$CC -print-prog-name=ar`
8049 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
8050 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
8051 echo "$as_me:$LINENO: checking for $ac_word" >&5
8052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8053 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8054 echo $ECHO_N "(cached) $ECHO_C" >&6
8056 case $aros_target_ar_ln in
8058 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8061 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8062 for as_dir
in `dirname $aros_gcc_ar`
8065 test -z "$as_dir" && as_dir
=.
8066 for ac_exec_ext
in '' $ac_executable_extensions; do
8067 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8068 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8069 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8078 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8080 if test -n "$aros_target_ar_ln"; then
8081 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8082 echo "${ECHO_T}$aros_target_ar_ln" >&6
8084 echo "$as_me:$LINENO: result: no" >&5
8085 echo "${ECHO_T}no" >&6
8089 if test "$aros_target_ar_ln" = ""; then
8090 # Extract the first word of "ar", so it can be a program name with args.
8091 set dummy
ar; ac_word
=$2
8092 echo "$as_me:$LINENO: checking for $ac_word" >&5
8093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8094 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
8095 echo $ECHO_N "(cached) $ECHO_C" >&6
8097 case $aros_target_ar_ln in
8099 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
8102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8106 test -z "$as_dir" && as_dir
=.
8107 for ac_exec_ext
in '' $ac_executable_extensions; do
8108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8109 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
8110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
8121 if test -n "$aros_target_ar_ln"; then
8122 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
8123 echo "${ECHO_T}$aros_target_ar_ln" >&6
8125 echo "$as_me:$LINENO: result: no" >&5
8126 echo "${ECHO_T}no" >&6
8132 if test "$aros_target_ar_ln" = ""; then
8133 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
8134 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
8135 { (exit 1); exit 1; }; }
8138 if test "$cross_compiling" = "yes" ; then
8139 # Extract the first word of "${target_tool_prefix}nm", so it can be a program name with args.
8140 set dummy
${target_tool_prefix}nm
; ac_word
=$2
8141 echo "$as_me:$LINENO: checking for $ac_word" >&5
8142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8143 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8144 echo $ECHO_N "(cached) $ECHO_C" >&6
8146 case $aros_target_nm_ln in
8148 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8151 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8155 test -z "$as_dir" && as_dir
=.
8156 for ac_exec_ext
in '' $ac_executable_extensions; do
8157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8158 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8168 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8170 if test -n "$aros_target_nm_ln"; then
8171 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
8172 echo "${ECHO_T}$aros_target_nm_ln" >&6
8174 echo "$as_me:$LINENO: result: no" >&5
8175 echo "${ECHO_T}no" >&6
8179 if test "$GCC" = "yes"; then
8180 aros_gcc_nm
=`$CC -print-prog-name=nm`
8181 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
8182 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
8183 echo "$as_me:$LINENO: checking for $ac_word" >&5
8184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8185 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 case $aros_target_nm_ln in
8190 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8194 for as_dir
in `dirname $aros_gcc_nm`
8197 test -z "$as_dir" && as_dir
=.
8198 for ac_exec_ext
in '' $ac_executable_extensions; do
8199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8200 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8210 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8212 if test -n "$aros_target_nm_ln"; then
8213 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
8214 echo "${ECHO_T}$aros_target_nm_ln" >&6
8216 echo "$as_me:$LINENO: result: no" >&5
8217 echo "${ECHO_T}no" >&6
8221 if test "$aros_target_nm_ln" = ""; then
8222 # Extract the first word of "nm", so it can be a program name with args.
8223 set dummy nm
; ac_word
=$2
8224 echo "$as_me:$LINENO: checking for $ac_word" >&5
8225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8226 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
8227 echo $ECHO_N "(cached) $ECHO_C" >&6
8229 case $aros_target_nm_ln in
8231 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
8234 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8238 test -z "$as_dir" && as_dir
=.
8239 for ac_exec_ext
in '' $ac_executable_extensions; do
8240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8241 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
8242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8251 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
8253 if test -n "$aros_target_nm_ln"; then
8254 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
8255 echo "${ECHO_T}$aros_target_nm_ln" >&6
8257 echo "$as_me:$LINENO: result: no" >&5
8258 echo "${ECHO_T}no" >&6
8264 if test "$aros_target_nm_ln" = ""; then
8265 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
8266 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
8267 { (exit 1); exit 1; }; }
8270 if test "$cross_compiling" = "yes" ; then
8271 # Extract the first word of "${target_tool_prefix}objcopy", so it can be a program name with args.
8272 set dummy
${target_tool_prefix}objcopy
; ac_word
=$2
8273 echo "$as_me:$LINENO: checking for $ac_word" >&5
8274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8275 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
8276 echo $ECHO_N "(cached) $ECHO_C" >&6
8278 case $aros_target_objcopy_ln in
8280 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8283 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8287 test -z "$as_dir" && as_dir
=.
8288 for ac_exec_ext
in '' $ac_executable_extensions; do
8289 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8290 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8300 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8302 if test -n "$aros_target_objcopy_ln"; then
8303 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
8304 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
8306 echo "$as_me:$LINENO: result: no" >&5
8307 echo "${ECHO_T}no" >&6
8311 if test "$GCC" = "yes"; then
8312 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
8313 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
8314 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
8315 echo "$as_me:$LINENO: checking for $ac_word" >&5
8316 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8317 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
8318 echo $ECHO_N "(cached) $ECHO_C" >&6
8320 case $aros_target_objcopy_ln in
8322 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8325 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8326 for as_dir
in `dirname $aros_gcc_objcopy`
8329 test -z "$as_dir" && as_dir
=.
8330 for ac_exec_ext
in '' $ac_executable_extensions; do
8331 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8332 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8333 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8342 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8344 if test -n "$aros_target_objcopy_ln"; then
8345 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
8346 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
8348 echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6
8353 if test "$aros_target_objcopy_ln" = ""; then
8354 # Extract the first word of "objcopy", so it can be a program name with args.
8355 set dummy objcopy
; ac_word
=$2
8356 echo "$as_me:$LINENO: checking for $ac_word" >&5
8357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8358 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 case $aros_target_objcopy_ln in
8363 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
8366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8370 test -z "$as_dir" && as_dir
=.
8371 for ac_exec_ext
in '' $ac_executable_extensions; do
8372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8373 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
8374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8383 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
8385 if test -n "$aros_target_objcopy_ln"; then
8386 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
8387 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
8389 echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6
8396 if test "$aros_target_objcopy_ln" = ""; then
8397 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
8398 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
8399 { (exit 1); exit 1; }; }
8402 if test "$cross_compiling" = "yes" ; then
8403 # Extract the first word of "${target_tool_prefix}objdump", so it can be a program name with args.
8404 set dummy
${target_tool_prefix}objdump
; ac_word
=$2
8405 echo "$as_me:$LINENO: checking for $ac_word" >&5
8406 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8407 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
8408 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 case $aros_target_objdump_ln in
8412 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8419 test -z "$as_dir" && as_dir
=.
8420 for ac_exec_ext
in '' $ac_executable_extensions; do
8421 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8422 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8423 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8432 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8434 if test -n "$aros_target_objdump_ln"; then
8435 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
8436 echo "${ECHO_T}$aros_target_objdump_ln" >&6
8438 echo "$as_me:$LINENO: result: no" >&5
8439 echo "${ECHO_T}no" >&6
8443 if test "$GCC" = "yes"; then
8444 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
8445 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
8446 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
8447 echo "$as_me:$LINENO: checking for $ac_word" >&5
8448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8449 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 case $aros_target_objdump_ln in
8454 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8457 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8458 for as_dir
in `dirname $aros_gcc_objdump`
8461 test -z "$as_dir" && as_dir
=.
8462 for ac_exec_ext
in '' $ac_executable_extensions; do
8463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8464 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8474 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8476 if test -n "$aros_target_objdump_ln"; then
8477 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
8478 echo "${ECHO_T}$aros_target_objdump_ln" >&6
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8485 if test "$aros_target_objdump_ln" = ""; then
8486 # Extract the first word of "objdump", so it can be a program name with args.
8487 set dummy objdump
; ac_word
=$2
8488 echo "$as_me:$LINENO: checking for $ac_word" >&5
8489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8490 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
8491 echo $ECHO_N "(cached) $ECHO_C" >&6
8493 case $aros_target_objdump_ln in
8495 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
8498 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8502 test -z "$as_dir" && as_dir
=.
8503 for ac_exec_ext
in '' $ac_executable_extensions; do
8504 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8505 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
8506 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8515 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
8517 if test -n "$aros_target_objdump_ln"; then
8518 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
8519 echo "${ECHO_T}$aros_target_objdump_ln" >&6
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8528 if test "$aros_target_objdump_ln" = ""; then
8529 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
8530 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
8531 { (exit 1); exit 1; }; }
8534 if test "$cross_compiling" = "yes" ; then
8535 # Extract the first word of "${target_tool_prefix}ranlib", so it can be a program name with args.
8536 set dummy
${target_tool_prefix}ranlib
; ac_word
=$2
8537 echo "$as_me:$LINENO: checking for $ac_word" >&5
8538 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8539 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
8540 echo $ECHO_N "(cached) $ECHO_C" >&6
8542 case $aros_target_ranlib_ln in
8544 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8551 test -z "$as_dir" && as_dir
=.
8552 for ac_exec_ext
in '' $ac_executable_extensions; do
8553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8554 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8564 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8566 if test -n "$aros_target_ranlib_ln"; then
8567 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
8568 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
8570 echo "$as_me:$LINENO: result: no" >&5
8571 echo "${ECHO_T}no" >&6
8575 if test "$GCC" = "yes"; then
8576 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
8577 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
8578 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
8579 echo "$as_me:$LINENO: checking for $ac_word" >&5
8580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8581 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
8582 echo $ECHO_N "(cached) $ECHO_C" >&6
8584 case $aros_target_ranlib_ln in
8586 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8590 for as_dir
in `dirname $aros_gcc_ranlib`
8593 test -z "$as_dir" && as_dir
=.
8594 for ac_exec_ext
in '' $ac_executable_extensions; do
8595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8596 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8606 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8608 if test -n "$aros_target_ranlib_ln"; then
8609 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
8610 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
8612 echo "$as_me:$LINENO: result: no" >&5
8613 echo "${ECHO_T}no" >&6
8617 if test "$aros_target_ranlib_ln" = ""; then
8618 # Extract the first word of "ranlib", so it can be a program name with args.
8619 set dummy ranlib
; ac_word
=$2
8620 echo "$as_me:$LINENO: checking for $ac_word" >&5
8621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8622 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
8623 echo $ECHO_N "(cached) $ECHO_C" >&6
8625 case $aros_target_ranlib_ln in
8627 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
8630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8634 test -z "$as_dir" && as_dir
=.
8635 for ac_exec_ext
in '' $ac_executable_extensions; do
8636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8637 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
8638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8647 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
8649 if test -n "$aros_target_ranlib_ln"; then
8650 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
8651 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
8653 echo "$as_me:$LINENO: result: no" >&5
8654 echo "${ECHO_T}no" >&6
8660 if test "$aros_target_ranlib_ln" = ""; then
8661 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
8662 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
8663 { (exit 1); exit 1; }; }
8666 if test "$cross_compiling" = "yes" ; then
8667 # Extract the first word of "${target_tool_prefix}strip", so it can be a program name with args.
8668 set dummy
${target_tool_prefix}strip
; ac_word
=$2
8669 echo "$as_me:$LINENO: checking for $ac_word" >&5
8670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8671 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
8672 echo $ECHO_N "(cached) $ECHO_C" >&6
8674 case $aros_target_strip_ln in
8676 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8683 test -z "$as_dir" && as_dir
=.
8684 for ac_exec_ext
in '' $ac_executable_extensions; do
8685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8696 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8698 if test -n "$aros_target_strip_ln"; then
8699 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
8700 echo "${ECHO_T}$aros_target_strip_ln" >&6
8702 echo "$as_me:$LINENO: result: no" >&5
8703 echo "${ECHO_T}no" >&6
8707 if test "$GCC" = "yes"; then
8708 aros_gcc_strip
=`$CC -print-prog-name=strip`
8709 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
8710 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
8711 echo "$as_me:$LINENO: checking for $ac_word" >&5
8712 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8713 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
8714 echo $ECHO_N "(cached) $ECHO_C" >&6
8716 case $aros_target_strip_ln in
8718 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8721 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8722 for as_dir
in `dirname $aros_gcc_strip`
8725 test -z "$as_dir" && as_dir
=.
8726 for ac_exec_ext
in '' $ac_executable_extensions; do
8727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8728 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8738 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8740 if test -n "$aros_target_strip_ln"; then
8741 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
8742 echo "${ECHO_T}$aros_target_strip_ln" >&6
8744 echo "$as_me:$LINENO: result: no" >&5
8745 echo "${ECHO_T}no" >&6
8749 if test "$aros_target_strip_ln" = ""; then
8750 # Extract the first word of "strip", so it can be a program name with args.
8751 set dummy strip
; ac_word
=$2
8752 echo "$as_me:$LINENO: checking for $ac_word" >&5
8753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8754 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
8755 echo $ECHO_N "(cached) $ECHO_C" >&6
8757 case $aros_target_strip_ln in
8759 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
8762 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8766 test -z "$as_dir" && as_dir
=.
8767 for ac_exec_ext
in '' $ac_executable_extensions; do
8768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8769 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
8770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8779 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
8781 if test -n "$aros_target_strip_ln"; then
8782 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
8783 echo "${ECHO_T}$aros_target_strip_ln" >&6
8785 echo "$as_me:$LINENO: result: no" >&5
8786 echo "${ECHO_T}no" >&6
8792 if test "$aros_target_strip_ln" = ""; then
8793 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
8794 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
8795 { (exit 1); exit 1; }; }
8798 if test "$GCC" = "yes"; then
8799 aros_target_cc_path
=`$aros_kernel_cc -print-search-dirs | grep "programs: =" | cut -c 12-`
8802 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
8803 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
8804 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
8805 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
8806 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
8807 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
8808 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
8810 # aros_cc_pre is a variable that is added to the front of the compiler name
8811 # in the generated aros-gcc shell script. We need this to enable the cache
8812 # to work across cleaned builds. Also, support DISTCC using the correct
8813 # environment variable.
8816 if test "x${DISTCC}" != "x" ; then
8817 if test "x${CCACHE}" != "x" ; then
8818 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
8820 aros_cc_pre
="${DISTCC} "
8823 if test "x${CCACHE}" != "x" ; then
8824 aros_cc_pre
="${CCACHE} "
8828 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
8830 aros_target_nostdinc_cflags
=-nostdinc
8832 aros_target_nostartup_ldflags
=-nostartfiles
8834 aros_target_nix_ldflags
=-nix
8836 aros_target_detach_ldflags
=-detach
8838 aros_target_nostdlib_ldflags
=-nostdlib
8842 aros_target_cc
="${prefix}-gcc"
8843 aros_target_as
="${prefix}-as"
8844 aros_target_ld
="${prefix}-ld"
8845 aros_target_ar
="${prefix}-ar $aros_target_ar_flags"
8846 aros_target_objcopy
=${prefix}-objcopy
8847 aros_target_objdump
=${prefix}-objdump
8848 aros_target_ranlib
="${prefix}-ranlib $aros_target_ranlib_flags"
8849 aros_target_nm
="${prefix}-nm $aros_target_nm_flags"
8850 aros_kernel_nm
="${prefix}-nm"
8851 aros_target_strip
=${prefix}-strip
8853 #-----------------------------------------------------------------------------
8854 # See if we can compile SHM support
8856 if [ "x$no_x" != "xyes" -a "x$ac_cv_header_sys_ipc_h" = "xyes" -a "x$ac_cv_header_sys_shm_h" = "xyes" ]; then
8857 echo "$as_me:$LINENO: checking whether the X11 MIT-SHM extension can be compiled in" >&5
8858 echo $ECHO_N "checking whether the X11 MIT-SHM extension can be compiled in... $ECHO_C" >&6
8859 if test -z "$x_includes" ; then
8862 CFLAGS
="-I $x_includes"
8864 LIBS
="-L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext"
8865 cat >conftest.
$ac_ext <<_ACEOF
8868 cat confdefs.h
>>conftest.
$ac_ext
8869 cat >>conftest.
$ac_ext <<_ACEOF
8870 /* end confdefs.h. */
8872 #include <sys/types.h>
8873 #include <X11/Xlib.h>
8874 #include <X11/Xutil.h>
8875 #include <X11/keysym.h>
8876 #include <X11/cursorfont.h>
8877 #include <sys/ipc.h>
8878 #include <sys/shm.h>
8879 #include <X11/extensions/XShm.h>
8884 static XShmSegmentInfo shminfo;
8885 static Display *display;
8886 XShmAttach(display, &shminfo);
8888 shmctl(shminfo.shmid, IPC_RMID, 0);
8894 rm -f conftest.
$ac_objext conftest
$ac_exeext
8895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8896 (eval $ac_link) 2>conftest.er1
8898 grep -v '^ *+' conftest.er1
>conftest.err
8900 cat conftest.err
>&5
8901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8902 (exit $ac_status); } &&
8903 { ac_try
='test -z "$ac_c_werror_flag"
8904 || test ! -s conftest.err'
8905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8909 (exit $ac_status); }; } &&
8910 { ac_try
='test -s conftest$ac_exeext'
8911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); }; }; then
8917 echo "$as_me:$LINENO: result: yes" >&5
8918 echo "${ECHO_T}yes" >&6
8920 echo "$as_me: failed program was:" >&5
8921 sed 's/^/| /' conftest.
$ac_ext >&5
8924 echo "$as_me:$LINENO: result: no" >&5
8925 echo "${ECHO_T}no" >&6
8927 rm -f conftest.err conftest.
$ac_objext \
8928 conftest
$ac_exeext conftest.
$ac_ext
8931 #-----------------------------------------------------------------------------
8932 # See if we can compile VIDMODE support
8933 HAVE_VIDMODE_SUPPORT
=0
8934 if [ "x$no_x" != "xyes" ]; then
8936 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8937 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8938 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8939 echo $ECHO_N "(cached) $ECHO_C" >&6
8941 ac_check_lib_save_LIBS
=$LIBS
8942 LIBS
="-lXxf86vm -L/usr/X11R6/lib -lXext -lX11 $LIBS"
8943 cat >conftest.
$ac_ext <<_ACEOF
8946 cat confdefs.h
>>conftest.
$ac_ext
8947 cat >>conftest.
$ac_ext <<_ACEOF
8948 /* end confdefs.h. */
8950 /* Override any gcc2 internal prototype to avoid an error. */
8954 /* We use char because int might match the return type of a gcc2
8955 builtin and then its argument prototype would still apply. */
8956 char XF86VidModeQueryExtension ();
8960 XF86VidModeQueryExtension ();
8965 rm -f conftest.
$ac_objext conftest
$ac_exeext
8966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8967 (eval $ac_link) 2>conftest.er1
8969 grep -v '^ *+' conftest.er1
>conftest.err
8971 cat conftest.err
>&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); } &&
8974 { ac_try
='test -z "$ac_c_werror_flag"
8975 || test ! -s conftest.err'
8976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8980 (exit $ac_status); }; } &&
8981 { ac_try
='test -s conftest$ac_exeext'
8982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8986 (exit $ac_status); }; }; then
8987 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8989 echo "$as_me: failed program was:" >&5
8990 sed 's/^/| /' conftest.
$ac_ext >&5
8992 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8994 rm -f conftest.err conftest.
$ac_objext \
8995 conftest
$ac_exeext conftest.
$ac_ext
8996 LIBS
=$ac_check_lib_save_LIBS
8998 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8999 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
9000 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9001 HAVE_VIDMODE_SUPPORT
=1
9003 HAVE_VIDMODE_SUPPORT
=0
9009 # Find the system include path. We can suggest that an alternative is
9010 # used if we don't get it correct. The default is to use /usr/include.
9011 # Which is set in the aros_target_incl_def variable.
9013 # Check whether --enable-includes or --disable-includes was given.
9014 if test "${enable_includes+set}" = set; then
9015 enableval
="$enable_includes"
9016 aros_target_incl
=$enable_includes
9018 aros_target_incl
=$aros_target_incl_def
9021 echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
9022 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6
9023 if test "$aros_target_cc_includes" = "" ; then
9024 #try to guess where the directory is
9025 aros_target_cc_includes
=`dirname \`${aros_kernel_cc} -print-libgcc-file-name\
``/include
9026 if ! test -d $aros_target_cc_includes; then
9027 #the directory doesn't exist, we need to do some more work
9028 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
9030 #these are the headers we're looling for
9031 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
9032 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
9036 for h
in $headers; do
9037 #which other headers each of the above headers needs?
9038 deps
=$
(echo "#include <$h>" | \
9039 $aros_host_cc -E -M - 2>/dev
/null | \
9040 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
9042 #copy all the needed headers to a directory beneath gendir
9045 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
9046 sed -n "s,^.*/include\(/.*\),\1,p")
9047 ! test -d $dir && mkdir
-p $dir
9048 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
9053 echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
9054 echo "${ECHO_T}$aros_target_cc_includes" >&6
9056 echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
9057 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6
9059 # Check whether --with-resolution or --without-resolution was given.
9060 if test "${with_resolution+set}" = set; then
9061 withval
="$with_resolution"
9066 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
9067 if test "$resolution" = "yes" ; then
9070 if test "$resolution" = "no" ; then
9073 if test "$resolution" != "none" ; then
9074 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
9075 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
9076 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
9078 echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
9079 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6
9080 aros_cv_default_wbwidth
=$aros_default_wbwidth
9081 aros_cv_default_wbheight
=$aros_default_wbheight
9082 aros_cv_default_wbdepth
=$aros_default_wbdepth
9084 echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
9085 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6
9086 # Check whether --enable-bochs_hack or --disable-bochs_hack was given.
9087 if test "${enable_bochs_hack+set}" = set; then
9088 enableval
="$enable_bochs_hack"
9093 if test "$bochs_hack" = "yes" ; then
9096 echo "$as_me:$LINENO: result: $bochs_hack" >&5
9097 echo "${ECHO_T}$bochs_hack" >&6
9099 echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
9100 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6
9102 # Check whether --with-serial-debug or --without-serial-debug was given.
9103 if test "${with_serial_debug+set}" = set; then
9104 withval
="$with_serial_debug"
9105 serial_debug
=$withval
9109 if test "$serial_debug" = "yes" ; then
9112 if test "$serial_debug" = "no" ; then
9115 if test "$serial_debug" != "none" ; then
9116 aros_serial_debug
=$serial_debug
9117 echo "$as_me:$LINENO: result: on port $serial_debug" >&5
9118 echo "${ECHO_T}on port $serial_debug" >&6
9120 echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6
9124 echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
9125 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6
9126 # Check whether --enable-palm_debug_hack or --disable-palm_debug_hack was given.
9127 if test "${enable_palm_debug_hack+set}" = set; then
9128 enableval
="$enable_palm_debug_hack"
9129 palm_debug_hack
="yes"
9131 palm_debug_hack
="no"
9133 if test "$palm_debug_hack" = "yes" ; then
9134 aros_palm_debug_hack
="1"
9136 echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
9137 echo "${ECHO_T}$palm_debug_hack" >&6
9140 echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
9141 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6
9142 # Check whether --enable-nesting_supervisor or --disable-nesting_supervisor was given.
9143 if test "${enable_nesting_supervisor+set}" = set; then
9144 enableval
="$enable_nesting_supervisor"
9145 nesting_supervisor
="yes"
9147 nesting_supervisor
="no"
9149 if test "$nesting_supervisor" = "yes" ; then
9150 aros_nesting_supervisor
="1"
9152 echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
9153 echo "${ECHO_T}$nesting_supervisor" >&6
9157 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
9158 echo "$as_me:$LINENO: checking if X11 MIT-SHM extension is enabled" >&5
9159 echo $ECHO_N "checking if X11 MIT-SHM extension is enabled... $ECHO_C" >&6
9160 # Check whether --enable-xshm_extension or --disable-xshm_extension was given.
9161 if test "${enable_xshm_extension+set}" = set; then
9162 enableval
="$enable_xshm_extension"
9163 xshm_extension
="$enableval"
9165 xshm_extension
="yes"
9167 if test "$xshm_extension" = "no" ; then
9170 echo "$as_me:$LINENO: result: $xshm_extension" >&5
9171 echo "${ECHO_T}$xshm_extension" >&6
9176 if test "$HAVE_VIDMODE_SUPPORT" = "1" ; then
9177 echo "$as_me:$LINENO: checking if vidmode extension is enabled" >&5
9178 echo $ECHO_N "checking if vidmode extension is enabled... $ECHO_C" >&6
9179 # Check whether --enable-vidmodeextension or --disable-vidmodeextension was given.
9180 if test "${enable_vidmodeextension+set}" = set; then
9181 enableval
="$enable_vidmodeextension"
9182 vidmode_extension
="$enableval"
9184 vidmode_extension
="yes"
9186 if test "$vidmode_extension" = "no" ; then
9187 DO_VIDMODE_SUPPORT
="0"
9189 echo "$as_me:$LINENO: result: $vidmode_extension" >&5
9190 echo "${ECHO_T}$vidmode_extension" >&6
9192 DO_VIDMODE_SUPPORT
="0"
9196 echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
9197 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6
9198 # Check whether --enable-dbus or --disable-dbus was given.
9199 if test "${enable_dbus+set}" = set; then
9200 enableval
="$enable_dbus"
9205 if test "$dbus" = "yes" ; then
9207 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
9208 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
9209 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
9210 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
9214 echo "$as_me:$LINENO: result: $dbus" >&5
9215 echo "${ECHO_T}$dbus" >&6
9301 # Native version related
9305 # Palm native version related
9308 # Unix/Hosted version related
9324 # Collect-aros stuff: "-ius" to ignore undefined symbols
9327 # C compiler related
9330 case "$aros_flavour" in
9331 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
9332 aros_flavour
="emulation" ;;
9333 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
9334 aros_flavour
="emulation" ;;
9335 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
9336 aros_flavour
="standalone";;
9337 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
9338 aros_flavour
="native" ;;
9339 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
9340 aros_flavour
="native" ;;
9341 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
9342 aros_flavour
="linklib" ;;
9343 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
9344 aros_flavour
="palmnative" ;;
9345 mac68knative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
9346 aros_flavour
="mac68knative" ;;
9347 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
9348 aros_flavour
="ppcnative" ;;
9351 if test -z "$aros_gui_basedir" ; then
9352 aros_gui_libdir
="$x_libraries"
9353 if test -z "$x_libraries" ; then
9356 aros_gui_ldflags
="-L $x_libraries"
9358 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
9359 aros_gui_libflags
="-lX11 -lXext"
9361 aros_gui_libflags
="-lX11"
9363 if test "$HAVE_VIDMODE_SUPPORT" = "1"; then
9364 aros_gui_libflags
="$aros_gui_libflags -lXxf86vm"
9367 aros_gui_incdir
="$x_includes"
9368 if test -z "$x_includes" ; then
9371 aros_gui_ccflags
="-I $x_includes"
9374 if test -n "$aros_gui_basedir" ; then
9375 aros_gui_libdir
="${aros_gui_basedir}/lib"
9376 aros_gui_incdir
="${aros_gui_basedir}/include"
9379 if test -n "$aros_gui_libdir" ; then
9380 aros_gui_ldflags
="-L ${aros_gui_libdir}"
9383 if test -n "$aros_gui_incdir" ; then
9384 aros_gui_ccflags
="-I ${aros_gui_incdir}"
9386 aros_gui_incdir
="${aros_sysincludes}"
9391 if test ! -d ${aros_inc_dir} ; then
9392 ${MKDIR} ${aros_inc_dir}
9394 if test ! -d ${aros_geninc_dir} ; then
9395 ${MKDIR} ${aros_geninc_dir}
9397 if test ! -d ${aros_hostcfg_dir} ; then
9398 ${MKDIR} ${aros_hostcfg_dir}
9400 if test ! -d ${aros_targetcfg_dir} ; then
9401 ${MKDIR} ${aros_targetcfg_dir}
9403 if test ! -d ${aros_tools_dir} ; then
9404 ${MKDIR} ${aros_tools_dir}
9406 if test ! -d ${aros_scripts_dir} ; then
9407 ${MKDIR} ${aros_scripts_dir}
9410 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
9413 ac_config_commands
="$ac_config_commands compiler_executable"
9415 ac_config_commands
="$ac_config_commands genshared_executable"
9417 ac_config_commands
="$ac_config_commands genmf_executable"
9419 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
9422 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"
9425 cat >confcache
<<\_ACEOF
9426 # This file is a shell script that caches the results of configure
9427 # tests run on this system so they can be shared between configure
9428 # scripts and configure runs, see configure's option --config-cache.
9429 # It is not useful on other systems. If it contains results you don't
9430 # want to keep, you may remove or edit it.
9432 # config.status only pays attention to the cache file if you give it
9433 # the --recheck option to rerun configure.
9435 # `ac_cv_env_foo' variables (set or unset) will be overridden when
9436 # loading this file, other *unset* `ac_cv_foo' will be assigned the
9441 # The following way of writing the cache mishandles newlines in values,
9442 # but we know of no workaround that is simple, portable, and efficient.
9443 # So, don't put newlines in cache variables' values.
9444 # Ultrix sh set writes to stderr and can't be redirected directly,
9445 # and sets the high bit in the cache file unless we assign to the vars.
9448 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9450 # `set' does not quote correctly, so add quotes (double-quote
9451 # substitution turns \\\\ into \\, and sed turns \\ into \).
9454 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
9457 # `set' quotes correctly as required by POSIX, so do not add quotes.
9459 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
9466 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
9468 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
9470 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
9471 if test -w $cache_file; then
9472 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
9473 cat confcache
>$cache_file
9475 echo "not updating unwritable cache $cache_file"
9480 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
9481 # Let make expand exec_prefix.
9482 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
9484 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9485 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9486 # trailing colons and then remove the whole line if VPATH becomes empty
9487 # (actually we leave an empty line to preserve line numbers).
9488 if test "x$srcdir" = x.
; then
9489 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9490 s/:*\$(srcdir):*/:/;
9491 s/:*\${srcdir}:*/:/;
9493 s/^\([^=]*=[ ]*\):*/\1/;
9499 DEFS
=-DHAVE_CONFIG_H
9503 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
9504 # 1. Remove the extension, and $U if already installed.
9505 ac_i
=`echo "$ac_i" |
9506 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
9508 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
9509 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
9513 LTLIBOBJS
=$ac_ltlibobjs
9517 : ${CONFIG_STATUS=./config.status}
9518 ac_clean_files_save
=$ac_clean_files
9519 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
9520 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
9521 echo "$as_me: creating $CONFIG_STATUS" >&6;}
9522 cat >$CONFIG_STATUS <<_ACEOF
9524 # Generated by $as_me.
9525 # Run this file to recreate the current configuration.
9526 # Compiler output produced by configure, useful for debugging
9527 # configure, is in config.log if it exists.
9532 SHELL=\${CONFIG_SHELL-$SHELL}
9535 cat >>$CONFIG_STATUS <<\_ACEOF
9536 ## --------------------- ##
9537 ## M4sh Initialization. ##
9538 ## --------------------- ##
9540 # Be Bourne compatible
9541 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
9544 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
9545 # is contrary to our usage. Disable this feature.
9546 alias -g '${1+"$@"}'='"$@"'
9547 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
9550 DUALCASE
=1; export DUALCASE
# for MKS sh
9552 # Support unset when possible.
9553 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
9560 # Work around bugs in pre-3.0 UWIN ksh.
9561 $as_unset ENV MAIL MAILPATH
9568 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9569 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9570 LC_TELEPHONE LC_TIME
9572 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9573 eval $as_var=C
; export $as_var
9579 # Required to use basename.
9580 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9586 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
9587 as_basename
=basename
9593 # Name of the executable.
9594 as_me
=`$as_basename "$0" ||
9595 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9596 X"$0" : 'X\(//\)$' \| \
9597 X"$0" : 'X\(/\)$' \| \
9598 . : '\(.\)' 2>/dev/null ||
9600 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
9601 /^X\/\(\/\/\)$/{ s//\1/; q; }
9602 /^X\/\(\/\).*/{ s//\1/; q; }
9606 # PATH needs CR, and LINENO needs CR and PATH.
9607 # Avoid depending upon Character Ranges.
9608 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
9609 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
9610 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
9611 as_cr_digits
='0123456789'
9612 as_cr_alnum
=$as_cr_Letters$as_cr_digits
9614 # The user is always right.
9615 if test "${PATH_SEPARATOR+set}" != set; then
9616 echo "#! /bin/sh" >conf$$.sh
9617 echo "exit 0" >>conf$$.sh
9619 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
9630 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
9631 test "x$as_lineno_1" != "x$as_lineno_2" &&
9632 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
9633 # Find who we are. Look in the path if we contain no path at all
9636 *[\\/]* ) as_myself
=$0 ;;
9637 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9641 test -z "$as_dir" && as_dir
=.
9642 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9647 # We did not find ourselves, most probably we were run as `sh COMMAND'
9648 # in which case we are not to be found in the path.
9649 if test "x$as_myself" = x
; then
9652 if test ! -f "$as_myself"; then
9653 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
9654 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
9655 { (exit 1); exit 1; }; }
9657 case $CONFIG_SHELL in
9659 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9660 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
9663 test -z "$as_dir" && as_dir
=.
9664 for as_base
in sh bash ksh sh5
; do
9667 if ("$as_dir/$as_base" -c '
9670 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
9671 test "x$as_lineno_1" != "x$as_lineno_2" &&
9672 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
9673 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
9674 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
9675 CONFIG_SHELL
=$as_dir/$as_base
9677 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
9685 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9686 # uniformly replaced by the line number. The first 'sed' inserts a
9687 # line-number line before each line; the second 'sed' does the real
9688 # work. The second script uses 'N' to pair each line-number line
9689 # with the numbered line, and appends trailing '-' during
9690 # substitution so that $LINENO is not a special case at line end.
9691 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9692 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
9693 sed '=' <$as_myself |
9698 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
9701 s,^['$as_cr_digits']*\n,,
9703 chmod +x
$as_me.lineno ||
9704 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
9705 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
9706 { (exit 1); exit 1; }; }
9708 # Don't try to exec as it changes $[0], causing all sort of problems
9709 # (the dirname of $[0] is not the place where we might find the
9710 # original and so on. Autoconf is especially sensible to this).
9712 # Exit status is that of the last command.
9717 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9718 *c
*,-n*) ECHO_N
= ECHO_C
='
9720 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
9721 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
9724 if expr a
: '\(a\)' >/dev
/null
2>&1; then
9730 rm -f conf$$ conf$$.exe conf$$.
file
9732 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9733 # We could just check for DJGPP; but this test a) works b) is more generic
9734 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
9735 if test -f conf$$.exe
; then
9736 # Don't use ln at all; we don't have any links
9741 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9746 rm -f conf$$ conf$$.exe conf$$.
file
9748 if mkdir
-p .
2>/dev
/null
; then
9751 test -d .
/-p && rmdir .
/-p
9755 as_executable_p
="test -f"
9757 # Sed expression to map a string onto a valid CPP name.
9758 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9760 # Sed expression to map a string onto a valid variable name.
9761 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9765 # We need space, tab and new line, in precisely that order.
9775 # Open the log real soon, to keep \$[0] and so on meaningful, and to
9776 # report actual input values of CONFIG_FILES etc. instead of their
9777 # values after options handling. Logging --version etc. is OK.
9781 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9782 ## Running $as_me. ##
9787 This file was extended by $as_me, which was
9788 generated by GNU Autoconf 2.59. Invocation command line was
9790 CONFIG_FILES = $CONFIG_FILES
9791 CONFIG_HEADERS = $CONFIG_HEADERS
9792 CONFIG_LINKS = $CONFIG_LINKS
9793 CONFIG_COMMANDS = $CONFIG_COMMANDS
9797 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
9801 # Files that config.status was made for.
9802 if test -n "$ac_config_files"; then
9803 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
9806 if test -n "$ac_config_headers"; then
9807 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
9810 if test -n "$ac_config_links"; then
9811 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
9814 if test -n "$ac_config_commands"; then
9815 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
9818 cat >>$CONFIG_STATUS <<\_ACEOF
9821 \`$as_me' instantiates files from templates according to the
9822 current configuration.
9824 Usage: $0 [OPTIONS] [FILE]...
9826 -h, --help print this help, then exit
9827 -V, --version print version number, then exit
9828 -q, --quiet do not print progress messages
9829 -d, --debug don't remove temporary files
9830 --recheck update $as_me by reconfiguring in the same conditions
9831 --file=FILE[:TEMPLATE]
9832 instantiate the configuration file FILE
9833 --header=FILE[:TEMPLATE]
9834 instantiate the configuration header FILE
9836 Configuration files:
9839 Configuration headers:
9842 Configuration commands:
9845 Report bugs to <bug-autoconf@gnu.org>."
9848 cat >>$CONFIG_STATUS <<_ACEOF
9851 configured by $0, generated by GNU Autoconf 2.59,
9852 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9854 Copyright (C) 2003 Free Software Foundation, Inc.
9855 This config.status script is free software; the Free Software Foundation
9856 gives unlimited permission to copy, distribute and modify it."
9860 cat >>$CONFIG_STATUS <<\_ACEOF
9861 # If no file are specified by the user, then we need to provide default
9862 # value. By we need to know if files were specified by the user.
9868 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9869 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9877 *) # This is not an option, so the user has probably given explicit
9880 ac_need_defaults
=false
;;
9884 # Handling of the options.
9886 cat >>$CONFIG_STATUS <<\_ACEOF
9887 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9889 --version |
--vers* |
-V )
9890 echo "$ac_cs_version"; exit 0 ;;
9892 # Conflict between --help and --header
9893 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9894 Try \`$0 --help' for more information." >&5
9895 echo "$as_me: error: ambiguous option: $1
9896 Try \`$0 --help' for more information." >&2;}
9897 { (exit 1); exit 1; }; };;
9898 --help |
--hel |
-h )
9899 echo "$ac_cs_usage"; exit 0 ;;
9900 --debug |
--d* |
-d )
9902 --file |
--fil |
--fi |
--f )
9904 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9905 ac_need_defaults
=false
;;
9906 --header |
--heade |
--head |
--hea )
9908 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9909 ac_need_defaults
=false
;;
9910 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9911 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9915 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9916 Try \`$0 --help' for more information." >&5
9917 echo "$as_me: error: unrecognized option: $1
9918 Try \`$0 --help' for more information." >&2;}
9919 { (exit 1); exit 1; }; } ;;
9921 *) ac_config_targets
="$ac_config_targets $1" ;;
9927 ac_configure_extra_args
=
9929 if $ac_cs_silent; then
9931 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9935 cat >>$CONFIG_STATUS <<_ACEOF
9936 if \$ac_cs_recheck; then
9937 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9938 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9943 cat >>$CONFIG_STATUS <<_ACEOF
9945 # INIT-COMMANDS section.
9949 aros_tools_dir=${aros_tools_dir}
9950 aros_target_cpu=${aros_target_cpu}
9951 aros_target_arch=${aros_target_arch}
9952 aros_target_suffix=${aros_target_suffix}
9953 aros_target_nm_ln=${aros_target_nm_ln}
9954 aros_target_as_ln=${aros_target_as_ln}
9955 aros_target_ar_ln=${aros_target_ar_ln}
9956 aros_target_ranlib_ln=${aros_target_ranlib_ln}
9957 aros_target_objdump_ln=${aros_target_objdump_ln}
9958 aros_target_objcopy_ln=${aros_target_objcopy_ln}
9959 aros_target_strip_ln=${aros_target_strip_ln}
9962 aros_scripts_dir=${aros_scripts_dir}
9964 aros_tools_dir=${aros_tools_dir}
9971 cat >>$CONFIG_STATUS <<\_ACEOF
9972 for ac_config_target
in $ac_config_targets
9974 case "$ac_config_target" in
9975 # Handling of arguments.
9976 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9977 "rom/mmakefile" ) CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
9978 "${aros_inc_dir}/config.h" ) CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
9979 "${aros_geninc_dir}/config.h" ) CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
9980 "${aros_hostcfg_dir}/host.cfg" ) CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
9981 "${aros_targetcfg_dir}/target.cfg" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
9982 "mmake.config" ) CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
9983 "${aros_targetcfg_dir}/make.defaults" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
9984 "${aros_targetcfg_dir}/specs" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
9985 "${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" ;;
9986 "${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" ;;
9987 "${aros_scripts_dir}/genshared" ) CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
9988 "${aros_tools_dir}/genmf.py" ) CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
9989 "tools/adflib/myconf.aros" ) CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
9990 "tools/collect-aros/env.h" ) CONFIG_FILES
="$CONFIG_FILES tools/collect-aros/env.h" ;;
9991 "compiler_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
9992 "genshared_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
9993 "genmf_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
9994 "adflib_myaros.conf_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
9995 "${aros_geninc_dir}/host-conf.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
9996 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9997 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9998 { (exit 1); exit 1; }; };;
10002 # If the user did not use the arguments to specify the items to instantiate,
10003 # then the envvar interface is used. Set only those that are not.
10004 # We use the long form for the default assignment because of an extremely
10005 # bizarre bug on SunOS 4.1.3.
10006 if $ac_need_defaults; then
10007 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
10008 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
10009 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
10012 # Have a temporary directory for convenience. Make it in the build tree
10013 # simply because there is no reason to put it here, and in addition,
10014 # creating and moving files from /tmp can sometimes cause problems.
10015 # Create a temporary directory, and hook for its removal unless debugging.
10018 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
10019 trap '{ (exit 1); exit 1; }' 1 2 13 15
10022 # Create a (secure) tmp directory for tmp files.
10025 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
10026 test -n "$tmp" && test -d "$tmp"
10029 tmp
=.
/confstat$$
-$RANDOM
10030 (umask 077 && mkdir
$tmp)
10033 echo "$me: cannot create a temporary directory in ." >&2
10034 { (exit 1); exit 1; }
10039 cat >>$CONFIG_STATUS <<_ACEOF
10042 # CONFIG_FILES section.
10045 # No need to generate the scripts if there are no CONFIG_FILES.
10046 # This happens for instance when ./config.status config.h
10047 if test -n "\$CONFIG_FILES"; then
10048 # Protect against being on the right side of a sed subst in config.status.
10049 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
10050 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
10051 s,@SHELL@,$SHELL,;t t
10052 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
10053 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
10054 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
10055 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
10056 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
10057 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
10058 s,@exec_prefix@,$exec_prefix,;t t
10059 s,@prefix@,$prefix,;t t
10060 s,@program_transform_name@,$program_transform_name,;t t
10061 s,@bindir@,$bindir,;t t
10062 s,@sbindir@,$sbindir,;t t
10063 s,@libexecdir@,$libexecdir,;t t
10064 s,@datadir@,$datadir,;t t
10065 s,@sysconfdir@,$sysconfdir,;t t
10066 s,@sharedstatedir@,$sharedstatedir,;t t
10067 s,@localstatedir@,$localstatedir,;t t
10068 s,@libdir@,$libdir,;t t
10069 s,@includedir@,$includedir,;t t
10070 s,@oldincludedir@,$oldincludedir,;t t
10071 s,@infodir@,$infodir,;t t
10072 s,@mandir@,$mandir,;t t
10073 s,@build_alias@,$build_alias,;t t
10074 s,@host_alias@,$host_alias,;t t
10075 s,@target_alias@,$target_alias,;t t
10076 s,@DEFS@,$DEFS,;t t
10077 s,@ECHO_C@,$ECHO_C,;t t
10078 s,@ECHO_N@,$ECHO_N,;t t
10079 s,@ECHO_T@,$ECHO_T,;t t
10080 s,@LIBS@,$LIBS,;t t
10081 s,@build@,$build,;t t
10082 s,@build_cpu@,$build_cpu,;t t
10083 s,@build_vendor@,$build_vendor,;t t
10084 s,@build_os@,$build_os,;t t
10085 s,@host@,$host,;t t
10086 s,@host_cpu@,$host_cpu,;t t
10087 s,@host_vendor@,$host_vendor,;t t
10088 s,@host_os@,$host_os,;t t
10090 s,@CFLAGS@,$CFLAGS,;t t
10091 s,@LDFLAGS@,$LDFLAGS,;t t
10092 s,@CPPFLAGS@,$CPPFLAGS,;t t
10093 s,@ac_ct_CC@,$ac_ct_CC,;t t
10094 s,@EXEEXT@,$EXEEXT,;t t
10095 s,@OBJEXT@,$OBJEXT,;t t
10098 s,@MMAKE@,$MMAKE,;t t
10099 s,@aros_host_ld@,$aros_host_ld,;t t
10100 s,@aros_host_aclocal@,$aros_host_aclocal,;t t
10101 s,@aros_host_autoconf@,$aros_host_autoconf,;t t
10102 s,@aros_host_autoheader@,$aros_host_autoheader,;t t
10103 s,@aros_host_automake@,$aros_host_automake,;t t
10104 s,@aros_host_ar@,$aros_host_ar,;t t
10105 s,@aros_host_ranlib@,$aros_host_ranlib,;t t
10106 s,@aros_host_strip@,$aros_host_strip,;t t
10110 s,@ECHO@,$ECHO,;t t
10111 s,@MKDIR@,$MKDIR,;t t
10112 s,@TOUCH@,$TOUCH,;t t
10113 s,@SORT@,$SORT,;t t
10114 s,@UNIQ@,$UNIQ,;t t
10117 s,@BISON@,$BISON,;t t
10118 s,@FLEX@,$FLEX,;t t
10119 s,@PNGTOPNM@,$PNGTOPNM,;t t
10120 s,@PPMTOILBM@,$PPMTOILBM,;t t
10122 s,@CHMOD@,$CHMOD,;t t
10123 s,@PYTHON@,$PYTHON,;t t
10124 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
10125 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
10126 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
10127 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
10128 s,@pythondir@,$pythondir,;t t
10129 s,@pkgpythondir@,$pkgpythondir,;t t
10130 s,@pyexecdir@,$pyexecdir,;t t
10131 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
10134 s,@TEST@,$TEST,;t t
10136 s,@EGREP@,$EGREP,;t t
10137 s,@LIBOBJS@,$LIBOBJS,;t t
10138 s,@DISTCC@,$DISTCC,;t t
10139 s,@CCACHE@,$CCACHE,;t t
10140 s,@aros_kernel_cc@,$aros_kernel_cc,;t t
10141 s,@aros_target_as_ln@,$aros_target_as_ln,;t t
10142 s,@aros_kernel_ld@,$aros_kernel_ld,;t t
10143 s,@aros_target_ar_ln@,$aros_target_ar_ln,;t t
10144 s,@aros_target_nm_ln@,$aros_target_nm_ln,;t t
10145 s,@aros_target_objcopy_ln@,$aros_target_objcopy_ln,;t t
10146 s,@aros_target_objdump_ln@,$aros_target_objdump_ln,;t t
10147 s,@aros_target_ranlib_ln@,$aros_target_ranlib_ln,;t t
10148 s,@aros_target_strip_ln@,$aros_target_strip_ln,;t t
10149 s,@aros_target_nostdinc_cflags@,$aros_target_nostdinc_cflags,;t t
10150 s,@aros_target_nostartup_ldflags@,$aros_target_nostartup_ldflags,;t t
10151 s,@aros_target_nix_ldflags@,$aros_target_nix_ldflags,;t t
10152 s,@aros_target_detach_ldflags@,$aros_target_detach_ldflags,;t t
10153 s,@aros_target_nostdlib_ldflags@,$aros_target_nostdlib_ldflags,;t t
10154 s,@aros_arch@,$aros_arch,;t t
10155 s,@aros_cpu@,$aros_cpu,;t t
10156 s,@aros_flavour@,$aros_flavour,;t t
10157 s,@aros_flavour_uc@,$aros_flavour_uc,;t t
10158 s,@TOPDIR@,$TOPDIR,;t t
10159 s,@aros_cc_pre@,$aros_cc_pre,;t t
10160 s,@aros_host_arch@,$aros_host_arch,;t t
10161 s,@aros_host_cpu@,$aros_host_cpu,;t t
10162 s,@aros_host_cc@,$aros_host_cc,;t t
10163 s,@aros_host_make@,$aros_host_make,;t t
10164 s,@aros_host_cflags@,$aros_host_cflags,;t t
10165 s,@aros_host_ldflags@,$aros_host_ldflags,;t t
10166 s,@aros_host_debug@,$aros_host_debug,;t t
10167 s,@aros_host_mkdep@,$aros_host_mkdep,;t t
10168 s,@aros_host_mkargs@,$aros_host_mkargs,;t t
10169 s,@aros_host_exe_suffix@,$aros_host_exe_suffix,;t t
10170 s,@aros_host_lib_suffix@,$aros_host_lib_suffix,;t t
10171 s,@aros_tools_dir@,$aros_tools_dir,;t t
10172 s,@aros_target_arch@,$aros_target_arch,;t t
10173 s,@aros_target_cpu@,$aros_target_cpu,;t t
10174 s,@aros_target_variant@,$aros_target_variant,;t t
10175 s,@aros_target_suffix@,$aros_target_suffix,;t t
10176 s,@aros_target_incl@,$aros_target_incl,;t t
10177 s,@aros_target_ar@,$aros_target_ar,;t t
10178 s,@aros_target_ranlib@,$aros_target_ranlib,;t t
10179 s,@aros_kernel_nm@,$aros_kernel_nm,;t t
10180 s,@aros_target_cc@,$aros_target_cc,;t t
10181 s,@aros_target_as@,$aros_target_as,;t t
10182 s,@aros_target_ld@,$aros_target_ld,;t t
10183 s,@aros_target_cc_includes@,$aros_target_cc_includes,;t t
10184 s,@aros_target_cc_path@,$aros_target_cc_path,;t t
10185 s,@aros_target_objdump@,$aros_target_objdump,;t t
10186 s,@aros_target_objcopy@,$aros_target_objcopy,;t t
10187 s,@aros_target_strip@,$aros_target_strip,;t t
10188 s,@aros_target_nm@,$aros_target_nm,;t t
10189 s,@aros_shared_default@,$aros_shared_default,;t t
10190 s,@aros_shared_ld@,$aros_shared_ld,;t t
10191 s,@aros_object_format@,$aros_object_format,;t t
10192 s,@aros_compiler_libs@,$aros_compiler_libs,;t t
10193 s,@aros_config_cflags@,$aros_config_cflags,;t t
10194 s,@aros_config_aflags@,$aros_config_aflags,;t t
10195 s,@aros_config_ldflags@,$aros_config_ldflags,;t t
10196 s,@aros_shared_cflags@,$aros_shared_cflags,;t t
10197 s,@aros_shared_aflags@,$aros_shared_aflags,;t t
10198 s,@aros_shared_ldflags@,$aros_shared_ldflags,;t t
10199 s,@aros_kernel_ldflags@,$aros_kernel_ldflags,;t t
10200 s,@aros_debug_cflags@,$aros_debug_cflags,;t t
10201 s,@aros_debug_aflags@,$aros_debug_aflags,;t t
10202 s,@aros_debug_ldflags@,$aros_debug_ldflags,;t t
10203 s,@aros_target_genmap@,$aros_target_genmap,;t t
10204 s,@aros_target_strip_flags@,$aros_target_strip_flags,;t t
10205 s,@aros_gui_libdir@,$aros_gui_libdir,;t t
10206 s,@aros_gui_ldflags@,$aros_gui_ldflags,;t t
10207 s,@aros_gui_libflags@,$aros_gui_libflags,;t t
10208 s,@aros_gui_incdir@,$aros_gui_incdir,;t t
10209 s,@aros_gui_ccflags@,$aros_gui_ccflags,;t t
10210 s,@aros_default_wbwidth@,$aros_default_wbwidth,;t t
10211 s,@aros_default_wbheight@,$aros_default_wbheight,;t t
10212 s,@aros_default_wbdepth@,$aros_default_wbdepth,;t t
10213 s,@DO_XSHM_SUPPORT@,$DO_XSHM_SUPPORT,;t t
10214 s,@DO_VIDMODE_SUPPORT@,$DO_VIDMODE_SUPPORT,;t t
10215 s,@aros_bochs_hack@,$aros_bochs_hack,;t t
10216 s,@aros_serial_debug@,$aros_serial_debug,;t t
10217 s,@aros_palm_debug_hack@,$aros_palm_debug_hack,;t t
10218 s,@aros_nesting_supervisor@,$aros_nesting_supervisor,;t t
10219 s,@ENABLE_DBUS@,$ENABLE_DBUS,;t t
10220 s,@DBUS_CFLAGS@,$DBUS_CFLAGS,;t t
10221 s,@DBUS_LIBFLAGS@,$DBUS_LIBFLAGS,;t t
10222 s,@KERNEL_DBUS_KOBJ@,$KERNEL_DBUS_KOBJ,;t t
10223 s,@KERNEL_DBUS_INCLUDES@,$KERNEL_DBUS_INCLUDES,;t t
10224 s,@aros_debug@,$aros_debug,;t t
10225 s,@aros_mungwall_debug@,$aros_mungwall_debug,;t t
10226 s,@aros_stack_debug@,$aros_stack_debug,;t t
10227 s,@aros_modules_debug@,$aros_modules_debug,;t t
10228 s,@ignore_undefined_symbols@,$ignore_undefined_symbols,;t t
10229 s,@gcc_target_cpu@,$gcc_target_cpu,;t t
10230 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
10235 cat >>$CONFIG_STATUS <<\_ACEOF
10236 # Split the substitutions into bite-sized pieces for seds with
10237 # small command number limits, like on Digital OSF/1 and HP-UX.
10238 ac_max_sed_lines
=48
10239 ac_sed_frag
=1 # Number of current file.
10240 ac_beg
=1 # First line for current file.
10241 ac_end
=$ac_max_sed_lines # Line after last line for current file.
10244 while $ac_more_lines; do
10245 if test $ac_beg -gt 1; then
10246 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10248 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
10250 if test ! -s $tmp/subs.frag
; then
10251 ac_more_lines
=false
10253 # The purpose of the label and of the branching condition is to
10254 # speed up the sed processing (if there are no `@' at all, there
10255 # is no need to browse any of the substitutions).
10256 # These are the two extra sed commands mentioned above.
10258 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
10259 if test -z "$ac_sed_cmds"; then
10260 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
10262 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
10264 ac_sed_frag
=`expr $ac_sed_frag + 1`
10266 ac_end
=`expr $ac_end + $ac_max_sed_lines`
10269 if test -z "$ac_sed_cmds"; then
10272 fi # test -n "$CONFIG_FILES"
10275 cat >>$CONFIG_STATUS <<\_ACEOF
10276 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
10277 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10279 - |
*:- |
*:-:* ) # input from stdin
10281 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10282 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10283 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10284 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10285 * ) ac_file_in
=$ac_file.
in ;;
10288 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
10289 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10290 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10291 X"$ac_file" : 'X\(//\)[^/]' \| \
10292 X"$ac_file" : 'X\(//\)$' \| \
10293 X"$ac_file" : 'X\(/\)' \| \
10294 . : '\(.\)' 2>/dev/null ||
10296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10297 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10298 /^X\(\/\/\)$/{ s//\1/; q; }
10299 /^X\(\/\).*/{ s//\1/; q; }
10301 { if $as_mkdir_p; then
10306 while test ! -d "$as_dir"; do
10307 as_dirs
="$as_dir $as_dirs"
10308 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10309 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10310 X"$as_dir" : 'X\(//\)[^/]' \| \
10311 X"$as_dir" : 'X\(//\)$' \| \
10312 X"$as_dir" : 'X\(/\)' \| \
10313 . : '\(.\)' 2>/dev/null ||
10315 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10316 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10317 /^X\(\/\/\)$/{ s//\1/; q; }
10318 /^X\(\/\).*/{ s//\1/; q; }
10321 test ! -n "$as_dirs" || mkdir
$as_dirs
10322 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10323 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10324 { (exit 1); exit 1; }; }; }
10328 if test "$ac_dir" != .
; then
10329 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10330 # A "../" for each directory in $ac_dir_suffix.
10331 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10333 ac_dir_suffix
= ac_top_builddir
=
10337 .
) # No --srcdir option. We are building in place.
10339 if test -z "$ac_top_builddir"; then
10342 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10344 [\\/]* | ?
:[\\/]* ) # Absolute path.
10345 ac_srcdir
=$srcdir$ac_dir_suffix;
10346 ac_top_srcdir
=$srcdir ;;
10347 *) # Relative path.
10348 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10349 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10352 # Do not use `cd foo && pwd` to compute absolute paths, because
10353 # the directories may not exist.
10355 .
) ac_abs_builddir
="$ac_dir";;
10358 .
) ac_abs_builddir
=`pwd`;;
10359 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10360 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10363 case $ac_abs_builddir in
10364 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10366 case ${ac_top_builddir}.
in
10367 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10368 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10369 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10372 case $ac_abs_builddir in
10373 .
) ac_abs_srcdir
=$ac_srcdir;;
10376 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10377 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10378 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10381 case $ac_abs_builddir in
10382 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10384 case $ac_top_srcdir in
10385 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10386 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10387 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10393 if test x
"$ac_file" != x-
; then
10394 { echo "$as_me:$LINENO: creating $ac_file" >&5
10395 echo "$as_me: creating $ac_file" >&6;}
10398 # Let's still pretend it is `configure' which instantiates (i.e., don't
10399 # use $as_me), people would be surprised to read:
10400 # /* config.h. Generated by config.status. */
10401 if test x
"$ac_file" = x-
; then
10404 configure_input
="$ac_file. "
10406 configure_input
=$configure_input"Generated from `echo $ac_file_in |
10407 sed 's,.*/,,'` by configure."
10409 # First look for the input files in the build tree, otherwise in the
10411 ac_file_inputs
=`IFS=:
10412 for f in $ac_file_in; do
10414 -) echo $tmp/stdin ;;
10416 # Absolute (can't be DOS-style, as IFS=:)
10417 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10418 echo "$as_me: error: cannot find input file: $f" >&2;}
10419 { (exit 1); exit 1; }; }
10422 if test -f "$f"; then
10425 elif test -f "$srcdir/$f"; then
10430 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10431 echo "$as_me: error: cannot find input file: $f" >&2;}
10432 { (exit 1); exit 1; }; }
10435 done` ||
{ (exit 1); exit 1; }
10437 cat >>$CONFIG_STATUS <<_ACEOF
10441 cat >>$CONFIG_STATUS <<\_ACEOF
10443 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
10444 s
,@configure_input@
,$configure_input,;t t
10445 s
,@srcdir@
,$ac_srcdir,;t t
10446 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
10447 s
,@top_srcdir@
,$ac_top_srcdir,;t t
10448 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
10449 s
,@builddir@
,$ac_builddir,;t t
10450 s
,@abs_builddir@
,$ac_abs_builddir,;t t
10451 s
,@top_builddir@
,$ac_top_builddir,;t t
10452 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
10453 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
10455 if test x"$ac_file" != x-; then
10456 mv $tmp/out $ac_file
10464 cat >>$CONFIG_STATUS <<\_ACEOF
10467 # CONFIG_HEADER section.
10470 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
10471 # NAME is the cpp macro being defined and VALUE is the value it is being given.
10473 # ac_d sets the value in "#define NAME VALUE" lines.
10474 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
10475 ac_dB
='[ ].*$,\1#\2'
10478 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
10479 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
10480 ac_uB
='$,\1#\2define\3'
10484 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
10485 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
10487 - |
*:- |
*:-:* ) # input from stdin
10489 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10490 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10491 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10492 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
10493 * ) ac_file_in
=$ac_file.
in ;;
10496 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
10497 echo "$as_me: creating $ac_file" >&6;}
10499 # First look for the input files in the build tree, otherwise in the
10501 ac_file_inputs
=`IFS=:
10502 for f in $ac_file_in; do
10504 -) echo $tmp/stdin ;;
10506 # Absolute (can't be DOS-style, as IFS=:)
10507 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10508 echo "$as_me: error: cannot find input file: $f" >&2;}
10509 { (exit 1); exit 1; }; }
10510 # Do quote $f, to prevent DOS paths from being IFS'd.
10513 if test -f "$f"; then
10516 elif test -f "$srcdir/$f"; then
10521 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
10522 echo "$as_me: error: cannot find input file: $f" >&2;}
10523 { (exit 1); exit 1; }; }
10526 done` ||
{ (exit 1); exit 1; }
10527 # Remove the trailing spaces.
10528 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
10532 # Transform confdefs.h into two sed scripts, `conftest.defines' and
10533 # `conftest.undefs', that substitutes the proper values into
10534 # config.h.in to produce config.h. The first handles `#define'
10535 # templates, and the second `#undef' templates.
10536 # And first: Protect against being on the right side of a sed subst in
10537 # config.status. Protect against being in an unquoted here document
10538 # in config.status.
10539 rm -f conftest.defines conftest.undefs
10540 # Using a here document instead of a string reduces the quoting nightmare.
10541 # Putting comments in sed scripts is not portable.
10543 # `end' is used to avoid that the second main sed command (meant for
10544 # 0-ary CPP macros) applies to n-ary macro definitions.
10545 # See the Autoconf documentation for `clear'.
10546 cat >confdef2sed.
sed <<\_ACEOF
10551 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
10553 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
10556 # If some macros were called several times there might be several times
10557 # the same #defines, which is useless. Nevertheless, we may not want to
10558 # sort them, since we want the *last* AC-DEFINE to be honored.
10559 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
10560 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
10561 rm -f confdef2sed.sed
10563 # This sed command replaces #undef with comments. This is necessary, for
10564 # example, in the case of _POSIX_SOURCE, which is predefined and required
10565 # on some systems where configure will not decide to define it.
10566 cat >>conftest.undefs <<\_ACEOF
10567 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
10570 # Break up conftest.defines because some shells have a limit on the size
10571 # of here documents, and old seds have small limits too (100 cmds).
10572 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
10573 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
10574 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
10575 echo ' :' >>$CONFIG_STATUS
10576 rm -f conftest.tail
10577 while grep . conftest.defines >/dev/null
10579 # Write a limited-size here document to $tmp/defines.sed.
10580 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
10581 # Speed up: don't consider the non `#define' lines.
10582 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
10583 # Work around the forget-to-reset-the-flag bug.
10584 echo 't clr' >>$CONFIG_STATUS
10585 echo ': clr' >>$CONFIG_STATUS
10586 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
10588 sed -f $tmp/defines.sed $tmp/in >$tmp/out
10590 mv $tmp/out $tmp/in
10592 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
10593 rm -f conftest.defines
10594 mv conftest.
tail conftest.defines
10596 rm -f conftest.defines
10597 echo ' fi # grep' >>$CONFIG_STATUS
10598 echo >>$CONFIG_STATUS
10600 # Break up conftest.undefs because some shells have a limit on the size
10601 # of here documents, and old seds have small limits too (100 cmds).
10602 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
10603 rm -f conftest.
tail
10604 while grep . conftest.undefs
>/dev
/null
10606 # Write a limited-size here document to $tmp/undefs.sed.
10607 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
10608 # Speed up: don't consider the non
`#undef'
10609 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
10610 # Work around the forget-to-reset-the-flag bug.
10611 echo 't clr' >>$CONFIG_STATUS
10612 echo ': clr' >>$CONFIG_STATUS
10613 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
10615 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
10617 mv $tmp/out $tmp/in
10619 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
10620 rm -f conftest.undefs
10621 mv conftest.tail conftest.undefs
10623 rm -f conftest.undefs
10625 cat >>$CONFIG_STATUS <<\_ACEOF
10626 # Let's still pretend it is `configure
' which instantiates (i.e., don't
10627 # use $as_me), people would be surprised to read:
10628 # /* config.h. Generated by config.status. */
10629 if test x
"$ac_file" = x-
; then
10630 echo "/* Generated by configure. */" >$tmp/config.h
10632 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
10634 cat $tmp/in >>$tmp/config.h
10636 if test x
"$ac_file" != x-
; then
10637 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
10638 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
10639 echo "$as_me: $ac_file is unchanged" >&6;}
10641 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
10642 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10643 X"$ac_file" : 'X\(//\)[^/]' \| \
10644 X"$ac_file" : 'X\(//\)$' \| \
10645 X"$ac_file" : 'X\(/\)' \| \
10646 . : '\(.\)' 2>/dev/null ||
10648 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10649 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10650 /^X\(\/\/\)$/{ s//\1/; q; }
10651 /^X\(\/\).*/{ s//\1/; q; }
10653 { if $as_mkdir_p; then
10658 while test ! -d "$as_dir"; do
10659 as_dirs
="$as_dir $as_dirs"
10660 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10661 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10662 X"$as_dir" : 'X\(//\)[^/]' \| \
10663 X"$as_dir" : 'X\(//\)$' \| \
10664 X"$as_dir" : 'X\(/\)' \| \
10665 . : '\(.\)' 2>/dev/null ||
10667 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10668 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10669 /^X\(\/\/\)$/{ s//\1/; q; }
10670 /^X\(\/\).*/{ s//\1/; q; }
10673 test ! -n "$as_dirs" || mkdir
$as_dirs
10674 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10675 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10676 { (exit 1); exit 1; }; }; }
10679 mv $tmp/config.h
$ac_file
10683 rm -f $tmp/config.h
10687 cat >>$CONFIG_STATUS <<\_ACEOF
10690 # CONFIG_COMMANDS section.
10692 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
10693 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
10694 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
10695 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
10696 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10697 X"$ac_dest" : 'X\(//\)[^/]' \| \
10698 X"$ac_dest" : 'X\(//\)$' \| \
10699 X"$ac_dest" : 'X\(/\)' \| \
10700 . : '\(.\)' 2>/dev/null ||
10702 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10703 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10704 /^X\(\/\/\)$/{ s//\1/; q; }
10705 /^X\(\/\).*/{ s//\1/; q; }
10707 { if $as_mkdir_p; then
10712 while test ! -d "$as_dir"; do
10713 as_dirs
="$as_dir $as_dirs"
10714 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
10715 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10716 X"$as_dir" : 'X\(//\)[^/]' \| \
10717 X"$as_dir" : 'X\(//\)$' \| \
10718 X"$as_dir" : 'X\(/\)' \| \
10719 . : '\(.\)' 2>/dev/null ||
10721 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
10722 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
10723 /^X\(\/\/\)$/{ s//\1/; q; }
10724 /^X\(\/\).*/{ s//\1/; q; }
10727 test ! -n "$as_dirs" || mkdir
$as_dirs
10728 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
10729 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
10730 { (exit 1); exit 1; }; }; }
10734 if test "$ac_dir" != .
; then
10735 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10736 # A "../" for each directory in $ac_dir_suffix.
10737 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10739 ac_dir_suffix
= ac_top_builddir
=
10743 .
) # No --srcdir option. We are building in place.
10745 if test -z "$ac_top_builddir"; then
10748 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
10750 [\\/]* | ?
:[\\/]* ) # Absolute path.
10751 ac_srcdir
=$srcdir$ac_dir_suffix;
10752 ac_top_srcdir
=$srcdir ;;
10753 *) # Relative path.
10754 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
10755 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
10758 # Do not use `cd foo && pwd` to compute absolute paths, because
10759 # the directories may not exist.
10761 .
) ac_abs_builddir
="$ac_dir";;
10764 .
) ac_abs_builddir
=`pwd`;;
10765 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
10766 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
10769 case $ac_abs_builddir in
10770 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10772 case ${ac_top_builddir}.
in
10773 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
10774 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
10775 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
10778 case $ac_abs_builddir in
10779 .
) ac_abs_srcdir
=$ac_srcdir;;
10782 .
) ac_abs_srcdir
=$ac_abs_builddir;;
10783 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
10784 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
10787 case $ac_abs_builddir in
10788 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
10790 case $ac_top_srcdir in
10791 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
10792 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
10793 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
10798 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
10799 echo "$as_me: executing $ac_dest commands" >&6;}
10801 compiler_executable
)
10802 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
10804 prefix
="${prefix}/${aros_target_cpu}-aros"
10805 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
10809 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
10811 ln -sf ${prefix2}-gcc ${prefix}-gcc
10812 ln -sf ${prefix2}-ld ${prefix}-ld
10814 ln -sf $aros_target_as_ln ${prefix}-as
10815 ln -sf $aros_target_nm_ln ${prefix}-nm
10816 ln -sf $aros_target_ar_ln ${prefix}-ar
10817 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
10818 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
10819 ln -sf $aros_target_objdump_ln ${prefix}-objdump
10820 ln -sf $aros_target_strip_ln ${prefix}-strip
10822 ln -sf $aros_target_as_ln ${prefix2}-as
10823 ln -sf $aros_target_nm_ln ${prefix2}-nm
10824 ln -sf $aros_target_ar_ln ${prefix2}-ar
10825 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
10826 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
10827 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
10828 ln -sf $aros_target_strip_ln ${prefix2}-strip
10830 genshared_executable
) chmod a
+x
${aros_scripts_dir}/genshared
;;
10831 genmf_executable
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
10832 adflib_myaros.conf_executable
) chmod a
+x tools
/adflib
/myconf.aros
10838 cat >>$CONFIG_STATUS <<\_ACEOF
10840 { (exit 0); exit 0; }
10842 chmod +x
$CONFIG_STATUS
10843 ac_clean_files
=$ac_clean_files_save
10846 # configure is writing to config.log, and then calls config.status.
10847 # config.status does its own redirection, appending to config.log.
10848 # Unfortunately, on DOS this fails, as config.log is still kept open
10849 # by configure, so config.status won't be able to write to it; its
10850 # output is simply discarded. So we exec the FD to /dev/null,
10851 # effectively closing config.log, so it can be properly (re)opened and
10852 # appended to by config.status. When coming back to configure, we
10853 # need to make the FD available again.
10854 if test "$no_create" != yes; then
10856 ac_config_status_args
=
10857 test "$silent" = yes &&
10858 ac_config_status_args
="$ac_config_status_args --quiet"
10860 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10862 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10863 # would make configure fail if this is the last instruction.
10864 $ac_cs_success ||
{ (exit 1); exit 1; }
10869 #XXX compatability...
10870 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
10872 if test -n "$aros_shared_cflags" ; then
10873 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
10874 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg