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 HOST_AR HOST_RANLIB RM CP MV ECHO MKDIR TOUCH SORT UNIQ NOP CAT BISON PNGTOPNM PPMTOILBM STRIP SED CHMOD PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir FOR IF TEST EGREP LIBOBJS aros_target_ar_ln aros_target_nm_ln aros_target_objcopy_ln aros_target_objdump_ln aros_target_ranlib_ln aros_target_strip_ln DISTCC CCACHE SHARED_LD KERNEL_LD TARGET_CC TARGET_AS TARGET_LD NOSTDINC_CFLAGS NOSTARTUP_LDFLAGS NIX_LDFLAGS DETACH_LDFLAGS NOSTDLIB_LDFLAGS aros_cc_pre AR RANLIB NM NM_PLAIN OBJDUMP OBJCOPY aros_arch aros_cpu aros_flavour aros_flavour_uc TOPDIR 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_cc aros_target_cc_includes aros_target_cc_path aros_target_objdump aros_target_objcopy aros_target_strip aros_target_as aros_target_nm aros_shared_default aros_object_format aros_compiler_libs aros_config_cflags aros_config_aflags aros_target_ld 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_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 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
(default
=no
)
870 --enable-palm-debug-hack Enable palm debug output hack
in palm native
(default
=no
)
871 --enable-nesting-supervisor Enable nesting supervisor support
in unix
(default
=no
)
872 --enable-xshm-extension Enable X11 MIT-SHM extension default
=yes
873 --enable-dbus Enable DBUS support via dbus.library
(default
=no
)
876 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
877 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
878 --with-x use the X Window System
879 --with-optimization=FLAGS
880 Use optimization flags FLAGS
(default
=-O2).
881 --with-resolution=XRESxYRESxDEPTH Default resolution of the initial WorkbenchScreen
882 --with-serial-debug Enable serial debug output
in native
(default
=no
)
884 Some influential environment variables
:
885 CC C compiler
command
886 CFLAGS C compiler flags
887 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
888 nonstandard directory
<lib dir
>
889 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
890 headers
in a nonstandard directory
<include dir
>
893 Use these variables to override the choices made by
`configure' or to help
894 it to find libraries and programs with nonstandard names/locations.
899 if test "$ac_init_help" = "recursive"; then
900 # If there are subdirs, report their specific --help.
902 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
903 test -d $ac_dir || continue
906 if test "$ac_dir" != .; then
907 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
908 # A "../" for each directory in $ac_dir_suffix.
909 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
911 ac_dir_suffix= ac_top_builddir=
915 .) # No --srcdir option. We are building in place.
917 if test -z "$ac_top_builddir"; then
920 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
922 [\\/]* | ?:[\\/]* ) # Absolute path.
923 ac_srcdir=$srcdir$ac_dir_suffix;
924 ac_top_srcdir=$srcdir ;;
926 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
927 ac_top_srcdir=$ac_top_builddir$srcdir ;;
930 # Do not use `cd foo
&& pwd` to compute absolute paths, because
931 # the directories may not exist.
933 .) ac_abs_builddir="$ac_dir";;
936 .) ac_abs_builddir=`pwd`;;
937 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
938 *) ac_abs_builddir=`pwd`/"$ac_dir";;
941 case $ac_abs_builddir in
942 .) ac_abs_top_builddir=${ac_top_builddir}.;;
944 case ${ac_top_builddir}. in
945 .) ac_abs_top_builddir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
947 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
950 case $ac_abs_builddir in
951 .) ac_abs_srcdir=$ac_srcdir;;
954 .) ac_abs_srcdir=$ac_abs_builddir;;
955 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
956 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
959 case $ac_abs_builddir in
960 .) ac_abs_top_srcdir=$ac_top_srcdir;;
962 case $ac_top_srcdir in
963 .) ac_abs_top_srcdir=$ac_abs_builddir;;
964 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
965 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
970 # Check for guested configure; otherwise get Cygnus style configure.
971 if test -f $ac_srcdir/configure.gnu; then
973 $SHELL $ac_srcdir/configure.gnu --help=recursive
974 elif test -f $ac_srcdir/configure; then
976 $SHELL $ac_srcdir/configure --help=recursive
977 elif test -f $ac_srcdir/configure.ac ||
978 test -f $ac_srcdir/configure.in; then
982 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
988 test -n "$ac_init_help" && exit 0
989 if $ac_init_version; then
992 Copyright (C) 2003 Free Software Foundation, Inc.
993 This configure script is free software; the Free Software Foundation
994 gives unlimited permission to copy, distribute and modify it.
1000 This file contains any messages produced by compilers while
1001 running configure, to aid debugging if configure makes a mistake.
1003 It was created by $as_me, which was
1004 generated by GNU Autoconf 2.59. Invocation command line was
1015 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1016 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1017 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1018 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1019 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1022 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1024 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1025 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1026 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1027 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1028 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1029 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1030 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1038 test -z "$as_dir" && as_dir=.
1039 echo "PATH: $as_dir"
1054 # Keep a trace of the command line.
1055 # Strip out --no-create and --no-recursion so they do not pile up.
1056 # Strip out --silent because we don't want to record it for future runs.
1057 # Also quote any args containing shell meta-characters.
1058 # Make two passes to allow for proper duplicate-argument suppression.
1063 ac_must_keep_next=false
1069 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1071 | -silent | --silent | --silen | --sile | --sil)
1073 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1074 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1077 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1079 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1080 if test $ac_must_keep_next = true; then
1081 ac_must_keep_next=false # Got value, back to normal.
1084 *=* | --config-cache | -C | -disable-* | --disable-* \
1085 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1086 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1087 | -with-* | --with-* | -without-* | --without-* | --x)
1088 case "$ac_configure_args0 " in
1089 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1092 -* ) ac_must_keep_next=true ;;
1095 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1096 # Get rid of the leading space.
1102 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1103 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1105 # When interrupted or exit'd, cleanup temporary files, and complete
1106 # config.log. We remove comments because anyway the quotes in there
1107 # would cause problems or look ugly.
1108 # WARNING: Be sure not to use single quotes in there, as some shells,
1109 # such as our DU 5.0 friend, will then `close
' the trap.
1110 trap 'exit_status
=$?
1111 # Save into config.log some information that might help in debugging.
1116 ## ---------------- ##
1117 ## Cache variables. ##
1118 ## ---------------- ##
1121 # The following way of writing the cache mishandles newlines in values,
1124 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1127 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1128 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1132 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1139 ## ----------------- ##
1140 ## Output variables. ##
1141 ## ----------------- ##
1144 for ac_var
in $ac_subst_vars
1146 eval ac_val
=$
`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -n "$ac_subst_files"; then
1158 for ac_var
in $ac_subst_files
1160 eval ac_val
=$
`echo $ac_var`
1161 echo "$ac_var='"'"'$ac_val'"'"'"
1166 if test -s confdefs.h
; then
1173 sed "/^$/d" confdefs.h |
sort
1176 test "$ac_signal" != 0 &&
1177 echo "$as_me: caught signal $ac_signal"
1178 echo "$as_me: exit $exit_status"
1180 rm -f core
*.core
&&
1181 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1184 for ac_signal in 1 2 13 15; do
1185 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1189 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1190 rm -rf conftest* confdefs.h
1191 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1194 # Predefined preprocessor variables.
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_NAME "$PACKAGE_NAME"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1206 cat >>confdefs.h <<_ACEOF
1207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_STRING "$PACKAGE_STRING"
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1221 # Let the site file select an alternate cache file if it wants to.
1222 # Prefer explicitly selected file to automatically selected ones.
1223 if test -z "$CONFIG_SITE"; then
1224 if test "x$prefix" != xNONE; then
1225 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1227 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1230 for ac_site_file in $CONFIG_SITE; do
1231 if test -r "$ac_site_file"; then
1232 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1233 echo "$as_me: loading site script $ac_site_file" >&6;}
1234 sed 's
/^
/|
/' "$ac_site_file" >&5
1239 if test -r "$cache_file"; then
1240 # Some versions of bash will fail to source /dev/null (special
1241 # files actually), so we avoid doing that.
1242 if test -f "$cache_file"; then
1243 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1244 echo "$as_me: loading cache $cache_file" >&6;}
1246 [\\/]* | ?:[\\/]* ) . $cache_file;;
1247 *) . ./$cache_file;;
1251 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1252 echo "$as_me: creating cache $cache_file" >&6;}
1256 # Check that the precious variables saved in the cache have kept the same
1258 ac_cache_corrupted=false
1259 for ac_var in `(set) 2>&1 |
1260 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1261 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1262 eval ac_new_set=\$ac_env_${ac_var}_set
1263 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1264 eval ac_new_val="\$ac_env_${ac_var}_value"
1265 case $ac_old_set,$ac_new_set in
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1269 ac_cache_corrupted=: ;;
1271 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1272 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1273 ac_cache_corrupted=: ;;
1276 if test "x$ac_old_val" != "x$ac_new_val"; then
1277 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1278 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1279 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1280 echo "$as_me: former value: $ac_old_val" >&2;}
1281 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1282 echo "$as_me: current value: $ac_new_val" >&2;}
1283 ac_cache_corrupted=:
1286 # Pass precious variables to config.status.
1287 if test "$ac_new_set" = set; then
1289 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1290 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1291 *) ac_arg=$ac_var=$ac_new_val ;;
1293 case " $ac_configure_args " in
1294 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1295 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1299 if $ac_cache_corrupted; then
1300 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1301 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1302 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1303 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1304 { (exit 1); exit 1; }; }
1308 ac_cpp='$CPP $CPPFLAGS'
1309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1310 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1333 for ac_dir in scripts/autoconf $srcdir/scripts/autoconf; do
1334 if test -f $ac_dir/install-sh; then
1336 ac_install_sh="$ac_aux_dir/install-sh -c"
1338 elif test -f $ac_dir/install.sh; then
1340 ac_install_sh="$ac_aux_dir/install.sh -c"
1342 elif test -f $ac_dir/shtool; then
1344 ac_install_sh="$ac_aux_dir/shtool install -c"
1348 if test -z "$ac_aux_dir"; then
1349 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in scripts/autoconf $srcdir/scripts/autoconf" >&5
1350 echo "$as_me: error: cannot find install-sh or install.sh in scripts/autoconf $srcdir/scripts/autoconf" >&2;}
1351 { (exit 1); exit 1; }; }
1353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1355 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1358 # Check what host we are running on.
1359 # If a target is not suggested, we use this one.
1360 # Make sure we can run config.sub.
1361 $ac_config_sub sun4 >/dev/null 2>&1 ||
1362 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1363 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1364 { (exit 1); exit 1; }; }
1366 echo "$as_me:$LINENO: checking build system type" >&5
1367 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1368 if test "${ac_cv_build+set}" = set; then
1369 echo $ECHO_N "(cached) $ECHO_C" >&6
1371 ac_cv_build_alias=$build_alias
1372 test -z "$ac_cv_build_alias" &&
1373 ac_cv_build_alias=`$ac_config_guess`
1374 test -z "$ac_cv_build_alias" &&
1375 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1376 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1377 { (exit 1); exit 1; }; }
1378 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1379 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1380 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1381 { (exit 1); exit 1; }; }
1384 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1385 echo "${ECHO_T}$ac_cv_build" >&6
1387 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1388 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1389 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1392 echo "$as_me:$LINENO: checking host system type" >&5
1393 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1394 if test "${ac_cv_host+set}" = set; then
1395 echo $ECHO_N "(cached) $ECHO_C" >&6
1397 ac_cv_host_alias=$host_alias
1398 test -z "$ac_cv_host_alias" &&
1399 ac_cv_host_alias=$ac_cv_build_alias
1400 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1401 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1402 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1403 { (exit 1); exit 1; }; }
1406 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1407 echo "${ECHO_T}$ac_cv_host" >&6
1409 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1410 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1411 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1415 # The AROS target is slightly different to the normal GNU style
1416 # format. We don't have the middle part
, and we reverse the order
1417 # of the $(CPU) and $(OS) bits.
1419 # Don't strip the version of the target yet, it might be
1420 # useful on some systems.
1422 echo "$as_me:$LINENO: checking for AROS style target" >&5
1423 echo $ECHO_N "checking for AROS style target... $ECHO_C" >&6
1425 if test "$target" = "NONE" ; then
1426 target
=$host_os-$host_cpu
1429 if test "$target" = "" ; then
1430 target
=$host_os-$host_cpu
1436 echo "$as_me:$LINENO: result: $target" >&5
1437 echo "${ECHO_T}$target" >&6
1439 #don't know where else to put this...
1442 # Parse the target field into something useful.
1444 target_os
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\1/'`
1445 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\(.*\)$/\2/'`
1448 aros_default_wbwidth
=800
1449 aros_default_wbheight
=600
1450 aros_default_wbdepth
=4
1453 # The first step is to find the host binaries.
1454 # Check for a compiler.
1456 ac_cpp
='$CPP $CPPFLAGS'
1457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1460 if test -n "$ac_tool_prefix"; then
1461 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1462 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1463 echo "$as_me:$LINENO: checking for $ac_word" >&5
1464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465 if test "${ac_cv_prog_CC+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1468 if test -n "$CC"; then
1469 ac_cv_prog_CC
="$CC" # Let the user override the test.
1471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1475 test -z "$as_dir" && as_dir
=.
1476 for ac_exec_ext
in '' $ac_executable_extensions; do
1477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1478 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1488 if test -n "$CC"; then
1489 echo "$as_me:$LINENO: result: $CC" >&5
1490 echo "${ECHO_T}$CC" >&6
1492 echo "$as_me:$LINENO: result: no" >&5
1493 echo "${ECHO_T}no" >&6
1497 if test -z "$ac_cv_prog_CC"; then
1499 # Extract the first word of "gcc", so it can be a program name with args.
1500 set dummy gcc
; ac_word
=$2
1501 echo "$as_me:$LINENO: checking for $ac_word" >&5
1502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1503 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1504 echo $ECHO_N "(cached) $ECHO_C" >&6
1506 if test -n "$ac_ct_CC"; then
1507 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1509 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1513 test -z "$as_dir" && as_dir
=.
1514 for ac_exec_ext
in '' $ac_executable_extensions; do
1515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516 ac_cv_prog_ac_ct_CC
="gcc"
1517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1525 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1526 if test -n "$ac_ct_CC"; then
1527 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1528 echo "${ECHO_T}$ac_ct_CC" >&6
1530 echo "$as_me:$LINENO: result: no" >&5
1531 echo "${ECHO_T}no" >&6
1539 if test -z "$CC"; then
1540 if test -n "$ac_tool_prefix"; then
1541 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1542 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1543 echo "$as_me:$LINENO: checking for $ac_word" >&5
1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545 if test "${ac_cv_prog_CC+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 if test -n "$CC"; then
1549 ac_cv_prog_CC
="$CC" # Let the user override the test.
1551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1555 test -z "$as_dir" && as_dir
=.
1556 for ac_exec_ext
in '' $ac_executable_extensions; do
1557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1568 if test -n "$CC"; then
1569 echo "$as_me:$LINENO: result: $CC" >&5
1570 echo "${ECHO_T}$CC" >&6
1572 echo "$as_me:$LINENO: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1577 if test -z "$ac_cv_prog_CC"; then
1579 # Extract the first word of "cc", so it can be a program name with args.
1580 set dummy cc
; ac_word
=$2
1581 echo "$as_me:$LINENO: checking for $ac_word" >&5
1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 if test -n "$ac_ct_CC"; then
1587 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1589 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir
=.
1594 for ac_exec_ext
in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596 ac_cv_prog_ac_ct_CC
="cc"
1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1606 if test -n "$ac_ct_CC"; then
1607 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1608 echo "${ECHO_T}$ac_ct_CC" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1620 if test -z "$CC"; then
1621 # Extract the first word of "cc", so it can be a program name with args.
1622 set dummy cc
; ac_word
=$2
1623 echo "$as_me:$LINENO: checking for $ac_word" >&5
1624 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1625 if test "${ac_cv_prog_CC+set}" = set; then
1626 echo $ECHO_N "(cached) $ECHO_C" >&6
1628 if test -n "$CC"; then
1629 ac_cv_prog_CC
="$CC" # Let the user override the test.
1632 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1636 test -z "$as_dir" && as_dir
=.
1637 for ac_exec_ext
in '' $ac_executable_extensions; do
1638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1639 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1640 ac_prog_rejected
=yes
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1650 if test $ac_prog_rejected = yes; then
1651 # We found a bogon in the path, so make sure we never use it.
1652 set dummy
$ac_cv_prog_CC
1654 if test $# != 0; then
1655 # We chose a different compiler from the bogus one.
1656 # However, it has the same basename, so the bogon will be chosen
1657 # first if we set CC to just the basename; use the full file name.
1659 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1665 if test -n "$CC"; then
1666 echo "$as_me:$LINENO: result: $CC" >&5
1667 echo "${ECHO_T}$CC" >&6
1669 echo "$as_me:$LINENO: result: no" >&5
1670 echo "${ECHO_T}no" >&6
1674 if test -z "$CC"; then
1675 if test -n "$ac_tool_prefix"; then
1678 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1679 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1680 echo "$as_me:$LINENO: checking for $ac_word" >&5
1681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682 if test "${ac_cv_prog_CC+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 if test -n "$CC"; then
1686 ac_cv_prog_CC
="$CC" # Let the user override the test.
1688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir
=.
1693 for ac_exec_ext
in '' $ac_executable_extensions; do
1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test -n "$CC"; then
1706 echo "$as_me:$LINENO: result: $CC" >&5
1707 echo "${ECHO_T}$CC" >&6
1709 echo "$as_me:$LINENO: result: no" >&5
1710 echo "${ECHO_T}no" >&6
1713 test -n "$CC" && break
1716 if test -z "$CC"; then
1720 # Extract the first word of "$ac_prog", so it can be a program name with args.
1721 set dummy
$ac_prog; ac_word
=$2
1722 echo "$as_me:$LINENO: checking for $ac_word" >&5
1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 if test -n "$ac_ct_CC"; then
1728 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1734 test -z "$as_dir" && as_dir
=.
1735 for ac_exec_ext
in '' $ac_executable_extensions; do
1736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737 ac_cv_prog_ac_ct_CC
="$ac_prog"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1746 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1747 if test -n "$ac_ct_CC"; then
1748 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1749 echo "${ECHO_T}$ac_ct_CC" >&6
1751 echo "$as_me:$LINENO: result: no" >&5
1752 echo "${ECHO_T}no" >&6
1755 test -n "$ac_ct_CC" && break
1764 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1765 See \`config.log' for more details." >&5
1766 echo "$as_me: error: no acceptable C compiler found in \$PATH
1767 See \`config.log' for more details." >&2;}
1768 { (exit 1); exit 1; }; }
1770 # Provide some information about the compiler.
1771 echo "$as_me:$LINENO:" \
1772 "checking for C compiler version" >&5
1773 ac_compiler
=`set X $ac_compile; echo $2`
1774 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1775 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1778 (exit $ac_status); }
1779 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1780 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1783 (exit $ac_status); }
1784 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1785 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1788 (exit $ac_status); }
1790 cat >conftest.
$ac_ext <<_ACEOF
1793 cat confdefs.h
>>conftest.
$ac_ext
1794 cat >>conftest.
$ac_ext <<_ACEOF
1795 /* end confdefs.h. */
1805 ac_clean_files_save
=$ac_clean_files
1806 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1807 # Try to create an executable without -o first, disregard a.out.
1808 # It will help us diagnose broken compilers, and finding out an intuition
1810 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1811 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1812 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1813 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1814 (eval $ac_link_default) 2>&5
1816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1817 (exit $ac_status); }; then
1818 # Find the output, starting from the most likely. This scheme is
1819 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1822 # Be careful to initialize this variable, since it used to be cached.
1823 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1825 # b.out is created by i960 compilers.
1826 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1828 test -f "$ac_file" ||
continue
1830 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1833 # This is the source file.
1836 # We found the default executable, but exeext='' is most
1840 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1841 # FIXME: I believe we export ac_cv_exeext for Libtool,
1842 # but it would be cool to find out if it's true. Does anybody
1843 # maintain Libtool? --akim.
1851 echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.
$ac_ext >&5
1854 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1855 See \`config.log' for more details." >&5
1856 echo "$as_me: error: C compiler cannot create executables
1857 See \`config.log' for more details." >&2;}
1858 { (exit 77); exit 77; }; }
1861 ac_exeext
=$ac_cv_exeext
1862 echo "$as_me:$LINENO: result: $ac_file" >&5
1863 echo "${ECHO_T}$ac_file" >&6
1865 # Check the compiler produces executables we can run. If not, either
1866 # the compiler is broken, or we cross compile.
1867 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1868 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1869 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1870 # If not cross compiling, check that we can run a simple program.
1871 if test "$cross_compiling" != yes; then
1872 if { ac_try
='./$ac_file'
1873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1877 (exit $ac_status); }; }; then
1880 if test "$cross_compiling" = maybe
; then
1883 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1884 If you meant to cross compile, use \`--host'.
1885 See \`config.log' for more details." >&5
1886 echo "$as_me: error: cannot run C compiled programs.
1887 If you meant to cross compile, use \`--host'.
1888 See \`config.log' for more details." >&2;}
1889 { (exit 1); exit 1; }; }
1893 echo "$as_me:$LINENO: result: yes" >&5
1894 echo "${ECHO_T}yes" >&6
1896 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1897 ac_clean_files
=$ac_clean_files_save
1898 # Check the compiler produces executables we can run. If not, either
1899 # the compiler is broken, or we cross compile.
1900 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1901 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1902 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1903 echo "${ECHO_T}$cross_compiling" >&6
1905 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1906 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1908 (eval $ac_link) 2>&5
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911 (exit $ac_status); }; then
1912 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1913 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1914 # work properly (i.e., refer to `conftest.exe'), while it won't with
1916 for ac_file
in conftest.exe conftest conftest.
*; do
1917 test -f "$ac_file" ||
continue
1919 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1920 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1927 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1928 See \`config.log' for more details." >&5
1929 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1930 See \`config.log' for more details." >&2;}
1931 { (exit 1); exit 1; }; }
1934 rm -f conftest
$ac_cv_exeext
1935 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1936 echo "${ECHO_T}$ac_cv_exeext" >&6
1938 rm -f conftest.
$ac_ext
1939 EXEEXT
=$ac_cv_exeext
1941 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1942 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1943 if test "${ac_cv_objext+set}" = set; then
1944 echo $ECHO_N "(cached) $ECHO_C" >&6
1946 cat >conftest.
$ac_ext <<_ACEOF
1949 cat confdefs.h
>>conftest.
$ac_ext
1950 cat >>conftest.
$ac_ext <<_ACEOF
1951 /* end confdefs.h. */
1961 rm -f conftest.o conftest.obj
1962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1963 (eval $ac_compile) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1969 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1970 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1975 echo "$as_me: failed program was:" >&5
1976 sed 's/^/| /' conftest.
$ac_ext >&5
1978 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1979 See \`config.log' for more details." >&5
1980 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1981 See \`config.log' for more details." >&2;}
1982 { (exit 1); exit 1; }; }
1985 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1987 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1988 echo "${ECHO_T}$ac_cv_objext" >&6
1989 OBJEXT
=$ac_cv_objext
1991 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1992 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1993 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1994 echo $ECHO_N "(cached) $ECHO_C" >&6
1996 cat >conftest.
$ac_ext <<_ACEOF
1999 cat confdefs.h
>>conftest.
$ac_ext
2000 cat >>conftest.
$ac_ext <<_ACEOF
2001 /* end confdefs.h. */
2014 rm -f conftest.
$ac_objext
2015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2016 (eval $ac_compile) 2>conftest.er1
2018 grep -v '^ *+' conftest.er1
>conftest.err
2020 cat conftest.err
>&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); } &&
2023 { ac_try
='test -z "$ac_c_werror_flag"
2024 || test ! -s conftest.err'
2025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; } &&
2030 { ac_try
='test -s conftest.$ac_objext'
2031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2035 (exit $ac_status); }; }; then
2038 echo "$as_me: failed program was:" >&5
2039 sed 's/^/| /' conftest.
$ac_ext >&5
2043 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2044 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2047 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2048 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2049 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2050 ac_test_CFLAGS
=${CFLAGS+set}
2051 ac_save_CFLAGS
=$CFLAGS
2053 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2054 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2055 if test "${ac_cv_prog_cc_g+set}" = set; then
2056 echo $ECHO_N "(cached) $ECHO_C" >&6
2058 cat >conftest.
$ac_ext <<_ACEOF
2061 cat confdefs.h
>>conftest.
$ac_ext
2062 cat >>conftest.
$ac_ext <<_ACEOF
2063 /* end confdefs.h. */
2073 rm -f conftest.
$ac_objext
2074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2075 (eval $ac_compile) 2>conftest.er1
2077 grep -v '^ *+' conftest.er1
>conftest.err
2079 cat conftest.err
>&5
2080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2081 (exit $ac_status); } &&
2082 { ac_try
='test -z "$ac_c_werror_flag"
2083 || test ! -s conftest.err'
2084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }; } &&
2089 { ac_try
='test -s conftest.$ac_objext'
2090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }; }; then
2097 echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.
$ac_ext >&5
2102 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2104 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2105 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2106 if test "$ac_test_CFLAGS" = set; then
2107 CFLAGS
=$ac_save_CFLAGS
2108 elif test $ac_cv_prog_cc_g = yes; then
2109 if test "$GCC" = yes; then
2115 if test "$GCC" = yes; then
2121 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2122 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2123 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2124 echo $ECHO_N "(cached) $ECHO_C" >&6
2126 ac_cv_prog_cc_stdc
=no
2128 cat >conftest.
$ac_ext <<_ACEOF
2131 cat confdefs.h
>>conftest.
$ac_ext
2132 cat >>conftest.
$ac_ext <<_ACEOF
2133 /* end confdefs.h. */
2136 #include <sys/types.h>
2137 #include <sys/stat.h>
2138 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2139 struct buf { int x; };
2140 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2141 static char *e (p, i)
2147 static char *f (char * (*g) (char **, int), char **p, ...)
2152 s = g (p, va_arg (v,int));
2157 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2158 function prototypes and stuff, but not '\xHH' hex character constants.
2159 These don't provoke an error unfortunately, instead are silently treated
2160 as 'x'. The following induces an error, until -std1 is added to get
2161 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2162 array size at least. It's necessary to write '\x00'==0 to get something
2163 that's true only with -std1. */
2164 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2166 int test (int i, double x);
2167 struct s1 {int (*f) (int a);};
2168 struct s2 {int (*f) (double a);};
2169 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2175 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2180 # Don't try gcc -ansi; that turns off useful extensions and
2181 # breaks some systems' header files.
2182 # AIX -qlanglvl=ansi
2183 # Ultrix and OSF/1 -std1
2184 # HP-UX 10.20 and later -Ae
2185 # HP-UX older versions -Aa -D_HPUX_SOURCE
2186 # SVR4 -Xc -D__EXTENSIONS__
2187 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2189 CC
="$ac_save_CC $ac_arg"
2190 rm -f conftest.
$ac_objext
2191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2192 (eval $ac_compile) 2>conftest.er1
2194 grep -v '^ *+' conftest.er1
>conftest.err
2196 cat conftest.err
>&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); } &&
2199 { ac_try
='test -z "$ac_c_werror_flag"
2200 || test ! -s conftest.err'
2201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }; } &&
2206 { ac_try
='test -s conftest.$ac_objext'
2207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2211 (exit $ac_status); }; }; then
2212 ac_cv_prog_cc_stdc
=$ac_arg
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.
$ac_ext >&5
2219 rm -f conftest.err conftest.
$ac_objext
2221 rm -f conftest.
$ac_ext conftest.
$ac_objext
2226 case "x$ac_cv_prog_cc_stdc" in
2228 echo "$as_me:$LINENO: result: none needed" >&5
2229 echo "${ECHO_T}none needed" >&6 ;;
2231 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2232 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2233 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2236 # Some people use a C++ compiler to compile C. Since we use `exit',
2237 # in C++ we need to declare it. In case someone uses the same compiler
2238 # for both compiling C and C++ we need to have the C++ compiler decide
2239 # the declaration of exit, since it's the most demanding environment.
2240 cat >conftest.
$ac_ext <<_ACEOF
2245 rm -f conftest.
$ac_objext
2246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2247 (eval $ac_compile) 2>conftest.er1
2249 grep -v '^ *+' conftest.er1
>conftest.err
2251 cat conftest.err
>&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); } &&
2254 { ac_try
='test -z "$ac_c_werror_flag"
2255 || test ! -s conftest.err'
2256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); }; } &&
2261 { ac_try
='test -s conftest.$ac_objext'
2262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2266 (exit $ac_status); }; }; then
2267 for ac_declaration
in \
2269 'extern "C" void std::exit (int) throw (); using std::exit;' \
2270 'extern "C" void std::exit (int); using std::exit;' \
2271 'extern "C" void exit (int) throw ();' \
2272 'extern "C" void exit (int);' \
2275 cat >conftest.
$ac_ext <<_ACEOF
2278 cat confdefs.h
>>conftest.
$ac_ext
2279 cat >>conftest.
$ac_ext <<_ACEOF
2280 /* end confdefs.h. */
2291 rm -f conftest.
$ac_objext
2292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2293 (eval $ac_compile) 2>conftest.er1
2295 grep -v '^ *+' conftest.er1
>conftest.err
2297 cat conftest.err
>&5
2298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299 (exit $ac_status); } &&
2300 { ac_try
='test -z "$ac_c_werror_flag"
2301 || test ! -s conftest.err'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; } &&
2307 { ac_try
='test -s conftest.$ac_objext'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; }; then
2315 echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.
$ac_ext >&5
2320 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2321 cat >conftest.
$ac_ext <<_ACEOF
2324 cat confdefs.h
>>conftest.
$ac_ext
2325 cat >>conftest.
$ac_ext <<_ACEOF
2326 /* end confdefs.h. */
2336 rm -f conftest.
$ac_objext
2337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2338 (eval $ac_compile) 2>conftest.er1
2340 grep -v '^ *+' conftest.er1
>conftest.err
2342 cat conftest.err
>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); } &&
2345 { ac_try
='test -z "$ac_c_werror_flag"
2346 || test ! -s conftest.err'
2347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2351 (exit $ac_status); }; } &&
2352 { ac_try
='test -s conftest.$ac_objext'
2353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2357 (exit $ac_status); }; }; then
2360 echo "$as_me: failed program was:" >&5
2361 sed 's/^/| /' conftest.
$ac_ext >&5
2364 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2367 if test -n "$ac_declaration"; then
2368 echo '#ifdef __cplusplus' >>confdefs.h
2369 echo $ac_declaration >>confdefs.h
2370 echo '#endif' >>confdefs.h
2374 echo "$as_me: failed program was:" >&5
2375 sed 's/^/| /' conftest.
$ac_ext >&5
2378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2380 ac_cpp
='$CPP $CPPFLAGS'
2381 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2382 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2383 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2387 ac_cpp
='$CPP $CPPFLAGS'
2388 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2389 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2390 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2391 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2392 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2393 # On Suns, sometimes $CPP names a directory.
2394 if test -n "$CPP" && test -d "$CPP"; then
2397 if test -z "$CPP"; then
2398 if test "${ac_cv_prog_CPP+set}" = set; then
2399 echo $ECHO_N "(cached) $ECHO_C" >&6
2401 # Double quotes because CPP needs to be expanded
2402 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2405 for ac_c_preproc_warn_flag
in '' yes
2407 # Use a header file that comes with gcc, so configuring glibc
2408 # with a fresh cross-compiler works.
2409 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2410 # <limits.h> exists even on freestanding compilers.
2411 # On the NeXT, cc -E runs the code through the compiler's parser,
2412 # not just through cpp. "Syntax error" is here to catch this case.
2413 cat >conftest.
$ac_ext <<_ACEOF
2416 cat confdefs.h
>>conftest.
$ac_ext
2417 cat >>conftest.
$ac_ext <<_ACEOF
2418 /* end confdefs.h. */
2420 # include <limits.h>
2422 # include <assert.h>
2426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2427 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2429 grep -v '^ *+' conftest.er1
>conftest.err
2431 cat conftest.err
>&5
2432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2433 (exit $ac_status); } >/dev
/null
; then
2434 if test -s conftest.err
; then
2435 ac_cpp_err
=$ac_c_preproc_warn_flag
2436 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2443 if test -z "$ac_cpp_err"; then
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.
$ac_ext >&5
2449 # Broken: fails on valid input.
2452 rm -f conftest.err conftest.
$ac_ext
2454 # OK, works on sane cases. Now check whether non-existent headers
2455 # can be detected and how.
2456 cat >conftest.
$ac_ext <<_ACEOF
2459 cat confdefs.h
>>conftest.
$ac_ext
2460 cat >>conftest.
$ac_ext <<_ACEOF
2461 /* end confdefs.h. */
2462 #include <ac_nonexistent.h>
2464 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2465 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2467 grep -v '^ *+' conftest.er1
>conftest.err
2469 cat conftest.err
>&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); } >/dev
/null
; then
2472 if test -s conftest.err
; then
2473 ac_cpp_err
=$ac_c_preproc_warn_flag
2474 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2481 if test -z "$ac_cpp_err"; then
2482 # Broken: success on invalid input.
2485 echo "$as_me: failed program was:" >&5
2486 sed 's/^/| /' conftest.
$ac_ext >&5
2488 # Passes both tests.
2492 rm -f conftest.err conftest.
$ac_ext
2495 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2496 rm -f conftest.err conftest.
$ac_ext
2497 if $ac_preproc_ok; then
2509 echo "$as_me:$LINENO: result: $CPP" >&5
2510 echo "${ECHO_T}$CPP" >&6
2512 for ac_c_preproc_warn_flag
in '' yes
2514 # Use a header file that comes with gcc, so configuring glibc
2515 # with a fresh cross-compiler works.
2516 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2517 # <limits.h> exists even on freestanding compilers.
2518 # On the NeXT, cc -E runs the code through the compiler's parser,
2519 # not just through cpp. "Syntax error" is here to catch this case.
2520 cat >conftest.
$ac_ext <<_ACEOF
2523 cat confdefs.h
>>conftest.
$ac_ext
2524 cat >>conftest.
$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2527 # include <limits.h>
2529 # include <assert.h>
2533 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2534 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2536 grep -v '^ *+' conftest.er1
>conftest.err
2538 cat conftest.err
>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } >/dev
/null
; then
2541 if test -s conftest.err
; then
2542 ac_cpp_err
=$ac_c_preproc_warn_flag
2543 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2550 if test -z "$ac_cpp_err"; then
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.
$ac_ext >&5
2556 # Broken: fails on valid input.
2559 rm -f conftest.err conftest.
$ac_ext
2561 # OK, works on sane cases. Now check whether non-existent headers
2562 # can be detected and how.
2563 cat >conftest.
$ac_ext <<_ACEOF
2566 cat confdefs.h
>>conftest.
$ac_ext
2567 cat >>conftest.
$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2569 #include <ac_nonexistent.h>
2571 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2572 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2574 grep -v '^ *+' conftest.er1
>conftest.err
2576 cat conftest.err
>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } >/dev
/null
; then
2579 if test -s conftest.err
; then
2580 ac_cpp_err
=$ac_c_preproc_warn_flag
2581 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2588 if test -z "$ac_cpp_err"; then
2589 # Broken: success on invalid input.
2592 echo "$as_me: failed program was:" >&5
2593 sed 's/^/| /' conftest.
$ac_ext >&5
2595 # Passes both tests.
2599 rm -f conftest.err conftest.
$ac_ext
2602 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2603 rm -f conftest.err conftest.
$ac_ext
2604 if $ac_preproc_ok; then
2607 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2608 See \`config.log' for more details." >&5
2609 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2610 See \`config.log' for more details." >&2;}
2611 { (exit 1); exit 1; }; }
2615 ac_cpp
='$CPP $CPPFLAGS'
2616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2621 # We don't yet support cross-compiling, but we may later on.
2624 *cygwin
* ) CYGWIN
=yes;;
2631 # Check for gawk and mmake.
2632 for ac_prog
in gawk nawk
2634 # Extract the first word of "$ac_prog", so it can be a program name with args.
2635 set dummy
$ac_prog; ac_word
=$2
2636 echo "$as_me:$LINENO: checking for $ac_word" >&5
2637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2638 if test "${ac_cv_prog_AWK+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 if test -n "$AWK"; then
2642 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2648 test -z "$as_dir" && as_dir
=.
2649 for ac_exec_ext
in '' $ac_executable_extensions; do
2650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2651 ac_cv_prog_AWK
="$ac_prog"
2652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2661 if test -n "$AWK"; then
2662 echo "$as_me:$LINENO: result: $AWK" >&5
2663 echo "${ECHO_T}$AWK" >&6
2665 echo "$as_me:$LINENO: result: no" >&5
2666 echo "${ECHO_T}no" >&6
2669 test -n "$AWK" && break
2673 if test "$AWK" = ""; then
2674 { { echo "$as_me:$LINENO: error: gawk is required to build AROS. Please install and run configure again." >&5
2675 echo "$as_me: error: gawk is required to build AROS. Please install and run configure again." >&2;}
2676 { (exit 1); exit 1; }; }
2678 # Extract the first word of "mmake", so it can be a program name with args.
2679 set dummy mmake
; ac_word
=$2
2680 echo "$as_me:$LINENO: checking for $ac_word" >&5
2681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2682 if test "${ac_cv_prog_MMAKE+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 if test -n "$MMAKE"; then
2686 ac_cv_prog_MMAKE
="$MMAKE" # Let the user override the test.
2688 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2692 test -z "$as_dir" && as_dir
=.
2693 for ac_exec_ext
in '' $ac_executable_extensions; do
2694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2695 ac_cv_prog_MMAKE
="mmake"
2696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2704 MMAKE
=$ac_cv_prog_MMAKE
2705 if test -n "$MMAKE"; then
2706 echo "$as_me:$LINENO: result: $MMAKE" >&5
2707 echo "${ECHO_T}$MMAKE" >&6
2709 echo "$as_me:$LINENO: result: no" >&5
2710 echo "${ECHO_T}no" >&6
2716 # Perform some default variable assignments. Note all of these will be
2717 # Regenerated from the script, so there is no need to cache them.
2720 if test "$GCC" = "yes"; then
2721 aros_gcc_ld
=`$CC -print-prog-name=ld`
2722 # Extract the first word of "`basename $aros_gcc_[ld]`", so it can be a program name with args.
2723 set dummy
`basename $aros_gcc_ld`; ac_word
=$2
2724 echo "$as_me:$LINENO: checking for $ac_word" >&5
2725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2726 if test "${ac_cv_path_aros_host_ld+set}" = set; then
2727 echo $ECHO_N "(cached) $ECHO_C" >&6
2729 case $aros_host_ld in
2731 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
2734 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2735 for as_dir
in `dirname $aros_gcc_ld`
2738 test -z "$as_dir" && as_dir
=.
2739 for ac_exec_ext
in '' $ac_executable_extensions; do
2740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2751 aros_host_ld
=$ac_cv_path_aros_host_ld
2753 if test -n "$aros_host_ld"; then
2754 echo "$as_me:$LINENO: result: $aros_host_ld" >&5
2755 echo "${ECHO_T}$aros_host_ld" >&6
2757 echo "$as_me:$LINENO: result: no" >&5
2758 echo "${ECHO_T}no" >&6
2762 if test "$aros_host_ld" = ""; then
2763 # Extract the first word of "ld", so it can be a program name with args.
2764 set dummy ld
; ac_word
=$2
2765 echo "$as_me:$LINENO: checking for $ac_word" >&5
2766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2767 if test "${ac_cv_path_aros_host_ld+set}" = set; then
2768 echo $ECHO_N "(cached) $ECHO_C" >&6
2770 case $aros_host_ld in
2772 ac_cv_path_aros_host_ld
="$aros_host_ld" # Let the user override the test with a path.
2775 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2779 test -z "$as_dir" && as_dir
=.
2780 for ac_exec_ext
in '' $ac_executable_extensions; do
2781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2782 ac_cv_path_aros_host_ld
="$as_dir/$ac_word$ac_exec_ext"
2783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 aros_host_ld
=$ac_cv_path_aros_host_ld
2794 if test -n "$aros_host_ld"; then
2795 echo "$as_me:$LINENO: result: $aros_host_ld" >&5
2796 echo "${ECHO_T}$aros_host_ld" >&6
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2803 if test "$aros_host_ld" = ""; then
2804 { { echo "$as_me:$LINENO: error: ld is required to build AROS. Please install and run configure again." >&5
2805 echo "$as_me: error: ld is required to build AROS. Please install and run configure again." >&2;}
2806 { (exit 1); exit 1; }; }
2808 aros_host_make
="make"
2809 aros_host_cflags
=$CFLAGS
2810 aros_host_ldflags
=$LDFLAGS
2811 aros_host_debug
="-g -O0"
2812 aros_host_mkdep
="\$(TOP)/scripts/mkdep"
2813 aros_host_mkargs
="--no-print-directory"
2814 aros_host_incl
="/usr/include"
2815 aros_host_exe_suffix
="$EXEEXT"
2816 aros_host_lib_suffix
=""
2820 aros_host_cc_pipe
="-pipe"
2823 aros_host_cc_pipe
=""
2826 aros_host_cc_pipe
=""
2830 aros_target_cc_includes
=""
2832 # This is the main host configuration section. It is where the host
2833 # can change the values of any variables it needs to change. We do
2834 # not look at anything that compiles to the target yet, we'll get
2839 aros_host_arch
="linux"
2840 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
2843 aros_host_cpu
="i386"
2846 aros_host_cpu
="x86_64"
2849 aros_host_cpu
="m68k"
2855 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
2856 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
2857 aros_host_cpu
="$host_cpu"
2863 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
2864 aros_host_make
="gmake"
2865 aros_host_arch
="freebsd"
2866 aros_host_cpu
="i386"
2871 aros_object_format
="elf_i386_fbsd"
2875 aros_object_format
="elf_i386"
2881 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
2882 aros_host_make
="gmake"
2883 aros_host_arch
="netbsd"
2886 aros_host_cpu
="i386"
2889 aros_host_cpu
="m68k"
2892 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
2893 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
2894 aros_host_cpu
="$host_cpu"
2897 aros_host_lib_suffix
=".0.0"
2901 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
2902 aros_host_make
="gmake"
2903 aros_host_arch
="openbsd"
2906 aros_host_cpu
="i386"
2909 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
2910 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
2911 aros_host_cpu
="$host_cpu"
2917 aros_host_arch
="solaris"
2918 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
2921 aros_host_cpu
="sparc"
2924 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
2925 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
2926 aros_host_cpu
="$host_cpu"
2932 aros_host_cc
="$aros_host_cc"
2933 aros_host_arch
="morphos"
2938 aros_host_arch
="amiga"
2943 TOUCH
="/gg/bin/touch"
2946 aros_host_cpu
="m68k"
2952 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
2953 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
2954 aros_host_cpu
="$host_cpu"
2960 aros_host_arch
="cygwin"
2961 aros_host_cc
="$aros_host_cc $aros_host_cc_pipe"
2964 aros_host_cpu
="i386"
2967 { echo "$as_me:$LINENO: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&5
2968 echo "$as_me: WARNING: \"Unknown CPU for host -- $host_cpu\"" >&2;}
2969 aros_host_cpu
="$host_cpu"
2974 { { echo "$as_me:$LINENO: error: Unsupported host architecture $host" >&5
2975 echo "$as_me: error: Unsupported host architecture $host" >&2;}
2976 { (exit 1); exit 1; }; }
2980 # Extract the first word of "ar", so it can be a program name with args.
2981 set dummy
ar; ac_word
=$2
2982 echo "$as_me:$LINENO: checking for $ac_word" >&5
2983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2984 if test "${ac_cv_prog_HOST_AR+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 if test -n "$HOST_AR"; then
2988 ac_cv_prog_HOST_AR
="$HOST_AR" # Let the user override the test.
2990 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir
=.
2995 for ac_exec_ext
in '' $ac_executable_extensions; do
2996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_HOST_AR
="ar"
2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3006 HOST_AR
=$ac_cv_prog_HOST_AR
3007 if test -n "$HOST_AR"; then
3008 echo "$as_me:$LINENO: result: $HOST_AR" >&5
3009 echo "${ECHO_T}$HOST_AR" >&6
3011 echo "$as_me:$LINENO: result: no" >&5
3012 echo "${ECHO_T}no" >&6
3015 HOST_AR
="$HOST_AR cr"
3017 if test "$HOST_AR" = ""; then
3018 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
3019 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
3020 { (exit 1); exit 1; }; }
3022 # Extract the first word of "ranlib", so it can be a program name with args.
3023 set dummy ranlib
; ac_word
=$2
3024 echo "$as_me:$LINENO: checking for $ac_word" >&5
3025 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3026 if test "${ac_cv_prog_HOST_RANLIB+set}" = set; then
3027 echo $ECHO_N "(cached) $ECHO_C" >&6
3029 if test -n "$HOST_RANLIB"; then
3030 ac_cv_prog_HOST_RANLIB
="$HOST_RANLIB" # Let the user override the test.
3032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3036 test -z "$as_dir" && as_dir
=.
3037 for ac_exec_ext
in '' $ac_executable_extensions; do
3038 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3039 ac_cv_prog_HOST_RANLIB
="ranlib"
3040 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 HOST_RANLIB
=$ac_cv_prog_HOST_RANLIB
3049 if test -n "$HOST_RANLIB"; then
3050 echo "$as_me:$LINENO: result: $HOST_RANLIB" >&5
3051 echo "${ECHO_T}$HOST_RANLIB" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3060 # Extract the first word of "rm", so it can be a program name with args.
3061 set dummy
rm; ac_word
=$2
3062 echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3064 if test "${ac_cv_prog_RM+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$RM"; then
3068 ac_cv_prog_RM
="$RM" # Let the user override the test.
3070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir
=.
3075 for ac_exec_ext
in '' $ac_executable_extensions; do
3076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3087 if test -n "$RM"; then
3088 echo "$as_me:$LINENO: result: $RM" >&5
3089 echo "${ECHO_T}$RM" >&6
3091 echo "$as_me:$LINENO: result: no" >&5
3092 echo "${ECHO_T}no" >&6
3097 if test "$RM" = ""; then
3098 { { echo "$as_me:$LINENO: error: rm is required to build AROS. Please install and run configure again." >&5
3099 echo "$as_me: error: rm is required to build AROS. Please install and run configure again." >&2;}
3100 { (exit 1); exit 1; }; }
3102 # Extract the first word of "cp", so it can be a program name with args.
3103 set dummy
cp; ac_word
=$2
3104 echo "$as_me:$LINENO: checking for $ac_word" >&5
3105 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3106 if test "${ac_cv_prog_CP+set}" = set; then
3107 echo $ECHO_N "(cached) $ECHO_C" >&6
3109 if test -n "$CP"; then
3110 ac_cv_prog_CP
="$CP" # Let the user override the test.
3112 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3116 test -z "$as_dir" && as_dir
=.
3117 for ac_exec_ext
in '' $ac_executable_extensions; do
3118 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3120 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3129 if test -n "$CP"; then
3130 echo "$as_me:$LINENO: result: $CP" >&5
3131 echo "${ECHO_T}$CP" >&6
3133 echo "$as_me:$LINENO: result: no" >&5
3134 echo "${ECHO_T}no" >&6
3139 if test "$CP" = ""; then
3140 { { echo "$as_me:$LINENO: error: cp is required to build AROS. Please install and run configure again." >&5
3141 echo "$as_me: error: cp is required to build AROS. Please install and run configure again." >&2;}
3142 { (exit 1); exit 1; }; }
3144 # Extract the first word of "mv", so it can be a program name with args.
3145 set dummy
mv; ac_word
=$2
3146 echo "$as_me:$LINENO: checking for $ac_word" >&5
3147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3148 if test "${ac_cv_prog_MV+set}" = set; then
3149 echo $ECHO_N "(cached) $ECHO_C" >&6
3151 if test -n "$MV"; then
3152 ac_cv_prog_MV
="$MV" # Let the user override the test.
3154 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3158 test -z "$as_dir" && as_dir
=.
3159 for ac_exec_ext
in '' $ac_executable_extensions; do
3160 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3171 if test -n "$MV"; then
3172 echo "$as_me:$LINENO: result: $MV" >&5
3173 echo "${ECHO_T}$MV" >&6
3175 echo "$as_me:$LINENO: result: no" >&5
3176 echo "${ECHO_T}no" >&6
3181 if test "$MV" = ""; then
3182 { { echo "$as_me:$LINENO: error: mv is required to build AROS. Please install and run configure again." >&5
3183 echo "$as_me: error: mv is required to build AROS. Please install and run configure again." >&2;}
3184 { (exit 1); exit 1; }; }
3186 # Extract the first word of "echo", so it can be a program name with args.
3187 set dummy
echo; ac_word
=$2
3188 echo "$as_me:$LINENO: checking for $ac_word" >&5
3189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3190 if test "${ac_cv_prog_ECHO+set}" = set; then
3191 echo $ECHO_N "(cached) $ECHO_C" >&6
3193 if test -n "$ECHO"; then
3194 ac_cv_prog_ECHO
="$ECHO" # Let the user override the test.
3196 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3200 test -z "$as_dir" && as_dir
=.
3201 for ac_exec_ext
in '' $ac_executable_extensions; do
3202 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3203 ac_cv_prog_ECHO
="echo"
3204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3212 ECHO
=$ac_cv_prog_ECHO
3213 if test -n "$ECHO"; then
3214 echo "$as_me:$LINENO: result: $ECHO" >&5
3215 echo "${ECHO_T}$ECHO" >&6
3217 echo "$as_me:$LINENO: result: no" >&5
3218 echo "${ECHO_T}no" >&6
3223 if test "$ECHO" = ""; then
3224 { { echo "$as_me:$LINENO: error: echo is required to build AROS. Please install and run configure again." >&5
3225 echo "$as_me: error: echo is required to build AROS. Please install and run configure again." >&2;}
3226 { (exit 1); exit 1; }; }
3228 # Extract the first word of "mkdir", so it can be a program name with args.
3229 set dummy mkdir
; ac_word
=$2
3230 echo "$as_me:$LINENO: checking for $ac_word" >&5
3231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3232 if test "${ac_cv_prog_MKDIR+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 if test -n "$MKDIR"; then
3236 ac_cv_prog_MKDIR
="$MKDIR" # Let the user override the test.
3238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir
=.
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3245 ac_cv_prog_MKDIR
="mkdir"
3246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3254 MKDIR
=$ac_cv_prog_MKDIR
3255 if test -n "$MKDIR"; then
3256 echo "$as_me:$LINENO: result: $MKDIR" >&5
3257 echo "${ECHO_T}$MKDIR" >&6
3259 echo "$as_me:$LINENO: result: no" >&5
3260 echo "${ECHO_T}no" >&6
3265 if test "$MKDIR" = ""; then
3266 { { echo "$as_me:$LINENO: error: mkdir is required to build AROS. Please install and run configure again." >&5
3267 echo "$as_me: error: mkdir is required to build AROS. Please install and run configure again." >&2;}
3268 { (exit 1); exit 1; }; }
3270 # Extract the first word of "touch", so it can be a program name with args.
3271 set dummy
touch; ac_word
=$2
3272 echo "$as_me:$LINENO: checking for $ac_word" >&5
3273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3274 if test "${ac_cv_prog_TOUCH+set}" = set; then
3275 echo $ECHO_N "(cached) $ECHO_C" >&6
3277 if test -n "$TOUCH"; then
3278 ac_cv_prog_TOUCH
="$TOUCH" # Let the user override the test.
3280 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3284 test -z "$as_dir" && as_dir
=.
3285 for ac_exec_ext
in '' $ac_executable_extensions; do
3286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3287 ac_cv_prog_TOUCH
="touch"
3288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3296 TOUCH
=$ac_cv_prog_TOUCH
3297 if test -n "$TOUCH"; then
3298 echo "$as_me:$LINENO: result: $TOUCH" >&5
3299 echo "${ECHO_T}$TOUCH" >&6
3301 echo "$as_me:$LINENO: result: no" >&5
3302 echo "${ECHO_T}no" >&6
3307 if test "$TOUCH" = ""; then
3308 { { echo "$as_me:$LINENO: error: touch is required to build AROS. Please install and run configure again." >&5
3309 echo "$as_me: error: touch is required to build AROS. Please install and run configure again." >&2;}
3310 { (exit 1); exit 1; }; }
3312 # Extract the first word of "sort", so it can be a program name with args.
3313 set dummy
sort; ac_word
=$2
3314 echo "$as_me:$LINENO: checking for $ac_word" >&5
3315 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3316 if test "${ac_cv_prog_SORT+set}" = set; then
3317 echo $ECHO_N "(cached) $ECHO_C" >&6
3319 if test -n "$SORT"; then
3320 ac_cv_prog_SORT
="$SORT" # Let the user override the test.
3322 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3326 test -z "$as_dir" && as_dir
=.
3327 for ac_exec_ext
in '' $ac_executable_extensions; do
3328 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3329 ac_cv_prog_SORT
="sort"
3330 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3338 SORT
=$ac_cv_prog_SORT
3339 if test -n "$SORT"; then
3340 echo "$as_me:$LINENO: result: $SORT" >&5
3341 echo "${ECHO_T}$SORT" >&6
3343 echo "$as_me:$LINENO: result: no" >&5
3344 echo "${ECHO_T}no" >&6
3349 if test "$SORT" = ""; then
3350 { { echo "$as_me:$LINENO: error: sort is required to build AROS. Please install and run configure again." >&5
3351 echo "$as_me: error: sort is required to build AROS. Please install and run configure again." >&2;}
3352 { (exit 1); exit 1; }; }
3354 # Extract the first word of "uniq", so it can be a program name with args.
3355 set dummy
uniq; ac_word
=$2
3356 echo "$as_me:$LINENO: checking for $ac_word" >&5
3357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3358 if test "${ac_cv_prog_UNIQ+set}" = set; then
3359 echo $ECHO_N "(cached) $ECHO_C" >&6
3361 if test -n "$UNIQ"; then
3362 ac_cv_prog_UNIQ
="$UNIQ" # Let the user override the test.
3364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3368 test -z "$as_dir" && as_dir
=.
3369 for ac_exec_ext
in '' $ac_executable_extensions; do
3370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3371 ac_cv_prog_UNIQ
="uniq"
3372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 UNIQ
=$ac_cv_prog_UNIQ
3381 if test -n "$UNIQ"; then
3382 echo "$as_me:$LINENO: result: $UNIQ" >&5
3383 echo "${ECHO_T}$UNIQ" >&6
3385 echo "$as_me:$LINENO: result: no" >&5
3386 echo "${ECHO_T}no" >&6
3391 if test "$UNIQ" = ""; then
3392 { { echo "$as_me:$LINENO: error: uniq is required to build AROS. Please install and run configure again." >&5
3393 echo "$as_me: error: uniq is required to build AROS. Please install and run configure again." >&2;}
3394 { (exit 1); exit 1; }; }
3396 # Extract the first word of "true", so it can be a program name with args.
3397 set dummy true
; ac_word
=$2
3398 echo "$as_me:$LINENO: checking for $ac_word" >&5
3399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3400 if test "${ac_cv_prog_NOP+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 if test -n "$NOP"; then
3404 ac_cv_prog_NOP
="$NOP" # Let the user override the test.
3406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir
=.
3411 for ac_exec_ext
in '' $ac_executable_extensions; do
3412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3413 ac_cv_prog_NOP
="true"
3414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3423 if test -n "$NOP"; then
3424 echo "$as_me:$LINENO: result: $NOP" >&5
3425 echo "${ECHO_T}$NOP" >&6
3427 echo "$as_me:$LINENO: result: no" >&5
3428 echo "${ECHO_T}no" >&6
3433 if test "$NOP" = ""; then
3434 { { echo "$as_me:$LINENO: error: true is required to build AROS. Please install and run configure again." >&5
3435 echo "$as_me: error: true is required to build AROS. Please install and run configure again." >&2;}
3436 { (exit 1); exit 1; }; }
3438 # Extract the first word of "cat", so it can be a program name with args.
3439 set dummy
cat; ac_word
=$2
3440 echo "$as_me:$LINENO: checking for $ac_word" >&5
3441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3442 if test "${ac_cv_prog_CAT+set}" = set; then
3443 echo $ECHO_N "(cached) $ECHO_C" >&6
3445 if test -n "$CAT"; then
3446 ac_cv_prog_CAT
="$CAT" # Let the user override the test.
3448 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3452 test -z "$as_dir" && as_dir
=.
3453 for ac_exec_ext
in '' $ac_executable_extensions; do
3454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3455 ac_cv_prog_CAT
="cat"
3456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3465 if test -n "$CAT"; then
3466 echo "$as_me:$LINENO: result: $CAT" >&5
3467 echo "${ECHO_T}$CAT" >&6
3469 echo "$as_me:$LINENO: result: no" >&5
3470 echo "${ECHO_T}no" >&6
3475 if test "$CAT" = ""; then
3476 { { echo "$as_me:$LINENO: error: cat is required to build AROS. Please install and run configure again." >&5
3477 echo "$as_me: error: cat is required to build AROS. Please install and run configure again." >&2;}
3478 { (exit 1); exit 1; }; }
3480 # Extract the first word of "bison", so it can be a program name with args.
3481 set dummy bison
; ac_word
=$2
3482 echo "$as_me:$LINENO: checking for $ac_word" >&5
3483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3484 if test "${ac_cv_prog_BISON+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 if test -n "$BISON"; then
3488 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
3490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3494 test -z "$as_dir" && as_dir
=.
3495 for ac_exec_ext
in '' $ac_executable_extensions; do
3496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3497 ac_cv_prog_BISON
="bison"
3498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 BISON
=$ac_cv_prog_BISON
3507 if test -n "$BISON"; then
3508 echo "$as_me:$LINENO: result: $BISON" >&5
3509 echo "${ECHO_T}$BISON" >&6
3511 echo "$as_me:$LINENO: result: no" >&5
3512 echo "${ECHO_T}no" >&6
3517 if test "$BISON" = ""; then
3518 { { echo "$as_me:$LINENO: error: bison is required to build AROS. Please install and run configure again." >&5
3519 echo "$as_me: error: bison is required to build AROS. Please install and run configure again." >&2;}
3520 { (exit 1); exit 1; }; }
3522 # Extract the first word of "pngtopnm", so it can be a program name with args.
3523 set dummy pngtopnm
; ac_word
=$2
3524 echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3526 if test "${ac_cv_prog_PNGTOPNM+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3529 if test -n "$PNGTOPNM"; then
3530 ac_cv_prog_PNGTOPNM
="$PNGTOPNM" # Let the user override the test.
3532 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir
=.
3537 for ac_exec_ext
in '' $ac_executable_extensions; do
3538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539 ac_cv_prog_PNGTOPNM
="pngtopnm"
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 PNGTOPNM
=$ac_cv_prog_PNGTOPNM
3549 if test -n "$PNGTOPNM"; then
3550 echo "$as_me:$LINENO: result: $PNGTOPNM" >&5
3551 echo "${ECHO_T}$PNGTOPNM" >&6
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3559 if test "$PNGTOPNM" = ""; then
3560 { { echo "$as_me:$LINENO: error: pngtopnm is required to build AROS. Please install and run configure again." >&5
3561 echo "$as_me: error: pngtopnm is required to build AROS. Please install and run configure again." >&2;}
3562 { (exit 1); exit 1; }; }
3564 # Extract the first word of "ppmtoilbm", so it can be a program name with args.
3565 set dummy ppmtoilbm
; ac_word
=$2
3566 echo "$as_me:$LINENO: checking for $ac_word" >&5
3567 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3568 if test "${ac_cv_prog_PPMTOILBM+set}" = set; then
3569 echo $ECHO_N "(cached) $ECHO_C" >&6
3571 if test -n "$PPMTOILBM"; then
3572 ac_cv_prog_PPMTOILBM
="$PPMTOILBM" # Let the user override the test.
3574 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3578 test -z "$as_dir" && as_dir
=.
3579 for ac_exec_ext
in '' $ac_executable_extensions; do
3580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3581 ac_cv_prog_PPMTOILBM
="ppmtoilbm"
3582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3590 PPMTOILBM
=$ac_cv_prog_PPMTOILBM
3591 if test -n "$PPMTOILBM"; then
3592 echo "$as_me:$LINENO: result: $PPMTOILBM" >&5
3593 echo "${ECHO_T}$PPMTOILBM" >&6
3595 echo "$as_me:$LINENO: result: no" >&5
3596 echo "${ECHO_T}no" >&6
3601 if test "$PPMTOILBM" = ""; then
3602 { { echo "$as_me:$LINENO: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&5
3603 echo "$as_me: error: ppmtoilbm is required to build AROS. Please install and run configure again." >&2;}
3604 { (exit 1); exit 1; }; }
3606 # Extract the first word of "strip", so it can be a program name with args.
3607 set dummy strip
; ac_word
=$2
3608 echo "$as_me:$LINENO: checking for $ac_word" >&5
3609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3610 if test "${ac_cv_prog_STRIP+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3613 if test -n "$STRIP"; then
3614 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
3616 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3620 test -z "$as_dir" && as_dir
=.
3621 for ac_exec_ext
in '' $ac_executable_extensions; do
3622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3623 ac_cv_prog_STRIP
="strip"
3624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3632 STRIP
=$ac_cv_prog_STRIP
3633 if test -n "$STRIP"; then
3634 echo "$as_me:$LINENO: result: $STRIP" >&5
3635 echo "${ECHO_T}$STRIP" >&6
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3643 if test "$STRIP" = ""; then
3644 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
3645 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
3646 { (exit 1); exit 1; }; }
3648 # Extract the first word of "sed", so it can be a program name with args.
3649 set dummy
sed; ac_word
=$2
3650 echo "$as_me:$LINENO: checking for $ac_word" >&5
3651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3652 if test "${ac_cv_prog_SED+set}" = set; then
3653 echo $ECHO_N "(cached) $ECHO_C" >&6
3655 if test -n "$SED"; then
3656 ac_cv_prog_SED
="$SED" # Let the user override the test.
3658 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3662 test -z "$as_dir" && as_dir
=.
3663 for ac_exec_ext
in '' $ac_executable_extensions; do
3664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3665 ac_cv_prog_SED
="sed"
3666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3675 if test -n "$SED"; then
3676 echo "$as_me:$LINENO: result: $SED" >&5
3677 echo "${ECHO_T}$SED" >&6
3679 echo "$as_me:$LINENO: result: no" >&5
3680 echo "${ECHO_T}no" >&6
3685 if test "$SED" = ""; then
3686 { { echo "$as_me:$LINENO: error: sed is required to build AROS. Please install and run configure again." >&5
3687 echo "$as_me: error: sed is required to build AROS. Please install and run configure again." >&2;}
3688 { (exit 1); exit 1; }; }
3690 # Extract the first word of "chmod", so it can be a program name with args.
3691 set dummy
chmod; ac_word
=$2
3692 echo "$as_me:$LINENO: checking for $ac_word" >&5
3693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3694 if test "${ac_cv_prog_CHMOD+set}" = set; then
3695 echo $ECHO_N "(cached) $ECHO_C" >&6
3697 if test -n "$CHMOD"; then
3698 ac_cv_prog_CHMOD
="$CHMOD" # Let the user override the test.
3700 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir
=.
3705 for ac_exec_ext
in '' $ac_executable_extensions; do
3706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3707 ac_cv_prog_CHMOD
="chmod"
3708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 CHMOD
=$ac_cv_prog_CHMOD
3717 if test -n "$CHMOD"; then
3718 echo "$as_me:$LINENO: result: $CHMOD" >&5
3719 echo "${ECHO_T}$CHMOD" >&6
3721 echo "$as_me:$LINENO: result: no" >&5
3722 echo "${ECHO_T}no" >&6
3727 if test "$CHMOD" = ""; then
3728 { { echo "$as_me:$LINENO: error: chmod is required to build AROS. Please install and run configure again." >&5
3729 echo "$as_me: error: chmod is required to build AROS. Please install and run configure again." >&2;}
3730 { (exit 1); exit 1; }; }
3737 if test -n "$PYTHON"; then
3738 # If the user set $PYTHON, use it and don't search something else.
3739 echo "$as_me:$LINENO: checking whether $PYTHON version >= 2.2.1" >&5
3740 echo $ECHO_N "checking whether $PYTHON version >= 2.2.1... $ECHO_C" >&6
3741 prog
="import sys, string
3742 # split strings by '.' and convert to numeric. Append some zeros
3743 # because we need at least 4 digits for the hex conversion.
3744 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
3746 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3747 sys.exit(sys.hexversion < minverhex)"
3748 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
3749 ($PYTHON -c "$prog") >&5 2>&5
3751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3752 (exit $ac_status); }; then
3753 echo "$as_me:$LINENO: result: yes" >&5
3754 echo "${ECHO_T}yes" >&6
3756 { { echo "$as_me:$LINENO: error: too old" >&5
3757 echo "$as_me: error: too old" >&2;}
3758 { (exit 1); exit 1; }; }
3762 # Otherwise, try each interpreter until we find one that satisfies
3764 echo "$as_me:$LINENO: checking for a Python interpreter with version >= 2.2.1" >&5
3765 echo $ECHO_N "checking for a Python interpreter with version >= 2.2.1... $ECHO_C" >&6
3766 if test "${am_cv_pathless_PYTHON+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3770 for am_cv_pathless_PYTHON
in python python2 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none
; do
3771 test "$am_cv_pathless_PYTHON" = none
&& break
3772 prog
="import sys, string
3773 # split strings by '.' and convert to numeric. Append some zeros
3774 # because we need at least 4 digits for the hex conversion.
3775 minver = map(int, string.split('2.2.1', '.')) + [0, 0, 0]
3777 for i in xrange(0, 4): minverhex = (minverhex << 8) + minver[i]
3778 sys.exit(sys.hexversion < minverhex)"
3779 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
3780 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
3782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3783 (exit $ac_status); }; then
3789 echo "$as_me:$LINENO: result: $am_cv_pathless_PYTHON" >&5
3790 echo "${ECHO_T}$am_cv_pathless_PYTHON" >&6
3791 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
3792 if test "$am_cv_pathless_PYTHON" = none
; then
3795 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
3796 set dummy
$am_cv_pathless_PYTHON; ac_word
=$2
3797 echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3799 if test "${ac_cv_path_PYTHON+set}" = set; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3804 ac_cv_path_PYTHON
="$PYTHON" # Let the user override the test with a path.
3807 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3811 test -z "$as_dir" && as_dir
=.
3812 for ac_exec_ext
in '' $ac_executable_extensions; do
3813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3814 ac_cv_path_PYTHON
="$as_dir/$ac_word$ac_exec_ext"
3815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 PYTHON
=$ac_cv_path_PYTHON
3826 if test -n "$PYTHON"; then
3827 echo "$as_me:$LINENO: result: $PYTHON" >&5
3828 echo "${ECHO_T}$PYTHON" >&6
3830 echo "$as_me:$LINENO: result: no" >&5
3831 echo "${ECHO_T}no" >&6
3835 am_display_PYTHON
=$am_cv_pathless_PYTHON
3839 if test "$PYTHON" = :; then
3840 { { echo "$as_me:$LINENO: error: no suitable Python interpreter found" >&5
3841 echo "$as_me: error: no suitable Python interpreter found" >&2;}
3842 { (exit 1); exit 1; }; }
3846 echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&5
3847 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6
3848 if test "${am_cv_python_version+set}" = set; then
3849 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 am_cv_python_version
=`$PYTHON -c "import sys; print sys.version[:3]"`
3853 echo "$as_me:$LINENO: result: $am_cv_python_version" >&5
3854 echo "${ECHO_T}$am_cv_python_version" >&6
3855 PYTHON_VERSION
=$am_cv_python_version
3859 PYTHON_PREFIX
='${prefix}'
3861 PYTHON_EXEC_PREFIX
='${exec_prefix}'
3865 echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&5
3866 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6
3867 if test "${am_cv_python_platform+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3870 am_cv_python_platform
=`$PYTHON -c "import sys; print sys.platform"`
3872 echo "$as_me:$LINENO: result: $am_cv_python_platform" >&5
3873 echo "${ECHO_T}$am_cv_python_platform" >&6
3874 PYTHON_PLATFORM
=$am_cv_python_platform
3879 echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&5
3880 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6
3881 if test "${am_cv_python_pythondir+set}" = set; then
3882 echo $ECHO_N "(cached) $ECHO_C" >&6
3884 am_cv_python_pythondir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
3885 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
3887 echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&5
3888 echo "${ECHO_T}$am_cv_python_pythondir" >&6
3889 pythondir
=$am_cv_python_pythondir
3893 pkgpythondir
=\
${pythondir}/$PACKAGE
3896 echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&5
3897 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6
3898 if test "${am_cv_python_pyexecdir+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 am_cv_python_pyexecdir
=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
3902 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
3904 echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&5
3905 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6
3906 pyexecdir
=$am_cv_python_pyexecdir
3910 pkgpyexecdir
=\
${pyexecdir}/$PACKAGE
3926 # Check for some includes for the X11 HIDD and the kernel
3929 echo "$as_me:$LINENO: checking for egrep" >&5
3930 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3931 if test "${ac_cv_prog_egrep+set}" = set; then
3932 echo $ECHO_N "(cached) $ECHO_C" >&6
3934 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3935 then ac_cv_prog_egrep
='grep -E'
3936 else ac_cv_prog_egrep
='egrep'
3939 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3940 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3941 EGREP
=$ac_cv_prog_egrep
3944 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3945 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3946 if test "${ac_cv_header_stdc+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3949 cat >conftest.
$ac_ext <<_ACEOF
3952 cat confdefs.h
>>conftest.
$ac_ext
3953 cat >>conftest.
$ac_ext <<_ACEOF
3954 /* end confdefs.h. */
3968 rm -f conftest.
$ac_objext
3969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3970 (eval $ac_compile) 2>conftest.er1
3972 grep -v '^ *+' conftest.er1
>conftest.err
3974 cat conftest.err
>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } &&
3977 { ac_try
='test -z "$ac_c_werror_flag"
3978 || test ! -s conftest.err'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; } &&
3984 { ac_try
='test -s conftest.$ac_objext'
3985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); }; }; then
3990 ac_cv_header_stdc
=yes
3992 echo "$as_me: failed program was:" >&5
3993 sed 's/^/| /' conftest.
$ac_ext >&5
3995 ac_cv_header_stdc
=no
3997 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3999 if test $ac_cv_header_stdc = yes; then
4000 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4001 cat >conftest.
$ac_ext <<_ACEOF
4004 cat confdefs.h
>>conftest.
$ac_ext
4005 cat >>conftest.
$ac_ext <<_ACEOF
4006 /* end confdefs.h. */
4010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4011 $EGREP "memchr" >/dev
/null
2>&1; then
4014 ac_cv_header_stdc
=no
4020 if test $ac_cv_header_stdc = yes; then
4021 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4022 cat >conftest.
$ac_ext <<_ACEOF
4025 cat confdefs.h
>>conftest.
$ac_ext
4026 cat >>conftest.
$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4032 $EGREP "free" >/dev
/null
2>&1; then
4035 ac_cv_header_stdc
=no
4041 if test $ac_cv_header_stdc = yes; then
4042 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4043 if test "$cross_compiling" = yes; then
4046 cat >conftest.
$ac_ext <<_ACEOF
4049 cat confdefs.h
>>conftest.
$ac_ext
4050 cat >>conftest.
$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4053 #if ((' ' & 0x0FF) == 0x020)
4054 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4055 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4057 # define ISLOWER(c) \
4058 (('a' <= (c) && (c) <= 'i') \
4059 || ('j' <= (c) && (c) <= 'r') \
4060 || ('s' <= (c) && (c) <= 'z'))
4061 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4064 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4069 for (i = 0; i < 256; i++)
4070 if (XOR (islower (i), ISLOWER (i))
4071 || toupper (i) != TOUPPER (i))
4076 rm -f conftest
$ac_exeext
4077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4078 (eval $ac_link) 2>&5
4080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4081 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; }; then
4089 echo "$as_me: program exited with status $ac_status" >&5
4090 echo "$as_me: failed program was:" >&5
4091 sed 's/^/| /' conftest.
$ac_ext >&5
4094 ac_cv_header_stdc
=no
4096 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4100 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4101 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4102 if test $ac_cv_header_stdc = yes; then
4104 cat >>confdefs.h
<<\_ACEOF
4105 #define STDC_HEADERS 1
4110 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4120 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4121 inttypes.h stdint.h unistd.h
4123 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4124 echo "$as_me:$LINENO: checking for $ac_header" >&5
4125 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4127 echo $ECHO_N "(cached) $ECHO_C" >&6
4129 cat >conftest.
$ac_ext <<_ACEOF
4132 cat confdefs.h
>>conftest.
$ac_ext
4133 cat >>conftest.
$ac_ext <<_ACEOF
4134 /* end confdefs.h. */
4135 $ac_includes_default
4137 #include <$ac_header>
4139 rm -f conftest.
$ac_objext
4140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4141 (eval $ac_compile) 2>conftest.er1
4143 grep -v '^ *+' conftest.er1
>conftest.err
4145 cat conftest.err
>&5
4146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4147 (exit $ac_status); } &&
4148 { ac_try
='test -z "$ac_c_werror_flag"
4149 || test ! -s conftest.err'
4150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); }; } &&
4155 { ac_try
='test -s conftest.$ac_objext'
4156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; }; then
4161 eval "$as_ac_Header=yes"
4163 echo "$as_me: failed program was:" >&5
4164 sed 's/^/| /' conftest.
$ac_ext >&5
4166 eval "$as_ac_Header=no"
4168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4172 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4173 cat >>confdefs.h
<<_ACEOF
4174 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4191 for ac_header
in sys
/ipc.h sys
/shm.h \
4192 sys
/mmap.h sys
/mman.h sysexits.h \
4193 sys
/statfs.h sys
/statvfs.h sys
/vfs.h sys
/param.h \
4196 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4198 echo "$as_me:$LINENO: checking for $ac_header" >&5
4199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4201 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4206 # Is the header compilable?
4207 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4209 cat >conftest.
$ac_ext <<_ACEOF
4212 cat confdefs.h
>>conftest.
$ac_ext
4213 cat >>conftest.
$ac_ext <<_ACEOF
4214 /* end confdefs.h. */
4215 $ac_includes_default
4216 #include <$ac_header>
4218 rm -f conftest.
$ac_objext
4219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4220 (eval $ac_compile) 2>conftest.er1
4222 grep -v '^ *+' conftest.er1
>conftest.err
4224 cat conftest.err
>&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } &&
4227 { ac_try
='test -z "$ac_c_werror_flag"
4228 || test ! -s conftest.err'
4229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); }; } &&
4234 { ac_try
='test -s conftest.$ac_objext'
4235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); }; }; then
4240 ac_header_compiler
=yes
4242 echo "$as_me: failed program was:" >&5
4243 sed 's/^/| /' conftest.
$ac_ext >&5
4245 ac_header_compiler
=no
4247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4249 echo "${ECHO_T}$ac_header_compiler" >&6
4251 # Is the header present?
4252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4254 cat >conftest.
$ac_ext <<_ACEOF
4257 cat confdefs.h
>>conftest.
$ac_ext
4258 cat >>conftest.
$ac_ext <<_ACEOF
4259 /* end confdefs.h. */
4260 #include <$ac_header>
4262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4265 grep -v '^ *+' conftest.er1
>conftest.err
4267 cat conftest.err
>&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); } >/dev
/null
; then
4270 if test -s conftest.err
; then
4271 ac_cpp_err
=$ac_c_preproc_warn_flag
4272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4279 if test -z "$ac_cpp_err"; then
4280 ac_header_preproc
=yes
4282 echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.
$ac_ext >&5
4285 ac_header_preproc
=no
4287 rm -f conftest.err conftest.
$ac_ext
4288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4289 echo "${ECHO_T}$ac_header_preproc" >&6
4291 # So? What about this header?
4292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4298 ac_header_preproc
=yes
4301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4315 ## ------------------------------------------ ##
4316 ## Report this to the AC_PACKAGE_NAME lists. ##
4317 ## ------------------------------------------ ##
4320 sed "s/^/$as_me: WARNING: /" >&2
4323 echo "$as_me:$LINENO: checking for $ac_header" >&5
4324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4326 echo $ECHO_N "(cached) $ECHO_C" >&6
4328 eval "$as_ac_Header=\$ac_header_preproc"
4330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4335 cat >>confdefs.h
<<_ACEOF
4336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4345 for ac_header
in sys
/mount.h
4347 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4348 echo "$as_me:$LINENO: checking for $ac_header" >&5
4349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4353 cat >conftest.
$ac_ext <<_ACEOF
4356 cat confdefs.h
>>conftest.
$ac_ext
4357 cat >>conftest.
$ac_ext <<_ACEOF
4358 /* end confdefs.h. */
4359 #include <sys/param.h>
4361 #include <$ac_header>
4363 rm -f conftest.
$ac_objext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4365 (eval $ac_compile) 2>conftest.er1
4367 grep -v '^ *+' conftest.er1
>conftest.err
4369 cat conftest.err
>&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try
='test -z "$ac_c_werror_flag"
4373 || test ! -s conftest.err'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; } &&
4379 { ac_try
='test -s conftest.$ac_objext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 eval "$as_ac_Header=yes"
4387 echo "$as_me: failed program was:" >&5
4388 sed 's/^/| /' conftest.
$ac_ext >&5
4390 eval "$as_ac_Header=no"
4392 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4397 cat >>confdefs.h
<<_ACEOF
4398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4412 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
4413 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4414 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4415 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
4416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 cat >conftest.
$ac_ext <<_ACEOF
4422 cat confdefs.h
>>conftest.
$ac_ext
4423 cat >>conftest.
$ac_ext <<_ACEOF
4424 /* end confdefs.h. */
4425 #include <sys/types.h>
4437 rm -f conftest.
$ac_objext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>conftest.er1
4441 grep -v '^ *+' conftest.er1
>conftest.err
4443 cat conftest.err
>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } &&
4446 { ac_try
='test -z "$ac_c_werror_flag"
4447 || test ! -s conftest.err'
4448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4452 (exit $ac_status); }; } &&
4453 { ac_try
='test -s conftest.$ac_objext'
4454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4458 (exit $ac_status); }; }; then
4459 eval "$as_ac_Header=yes"
4461 echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.
$ac_ext >&5
4464 eval "$as_ac_Header=no"
4466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4468 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4469 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4470 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4471 cat >>confdefs.h
<<_ACEOF
4472 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4475 ac_header_dirent
=$ac_hdr; break
4479 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4480 if test $ac_header_dirent = dirent.h
; then
4481 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4482 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4483 if test "${ac_cv_search_opendir+set}" = set; then
4484 echo $ECHO_N "(cached) $ECHO_C" >&6
4486 ac_func_search_save_LIBS
=$LIBS
4487 ac_cv_search_opendir
=no
4488 cat >conftest.
$ac_ext <<_ACEOF
4491 cat confdefs.h
>>conftest.
$ac_ext
4492 cat >>conftest.
$ac_ext <<_ACEOF
4493 /* end confdefs.h. */
4495 /* Override any gcc2 internal prototype to avoid an error. */
4499 /* We use char because int might match the return type of a gcc2
4500 builtin and then its argument prototype would still apply. */
4510 rm -f conftest.
$ac_objext conftest
$ac_exeext
4511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4512 (eval $ac_link) 2>conftest.er1
4514 grep -v '^ *+' conftest.er1
>conftest.err
4516 cat conftest.err
>&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); } &&
4519 { ac_try
='test -z "$ac_c_werror_flag"
4520 || test ! -s conftest.err'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; } &&
4526 { ac_try
='test -s conftest$ac_exeext'
4527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); }; }; then
4532 ac_cv_search_opendir
="none required"
4534 echo "$as_me: failed program was:" >&5
4535 sed 's/^/| /' conftest.
$ac_ext >&5
4538 rm -f conftest.err conftest.
$ac_objext \
4539 conftest
$ac_exeext conftest.
$ac_ext
4540 if test "$ac_cv_search_opendir" = no
; then
4541 for ac_lib
in dir
; do
4542 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4543 cat >conftest.
$ac_ext <<_ACEOF
4546 cat confdefs.h
>>conftest.
$ac_ext
4547 cat >>conftest.
$ac_ext <<_ACEOF
4548 /* end confdefs.h. */
4550 /* Override any gcc2 internal prototype to avoid an error. */
4554 /* We use char because int might match the return type of a gcc2
4555 builtin and then its argument prototype would still apply. */
4565 rm -f conftest.
$ac_objext conftest
$ac_exeext
4566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4567 (eval $ac_link) 2>conftest.er1
4569 grep -v '^ *+' conftest.er1
>conftest.err
4571 cat conftest.err
>&5
4572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4573 (exit $ac_status); } &&
4574 { ac_try
='test -z "$ac_c_werror_flag"
4575 || test ! -s conftest.err'
4576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); }; } &&
4581 { ac_try
='test -s conftest$ac_exeext'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4587 ac_cv_search_opendir
="-l$ac_lib"
4590 echo "$as_me: failed program was:" >&5
4591 sed 's/^/| /' conftest.
$ac_ext >&5
4594 rm -f conftest.err conftest.
$ac_objext \
4595 conftest
$ac_exeext conftest.
$ac_ext
4598 LIBS
=$ac_func_search_save_LIBS
4600 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4601 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4602 if test "$ac_cv_search_opendir" != no
; then
4603 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4608 echo "$as_me:$LINENO: checking for library containing opendir" >&5
4609 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
4610 if test "${ac_cv_search_opendir+set}" = set; then
4611 echo $ECHO_N "(cached) $ECHO_C" >&6
4613 ac_func_search_save_LIBS
=$LIBS
4614 ac_cv_search_opendir
=no
4615 cat >conftest.
$ac_ext <<_ACEOF
4618 cat confdefs.h
>>conftest.
$ac_ext
4619 cat >>conftest.
$ac_ext <<_ACEOF
4620 /* end confdefs.h. */
4622 /* Override any gcc2 internal prototype to avoid an error. */
4626 /* We use char because int might match the return type of a gcc2
4627 builtin and then its argument prototype would still apply. */
4637 rm -f conftest.
$ac_objext conftest
$ac_exeext
4638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4639 (eval $ac_link) 2>conftest.er1
4641 grep -v '^ *+' conftest.er1
>conftest.err
4643 cat conftest.err
>&5
4644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4645 (exit $ac_status); } &&
4646 { ac_try
='test -z "$ac_c_werror_flag"
4647 || test ! -s conftest.err'
4648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4652 (exit $ac_status); }; } &&
4653 { ac_try
='test -s conftest$ac_exeext'
4654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4658 (exit $ac_status); }; }; then
4659 ac_cv_search_opendir
="none required"
4661 echo "$as_me: failed program was:" >&5
4662 sed 's/^/| /' conftest.
$ac_ext >&5
4665 rm -f conftest.err conftest.
$ac_objext \
4666 conftest
$ac_exeext conftest.
$ac_ext
4667 if test "$ac_cv_search_opendir" = no
; then
4669 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4670 cat >conftest.
$ac_ext <<_ACEOF
4673 cat confdefs.h
>>conftest.
$ac_ext
4674 cat >>conftest.
$ac_ext <<_ACEOF
4675 /* end confdefs.h. */
4677 /* Override any gcc2 internal prototype to avoid an error. */
4681 /* We use char because int might match the return type of a gcc2
4682 builtin and then its argument prototype would still apply. */
4692 rm -f conftest.
$ac_objext conftest
$ac_exeext
4693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4694 (eval $ac_link) 2>conftest.er1
4696 grep -v '^ *+' conftest.er1
>conftest.err
4698 cat conftest.err
>&5
4699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4700 (exit $ac_status); } &&
4701 { ac_try
='test -z "$ac_c_werror_flag"
4702 || test ! -s conftest.err'
4703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }; } &&
4708 { ac_try
='test -s conftest$ac_exeext'
4709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4713 (exit $ac_status); }; }; then
4714 ac_cv_search_opendir
="-l$ac_lib"
4717 echo "$as_me: failed program was:" >&5
4718 sed 's/^/| /' conftest.
$ac_ext >&5
4721 rm -f conftest.err conftest.
$ac_objext \
4722 conftest
$ac_exeext conftest.
$ac_ext
4725 LIBS
=$ac_func_search_save_LIBS
4727 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4728 echo "${ECHO_T}$ac_cv_search_opendir" >&6
4729 if test "$ac_cv_search_opendir" != no
; then
4730 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
4736 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4737 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4738 if test "${ac_cv_header_stat_broken+set}" = set; then
4739 echo $ECHO_N "(cached) $ECHO_C" >&6
4741 cat >conftest.
$ac_ext <<_ACEOF
4744 cat confdefs.h
>>conftest.
$ac_ext
4745 cat >>conftest.
$ac_ext <<_ACEOF
4746 /* end confdefs.h. */
4747 #include <sys/types.h>
4748 #include <sys/stat.h>
4750 #if defined(S_ISBLK) && defined(S_IFDIR)
4751 # if S_ISBLK (S_IFDIR)
4756 #if defined(S_ISBLK) && defined(S_IFCHR)
4757 # if S_ISBLK (S_IFCHR)
4762 #if defined(S_ISLNK) && defined(S_IFREG)
4763 # if S_ISLNK (S_IFREG)
4768 #if defined(S_ISSOCK) && defined(S_IFREG)
4769 # if S_ISSOCK (S_IFREG)
4775 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4776 $EGREP "You lose" >/dev
/null
2>&1; then
4777 ac_cv_header_stat_broken
=yes
4779 ac_cv_header_stat_broken
=no
4784 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4785 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4786 if test $ac_cv_header_stat_broken = yes; then
4788 cat >>confdefs.h
<<\_ACEOF
4789 #define STAT_MACROS_BROKEN 1
4794 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4795 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4796 if test "${ac_cv_header_stdc+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 cat >conftest.
$ac_ext <<_ACEOF
4802 cat confdefs.h
>>conftest.
$ac_ext
4803 cat >>conftest.
$ac_ext <<_ACEOF
4804 /* end confdefs.h. */
4818 rm -f conftest.
$ac_objext
4819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4820 (eval $ac_compile) 2>conftest.er1
4822 grep -v '^ *+' conftest.er1
>conftest.err
4824 cat conftest.err
>&5
4825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4826 (exit $ac_status); } &&
4827 { ac_try
='test -z "$ac_c_werror_flag"
4828 || test ! -s conftest.err'
4829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); }; } &&
4834 { ac_try
='test -s conftest.$ac_objext'
4835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); }; }; then
4840 ac_cv_header_stdc
=yes
4842 echo "$as_me: failed program was:" >&5
4843 sed 's/^/| /' conftest.
$ac_ext >&5
4845 ac_cv_header_stdc
=no
4847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4849 if test $ac_cv_header_stdc = yes; then
4850 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4851 cat >conftest.
$ac_ext <<_ACEOF
4854 cat confdefs.h
>>conftest.
$ac_ext
4855 cat >>conftest.
$ac_ext <<_ACEOF
4856 /* end confdefs.h. */
4860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4861 $EGREP "memchr" >/dev
/null
2>&1; then
4864 ac_cv_header_stdc
=no
4870 if test $ac_cv_header_stdc = yes; then
4871 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4872 cat >conftest.
$ac_ext <<_ACEOF
4875 cat confdefs.h
>>conftest.
$ac_ext
4876 cat >>conftest.
$ac_ext <<_ACEOF
4877 /* end confdefs.h. */
4881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4882 $EGREP "free" >/dev
/null
2>&1; then
4885 ac_cv_header_stdc
=no
4891 if test $ac_cv_header_stdc = yes; then
4892 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4893 if test "$cross_compiling" = yes; then
4896 cat >conftest.
$ac_ext <<_ACEOF
4899 cat confdefs.h
>>conftest.
$ac_ext
4900 cat >>conftest.
$ac_ext <<_ACEOF
4901 /* end confdefs.h. */
4903 #if ((' ' & 0x0FF) == 0x020)
4904 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4905 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4907 # define ISLOWER(c) \
4908 (('a' <= (c) && (c) <= 'i') \
4909 || ('j' <= (c) && (c) <= 'r') \
4910 || ('s' <= (c) && (c) <= 'z'))
4911 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4914 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4919 for (i = 0; i < 256; i++)
4920 if (XOR (islower (i), ISLOWER (i))
4921 || toupper (i) != TOUPPER (i))
4926 rm -f conftest
$ac_exeext
4927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4928 (eval $ac_link) 2>&5
4930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4931 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; }; then
4939 echo "$as_me: program exited with status $ac_status" >&5
4940 echo "$as_me: failed program was:" >&5
4941 sed 's/^/| /' conftest.
$ac_ext >&5
4944 ac_cv_header_stdc
=no
4946 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4950 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4951 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4952 if test $ac_cv_header_stdc = yes; then
4954 cat >>confdefs.h
<<\_ACEOF
4955 #define STDC_HEADERS 1
4960 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
4961 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
4962 if test "${ac_cv_header_sys_wait_h+set}" = set; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 cat >conftest.
$ac_ext <<_ACEOF
4968 cat confdefs.h
>>conftest.
$ac_ext
4969 cat >>conftest.
$ac_ext <<_ACEOF
4970 /* end confdefs.h. */
4971 #include <sys/types.h>
4972 #include <sys/wait.h>
4974 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
4977 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
4985 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
4990 rm -f conftest.
$ac_objext
4991 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4992 (eval $ac_compile) 2>conftest.er1
4994 grep -v '^ *+' conftest.er1
>conftest.err
4996 cat conftest.err
>&5
4997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998 (exit $ac_status); } &&
4999 { ac_try
='test -z "$ac_c_werror_flag"
5000 || test ! -s conftest.err'
5001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5005 (exit $ac_status); }; } &&
5006 { ac_try
='test -s conftest.$ac_objext'
5007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5011 (exit $ac_status); }; }; then
5012 ac_cv_header_sys_wait_h
=yes
5014 echo "$as_me: failed program was:" >&5
5015 sed 's/^/| /' conftest.
$ac_ext >&5
5017 ac_cv_header_sys_wait_h
=no
5019 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5021 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
5022 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
5023 if test $ac_cv_header_sys_wait_h = yes; then
5025 cat >>confdefs.h
<<\_ACEOF
5026 #define HAVE_SYS_WAIT_H 1
5031 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
5032 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
5033 if test "${ac_cv_header_time+set}" = set; then
5034 echo $ECHO_N "(cached) $ECHO_C" >&6
5036 cat >conftest.
$ac_ext <<_ACEOF
5039 cat confdefs.h
>>conftest.
$ac_ext
5040 cat >>conftest.
$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 #include <sys/types.h>
5043 #include <sys/time.h>
5049 if ((struct tm *) 0)
5055 rm -f conftest.
$ac_objext
5056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5057 (eval $ac_compile) 2>conftest.er1
5059 grep -v '^ *+' conftest.er1
>conftest.err
5061 cat conftest.err
>&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } &&
5064 { ac_try
='test -z "$ac_c_werror_flag"
5065 || test ! -s conftest.err'
5066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; } &&
5071 { ac_try
='test -s conftest.$ac_objext'
5072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5076 (exit $ac_status); }; }; then
5077 ac_cv_header_time
=yes
5079 echo "$as_me: failed program was:" >&5
5080 sed 's/^/| /' conftest.
$ac_ext >&5
5082 ac_cv_header_time
=no
5084 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5086 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
5087 echo "${ECHO_T}$ac_cv_header_time" >&6
5088 if test $ac_cv_header_time = yes; then
5090 cat >>confdefs.h
<<\_ACEOF
5091 #define TIME_WITH_SYS_TIME 1
5097 echo "$as_me:$LINENO: checking for struct stat.st_blksize" >&5
5098 echo $ECHO_N "checking for struct stat.st_blksize... $ECHO_C" >&6
5099 if test "${ac_cv_member_struct_stat_st_blksize+set}" = set; then
5100 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 cat >conftest.
$ac_ext <<_ACEOF
5105 cat confdefs.h
>>conftest.
$ac_ext
5106 cat >>conftest.
$ac_ext <<_ACEOF
5107 /* end confdefs.h. */
5108 $ac_includes_default
5112 static struct stat ac_aggr;
5113 if (ac_aggr.st_blksize)
5119 rm -f conftest.
$ac_objext
5120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5121 (eval $ac_compile) 2>conftest.er1
5123 grep -v '^ *+' conftest.er1
>conftest.err
5125 cat conftest.err
>&5
5126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5127 (exit $ac_status); } &&
5128 { ac_try
='test -z "$ac_c_werror_flag"
5129 || test ! -s conftest.err'
5130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134 (exit $ac_status); }; } &&
5135 { ac_try
='test -s conftest.$ac_objext'
5136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5140 (exit $ac_status); }; }; then
5141 ac_cv_member_struct_stat_st_blksize
=yes
5143 echo "$as_me: failed program was:" >&5
5144 sed 's/^/| /' conftest.
$ac_ext >&5
5146 cat >conftest.
$ac_ext <<_ACEOF
5149 cat confdefs.h
>>conftest.
$ac_ext
5150 cat >>conftest.
$ac_ext <<_ACEOF
5151 /* end confdefs.h. */
5152 $ac_includes_default
5156 static struct stat ac_aggr;
5157 if (sizeof ac_aggr.st_blksize)
5163 rm -f conftest.
$ac_objext
5164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5165 (eval $ac_compile) 2>conftest.er1
5167 grep -v '^ *+' conftest.er1
>conftest.err
5169 cat conftest.err
>&5
5170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5171 (exit $ac_status); } &&
5172 { ac_try
='test -z "$ac_c_werror_flag"
5173 || test ! -s conftest.err'
5174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); }; } &&
5179 { ac_try
='test -s conftest.$ac_objext'
5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); }; }; then
5185 ac_cv_member_struct_stat_st_blksize
=yes
5187 echo "$as_me: failed program was:" >&5
5188 sed 's/^/| /' conftest.
$ac_ext >&5
5190 ac_cv_member_struct_stat_st_blksize
=no
5192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5194 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5196 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blksize" >&5
5197 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blksize" >&6
5198 if test $ac_cv_member_struct_stat_st_blksize = yes; then
5200 cat >>confdefs.h
<<_ACEOF
5201 #define HAVE_STRUCT_STAT_ST_BLKSIZE 1
5205 cat >>confdefs.h
<<\_ACEOF
5206 #define HAVE_ST_BLKSIZE 1
5212 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
5213 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
5214 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 cat >conftest.
$ac_ext <<_ACEOF
5220 cat confdefs.h
>>conftest.
$ac_ext
5221 cat >>conftest.
$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 $ac_includes_default
5227 static struct stat ac_aggr;
5228 if (ac_aggr.st_blocks)
5234 rm -f conftest.
$ac_objext
5235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5236 (eval $ac_compile) 2>conftest.er1
5238 grep -v '^ *+' conftest.er1
>conftest.err
5240 cat conftest.err
>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); } &&
5243 { ac_try
='test -z "$ac_c_werror_flag"
5244 || test ! -s conftest.err'
5245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); }; } &&
5250 { ac_try
='test -s conftest.$ac_objext'
5251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }; }; then
5256 ac_cv_member_struct_stat_st_blocks
=yes
5258 echo "$as_me: failed program was:" >&5
5259 sed 's/^/| /' conftest.
$ac_ext >&5
5261 cat >conftest.
$ac_ext <<_ACEOF
5264 cat confdefs.h
>>conftest.
$ac_ext
5265 cat >>conftest.
$ac_ext <<_ACEOF
5266 /* end confdefs.h. */
5267 $ac_includes_default
5271 static struct stat ac_aggr;
5272 if (sizeof ac_aggr.st_blocks)
5278 rm -f conftest.
$ac_objext
5279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5280 (eval $ac_compile) 2>conftest.er1
5282 grep -v '^ *+' conftest.er1
>conftest.err
5284 cat conftest.err
>&5
5285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5286 (exit $ac_status); } &&
5287 { ac_try
='test -z "$ac_c_werror_flag"
5288 || test ! -s conftest.err'
5289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5293 (exit $ac_status); }; } &&
5294 { ac_try
='test -s conftest.$ac_objext'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; }; then
5300 ac_cv_member_struct_stat_st_blocks
=yes
5302 echo "$as_me: failed program was:" >&5
5303 sed 's/^/| /' conftest.
$ac_ext >&5
5305 ac_cv_member_struct_stat_st_blocks
=no
5307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5309 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5311 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
5312 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
5313 if test $ac_cv_member_struct_stat_st_blocks = yes; then
5315 cat >>confdefs.h
<<_ACEOF
5316 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
5320 cat >>confdefs.h
<<\_ACEOF
5321 #define HAVE_ST_BLOCKS 1
5326 "fileblocks.$ac_objext" | \
5327 *" fileblocks.$ac_objext" | \
5328 "fileblocks.$ac_objext "* | \
5329 *" fileblocks.$ac_objext "* ) ;;
5330 *) LIBOBJS
="$LIBOBJS fileblocks.$ac_objext" ;;
5337 echo "$as_me:$LINENO: checking for struct stat.st_rdev" >&5
5338 echo $ECHO_N "checking for struct stat.st_rdev... $ECHO_C" >&6
5339 if test "${ac_cv_member_struct_stat_st_rdev+set}" = set; then
5340 echo $ECHO_N "(cached) $ECHO_C" >&6
5342 cat >conftest.
$ac_ext <<_ACEOF
5345 cat confdefs.h
>>conftest.
$ac_ext
5346 cat >>conftest.
$ac_ext <<_ACEOF
5347 /* end confdefs.h. */
5348 $ac_includes_default
5352 static struct stat ac_aggr;
5353 if (ac_aggr.st_rdev)
5359 rm -f conftest.
$ac_objext
5360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5361 (eval $ac_compile) 2>conftest.er1
5363 grep -v '^ *+' conftest.er1
>conftest.err
5365 cat conftest.err
>&5
5366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5367 (exit $ac_status); } &&
5368 { ac_try
='test -z "$ac_c_werror_flag"
5369 || test ! -s conftest.err'
5370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5374 (exit $ac_status); }; } &&
5375 { ac_try
='test -s conftest.$ac_objext'
5376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); }; }; then
5381 ac_cv_member_struct_stat_st_rdev
=yes
5383 echo "$as_me: failed program was:" >&5
5384 sed 's/^/| /' conftest.
$ac_ext >&5
5386 cat >conftest.
$ac_ext <<_ACEOF
5389 cat confdefs.h
>>conftest.
$ac_ext
5390 cat >>conftest.
$ac_ext <<_ACEOF
5391 /* end confdefs.h. */
5392 $ac_includes_default
5396 static struct stat ac_aggr;
5397 if (sizeof ac_aggr.st_rdev)
5403 rm -f conftest.
$ac_objext
5404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5405 (eval $ac_compile) 2>conftest.er1
5407 grep -v '^ *+' conftest.er1
>conftest.err
5409 cat conftest.err
>&5
5410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5411 (exit $ac_status); } &&
5412 { ac_try
='test -z "$ac_c_werror_flag"
5413 || test ! -s conftest.err'
5414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); }; } &&
5419 { ac_try
='test -s conftest.$ac_objext'
5420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5424 (exit $ac_status); }; }; then
5425 ac_cv_member_struct_stat_st_rdev
=yes
5427 echo "$as_me: failed program was:" >&5
5428 sed 's/^/| /' conftest.
$ac_ext >&5
5430 ac_cv_member_struct_stat_st_rdev
=no
5432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5436 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_rdev" >&5
5437 echo "${ECHO_T}$ac_cv_member_struct_stat_st_rdev" >&6
5438 if test $ac_cv_member_struct_stat_st_rdev = yes; then
5440 cat >>confdefs.h
<<_ACEOF
5441 #define HAVE_STRUCT_STAT_ST_RDEV 1
5445 cat >>confdefs.h
<<\_ACEOF
5446 #define HAVE_ST_RDEV 1
5452 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
5453 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
5454 if test "${ac_cv_struct_tm+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5457 cat >conftest.
$ac_ext <<_ACEOF
5460 cat confdefs.h
>>conftest.
$ac_ext
5461 cat >>conftest.
$ac_ext <<_ACEOF
5462 /* end confdefs.h. */
5463 #include <sys/types.h>
5469 struct tm *tp; tp->tm_sec;
5474 rm -f conftest.
$ac_objext
5475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5476 (eval $ac_compile) 2>conftest.er1
5478 grep -v '^ *+' conftest.er1
>conftest.err
5480 cat conftest.err
>&5
5481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5482 (exit $ac_status); } &&
5483 { ac_try
='test -z "$ac_c_werror_flag"
5484 || test ! -s conftest.err'
5485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; } &&
5490 { ac_try
='test -s conftest.$ac_objext'
5491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495 (exit $ac_status); }; }; then
5496 ac_cv_struct_tm
=time.h
5498 echo "$as_me: failed program was:" >&5
5499 sed 's/^/| /' conftest.
$ac_ext >&5
5501 ac_cv_struct_tm
=sys
/time.h
5503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5505 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5506 echo "${ECHO_T}$ac_cv_struct_tm" >&6
5507 if test $ac_cv_struct_tm = sys
/time.h
; then
5509 cat >>confdefs.h
<<\_ACEOF
5510 #define TM_IN_SYS_TIME 1
5515 echo "$as_me:$LINENO: checking for struct tm.tm_zone" >&5
5516 echo $ECHO_N "checking for struct tm.tm_zone... $ECHO_C" >&6
5517 if test "${ac_cv_member_struct_tm_tm_zone+set}" = set; then
5518 echo $ECHO_N "(cached) $ECHO_C" >&6
5520 cat >conftest.
$ac_ext <<_ACEOF
5523 cat confdefs.h
>>conftest.
$ac_ext
5524 cat >>conftest.
$ac_ext <<_ACEOF
5525 /* end confdefs.h. */
5526 #include <sys/types.h>
5527 #include <$ac_cv_struct_tm>
5533 static struct tm ac_aggr;
5534 if (ac_aggr.tm_zone)
5540 rm -f conftest.
$ac_objext
5541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5542 (eval $ac_compile) 2>conftest.er1
5544 grep -v '^ *+' conftest.er1
>conftest.err
5546 cat conftest.err
>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); } &&
5549 { ac_try
='test -z "$ac_c_werror_flag"
5550 || test ! -s conftest.err'
5551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); }; } &&
5556 { ac_try
='test -s conftest.$ac_objext'
5557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5561 (exit $ac_status); }; }; then
5562 ac_cv_member_struct_tm_tm_zone
=yes
5564 echo "$as_me: failed program was:" >&5
5565 sed 's/^/| /' conftest.
$ac_ext >&5
5567 cat >conftest.
$ac_ext <<_ACEOF
5570 cat confdefs.h
>>conftest.
$ac_ext
5571 cat >>conftest.
$ac_ext <<_ACEOF
5572 /* end confdefs.h. */
5573 #include <sys/types.h>
5574 #include <$ac_cv_struct_tm>
5580 static struct tm ac_aggr;
5581 if (sizeof ac_aggr.tm_zone)
5587 rm -f conftest.
$ac_objext
5588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5589 (eval $ac_compile) 2>conftest.er1
5591 grep -v '^ *+' conftest.er1
>conftest.err
5593 cat conftest.err
>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } &&
5596 { ac_try
='test -z "$ac_c_werror_flag"
5597 || test ! -s conftest.err'
5598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5602 (exit $ac_status); }; } &&
5603 { ac_try
='test -s conftest.$ac_objext'
5604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5608 (exit $ac_status); }; }; then
5609 ac_cv_member_struct_tm_tm_zone
=yes
5611 echo "$as_me: failed program was:" >&5
5612 sed 's/^/| /' conftest.
$ac_ext >&5
5614 ac_cv_member_struct_tm_tm_zone
=no
5616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5620 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_zone" >&5
5621 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_zone" >&6
5622 if test $ac_cv_member_struct_tm_tm_zone = yes; then
5624 cat >>confdefs.h
<<_ACEOF
5625 #define HAVE_STRUCT_TM_TM_ZONE 1
5631 if test "$ac_cv_member_struct_tm_tm_zone" = yes; then
5633 cat >>confdefs.h
<<\_ACEOF
5634 #define HAVE_TM_ZONE 1
5638 echo "$as_me:$LINENO: checking for tzname" >&5
5639 echo $ECHO_N "checking for tzname... $ECHO_C" >&6
5640 if test "${ac_cv_var_tzname+set}" = set; then
5641 echo $ECHO_N "(cached) $ECHO_C" >&6
5643 cat >conftest.
$ac_ext <<_ACEOF
5646 cat confdefs.h
>>conftest.
$ac_ext
5647 cat >>conftest.
$ac_ext <<_ACEOF
5648 /* end confdefs.h. */
5650 #ifndef tzname /* For SGI. */
5651 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
5662 rm -f conftest.
$ac_objext conftest
$ac_exeext
5663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5664 (eval $ac_link) 2>conftest.er1
5666 grep -v '^ *+' conftest.er1
>conftest.err
5668 cat conftest.err
>&5
5669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5670 (exit $ac_status); } &&
5671 { ac_try
='test -z "$ac_c_werror_flag"
5672 || test ! -s conftest.err'
5673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677 (exit $ac_status); }; } &&
5678 { ac_try
='test -s conftest$ac_exeext'
5679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5683 (exit $ac_status); }; }; then
5684 ac_cv_var_tzname
=yes
5686 echo "$as_me: failed program was:" >&5
5687 sed 's/^/| /' conftest.
$ac_ext >&5
5691 rm -f conftest.err conftest.
$ac_objext \
5692 conftest
$ac_exeext conftest.
$ac_ext
5694 echo "$as_me:$LINENO: result: $ac_cv_var_tzname" >&5
5695 echo "${ECHO_T}$ac_cv_var_tzname" >&6
5696 if test $ac_cv_var_tzname = yes; then
5698 cat >>confdefs.h
<<\_ACEOF
5699 #define HAVE_TZNAME 1
5705 echo "$as_me:$LINENO: checking for off_t" >&5
5706 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
5707 if test "${ac_cv_type_off_t+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 cat >conftest.
$ac_ext <<_ACEOF
5713 cat confdefs.h
>>conftest.
$ac_ext
5714 cat >>conftest.
$ac_ext <<_ACEOF
5715 /* end confdefs.h. */
5716 $ac_includes_default
5728 rm -f conftest.
$ac_objext
5729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5730 (eval $ac_compile) 2>conftest.er1
5732 grep -v '^ *+' conftest.er1
>conftest.err
5734 cat conftest.err
>&5
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); } &&
5737 { ac_try
='test -z "$ac_c_werror_flag"
5738 || test ! -s conftest.err'
5739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743 (exit $ac_status); }; } &&
5744 { ac_try
='test -s conftest.$ac_objext'
5745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); }; }; then
5750 ac_cv_type_off_t
=yes
5752 echo "$as_me: failed program was:" >&5
5753 sed 's/^/| /' conftest.
$ac_ext >&5
5757 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5759 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
5760 echo "${ECHO_T}$ac_cv_type_off_t" >&6
5761 if test $ac_cv_type_off_t = yes; then
5765 cat >>confdefs.h
<<_ACEOF
5771 echo "$as_me:$LINENO: checking for pid_t" >&5
5772 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
5773 if test "${ac_cv_type_pid_t+set}" = set; then
5774 echo $ECHO_N "(cached) $ECHO_C" >&6
5776 cat >conftest.
$ac_ext <<_ACEOF
5779 cat confdefs.h
>>conftest.
$ac_ext
5780 cat >>conftest.
$ac_ext <<_ACEOF
5781 /* end confdefs.h. */
5782 $ac_includes_default
5794 rm -f conftest.
$ac_objext
5795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5796 (eval $ac_compile) 2>conftest.er1
5798 grep -v '^ *+' conftest.er1
>conftest.err
5800 cat conftest.err
>&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); } &&
5803 { ac_try
='test -z "$ac_c_werror_flag"
5804 || test ! -s conftest.err'
5805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; } &&
5810 { ac_try
='test -s conftest.$ac_objext'
5811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5815 (exit $ac_status); }; }; then
5816 ac_cv_type_pid_t
=yes
5818 echo "$as_me: failed program was:" >&5
5819 sed 's/^/| /' conftest.
$ac_ext >&5
5823 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5825 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
5826 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
5827 if test $ac_cv_type_pid_t = yes; then
5831 cat >>confdefs.h
<<_ACEOF
5837 echo "$as_me:$LINENO: checking for size_t" >&5
5838 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
5839 if test "${ac_cv_type_size_t+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 cat >conftest.
$ac_ext <<_ACEOF
5845 cat confdefs.h
>>conftest.
$ac_ext
5846 cat >>conftest.
$ac_ext <<_ACEOF
5847 /* end confdefs.h. */
5848 $ac_includes_default
5854 if (sizeof (size_t))
5860 rm -f conftest.
$ac_objext
5861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5862 (eval $ac_compile) 2>conftest.er1
5864 grep -v '^ *+' conftest.er1
>conftest.err
5866 cat conftest.err
>&5
5867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5868 (exit $ac_status); } &&
5869 { ac_try
='test -z "$ac_c_werror_flag"
5870 || test ! -s conftest.err'
5871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5875 (exit $ac_status); }; } &&
5876 { ac_try
='test -s conftest.$ac_objext'
5877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5881 (exit $ac_status); }; }; then
5882 ac_cv_type_size_t
=yes
5884 echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.
$ac_ext >&5
5887 ac_cv_type_size_t
=no
5889 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5891 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
5892 echo "${ECHO_T}$ac_cv_type_size_t" >&6
5893 if test $ac_cv_type_size_t = yes; then
5897 cat >>confdefs.h
<<_ACEOF
5898 #define size_t unsigned
5903 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
5904 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
5905 if test "${ac_cv_type_uid_t+set}" = set; then
5906 echo $ECHO_N "(cached) $ECHO_C" >&6
5908 cat >conftest.
$ac_ext <<_ACEOF
5911 cat confdefs.h
>>conftest.
$ac_ext
5912 cat >>conftest.
$ac_ext <<_ACEOF
5913 /* end confdefs.h. */
5914 #include <sys/types.h>
5917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5918 $EGREP "uid_t" >/dev
/null
2>&1; then
5919 ac_cv_type_uid_t
=yes
5926 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
5927 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
5928 if test $ac_cv_type_uid_t = no
; then
5930 cat >>confdefs.h
<<\_ACEOF
5935 cat >>confdefs.h
<<\_ACEOF
5942 echo "$as_me:$LINENO: checking for struct tm.tm_gmtoff" >&5
5943 echo $ECHO_N "checking for struct tm.tm_gmtoff... $ECHO_C" >&6
5944 if test "${ac_cv_member_struct_tm_tm_gmtoff+set}" = set; then
5945 echo $ECHO_N "(cached) $ECHO_C" >&6
5947 cat >conftest.
$ac_ext <<_ACEOF
5950 cat confdefs.h
>>conftest.
$ac_ext
5951 cat >>conftest.
$ac_ext <<_ACEOF
5952 /* end confdefs.h. */
5953 $ac_includes_default
5957 static struct tm ac_aggr;
5958 if (ac_aggr.tm_gmtoff)
5964 rm -f conftest.
$ac_objext
5965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5966 (eval $ac_compile) 2>conftest.er1
5968 grep -v '^ *+' conftest.er1
>conftest.err
5970 cat conftest.err
>&5
5971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5972 (exit $ac_status); } &&
5973 { ac_try
='test -z "$ac_c_werror_flag"
5974 || test ! -s conftest.err'
5975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5979 (exit $ac_status); }; } &&
5980 { ac_try
='test -s conftest.$ac_objext'
5981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); }; }; then
5986 ac_cv_member_struct_tm_tm_gmtoff
=yes
5988 echo "$as_me: failed program was:" >&5
5989 sed 's/^/| /' conftest.
$ac_ext >&5
5991 cat >conftest.
$ac_ext <<_ACEOF
5994 cat confdefs.h
>>conftest.
$ac_ext
5995 cat >>conftest.
$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5997 $ac_includes_default
6001 static struct tm ac_aggr;
6002 if (sizeof ac_aggr.tm_gmtoff)
6008 rm -f conftest.
$ac_objext
6009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6010 (eval $ac_compile) 2>conftest.er1
6012 grep -v '^ *+' conftest.er1
>conftest.err
6014 cat conftest.err
>&5
6015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6016 (exit $ac_status); } &&
6017 { ac_try
='test -z "$ac_c_werror_flag"
6018 || test ! -s conftest.err'
6019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6023 (exit $ac_status); }; } &&
6024 { ac_try
='test -s conftest.$ac_objext'
6025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); }; }; then
6030 ac_cv_member_struct_tm_tm_gmtoff
=yes
6032 echo "$as_me: failed program was:" >&5
6033 sed 's/^/| /' conftest.
$ac_ext >&5
6035 ac_cv_member_struct_tm_tm_gmtoff
=no
6037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6039 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6041 echo "$as_me:$LINENO: result: $ac_cv_member_struct_tm_tm_gmtoff" >&5
6042 echo "${ECHO_T}$ac_cv_member_struct_tm_tm_gmtoff" >&6
6043 if test $ac_cv_member_struct_tm_tm_gmtoff = yes; then
6045 cat >>confdefs.h
<<_ACEOF
6046 #define HAVE_STRUCT_TM_TM_GMTOFF 1
6053 # Look for some functions
6068 for ac_func
in getpagesize kqueue statfs statvfs \
6069 clone kse_create rfork_thread thr_create sa_register \
6070 getcontext makecontext setcontext sigaltstack swapcontext
6072 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6073 echo "$as_me:$LINENO: checking for $ac_func" >&5
6074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6075 if eval "test \"\${$as_ac_var+set}\" = set"; then
6076 echo $ECHO_N "(cached) $ECHO_C" >&6
6078 cat >conftest.
$ac_ext <<_ACEOF
6081 cat confdefs.h
>>conftest.
$ac_ext
6082 cat >>conftest.
$ac_ext <<_ACEOF
6083 /* end confdefs.h. */
6084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6086 #define $ac_func innocuous_$ac_func
6088 /* System header to define __stub macros and hopefully few prototypes,
6089 which can conflict with char $ac_func (); below.
6090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6091 <limits.h> exists even on freestanding compilers. */
6094 # include <limits.h>
6096 # include <assert.h>
6101 /* Override any gcc2 internal prototype to avoid an error. */
6106 /* We use char because int might match the return type of a gcc2
6107 builtin and then its argument prototype would still apply. */
6109 /* The GNU C library defines this for functions which it implements
6110 to always fail with ENOSYS. Some functions are actually named
6111 something starting with __ and the normal name is an alias. */
6112 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6115 char (*f) () = $ac_func;
6124 return f != $ac_func;
6129 rm -f conftest.
$ac_objext conftest
$ac_exeext
6130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6131 (eval $ac_link) 2>conftest.er1
6133 grep -v '^ *+' conftest.er1
>conftest.err
6135 cat conftest.err
>&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); } &&
6138 { ac_try
='test -z "$ac_c_werror_flag"
6139 || test ! -s conftest.err'
6140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); }; } &&
6145 { ac_try
='test -s conftest$ac_exeext'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; }; then
6151 eval "$as_ac_var=yes"
6153 echo "$as_me: failed program was:" >&5
6154 sed 's/^/| /' conftest.
$ac_ext >&5
6156 eval "$as_ac_var=no"
6158 rm -f conftest.err conftest.
$ac_objext \
6159 conftest
$ac_exeext conftest.
$ac_ext
6161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6162 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6163 if test `eval echo '${'$as_ac_var'}'` = yes; then
6164 cat >>confdefs.h
<<_ACEOF
6165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6174 for ac_header
in stdlib.h unistd.h
6176 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6178 echo "$as_me:$LINENO: checking for $ac_header" >&5
6179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6181 echo $ECHO_N "(cached) $ECHO_C" >&6
6183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6186 # Is the header compilable?
6187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
6188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6189 cat >conftest.
$ac_ext <<_ACEOF
6192 cat confdefs.h
>>conftest.
$ac_ext
6193 cat >>conftest.
$ac_ext <<_ACEOF
6194 /* end confdefs.h. */
6195 $ac_includes_default
6196 #include <$ac_header>
6198 rm -f conftest.
$ac_objext
6199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6200 (eval $ac_compile) 2>conftest.er1
6202 grep -v '^ *+' conftest.er1
>conftest.err
6204 cat conftest.err
>&5
6205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6206 (exit $ac_status); } &&
6207 { ac_try
='test -z "$ac_c_werror_flag"
6208 || test ! -s conftest.err'
6209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); }; } &&
6214 { ac_try
='test -s conftest.$ac_objext'
6215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6219 (exit $ac_status); }; }; then
6220 ac_header_compiler
=yes
6222 echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.
$ac_ext >&5
6225 ac_header_compiler
=no
6227 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6229 echo "${ECHO_T}$ac_header_compiler" >&6
6231 # Is the header present?
6232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
6233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6234 cat >conftest.
$ac_ext <<_ACEOF
6237 cat confdefs.h
>>conftest.
$ac_ext
6238 cat >>conftest.
$ac_ext <<_ACEOF
6239 /* end confdefs.h. */
6240 #include <$ac_header>
6242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6243 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6245 grep -v '^ *+' conftest.er1
>conftest.err
6247 cat conftest.err
>&5
6248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6249 (exit $ac_status); } >/dev
/null
; then
6250 if test -s conftest.err
; then
6251 ac_cpp_err
=$ac_c_preproc_warn_flag
6252 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6259 if test -z "$ac_cpp_err"; then
6260 ac_header_preproc
=yes
6262 echo "$as_me: failed program was:" >&5
6263 sed 's/^/| /' conftest.
$ac_ext >&5
6265 ac_header_preproc
=no
6267 rm -f conftest.err conftest.
$ac_ext
6268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6269 echo "${ECHO_T}$ac_header_preproc" >&6
6271 # So? What about this header?
6272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6278 ac_header_preproc
=yes
6281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6295 ## ------------------------------------------ ##
6296 ## Report this to the AC_PACKAGE_NAME lists. ##
6297 ## ------------------------------------------ ##
6300 sed "s/^/$as_me: WARNING: /" >&2
6303 echo "$as_me:$LINENO: checking for $ac_header" >&5
6304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6306 echo $ECHO_N "(cached) $ECHO_C" >&6
6308 eval "$as_ac_Header=\$ac_header_preproc"
6310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6315 cat >>confdefs.h
<<_ACEOF
6316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6324 for ac_func
in getpagesize
6326 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6327 echo "$as_me:$LINENO: checking for $ac_func" >&5
6328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6329 if eval "test \"\${$as_ac_var+set}\" = set"; then
6330 echo $ECHO_N "(cached) $ECHO_C" >&6
6332 cat >conftest.
$ac_ext <<_ACEOF
6335 cat confdefs.h
>>conftest.
$ac_ext
6336 cat >>conftest.
$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6340 #define $ac_func innocuous_$ac_func
6342 /* System header to define __stub macros and hopefully few prototypes,
6343 which can conflict with char $ac_func (); below.
6344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6345 <limits.h> exists even on freestanding compilers. */
6348 # include <limits.h>
6350 # include <assert.h>
6355 /* Override any gcc2 internal prototype to avoid an error. */
6360 /* We use char because int might match the return type of a gcc2
6361 builtin and then its argument prototype would still apply. */
6363 /* The GNU C library defines this for functions which it implements
6364 to always fail with ENOSYS. Some functions are actually named
6365 something starting with __ and the normal name is an alias. */
6366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6369 char (*f) () = $ac_func;
6378 return f != $ac_func;
6383 rm -f conftest.
$ac_objext conftest
$ac_exeext
6384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6385 (eval $ac_link) 2>conftest.er1
6387 grep -v '^ *+' conftest.er1
>conftest.err
6389 cat conftest.err
>&5
6390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6391 (exit $ac_status); } &&
6392 { ac_try
='test -z "$ac_c_werror_flag"
6393 || test ! -s conftest.err'
6394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); }; } &&
6399 { ac_try
='test -s conftest$ac_exeext'
6400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6404 (exit $ac_status); }; }; then
6405 eval "$as_ac_var=yes"
6407 echo "$as_me: failed program was:" >&5
6408 sed 's/^/| /' conftest.
$ac_ext >&5
6410 eval "$as_ac_var=no"
6412 rm -f conftest.err conftest.
$ac_objext \
6413 conftest
$ac_exeext conftest.
$ac_ext
6415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6417 if test `eval echo '${'$as_ac_var'}'` = yes; then
6418 cat >>confdefs.h
<<_ACEOF
6419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6425 echo "$as_me:$LINENO: checking for working mmap" >&5
6426 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
6427 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
6428 echo $ECHO_N "(cached) $ECHO_C" >&6
6430 if test "$cross_compiling" = yes; then
6431 ac_cv_func_mmap_fixed_mapped
=no
6433 cat >conftest.
$ac_ext <<_ACEOF
6436 cat confdefs.h
>>conftest.
$ac_ext
6437 cat >>conftest.
$ac_ext <<_ACEOF
6438 /* end confdefs.h. */
6439 $ac_includes_default
6440 /* malloc might have been renamed as rpl_malloc. */
6443 /* Thanks to Mike Haertel and Jim Avera for this test.
6444 Here is a matrix of mmap possibilities:
6445 mmap private not fixed
6446 mmap private fixed at somewhere currently unmapped
6447 mmap private fixed at somewhere already mapped
6448 mmap shared not fixed
6449 mmap shared fixed at somewhere currently unmapped
6450 mmap shared fixed at somewhere already mapped
6451 For private mappings, we should verify that changes cannot be read()
6452 back from the file, nor mmap's back from the file at a different
6453 address. (There have been systems where private was not correctly
6454 implemented like the infamous i386 svr4.0, and systems where the
6455 VM page cache was not coherent with the file system buffer cache
6456 like early versions of FreeBSD and possibly contemporary NetBSD.)
6457 For shared mappings, we should conversely verify that changes get
6458 propagated back to all the places they're supposed to be.
6460 Grep wants private fixed already mapped.
6461 The main things grep needs to know about mmap are:
6462 * does it exist and is it safe to write into the mmap'd area
6463 * how to use it (BSD variants) */
6466 #include <sys/mman.h>
6468 #if !STDC_HEADERS && !HAVE_STDLIB_H
6472 /* This mess was copied from the GNU getpagesize.h. */
6473 #if !HAVE_GETPAGESIZE
6474 /* Assume that all systems that can run configure have sys/param.h. */
6475 # if !HAVE_SYS_PARAM_H
6476 # define HAVE_SYS_PARAM_H 1
6479 # ifdef _SC_PAGESIZE
6480 # define getpagesize() sysconf(_SC_PAGESIZE)
6481 # else /* no _SC_PAGESIZE */
6482 # if HAVE_SYS_PARAM_H
6483 # include <sys/param.h>
6484 # ifdef EXEC_PAGESIZE
6485 # define getpagesize() EXEC_PAGESIZE
6486 # else /* no EXEC_PAGESIZE */
6488 # define getpagesize() NBPG * CLSIZE
6491 # endif /* no CLSIZE */
6492 # else /* no NBPG */
6494 # define getpagesize() NBPC
6495 # else /* no NBPC */
6497 # define getpagesize() PAGESIZE
6498 # endif /* PAGESIZE */
6499 # endif /* no NBPC */
6500 # endif /* no NBPG */
6501 # endif /* no EXEC_PAGESIZE */
6502 # else /* no HAVE_SYS_PARAM_H */
6503 # define getpagesize() 8192 /* punt totally */
6504 # endif /* no HAVE_SYS_PARAM_H */
6505 # endif /* no _SC_PAGESIZE */
6507 #endif /* no HAVE_GETPAGESIZE */
6512 char *data, *data2, *data3;
6516 pagesize = getpagesize ();
6518 /* First, make a file with some known garbage in it. */
6519 data = (char *) malloc (pagesize);
6522 for (i = 0; i < pagesize; ++i)
6523 *(data + i) = rand ();
6525 fd = creat ("conftest.mmap", 0600);
6528 if (write (fd, data, pagesize) != pagesize)
6532 /* Next, try to mmap the file at a fixed address which already has
6533 something else allocated at it. If we can, also make sure that
6534 we see the same garbage. */
6535 fd = open ("conftest.mmap", O_RDWR);
6538 data2 = (char *) malloc (2 * pagesize);
6541 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
6542 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
6543 MAP_PRIVATE | MAP_FIXED, fd, 0L))
6545 for (i = 0; i < pagesize; ++i)
6546 if (*(data + i) != *(data2 + i))
6549 /* Finally, make sure that changes to the mapped area do not
6550 percolate back to the file as seen by read(). (This is a bug on
6551 some variants of i386 svr4.0.) */
6552 for (i = 0; i < pagesize; ++i)
6553 *(data2 + i) = *(data2 + i) + 1;
6554 data3 = (char *) malloc (pagesize);
6557 if (read (fd, data3, pagesize) != pagesize)
6559 for (i = 0; i < pagesize; ++i)
6560 if (*(data + i) != *(data3 + i))
6566 rm -f conftest
$ac_exeext
6567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6568 (eval $ac_link) 2>&5
6570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6571 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6577 ac_cv_func_mmap_fixed_mapped
=yes
6579 echo "$as_me: program exited with status $ac_status" >&5
6580 echo "$as_me: failed program was:" >&5
6581 sed 's/^/| /' conftest.
$ac_ext >&5
6584 ac_cv_func_mmap_fixed_mapped
=no
6586 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6589 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
6590 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
6591 if test $ac_cv_func_mmap_fixed_mapped = yes; then
6593 cat >>confdefs.h
<<\_ACEOF
6602 echo "$as_me:$LINENO: checking for X" >&5
6603 echo $ECHO_N "checking for X... $ECHO_C" >&6
6606 # Check whether --with-x or --without-x was given.
6607 if test "${with_x+set}" = set; then
6611 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6612 if test "x$with_x" = xno
; then
6613 # The user explicitly disabled X.
6616 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6617 # Both variables are already set.
6620 if test "${ac_cv_have_x+set}" = set; then
6621 echo $ECHO_N "(cached) $ECHO_C" >&6
6623 # One or both of the vars are not set, and there is no cached value.
6624 ac_x_includes
=no ac_x_libraries
=no
6626 if mkdir conftest.dir
; then
6628 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6629 cat >Imakefile
<<'_ACEOF'
6631 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6633 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6634 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6635 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6636 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6637 for ac_extension
in a so sl
; do
6638 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6639 test -f $ac_im_libdir/libX11.
$ac_extension; then
6640 ac_im_usrlibdir
=$ac_im_libdir; break
6643 # Screen out bogus values from the imake configuration. They are
6644 # bogus both because they are the default anyway, and because
6645 # using them would break gcc on systems where it needs fixed includes.
6646 case $ac_im_incroot in
6648 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6650 case $ac_im_usrlibdir in
6652 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6659 # Standard set of common directories for X headers.
6660 # Check X11 before X11Rn because it is often a symlink to the current release.
6672 /usr/local/X11/include
6673 /usr/local/X11R6/include
6674 /usr/local/X11R5/include
6675 /usr/local/X11R4/include
6677 /usr/local/include/X11
6678 /usr/local/include/X11R6
6679 /usr/local/include/X11R5
6680 /usr/local/include/X11R4
6684 /usr/XFree86/include/X11
6688 /usr/unsupported/include
6690 /usr/local/x11r5/include
6691 /usr/lpp/Xamples/include
6693 /usr/openwin/include
6694 /usr/openwin/share/include'
6696 if test "$ac_x_includes" = no
; then
6697 # Guess where to find include files, by looking for Intrinsic.h.
6698 # First, try using that file with no special directory specified.
6699 cat >conftest.
$ac_ext <<_ACEOF
6702 cat confdefs.h
>>conftest.
$ac_ext
6703 cat >>conftest.
$ac_ext <<_ACEOF
6704 /* end confdefs.h. */
6705 #include <X11/Intrinsic.h>
6707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6708 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } >/dev
/null
; then
6715 if test -s conftest.err
; then
6716 ac_cpp_err
=$ac_c_preproc_warn_flag
6717 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
6724 if test -z "$ac_cpp_err"; then
6725 # We can compile using X headers with no special include directory.
6728 echo "$as_me: failed program was:" >&5
6729 sed 's/^/| /' conftest.
$ac_ext >&5
6731 for ac_dir
in $ac_x_header_dirs; do
6732 if test -r "$ac_dir/X11/Intrinsic.h"; then
6733 ac_x_includes
=$ac_dir
6738 rm -f conftest.err conftest.
$ac_ext
6739 fi # $ac_x_includes = no
6741 if test "$ac_x_libraries" = no
; then
6742 # Check for the libraries.
6743 # See if we find them without any special options.
6744 # Don't add to $LIBS permanently.
6747 cat >conftest.
$ac_ext <<_ACEOF
6750 cat confdefs.h
>>conftest.
$ac_ext
6751 cat >>conftest.
$ac_ext <<_ACEOF
6752 /* end confdefs.h. */
6753 #include <X11/Intrinsic.h>
6762 rm -f conftest.
$ac_objext conftest
$ac_exeext
6763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6764 (eval $ac_link) 2>conftest.er1
6766 grep -v '^ *+' conftest.er1
>conftest.err
6768 cat conftest.err
>&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); } &&
6771 { ac_try
='test -z "$ac_c_werror_flag"
6772 || test ! -s conftest.err'
6773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); }; } &&
6778 { ac_try
='test -s conftest$ac_exeext'
6779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6783 (exit $ac_status); }; }; then
6785 # We can link X programs with no special library path.
6788 echo "$as_me: failed program was:" >&5
6789 sed 's/^/| /' conftest.
$ac_ext >&5
6792 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6794 # Don't even attempt the hair of trying to link an X program!
6795 for ac_extension
in a so sl
; do
6796 if test -r $ac_dir/libXt.
$ac_extension; then
6797 ac_x_libraries
=$ac_dir
6803 rm -f conftest.err conftest.
$ac_objext \
6804 conftest
$ac_exeext conftest.
$ac_ext
6805 fi # $ac_x_libraries = no
6807 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
6808 # Didn't find X anywhere. Cache the known absence of X.
6809 ac_cv_have_x
="have_x=no"
6811 # Record where we found X for the cache.
6812 ac_cv_have_x
="have_x=yes \
6813 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6818 eval "$ac_cv_have_x"
6821 if test "$have_x" != yes; then
6822 echo "$as_me:$LINENO: result: $have_x" >&5
6823 echo "${ECHO_T}$have_x" >&6
6826 # If each of the values was on the command line, it overrides each guess.
6827 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6828 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6829 # Update the cache value to reflect the command line values.
6830 ac_cv_have_x
="have_x=yes \
6831 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6832 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6833 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
6839 # Find all the tools we need to compile. This could be cross-compiling
6840 # though! If that is the case we use the GNU form of the target and
6841 # simply add this to the front of the binary name. This is rather simple,
6842 # but it should work under most circumstances.
6844 # The default tools are to use the same as the host, but only if the
6845 # host and target CPU are the same. With GCC this is normally enough.
6849 aros_target_cc
="$aros_host_cc"
6850 aros_target_as
="$aros_host_cc"
6851 aros_shared_ld
="$aros_host_ld"
6852 aros_kernel_ld
="$aros_host_ld"
6853 aros_target_ld
="$aros_host_ld"
6855 aros_target_mkdep
="$aros_host_mkdep"
6856 aros_target_incl_def
="$aros_host_incl"
6858 # The default tools executables to be linked at.
6859 if test "$GCC" = "yes"; then
6860 aros_gcc_ar
=`$CC -print-prog-name=ar`
6861 # Extract the first word of "`basename $aros_gcc_[ar]`", so it can be a program name with args.
6862 set dummy
`basename $aros_gcc_ar`; ac_word
=$2
6863 echo "$as_me:$LINENO: checking for $ac_word" >&5
6864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6865 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
6866 echo $ECHO_N "(cached) $ECHO_C" >&6
6868 case $aros_target_ar_ln in
6870 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
6873 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6874 for as_dir
in `dirname $aros_gcc_ar`
6877 test -z "$as_dir" && as_dir
=.
6878 for ac_exec_ext
in '' $ac_executable_extensions; do
6879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6880 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
6881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6890 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
6892 if test -n "$aros_target_ar_ln"; then
6893 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
6894 echo "${ECHO_T}$aros_target_ar_ln" >&6
6896 echo "$as_me:$LINENO: result: no" >&5
6897 echo "${ECHO_T}no" >&6
6901 if test "$aros_target_ar_ln" = ""; then
6902 # Extract the first word of "ar", so it can be a program name with args.
6903 set dummy
ar; ac_word
=$2
6904 echo "$as_me:$LINENO: checking for $ac_word" >&5
6905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6906 if test "${ac_cv_path_aros_target_ar_ln+set}" = set; then
6907 echo $ECHO_N "(cached) $ECHO_C" >&6
6909 case $aros_target_ar_ln in
6911 ac_cv_path_aros_target_ar_ln
="$aros_target_ar_ln" # Let the user override the test with a path.
6914 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6918 test -z "$as_dir" && as_dir
=.
6919 for ac_exec_ext
in '' $ac_executable_extensions; do
6920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6921 ac_cv_path_aros_target_ar_ln
="$as_dir/$ac_word$ac_exec_ext"
6922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6931 aros_target_ar_ln
=$ac_cv_path_aros_target_ar_ln
6933 if test -n "$aros_target_ar_ln"; then
6934 echo "$as_me:$LINENO: result: $aros_target_ar_ln" >&5
6935 echo "${ECHO_T}$aros_target_ar_ln" >&6
6937 echo "$as_me:$LINENO: result: no" >&5
6938 echo "${ECHO_T}no" >&6
6942 if test "$aros_target_ar_ln" = ""; then
6943 { { echo "$as_me:$LINENO: error: ar is required to build AROS. Please install and run configure again." >&5
6944 echo "$as_me: error: ar is required to build AROS. Please install and run configure again." >&2;}
6945 { (exit 1); exit 1; }; }
6947 if test "$GCC" = "yes"; then
6948 aros_gcc_nm
=`$CC -print-prog-name=nm`
6949 # Extract the first word of "`basename $aros_gcc_[nm]`", so it can be a program name with args.
6950 set dummy
`basename $aros_gcc_nm`; ac_word
=$2
6951 echo "$as_me:$LINENO: checking for $ac_word" >&5
6952 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6953 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
6954 echo $ECHO_N "(cached) $ECHO_C" >&6
6956 case $aros_target_nm_ln in
6958 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
6961 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6962 for as_dir
in `dirname $aros_gcc_nm`
6965 test -z "$as_dir" && as_dir
=.
6966 for ac_exec_ext
in '' $ac_executable_extensions; do
6967 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6968 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
6969 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6978 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
6980 if test -n "$aros_target_nm_ln"; then
6981 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
6982 echo "${ECHO_T}$aros_target_nm_ln" >&6
6984 echo "$as_me:$LINENO: result: no" >&5
6985 echo "${ECHO_T}no" >&6
6989 if test "$aros_target_nm_ln" = ""; then
6990 # Extract the first word of "nm", so it can be a program name with args.
6991 set dummy nm
; ac_word
=$2
6992 echo "$as_me:$LINENO: checking for $ac_word" >&5
6993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6994 if test "${ac_cv_path_aros_target_nm_ln+set}" = set; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 case $aros_target_nm_ln in
6999 ac_cv_path_aros_target_nm_ln
="$aros_target_nm_ln" # Let the user override the test with a path.
7002 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7006 test -z "$as_dir" && as_dir
=.
7007 for ac_exec_ext
in '' $ac_executable_extensions; do
7008 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7009 ac_cv_path_aros_target_nm_ln
="$as_dir/$ac_word$ac_exec_ext"
7010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7019 aros_target_nm_ln
=$ac_cv_path_aros_target_nm_ln
7021 if test -n "$aros_target_nm_ln"; then
7022 echo "$as_me:$LINENO: result: $aros_target_nm_ln" >&5
7023 echo "${ECHO_T}$aros_target_nm_ln" >&6
7025 echo "$as_me:$LINENO: result: no" >&5
7026 echo "${ECHO_T}no" >&6
7030 if test "$aros_target_nm_ln" = ""; then
7031 { { echo "$as_me:$LINENO: error: nm is required to build AROS. Please install and run configure again." >&5
7032 echo "$as_me: error: nm is required to build AROS. Please install and run configure again." >&2;}
7033 { (exit 1); exit 1; }; }
7035 if test "$GCC" = "yes"; then
7036 aros_gcc_objcopy
=`$CC -print-prog-name=objcopy`
7037 # Extract the first word of "`basename $aros_gcc_[objcopy]`", so it can be a program name with args.
7038 set dummy
`basename $aros_gcc_objcopy`; ac_word
=$2
7039 echo "$as_me:$LINENO: checking for $ac_word" >&5
7040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7041 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
7042 echo $ECHO_N "(cached) $ECHO_C" >&6
7044 case $aros_target_objcopy_ln in
7046 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
7049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7050 for as_dir
in `dirname $aros_gcc_objcopy`
7053 test -z "$as_dir" && as_dir
=.
7054 for ac_exec_ext
in '' $ac_executable_extensions; do
7055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7056 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
7057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7066 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
7068 if test -n "$aros_target_objcopy_ln"; then
7069 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
7070 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
7072 echo "$as_me:$LINENO: result: no" >&5
7073 echo "${ECHO_T}no" >&6
7077 if test "$aros_target_objcopy_ln" = ""; then
7078 # Extract the first word of "objcopy", so it can be a program name with args.
7079 set dummy objcopy
; ac_word
=$2
7080 echo "$as_me:$LINENO: checking for $ac_word" >&5
7081 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7082 if test "${ac_cv_path_aros_target_objcopy_ln+set}" = set; then
7083 echo $ECHO_N "(cached) $ECHO_C" >&6
7085 case $aros_target_objcopy_ln in
7087 ac_cv_path_aros_target_objcopy_ln
="$aros_target_objcopy_ln" # Let the user override the test with a path.
7090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7094 test -z "$as_dir" && as_dir
=.
7095 for ac_exec_ext
in '' $ac_executable_extensions; do
7096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_path_aros_target_objcopy_ln
="$as_dir/$ac_word$ac_exec_ext"
7098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7107 aros_target_objcopy_ln
=$ac_cv_path_aros_target_objcopy_ln
7109 if test -n "$aros_target_objcopy_ln"; then
7110 echo "$as_me:$LINENO: result: $aros_target_objcopy_ln" >&5
7111 echo "${ECHO_T}$aros_target_objcopy_ln" >&6
7113 echo "$as_me:$LINENO: result: no" >&5
7114 echo "${ECHO_T}no" >&6
7118 if test "$aros_target_objcopy_ln" = ""; then
7119 { { echo "$as_me:$LINENO: error: objcopy is required to build AROS. Please install and run configure again." >&5
7120 echo "$as_me: error: objcopy is required to build AROS. Please install and run configure again." >&2;}
7121 { (exit 1); exit 1; }; }
7123 if test "$GCC" = "yes"; then
7124 aros_gcc_objdump
=`$CC -print-prog-name=objdump`
7125 # Extract the first word of "`basename $aros_gcc_[objdump]`", so it can be a program name with args.
7126 set dummy
`basename $aros_gcc_objdump`; ac_word
=$2
7127 echo "$as_me:$LINENO: checking for $ac_word" >&5
7128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7129 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
7130 echo $ECHO_N "(cached) $ECHO_C" >&6
7132 case $aros_target_objdump_ln in
7134 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
7137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7138 for as_dir
in `dirname $aros_gcc_objdump`
7141 test -z "$as_dir" && as_dir
=.
7142 for ac_exec_ext
in '' $ac_executable_extensions; do
7143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7144 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
7145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7154 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
7156 if test -n "$aros_target_objdump_ln"; then
7157 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
7158 echo "${ECHO_T}$aros_target_objdump_ln" >&6
7160 echo "$as_me:$LINENO: result: no" >&5
7161 echo "${ECHO_T}no" >&6
7165 if test "$aros_target_objdump_ln" = ""; then
7166 # Extract the first word of "objdump", so it can be a program name with args.
7167 set dummy objdump
; ac_word
=$2
7168 echo "$as_me:$LINENO: checking for $ac_word" >&5
7169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7170 if test "${ac_cv_path_aros_target_objdump_ln+set}" = set; then
7171 echo $ECHO_N "(cached) $ECHO_C" >&6
7173 case $aros_target_objdump_ln in
7175 ac_cv_path_aros_target_objdump_ln
="$aros_target_objdump_ln" # Let the user override the test with a path.
7178 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7182 test -z "$as_dir" && as_dir
=.
7183 for ac_exec_ext
in '' $ac_executable_extensions; do
7184 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7185 ac_cv_path_aros_target_objdump_ln
="$as_dir/$ac_word$ac_exec_ext"
7186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7195 aros_target_objdump_ln
=$ac_cv_path_aros_target_objdump_ln
7197 if test -n "$aros_target_objdump_ln"; then
7198 echo "$as_me:$LINENO: result: $aros_target_objdump_ln" >&5
7199 echo "${ECHO_T}$aros_target_objdump_ln" >&6
7201 echo "$as_me:$LINENO: result: no" >&5
7202 echo "${ECHO_T}no" >&6
7206 if test "$aros_target_objdump_ln" = ""; then
7207 { { echo "$as_me:$LINENO: error: objdump is required to build AROS. Please install and run configure again." >&5
7208 echo "$as_me: error: objdump is required to build AROS. Please install and run configure again." >&2;}
7209 { (exit 1); exit 1; }; }
7211 if test "$GCC" = "yes"; then
7212 aros_gcc_ranlib
=`$CC -print-prog-name=ranlib`
7213 # Extract the first word of "`basename $aros_gcc_[ranlib]`", so it can be a program name with args.
7214 set dummy
`basename $aros_gcc_ranlib`; ac_word
=$2
7215 echo "$as_me:$LINENO: checking for $ac_word" >&5
7216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7217 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
7218 echo $ECHO_N "(cached) $ECHO_C" >&6
7220 case $aros_target_ranlib_ln in
7222 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
7225 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7226 for as_dir
in `dirname $aros_gcc_ranlib`
7229 test -z "$as_dir" && as_dir
=.
7230 for ac_exec_ext
in '' $ac_executable_extensions; do
7231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7232 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
7233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
7244 if test -n "$aros_target_ranlib_ln"; then
7245 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
7246 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
7248 echo "$as_me:$LINENO: result: no" >&5
7249 echo "${ECHO_T}no" >&6
7253 if test "$aros_target_ranlib_ln" = ""; then
7254 # Extract the first word of "ranlib", so it can be a program name with args.
7255 set dummy ranlib
; ac_word
=$2
7256 echo "$as_me:$LINENO: checking for $ac_word" >&5
7257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7258 if test "${ac_cv_path_aros_target_ranlib_ln+set}" = set; then
7259 echo $ECHO_N "(cached) $ECHO_C" >&6
7261 case $aros_target_ranlib_ln in
7263 ac_cv_path_aros_target_ranlib_ln
="$aros_target_ranlib_ln" # Let the user override the test with a path.
7266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7270 test -z "$as_dir" && as_dir
=.
7271 for ac_exec_ext
in '' $ac_executable_extensions; do
7272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7273 ac_cv_path_aros_target_ranlib_ln
="$as_dir/$ac_word$ac_exec_ext"
7274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7283 aros_target_ranlib_ln
=$ac_cv_path_aros_target_ranlib_ln
7285 if test -n "$aros_target_ranlib_ln"; then
7286 echo "$as_me:$LINENO: result: $aros_target_ranlib_ln" >&5
7287 echo "${ECHO_T}$aros_target_ranlib_ln" >&6
7289 echo "$as_me:$LINENO: result: no" >&5
7290 echo "${ECHO_T}no" >&6
7294 if test "$aros_target_ranlib_ln" = ""; then
7295 { { echo "$as_me:$LINENO: error: ranlib is required to build AROS. Please install and run configure again." >&5
7296 echo "$as_me: error: ranlib is required to build AROS. Please install and run configure again." >&2;}
7297 { (exit 1); exit 1; }; }
7299 if test "$GCC" = "yes"; then
7300 aros_gcc_strip
=`$CC -print-prog-name=strip`
7301 # Extract the first word of "`basename $aros_gcc_[strip]`", so it can be a program name with args.
7302 set dummy
`basename $aros_gcc_strip`; ac_word
=$2
7303 echo "$as_me:$LINENO: checking for $ac_word" >&5
7304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7305 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
7306 echo $ECHO_N "(cached) $ECHO_C" >&6
7308 case $aros_target_strip_ln in
7310 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
7313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7314 for as_dir
in `dirname $aros_gcc_strip`
7317 test -z "$as_dir" && as_dir
=.
7318 for ac_exec_ext
in '' $ac_executable_extensions; do
7319 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7320 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
7321 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7330 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
7332 if test -n "$aros_target_strip_ln"; then
7333 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
7334 echo "${ECHO_T}$aros_target_strip_ln" >&6
7336 echo "$as_me:$LINENO: result: no" >&5
7337 echo "${ECHO_T}no" >&6
7341 if test "$aros_target_strip_ln" = ""; then
7342 # Extract the first word of "strip", so it can be a program name with args.
7343 set dummy strip
; ac_word
=$2
7344 echo "$as_me:$LINENO: checking for $ac_word" >&5
7345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7346 if test "${ac_cv_path_aros_target_strip_ln+set}" = set; then
7347 echo $ECHO_N "(cached) $ECHO_C" >&6
7349 case $aros_target_strip_ln in
7351 ac_cv_path_aros_target_strip_ln
="$aros_target_strip_ln" # Let the user override the test with a path.
7354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7358 test -z "$as_dir" && as_dir
=.
7359 for ac_exec_ext
in '' $ac_executable_extensions; do
7360 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7361 ac_cv_path_aros_target_strip_ln
="$as_dir/$ac_word$ac_exec_ext"
7362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7371 aros_target_strip_ln
=$ac_cv_path_aros_target_strip_ln
7373 if test -n "$aros_target_strip_ln"; then
7374 echo "$as_me:$LINENO: result: $aros_target_strip_ln" >&5
7375 echo "${ECHO_T}$aros_target_strip_ln" >&6
7377 echo "$as_me:$LINENO: result: no" >&5
7378 echo "${ECHO_T}no" >&6
7382 if test "$aros_target_strip_ln" = ""; then
7383 { { echo "$as_me:$LINENO: error: strip is required to build AROS. Please install and run configure again." >&5
7384 echo "$as_me: error: strip is required to build AROS. Please install and run configure again." >&2;}
7385 { (exit 1); exit 1; }; }
7388 if test "$GCC" = "yes"; then
7389 aros_target_cc_path
=`$CC -print-search-dirs | grep "programs: =" | cut -c 12-`
7392 # It is necessary to clear the include and link paths for target
7393 # commands. This should help clear up problems when cross compiling.
7394 aros_config_cflags
="-Wall -Werror-implicit-function-declaration"
7395 aros_config_aflags
="-Wall -x assembler-with-cpp"
7396 aros_config_ldflags
=""
7398 aros_shared_default
=yes
7400 aros_shared_cflags
="-fPIC"
7401 aros_shared_aflags
=""
7402 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7403 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7407 aros_target_genmap
="-Wl,-Map -Xlinker"
7409 # Native flavour stuff
7411 aros_serial_debug
="0"
7413 # Palm native flavour stuff
7414 aros_palm_debug_hack
="0"
7416 # Unix flavour stuff
7417 aros_nesting_supervisor
="0"
7419 # Collect-aros stuff: "-ius" to ignore undefined symbols
7420 ignore_undefined_symbols
=""
7426 #-----------------------------------------------------------------------------
7428 echo "$as_me:$LINENO: checking for type of build" >&5
7429 echo $ECHO_N "checking for type of build... $ECHO_C" >&6
7430 # Check whether --enable-build_type or --disable-build_type was given.
7431 if test "${enable_build_type+set}" = set; then
7432 enableval
="$enable_build_type"
7433 build_type
=$enableval
7435 build_type
="personal"
7438 if test "$build_type" = "nightly"; then
7439 build_type_string
="NIGHTLY"
7440 elif test "$build_type" = "snapshot"; then
7441 build_type_string
="SNAPSHOT"
7442 elif test "$build_type" = "milestone"; then
7443 build_type_string
="MILESTONE"
7444 elif test "$build_type" = "release"; then
7445 build_type_string
="RELEASE"
7447 build_type_string
="PERSONAL"
7448 build_type
="personal"
7451 aros_config_cflags
="$aros_config_cflags -DAROS_BUILD_TYPE=AROS_BUILD_TYPE_$build_type_string"
7453 echo "$as_me:$LINENO: result: $build_type" >&5
7454 echo "${ECHO_T}$build_type" >&6
7456 #-----------------------------------------------------------------------------
7457 all_debug_types
="messages stack mungwall modules symbols"
7459 echo "$as_me:$LINENO: checking which debug types to enable" >&5
7460 echo $ECHO_N "checking which debug types to enable... $ECHO_C" >&6
7461 # Check whether --enable-debug or --disable-debug was given.
7462 if test "${enable_debug+set}" = set; then
7463 enableval
="$enable_debug"
7469 if test "$debug" = "" -o "$debug" = "no"; then
7471 elif test "$debug" = "yes"; then
7475 if test "$debug" = "all" ; then
7476 debug
=$all_debug_types
7477 for d
in $all_debug_types; do
7478 export aros_
${d}_debug
="1"
7481 for d
in $all_debug_types; do
7482 export aros_
${d}_debug
="0"
7486 if test "$debug" != "none"; then
7487 debug
=`echo $debug | sed s/,/\ /g`
7490 for d2
in $all_debug_types; do
7491 if test "$d2" = "$d"; then
7496 if test "$found" = "0"; then
7497 { { echo "$as_me:$LINENO: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&5
7498 echo "$as_me: error: unrecognized debug type \"$d\". Available types are: all none $all_debug_types" >&2;}
7499 { (exit 1); exit 1; }; }
7501 export aros_
${d}_debug
="1"
7505 echo "$as_me:$LINENO: result: $debug" >&5
7506 echo "${ECHO_T}$debug" >&6
7508 if test "$aros_messages_debug" = "1"; then
7509 aros_messages_debug
="-DADEBUG=1 -DMDEBUG=1"
7511 aros_messages_debug
=""
7513 if test "$aros_symbols_debug" = "1"; then
7514 aros_symbols_debug
="-g"
7516 aros_symbols_debug
=""
7519 # These are the flags to pass when compiling debugged programs
7520 aros_debug_cflags
="$aros_symbols_debug $aros_messages_debug"
7521 aros_debug_aflags
=""
7522 aros_debug_ldflags
="$aros_symbols_debug"
7524 #-----------------------------------------------------------------------------
7525 # Checking for distcc and ccache.
7527 # Always apply the transforms in this particular order. Basically you should
7528 # always run 'ccache distcc compiler' in that order for the best performance.
7530 echo "$as_me:$LINENO: checking whether to enable distcc" >&5
7531 echo $ECHO_N "checking whether to enable distcc... $ECHO_C" >&6
7532 # Check whether --enable-distcc or --disable-distcc was given.
7533 if test "${enable_distcc+set}" = set; then
7534 enableval
="$enable_distcc"
7539 if test "$distcc" != "" -a "$distcc" != "no"; then
7540 # AC_CHECK_PROG will print out the result in this case
7541 # Extract the first word of "distcc", so it can be a program name with args.
7542 set dummy distcc
; ac_word
=$2
7543 echo "$as_me:$LINENO: checking for $ac_word" >&5
7544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7545 if test "${ac_cv_path_DISTCC+set}" = set; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7550 ac_cv_path_DISTCC
="$DISTCC" # Let the user override the test with a path.
7553 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7557 test -z "$as_dir" && as_dir
=.
7558 for ac_exec_ext
in '' $ac_executable_extensions; do
7559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7560 ac_cv_path_DISTCC
="$as_dir/$ac_word$ac_exec_ext"
7561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7567 test -z "$ac_cv_path_DISTCC" && ac_cv_path_DISTCC
="distcc"
7571 DISTCC
=$ac_cv_path_DISTCC
7573 if test -n "$DISTCC"; then
7574 echo "$as_me:$LINENO: result: $DISTCC" >&5
7575 echo "${ECHO_T}$DISTCC" >&6
7577 echo "$as_me:$LINENO: result: no" >&5
7578 echo "${ECHO_T}no" >&6
7582 echo "$as_me:$LINENO: result: no" >&5
7583 echo "${ECHO_T}no" >&6
7586 echo "$as_me:$LINENO: checking whether to enable ccache" >&5
7587 echo $ECHO_N "checking whether to enable ccache... $ECHO_C" >&6
7588 # Check whether --enable-ccache or --disable-ccache was given.
7589 if test "${enable_ccache+set}" = set; then
7590 enableval
="$enable_ccache"
7595 if test "$ccache" != "" -a "$ccache" != "no"; then
7596 # AC_CHECK_PROG will print out the result in this case
7597 # Extract the first word of "ccache", so it can be a program name with args.
7598 set dummy ccache
; ac_word
=$2
7599 echo "$as_me:$LINENO: checking for $ac_word" >&5
7600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7601 if test "${ac_cv_prog_CCACHE+set}" = set; then
7602 echo $ECHO_N "(cached) $ECHO_C" >&6
7604 if test -n "$CCACHE"; then
7605 ac_cv_prog_CCACHE
="$CCACHE" # Let the user override the test.
7607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7611 test -z "$as_dir" && as_dir
=.
7612 for ac_exec_ext
in '' $ac_executable_extensions; do
7613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7614 ac_cv_prog_CCACHE
="ccache"
7615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7621 test -z "$ac_cv_prog_CCACHE" && ac_cv_prog_CCACHE
="no"
7624 CCACHE
=$ac_cv_prog_CCACHE
7625 if test -n "$CCACHE"; then
7626 echo "$as_me:$LINENO: result: $CCACHE" >&5
7627 echo "${ECHO_T}$CCACHE" >&6
7629 echo "$as_me:$LINENO: result: no" >&5
7630 echo "${ECHO_T}no" >&6
7634 echo "$as_me:$LINENO: result: no" >&5
7635 echo "${ECHO_T}no" >&6
7638 #-----------------------------------------------------------------------------
7639 echo "$as_me:$LINENO: checking what optimization flags to use" >&5
7640 echo $ECHO_N "checking what optimization flags to use... $ECHO_C" >&6
7642 # Check whether --with-optimization or --without-optimization was given.
7643 if test "${with_optimization+set}" = set; then
7644 withval
="$with_optimization"
7645 optimization
="$withval"
7647 optimization
="unknown"
7649 if test "$optimization" = "unknown"; then
7650 if test "$debug" != "none"; then
7656 aros_config_cflags
="$aros_config_cflags $optimization"
7657 echo "$as_me:$LINENO: result: $optimization" >&5
7658 echo "${ECHO_T}$optimization" >&6
7660 #-----------------------------------------------------------------------------
7661 echo "$as_me:$LINENO: checking what target variant to enable" >&5
7662 echo $ECHO_N "checking what target variant to enable... $ECHO_C" >&6
7663 # Check whether --enable-target_variant or --disable-target_variant was given.
7664 if test "${enable_target_variant+set}" = set; then
7665 enableval
="$enable_target_variant"
7666 target_variant
=$enableval
7668 target_variant
="none"
7670 if test "$target_variant" = "none"; then
7671 aros_target_variant
=""
7672 aros_target_suffix
=""
7674 aros_target_variant
="$target_variant"
7675 aros_target_suffix
="-$target_variant"
7677 echo "$as_me:$LINENO: result: $enableval" >&5
7678 echo "${ECHO_T}$enableval" >&6
7680 #-----------------------------------------------------------------------------
7681 # This is the target configuration switch.
7682 case "$target_os" in
7684 aros_target_arch
="linux"
7685 case "$target_cpu" in
7687 aros_target_cpu
="m68k"
7688 aros_object_format
="m68kelf"
7689 aros_flavour
="emulcompat"
7690 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__linux__"
7691 aros_shared_ldflags
="-Wl,-T,\$(TOP)/config/linux/m68k/script.so"
7692 aros_kernel_ldflags
="-Wl,-rpath,./lib,-T,\$(TOP)/config/linux/m68k/script.normal"
7693 gcc_target_cpu
="mc68000"
7696 aros_target_cpu
="i386"
7697 aros_object_format
="elf_i386"
7698 aros_flavour
="emulation"
7699 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__linux__"
7700 aros_default_wbdepth
=8
7701 gcc_target_cpu
="i386"
7704 aros_target_cpu
="x86_64"
7705 aros_object_format
="elf_x86_64"
7706 aros_flavour
="emulation"
7707 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dx86_64 -D__linux__"
7708 aros_default_wbdepth
=8
7709 gcc_target_cpu
="x86_64"
7712 aros_target_cpu
="ppc"
7713 aros_object_format
="elf32ppc"
7714 aros_flavour
="emulation"
7715 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc -D__linux__"
7716 aros_default_wbdepth
=8
7717 aros_compiler_libs
="-lgcc"
7718 gcc_target_cpu
="ppc"
7721 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Linux -- $target_cpu\"" >&5
7722 echo "$as_me: error: \"Unknown CPU for Linux -- $target_cpu\"" >&2;}
7723 { (exit 1); exit 1; }; }
7729 aros_target_arch
="pc"
7730 aros_shared_default
="no"
7731 case "$target_cpu" in
7733 aros_target_cpu
="i386"
7736 if test "$aros_object_format" = "" ; then
7737 aros_object_format
="elf_i386"
7739 aros_flavour
="standalone"
7740 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7741 aros_kernel_ldflags
=""
7742 aros_default_wbwidth
=640
7743 aros_default_wbheight
=480
7744 gcc_target_cpu
="i386"
7747 { { echo "$as_me:$LINENO: error: \"Unknown native CPU -- $target_cpu\"" >&5
7748 echo "$as_me: error: \"Unknown native CPU -- $target_cpu\"" >&2;}
7749 { (exit 1); exit 1; }; }
7755 aros_target_arch
="prep"
7756 aros_shared_default
="no"
7757 aros_target_cpu
="ppc"
7758 aros_object_format
="elf32ppc"
7759 aros_flavour
="ppcnative"
7760 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7761 aros_kernel_ldflags
=""
7762 aros_default_wbwidth
=640
7763 aros_default_wbheight
=480
7764 gcc_target_cpu
="ppc"
7765 case "$target_cpu" in
7767 aros_target_cc
="ppc-linux-gcc -pipe"
7768 aros_target_ld
="ppc-linux-ld"
7769 aros_target_as
="ppc-linux-as"
7770 aros_target_ar
="ppc-linux-ar"
7771 aros_target_ranlib
="ppc-linux-ranlib"
7772 aros_target_nm
="ppc-linux-nm"
7773 aros_target_strip
="ppc-linux-strip"
7774 aros_target_objcopy
="ppc-linux-objcopy"
7775 aros_target_objdump
="ppc-linux-objdump"
7776 aros_shared_ld
="ppc-linux-ld"
7777 aros_kernel_ld
="ppc-linux-ld"
7785 aros_target_arch
="freebsd"
7786 aros_target_cpu
="i386"
7787 aros_flavour
="emulation"
7788 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7789 gcc_target_cpu
="i386"
7795 aros_target_arch
="netbsd"
7796 case "$target_cpu" in
7798 aros_target_cpu
="m68k"
7799 aros_object_format
="m68kelf"
7800 aros_flavour
="emulcompat"
7801 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D__mc68000 -D__NetBSD__"
7802 gcc_target_cpu
="mc68000"
7805 aros_target_cpu
="i386"
7806 aros_object_format
="elf_i386"
7807 aros_flavour
="emulation"
7808 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__NetBSD__"
7809 aros_default_wbdepth
=8
7810 gcc_target_cpu
="i386"
7813 { { echo "$as_me:$LINENO: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&5
7814 echo "$as_me: error: \"Unknown CPU for NetBSD -- $target_cpu\"" >&2;}
7815 { (exit 1); exit 1; }; }
7818 aros_target_genmap
="-Wl,-M -Xlinker >"
7819 aros_flavour
="emulation"
7820 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386"
7824 aros_target_arch
="openbsd"
7825 case "$target_cpu" in
7827 aros_target_cpu
="i386"
7828 aros_object_format
="elf_i386"
7829 aros_flavour
="emulation"
7830 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__OpenBSD__"
7831 gcc_target_cpu
="i386"
7834 { { echo "$as_me:$LINENO: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&5
7835 echo "$as_me: error: \"Unknown CPU for OpenBSD -- $target_cpu\"" >&2;}
7836 { (exit 1); exit 1; }; }
7839 aros_target_genmap
="-Wl,-M -Xlinker >"
7840 aros_target_nm_flags
="-u"
7841 aros_flavour
="emulation"
7845 aros_target_arch
="solaris"
7846 case "$target_cpu" in
7848 aros_target_cpu
="sparc"
7849 aros_object_format
="elf_sparc"
7850 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dsparc -D__Solaris__"
7851 gcc_target_cpu
="sparc"
7854 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&5
7855 echo "$as_me: error: \"Unknown CPU for Solaris -- $target_cpu\"" >&2;}
7856 { (exit 1); exit 1; }; }
7859 aros_config_cflags
="$aros_config_cflags -D$aros_target_cpu"
7860 aros_flavour
="emulation"
7864 aros_target_arch
="morphos"
7865 aros_shared_default
="no"
7866 aros_target_cpu
="ppc"
7867 aros_object_format
="elf_ppc"
7868 aros_flavour
="nativecompat"
7869 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dppc"
7870 gcc_target_cpu
="ppc"
7874 aros_target_arch
="amiga"
7875 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -D_AMIGA -DAMIGA"
7876 aros_shared_default
="no"
7878 aros_config_cflags
="$aros_config_cflags -fomit-frame-pointer -fbuiltin -ffreestanding"
7880 case "$target_cpu" in
7882 aros_target_cpu
="m68k"
7883 aros_object_format
="m68kelf"
7884 aros_flavour
="nativecompat"
7885 gcc_target_cpu
="mc68000"
7889 aros_flavour
="native"
7890 gcc_target_cpu
="ppc"
7893 { { echo "$as_me:$LINENO: error: \"Unknown CPU for Amiga $target_cpu\"" >&5
7894 echo "$as_me: error: \"Unknown CPU for Amiga $target_cpu\"" >&2;}
7895 { (exit 1); exit 1; }; }
7901 aros_target_arch
="cygwin"
7902 aros_shared_default
="no"
7903 case "$target_cpu" in
7905 aros_target_cpu
="i386"
7906 aros_object_format
="elf_i386"
7907 aros_flavour
="emulation"
7908 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Di386 -D__CYGWIN32__"
7909 aros_shared_cflags
=""
7910 aros_default_wbdepth
=8
7911 gcc_target_cpu
="i386"
7914 { { echo "$as_me:$LINENO: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&5
7915 echo "$as_me: error: \"Unknown CPU for CygWin -- $target_cpu\"" >&2;}
7916 { (exit 1); exit 1; }; }
7921 aros_target_arch
="pp"
7922 aros_shared_default
="no"
7923 case "$target_cpu" in
7925 aros_target_cpu
="m68k"
7926 aros_object_format
="m68kelf"
7927 aros_flavour
="palmnative"
7928 aros_target_mkdep
="$aros_target_mkdep -D__GNUC__ -Dm68k"
7929 aros_kernel_ldflags
=""
7930 aros_default_wbwidth
=160
7931 aros_default_wbheight
=160
7932 aros_default_wbdepth
=1
7933 aros_target_cc
="m68k-elf-gcc -pipe"
7934 aros_target_ld
="$(which m68k-elf-ld)"
7935 aros_target_as
="m68k-elf-gcc -pipe"
7936 aros_shared_ld
="m68k-elf-gcc"
7937 aros_kernel_ld
="m68k-elf-gcc"
7938 aros_target_ar
="m68k-elf-ar"
7939 aros_target_ar_flags
="cru"
7940 aros_target_ranlib
="m68k-elf-ranlib"
7941 aros_target_nm
="m68k-elf-nm"
7942 aros_target_objcopy
="m68k-elf-objcopy"
7943 aros_target_objdump
="m68k-elf-objdump"
7944 aros_compiler_libs
="-lgcc1"
7945 aros_shared_default
=no
7946 aros_shared_cflags
="-fpic"
7947 aros_shared_aflags
=""
7948 aros_shared_ldflags
="-Wl,-rpath,./lib -shared"
7949 aros_kernel_ldflags
="-Wl,-rpath,./lib"
7950 aros_debug_cflags
="-Wall -Werror-implicit-function-declaration $aros_symbols_debug $aros_messages_debug -mc68000 -Wa,-mc68000"
7951 aros_debug_aflags
=""
7952 aros_debug_ldflags
="$aros_symbols_debug"
7953 aros_mungwall_debug
="0"
7954 aros_modules_debug
="0"
7955 gcc_target_cpu
="mc68000"
7956 ignore_undefined_symbols
="-ius"
7959 { { echo "$as_me:$LINENO: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&5
7960 echo "$as_me: error: \"Unknown CPU for PalmPilot -- $target_cpu\"" >&2;}
7961 { (exit 1); exit 1; }; }
7967 { { echo "$as_me:$LINENO: error: Unsupported target architecture $target" >&5
7968 echo "$as_me: error: Unsupported target architecture $target" >&2;}
7969 { (exit 1); exit 1; }; }
7973 aros_hostcfg_dir
="bin/${aros_host_arch}-${aros_host_cpu}/gen/config"
7974 aros_targetcfg_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/config"
7975 aros_inc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/AROS/Development/include/aros"
7976 aros_gendir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen"
7977 aros_geninc_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/include/aros"
7978 aros_tools_dir
="bin/${aros_host_arch}-${aros_host_cpu}/tools"
7979 aros_scripts_dir
="bin/${aros_target_arch}-${aros_target_cpu}${aros_target_suffix}/gen/scripts"
7981 # aros_cc_pre is a variable that is added to the front of the compiler name
7982 # in the generated aros-gcc shell script. We need this to enable the cache
7983 # to work across cleaned builds. Also, support DISTCC using the correct
7984 # environment variable.
7987 if test "x${DISTCC}" != "x" ; then
7988 if test "x${CCACHE}" != "x" ; then
7989 aros_cc_pre
="env CCACHE_PREFIX=${DISTCC} ${CCACHE} "
7991 aros_cc_pre
="${DISTCC} "
7994 if test "x${CCACHE}" != "x" ; then
7995 aros_cc_pre
="${CCACHE} "
7999 prefix
="${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
8001 TARGET_CC
="${prefix}-gcc"
8002 TARGET_AS
="$TARGET_CC"
8003 TARGET_LD
="${prefix}-ld"
8004 aros_target_ld
="${prefix}-ld"
8006 NOSTDINC_CFLAGS
=-nostdinc
8008 NOSTARTUP_LDFLAGS
=-nostartfiles
8010 DETACH_LDFLAGS
=-detach
8011 NOSTDLIB_LDFLAGS
=-nostdlib
8013 if test "$cross_compile" = "yes" ; then
8014 # Extract the first word of "$aros_shared_ld", so it can be a program name with args.
8015 set dummy
$aros_shared_ld; ac_word
=$2
8016 echo "$as_me:$LINENO: checking for $ac_word" >&5
8017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8018 if test "${ac_cv_path_SHARED_LD+set}" = set; then
8019 echo $ECHO_N "(cached) $ECHO_C" >&6
8023 ac_cv_path_SHARED_LD
="$SHARED_LD" # Let the user override the test with a path.
8026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8030 test -z "$as_dir" && as_dir
=.
8031 for ac_exec_ext
in '' $ac_executable_extensions; do
8032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8033 ac_cv_path_SHARED_LD
="$as_dir/$ac_word$ac_exec_ext"
8034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8040 test -z "$ac_cv_path_SHARED_LD" && ac_cv_path_SHARED_LD
="$aros_shared_ld"
8044 SHARED_LD
=$ac_cv_path_SHARED_LD
8046 if test -n "$SHARED_LD"; then
8047 echo "$as_me:$LINENO: result: $SHARED_LD" >&5
8048 echo "${ECHO_T}$SHARED_LD" >&6
8050 echo "$as_me:$LINENO: result: no" >&5
8051 echo "${ECHO_T}no" >&6
8055 SHARED_LD
="$aros_shared_ld"
8059 if test "$cross_compile" = "yes" ; then
8060 # Extract the first word of "$aros_kernel_ld", so it can be a program name with args.
8061 set dummy
$aros_kernel_ld; ac_word
=$2
8062 echo "$as_me:$LINENO: checking for $ac_word" >&5
8063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8064 if test "${ac_cv_path_KERNEL_LD+set}" = set; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8069 ac_cv_path_KERNEL_LD
="$KERNEL_LD" # Let the user override the test with a path.
8072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8076 test -z "$as_dir" && as_dir
=.
8077 for ac_exec_ext
in '' $ac_executable_extensions; do
8078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8079 ac_cv_path_KERNEL_LD
="$as_dir/$ac_word$ac_exec_ext"
8080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8086 test -z "$ac_cv_path_KERNEL_LD" && ac_cv_path_KERNEL_LD
="$aros_kernel_ld"
8090 KERNEL_LD
=$ac_cv_path_KERNEL_LD
8092 if test -n "$KERNEL_LD"; then
8093 echo "$as_me:$LINENO: result: $KERNEL_LD" >&5
8094 echo "${ECHO_T}$KERNEL_LD" >&6
8096 echo "$as_me:$LINENO: result: no" >&5
8097 echo "${ECHO_T}no" >&6
8101 KERNEL_LD
="$aros_kernel_ld"
8107 aros_target_ar
=${prefix}-ar
8108 aros_target_ar_flags
="cr"
8109 aros_target_nm
=${prefix}-nm
8110 aros_target_nm_flags
="-C -ul"
8111 aros_target_objcopy
=${prefix}-objcopy
8112 aros_target_objdump
=${prefix}-objdump
8113 aros_target_ranlib
=${prefix}-ranlib
8114 aros_target_strip
="${prefix}-strip --strip-unneeded -R.comment"
8116 prefix
="\$(TOOLDIR)/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros"
8117 AR
="${prefix}-ar $aros_target_ar_flags"
8118 RANLIB
="${prefix}-ranlib $aros_target_ranlib_flags"
8119 NM
="${prefix}-nm $aros_target_nm_flags"
8120 NM_PLAIN
="${prefix}-nm"
8121 STRIP
="${prefix}-strip $aros_target_strip_flags"
8122 OBJDUMP
="${prefix}-objdump"
8123 OBJCOPY
="${prefix}-objcopy"
8142 #-----------------------------------------------------------------------------
8143 # See if we can compile SHM support
8145 if [ "x$no_x" != "xyes" -a "x$ac_cv_header_sys_ipc_h" = "xyes" -a "x$ac_cv_header_sys_shm_h" = "xyes" ]; then
8146 echo "$as_me:$LINENO: checking whether the X11 MIT-SHM extension can be compiled in" >&5
8147 echo $ECHO_N "checking whether the X11 MIT-SHM extension can be compiled in... $ECHO_C" >&6
8148 if test -z "$x_includes" ; then
8151 CFLAGS
="-I $x_includes"
8153 LIBS
="-L/usr/X11/lib -L/usr/X11R6/lib -lX11 -lXext"
8154 cat >conftest.
$ac_ext <<_ACEOF
8157 cat confdefs.h
>>conftest.
$ac_ext
8158 cat >>conftest.
$ac_ext <<_ACEOF
8159 /* end confdefs.h. */
8161 #include <sys/types.h>
8162 #include <X11/Xlib.h>
8163 #include <X11/Xutil.h>
8164 #include <X11/keysym.h>
8165 #include <X11/cursorfont.h>
8166 #include <sys/ipc.h>
8167 #include <sys/shm.h>
8168 #include <X11/extensions/XShm.h>
8173 static XShmSegmentInfo shminfo;
8174 static Display *display;
8175 XShmAttach(display, &shminfo);
8177 shmctl(shminfo.shmid, IPC_RMID, 0);
8183 rm -f conftest.
$ac_objext conftest
$ac_exeext
8184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8185 (eval $ac_link) 2>conftest.er1
8187 grep -v '^ *+' conftest.er1
>conftest.err
8189 cat conftest.err
>&5
8190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8191 (exit $ac_status); } &&
8192 { ac_try
='test -z "$ac_c_werror_flag"
8193 || test ! -s conftest.err'
8194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); }; } &&
8199 { ac_try
='test -s conftest$ac_exeext'
8200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; }; then
8206 echo "$as_me:$LINENO: result: yes" >&5
8207 echo "${ECHO_T}yes" >&6
8209 echo "$as_me: failed program was:" >&5
8210 sed 's/^/| /' conftest.
$ac_ext >&5
8213 echo "$as_me:$LINENO: result: no" >&5
8214 echo "${ECHO_T}no" >&6
8216 rm -f conftest.err conftest.
$ac_objext \
8217 conftest
$ac_exeext conftest.
$ac_ext
8221 # Find the system include path. We can suggest that an alternative is
8222 # used if we don't get it correct. The default is to use /usr/include.
8223 # Which is set in the aros_target_incl_def variable.
8225 # Check whether --enable-includes or --disable-includes was given.
8226 if test "${enable_includes+set}" = set; then
8227 enableval
="$enable_includes"
8228 aros_target_incl
=$enable_includes
8230 aros_target_incl
=$aros_target_incl_def
8233 echo "$as_me:$LINENO: checking for the target compiler's include path" >&5
8234 echo $ECHO_N "checking for the target compiler's include path... $ECHO_C" >&6
8235 if test "$aros_target_cc_includes" = "" ; then
8236 #try to guess where the directory is
8237 aros_target_cc_includes
=`dirname \`${aros_target_cc} -print-libgcc-file-name\
``/include
8238 if ! test -d $aros_target_cc_includes; then
8239 #the directory doesn't exist, we need to do some more work
8240 aros_target_cc_includes
=${PWD}/${aros_gendir}/cc_include
8242 #these are the headers we're looling for
8243 headers
="limits.h mmintrin.h stdbool.h syslimits.h float.h \
8244 stddef.h xmmintrin.h iso646.h stdarg.h unwind.h \
8248 for h
in $headers; do
8249 #which other headers each of the above headers needs?
8250 deps
=$
(echo "#include <$h>" | \
8251 $aros_host_cc -E -M - 2>/dev
/null | \
8252 sed 's/^.*://; s/\\$/ /g; s/[ \t]\+/ /g')
8254 #copy all the needed headers to a directory beneath gendir
8257 dir
=${aros_target_cc_includes}$
(echo $
(dirname $d) | \
8258 sed -n "s,^.*/include\(/.*\),\1,p")
8259 ! test -d $dir && mkdir
-p $dir
8260 ! test -f $dir/$h && { cp $d $dir; chmod u
+w
$dir/$h; }
8265 echo "$as_me:$LINENO: result: $aros_target_cc_includes" >&5
8266 echo "${ECHO_T}$aros_target_cc_includes" >&6
8268 echo "$as_me:$LINENO: checking for default resolution of WBScreen" >&5
8269 echo $ECHO_N "checking for default resolution of WBScreen... $ECHO_C" >&6
8271 # Check whether --with-resolution or --without-resolution was given.
8272 if test "${with_resolution+set}" = set; then
8273 withval
="$with_resolution"
8278 # We require an argument, so map --with/--without ("yes"/"no") to "none" specified
8279 if test "$resolution" = "yes" ; then
8282 if test "$resolution" = "no" ; then
8285 if test "$resolution" != "none" ; then
8286 aros_default_wbwidth
=`echo $resolution | cut -d'x' -f1`
8287 aros_default_wbheight
=`echo $resolution | cut -d'x' -f2`
8288 aros_default_wbdepth
=`echo $resolution | cut -d'x' -f3`
8290 echo "$as_me:$LINENO: result: $aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&5
8291 echo "${ECHO_T}$aros_default_wbwidth x $aros_default_wbheight x $aros_default_wbdepth" >&6
8292 aros_cv_default_wbwidth
=$aros_default_wbwidth
8293 aros_cv_default_wbheight
=$aros_default_wbheight
8294 aros_cv_default_wbdepth
=$aros_default_wbdepth
8296 echo "$as_me:$LINENO: checking if bochs hack is enabled" >&5
8297 echo $ECHO_N "checking if bochs hack is enabled... $ECHO_C" >&6
8298 # Check whether --enable-bochs_hack or --disable-bochs_hack was given.
8299 if test "${enable_bochs_hack+set}" = set; then
8300 enableval
="$enable_bochs_hack"
8305 if test "$bochs_hack" = "yes" ; then
8308 echo "$as_me:$LINENO: result: $bochs_hack" >&5
8309 echo "${ECHO_T}$bochs_hack" >&6
8311 echo "$as_me:$LINENO: checking if serial debug is enabled" >&5
8312 echo $ECHO_N "checking if serial debug is enabled... $ECHO_C" >&6
8314 # Check whether --with-serial-debug or --without-serial-debug was given.
8315 if test "${with_serial_debug+set}" = set; then
8316 withval
="$with_serial_debug"
8317 serial_debug
=$withval
8321 if test "$serial_debug" = "yes" ; then
8324 if test "$serial_debug" = "no" ; then
8327 if test "$serial_debug" != "none" ; then
8328 aros_serial_debug
=$serial_debug
8329 echo "$as_me:$LINENO: result: on port $serial_debug" >&5
8330 echo "${ECHO_T}on port $serial_debug" >&6
8332 echo "$as_me:$LINENO: result: no" >&5
8333 echo "${ECHO_T}no" >&6
8336 echo "$as_me:$LINENO: checking if palm debug hack is enabled" >&5
8337 echo $ECHO_N "checking if palm debug hack is enabled... $ECHO_C" >&6
8338 # Check whether --enable-palm_debug_hack or --disable-palm_debug_hack was given.
8339 if test "${enable_palm_debug_hack+set}" = set; then
8340 enableval
="$enable_palm_debug_hack"
8341 palm_debug_hack
="yes"
8343 palm_debug_hack
="no"
8345 if test "$palm_debug_hack" = "yes" ; then
8346 aros_palm_debug_hack
="1"
8348 echo "$as_me:$LINENO: result: $palm_debug_hack" >&5
8349 echo "${ECHO_T}$palm_debug_hack" >&6
8352 echo "$as_me:$LINENO: checking if nesting supervisor support is enabled" >&5
8353 echo $ECHO_N "checking if nesting supervisor support is enabled... $ECHO_C" >&6
8354 # Check whether --enable-nesting_supervisor or --disable-nesting_supervisor was given.
8355 if test "${enable_nesting_supervisor+set}" = set; then
8356 enableval
="$enable_nesting_supervisor"
8357 nesting_supervisor
="yes"
8359 nesting_supervisor
="no"
8361 if test "$nesting_supervisor" = "yes" ; then
8362 aros_nesting_supervisor
="1"
8364 echo "$as_me:$LINENO: result: $nesting_supervisor" >&5
8365 echo "${ECHO_T}$nesting_supervisor" >&6
8369 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
8370 echo "$as_me:$LINENO: checking if X11 MIT-SHM extension is enabled" >&5
8371 echo $ECHO_N "checking if X11 MIT-SHM extension is enabled... $ECHO_C" >&6
8372 # Check whether --enable-xshm_extension or --disable-xshm_extension was given.
8373 if test "${enable_xshm_extension+set}" = set; then
8374 enableval
="$enable_xshm_extension"
8375 xshm_extension
="$enableval"
8377 xshm_extension
="yes"
8379 if test "$xshm_extension" = "no" ; then
8382 echo "$as_me:$LINENO: result: $xshm_extension" >&5
8383 echo "${ECHO_T}$xshm_extension" >&6
8390 echo "$as_me:$LINENO: checking if building of dbus.library is enabled" >&5
8391 echo $ECHO_N "checking if building of dbus.library is enabled... $ECHO_C" >&6
8392 # Check whether --enable-dbus or --disable-dbus was given.
8393 if test "${enable_dbus+set}" = set; then
8394 enableval
="$enable_dbus"
8399 if test "$dbus" = "yes" ; then
8401 DBUS_CFLAGS
=`pkg-config --cflags dbus-1`
8402 DBUS_LIBFLAGS
=`pkg-config --libs dbus-1`
8403 KERNEL_DBUS_KOBJ
=kernel-dbus-kobj
8404 KERNEL_DBUS_INCLUDES
=kernel-dbus-includes
8408 echo "$as_me:$LINENO: result: $dbus" >&5
8409 echo "${ECHO_T}$dbus" >&6
8479 # Native version related
8483 # Palm native version related
8486 # Unix/Hosted version related
8502 # Collect-aros stuff: "-ius" to ignore undefined symbols
8505 # C compiler related
8508 case "$aros_flavour" in
8509 emulation
) aros_flavour_uc
="AROS_FLAVOUR_EMULATION"
8510 aros_flavour
="emulation" ;;
8511 emulcompat
) aros_flavour_uc
="(AROS_FLAVOUR_EMULATION|AROS_FLAVOUR_BINCOMPAT)"
8512 aros_flavour
="emulation" ;;
8513 standalone
) aros_flavour_uc
="AROS_FLAVOUR_STANDALONE"
8514 aros_flavour
="standalone";;
8515 native
) aros_flavour_uc
="AROS_FLAVOUR_NATIVE"
8516 aros_flavour
="native" ;;
8517 nativecompat
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
8518 aros_flavour
="native" ;;
8519 linklib
) aros_flavour_uc
="AROS_FLAVOUR_LINKLIB"
8520 aros_flavour
="linklib" ;;
8521 palmnative
) aros_flavour_uc
="(AROS_FLAVOUR_STANDALONE|AROS_FLAVOUR_EMULATION)"
8522 aros_flavour
="palmnative" ;;
8523 ppcnative
) aros_flavour_uc
="(AROS_FLAVOUR_NATIVE|AROS_FLAVOUR_BINCOMPAT)"
8524 aros_flavour
="ppcnative" ;;
8527 if test -z "$aros_gui_basedir" ; then
8528 aros_gui_libdir
="$x_libraries"
8529 if test -z "$x_libraries" ; then
8532 aros_gui_ldflags
="-L $x_libraries"
8534 if test "$HAVE_XSHM_SUPPORT" = "1" ; then
8535 aros_gui_libflags
="-lX11 -lXext"
8537 aros_gui_libflags
="-lX11"
8539 aros_gui_incdir
="$x_includes"
8540 if test -z "$x_includes" ; then
8543 aros_gui_ccflags
="-I $x_includes"
8546 if test -n "$aros_gui_basedir" ; then
8547 aros_gui_libdir
="${aros_gui_basedir}/lib"
8548 aros_gui_incdir
="${aros_gui_basedir}/include"
8551 if test -n "$aros_gui_libdir" ; then
8552 aros_gui_ldflags
="-L ${aros_gui_libdir}"
8555 if test -n "$aros_gui_incdir" ; then
8556 aros_gui_ccflags
="-I ${aros_gui_incdir}"
8558 aros_gui_incdir
="${aros_sysincludes}"
8563 if test ! -d ${aros_inc_dir} ; then
8564 ${MKDIR} ${aros_inc_dir}
8566 if test ! -d ${aros_geninc_dir} ; then
8567 ${MKDIR} ${aros_geninc_dir}
8569 if test ! -d ${aros_hostcfg_dir} ; then
8570 ${MKDIR} ${aros_hostcfg_dir}
8572 if test ! -d ${aros_targetcfg_dir} ; then
8573 ${MKDIR} ${aros_targetcfg_dir}
8575 if test ! -d ${aros_tools_dir} ; then
8576 ${MKDIR} ${aros_tools_dir}
8578 if test ! -d ${aros_scripts_dir} ; then
8579 ${MKDIR} ${aros_scripts_dir}
8582 ac_config_headers
="$ac_config_headers ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in"
8585 ac_config_commands
="$ac_config_commands compiler_executable"
8587 ac_config_commands
="$ac_config_commands genshared_executable"
8589 ac_config_commands
="$ac_config_commands genmf_executable"
8591 ac_config_commands
="$ac_config_commands adflib_myaros.conf_executable"
8594 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"
8597 cat >confcache
<<\_ACEOF
8598 # This file is a shell script that caches the results of configure
8599 # tests run on this system so they can be shared between configure
8600 # scripts and configure runs, see configure's option --config-cache.
8601 # It is not useful on other systems. If it contains results you don't
8602 # want to keep, you may remove or edit it.
8604 # config.status only pays attention to the cache file if you give it
8605 # the --recheck option to rerun configure.
8607 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8608 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8613 # The following way of writing the cache mishandles newlines in values,
8614 # but we know of no workaround that is simple, portable, and efficient.
8615 # So, don't put newlines in cache variables' values.
8616 # Ultrix sh set writes to stderr and can't be redirected directly,
8617 # and sets the high bit in the cache file unless we assign to the vars.
8620 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8622 # `set' does not quote correctly, so add quotes (double-quote
8623 # substitution turns \\\\ into \\, and sed turns \\ into \).
8626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8629 # `set' quotes correctly as required by POSIX, so do not add quotes.
8631 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8638 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8640 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8642 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
8643 if test -w $cache_file; then
8644 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
8645 cat confcache
>$cache_file
8647 echo "not updating unwritable cache $cache_file"
8652 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8653 # Let make expand exec_prefix.
8654 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8656 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8657 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8658 # trailing colons and then remove the whole line if VPATH becomes empty
8659 # (actually we leave an empty line to preserve line numbers).
8660 if test "x$srcdir" = x.
; then
8661 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
8662 s/:*\$(srcdir):*/:/;
8663 s/:*\${srcdir}:*/:/;
8665 s/^\([^=]*=[ ]*\):*/\1/;
8671 DEFS
=-DHAVE_CONFIG_H
8675 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8676 # 1. Remove the extension, and $U if already installed.
8677 ac_i
=`echo "$ac_i" |
8678 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
8680 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
8681 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
8685 LTLIBOBJS
=$ac_ltlibobjs
8689 : ${CONFIG_STATUS=./config.status}
8690 ac_clean_files_save
=$ac_clean_files
8691 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8692 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8693 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8694 cat >$CONFIG_STATUS <<_ACEOF
8696 # Generated by $as_me.
8697 # Run this file to recreate the current configuration.
8698 # Compiler output produced by configure, useful for debugging
8699 # configure, is in config.log if it exists.
8704 SHELL=\${CONFIG_SHELL-$SHELL}
8707 cat >>$CONFIG_STATUS <<\_ACEOF
8708 ## --------------------- ##
8709 ## M4sh Initialization. ##
8710 ## --------------------- ##
8712 # Be Bourne compatible
8713 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8716 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8717 # is contrary to our usage. Disable this feature.
8718 alias -g '${1+"$@"}'='"$@"'
8719 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
8722 DUALCASE
=1; export DUALCASE
# for MKS sh
8724 # Support unset when possible.
8725 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8732 # Work around bugs in pre-3.0 UWIN ksh.
8733 $as_unset ENV MAIL MAILPATH
8740 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8741 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8742 LC_TELEPHONE LC_TIME
8744 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8745 eval $as_var=C
; export $as_var
8751 # Required to use basename.
8752 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8758 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
8759 as_basename
=basename
8765 # Name of the executable.
8766 as_me
=`$as_basename "$0" ||
8767 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8768 X"$0" : 'X\(//\)$' \| \
8769 X"$0" : 'X\(/\)$' \| \
8770 . : '\(.\)' 2>/dev/null ||
8772 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
8773 /^X\/\(\/\/\)$/{ s//\1/; q; }
8774 /^X\/\(\/\).*/{ s//\1/; q; }
8778 # PATH needs CR, and LINENO needs CR and PATH.
8779 # Avoid depending upon Character Ranges.
8780 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8781 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8782 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8783 as_cr_digits
='0123456789'
8784 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8786 # The user is always right.
8787 if test "${PATH_SEPARATOR+set}" != set; then
8788 echo "#! /bin/sh" >conf$$.sh
8789 echo "exit 0" >>conf$$.sh
8791 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8802 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
8803 test "x$as_lineno_1" != "x$as_lineno_2" &&
8804 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
8805 # Find who we are. Look in the path if we contain no path at all
8808 *[\\/]* ) as_myself
=$0 ;;
8809 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8813 test -z "$as_dir" && as_dir
=.
8814 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8819 # We did not find ourselves, most probably we were run as `sh COMMAND'
8820 # in which case we are not to be found in the path.
8821 if test "x$as_myself" = x
; then
8824 if test ! -f "$as_myself"; then
8825 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
8826 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
8827 { (exit 1); exit 1; }; }
8829 case $CONFIG_SHELL in
8831 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8832 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
8835 test -z "$as_dir" && as_dir
=.
8836 for as_base
in sh bash ksh sh5
; do
8839 if ("$as_dir/$as_base" -c '
8842 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
8843 test "x$as_lineno_1" != "x$as_lineno_2" &&
8844 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
8845 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
8846 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
8847 CONFIG_SHELL
=$as_dir/$as_base
8849 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8857 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8858 # uniformly replaced by the line number. The first 'sed' inserts a
8859 # line-number line before each line; the second 'sed' does the real
8860 # work. The second script uses 'N' to pair each line-number line
8861 # with the numbered line, and appends trailing '-' during
8862 # substitution so that $LINENO is not a special case at line end.
8863 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8864 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
8865 sed '=' <$as_myself |
8870 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8873 s,^['$as_cr_digits']*\n,,
8875 chmod +x
$as_me.lineno ||
8876 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
8877 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8878 { (exit 1); exit 1; }; }
8880 # Don't try to exec as it changes $[0], causing all sort of problems
8881 # (the dirname of $[0] is not the place where we might find the
8882 # original and so on. Autoconf is especially sensible to this).
8884 # Exit status is that of the last command.
8889 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
8890 *c
*,-n*) ECHO_N
= ECHO_C
='
8892 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
8893 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
8896 if expr a
: '\(a\)' >/dev
/null
2>&1; then
8902 rm -f conf$$ conf$$.exe conf$$.
file
8904 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8905 # We could just check for DJGPP; but this test a) works b) is more generic
8906 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
8907 if test -f conf$$.exe
; then
8908 # Don't use ln at all; we don't have any links
8913 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8918 rm -f conf$$ conf$$.exe conf$$.
file
8920 if mkdir
-p .
2>/dev
/null
; then
8923 test -d .
/-p && rmdir .
/-p
8927 as_executable_p
="test -f"
8929 # Sed expression to map a string onto a valid CPP name.
8930 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8932 # Sed expression to map a string onto a valid variable name.
8933 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8937 # We need space, tab and new line, in precisely that order.
8947 # Open the log real soon, to keep \$[0] and so on meaningful, and to
8948 # report actual input values of CONFIG_FILES etc. instead of their
8949 # values after options handling. Logging --version etc. is OK.
8953 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8954 ## Running $as_me. ##
8959 This file was extended by $as_me, which was
8960 generated by GNU Autoconf 2.59. Invocation command line was
8962 CONFIG_FILES = $CONFIG_FILES
8963 CONFIG_HEADERS = $CONFIG_HEADERS
8964 CONFIG_LINKS = $CONFIG_LINKS
8965 CONFIG_COMMANDS = $CONFIG_COMMANDS
8969 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
8973 # Files that config.status was made for.
8974 if test -n "$ac_config_files"; then
8975 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
8978 if test -n "$ac_config_headers"; then
8979 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8982 if test -n "$ac_config_links"; then
8983 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8986 if test -n "$ac_config_commands"; then
8987 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8990 cat >>$CONFIG_STATUS <<\_ACEOF
8993 \`$as_me' instantiates files from templates according to the
8994 current configuration.
8996 Usage: $0 [OPTIONS] [FILE]...
8998 -h, --help print this help, then exit
8999 -V, --version print version number, then exit
9000 -q, --quiet do not print progress messages
9001 -d, --debug don't remove temporary files
9002 --recheck update $as_me by reconfiguring in the same conditions
9003 --file=FILE[:TEMPLATE]
9004 instantiate the configuration file FILE
9005 --header=FILE[:TEMPLATE]
9006 instantiate the configuration header FILE
9008 Configuration files:
9011 Configuration headers:
9014 Configuration commands:
9017 Report bugs to <bug-autoconf@gnu.org>."
9020 cat >>$CONFIG_STATUS <<_ACEOF
9023 configured by $0, generated by GNU Autoconf 2.59,
9024 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
9026 Copyright (C) 2003 Free Software Foundation, Inc.
9027 This config.status script is free software; the Free Software Foundation
9028 gives unlimited permission to copy, distribute and modify it."
9032 cat >>$CONFIG_STATUS <<\_ACEOF
9033 # If no file are specified by the user, then we need to provide default
9034 # value. By we need to know if files were specified by the user.
9040 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
9041 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
9049 *) # This is not an option, so the user has probably given explicit
9052 ac_need_defaults
=false
;;
9056 # Handling of the options.
9058 cat >>$CONFIG_STATUS <<\_ACEOF
9059 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9061 --version |
--vers* |
-V )
9062 echo "$ac_cs_version"; exit 0 ;;
9064 # Conflict between --help and --header
9065 { { echo "$as_me:$LINENO: error: ambiguous option: $1
9066 Try \`$0 --help' for more information." >&5
9067 echo "$as_me: error: ambiguous option: $1
9068 Try \`$0 --help' for more information." >&2;}
9069 { (exit 1); exit 1; }; };;
9070 --help |
--hel |
-h )
9071 echo "$ac_cs_usage"; exit 0 ;;
9072 --debug |
--d* |
-d )
9074 --file |
--fil |
--fi |
--f )
9076 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9077 ac_need_defaults
=false
;;
9078 --header |
--heade |
--head |
--hea )
9080 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9081 ac_need_defaults
=false
;;
9082 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9083 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9087 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
9088 Try \`$0 --help' for more information." >&5
9089 echo "$as_me: error: unrecognized option: $1
9090 Try \`$0 --help' for more information." >&2;}
9091 { (exit 1); exit 1; }; } ;;
9093 *) ac_config_targets
="$ac_config_targets $1" ;;
9099 ac_configure_extra_args
=
9101 if $ac_cs_silent; then
9103 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9107 cat >>$CONFIG_STATUS <<_ACEOF
9108 if \$ac_cs_recheck; then
9109 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9110 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9115 cat >>$CONFIG_STATUS <<_ACEOF
9117 # INIT-COMMANDS section.
9121 aros_tools_dir=${aros_tools_dir}
9122 aros_target_cpu=${aros_target_cpu}
9123 aros_target_arch=${aros_target_arch}
9124 aros_target_suffix=${aros_target_suffix}
9125 aros_target_nm_ln=${aros_target_nm_ln}
9126 aros_target_ar_ln=${aros_target_ar_ln}
9127 aros_target_ranlib_ln=${aros_target_ranlib_ln}
9128 aros_target_objdump_ln=${aros_target_objdump_ln}
9129 aros_target_objcopy_ln=${aros_target_objcopy_ln}
9130 aros_target_strip_ln=${aros_target_strip_ln}
9133 aros_scripts_dir=${aros_scripts_dir}
9135 aros_tools_dir=${aros_tools_dir}
9142 cat >>$CONFIG_STATUS <<\_ACEOF
9143 for ac_config_target
in $ac_config_targets
9145 case "$ac_config_target" in
9146 # Handling of arguments.
9147 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9148 "rom/mmakefile" ) CONFIG_FILES
="$CONFIG_FILES rom/mmakefile" ;;
9149 "${aros_inc_dir}/config.h" ) CONFIG_FILES
="$CONFIG_FILES ${aros_inc_dir}/config.h:config/config.h.in" ;;
9150 "${aros_geninc_dir}/config.h" ) CONFIG_FILES
="$CONFIG_FILES ${aros_geninc_dir}/config.h:config/config.h.in" ;;
9151 "${aros_hostcfg_dir}/host.cfg" ) CONFIG_FILES
="$CONFIG_FILES ${aros_hostcfg_dir}/host.cfg:config/host.cfg.in" ;;
9152 "${aros_targetcfg_dir}/target.cfg" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/target.cfg:config/target.cfg.in" ;;
9153 "mmake.config" ) CONFIG_FILES
="$CONFIG_FILES mmake.config" ;;
9154 "${aros_targetcfg_dir}/make.defaults" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/make.defaults:config/make.defaults.in" ;;
9155 "${aros_targetcfg_dir}/specs" ) CONFIG_FILES
="$CONFIG_FILES ${aros_targetcfg_dir}/specs:config/specs.in" ;;
9156 "${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" ;;
9157 "${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" ;;
9158 "${aros_scripts_dir}/genshared" ) CONFIG_FILES
="$CONFIG_FILES ${aros_scripts_dir}/genshared:compiler/c_lib/source/lib_source/genshared.in" ;;
9159 "${aros_tools_dir}/genmf.py" ) CONFIG_FILES
="$CONFIG_FILES ${aros_tools_dir}/genmf.py:tools/genmf/genmf.py" ;;
9160 "tools/adflib/myconf.aros" ) CONFIG_FILES
="$CONFIG_FILES tools/adflib/myconf.aros" ;;
9161 "compiler_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS compiler_executable" ;;
9162 "genshared_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS genshared_executable" ;;
9163 "genmf_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS genmf_executable" ;;
9164 "adflib_myaros.conf_executable" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS adflib_myaros.conf_executable" ;;
9165 "${aros_geninc_dir}/host-conf.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS ${aros_geninc_dir}/host-conf.h:config/host-conf.h.in" ;;
9166 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9167 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9168 { (exit 1); exit 1; }; };;
9172 # If the user did not use the arguments to specify the items to instantiate,
9173 # then the envvar interface is used. Set only those that are not.
9174 # We use the long form for the default assignment because of an extremely
9175 # bizarre bug on SunOS 4.1.3.
9176 if $ac_need_defaults; then
9177 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9178 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9179 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9182 # Have a temporary directory for convenience. Make it in the build tree
9183 # simply because there is no reason to put it here, and in addition,
9184 # creating and moving files from /tmp can sometimes cause problems.
9185 # Create a temporary directory, and hook for its removal unless debugging.
9188 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
9189 trap '{ (exit 1); exit 1; }' 1 2 13 15
9192 # Create a (secure) tmp directory for tmp files.
9195 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
9196 test -n "$tmp" && test -d "$tmp"
9199 tmp
=.
/confstat$$
-$RANDOM
9200 (umask 077 && mkdir
$tmp)
9203 echo "$me: cannot create a temporary directory in ." >&2
9204 { (exit 1); exit 1; }
9209 cat >>$CONFIG_STATUS <<_ACEOF
9212 # CONFIG_FILES section.
9215 # No need to generate the scripts if there are no CONFIG_FILES.
9216 # This happens for instance when ./config.status config.h
9217 if test -n "\$CONFIG_FILES"; then
9218 # Protect against being on the right side of a sed subst in config.status.
9219 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
9220 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
9221 s,@SHELL@,$SHELL,;t t
9222 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
9223 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
9224 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
9225 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
9226 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
9227 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
9228 s,@exec_prefix@,$exec_prefix,;t t
9229 s,@prefix@,$prefix,;t t
9230 s,@program_transform_name@,$program_transform_name,;t t
9231 s,@bindir@,$bindir,;t t
9232 s,@sbindir@,$sbindir,;t t
9233 s,@libexecdir@,$libexecdir,;t t
9234 s,@datadir@,$datadir,;t t
9235 s,@sysconfdir@,$sysconfdir,;t t
9236 s,@sharedstatedir@,$sharedstatedir,;t t
9237 s,@localstatedir@,$localstatedir,;t t
9238 s,@libdir@,$libdir,;t t
9239 s,@includedir@,$includedir,;t t
9240 s,@oldincludedir@,$oldincludedir,;t t
9241 s,@infodir@,$infodir,;t t
9242 s,@mandir@,$mandir,;t t
9243 s,@build_alias@,$build_alias,;t t
9244 s,@host_alias@,$host_alias,;t t
9245 s,@target_alias@,$target_alias,;t t
9247 s,@ECHO_C@,$ECHO_C,;t t
9248 s,@ECHO_N@,$ECHO_N,;t t
9249 s,@ECHO_T@,$ECHO_T,;t t
9251 s,@build@,$build,;t t
9252 s,@build_cpu@,$build_cpu,;t t
9253 s,@build_vendor@,$build_vendor,;t t
9254 s,@build_os@,$build_os,;t t
9256 s,@host_cpu@,$host_cpu,;t t
9257 s,@host_vendor@,$host_vendor,;t t
9258 s,@host_os@,$host_os,;t t
9260 s,@CFLAGS@,$CFLAGS,;t t
9261 s,@LDFLAGS@,$LDFLAGS,;t t
9262 s,@CPPFLAGS@,$CPPFLAGS,;t t
9263 s,@ac_ct_CC@,$ac_ct_CC,;t t
9264 s,@EXEEXT@,$EXEEXT,;t t
9265 s,@OBJEXT@,$OBJEXT,;t t
9268 s,@MMAKE@,$MMAKE,;t t
9269 s,@aros_host_ld@,$aros_host_ld,;t t
9270 s,@HOST_AR@,$HOST_AR,;t t
9271 s,@HOST_RANLIB@,$HOST_RANLIB,;t t
9276 s,@MKDIR@,$MKDIR,;t t
9277 s,@TOUCH@,$TOUCH,;t t
9282 s,@BISON@,$BISON,;t t
9283 s,@PNGTOPNM@,$PNGTOPNM,;t t
9284 s,@PPMTOILBM@,$PPMTOILBM,;t t
9285 s,@STRIP@,$STRIP,;t t
9287 s,@CHMOD@,$CHMOD,;t t
9288 s,@PYTHON@,$PYTHON,;t t
9289 s,@PYTHON_VERSION@,$PYTHON_VERSION,;t t
9290 s,@PYTHON_PREFIX@,$PYTHON_PREFIX,;t t
9291 s,@PYTHON_EXEC_PREFIX@,$PYTHON_EXEC_PREFIX,;t t
9292 s,@PYTHON_PLATFORM@,$PYTHON_PLATFORM,;t t
9293 s,@pythondir@,$pythondir,;t t
9294 s,@pkgpythondir@,$pkgpythondir,;t t
9295 s,@pyexecdir@,$pyexecdir,;t t
9296 s,@pkgpyexecdir@,$pkgpyexecdir,;t t
9300 s,@EGREP@,$EGREP,;t t
9301 s,@LIBOBJS@,$LIBOBJS,;t t
9302 s,@aros_target_ar_ln@,$aros_target_ar_ln,;t t
9303 s,@aros_target_nm_ln@,$aros_target_nm_ln,;t t
9304 s,@aros_target_objcopy_ln@,$aros_target_objcopy_ln,;t t
9305 s,@aros_target_objdump_ln@,$aros_target_objdump_ln,;t t
9306 s,@aros_target_ranlib_ln@,$aros_target_ranlib_ln,;t t
9307 s,@aros_target_strip_ln@,$aros_target_strip_ln,;t t
9308 s,@DISTCC@,$DISTCC,;t t
9309 s,@CCACHE@,$CCACHE,;t t
9310 s,@SHARED_LD@,$SHARED_LD,;t t
9311 s,@KERNEL_LD@,$KERNEL_LD,;t t
9312 s,@TARGET_CC@,$TARGET_CC,;t t
9313 s,@TARGET_AS@,$TARGET_AS,;t t
9314 s,@TARGET_LD@,$TARGET_LD,;t t
9315 s,@NOSTDINC_CFLAGS@,$NOSTDINC_CFLAGS,;t t
9316 s,@NOSTARTUP_LDFLAGS@,$NOSTARTUP_LDFLAGS,;t t
9317 s,@NIX_LDFLAGS@,$NIX_LDFLAGS,;t t
9318 s,@DETACH_LDFLAGS@,$DETACH_LDFLAGS,;t t
9319 s,@NOSTDLIB_LDFLAGS@,$NOSTDLIB_LDFLAGS,;t t
9320 s,@aros_cc_pre@,$aros_cc_pre,;t t
9322 s,@RANLIB@,$RANLIB,;t t
9324 s,@NM_PLAIN@,$NM_PLAIN,;t t
9325 s,@OBJDUMP@,$OBJDUMP,;t t
9326 s,@OBJCOPY@,$OBJCOPY,;t t
9327 s,@aros_arch@,$aros_arch,;t t
9328 s,@aros_cpu@,$aros_cpu,;t t
9329 s,@aros_flavour@,$aros_flavour,;t t
9330 s,@aros_flavour_uc@,$aros_flavour_uc,;t t
9331 s,@TOPDIR@,$TOPDIR,;t t
9332 s,@aros_host_arch@,$aros_host_arch,;t t
9333 s,@aros_host_cpu@,$aros_host_cpu,;t t
9334 s,@aros_host_cc@,$aros_host_cc,;t t
9335 s,@aros_host_make@,$aros_host_make,;t t
9336 s,@aros_host_cflags@,$aros_host_cflags,;t t
9337 s,@aros_host_ldflags@,$aros_host_ldflags,;t t
9338 s,@aros_host_debug@,$aros_host_debug,;t t
9339 s,@aros_host_mkdep@,$aros_host_mkdep,;t t
9340 s,@aros_host_mkargs@,$aros_host_mkargs,;t t
9341 s,@aros_host_exe_suffix@,$aros_host_exe_suffix,;t t
9342 s,@aros_host_lib_suffix@,$aros_host_lib_suffix,;t t
9343 s,@aros_tools_dir@,$aros_tools_dir,;t t
9344 s,@aros_target_arch@,$aros_target_arch,;t t
9345 s,@aros_target_cpu@,$aros_target_cpu,;t t
9346 s,@aros_target_variant@,$aros_target_variant,;t t
9347 s,@aros_target_suffix@,$aros_target_suffix,;t t
9348 s,@aros_target_incl@,$aros_target_incl,;t t
9349 s,@aros_target_cc@,$aros_target_cc,;t t
9350 s,@aros_target_cc_includes@,$aros_target_cc_includes,;t t
9351 s,@aros_target_cc_path@,$aros_target_cc_path,;t t
9352 s,@aros_target_objdump@,$aros_target_objdump,;t t
9353 s,@aros_target_objcopy@,$aros_target_objcopy,;t t
9354 s,@aros_target_strip@,$aros_target_strip,;t t
9355 s,@aros_target_as@,$aros_target_as,;t t
9356 s,@aros_target_nm@,$aros_target_nm,;t t
9357 s,@aros_shared_default@,$aros_shared_default,;t t
9358 s,@aros_object_format@,$aros_object_format,;t t
9359 s,@aros_compiler_libs@,$aros_compiler_libs,;t t
9360 s,@aros_config_cflags@,$aros_config_cflags,;t t
9361 s,@aros_config_aflags@,$aros_config_aflags,;t t
9362 s,@aros_target_ld@,$aros_target_ld,;t t
9363 s,@aros_config_ldflags@,$aros_config_ldflags,;t t
9364 s,@aros_shared_cflags@,$aros_shared_cflags,;t t
9365 s,@aros_shared_aflags@,$aros_shared_aflags,;t t
9366 s,@aros_shared_ldflags@,$aros_shared_ldflags,;t t
9367 s,@aros_kernel_ldflags@,$aros_kernel_ldflags,;t t
9368 s,@aros_debug_cflags@,$aros_debug_cflags,;t t
9369 s,@aros_debug_aflags@,$aros_debug_aflags,;t t
9370 s,@aros_debug_ldflags@,$aros_debug_ldflags,;t t
9371 s,@aros_target_genmap@,$aros_target_genmap,;t t
9372 s,@aros_gui_libdir@,$aros_gui_libdir,;t t
9373 s,@aros_gui_ldflags@,$aros_gui_ldflags,;t t
9374 s,@aros_gui_libflags@,$aros_gui_libflags,;t t
9375 s,@aros_gui_incdir@,$aros_gui_incdir,;t t
9376 s,@aros_gui_ccflags@,$aros_gui_ccflags,;t t
9377 s,@aros_default_wbwidth@,$aros_default_wbwidth,;t t
9378 s,@aros_default_wbheight@,$aros_default_wbheight,;t t
9379 s,@aros_default_wbdepth@,$aros_default_wbdepth,;t t
9380 s,@DO_XSHM_SUPPORT@,$DO_XSHM_SUPPORT,;t t
9381 s,@aros_bochs_hack@,$aros_bochs_hack,;t t
9382 s,@aros_serial_debug@,$aros_serial_debug,;t t
9383 s,@aros_palm_debug_hack@,$aros_palm_debug_hack,;t t
9384 s,@aros_nesting_supervisor@,$aros_nesting_supervisor,;t t
9385 s,@ENABLE_DBUS@,$ENABLE_DBUS,;t t
9386 s,@DBUS_CFLAGS@,$DBUS_CFLAGS,;t t
9387 s,@DBUS_LIBFLAGS@,$DBUS_LIBFLAGS,;t t
9388 s,@KERNEL_DBUS_KOBJ@,$KERNEL_DBUS_KOBJ,;t t
9389 s,@KERNEL_DBUS_INCLUDES@,$KERNEL_DBUS_INCLUDES,;t t
9390 s,@aros_debug@,$aros_debug,;t t
9391 s,@aros_mungwall_debug@,$aros_mungwall_debug,;t t
9392 s,@aros_stack_debug@,$aros_stack_debug,;t t
9393 s,@aros_modules_debug@,$aros_modules_debug,;t t
9394 s,@ignore_undefined_symbols@,$ignore_undefined_symbols,;t t
9395 s,@gcc_target_cpu@,$gcc_target_cpu,;t t
9396 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
9401 cat >>$CONFIG_STATUS <<\_ACEOF
9402 # Split the substitutions into bite-sized pieces for seds with
9403 # small command number limits, like on Digital OSF/1 and HP-UX.
9405 ac_sed_frag
=1 # Number of current file.
9406 ac_beg
=1 # First line for current file.
9407 ac_end
=$ac_max_sed_lines # Line after last line for current file.
9410 while $ac_more_lines; do
9411 if test $ac_beg -gt 1; then
9412 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9414 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
9416 if test ! -s $tmp/subs.frag
; then
9419 # The purpose of the label and of the branching condition is to
9420 # speed up the sed processing (if there are no `@' at all, there
9421 # is no need to browse any of the substitutions).
9422 # These are the two extra sed commands mentioned above.
9424 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
9425 if test -z "$ac_sed_cmds"; then
9426 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
9428 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
9430 ac_sed_frag
=`expr $ac_sed_frag + 1`
9432 ac_end
=`expr $ac_end + $ac_max_sed_lines`
9435 if test -z "$ac_sed_cmds"; then
9438 fi # test -n "$CONFIG_FILES"
9441 cat >>$CONFIG_STATUS <<\_ACEOF
9442 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
9443 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9445 - |
*:- |
*:-:* ) # input from stdin
9447 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9448 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9449 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9450 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9451 * ) ac_file_in
=$ac_file.
in ;;
9454 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
9455 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9456 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9457 X"$ac_file" : 'X\(//\)[^/]' \| \
9458 X"$ac_file" : 'X\(//\)$' \| \
9459 X"$ac_file" : 'X\(/\)' \| \
9460 . : '\(.\)' 2>/dev/null ||
9462 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9463 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9464 /^X\(\/\/\)$/{ s//\1/; q; }
9465 /^X\(\/\).*/{ s//\1/; q; }
9467 { if $as_mkdir_p; then
9472 while test ! -d "$as_dir"; do
9473 as_dirs
="$as_dir $as_dirs"
9474 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9475 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9476 X"$as_dir" : 'X\(//\)[^/]' \| \
9477 X"$as_dir" : 'X\(//\)$' \| \
9478 X"$as_dir" : 'X\(/\)' \| \
9479 . : '\(.\)' 2>/dev/null ||
9481 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9482 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9483 /^X\(\/\/\)$/{ s//\1/; q; }
9484 /^X\(\/\).*/{ s//\1/; q; }
9487 test ! -n "$as_dirs" || mkdir
$as_dirs
9488 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9489 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9490 { (exit 1); exit 1; }; }; }
9494 if test "$ac_dir" != .
; then
9495 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9496 # A "../" for each directory in $ac_dir_suffix.
9497 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9499 ac_dir_suffix
= ac_top_builddir
=
9503 .
) # No --srcdir option. We are building in place.
9505 if test -z "$ac_top_builddir"; then
9508 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9510 [\\/]* | ?
:[\\/]* ) # Absolute path.
9511 ac_srcdir
=$srcdir$ac_dir_suffix;
9512 ac_top_srcdir
=$srcdir ;;
9514 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9515 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9518 # Do not use `cd foo && pwd` to compute absolute paths, because
9519 # the directories may not exist.
9521 .
) ac_abs_builddir
="$ac_dir";;
9524 .
) ac_abs_builddir
=`pwd`;;
9525 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9526 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9529 case $ac_abs_builddir in
9530 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9532 case ${ac_top_builddir}.
in
9533 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9534 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9535 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9538 case $ac_abs_builddir in
9539 .
) ac_abs_srcdir
=$ac_srcdir;;
9542 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9543 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9544 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9547 case $ac_abs_builddir in
9548 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9550 case $ac_top_srcdir in
9551 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9552 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9553 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9559 if test x
"$ac_file" != x-
; then
9560 { echo "$as_me:$LINENO: creating $ac_file" >&5
9561 echo "$as_me: creating $ac_file" >&6;}
9564 # Let's still pretend it is `configure' which instantiates (i.e., don't
9565 # use $as_me), people would be surprised to read:
9566 # /* config.h. Generated by config.status. */
9567 if test x
"$ac_file" = x-
; then
9570 configure_input
="$ac_file. "
9572 configure_input
=$configure_input"Generated from `echo $ac_file_in |
9573 sed 's,.*/,,'` by configure."
9575 # First look for the input files in the build tree, otherwise in the
9577 ac_file_inputs
=`IFS=:
9578 for f in $ac_file_in; do
9580 -) echo $tmp/stdin ;;
9582 # Absolute (can't be DOS-style, as IFS=:)
9583 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9584 echo "$as_me: error: cannot find input file: $f" >&2;}
9585 { (exit 1); exit 1; }; }
9588 if test -f "$f"; then
9591 elif test -f "$srcdir/$f"; then
9596 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9597 echo "$as_me: error: cannot find input file: $f" >&2;}
9598 { (exit 1); exit 1; }; }
9601 done` ||
{ (exit 1); exit 1; }
9603 cat >>$CONFIG_STATUS <<_ACEOF
9607 cat >>$CONFIG_STATUS <<\_ACEOF
9609 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9610 s
,@configure_input@
,$configure_input,;t t
9611 s
,@srcdir@
,$ac_srcdir,;t t
9612 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
9613 s
,@top_srcdir@
,$ac_top_srcdir,;t t
9614 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
9615 s
,@builddir@
,$ac_builddir,;t t
9616 s
,@abs_builddir@
,$ac_abs_builddir,;t t
9617 s
,@top_builddir@
,$ac_top_builddir,;t t
9618 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
9619 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
9621 if test x"$ac_file" != x-; then
9622 mv $tmp/out $ac_file
9630 cat >>$CONFIG_STATUS <<\_ACEOF
9633 # CONFIG_HEADER section.
9636 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
9637 # NAME is the cpp macro being defined and VALUE is the value it is being given.
9639 # ac_d sets the value in "#define NAME VALUE" lines.
9640 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
9641 ac_dB
='[ ].*$,\1#\2'
9644 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
9645 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
9646 ac_uB
='$,\1#\2define\3'
9650 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
9651 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
9653 - |
*:- |
*:-:* ) # input from stdin
9655 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9656 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9657 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9658 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
9659 * ) ac_file_in
=$ac_file.
in ;;
9662 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
9663 echo "$as_me: creating $ac_file" >&6;}
9665 # First look for the input files in the build tree, otherwise in the
9667 ac_file_inputs
=`IFS=:
9668 for f in $ac_file_in; do
9670 -) echo $tmp/stdin ;;
9672 # Absolute (can't be DOS-style, as IFS=:)
9673 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9674 echo "$as_me: error: cannot find input file: $f" >&2;}
9675 { (exit 1); exit 1; }; }
9676 # Do quote $f, to prevent DOS paths from being IFS'd.
9679 if test -f "$f"; then
9682 elif test -f "$srcdir/$f"; then
9687 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
9688 echo "$as_me: error: cannot find input file: $f" >&2;}
9689 { (exit 1); exit 1; }; }
9692 done` ||
{ (exit 1); exit 1; }
9693 # Remove the trailing spaces.
9694 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
9698 # Transform confdefs.h into two sed scripts, `conftest.defines' and
9699 # `conftest.undefs', that substitutes the proper values into
9700 # config.h.in to produce config.h. The first handles `#define'
9701 # templates, and the second `#undef' templates.
9702 # And first: Protect against being on the right side of a sed subst in
9703 # config.status. Protect against being in an unquoted here document
9705 rm -f conftest.defines conftest.undefs
9706 # Using a here document instead of a string reduces the quoting nightmare.
9707 # Putting comments in sed scripts is not portable.
9709 # `end' is used to avoid that the second main sed command (meant for
9710 # 0-ary CPP macros) applies to n-ary macro definitions.
9711 # See the Autoconf documentation for `clear'.
9712 cat >confdef2sed.
sed <<\_ACEOF
9717 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
9719 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
9722 # If some macros were called several times there might be several times
9723 # the same #defines, which is useless. Nevertheless, we may not want to
9724 # sort them, since we want the *last* AC-DEFINE to be honored.
9725 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
9726 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
9727 rm -f confdef2sed.sed
9729 # This sed command replaces #undef with comments. This is necessary, for
9730 # example, in the case of _POSIX_SOURCE, which is predefined and required
9731 # on some systems where configure will not decide to define it.
9732 cat >>conftest.undefs <<\_ACEOF
9733 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9736 # Break up conftest.defines because some shells have a limit on the size
9737 # of here documents, and old seds have small limits too (100 cmds).
9738 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
9739 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
9740 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
9741 echo ' :' >>$CONFIG_STATUS
9743 while grep . conftest.defines >/dev/null
9745 # Write a limited-size here document to $tmp/defines.sed.
9746 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
9747 # Speed up: don't consider the non `#define' lines.
9748 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
9749 # Work around the forget-to-reset-the-flag bug.
9750 echo 't clr' >>$CONFIG_STATUS
9751 echo ': clr' >>$CONFIG_STATUS
9752 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
9754 sed -f $tmp/defines.sed $tmp/in >$tmp/out
9758 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
9759 rm -f conftest.defines
9760 mv conftest.
tail conftest.defines
9762 rm -f conftest.defines
9763 echo ' fi # grep' >>$CONFIG_STATUS
9764 echo >>$CONFIG_STATUS
9766 # Break up conftest.undefs because some shells have a limit on the size
9767 # of here documents, and old seds have small limits too (100 cmds).
9768 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
9770 while grep . conftest.undefs
>/dev
/null
9772 # Write a limited-size here document to $tmp/undefs.sed.
9773 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
9774 # Speed up: don't consider the non
`#undef'
9775 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
9776 # Work around the forget-to-reset-the-flag bug.
9777 echo 't clr' >>$CONFIG_STATUS
9778 echo ': clr' >>$CONFIG_STATUS
9779 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
9781 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
9785 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
9786 rm -f conftest.undefs
9787 mv conftest.tail conftest.undefs
9789 rm -f conftest.undefs
9791 cat >>$CONFIG_STATUS <<\_ACEOF
9792 # Let's still pretend it is `configure
' which instantiates (i.e., don't
9793 # use $as_me), people would be surprised to read:
9794 # /* config.h. Generated by config.status. */
9795 if test x
"$ac_file" = x-
; then
9796 echo "/* Generated by configure. */" >$tmp/config.h
9798 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
9800 cat $tmp/in >>$tmp/config.h
9802 if test x
"$ac_file" != x-
; then
9803 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
9804 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9805 echo "$as_me: $ac_file is unchanged" >&6;}
9807 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
9808 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9809 X"$ac_file" : 'X\(//\)[^/]' \| \
9810 X"$ac_file" : 'X\(//\)$' \| \
9811 X"$ac_file" : 'X\(/\)' \| \
9812 . : '\(.\)' 2>/dev/null ||
9814 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9815 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9816 /^X\(\/\/\)$/{ s//\1/; q; }
9817 /^X\(\/\).*/{ s//\1/; q; }
9819 { if $as_mkdir_p; then
9824 while test ! -d "$as_dir"; do
9825 as_dirs
="$as_dir $as_dirs"
9826 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9827 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9828 X"$as_dir" : 'X\(//\)[^/]' \| \
9829 X"$as_dir" : 'X\(//\)$' \| \
9830 X"$as_dir" : 'X\(/\)' \| \
9831 . : '\(.\)' 2>/dev/null ||
9833 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9834 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9835 /^X\(\/\/\)$/{ s//\1/; q; }
9836 /^X\(\/\).*/{ s//\1/; q; }
9839 test ! -n "$as_dirs" || mkdir
$as_dirs
9840 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9841 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9842 { (exit 1); exit 1; }; }; }
9845 mv $tmp/config.h
$ac_file
9853 cat >>$CONFIG_STATUS <<\_ACEOF
9856 # CONFIG_COMMANDS section.
9858 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
9859 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
9860 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
9861 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
9862 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9863 X"$ac_dest" : 'X\(//\)[^/]' \| \
9864 X"$ac_dest" : 'X\(//\)$' \| \
9865 X"$ac_dest" : 'X\(/\)' \| \
9866 . : '\(.\)' 2>/dev/null ||
9868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9869 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9870 /^X\(\/\/\)$/{ s//\1/; q; }
9871 /^X\(\/\).*/{ s//\1/; q; }
9873 { if $as_mkdir_p; then
9878 while test ! -d "$as_dir"; do
9879 as_dirs
="$as_dir $as_dirs"
9880 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
9881 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9882 X"$as_dir" : 'X\(//\)[^/]' \| \
9883 X"$as_dir" : 'X\(//\)$' \| \
9884 X"$as_dir" : 'X\(/\)' \| \
9885 . : '\(.\)' 2>/dev/null ||
9887 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
9888 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
9889 /^X\(\/\/\)$/{ s//\1/; q; }
9890 /^X\(\/\).*/{ s//\1/; q; }
9893 test ! -n "$as_dirs" || mkdir
$as_dirs
9894 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
9895 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9896 { (exit 1); exit 1; }; }; }
9900 if test "$ac_dir" != .
; then
9901 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9902 # A "../" for each directory in $ac_dir_suffix.
9903 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
9905 ac_dir_suffix
= ac_top_builddir
=
9909 .
) # No --srcdir option. We are building in place.
9911 if test -z "$ac_top_builddir"; then
9914 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
9916 [\\/]* | ?
:[\\/]* ) # Absolute path.
9917 ac_srcdir
=$srcdir$ac_dir_suffix;
9918 ac_top_srcdir
=$srcdir ;;
9920 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
9921 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
9924 # Do not use `cd foo && pwd` to compute absolute paths, because
9925 # the directories may not exist.
9927 .
) ac_abs_builddir
="$ac_dir";;
9930 .
) ac_abs_builddir
=`pwd`;;
9931 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
9932 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
9935 case $ac_abs_builddir in
9936 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9938 case ${ac_top_builddir}.
in
9939 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
9940 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
9941 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
9944 case $ac_abs_builddir in
9945 .
) ac_abs_srcdir
=$ac_srcdir;;
9948 .
) ac_abs_srcdir
=$ac_abs_builddir;;
9949 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
9950 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
9953 case $ac_abs_builddir in
9954 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
9956 case $ac_top_srcdir in
9957 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
9958 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
9959 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
9964 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
9965 echo "$as_me: executing $ac_dest commands" >&6;}
9967 compiler_executable
)
9968 prefix
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}
9970 prefix
="${prefix}/${aros_target_cpu}-aros"
9971 prefix2
=${PWD}/${aros_tools_dir}/${aros_target_cpu}-${aros_target_arch}${aros_target_suffix}-aros
9975 chmod a
+x
${prefix2}-gcc ${prefix2}-ld
9977 ln -sf ${prefix2}-gcc ${prefix}-gcc
9978 ln -sf ${prefix2}-ld ${prefix}-ld
9980 ln -sf $aros_target_nm_ln ${prefix}-nm
9981 ln -sf $aros_target_ar_ln ${prefix}-ar
9982 ln -sf $aros_target_ranlib_ln ${prefix}-ranlib
9983 ln -sf $aros_target_objcopy_ln ${prefix}-objcopy
9984 ln -sf $aros_target_objdump_ln ${prefix}-objdump
9985 ln -sf $aros_target_strip_ln ${prefix}-strip
9987 ln -sf $aros_target_nm_ln ${prefix2}-nm
9988 ln -sf $aros_target_ar_ln ${prefix2}-ar
9989 ln -sf $aros_target_ranlib_ln ${prefix2}-ranlib
9990 ln -sf $aros_target_objcopy_ln ${prefix2}-objcopy
9991 ln -sf $aros_target_objdump_ln ${prefix2}-objdump
9992 ln -sf $aros_target_strip_ln ${prefix2}-strip
9994 genshared_executable
) chmod a
+x
${aros_scripts_dir}/genshared
;;
9995 genmf_executable
) chmod a
+x
${aros_tools_dir}/genmf.py
;;
9996 adflib_myaros.conf_executable
) chmod a
+x tools
/adflib
/myconf.aros
10002 cat >>$CONFIG_STATUS <<\_ACEOF
10004 { (exit 0); exit 0; }
10006 chmod +x
$CONFIG_STATUS
10007 ac_clean_files
=$ac_clean_files_save
10010 # configure is writing to config.log, and then calls config.status.
10011 # config.status does its own redirection, appending to config.log.
10012 # Unfortunately, on DOS this fails, as config.log is still kept open
10013 # by configure, so config.status won't be able to write to it; its
10014 # output is simply discarded. So we exec the FD to /dev/null,
10015 # effectively closing config.log, so it can be properly (re)opened and
10016 # appended to by config.status. When coming back to configure, we
10017 # need to make the FD available again.
10018 if test "$no_create" != yes; then
10020 ac_config_status_args
=
10021 test "$silent" = yes &&
10022 ac_config_status_args
="$ac_config_status_args --quiet"
10024 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10026 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10027 # would make configure fail if this is the last instruction.
10028 $ac_cs_success ||
{ (exit 1); exit 1; }
10033 #XXX compatability...
10034 aros_shared_ar
="$aros_shared_ld $aros_shared_ldflags -o"
10036 if test -n "$aros_shared_cflags" ; then
10037 echo "SHARED_CFLAGS := $aros_shared_cflags" >> ${aros_hostcfg_dir}/host.cfg
10038 echo "SHARED_AR := $aros_shared_ar" >> ${aros_hostcfg_dir}/host.cfg