2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040309.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
271 PACKAGE_TARNAME
='wine'
272 PACKAGE_VERSION
='20040309'
273 PACKAGE_STRING
='Wine 20040309'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 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 WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20040309 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
845 --x-includes=DIR X include files are
in DIR
846 --x-libraries=DIR X library files are
in DIR
849 --build=BUILD configure
for building on BUILD
[guessed
]
850 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive
) echo "Configuration of Wine 20040309:";;
861 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
862 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
863 --disable-win16 do not include Win16 support
864 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
868 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
869 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
870 --without-opengl do not use OpenGL
871 --without-curses do not use curses
872 --with-wine-tools=<dir
> use Wine tools from directory
<dir
>
873 --with-x use the X Window System
875 Some influential environment variables
:
876 CC C compiler
command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
879 nonstandard directory
<lib dir
>
880 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
881 headers
in a nonstandard directory
<include dir
>
882 CXX C
++ compiler
command
883 CXXFLAGS C
++ compiler flags
886 Use these variables to override the choices made by
`configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
889 Report bugs to <wine-devel@winehq.org>.
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
905 ac_dir_suffix= ac_top_builddir=
909 .) # No --srcdir option. We are building in place.
911 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 # Do not use `cd foo
&& pwd` to compute absolute paths, because
925 # the directories may not exist.
927 .) ac_abs_builddir="$ac_dir";;
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
985 Wine configure 20040309
986 generated by GNU Autoconf 2.59
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by Wine $as_me 20040309, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1011 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1012 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1013 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1014 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1015 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1017 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1018 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1020 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1021 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1022 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1023 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1024 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1025 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1026 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1059 ac_must_keep_next=false
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 -* ) ac_must_keep_next=true ;;
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close
' the trap.
1106 trap 'exit_status
=$?
1107 # Save into config.log some information that might help in debugging.
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1117 # The following way of writing the cache mishandles newlines in values,
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1140 for ac_var
in $ac_subst_vars
1142 eval ac_val
=$
`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1147 if test -n "$ac_subst_files"; then
1154 for ac_var
in $ac_subst_files
1156 eval ac_val
=$
`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1162 if test -s confdefs.h
; then
1169 sed "/^$/d" confdefs.h |
sort
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1176 rm -f core
*.core
&&
1177 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's
/^
/|
/' "$ac_site_file" >&5
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1252 # Check that the precious variables saved in the cache have kept the same
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1265 ac_cache_corrupted=: ;;
1267 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1274 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1299 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 ac_config_headers="$ac_config_headers include/config.h"
1339 for ac_dir in tools $srcdir/tools; do
1340 if test -f $ac_dir/install-sh; then
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1344 elif test -f $ac_dir/install.sh; then
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1348 elif test -f $ac_dir/shtool; then
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval="$enable_win16"
1370 # Check whether --enable-debug or --disable-debug was given.
1371 if test "${enable_debug+set}" = set; then
1372 enableval="$enable_debug"
1375 # Check whether --enable-trace or --disable-trace was given.
1376 if test "${enable_trace+set}" = set; then
1377 enableval="$enable_trace"
1382 # Check whether --with-opengl or --without-opengl was given.
1383 if test "${with_opengl+set}" = set; then
1384 withval="$with_opengl"
1388 # Check whether --with-curses or --without-curses was given.
1389 if test "${with_curses+set}" = set; then
1390 withval="$with_curses"
1394 # Check whether --with-wine-tools or --without-wine-tools was given.
1395 if test "${with_wine_tools+set}" = set; then
1396 withval="$with_wine_tools"
1400 WIN16_FILES="\$(WIN16_FILES)"
1402 WIN16_INSTALL="\$(WIN16_INSTALL)"
1404 if test "x$enable_win16" = "xno"
1409 if test "x$enable_debug" = "xno"
1412 cat >>confdefs.h <<\_ACEOF
1413 #define NO_DEBUG_MSGS 1
1417 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1420 cat >>confdefs.h <<\_ACEOF
1421 #define NO_TRACE_MSGS 1
1427 # Make sure we can run config.sub.
1428 $ac_config_sub sun4 >/dev/null 2>&1 ||
1429 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1430 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1431 { (exit 1); exit 1; }; }
1433 echo "$as_me:$LINENO: checking build system type" >&5
1434 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1435 if test "${ac_cv_build+set}" = set; then
1436 echo $ECHO_N "(cached) $ECHO_C" >&6
1438 ac_cv_build_alias=$build_alias
1439 test -z "$ac_cv_build_alias" &&
1440 ac_cv_build_alias=`$ac_config_guess`
1441 test -z "$ac_cv_build_alias" &&
1442 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1443 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1444 { (exit 1); exit 1; }; }
1445 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1446 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1447 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1448 { (exit 1); exit 1; }; }
1451 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1452 echo "${ECHO_T}$ac_cv_build" >&6
1454 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1455 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1456 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1459 echo "$as_me:$LINENO: checking host system type" >&5
1460 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1461 if test "${ac_cv_host+set}" = set; then
1462 echo $ECHO_N "(cached) $ECHO_C" >&6
1464 ac_cv_host_alias=$host_alias
1465 test -z "$ac_cv_host_alias" &&
1466 ac_cv_host_alias=$ac_cv_build_alias
1467 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1468 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1469 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1470 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1474 echo "${ECHO_T}$ac_cv_host" >&6
1476 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1477 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1478 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1487 cat >conftest.make <<\_ACEOF
1489 @echo 'ac_maketemp
="$(MAKE)"'
1491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1492 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1493 if test -n "$ac_maketemp"; then
1494 eval ac_cv_prog_make_${ac_make}_set=yes
1496 eval ac_cv_prog_make_${ac_make}_set=no
1500 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE="MAKE=${MAKE-make}"
1511 ac_cpp='$CPP $CPPFLAGS'
1512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1513 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1554 # Extract the first word of "gcc", so it can be a program name with args.
1555 set dummy gcc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="gcc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597 set dummy ${ac_tool_prefix}cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC="${ac_tool_prefix}cc"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1648 test -z "$as_dir" && as_dir=.
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC="cc"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1675 if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args.
1677 set dummy cc; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC="$CC" # Let the user override the test.
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695 ac_prog_rejected=yes
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 if test $ac_prog_rejected = yes; then
1706 # We found a bogon in the path, so make sure we never use it.
1707 set dummy $ac_cv_prog_CC
1709 if test $# != 0; then
1710 # We chose a different compiler from the bogus one.
1711 # However, it has the same basename, so the bogon will be chosen
1712 # first if we set CC to just the basename; use the full file name.
1714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC="$CC" # Let the user override the test.
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir=.
1748 for ac_exec_ext in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1771 if test -z "$CC"; then
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy $ac_prog; ac_word=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820 See \`config.log' for more details.
" >&5
1821 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1822 See \
`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1825 # Provide some information about the compiler.
1826 echo "$as_me:$LINENO:" \
1827 "checking for C compiler version" >&5
1828 ac_compiler=`set X
$ac_compile; echo $2`
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830 (eval $ac_compiler --version </dev/null >&5) 2>&5
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1835 (eval $ac_compiler -v </dev/null >&5) 2>&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1840 (eval $ac_compiler -V </dev/null >&5) 2>&5
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.$ac_ext <<_ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1860 ac_clean_files_save=$ac_clean_files
1861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1862 # Try to create an executable without -o first, disregard a.out.
1863 # It will help us diagnose broken compilers, and finding out an intuition
1865 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1867 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869 (eval $ac_link_default) 2>&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # Find the output, starting from the most likely. This scheme is
1874 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1877 # Be careful to initialize this variable, since it used to be cached.
1878 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1880 # b.out is created by i960 compilers.
1881 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1883 test -f "$ac_file" || continue
1885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1888 # This is the source file.
1891 # We found the default executable, but exeext='' is most
1895 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 # FIXME: I believe we export ac_cv_exeext for Libtool,
1897 # but it would be cool to find out if it's true. Does anybody
1898 # maintain Libtool? --akim.
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910 See \`config.log
' for more details." >&5
1911 echo "$as_me: error: C compiler cannot create executables
1912 See \`config.log' for more details.
" >&2;}
1913 { (exit 77); exit 77; }; }
1916 ac_exeext=$ac_cv_exeext
1917 echo "$as_me:$LINENO: result
: $ac_file" >&5
1918 echo "${ECHO_T}$ac_file" >&6
1920 # Check the compiler produces executables we can run. If not, either
1921 # the compiler is broken, or we cross compile.
1922 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1923 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925 # If not cross compiling, check that we can run a simple program.
1926 if test "$cross_compiling" != yes; then
1927 if { ac_try='./$ac_file'
1928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1931 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1932 (exit $ac_status); }; }; then
1935 if test "$cross_compiling" = maybe; then
1938 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1939 If you meant to cross compile
, use \
`--host'.
1940 See \`config.log
' for more details." >&5
1941 echo "$as_me: error: cannot run C compiled programs.
1942 If you meant to cross compile, use \`--host'.
1943 See \
`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1948 echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6
1951 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1952 ac_clean_files=$ac_clean_files_save
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1956 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1957 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1958 echo "${ECHO_T}$cross_compiling" >&6
1960 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1961 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1963 (eval $ac_link) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1968 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1969 # work properly (i.e., refer to `conftest.exe'), while it won't with
1971 for ac_file
in conftest.exe conftest conftest.
*; do
1972 test -f "$ac_file" ||
continue
1974 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1975 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1985 See \`config.log' for more details." >&2;}
1986 { (exit 1); exit 1; }; }
1989 rm -f conftest
$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1991 echo "${ECHO_T}$ac_cv_exeext" >&6
1993 rm -f conftest.
$ac_ext
1994 EXEEXT
=$ac_cv_exeext
1996 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1997 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1998 if test "${ac_cv_objext+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2001 cat >conftest.
$ac_ext <<_ACEOF
2004 cat confdefs.h
>>conftest.
$ac_ext
2005 cat >>conftest.
$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; then
2022 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2024 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2025 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.
$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2040 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2042 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2043 echo "${ECHO_T}$ac_cv_objext" >&6
2044 OBJEXT
=$ac_cv_objext
2046 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2051 cat >conftest.
$ac_ext <<_ACEOF
2054 cat confdefs.h
>>conftest.
$ac_ext
2055 cat >>conftest.
$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2069 rm -f conftest.
$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2073 grep -v '^ *+' conftest.er1
>conftest.err
2075 cat conftest.err
>&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try
='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.
$ac_ext >&5
2097 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2098 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2101 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2104 ac_test_CFLAGS
=${CFLAGS+set}
2105 ac_save_CFLAGS
=$CFLAGS
2107 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109 if test "${ac_cv_prog_cc_g+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 cat >conftest.
$ac_ext <<_ACEOF
2115 cat confdefs.h
>>conftest.
$ac_ext
2116 cat >>conftest.
$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2127 rm -f conftest.
$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2131 grep -v '^ *+' conftest.er1
>conftest.err
2133 cat conftest.err
>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; } &&
2142 { ac_try
='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.
$ac_ext >&5
2155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159 if test "$ac_test_CFLAGS" = set; then
2160 CFLAGS
=$ac_save_CFLAGS
2161 elif test $ac_cv_prog_cc_g = yes; then
2162 if test "$GCC" = yes; then
2168 if test "$GCC" = yes; then
2174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 ac_cv_prog_cc_stdc
=no
2181 cat >conftest.
$ac_ext <<_ACEOF
2184 cat confdefs.h
>>conftest.
$ac_ext
2185 cat >>conftest.
$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2205 s = g (p, va_arg (v,int));
2210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2211 function prototypes and stuff, but not '\xHH' hex character constants.
2212 These don't provoke an error unfortunately, instead are silently treated
2213 as 'x'. The following induces an error, until -std1 is added to get
2214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2215 array size at least. It's necessary to write '\x00'==0 to get something
2216 that's true only with -std1. */
2217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2233 # Don't try gcc -ansi; that turns off useful extensions and
2234 # breaks some systems' header files.
2235 # AIX -qlanglvl=ansi
2236 # Ultrix and OSF/1 -std1
2237 # HP-UX 10.20 and later -Ae
2238 # HP-UX older versions -Aa -D_HPUX_SOURCE
2239 # SVR4 -Xc -D__EXTENSIONS__
2240 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2242 CC
="$ac_save_CC $ac_arg"
2243 rm -f conftest.
$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2247 grep -v '^ *+' conftest.er1
>conftest.err
2249 cat conftest.err
>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try
='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc
=$ac_arg
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.
$ac_ext >&5
2271 rm -f conftest.err conftest.
$ac_objext
2273 rm -f conftest.
$ac_ext conftest.
$ac_objext
2278 case "x$ac_cv_prog_cc_stdc" in
2280 echo "$as_me:$LINENO: result: none needed" >&5
2281 echo "${ECHO_T}none needed" >&6 ;;
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2288 # Some people use a C++ compiler to compile C. Since we use `exit',
2289 # in C++ we need to declare it. In case someone uses the same compiler
2290 # for both compiling C and C++ we need to have the C++ compiler decide
2291 # the declaration of exit, since it's the most demanding environment.
2292 cat >conftest.
$ac_ext <<_ACEOF
2297 rm -f conftest.
$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2301 grep -v '^ *+' conftest.er1
>conftest.err
2303 cat conftest.err
>&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try
='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration
in \
2320 'extern "C" void std::exit (int) throw (); using std::exit;' \
2321 'extern "C" void std::exit (int); using std::exit;' \
2322 'extern "C" void exit (int) throw ();' \
2323 'extern "C" void exit (int);' \
2326 cat >conftest.
$ac_ext <<_ACEOF
2329 cat confdefs.h
>>conftest.
$ac_ext
2330 cat >>conftest.
$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2342 rm -f conftest.
$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2346 grep -v '^ *+' conftest.er1
>conftest.err
2348 cat conftest.err
>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try
='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.
$ac_ext >&5
2370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2371 cat >conftest.
$ac_ext <<_ACEOF
2374 cat confdefs.h
>>conftest.
$ac_ext
2375 cat >>conftest.
$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2386 rm -f conftest.
$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1
>conftest.err
2392 cat conftest.err
>&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try
='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.
$ac_ext >&5
2413 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.
$ac_ext >&5
2427 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2429 ac_cpp
='$CPP $CPPFLAGS'
2430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2435 ac_cpp
='$CXXCPP $CPPFLAGS'
2436 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2456 test -z "$as_dir" && as_dir
=.
2457 for ac_exec_ext
in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2480 if test -z "$CXX"; then
2482 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy
$ac_prog; ac_word
=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2494 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2498 test -z "$as_dir" && as_dir
=.
2499 for ac_exec_ext
in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2511 if test -n "$ac_ct_CXX"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2513 echo "${ECHO_T}$ac_ct_CXX" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2521 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C++ compiler version" >&5
2530 ac_compiler
=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 cat >conftest.
$ac_ext <<_ACEOF
2555 cat confdefs.h
>>conftest.
$ac_ext
2556 cat >>conftest.
$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2570 rm -f conftest.
$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 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); } &&
2579 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try
='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.
$ac_ext >&5
2598 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2599 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS
=$CXXFLAGS
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.
$ac_ext <<_ACEOF
2616 cat confdefs.h
>>conftest.
$ac_ext
2617 cat >>conftest.
$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2628 rm -f conftest.
$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2632 grep -v '^ *+' conftest.er1
>conftest.err
2634 cat conftest.err
>&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try
='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g
=yes
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.
$ac_ext >&5
2656 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS
=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2669 if test "$GXX" = yes; then
2675 for ac_declaration
in \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2683 cat >conftest.
$ac_ext <<_ACEOF
2686 cat confdefs.h
>>conftest.
$ac_ext
2687 cat >>conftest.
$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2699 rm -f conftest.
$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2703 grep -v '^ *+' conftest.er1
>conftest.err
2705 cat conftest.err
>&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try
='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.
$ac_ext >&5
2727 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2728 cat >conftest.
$ac_ext <<_ACEOF
2731 cat confdefs.h
>>conftest.
$ac_ext
2732 cat >>conftest.
$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2743 rm -f conftest.
$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2747 grep -v '^ *+' conftest.er1
>conftest.err
2749 cat conftest.err
>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try
='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.
$ac_ext >&5
2770 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2780 ac_cpp
='$CPP $CPPFLAGS'
2781 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2787 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$CPPBIN"; then
2794 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2796 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir
=.
2801 for ac_exec_ext
in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 CPPBIN
=$ac_cv_prog_CPPBIN
2813 if test -n "$CPPBIN"; then
2814 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2815 echo "${ECHO_T}$CPPBIN" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_CPPBIN"; then
2823 ac_ct_CPPBIN
=$CPPBIN
2824 # Extract the first word of "cpp", so it can be a program name with args.
2825 set dummy cpp
; ac_word
=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_CPPBIN"; then
2832 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2851 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2852 if test -n "$ac_ct_CPPBIN"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2854 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 CPPBIN
=$ac_ct_CPPBIN
2862 CPPBIN
="$ac_cv_prog_CPPBIN"
2866 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2867 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2868 if test "${wine_cv_toolsdir+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2871 if test -z "$with_wine_tools"; then
2872 if test "$cross_compiling" = "yes"; then
2873 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2874 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2875 { (exit 1); exit 1; }; }
2877 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2879 elif test -d "$with_wine_tools/tools/winebuild"; then
2880 case $with_wine_tools in
2881 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2882 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2885 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2886 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2887 { (exit 1); exit 1; }; }
2890 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2891 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2892 TOOLSDIR
=$wine_cv_toolsdir
2897 ac_cpp
='$CPP $CPPFLAGS'
2898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2901 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2902 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2903 # On Suns, sometimes $CPP names a directory.
2904 if test -n "$CPP" && test -d "$CPP"; then
2907 if test -z "$CPP"; then
2908 if test "${ac_cv_prog_CPP+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2911 # Double quotes because CPP needs to be expanded
2912 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2915 for ac_c_preproc_warn_flag
in '' yes
2917 # Use a header file that comes with gcc, so configuring glibc
2918 # with a fresh cross-compiler works.
2919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2920 # <limits.h> exists even on freestanding compilers.
2921 # On the NeXT, cc -E runs the code through the compiler's parser,
2922 # not just through cpp. "Syntax error" is here to catch this case.
2923 cat >conftest.
$ac_ext <<_ACEOF
2926 cat confdefs.h
>>conftest.
$ac_ext
2927 cat >>conftest.
$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2930 # include <limits.h>
2932 # include <assert.h>
2936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2939 grep -v '^ *+' conftest.er1
>conftest.err
2941 cat conftest.err
>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } >/dev
/null
; then
2944 if test -s conftest.err
; then
2945 ac_cpp_err
=$ac_c_preproc_warn_flag
2946 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2953 if test -z "$ac_cpp_err"; then
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.
$ac_ext >&5
2959 # Broken: fails on valid input.
2962 rm -f conftest.err conftest.
$ac_ext
2964 # OK, works on sane cases. Now check whether non-existent headers
2965 # can be detected and how.
2966 cat >conftest.
$ac_ext <<_ACEOF
2969 cat confdefs.h
>>conftest.
$ac_ext
2970 cat >>conftest.
$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #include <ac_nonexistent.h>
2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2975 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2977 grep -v '^ *+' conftest.er1
>conftest.err
2979 cat conftest.err
>&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } >/dev
/null
; then
2982 if test -s conftest.err
; then
2983 ac_cpp_err
=$ac_c_preproc_warn_flag
2984 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.
$ac_ext >&5
2998 # Passes both tests.
3002 rm -f conftest.err conftest.
$ac_ext
3005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3006 rm -f conftest.err conftest.
$ac_ext
3007 if $ac_preproc_ok; then
3019 echo "$as_me:$LINENO: result: $CPP" >&5
3020 echo "${ECHO_T}$CPP" >&6
3022 for ac_c_preproc_warn_flag
in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027 # <limits.h> exists even on freestanding compilers.
3028 # On the NeXT, cc -E runs the code through the compiler's parser,
3029 # not just through cpp. "Syntax error" is here to catch this case.
3030 cat >conftest.
$ac_ext <<_ACEOF
3033 cat confdefs.h
>>conftest.
$ac_ext
3034 cat >>conftest.
$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3037 # include <limits.h>
3039 # include <assert.h>
3043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3046 grep -v '^ *+' conftest.er1
>conftest.err
3048 cat conftest.err
>&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } >/dev
/null
; then
3051 if test -s conftest.err
; then
3052 ac_cpp_err
=$ac_c_preproc_warn_flag
3053 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3060 if test -z "$ac_cpp_err"; then
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.
$ac_ext >&5
3066 # Broken: fails on valid input.
3069 rm -f conftest.err conftest.
$ac_ext
3071 # OK, works on sane cases. Now check whether non-existent headers
3072 # can be detected and how.
3073 cat >conftest.
$ac_ext <<_ACEOF
3076 cat confdefs.h
>>conftest.
$ac_ext
3077 cat >>conftest.
$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3084 grep -v '^ *+' conftest.er1
>conftest.err
3086 cat conftest.err
>&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev
/null
; then
3089 if test -s conftest.err
; then
3090 ac_cpp_err
=$ac_c_preproc_warn_flag
3091 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3098 if test -z "$ac_cpp_err"; then
3099 # Broken: success on invalid input.
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.
$ac_ext >&5
3105 # Passes both tests.
3109 rm -f conftest.err conftest.
$ac_ext
3112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3113 rm -f conftest.err conftest.
$ac_ext
3114 if $ac_preproc_ok; then
3117 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }
3125 ac_cpp
='$CPP $CPPFLAGS'
3126 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3131 echo "$as_me:$LINENO: checking for X" >&5
3132 echo $ECHO_N "checking for X... $ECHO_C" >&6
3135 # Check whether --with-x or --without-x was given.
3136 if test "${with_x+set}" = set; then
3140 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3141 if test "x$with_x" = xno
; then
3142 # The user explicitly disabled X.
3145 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3146 # Both variables are already set.
3149 if test "${ac_cv_have_x+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 # One or both of the vars are not set, and there is no cached value.
3153 ac_x_includes
=no ac_x_libraries
=no
3155 if mkdir conftest.dir
; then
3157 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3158 cat >Imakefile
<<'_ACEOF'
3160 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3162 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3163 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3164 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3165 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3166 for ac_extension
in a so sl
; do
3167 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3168 test -f $ac_im_libdir/libX11.
$ac_extension; then
3169 ac_im_usrlibdir
=$ac_im_libdir; break
3172 # Screen out bogus values from the imake configuration. They are
3173 # bogus both because they are the default anyway, and because
3174 # using them would break gcc on systems where it needs fixed includes.
3175 case $ac_im_incroot in
3177 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3179 case $ac_im_usrlibdir in
3181 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3188 # Standard set of common directories for X headers.
3189 # Check X11 before X11Rn because it is often a symlink to the current release.
3201 /usr/local/X11/include
3202 /usr/local/X11R6/include
3203 /usr/local/X11R5/include
3204 /usr/local/X11R4/include
3206 /usr/local/include/X11
3207 /usr/local/include/X11R6
3208 /usr/local/include/X11R5
3209 /usr/local/include/X11R4
3213 /usr/XFree86/include/X11
3217 /usr/unsupported/include
3219 /usr/local/x11r5/include
3220 /usr/lpp/Xamples/include
3222 /usr/openwin/include
3223 /usr/openwin/share/include'
3225 if test "$ac_x_includes" = no
; then
3226 # Guess where to find include files, by looking for Intrinsic.h.
3227 # First, try using that file with no special directory specified.
3228 cat >conftest.
$ac_ext <<_ACEOF
3231 cat confdefs.h
>>conftest.
$ac_ext
3232 cat >>conftest.
$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3234 #include <X11/Intrinsic.h>
3236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3237 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3239 grep -v '^ *+' conftest.er1
>conftest.err
3241 cat conftest.err
>&5
3242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243 (exit $ac_status); } >/dev
/null
; then
3244 if test -s conftest.err
; then
3245 ac_cpp_err
=$ac_c_preproc_warn_flag
3246 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3253 if test -z "$ac_cpp_err"; then
3254 # We can compile using X headers with no special include directory.
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.
$ac_ext >&5
3260 for ac_dir
in $ac_x_header_dirs; do
3261 if test -r "$ac_dir/X11/Intrinsic.h"; then
3262 ac_x_includes
=$ac_dir
3267 rm -f conftest.err conftest.
$ac_ext
3268 fi # $ac_x_includes = no
3270 if test "$ac_x_libraries" = no
; then
3271 # Check for the libraries.
3272 # See if we find them without any special options.
3273 # Don't add to $LIBS permanently.
3276 cat >conftest.
$ac_ext <<_ACEOF
3279 cat confdefs.h
>>conftest.
$ac_ext
3280 cat >>conftest.
$ac_ext <<_ACEOF
3281 /* end confdefs.h. */
3282 #include <X11/Intrinsic.h>
3291 rm -f conftest.
$ac_objext conftest
$ac_exeext
3292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3293 (eval $ac_link) 2>conftest.er1
3295 grep -v '^ *+' conftest.er1
>conftest.err
3297 cat conftest.err
>&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } &&
3300 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); }; } &&
3306 { ac_try
='test -s conftest$ac_exeext'
3307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3311 (exit $ac_status); }; }; then
3313 # We can link X programs with no special library path.
3316 echo "$as_me: failed program was:" >&5
3317 sed 's/^/| /' conftest.
$ac_ext >&5
3320 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3322 # Don't even attempt the hair of trying to link an X program!
3323 for ac_extension
in a so sl
; do
3324 if test -r $ac_dir/libXt.
$ac_extension; then
3325 ac_x_libraries
=$ac_dir
3331 rm -f conftest.err conftest.
$ac_objext \
3332 conftest
$ac_exeext conftest.
$ac_ext
3333 fi # $ac_x_libraries = no
3335 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3336 # Didn't find X anywhere. Cache the known absence of X.
3337 ac_cv_have_x
="have_x=no"
3339 # Record where we found X for the cache.
3340 ac_cv_have_x
="have_x=yes \
3341 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3346 eval "$ac_cv_have_x"
3349 if test "$have_x" != yes; then
3350 echo "$as_me:$LINENO: result: $have_x" >&5
3351 echo "${ECHO_T}$have_x" >&6
3354 # If each of the values was on the command line, it overrides each guess.
3355 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3356 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3357 # Update the cache value to reflect the command line values.
3358 ac_cv_have_x
="have_x=yes \
3359 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3360 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
3361 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
3364 if test "$no_x" = yes; then
3365 # Not all programs may use this symbol, but it does not hurt to define it.
3367 cat >>confdefs.h
<<\_ACEOF
3368 #define X_DISPLAY_MISSING 1
3371 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3373 if test -n "$x_includes"; then
3374 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3377 # It would also be nice to do this for all -L options, not just this one.
3378 if test -n "$x_libraries"; then
3379 X_LIBS
="$X_LIBS -L$x_libraries"
3380 # For Solaris; some versions of Sun CC require a space after -R and
3381 # others require no space. Words are not sufficient . . . .
3382 case `(uname -sr) 2>/dev/null` in
3384 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3385 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3386 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3387 cat >conftest.
$ac_ext <<_ACEOF
3390 cat confdefs.h
>>conftest.
$ac_ext
3391 cat >>conftest.
$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3402 rm -f conftest.
$ac_objext conftest
$ac_exeext
3403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3404 (eval $ac_link) 2>conftest.er1
3406 grep -v '^ *+' conftest.er1
>conftest.err
3408 cat conftest.err
>&5
3409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3410 (exit $ac_status); } &&
3411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); }; } &&
3417 { ac_try
='test -s conftest$ac_exeext'
3418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3422 (exit $ac_status); }; }; then
3425 echo "$as_me: failed program was:" >&5
3426 sed 's/^/| /' conftest.
$ac_ext >&5
3430 rm -f conftest.err conftest.
$ac_objext \
3431 conftest
$ac_exeext conftest.
$ac_ext
3432 if test $ac_R_nospace = yes; then
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3435 X_LIBS
="$X_LIBS -R$x_libraries"
3437 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3438 cat >conftest.
$ac_ext <<_ACEOF
3441 cat confdefs.h
>>conftest.
$ac_ext
3442 cat >>conftest.
$ac_ext <<_ACEOF
3443 /* end confdefs.h. */
3453 rm -f conftest.
$ac_objext conftest
$ac_exeext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3455 (eval $ac_link) 2>conftest.er1
3457 grep -v '^ *+' conftest.er1
>conftest.err
3459 cat conftest.err
>&5
3460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3461 (exit $ac_status); } &&
3462 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467 (exit $ac_status); }; } &&
3468 { ac_try
='test -s conftest$ac_exeext'
3469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); }; }; then
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.
$ac_ext >&5
3481 rm -f conftest.err conftest.
$ac_objext \
3482 conftest
$ac_exeext conftest.
$ac_ext
3483 if test $ac_R_space = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485 echo "${ECHO_T}yes" >&6
3486 X_LIBS
="$X_LIBS -R $x_libraries"
3488 echo "$as_me:$LINENO: result: neither works" >&5
3489 echo "${ECHO_T}neither works" >&6
3496 # Check for system-dependent libraries X programs must link with.
3497 # Do this before checking for the system-independent R6 libraries
3498 # (-lICE), since we may need -lsocket or whatever for X linking.
3500 if test "$ISC" = yes; then
3501 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3503 # Martyn Johnson says this is needed for Ultrix, if the X
3504 # libraries were built with DECnet support. And Karl Berry says
3505 # the Alpha needs dnet_stub (dnet does not exist).
3506 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3507 cat >conftest.
$ac_ext <<_ACEOF
3510 cat confdefs.h
>>conftest.
$ac_ext
3511 cat >>conftest.
$ac_ext <<_ACEOF
3512 /* end confdefs.h. */
3514 /* Override any gcc2 internal prototype to avoid an error. */
3518 /* We use char because int might match the return type of a gcc2
3519 builtin and then its argument prototype would still apply. */
3520 char XOpenDisplay ();
3529 rm -f conftest.
$ac_objext conftest
$ac_exeext
3530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3531 (eval $ac_link) 2>conftest.er1
3533 grep -v '^ *+' conftest.er1
>conftest.err
3535 cat conftest.err
>&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3543 (exit $ac_status); }; } &&
3544 { ac_try
='test -s conftest$ac_exeext'
3545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3549 (exit $ac_status); }; }; then
3552 echo "$as_me: failed program was:" >&5
3553 sed 's/^/| /' conftest.
$ac_ext >&5
3555 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3556 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3557 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3558 echo $ECHO_N "(cached) $ECHO_C" >&6
3560 ac_check_lib_save_LIBS
=$LIBS
3562 cat >conftest.
$ac_ext <<_ACEOF
3565 cat confdefs.h
>>conftest.
$ac_ext
3566 cat >>conftest.
$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3569 /* Override any gcc2 internal prototype to avoid an error. */
3573 /* We use char because int might match the return type of a gcc2
3574 builtin and then its argument prototype would still apply. */
3584 rm -f conftest.
$ac_objext conftest
$ac_exeext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3586 (eval $ac_link) 2>conftest.er1
3588 grep -v '^ *+' conftest.er1
>conftest.err
3590 cat conftest.err
>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; } &&
3599 { ac_try
='test -s conftest$ac_exeext'
3600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3604 (exit $ac_status); }; }; then
3605 ac_cv_lib_dnet_dnet_ntoa
=yes
3607 echo "$as_me: failed program was:" >&5
3608 sed 's/^/| /' conftest.
$ac_ext >&5
3610 ac_cv_lib_dnet_dnet_ntoa
=no
3612 rm -f conftest.err conftest.
$ac_objext \
3613 conftest
$ac_exeext conftest.
$ac_ext
3614 LIBS
=$ac_check_lib_save_LIBS
3616 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3617 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3618 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3619 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3622 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3623 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3624 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3625 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 ac_check_lib_save_LIBS
=$LIBS
3629 LIBS
="-ldnet_stub $LIBS"
3630 cat >conftest.
$ac_ext <<_ACEOF
3633 cat confdefs.h
>>conftest.
$ac_ext
3634 cat >>conftest.
$ac_ext <<_ACEOF
3635 /* end confdefs.h. */
3637 /* Override any gcc2 internal prototype to avoid an error. */
3641 /* We use char because int might match the return type of a gcc2
3642 builtin and then its argument prototype would still apply. */
3652 rm -f conftest.
$ac_objext conftest
$ac_exeext
3653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3654 (eval $ac_link) 2>conftest.er1
3656 grep -v '^ *+' conftest.er1
>conftest.err
3658 cat conftest.err
>&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); } &&
3661 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; } &&
3667 { ac_try
='test -s conftest$ac_exeext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.
$ac_ext >&5
3678 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3680 rm -f conftest.err conftest.
$ac_objext \
3681 conftest
$ac_exeext conftest.
$ac_ext
3682 LIBS
=$ac_check_lib_save_LIBS
3684 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3685 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3686 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3687 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3692 rm -f conftest.err conftest.
$ac_objext \
3693 conftest
$ac_exeext conftest.
$ac_ext
3694 LIBS
="$ac_xsave_LIBS"
3696 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3697 # to get the SysV transport functions.
3698 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3700 # The nsl library prevents programs from opening the X display
3701 # on Irix 5.2, according to T.E. Dickey.
3702 # The functions gethostbyname, getservbyname, and inet_addr are
3703 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3704 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3705 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3706 if test "${ac_cv_func_gethostbyname+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 cat >conftest.
$ac_ext <<_ACEOF
3712 cat confdefs.h
>>conftest.
$ac_ext
3713 cat >>conftest.
$ac_ext <<_ACEOF
3714 /* end confdefs.h. */
3715 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3717 #define gethostbyname innocuous_gethostbyname
3719 /* System header to define __stub macros and hopefully few prototypes,
3720 which can conflict with char gethostbyname (); below.
3721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3722 <limits.h> exists even on freestanding compilers. */
3725 # include <limits.h>
3727 # include <assert.h>
3730 #undef gethostbyname
3732 /* Override any gcc2 internal prototype to avoid an error. */
3737 /* We use char because int might match the return type of a gcc2
3738 builtin and then its argument prototype would still apply. */
3739 char gethostbyname ();
3740 /* The GNU C library defines this for functions which it implements
3741 to always fail with ENOSYS. Some functions are actually named
3742 something starting with __ and the normal name is an alias. */
3743 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3746 char (*f) () = gethostbyname;
3755 return f != gethostbyname;
3760 rm -f conftest.
$ac_objext conftest
$ac_exeext
3761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3762 (eval $ac_link) 2>conftest.er1
3764 grep -v '^ *+' conftest.er1
>conftest.err
3766 cat conftest.err
>&5
3767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3768 (exit $ac_status); } &&
3769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3774 (exit $ac_status); }; } &&
3775 { ac_try
='test -s conftest$ac_exeext'
3776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3780 (exit $ac_status); }; }; then
3781 ac_cv_func_gethostbyname
=yes
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.
$ac_ext >&5
3786 ac_cv_func_gethostbyname
=no
3788 rm -f conftest.err conftest.
$ac_objext \
3789 conftest
$ac_exeext conftest.
$ac_ext
3791 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3792 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3794 if test $ac_cv_func_gethostbyname = no
; then
3795 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3796 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3797 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3798 echo $ECHO_N "(cached) $ECHO_C" >&6
3800 ac_check_lib_save_LIBS
=$LIBS
3802 cat >conftest.
$ac_ext <<_ACEOF
3805 cat confdefs.h
>>conftest.
$ac_ext
3806 cat >>conftest.
$ac_ext <<_ACEOF
3807 /* end confdefs.h. */
3809 /* Override any gcc2 internal prototype to avoid an error. */
3813 /* We use char because int might match the return type of a gcc2
3814 builtin and then its argument prototype would still apply. */
3815 char gethostbyname ();
3824 rm -f conftest.
$ac_objext conftest
$ac_exeext
3825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3826 (eval $ac_link) 2>conftest.er1
3828 grep -v '^ *+' conftest.er1
>conftest.err
3830 cat conftest.err
>&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); } &&
3833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3838 (exit $ac_status); }; } &&
3839 { ac_try
='test -s conftest$ac_exeext'
3840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3844 (exit $ac_status); }; }; then
3845 ac_cv_lib_nsl_gethostbyname
=yes
3847 echo "$as_me: failed program was:" >&5
3848 sed 's/^/| /' conftest.
$ac_ext >&5
3850 ac_cv_lib_nsl_gethostbyname
=no
3852 rm -f conftest.err conftest.
$ac_objext \
3853 conftest
$ac_exeext conftest.
$ac_ext
3854 LIBS
=$ac_check_lib_save_LIBS
3856 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3857 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3858 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3859 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3862 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3863 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3864 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3865 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3866 echo $ECHO_N "(cached) $ECHO_C" >&6
3868 ac_check_lib_save_LIBS
=$LIBS
3870 cat >conftest.
$ac_ext <<_ACEOF
3873 cat confdefs.h
>>conftest.
$ac_ext
3874 cat >>conftest.
$ac_ext <<_ACEOF
3875 /* end confdefs.h. */
3877 /* Override any gcc2 internal prototype to avoid an error. */
3881 /* We use char because int might match the return type of a gcc2
3882 builtin and then its argument prototype would still apply. */
3883 char gethostbyname ();
3892 rm -f conftest.
$ac_objext conftest
$ac_exeext
3893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3894 (eval $ac_link) 2>conftest.er1
3896 grep -v '^ *+' conftest.er1
>conftest.err
3898 cat conftest.err
>&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } &&
3901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); }; } &&
3907 { ac_try
='test -s conftest$ac_exeext'
3908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3912 (exit $ac_status); }; }; then
3913 ac_cv_lib_bsd_gethostbyname
=yes
3915 echo "$as_me: failed program was:" >&5
3916 sed 's/^/| /' conftest.
$ac_ext >&5
3918 ac_cv_lib_bsd_gethostbyname
=no
3920 rm -f conftest.err conftest.
$ac_objext \
3921 conftest
$ac_exeext conftest.
$ac_ext
3922 LIBS
=$ac_check_lib_save_LIBS
3924 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3925 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3926 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3927 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3933 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3934 # socket/setsockopt and other routines are undefined under SCO ODT
3935 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3936 # on later versions), says Simon Leinen: it contains gethostby*
3937 # variants that don't use the name server (or something). -lsocket
3938 # must be given before -lnsl if both are needed. We assume that
3939 # if connect needs -lnsl, so does gethostbyname.
3940 echo "$as_me:$LINENO: checking for connect" >&5
3941 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3942 if test "${ac_cv_func_connect+set}" = set; then
3943 echo $ECHO_N "(cached) $ECHO_C" >&6
3945 cat >conftest.
$ac_ext <<_ACEOF
3948 cat confdefs.h
>>conftest.
$ac_ext
3949 cat >>conftest.
$ac_ext <<_ACEOF
3950 /* end confdefs.h. */
3951 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3953 #define connect innocuous_connect
3955 /* System header to define __stub macros and hopefully few prototypes,
3956 which can conflict with char connect (); below.
3957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3958 <limits.h> exists even on freestanding compilers. */
3961 # include <limits.h>
3963 # include <assert.h>
3968 /* Override any gcc2 internal prototype to avoid an error. */
3973 /* We use char because int might match the return type of a gcc2
3974 builtin and then its argument prototype would still apply. */
3976 /* The GNU C library defines this for functions which it implements
3977 to always fail with ENOSYS. Some functions are actually named
3978 something starting with __ and the normal name is an alias. */
3979 #if defined (__stub_connect) || defined (__stub___connect)
3982 char (*f) () = connect;
3991 return f != connect;
3996 rm -f conftest.
$ac_objext conftest
$ac_exeext
3997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3998 (eval $ac_link) 2>conftest.er1
4000 grep -v '^ *+' conftest.er1
>conftest.err
4002 cat conftest.err
>&5
4003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004 (exit $ac_status); } &&
4005 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; } &&
4011 { ac_try
='test -s conftest$ac_exeext'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; }; then
4017 ac_cv_func_connect
=yes
4019 echo "$as_me: failed program was:" >&5
4020 sed 's/^/| /' conftest.
$ac_ext >&5
4022 ac_cv_func_connect
=no
4024 rm -f conftest.err conftest.
$ac_objext \
4025 conftest
$ac_exeext conftest.
$ac_ext
4027 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4028 echo "${ECHO_T}$ac_cv_func_connect" >&6
4030 if test $ac_cv_func_connect = no
; then
4031 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4032 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4033 if test "${ac_cv_lib_socket_connect+set}" = set; then
4034 echo $ECHO_N "(cached) $ECHO_C" >&6
4036 ac_check_lib_save_LIBS
=$LIBS
4037 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4038 cat >conftest.
$ac_ext <<_ACEOF
4041 cat confdefs.h
>>conftest.
$ac_ext
4042 cat >>conftest.
$ac_ext <<_ACEOF
4043 /* end confdefs.h. */
4045 /* Override any gcc2 internal prototype to avoid an error. */
4049 /* We use char because int might match the return type of a gcc2
4050 builtin and then its argument prototype would still apply. */
4060 rm -f conftest.
$ac_objext conftest
$ac_exeext
4061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4062 (eval $ac_link) 2>conftest.er1
4064 grep -v '^ *+' conftest.er1
>conftest.err
4066 cat conftest.err
>&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } &&
4069 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4074 (exit $ac_status); }; } &&
4075 { ac_try
='test -s conftest$ac_exeext'
4076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); }; }; then
4081 ac_cv_lib_socket_connect
=yes
4083 echo "$as_me: failed program was:" >&5
4084 sed 's/^/| /' conftest.
$ac_ext >&5
4086 ac_cv_lib_socket_connect
=no
4088 rm -f conftest.err conftest.
$ac_objext \
4089 conftest
$ac_exeext conftest.
$ac_ext
4090 LIBS
=$ac_check_lib_save_LIBS
4092 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4093 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4094 if test $ac_cv_lib_socket_connect = yes; then
4095 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4100 # Guillermo Gomez says -lposix is necessary on A/UX.
4101 echo "$as_me:$LINENO: checking for remove" >&5
4102 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4103 if test "${ac_cv_func_remove+set}" = set; then
4104 echo $ECHO_N "(cached) $ECHO_C" >&6
4106 cat >conftest.
$ac_ext <<_ACEOF
4109 cat confdefs.h
>>conftest.
$ac_ext
4110 cat >>conftest.
$ac_ext <<_ACEOF
4111 /* end confdefs.h. */
4112 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4114 #define remove innocuous_remove
4116 /* System header to define __stub macros and hopefully few prototypes,
4117 which can conflict with char remove (); below.
4118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4119 <limits.h> exists even on freestanding compilers. */
4122 # include <limits.h>
4124 # include <assert.h>
4129 /* Override any gcc2 internal prototype to avoid an error. */
4134 /* We use char because int might match the return type of a gcc2
4135 builtin and then its argument prototype would still apply. */
4137 /* The GNU C library defines this for functions which it implements
4138 to always fail with ENOSYS. Some functions are actually named
4139 something starting with __ and the normal name is an alias. */
4140 #if defined (__stub_remove) || defined (__stub___remove)
4143 char (*f) () = remove;
4157 rm -f conftest.
$ac_objext conftest
$ac_exeext
4158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4159 (eval $ac_link) 2>conftest.er1
4161 grep -v '^ *+' conftest.er1
>conftest.err
4163 cat conftest.err
>&5
4164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4165 (exit $ac_status); } &&
4166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4171 (exit $ac_status); }; } &&
4172 { ac_try
='test -s conftest$ac_exeext'
4173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4177 (exit $ac_status); }; }; then
4178 ac_cv_func_remove
=yes
4180 echo "$as_me: failed program was:" >&5
4181 sed 's/^/| /' conftest.
$ac_ext >&5
4183 ac_cv_func_remove
=no
4185 rm -f conftest.err conftest.
$ac_objext \
4186 conftest
$ac_exeext conftest.
$ac_ext
4188 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4189 echo "${ECHO_T}$ac_cv_func_remove" >&6
4191 if test $ac_cv_func_remove = no
; then
4192 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4193 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4194 if test "${ac_cv_lib_posix_remove+set}" = set; then
4195 echo $ECHO_N "(cached) $ECHO_C" >&6
4197 ac_check_lib_save_LIBS
=$LIBS
4198 LIBS
="-lposix $LIBS"
4199 cat >conftest.
$ac_ext <<_ACEOF
4202 cat confdefs.h
>>conftest.
$ac_ext
4203 cat >>conftest.
$ac_ext <<_ACEOF
4204 /* end confdefs.h. */
4206 /* Override any gcc2 internal prototype to avoid an error. */
4210 /* We use char because int might match the return type of a gcc2
4211 builtin and then its argument prototype would still apply. */
4221 rm -f conftest.
$ac_objext conftest
$ac_exeext
4222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4223 (eval $ac_link) 2>conftest.er1
4225 grep -v '^ *+' conftest.er1
>conftest.err
4227 cat conftest.err
>&5
4228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4229 (exit $ac_status); } &&
4230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4235 (exit $ac_status); }; } &&
4236 { ac_try
='test -s conftest$ac_exeext'
4237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241 (exit $ac_status); }; }; then
4242 ac_cv_lib_posix_remove
=yes
4244 echo "$as_me: failed program was:" >&5
4245 sed 's/^/| /' conftest.
$ac_ext >&5
4247 ac_cv_lib_posix_remove
=no
4249 rm -f conftest.err conftest.
$ac_objext \
4250 conftest
$ac_exeext conftest.
$ac_ext
4251 LIBS
=$ac_check_lib_save_LIBS
4253 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4254 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4255 if test $ac_cv_lib_posix_remove = yes; then
4256 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4261 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4262 echo "$as_me:$LINENO: checking for shmat" >&5
4263 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4264 if test "${ac_cv_func_shmat+set}" = set; then
4265 echo $ECHO_N "(cached) $ECHO_C" >&6
4267 cat >conftest.
$ac_ext <<_ACEOF
4270 cat confdefs.h
>>conftest.
$ac_ext
4271 cat >>conftest.
$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4273 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4275 #define shmat innocuous_shmat
4277 /* System header to define __stub macros and hopefully few prototypes,
4278 which can conflict with char shmat (); below.
4279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4280 <limits.h> exists even on freestanding compilers. */
4283 # include <limits.h>
4285 # include <assert.h>
4290 /* Override any gcc2 internal prototype to avoid an error. */
4295 /* We use char because int might match the return type of a gcc2
4296 builtin and then its argument prototype would still apply. */
4298 /* The GNU C library defines this for functions which it implements
4299 to always fail with ENOSYS. Some functions are actually named
4300 something starting with __ and the normal name is an alias. */
4301 #if defined (__stub_shmat) || defined (__stub___shmat)
4304 char (*f) () = shmat;
4318 rm -f conftest.
$ac_objext conftest
$ac_exeext
4319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4320 (eval $ac_link) 2>conftest.er1
4322 grep -v '^ *+' conftest.er1
>conftest.err
4324 cat conftest.err
>&5
4325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4326 (exit $ac_status); } &&
4327 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4332 (exit $ac_status); }; } &&
4333 { ac_try
='test -s conftest$ac_exeext'
4334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338 (exit $ac_status); }; }; then
4339 ac_cv_func_shmat
=yes
4341 echo "$as_me: failed program was:" >&5
4342 sed 's/^/| /' conftest.
$ac_ext >&5
4346 rm -f conftest.err conftest.
$ac_objext \
4347 conftest
$ac_exeext conftest.
$ac_ext
4349 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4350 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4352 if test $ac_cv_func_shmat = no
; then
4353 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4354 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4355 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 ac_check_lib_save_LIBS
=$LIBS
4360 cat >conftest.
$ac_ext <<_ACEOF
4363 cat confdefs.h
>>conftest.
$ac_ext
4364 cat >>conftest.
$ac_ext <<_ACEOF
4365 /* end confdefs.h. */
4367 /* Override any gcc2 internal prototype to avoid an error. */
4371 /* We use char because int might match the return type of a gcc2
4372 builtin and then its argument prototype would still apply. */
4382 rm -f conftest.
$ac_objext conftest
$ac_exeext
4383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4384 (eval $ac_link) 2>conftest.er1
4386 grep -v '^ *+' conftest.er1
>conftest.err
4388 cat conftest.err
>&5
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); } &&
4391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4396 (exit $ac_status); }; } &&
4397 { ac_try
='test -s conftest$ac_exeext'
4398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; }; then
4403 ac_cv_lib_ipc_shmat
=yes
4405 echo "$as_me: failed program was:" >&5
4406 sed 's/^/| /' conftest.
$ac_ext >&5
4408 ac_cv_lib_ipc_shmat
=no
4410 rm -f conftest.err conftest.
$ac_objext \
4411 conftest
$ac_exeext conftest.
$ac_ext
4412 LIBS
=$ac_check_lib_save_LIBS
4414 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4415 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4416 if test $ac_cv_lib_ipc_shmat = yes; then
4417 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4423 # Check for libraries that X11R6 Xt/Xaw programs need.
4424 ac_save_LDFLAGS
=$LDFLAGS
4425 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4426 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4427 # check for ICE first), but we must link in the order -lSM -lICE or
4428 # we get undefined symbols. So assume we have SM if we have ICE.
4429 # These have to be linked with before -lX11, unlike the other
4430 # libraries we check for below, so use a different variable.
4431 # John Interrante, Karl Berry
4432 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4433 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4434 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4435 echo $ECHO_N "(cached) $ECHO_C" >&6
4437 ac_check_lib_save_LIBS
=$LIBS
4438 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4439 cat >conftest.
$ac_ext <<_ACEOF
4442 cat confdefs.h
>>conftest.
$ac_ext
4443 cat >>conftest.
$ac_ext <<_ACEOF
4444 /* end confdefs.h. */
4446 /* Override any gcc2 internal prototype to avoid an error. */
4450 /* We use char because int might match the return type of a gcc2
4451 builtin and then its argument prototype would still apply. */
4452 char IceConnectionNumber ();
4456 IceConnectionNumber ();
4461 rm -f conftest.
$ac_objext conftest
$ac_exeext
4462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4463 (eval $ac_link) 2>conftest.er1
4465 grep -v '^ *+' conftest.er1
>conftest.err
4467 cat conftest.err
>&5
4468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4469 (exit $ac_status); } &&
4470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4475 (exit $ac_status); }; } &&
4476 { ac_try
='test -s conftest$ac_exeext'
4477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4481 (exit $ac_status); }; }; then
4482 ac_cv_lib_ICE_IceConnectionNumber
=yes
4484 echo "$as_me: failed program was:" >&5
4485 sed 's/^/| /' conftest.
$ac_ext >&5
4487 ac_cv_lib_ICE_IceConnectionNumber
=no
4489 rm -f conftest.err conftest.
$ac_objext \
4490 conftest
$ac_exeext conftest.
$ac_ext
4491 LIBS
=$ac_check_lib_save_LIBS
4493 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4494 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4495 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4496 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4499 LDFLAGS
=$ac_save_LDFLAGS
4503 for ac_prog
in flex
lex
4505 # Extract the first word of "$ac_prog", so it can be a program name with args.
4506 set dummy
$ac_prog; ac_word
=$2
4507 echo "$as_me:$LINENO: checking for $ac_word" >&5
4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4509 if test "${ac_cv_prog_LEX+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 if test -n "$LEX"; then
4513 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4519 test -z "$as_dir" && as_dir
=.
4520 for ac_exec_ext
in '' $ac_executable_extensions; do
4521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4522 ac_cv_prog_LEX
="$ac_prog"
4523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 if test -n "$LEX"; then
4533 echo "$as_me:$LINENO: result: $LEX" >&5
4534 echo "${ECHO_T}$LEX" >&6
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4540 test -n "$LEX" && break
4542 test -n "$LEX" || LEX
=":"
4544 if test -z "$LEXLIB"
4546 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4547 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4548 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 ac_check_lib_save_LIBS
=$LIBS
4553 cat >conftest.
$ac_ext <<_ACEOF
4556 cat confdefs.h
>>conftest.
$ac_ext
4557 cat >>conftest.
$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4560 /* Override any gcc2 internal prototype to avoid an error. */
4564 /* We use char because int might match the return type of a gcc2
4565 builtin and then its argument prototype would still apply. */
4575 rm -f conftest.
$ac_objext conftest
$ac_exeext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4577 (eval $ac_link) 2>conftest.er1
4579 grep -v '^ *+' conftest.er1
>conftest.err
4581 cat conftest.err
>&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); } &&
4584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); }; } &&
4590 { ac_try
='test -s conftest$ac_exeext'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; }; then
4596 ac_cv_lib_fl_yywrap
=yes
4598 echo "$as_me: failed program was:" >&5
4599 sed 's/^/| /' conftest.
$ac_ext >&5
4601 ac_cv_lib_fl_yywrap
=no
4603 rm -f conftest.err conftest.
$ac_objext \
4604 conftest
$ac_exeext conftest.
$ac_ext
4605 LIBS
=$ac_check_lib_save_LIBS
4607 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4608 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4609 if test $ac_cv_lib_fl_yywrap = yes; then
4612 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4613 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4614 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4615 echo $ECHO_N "(cached) $ECHO_C" >&6
4617 ac_check_lib_save_LIBS
=$LIBS
4619 cat >conftest.
$ac_ext <<_ACEOF
4622 cat confdefs.h
>>conftest.
$ac_ext
4623 cat >>conftest.
$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4626 /* Override any gcc2 internal prototype to avoid an error. */
4630 /* We use char because int might match the return type of a gcc2
4631 builtin and then its argument prototype would still apply. */
4641 rm -f conftest.
$ac_objext conftest
$ac_exeext
4642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4643 (eval $ac_link) 2>conftest.er1
4645 grep -v '^ *+' conftest.er1
>conftest.err
4647 cat conftest.err
>&5
4648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4649 (exit $ac_status); } &&
4650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); }; } &&
4656 { ac_try
='test -s conftest$ac_exeext'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 ac_cv_lib_l_yywrap
=yes
4664 echo "$as_me: failed program was:" >&5
4665 sed 's/^/| /' conftest.
$ac_ext >&5
4667 ac_cv_lib_l_yywrap
=no
4669 rm -f conftest.err conftest.
$ac_objext \
4670 conftest
$ac_exeext conftest.
$ac_ext
4671 LIBS
=$ac_check_lib_save_LIBS
4673 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4674 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4675 if test $ac_cv_lib_l_yywrap = yes; then
4683 if test "x$LEX" != "x:"; then
4684 echo "$as_me:$LINENO: checking lex output file root" >&5
4685 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4686 if test "${ac_cv_prog_lex_root+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 # The minimal lex program is just a single line: %%. But some broken lexes
4690 # (Solaris, I think it was) want two %% lines, so accommodate them.
4691 cat >conftest.l
<<_ACEOF
4695 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4696 (eval $LEX conftest.l
) 2>&5
4698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4699 (exit $ac_status); }
4700 if test -f lex.yy.c
; then
4701 ac_cv_prog_lex_root
=lex.yy
4702 elif test -f lexyy.c
; then
4703 ac_cv_prog_lex_root
=lexyy
4705 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4706 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4707 { (exit 1); exit 1; }; }
4710 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4711 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4713 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4715 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4716 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4717 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4720 # POSIX says lex can declare yytext either as a pointer or an array; the
4721 # default is implementation-dependent. Figure out which it is, since
4722 # not all implementations provide the %pointer and %array declarations.
4723 ac_cv_prog_lex_yytext_pointer
=no
4724 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4726 LIBS
="$LIBS $LEXLIB"
4727 cat >conftest.
$ac_ext <<_ACEOF
4728 `cat $LEX_OUTPUT_ROOT.c`
4730 rm -f conftest.
$ac_objext conftest
$ac_exeext
4731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4732 (eval $ac_link) 2>conftest.er1
4734 grep -v '^ *+' conftest.er1
>conftest.err
4736 cat conftest.err
>&5
4737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4738 (exit $ac_status); } &&
4739 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744 (exit $ac_status); }; } &&
4745 { ac_try
='test -s conftest$ac_exeext'
4746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); }; }; then
4751 ac_cv_prog_lex_yytext_pointer
=yes
4753 echo "$as_me: failed program was:" >&5
4754 sed 's/^/| /' conftest.
$ac_ext >&5
4757 rm -f conftest.err conftest.
$ac_objext \
4758 conftest
$ac_exeext conftest.
$ac_ext
4760 rm -f "${LEX_OUTPUT_ROOT}.c"
4763 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4764 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4765 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4767 cat >>confdefs.h
<<\_ACEOF
4768 #define YYTEXT_POINTER 1
4775 for ac_prog
in $LEX flex
lex
4777 # Extract the first word of "$ac_prog", so it can be a program name with args.
4778 set dummy
$ac_prog; ac_word
=$2
4779 echo "$as_me:$LINENO: checking for $ac_word" >&5
4780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4781 if test "${ac_cv_prog_XLEX+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 if test -n "$XLEX"; then
4785 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir
=.
4792 for ac_exec_ext
in '' $ac_executable_extensions; do
4793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4794 ac_cv_prog_XLEX
="$ac_prog"
4795 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4803 XLEX
=$ac_cv_prog_XLEX
4804 if test -n "$XLEX"; then
4805 echo "$as_me:$LINENO: result: $XLEX" >&5
4806 echo "${ECHO_T}$XLEX" >&6
4808 echo "$as_me:$LINENO: result: no" >&5
4809 echo "${ECHO_T}no" >&6
4812 test -n "$XLEX" && break
4814 test -n "$XLEX" || XLEX
="none"
4816 if test "$XLEX" = "none"
4818 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4819 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4820 { (exit 1); exit 1; }; }
4823 for ac_prog
in bison
4825 # Extract the first word of "$ac_prog", so it can be a program name with args.
4826 set dummy
$ac_prog; ac_word
=$2
4827 echo "$as_me:$LINENO: checking for $ac_word" >&5
4828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4829 if test "${ac_cv_prog_BISON+set}" = set; then
4830 echo $ECHO_N "(cached) $ECHO_C" >&6
4832 if test -n "$BISON"; then
4833 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4835 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4839 test -z "$as_dir" && as_dir
=.
4840 for ac_exec_ext
in '' $ac_executable_extensions; do
4841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_BISON
="$ac_prog"
4843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4851 BISON
=$ac_cv_prog_BISON
4852 if test -n "$BISON"; then
4853 echo "$as_me:$LINENO: result: $BISON" >&5
4854 echo "${ECHO_T}$BISON" >&6
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4860 test -n "$BISON" && break
4862 test -n "$BISON" || BISON
="none"
4864 if test "$BISON" = "none"
4866 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4867 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4868 { (exit 1); exit 1; }; }
4871 if test -n "$ac_tool_prefix"; then
4872 for ac_prog
in gas as
4874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4875 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4876 echo "$as_me:$LINENO: checking for $ac_word" >&5
4877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4878 if test "${ac_cv_prog_AS+set}" = set; then
4879 echo $ECHO_N "(cached) $ECHO_C" >&6
4881 if test -n "$AS"; then
4882 ac_cv_prog_AS
="$AS" # Let the user override the test.
4884 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4888 test -z "$as_dir" && as_dir
=.
4889 for ac_exec_ext
in '' $ac_executable_extensions; do
4890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4891 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 if test -n "$AS"; then
4902 echo "$as_me:$LINENO: result: $AS" >&5
4903 echo "${ECHO_T}$AS" >&6
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4909 test -n "$AS" && break
4912 if test -z "$AS"; then
4914 for ac_prog
in gas as
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy
$ac_prog; ac_word
=$2
4918 echo "$as_me:$LINENO: checking for $ac_word" >&5
4919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4920 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 if test -n "$ac_ct_AS"; then
4924 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4933 ac_cv_prog_ac_ct_AS
="$ac_prog"
4934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4943 if test -n "$ac_ct_AS"; then
4944 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4945 echo "${ECHO_T}$ac_ct_AS" >&6
4947 echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6
4951 test -n "$ac_ct_AS" && break
4953 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4958 if test -n "$ac_tool_prefix"; then
4959 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4960 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4961 echo "$as_me:$LINENO: checking for $ac_word" >&5
4962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4963 if test "${ac_cv_prog_LD+set}" = set; then
4964 echo $ECHO_N "(cached) $ECHO_C" >&6
4966 if test -n "$LD"; then
4967 ac_cv_prog_LD
="$LD" # Let the user override the test.
4969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir
=.
4974 for ac_exec_ext
in '' $ac_executable_extensions; do
4975 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4976 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 if test -n "$LD"; then
4987 echo "$as_me:$LINENO: result: $LD" >&5
4988 echo "${ECHO_T}$LD" >&6
4990 echo "$as_me:$LINENO: result: no" >&5
4991 echo "${ECHO_T}no" >&6
4995 if test -z "$ac_cv_prog_LD"; then
4997 # Extract the first word of "ld", so it can be a program name with args.
4998 set dummy ld
; ac_word
=$2
4999 echo "$as_me:$LINENO: checking for $ac_word" >&5
5000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5001 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5002 echo $ECHO_N "(cached) $ECHO_C" >&6
5004 if test -n "$ac_ct_LD"; then
5005 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5011 test -z "$as_dir" && as_dir
=.
5012 for ac_exec_ext
in '' $ac_executable_extensions; do
5013 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5014 ac_cv_prog_ac_ct_LD
="ld"
5015 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5021 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5024 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5025 if test -n "$ac_ct_LD"; then
5026 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5027 echo "${ECHO_T}$ac_ct_LD" >&6
5029 echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6
5038 if test -n "$ac_tool_prefix"; then
5039 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5040 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5041 echo "$as_me:$LINENO: checking for $ac_word" >&5
5042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5043 if test "${ac_cv_prog_AR+set}" = set; then
5044 echo $ECHO_N "(cached) $ECHO_C" >&6
5046 if test -n "$AR"; then
5047 ac_cv_prog_AR
="$AR" # Let the user override the test.
5049 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5053 test -z "$as_dir" && as_dir
=.
5054 for ac_exec_ext
in '' $ac_executable_extensions; do
5055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5056 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 if test -n "$AR"; then
5067 echo "$as_me:$LINENO: result: $AR" >&5
5068 echo "${ECHO_T}$AR" >&6
5070 echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6
5075 if test -z "$ac_cv_prog_AR"; then
5077 # Extract the first word of "ar", so it can be a program name with args.
5078 set dummy
ar; ac_word
=$2
5079 echo "$as_me:$LINENO: checking for $ac_word" >&5
5080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5081 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5084 if test -n "$ac_ct_AR"; then
5085 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5087 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5091 test -z "$as_dir" && as_dir
=.
5092 for ac_exec_ext
in '' $ac_executable_extensions; do
5093 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5094 ac_cv_prog_ac_ct_AR
="ar"
5095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5104 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5105 if test -n "$ac_ct_AR"; then
5106 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5107 echo "${ECHO_T}$ac_ct_AR" >&6
5109 echo "$as_me:$LINENO: result: no" >&5
5110 echo "${ECHO_T}no" >&6
5118 if test -n "$ac_tool_prefix"; then
5119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5120 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5121 echo "$as_me:$LINENO: checking for $ac_word" >&5
5122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5123 if test "${ac_cv_prog_RANLIB+set}" = set; then
5124 echo $ECHO_N "(cached) $ECHO_C" >&6
5126 if test -n "$RANLIB"; then
5127 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5129 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5133 test -z "$as_dir" && as_dir
=.
5134 for ac_exec_ext
in '' $ac_executable_extensions; do
5135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5145 RANLIB
=$ac_cv_prog_RANLIB
5146 if test -n "$RANLIB"; then
5147 echo "$as_me:$LINENO: result: $RANLIB" >&5
5148 echo "${ECHO_T}$RANLIB" >&6
5150 echo "$as_me:$LINENO: result: no" >&5
5151 echo "${ECHO_T}no" >&6
5155 if test -z "$ac_cv_prog_RANLIB"; then
5156 ac_ct_RANLIB
=$RANLIB
5157 # Extract the first word of "ranlib", so it can be a program name with args.
5158 set dummy ranlib
; ac_word
=$2
5159 echo "$as_me:$LINENO: checking for $ac_word" >&5
5160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 if test -n "$ac_ct_RANLIB"; then
5165 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5167 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5171 test -z "$as_dir" && as_dir
=.
5172 for ac_exec_ext
in '' $ac_executable_extensions; do
5173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5174 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5181 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5184 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5185 if test -n "$ac_ct_RANLIB"; then
5186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5193 RANLIB
=$ac_ct_RANLIB
5195 RANLIB
="$ac_cv_prog_RANLIB"
5198 if test -n "$ac_tool_prefix"; then
5199 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5200 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5201 echo "$as_me:$LINENO: checking for $ac_word" >&5
5202 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5203 if test "${ac_cv_prog_STRIP+set}" = set; then
5204 echo $ECHO_N "(cached) $ECHO_C" >&6
5206 if test -n "$STRIP"; then
5207 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5209 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir
=.
5214 for ac_exec_ext
in '' $ac_executable_extensions; do
5215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5217 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5225 STRIP
=$ac_cv_prog_STRIP
5226 if test -n "$STRIP"; then
5227 echo "$as_me:$LINENO: result: $STRIP" >&5
5228 echo "${ECHO_T}$STRIP" >&6
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5235 if test -z "$ac_cv_prog_STRIP"; then
5237 # Extract the first word of "strip", so it can be a program name with args.
5238 set dummy strip
; ac_word
=$2
5239 echo "$as_me:$LINENO: checking for $ac_word" >&5
5240 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5241 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5242 echo $ECHO_N "(cached) $ECHO_C" >&6
5244 if test -n "$ac_ct_STRIP"; then
5245 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5251 test -z "$as_dir" && as_dir
=.
5252 for ac_exec_ext
in '' $ac_executable_extensions; do
5253 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5254 ac_cv_prog_ac_ct_STRIP
="strip"
5255 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5261 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5264 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5265 if test -n "$ac_ct_STRIP"; then
5266 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5267 echo "${ECHO_T}$ac_ct_STRIP" >&6
5269 echo "$as_me:$LINENO: result: no" >&5
5270 echo "${ECHO_T}no" >&6
5275 STRIP
="$ac_cv_prog_STRIP"
5278 if test -n "$ac_tool_prefix"; then
5279 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5280 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5281 echo "$as_me:$LINENO: checking for $ac_word" >&5
5282 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5283 if test "${ac_cv_prog_WINDRES+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 if test -n "$WINDRES"; then
5287 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5289 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5293 test -z "$as_dir" && as_dir
=.
5294 for ac_exec_ext
in '' $ac_executable_extensions; do
5295 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5296 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5305 WINDRES
=$ac_cv_prog_WINDRES
5306 if test -n "$WINDRES"; then
5307 echo "$as_me:$LINENO: result: $WINDRES" >&5
5308 echo "${ECHO_T}$WINDRES" >&6
5310 echo "$as_me:$LINENO: result: no" >&5
5311 echo "${ECHO_T}no" >&6
5315 if test -z "$ac_cv_prog_WINDRES"; then
5316 ac_ct_WINDRES
=$WINDRES
5317 # Extract the first word of "windres", so it can be a program name with args.
5318 set dummy windres
; ac_word
=$2
5319 echo "$as_me:$LINENO: checking for $ac_word" >&5
5320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5321 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5322 echo $ECHO_N "(cached) $ECHO_C" >&6
5324 if test -n "$ac_ct_WINDRES"; then
5325 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5327 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5331 test -z "$as_dir" && as_dir
=.
5332 for ac_exec_ext
in '' $ac_executable_extensions; do
5333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5334 ac_cv_prog_ac_ct_WINDRES
="windres"
5335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5341 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5344 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5345 if test -n "$ac_ct_WINDRES"; then
5346 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5347 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5349 echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6
5353 WINDRES
=$ac_ct_WINDRES
5355 WINDRES
="$ac_cv_prog_WINDRES"
5358 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5359 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5361 if test "$LN_S" = "ln -s"; then
5362 echo "$as_me:$LINENO: result: yes" >&5
5363 echo "${ECHO_T}yes" >&6
5365 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5366 echo "${ECHO_T}no, using $LN_S" >&6
5369 echo "$as_me:$LINENO: checking whether ln works" >&5
5370 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5371 rm -f conf$$ conf$$.
file
5373 if ln conf$$.
file conf$$
2>/dev
/null
; then
5376 echo "$as_me:$LINENO: result: yes" >&5
5377 echo "${ECHO_T}yes" >&6
5381 echo "$as_me:$LINENO: result: no, using $LN" >&5
5382 echo "${ECHO_T}no, using $LN" >&6
5384 rm -f conf$$ conf$$.
file
5385 # Extract the first word of "ldconfig", so it can be a program name with args.
5386 set dummy ldconfig
; ac_word
=$2
5387 echo "$as_me:$LINENO: checking for $ac_word" >&5
5388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5389 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5390 echo $ECHO_N "(cached) $ECHO_C" >&6
5394 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5398 for as_dir
in /sbin
/usr
/sbin
$PATH
5401 test -z "$as_dir" && as_dir
=.
5402 for ac_exec_ext
in '' $ac_executable_extensions; do
5403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5404 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5411 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5415 LDCONFIG
=$ac_cv_path_LDCONFIG
5417 if test -n "$LDCONFIG"; then
5418 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5419 echo "${ECHO_T}$LDCONFIG" >&6
5421 echo "$as_me:$LINENO: result: no" >&5
5422 echo "${ECHO_T}no" >&6
5425 # Find a good install program. We prefer a C program (faster),
5426 # so one script is as good as another. But avoid the broken or
5427 # incompatible versions:
5428 # SysV /etc/install, /usr/sbin/install
5429 # SunOS /usr/etc/install
5430 # IRIX /sbin/install
5432 # AmigaOS /C/install, which installs bootblocks on floppy discs
5433 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5434 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5435 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5436 # OS/2's system install, which has a completely different semantic
5437 # ./install, which can be erroneously created by make from ./install.sh.
5438 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5439 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5440 if test -z "$INSTALL"; then
5441 if test "${ac_cv_path_install+set}" = set; then
5442 echo $ECHO_N "(cached) $ECHO_C" >&6
5444 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5448 test -z "$as_dir" && as_dir
=.
5449 # Account for people who put trailing slashes in PATH elements.
5451 .
/ | .
// |
/cC
/* | \
5452 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5453 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5456 # OSF1 and SCO ODT 3.0 have their own names for install.
5457 # Don't use installbsd from OSF since it installs stuff as root
5459 for ac_prog
in ginstall scoinst
install; do
5460 for ac_exec_ext
in '' $ac_executable_extensions; do
5461 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5462 if test $ac_prog = install &&
5463 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5464 # AIX install. It has an incompatible calling convention.
5466 elif test $ac_prog = install &&
5467 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5468 # program-specific install script used by HP pwplus--don't use.
5471 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5483 if test "${ac_cv_path_install+set}" = set; then
5484 INSTALL
=$ac_cv_path_install
5486 # As a last resort, use the slow shell script. We don't cache a
5487 # path for INSTALL within a source directory, because that will
5488 # break other packages using the cache if that directory is
5489 # removed, or if the path is relative.
5490 INSTALL
=$ac_install_sh
5493 echo "$as_me:$LINENO: result: $INSTALL" >&5
5494 echo "${ECHO_T}$INSTALL" >&6
5496 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5497 # It thinks the first close brace ends the variable substitution.
5498 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5500 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5502 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5505 [\\/$
]* | ?
:[\\/]* ) ;;
5506 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5509 for ac_prog
in lclint lint
5511 # Extract the first word of "$ac_prog", so it can be a program name with args.
5512 set dummy
$ac_prog; ac_word
=$2
5513 echo "$as_me:$LINENO: checking for $ac_word" >&5
5514 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5515 if test "${ac_cv_prog_LINT+set}" = set; then
5516 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 if test -n "$LINT"; then
5519 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5525 test -z "$as_dir" && as_dir
=.
5526 for ac_exec_ext
in '' $ac_executable_extensions; do
5527 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_LINT
="$ac_prog"
5529 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5537 LINT
=$ac_cv_prog_LINT
5538 if test -n "$LINT"; then
5539 echo "$as_me:$LINENO: result: $LINT" >&5
5540 echo "${ECHO_T}$LINT" >&6
5542 echo "$as_me:$LINENO: result: no" >&5
5543 echo "${ECHO_T}no" >&6
5546 test -n "$LINT" && break
5549 if test "$LINT" = "lint"
5551 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5556 for ac_prog
in docbook2html db2html
5558 # Extract the first word of "$ac_prog", so it can be a program name with args.
5559 set dummy
$ac_prog; ac_word
=$2
5560 echo "$as_me:$LINENO: checking for $ac_word" >&5
5561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5562 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 if test -n "$DB2HTML"; then
5566 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5568 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5572 test -z "$as_dir" && as_dir
=.
5573 for ac_exec_ext
in '' $ac_executable_extensions; do
5574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5575 ac_cv_prog_DB2HTML
="$ac_prog"
5576 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5584 DB2HTML
=$ac_cv_prog_DB2HTML
5585 if test -n "$DB2HTML"; then
5586 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5587 echo "${ECHO_T}$DB2HTML" >&6
5589 echo "$as_me:$LINENO: result: no" >&5
5590 echo "${ECHO_T}no" >&6
5593 test -n "$DB2HTML" && break
5595 test -n "$DB2HTML" || DB2HTML
="false"
5599 for ac_prog
in docbook2pdf db2pdf
5601 # Extract the first word of "$ac_prog", so it can be a program name with args.
5602 set dummy
$ac_prog; ac_word
=$2
5603 echo "$as_me:$LINENO: checking for $ac_word" >&5
5604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5605 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5606 echo $ECHO_N "(cached) $ECHO_C" >&6
5608 if test -n "$DB2PDF"; then
5609 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir
=.
5616 for ac_exec_ext
in '' $ac_executable_extensions; do
5617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5618 ac_cv_prog_DB2PDF
="$ac_prog"
5619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5627 DB2PDF
=$ac_cv_prog_DB2PDF
5628 if test -n "$DB2PDF"; then
5629 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5630 echo "${ECHO_T}$DB2PDF" >&6
5632 echo "$as_me:$LINENO: result: no" >&5
5633 echo "${ECHO_T}no" >&6
5636 test -n "$DB2PDF" && break
5638 test -n "$DB2PDF" || DB2PDF
="false"
5642 for ac_prog
in docbook2ps db2ps
5644 # Extract the first word of "$ac_prog", so it can be a program name with args.
5645 set dummy
$ac_prog; ac_word
=$2
5646 echo "$as_me:$LINENO: checking for $ac_word" >&5
5647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5648 if test "${ac_cv_prog_DB2PS+set}" = set; then
5649 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 if test -n "$DB2PS"; then
5652 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5654 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5658 test -z "$as_dir" && as_dir
=.
5659 for ac_exec_ext
in '' $ac_executable_extensions; do
5660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5661 ac_cv_prog_DB2PS
="$ac_prog"
5662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5670 DB2PS
=$ac_cv_prog_DB2PS
5671 if test -n "$DB2PS"; then
5672 echo "$as_me:$LINENO: result: $DB2PS" >&5
5673 echo "${ECHO_T}$DB2PS" >&6
5675 echo "$as_me:$LINENO: result: no" >&5
5676 echo "${ECHO_T}no" >&6
5679 test -n "$DB2PS" && break
5681 test -n "$DB2PS" || DB2PS
="false"
5685 for ac_prog
in docbook2txt db2txt
5687 # Extract the first word of "$ac_prog", so it can be a program name with args.
5688 set dummy
$ac_prog; ac_word
=$2
5689 echo "$as_me:$LINENO: checking for $ac_word" >&5
5690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5691 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5692 echo $ECHO_N "(cached) $ECHO_C" >&6
5694 if test -n "$DB2TXT"; then
5695 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5697 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5701 test -z "$as_dir" && as_dir
=.
5702 for ac_exec_ext
in '' $ac_executable_extensions; do
5703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_DB2TXT
="$ac_prog"
5705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5713 DB2TXT
=$ac_cv_prog_DB2TXT
5714 if test -n "$DB2TXT"; then
5715 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5716 echo "${ECHO_T}$DB2TXT" >&6
5718 echo "$as_me:$LINENO: result: no" >&5
5719 echo "${ECHO_T}no" >&6
5722 test -n "$DB2TXT" && break
5724 test -n "$DB2TXT" || DB2TXT
="false"
5730 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5731 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5732 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 ac_check_lib_save_LIBS
=$LIBS
5737 cat >conftest.
$ac_ext <<_ACEOF
5740 cat confdefs.h
>>conftest.
$ac_ext
5741 cat >>conftest.
$ac_ext <<_ACEOF
5742 /* end confdefs.h. */
5744 /* Override any gcc2 internal prototype to avoid an error. */
5748 /* We use char because int might match the return type of a gcc2
5749 builtin and then its argument prototype would still apply. */
5750 char i386_set_ldt ();
5759 rm -f conftest.
$ac_objext conftest
$ac_exeext
5760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5761 (eval $ac_link) 2>conftest.er1
5763 grep -v '^ *+' conftest.er1
>conftest.err
5765 cat conftest.err
>&5
5766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5767 (exit $ac_status); } &&
5768 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5773 (exit $ac_status); }; } &&
5774 { ac_try
='test -s conftest$ac_exeext'
5775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5779 (exit $ac_status); }; }; then
5780 ac_cv_lib_i386_i386_set_ldt
=yes
5782 echo "$as_me: failed program was:" >&5
5783 sed 's/^/| /' conftest.
$ac_ext >&5
5785 ac_cv_lib_i386_i386_set_ldt
=no
5787 rm -f conftest.err conftest.
$ac_objext \
5788 conftest
$ac_exeext conftest.
$ac_ext
5789 LIBS
=$ac_check_lib_save_LIBS
5791 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5792 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5793 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5794 cat >>confdefs.h
<<_ACEOF
5795 #define HAVE_LIBI386 1
5803 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5804 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5805 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5806 echo $ECHO_N "(cached) $ECHO_C" >&6
5808 ac_check_lib_save_LIBS
=$LIBS
5809 LIBS
="-lossaudio $LIBS"
5810 cat >conftest.
$ac_ext <<_ACEOF
5813 cat confdefs.h
>>conftest.
$ac_ext
5814 cat >>conftest.
$ac_ext <<_ACEOF
5815 /* end confdefs.h. */
5817 /* Override any gcc2 internal prototype to avoid an error. */
5821 /* We use char because int might match the return type of a gcc2
5822 builtin and then its argument prototype would still apply. */
5832 rm -f conftest.
$ac_objext conftest
$ac_exeext
5833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5834 (eval $ac_link) 2>conftest.er1
5836 grep -v '^ *+' conftest.er1
>conftest.err
5838 cat conftest.err
>&5
5839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5840 (exit $ac_status); } &&
5841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5846 (exit $ac_status); }; } &&
5847 { ac_try
='test -s conftest$ac_exeext'
5848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5852 (exit $ac_status); }; }; then
5853 ac_cv_lib_ossaudio__oss_ioctl
=yes
5855 echo "$as_me: failed program was:" >&5
5856 sed 's/^/| /' conftest.
$ac_ext >&5
5858 ac_cv_lib_ossaudio__oss_ioctl
=no
5860 rm -f conftest.err conftest.
$ac_objext \
5861 conftest
$ac_exeext conftest.
$ac_ext
5862 LIBS
=$ac_check_lib_save_LIBS
5864 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5865 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5866 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5867 cat >>confdefs.h
<<_ACEOF
5868 #define HAVE_LIBOSSAUDIO 1
5871 LIBS
="-lossaudio $LIBS"
5876 for ac_func
in iswalnum
5878 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5879 echo "$as_me:$LINENO: checking for $ac_func" >&5
5880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5881 if eval "test \"\${$as_ac_var+set}\" = set"; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 cat >conftest.
$ac_ext <<_ACEOF
5887 cat confdefs.h
>>conftest.
$ac_ext
5888 cat >>conftest.
$ac_ext <<_ACEOF
5889 /* end confdefs.h. */
5890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5892 #define $ac_func innocuous_$ac_func
5894 /* System header to define __stub macros and hopefully few prototypes,
5895 which can conflict with char $ac_func (); below.
5896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5897 <limits.h> exists even on freestanding compilers. */
5900 # include <limits.h>
5902 # include <assert.h>
5907 /* Override any gcc2 internal prototype to avoid an error. */
5912 /* We use char because int might match the return type of a gcc2
5913 builtin and then its argument prototype would still apply. */
5915 /* The GNU C library defines this for functions which it implements
5916 to always fail with ENOSYS. Some functions are actually named
5917 something starting with __ and the normal name is an alias. */
5918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5921 char (*f) () = $ac_func;
5930 return f != $ac_func;
5935 rm -f conftest.
$ac_objext conftest
$ac_exeext
5936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5937 (eval $ac_link) 2>conftest.er1
5939 grep -v '^ *+' conftest.er1
>conftest.err
5941 cat conftest.err
>&5
5942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5943 (exit $ac_status); } &&
5944 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5949 (exit $ac_status); }; } &&
5950 { ac_try
='test -s conftest$ac_exeext'
5951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5955 (exit $ac_status); }; }; then
5956 eval "$as_ac_var=yes"
5958 echo "$as_me: failed program was:" >&5
5959 sed 's/^/| /' conftest.
$ac_ext >&5
5961 eval "$as_ac_var=no"
5963 rm -f conftest.err conftest.
$ac_objext \
5964 conftest
$ac_exeext conftest.
$ac_ext
5966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5968 if test `eval echo '${'$as_ac_var'}'` = yes; then
5969 cat >>confdefs.h
<<_ACEOF
5970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5975 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5976 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5977 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5978 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 ac_check_lib_save_LIBS
=$LIBS
5982 cat >conftest.
$ac_ext <<_ACEOF
5985 cat confdefs.h
>>conftest.
$ac_ext
5986 cat >>conftest.
$ac_ext <<_ACEOF
5987 /* end confdefs.h. */
5989 /* Override any gcc2 internal prototype to avoid an error. */
5993 /* We use char because int might match the return type of a gcc2
5994 builtin and then its argument prototype would still apply. */
6004 rm -f conftest.
$ac_objext conftest
$ac_exeext
6005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6006 (eval $ac_link) 2>conftest.er1
6008 grep -v '^ *+' conftest.er1
>conftest.err
6010 cat conftest.err
>&5
6011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6012 (exit $ac_status); } &&
6013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); }; } &&
6019 { ac_try
='test -s conftest$ac_exeext'
6020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; }; then
6025 ac_cv_lib_w_iswalnum
=yes
6027 echo "$as_me: failed program was:" >&5
6028 sed 's/^/| /' conftest.
$ac_ext >&5
6030 ac_cv_lib_w_iswalnum
=no
6032 rm -f conftest.err conftest.
$ac_objext \
6033 conftest
$ac_exeext conftest.
$ac_ext
6034 LIBS
=$ac_check_lib_save_LIBS
6036 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6037 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6038 if test $ac_cv_lib_w_iswalnum = yes; then
6039 cat >>confdefs.h
<<_ACEOF
6051 for ac_func
in gethostbyname
6053 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6054 echo "$as_me:$LINENO: checking for $ac_func" >&5
6055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6056 if eval "test \"\${$as_ac_var+set}\" = set"; then
6057 echo $ECHO_N "(cached) $ECHO_C" >&6
6059 cat >conftest.
$ac_ext <<_ACEOF
6062 cat confdefs.h
>>conftest.
$ac_ext
6063 cat >>conftest.
$ac_ext <<_ACEOF
6064 /* end confdefs.h. */
6065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6067 #define $ac_func innocuous_$ac_func
6069 /* System header to define __stub macros and hopefully few prototypes,
6070 which can conflict with char $ac_func (); below.
6071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6072 <limits.h> exists even on freestanding compilers. */
6075 # include <limits.h>
6077 # include <assert.h>
6082 /* Override any gcc2 internal prototype to avoid an error. */
6087 /* We use char because int might match the return type of a gcc2
6088 builtin and then its argument prototype would still apply. */
6090 /* The GNU C library defines this for functions which it implements
6091 to always fail with ENOSYS. Some functions are actually named
6092 something starting with __ and the normal name is an alias. */
6093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6096 char (*f) () = $ac_func;
6105 return f != $ac_func;
6110 rm -f conftest.
$ac_objext conftest
$ac_exeext
6111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6112 (eval $ac_link) 2>conftest.er1
6114 grep -v '^ *+' conftest.er1
>conftest.err
6116 cat conftest.err
>&5
6117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6118 (exit $ac_status); } &&
6119 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6124 (exit $ac_status); }; } &&
6125 { ac_try
='test -s conftest$ac_exeext'
6126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6130 (exit $ac_status); }; }; then
6131 eval "$as_ac_var=yes"
6133 echo "$as_me: failed program was:" >&5
6134 sed 's/^/| /' conftest.
$ac_ext >&5
6136 eval "$as_ac_var=no"
6138 rm -f conftest.err conftest.
$ac_objext \
6139 conftest
$ac_exeext conftest.
$ac_ext
6141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6143 if test `eval echo '${'$as_ac_var'}'` = yes; then
6144 cat >>confdefs.h
<<_ACEOF
6145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6150 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6151 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6152 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6153 echo $ECHO_N "(cached) $ECHO_C" >&6
6155 ac_check_lib_save_LIBS
=$LIBS
6157 cat >conftest.
$ac_ext <<_ACEOF
6160 cat confdefs.h
>>conftest.
$ac_ext
6161 cat >>conftest.
$ac_ext <<_ACEOF
6162 /* end confdefs.h. */
6164 /* Override any gcc2 internal prototype to avoid an error. */
6168 /* We use char because int might match the return type of a gcc2
6169 builtin and then its argument prototype would still apply. */
6170 char gethostbyname ();
6179 rm -f conftest.
$ac_objext conftest
$ac_exeext
6180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6181 (eval $ac_link) 2>conftest.er1
6183 grep -v '^ *+' conftest.er1
>conftest.err
6185 cat conftest.err
>&5
6186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6187 (exit $ac_status); } &&
6188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); }; } &&
6194 { ac_try
='test -s conftest$ac_exeext'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; }; then
6200 ac_cv_lib_nsl_gethostbyname
=yes
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.
$ac_ext >&5
6205 ac_cv_lib_nsl_gethostbyname
=no
6207 rm -f conftest.err conftest.
$ac_objext \
6208 conftest
$ac_exeext conftest.
$ac_ext
6209 LIBS
=$ac_check_lib_save_LIBS
6211 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6212 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6213 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6214 cat >>confdefs.h
<<_ACEOF
6215 #define HAVE_LIBNSL 1
6226 for ac_func
in connect
6228 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6229 echo "$as_me:$LINENO: checking for $ac_func" >&5
6230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6231 if eval "test \"\${$as_ac_var+set}\" = set"; then
6232 echo $ECHO_N "(cached) $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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6242 #define $ac_func innocuous_$ac_func
6244 /* System header to define __stub macros and hopefully few prototypes,
6245 which can conflict with char $ac_func (); below.
6246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6247 <limits.h> exists even on freestanding compilers. */
6250 # include <limits.h>
6252 # include <assert.h>
6257 /* Override any gcc2 internal prototype to avoid an error. */
6262 /* We use char because int might match the return type of a gcc2
6263 builtin and then its argument prototype would still apply. */
6265 /* The GNU C library defines this for functions which it implements
6266 to always fail with ENOSYS. Some functions are actually named
6267 something starting with __ and the normal name is an alias. */
6268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6271 char (*f) () = $ac_func;
6280 return f != $ac_func;
6285 rm -f conftest.
$ac_objext conftest
$ac_exeext
6286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6287 (eval $ac_link) 2>conftest.er1
6289 grep -v '^ *+' conftest.er1
>conftest.err
6291 cat conftest.err
>&5
6292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6293 (exit $ac_status); } &&
6294 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }; } &&
6300 { ac_try
='test -s conftest$ac_exeext'
6301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6305 (exit $ac_status); }; }; then
6306 eval "$as_ac_var=yes"
6308 echo "$as_me: failed program was:" >&5
6309 sed 's/^/| /' conftest.
$ac_ext >&5
6311 eval "$as_ac_var=no"
6313 rm -f conftest.err conftest.
$ac_objext \
6314 conftest
$ac_exeext conftest.
$ac_ext
6316 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6317 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6318 if test `eval echo '${'$as_ac_var'}'` = yes; then
6319 cat >>confdefs.h
<<_ACEOF
6320 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6325 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6326 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6327 if test "${ac_cv_lib_socket_connect+set}" = set; then
6328 echo $ECHO_N "(cached) $ECHO_C" >&6
6330 ac_check_lib_save_LIBS
=$LIBS
6331 LIBS
="-lsocket $LIBS"
6332 cat >conftest.
$ac_ext <<_ACEOF
6335 cat confdefs.h
>>conftest.
$ac_ext
6336 cat >>conftest.
$ac_ext <<_ACEOF
6337 /* end confdefs.h. */
6339 /* Override any gcc2 internal prototype to avoid an error. */
6343 /* We use char because int might match the return type of a gcc2
6344 builtin and then its argument prototype would still apply. */
6354 rm -f conftest.
$ac_objext conftest
$ac_exeext
6355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6356 (eval $ac_link) 2>conftest.er1
6358 grep -v '^ *+' conftest.er1
>conftest.err
6360 cat conftest.err
>&5
6361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6362 (exit $ac_status); } &&
6363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); }; } &&
6369 { ac_try
='test -s conftest$ac_exeext'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; }; then
6375 ac_cv_lib_socket_connect
=yes
6377 echo "$as_me: failed program was:" >&5
6378 sed 's/^/| /' conftest.
$ac_ext >&5
6380 ac_cv_lib_socket_connect
=no
6382 rm -f conftest.err conftest.
$ac_objext \
6383 conftest
$ac_exeext conftest.
$ac_ext
6384 LIBS
=$ac_check_lib_save_LIBS
6386 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6387 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6388 if test $ac_cv_lib_socket_connect = yes; then
6389 cat >>confdefs.h
<<_ACEOF
6390 #define HAVE_LIBSOCKET 1
6393 LIBS
="-lsocket $LIBS"
6401 for ac_func
in inet_aton
6403 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6404 echo "$as_me:$LINENO: checking for $ac_func" >&5
6405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6406 if eval "test \"\${$as_ac_var+set}\" = set"; then
6407 echo $ECHO_N "(cached) $ECHO_C" >&6
6409 cat >conftest.
$ac_ext <<_ACEOF
6412 cat confdefs.h
>>conftest.
$ac_ext
6413 cat >>conftest.
$ac_ext <<_ACEOF
6414 /* end confdefs.h. */
6415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6417 #define $ac_func innocuous_$ac_func
6419 /* System header to define __stub macros and hopefully few prototypes,
6420 which can conflict with char $ac_func (); below.
6421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6422 <limits.h> exists even on freestanding compilers. */
6425 # include <limits.h>
6427 # include <assert.h>
6432 /* Override any gcc2 internal prototype to avoid an error. */
6437 /* We use char because int might match the return type of a gcc2
6438 builtin and then its argument prototype would still apply. */
6440 /* The GNU C library defines this for functions which it implements
6441 to always fail with ENOSYS. Some functions are actually named
6442 something starting with __ and the normal name is an alias. */
6443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6446 char (*f) () = $ac_func;
6455 return f != $ac_func;
6460 rm -f conftest.
$ac_objext conftest
$ac_exeext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6462 (eval $ac_link) 2>conftest.er1
6464 grep -v '^ *+' conftest.er1
>conftest.err
6466 cat conftest.err
>&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); } &&
6469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; } &&
6475 { ac_try
='test -s conftest$ac_exeext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6481 eval "$as_ac_var=yes"
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.
$ac_ext >&5
6486 eval "$as_ac_var=no"
6488 rm -f conftest.err conftest.
$ac_objext \
6489 conftest
$ac_exeext conftest.
$ac_ext
6491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6493 if test `eval echo '${'$as_ac_var'}'` = yes; then
6494 cat >>confdefs.h
<<_ACEOF
6495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6500 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6501 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6502 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6503 echo $ECHO_N "(cached) $ECHO_C" >&6
6505 ac_check_lib_save_LIBS
=$LIBS
6506 LIBS
="-lresolv $LIBS"
6507 cat >conftest.
$ac_ext <<_ACEOF
6510 cat confdefs.h
>>conftest.
$ac_ext
6511 cat >>conftest.
$ac_ext <<_ACEOF
6512 /* end confdefs.h. */
6514 /* Override any gcc2 internal prototype to avoid an error. */
6518 /* We use char because int might match the return type of a gcc2
6519 builtin and then its argument prototype would still apply. */
6529 rm -f conftest.
$ac_objext conftest
$ac_exeext
6530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6531 (eval $ac_link) 2>conftest.er1
6533 grep -v '^ *+' conftest.er1
>conftest.err
6535 cat conftest.err
>&5
6536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6537 (exit $ac_status); } &&
6538 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); }; } &&
6544 { ac_try
='test -s conftest$ac_exeext'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; }; then
6550 ac_cv_lib_resolv_inet_aton
=yes
6552 echo "$as_me: failed program was:" >&5
6553 sed 's/^/| /' conftest.
$ac_ext >&5
6555 ac_cv_lib_resolv_inet_aton
=no
6557 rm -f conftest.err conftest.
$ac_objext \
6558 conftest
$ac_exeext conftest.
$ac_ext
6559 LIBS
=$ac_check_lib_save_LIBS
6561 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6562 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6563 if test $ac_cv_lib_resolv_inet_aton = yes; then
6564 cat >>confdefs.h
<<_ACEOF
6565 #define HAVE_LIBRESOLV 1
6568 LIBS
="-lresolv $LIBS"
6576 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6577 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6578 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6581 ac_check_lib_save_LIBS
=$LIBS
6583 cat >conftest.
$ac_ext <<_ACEOF
6586 cat confdefs.h
>>conftest.
$ac_ext
6587 cat >>conftest.
$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6590 /* Override any gcc2 internal prototype to avoid an error. */
6594 /* We use char because int might match the return type of a gcc2
6595 builtin and then its argument prototype would still apply. */
6596 char _xpg4_setrunelocale ();
6600 _xpg4_setrunelocale ();
6605 rm -f conftest.
$ac_objext conftest
$ac_exeext
6606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6607 (eval $ac_link) 2>conftest.er1
6609 grep -v '^ *+' conftest.er1
>conftest.err
6611 cat conftest.err
>&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } &&
6614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; } &&
6620 { ac_try
='test -s conftest$ac_exeext'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; }; then
6626 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6628 echo "$as_me: failed program was:" >&5
6629 sed 's/^/| /' conftest.
$ac_ext >&5
6631 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6633 rm -f conftest.err conftest.
$ac_objext \
6634 conftest
$ac_exeext conftest.
$ac_ext
6635 LIBS
=$ac_check_lib_save_LIBS
6637 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6638 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6639 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6640 cat >>confdefs.h
<<_ACEOF
6641 #define HAVE_LIBXPG4 1
6649 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6650 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6651 if test "${ac_cv_lib_poll_poll+set}" = set; then
6652 echo $ECHO_N "(cached) $ECHO_C" >&6
6654 ac_check_lib_save_LIBS
=$LIBS
6656 cat >conftest.
$ac_ext <<_ACEOF
6659 cat confdefs.h
>>conftest.
$ac_ext
6660 cat >>conftest.
$ac_ext <<_ACEOF
6661 /* end confdefs.h. */
6663 /* Override any gcc2 internal prototype to avoid an error. */
6667 /* We use char because int might match the return type of a gcc2
6668 builtin and then its argument prototype would still apply. */
6678 rm -f conftest.
$ac_objext conftest
$ac_exeext
6679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6680 (eval $ac_link) 2>conftest.er1
6682 grep -v '^ *+' conftest.er1
>conftest.err
6684 cat conftest.err
>&5
6685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6686 (exit $ac_status); } &&
6687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6692 (exit $ac_status); }; } &&
6693 { ac_try
='test -s conftest$ac_exeext'
6694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6698 (exit $ac_status); }; }; then
6699 ac_cv_lib_poll_poll
=yes
6701 echo "$as_me: failed program was:" >&5
6702 sed 's/^/| /' conftest.
$ac_ext >&5
6704 ac_cv_lib_poll_poll
=no
6706 rm -f conftest.err conftest.
$ac_objext \
6707 conftest
$ac_exeext conftest.
$ac_ext
6708 LIBS
=$ac_check_lib_save_LIBS
6710 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6711 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6712 if test $ac_cv_lib_poll_poll = yes; then
6713 cat >>confdefs.h
<<_ACEOF
6714 #define HAVE_LIBPOLL 1
6721 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6722 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6723 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6724 echo $ECHO_N "(cached) $ECHO_C" >&6
6726 ac_check_lib_save_LIBS
=$LIBS
6727 LIBS
="-lpthread $LIBS"
6728 cat >conftest.
$ac_ext <<_ACEOF
6731 cat confdefs.h
>>conftest.
$ac_ext
6732 cat >>conftest.
$ac_ext <<_ACEOF
6733 /* end confdefs.h. */
6735 /* Override any gcc2 internal prototype to avoid an error. */
6739 /* We use char because int might match the return type of a gcc2
6740 builtin and then its argument prototype would still apply. */
6741 char pthread_create ();
6750 rm -f conftest.
$ac_objext conftest
$ac_exeext
6751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6752 (eval $ac_link) 2>conftest.er1
6754 grep -v '^ *+' conftest.er1
>conftest.err
6756 cat conftest.err
>&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } &&
6759 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; } &&
6765 { ac_try
='test -s conftest$ac_exeext'
6766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6770 (exit $ac_status); }; }; then
6771 ac_cv_lib_pthread_pthread_create
=yes
6773 echo "$as_me: failed program was:" >&5
6774 sed 's/^/| /' conftest.
$ac_ext >&5
6776 ac_cv_lib_pthread_pthread_create
=no
6778 rm -f conftest.err conftest.
$ac_objext \
6779 conftest
$ac_exeext conftest.
$ac_ext
6780 LIBS
=$ac_check_lib_save_LIBS
6782 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6783 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6784 if test $ac_cv_lib_pthread_pthread_create = yes; then
6785 LIBPTHREAD
="-lpthread"
6792 echo "$as_me:$LINENO: checking for egrep" >&5
6793 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6794 if test "${ac_cv_prog_egrep+set}" = set; then
6795 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6798 then ac_cv_prog_egrep
='grep -E'
6799 else ac_cv_prog_egrep
='egrep'
6802 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6803 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6804 EGREP
=$ac_cv_prog_egrep
6807 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6808 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6809 if test "${ac_cv_header_stdc+set}" = set; then
6810 echo $ECHO_N "(cached) $ECHO_C" >&6
6812 cat >conftest.
$ac_ext <<_ACEOF
6815 cat confdefs.h
>>conftest.
$ac_ext
6816 cat >>conftest.
$ac_ext <<_ACEOF
6817 /* end confdefs.h. */
6831 rm -f conftest.
$ac_objext
6832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6833 (eval $ac_compile) 2>conftest.er1
6835 grep -v '^ *+' conftest.er1
>conftest.err
6837 cat conftest.err
>&5
6838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } &&
6840 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6845 (exit $ac_status); }; } &&
6846 { ac_try
='test -s conftest.$ac_objext'
6847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6851 (exit $ac_status); }; }; then
6852 ac_cv_header_stdc
=yes
6854 echo "$as_me: failed program was:" >&5
6855 sed 's/^/| /' conftest.
$ac_ext >&5
6857 ac_cv_header_stdc
=no
6859 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6861 if test $ac_cv_header_stdc = yes; then
6862 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6863 cat >conftest.
$ac_ext <<_ACEOF
6866 cat confdefs.h
>>conftest.
$ac_ext
6867 cat >>conftest.
$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6873 $EGREP "memchr" >/dev
/null
2>&1; then
6876 ac_cv_header_stdc
=no
6882 if test $ac_cv_header_stdc = yes; then
6883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6884 cat >conftest.
$ac_ext <<_ACEOF
6887 cat confdefs.h
>>conftest.
$ac_ext
6888 cat >>conftest.
$ac_ext <<_ACEOF
6889 /* end confdefs.h. */
6893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6894 $EGREP "free" >/dev
/null
2>&1; then
6897 ac_cv_header_stdc
=no
6903 if test $ac_cv_header_stdc = yes; then
6904 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6905 if test "$cross_compiling" = yes; then
6908 cat >conftest.
$ac_ext <<_ACEOF
6911 cat confdefs.h
>>conftest.
$ac_ext
6912 cat >>conftest.
$ac_ext <<_ACEOF
6913 /* end confdefs.h. */
6915 #if ((' ' & 0x0FF) == 0x020)
6916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6919 # define ISLOWER(c) \
6920 (('a' <= (c) && (c) <= 'i') \
6921 || ('j' <= (c) && (c) <= 'r') \
6922 || ('s' <= (c) && (c) <= 'z'))
6923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6931 for (i = 0; i < 256; i++)
6932 if (XOR (islower (i), ISLOWER (i))
6933 || toupper (i) != TOUPPER (i))
6938 rm -f conftest
$ac_exeext
6939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6940 (eval $ac_link) 2>&5
6942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6943 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6948 (exit $ac_status); }; }; then
6951 echo "$as_me: program exited with status $ac_status" >&5
6952 echo "$as_me: failed program was:" >&5
6953 sed 's/^/| /' conftest.
$ac_ext >&5
6956 ac_cv_header_stdc
=no
6958 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6962 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6963 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6964 if test $ac_cv_header_stdc = yes; then
6966 cat >>confdefs.h
<<\_ACEOF
6967 #define STDC_HEADERS 1
6972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6982 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6983 inttypes.h stdint.h unistd.h
6985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6986 echo "$as_me:$LINENO: checking for $ac_header" >&5
6987 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6988 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6989 echo $ECHO_N "(cached) $ECHO_C" >&6
6991 cat >conftest.
$ac_ext <<_ACEOF
6994 cat confdefs.h
>>conftest.
$ac_ext
6995 cat >>conftest.
$ac_ext <<_ACEOF
6996 /* end confdefs.h. */
6997 $ac_includes_default
6999 #include <$ac_header>
7001 rm -f conftest.
$ac_objext
7002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7003 (eval $ac_compile) 2>conftest.er1
7005 grep -v '^ *+' conftest.er1
>conftest.err
7007 cat conftest.err
>&5
7008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7009 (exit $ac_status); } &&
7010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; } &&
7016 { ac_try
='test -s conftest.$ac_objext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then
7022 eval "$as_ac_Header=yes"
7024 echo "$as_me: failed program was:" >&5
7025 sed 's/^/| /' conftest.
$ac_ext >&5
7027 eval "$as_ac_Header=no"
7029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7034 cat >>confdefs.h
<<_ACEOF
7035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7044 for ac_header
in jpeglib.h
7046 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7048 echo "$as_me:$LINENO: checking for $ac_header" >&5
7049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7056 # Is the header compilable?
7057 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7058 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7059 cat >conftest.
$ac_ext <<_ACEOF
7062 cat confdefs.h
>>conftest.
$ac_ext
7063 cat >>conftest.
$ac_ext <<_ACEOF
7064 /* end confdefs.h. */
7065 $ac_includes_default
7066 #include <$ac_header>
7068 rm -f conftest.
$ac_objext
7069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7070 (eval $ac_compile) 2>conftest.er1
7072 grep -v '^ *+' conftest.er1
>conftest.err
7074 cat conftest.err
>&5
7075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7076 (exit $ac_status); } &&
7077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7082 (exit $ac_status); }; } &&
7083 { ac_try
='test -s conftest.$ac_objext'
7084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); }; }; then
7089 ac_header_compiler
=yes
7091 echo "$as_me: failed program was:" >&5
7092 sed 's/^/| /' conftest.
$ac_ext >&5
7094 ac_header_compiler
=no
7096 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7097 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7098 echo "${ECHO_T}$ac_header_compiler" >&6
7100 # Is the header present?
7101 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7102 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7103 cat >conftest.
$ac_ext <<_ACEOF
7106 cat confdefs.h
>>conftest.
$ac_ext
7107 cat >>conftest.
$ac_ext <<_ACEOF
7108 /* end confdefs.h. */
7109 #include <$ac_header>
7111 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7112 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7114 grep -v '^ *+' conftest.er1
>conftest.err
7116 cat conftest.err
>&5
7117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7118 (exit $ac_status); } >/dev
/null
; then
7119 if test -s conftest.err
; then
7120 ac_cpp_err
=$ac_c_preproc_warn_flag
7121 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7128 if test -z "$ac_cpp_err"; then
7129 ac_header_preproc
=yes
7131 echo "$as_me: failed program was:" >&5
7132 sed 's/^/| /' conftest.
$ac_ext >&5
7134 ac_header_preproc
=no
7136 rm -f conftest.err conftest.
$ac_ext
7137 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7138 echo "${ECHO_T}$ac_header_preproc" >&6
7140 # So? What about this header?
7141 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7144 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7146 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7147 ac_header_preproc
=yes
7150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7151 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7153 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7154 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7155 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7156 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7157 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7159 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7161 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7164 ## ------------------------------------ ##
7165 ## Report this to wine-devel@winehq.org ##
7166 ## ------------------------------------ ##
7169 sed "s/^/$as_me: WARNING: /" >&2
7172 echo "$as_me:$LINENO: checking for $ac_header" >&5
7173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7175 echo $ECHO_N "(cached) $ECHO_C" >&6
7177 eval "$as_ac_Header=\$ac_header_preproc"
7179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7180 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7183 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7184 cat >>confdefs.h
<<_ACEOF
7185 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7187 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
7188 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
7189 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
7190 echo $ECHO_N "(cached) $ECHO_C" >&6
7192 ac_check_lib_save_LIBS
=$LIBS
7194 cat >conftest.
$ac_ext <<_ACEOF
7197 cat confdefs.h
>>conftest.
$ac_ext
7198 cat >>conftest.
$ac_ext <<_ACEOF
7199 /* end confdefs.h. */
7201 /* Override any gcc2 internal prototype to avoid an error. */
7205 /* We use char because int might match the return type of a gcc2
7206 builtin and then its argument prototype would still apply. */
7207 char jpeg_start_decompress ();
7211 jpeg_start_decompress ();
7216 rm -f conftest.
$ac_objext conftest
$ac_exeext
7217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7218 (eval $ac_link) 2>conftest.er1
7220 grep -v '^ *+' conftest.er1
>conftest.err
7222 cat conftest.err
>&5
7223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); } &&
7225 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); }; } &&
7231 { ac_try
='test -s conftest$ac_exeext'
7232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7236 (exit $ac_status); }; }; then
7237 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
7239 echo "$as_me: failed program was:" >&5
7240 sed 's/^/| /' conftest.
$ac_ext >&5
7242 ac_cv_lib_jpeg_jpeg_start_decompress
=no
7244 rm -f conftest.err conftest.
$ac_objext \
7245 conftest
$ac_exeext conftest.
$ac_ext
7246 LIBS
=$ac_check_lib_save_LIBS
7248 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
7249 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
7250 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
7252 cat >>confdefs.h
<<\_ACEOF
7253 #define HAVE_LIBJPEG 1
7269 for ac_header
in gif_lib.h
7271 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7272 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7273 echo "$as_me:$LINENO: checking for $ac_header" >&5
7274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7275 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7281 # Is the header compilable?
7282 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7283 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7284 cat >conftest.
$ac_ext <<_ACEOF
7287 cat confdefs.h
>>conftest.
$ac_ext
7288 cat >>conftest.
$ac_ext <<_ACEOF
7289 /* end confdefs.h. */
7290 $ac_includes_default
7291 #include <$ac_header>
7293 rm -f conftest.
$ac_objext
7294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7295 (eval $ac_compile) 2>conftest.er1
7297 grep -v '^ *+' conftest.er1
>conftest.err
7299 cat conftest.err
>&5
7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7301 (exit $ac_status); } &&
7302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); }; } &&
7308 { ac_try
='test -s conftest.$ac_objext'
7309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); }; }; then
7314 ac_header_compiler
=yes
7316 echo "$as_me: failed program was:" >&5
7317 sed 's/^/| /' conftest.
$ac_ext >&5
7319 ac_header_compiler
=no
7321 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7322 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7323 echo "${ECHO_T}$ac_header_compiler" >&6
7325 # Is the header present?
7326 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7327 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7328 cat >conftest.
$ac_ext <<_ACEOF
7331 cat confdefs.h
>>conftest.
$ac_ext
7332 cat >>conftest.
$ac_ext <<_ACEOF
7333 /* end confdefs.h. */
7334 #include <$ac_header>
7336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7337 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7339 grep -v '^ *+' conftest.er1
>conftest.err
7341 cat conftest.err
>&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); } >/dev
/null
; then
7344 if test -s conftest.err
; then
7345 ac_cpp_err
=$ac_c_preproc_warn_flag
7346 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7353 if test -z "$ac_cpp_err"; then
7354 ac_header_preproc
=yes
7356 echo "$as_me: failed program was:" >&5
7357 sed 's/^/| /' conftest.
$ac_ext >&5
7359 ac_header_preproc
=no
7361 rm -f conftest.err conftest.
$ac_ext
7362 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7363 echo "${ECHO_T}$ac_header_preproc" >&6
7365 # So? What about this header?
7366 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7368 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7369 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7370 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7371 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7372 ac_header_preproc
=yes
7375 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7376 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7377 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7378 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7379 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7380 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7381 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7382 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7383 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7384 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7385 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7386 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7389 ## ------------------------------------ ##
7390 ## Report this to wine-devel@winehq.org ##
7391 ## ------------------------------------ ##
7394 sed "s/^/$as_me: WARNING: /" >&2
7397 echo "$as_me:$LINENO: checking for $ac_header" >&5
7398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7400 echo $ECHO_N "(cached) $ECHO_C" >&6
7402 eval "$as_ac_Header=\$ac_header_preproc"
7404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7408 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7409 cat >>confdefs.h
<<_ACEOF
7410 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7412 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7413 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7414 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7415 echo $ECHO_N "(cached) $ECHO_C" >&6
7417 ac_check_lib_save_LIBS
=$LIBS
7418 LIBS
="-lungif $LIBS"
7419 cat >conftest.
$ac_ext <<_ACEOF
7422 cat confdefs.h
>>conftest.
$ac_ext
7423 cat >>conftest.
$ac_ext <<_ACEOF
7424 /* end confdefs.h. */
7426 /* Override any gcc2 internal prototype to avoid an error. */
7430 /* We use char because int might match the return type of a gcc2
7431 builtin and then its argument prototype would still apply. */
7441 rm -f conftest.
$ac_objext conftest
$ac_exeext
7442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7443 (eval $ac_link) 2>conftest.er1
7445 grep -v '^ *+' conftest.er1
>conftest.err
7447 cat conftest.err
>&5
7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7449 (exit $ac_status); } &&
7450 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); }; } &&
7456 { ac_try
='test -s conftest$ac_exeext'
7457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); }; }; then
7462 ac_cv_lib_ungif_DGifOpen
=yes
7464 echo "$as_me: failed program was:" >&5
7465 sed 's/^/| /' conftest.
$ac_ext >&5
7467 ac_cv_lib_ungif_DGifOpen
=no
7469 rm -f conftest.err conftest.
$ac_objext \
7470 conftest
$ac_exeext conftest.
$ac_ext
7471 LIBS
=$ac_check_lib_save_LIBS
7473 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7474 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7475 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7477 cat >>confdefs.h
<<\_ACEOF
7478 #define HAVE_LIBGIF 1
7483 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7484 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7485 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7486 echo $ECHO_N "(cached) $ECHO_C" >&6
7488 ac_check_lib_save_LIBS
=$LIBS
7490 cat >conftest.
$ac_ext <<_ACEOF
7493 cat confdefs.h
>>conftest.
$ac_ext
7494 cat >>conftest.
$ac_ext <<_ACEOF
7495 /* end confdefs.h. */
7497 /* Override any gcc2 internal prototype to avoid an error. */
7501 /* We use char because int might match the return type of a gcc2
7502 builtin and then its argument prototype would still apply. */
7512 rm -f conftest.
$ac_objext conftest
$ac_exeext
7513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7514 (eval $ac_link) 2>conftest.er1
7516 grep -v '^ *+' conftest.er1
>conftest.err
7518 cat conftest.err
>&5
7519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7520 (exit $ac_status); } &&
7521 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7526 (exit $ac_status); }; } &&
7527 { ac_try
='test -s conftest$ac_exeext'
7528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7532 (exit $ac_status); }; }; then
7533 ac_cv_lib_gif_DGifOpen
=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.
$ac_ext >&5
7538 ac_cv_lib_gif_DGifOpen
=no
7540 rm -f conftest.err conftest.
$ac_objext \
7541 conftest
$ac_exeext conftest.
$ac_ext
7542 LIBS
=$ac_check_lib_save_LIBS
7544 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7545 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7546 if test $ac_cv_lib_gif_DGifOpen = yes; then
7547 cat >>confdefs.h
<<\_ACEOF
7548 #define HAVE_LIBGIF 1
7570 if test "$have_x" = "yes"
7573 ac_save_CPPFLAGS
="$CPPFLAGS"
7574 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7577 for ac_header
in X11
/Xlib.h
7579 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7581 echo "$as_me:$LINENO: checking for $ac_header" >&5
7582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7584 echo $ECHO_N "(cached) $ECHO_C" >&6
7586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7589 # Is the header compilable?
7590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7592 cat >conftest.
$ac_ext <<_ACEOF
7595 cat confdefs.h
>>conftest.
$ac_ext
7596 cat >>conftest.
$ac_ext <<_ACEOF
7597 /* end confdefs.h. */
7598 $ac_includes_default
7599 #include <$ac_header>
7601 rm -f conftest.
$ac_objext
7602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7603 (eval $ac_compile) 2>conftest.er1
7605 grep -v '^ *+' conftest.er1
>conftest.err
7607 cat conftest.err
>&5
7608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7609 (exit $ac_status); } &&
7610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7615 (exit $ac_status); }; } &&
7616 { ac_try
='test -s conftest.$ac_objext'
7617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7621 (exit $ac_status); }; }; then
7622 ac_header_compiler
=yes
7624 echo "$as_me: failed program was:" >&5
7625 sed 's/^/| /' conftest.
$ac_ext >&5
7627 ac_header_compiler
=no
7629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7631 echo "${ECHO_T}$ac_header_compiler" >&6
7633 # Is the header present?
7634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7636 cat >conftest.
$ac_ext <<_ACEOF
7639 cat confdefs.h
>>conftest.
$ac_ext
7640 cat >>conftest.
$ac_ext <<_ACEOF
7641 /* end confdefs.h. */
7642 #include <$ac_header>
7644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7645 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7647 grep -v '^ *+' conftest.er1
>conftest.err
7649 cat conftest.err
>&5
7650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7651 (exit $ac_status); } >/dev
/null
; then
7652 if test -s conftest.err
; then
7653 ac_cpp_err
=$ac_c_preproc_warn_flag
7654 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7661 if test -z "$ac_cpp_err"; then
7662 ac_header_preproc
=yes
7664 echo "$as_me: failed program was:" >&5
7665 sed 's/^/| /' conftest.
$ac_ext >&5
7667 ac_header_preproc
=no
7669 rm -f conftest.err conftest.
$ac_ext
7670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7671 echo "${ECHO_T}$ac_header_preproc" >&6
7673 # So? What about this header?
7674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7680 ac_header_preproc
=yes
7683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7697 ## ------------------------------------ ##
7698 ## Report this to wine-devel@winehq.org ##
7699 ## ------------------------------------ ##
7702 sed "s/^/$as_me: WARNING: /" >&2
7705 echo "$as_me:$LINENO: checking for $ac_header" >&5
7706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7708 echo $ECHO_N "(cached) $ECHO_C" >&6
7710 eval "$as_ac_Header=\$ac_header_preproc"
7712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7717 cat >>confdefs.h
<<_ACEOF
7718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7731 for ac_header
in X11
/XKBlib.h \
7733 X11
/extensions
/shape.h \
7734 X11
/extensions
/XInput.h \
7735 X11
/extensions
/XShm.h \
7736 X11
/extensions
/Xrandr.h \
7737 X11
/extensions
/Xrender.h \
7738 X11
/extensions
/Xvlib.h \
7739 X11
/extensions
/xf86dga.h \
7740 X11
/extensions
/xf86vmode.h
7742 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7743 echo "$as_me:$LINENO: checking for $ac_header" >&5
7744 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7746 echo $ECHO_N "(cached) $ECHO_C" >&6
7748 cat >conftest.
$ac_ext <<_ACEOF
7751 cat confdefs.h
>>conftest.
$ac_ext
7752 cat >>conftest.
$ac_ext <<_ACEOF
7753 /* end confdefs.h. */
7754 #include <X11/Xlib.h>
7755 #ifdef HAVE_X11_XUTIL_H
7756 # include <X11/Xutil.h>
7759 #include <$ac_header>
7761 rm -f conftest.
$ac_objext
7762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7763 (eval $ac_compile) 2>conftest.er1
7765 grep -v '^ *+' conftest.er1
>conftest.err
7767 cat conftest.err
>&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); } &&
7770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7775 (exit $ac_status); }; } &&
7776 { ac_try
='test -s conftest.$ac_objext'
7777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7781 (exit $ac_status); }; }; then
7782 eval "$as_ac_Header=yes"
7784 echo "$as_me: failed program was:" >&5
7785 sed 's/^/| /' conftest.
$ac_ext >&5
7787 eval "$as_ac_Header=no"
7789 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7794 cat >>confdefs.h
<<_ACEOF
7795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7803 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7805 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7806 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7807 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7808 echo $ECHO_N "(cached) $ECHO_C" >&6
7810 ac_check_lib_save_LIBS
=$LIBS
7811 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7812 cat >conftest.
$ac_ext <<_ACEOF
7815 cat confdefs.h
>>conftest.
$ac_ext
7816 cat >>conftest.
$ac_ext <<_ACEOF
7817 /* end confdefs.h. */
7819 /* Override any gcc2 internal prototype to avoid an error. */
7823 /* We use char because int might match the return type of a gcc2
7824 builtin and then its argument prototype would still apply. */
7825 char XkbQueryExtension ();
7829 XkbQueryExtension ();
7834 rm -f conftest.
$ac_objext conftest
$ac_exeext
7835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7836 (eval $ac_link) 2>conftest.er1
7838 grep -v '^ *+' conftest.er1
>conftest.err
7840 cat conftest.err
>&5
7841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7842 (exit $ac_status); } &&
7843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7848 (exit $ac_status); }; } &&
7849 { ac_try
='test -s conftest$ac_exeext'
7850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7854 (exit $ac_status); }; }; then
7855 ac_cv_lib_X11_XkbQueryExtension
=yes
7857 echo "$as_me: failed program was:" >&5
7858 sed 's/^/| /' conftest.
$ac_ext >&5
7860 ac_cv_lib_X11_XkbQueryExtension
=no
7862 rm -f conftest.err conftest.
$ac_objext \
7863 conftest
$ac_exeext conftest.
$ac_ext
7864 LIBS
=$ac_check_lib_save_LIBS
7866 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7867 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7868 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7870 cat >>confdefs.h
<<\_ACEOF
7878 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7880 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7881 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7882 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7883 echo $ECHO_N "(cached) $ECHO_C" >&6
7885 ac_check_lib_save_LIBS
=$LIBS
7886 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7887 cat >conftest.
$ac_ext <<_ACEOF
7890 cat confdefs.h
>>conftest.
$ac_ext
7891 cat >>conftest.
$ac_ext <<_ACEOF
7892 /* end confdefs.h. */
7894 /* Override any gcc2 internal prototype to avoid an error. */
7898 /* We use char because int might match the return type of a gcc2
7899 builtin and then its argument prototype would still apply. */
7900 char XShmQueryExtension ();
7904 XShmQueryExtension ();
7909 rm -f conftest.
$ac_objext conftest
$ac_exeext
7910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7911 (eval $ac_link) 2>conftest.er1
7913 grep -v '^ *+' conftest.er1
>conftest.err
7915 cat conftest.err
>&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); } &&
7918 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7923 (exit $ac_status); }; } &&
7924 { ac_try
='test -s conftest$ac_exeext'
7925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7929 (exit $ac_status); }; }; then
7930 ac_cv_lib_Xext_XShmQueryExtension
=yes
7932 echo "$as_me: failed program was:" >&5
7933 sed 's/^/| /' conftest.
$ac_ext >&5
7935 ac_cv_lib_Xext_XShmQueryExtension
=no
7937 rm -f conftest.err conftest.
$ac_objext \
7938 conftest
$ac_exeext conftest.
$ac_ext
7939 LIBS
=$ac_check_lib_save_LIBS
7941 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7942 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7943 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7945 cat >>confdefs.h
<<\_ACEOF
7946 #define HAVE_LIBXXSHM 1
7953 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7955 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7956 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7957 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7958 echo $ECHO_N "(cached) $ECHO_C" >&6
7960 ac_check_lib_save_LIBS
=$LIBS
7961 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7962 cat >conftest.
$ac_ext <<_ACEOF
7965 cat confdefs.h
>>conftest.
$ac_ext
7966 cat >>conftest.
$ac_ext <<_ACEOF
7967 /* end confdefs.h. */
7969 /* Override any gcc2 internal prototype to avoid an error. */
7973 /* We use char because int might match the return type of a gcc2
7974 builtin and then its argument prototype would still apply. */
7975 char XShapeQueryExtension ();
7979 XShapeQueryExtension ();
7984 rm -f conftest.
$ac_objext conftest
$ac_exeext
7985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7986 (eval $ac_link) 2>conftest.er1
7988 grep -v '^ *+' conftest.er1
>conftest.err
7990 cat conftest.err
>&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); } &&
7993 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; } &&
7999 { ac_try
='test -s conftest$ac_exeext'
8000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8004 (exit $ac_status); }; }; then
8005 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8007 echo "$as_me: failed program was:" >&5
8008 sed 's/^/| /' conftest.
$ac_ext >&5
8010 ac_cv_lib_Xext_XShapeQueryExtension
=no
8012 rm -f conftest.err conftest.
$ac_objext \
8013 conftest
$ac_exeext conftest.
$ac_ext
8014 LIBS
=$ac_check_lib_save_LIBS
8016 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8017 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8018 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8020 cat >>confdefs.h
<<\_ACEOF
8021 #define HAVE_LIBXSHAPE 1
8028 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8030 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8031 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8032 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8033 echo $ECHO_N "(cached) $ECHO_C" >&6
8035 ac_check_lib_save_LIBS
=$LIBS
8036 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8037 cat >conftest.
$ac_ext <<_ACEOF
8040 cat confdefs.h
>>conftest.
$ac_ext
8041 cat >>conftest.
$ac_ext <<_ACEOF
8042 /* end confdefs.h. */
8044 /* Override any gcc2 internal prototype to avoid an error. */
8048 /* We use char because int might match the return type of a gcc2
8049 builtin and then its argument prototype would still apply. */
8050 char XDGAQueryExtension ();
8054 XDGAQueryExtension ();
8059 rm -f conftest.
$ac_objext conftest
$ac_exeext
8060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8061 (eval $ac_link) 2>conftest.er1
8063 grep -v '^ *+' conftest.er1
>conftest.err
8065 cat conftest.err
>&5
8066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8067 (exit $ac_status); } &&
8068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8073 (exit $ac_status); }; } &&
8074 { ac_try
='test -s conftest$ac_exeext'
8075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8079 (exit $ac_status); }; }; then
8080 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8082 echo "$as_me: failed program was:" >&5
8083 sed 's/^/| /' conftest.
$ac_ext >&5
8085 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8087 rm -f conftest.err conftest.
$ac_objext \
8088 conftest
$ac_exeext conftest.
$ac_ext
8089 LIBS
=$ac_check_lib_save_LIBS
8091 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8092 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8093 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8095 cat >>confdefs.h
<<\_ACEOF
8096 #define HAVE_LIBXXF86DGA2 1
8099 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8102 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
8103 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8104 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
8105 echo $ECHO_N "(cached) $ECHO_C" >&6
8107 ac_check_lib_save_LIBS
=$LIBS
8108 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
8110 cat >conftest.
$ac_ext <<_ACEOF
8113 cat confdefs.h
>>conftest.
$ac_ext
8114 cat >>conftest.
$ac_ext <<_ACEOF
8115 /* end confdefs.h. */
8117 /* Override any gcc2 internal prototype to avoid an error. */
8121 /* We use char because int might match the return type of a gcc2
8122 builtin and then its argument prototype would still apply. */
8123 char XF86DGAQueryExtension ();
8127 XF86DGAQueryExtension ();
8132 rm -f conftest.
$ac_objext conftest
$ac_exeext
8133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8134 (eval $ac_link) 2>conftest.er1
8136 grep -v '^ *+' conftest.er1
>conftest.err
8138 cat conftest.err
>&5
8139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8140 (exit $ac_status); } &&
8141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8146 (exit $ac_status); }; } &&
8147 { ac_try
='test -s conftest$ac_exeext'
8148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); }; }; then
8153 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
8155 echo "$as_me: failed program was:" >&5
8156 sed 's/^/| /' conftest.
$ac_ext >&5
8158 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
8160 rm -f conftest.err conftest.
$ac_objext \
8161 conftest
$ac_exeext conftest.
$ac_ext
8162 LIBS
=$ac_check_lib_save_LIBS
8164 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
8165 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
8166 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
8168 cat >>confdefs.h
<<\_ACEOF
8169 #define HAVE_LIBXXF86DGA 1
8172 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8181 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8183 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8184 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8185 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8188 ac_check_lib_save_LIBS
=$LIBS
8189 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8190 cat >conftest.
$ac_ext <<_ACEOF
8193 cat confdefs.h
>>conftest.
$ac_ext
8194 cat >>conftest.
$ac_ext <<_ACEOF
8195 /* end confdefs.h. */
8197 /* Override any gcc2 internal prototype to avoid an error. */
8201 /* We use char because int might match the return type of a gcc2
8202 builtin and then its argument prototype would still apply. */
8203 char XF86VidModeQueryExtension ();
8207 XF86VidModeQueryExtension ();
8212 rm -f conftest.
$ac_objext conftest
$ac_exeext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 (eval $ac_link) 2>conftest.er1
8216 grep -v '^ *+' conftest.er1
>conftest.err
8218 cat conftest.err
>&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; } &&
8227 { ac_try
='test -s conftest$ac_exeext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.
$ac_ext >&5
8238 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8240 rm -f conftest.err conftest.
$ac_objext \
8241 conftest
$ac_exeext conftest.
$ac_ext
8242 LIBS
=$ac_check_lib_save_LIBS
8244 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8245 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8246 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8248 cat >>confdefs.h
<<\_ACEOF
8249 #define HAVE_LIBXXF86VM 1
8252 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8258 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8260 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
8261 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
8262 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
8263 echo $ECHO_N "(cached) $ECHO_C" >&6
8265 ac_check_lib_save_LIBS
=$LIBS
8266 LIBS
="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8267 cat >conftest.
$ac_ext <<_ACEOF
8270 cat confdefs.h
>>conftest.
$ac_ext
8271 cat >>conftest.
$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8274 /* Override any gcc2 internal prototype to avoid an error. */
8278 /* We use char because int might match the return type of a gcc2
8279 builtin and then its argument prototype would still apply. */
8280 char XRRSetScreenConfigAndRate ();
8284 XRRSetScreenConfigAndRate ();
8289 rm -f conftest.
$ac_objext conftest
$ac_exeext
8290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8291 (eval $ac_link) 2>conftest.er1
8293 grep -v '^ *+' conftest.er1
>conftest.err
8295 cat conftest.err
>&5
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); } &&
8298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; } &&
8304 { ac_try
='test -s conftest$ac_exeext'
8305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8309 (exit $ac_status); }; }; then
8310 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=yes
8312 echo "$as_me: failed program was:" >&5
8313 sed 's/^/| /' conftest.
$ac_ext >&5
8315 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=no
8317 rm -f conftest.err conftest.
$ac_objext \
8318 conftest
$ac_exeext conftest.
$ac_ext
8319 LIBS
=$ac_check_lib_save_LIBS
8321 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
8322 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
8323 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
8325 cat >>confdefs.h
<<\_ACEOF
8326 #define HAVE_LIBXRANDR 1
8329 X_PRE_LIBS
="$X_PRE_LIBS -lXrandr -lXrender"
8335 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8337 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8338 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8339 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 ac_check_lib_save_LIBS
=$LIBS
8343 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8344 cat >conftest.
$ac_ext <<_ACEOF
8347 cat confdefs.h
>>conftest.
$ac_ext
8348 cat >>conftest.
$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8351 /* Override any gcc2 internal prototype to avoid an error. */
8355 /* We use char because int might match the return type of a gcc2
8356 builtin and then its argument prototype would still apply. */
8357 char XvShmCreateImage ();
8361 XvShmCreateImage ();
8366 rm -f conftest.
$ac_objext conftest
$ac_exeext
8367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8368 (eval $ac_link) 2>conftest.er1
8370 grep -v '^ *+' conftest.er1
>conftest.err
8372 cat conftest.err
>&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); } &&
8375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; } &&
8381 { ac_try
='test -s conftest$ac_exeext'
8382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 ac_cv_lib_Xv_XvShmCreateImage
=yes
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.
$ac_ext >&5
8392 ac_cv_lib_Xv_XvShmCreateImage
=no
8394 rm -f conftest.err conftest.
$ac_objext \
8395 conftest
$ac_exeext conftest.
$ac_ext
8396 LIBS
=$ac_check_lib_save_LIBS
8398 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8399 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8400 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8402 cat >>confdefs.h
<<\_ACEOF
8403 #define HAVE_XVIDEO 1
8406 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8417 if test "x$with_opengl" != "xno"
8419 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8421 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8422 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8423 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8424 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8425 { (exit 1); exit 1; }; }
8430 for ac_header
in GL
/gl.h GL
/glx.h
8432 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8433 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8434 echo "$as_me:$LINENO: checking for $ac_header" >&5
8435 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8436 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8437 echo $ECHO_N "(cached) $ECHO_C" >&6
8439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8440 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8442 # Is the header compilable?
8443 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8444 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8445 cat >conftest.
$ac_ext <<_ACEOF
8448 cat confdefs.h
>>conftest.
$ac_ext
8449 cat >>conftest.
$ac_ext <<_ACEOF
8450 /* end confdefs.h. */
8451 $ac_includes_default
8452 #include <$ac_header>
8454 rm -f conftest.
$ac_objext
8455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8456 (eval $ac_compile) 2>conftest.er1
8458 grep -v '^ *+' conftest.er1
>conftest.err
8460 cat conftest.err
>&5
8461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8462 (exit $ac_status); } &&
8463 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8468 (exit $ac_status); }; } &&
8469 { ac_try
='test -s conftest.$ac_objext'
8470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8474 (exit $ac_status); }; }; then
8475 ac_header_compiler
=yes
8477 echo "$as_me: failed program was:" >&5
8478 sed 's/^/| /' conftest.
$ac_ext >&5
8480 ac_header_compiler
=no
8482 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8484 echo "${ECHO_T}$ac_header_compiler" >&6
8486 # Is the header present?
8487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8489 cat >conftest.
$ac_ext <<_ACEOF
8492 cat confdefs.h
>>conftest.
$ac_ext
8493 cat >>conftest.
$ac_ext <<_ACEOF
8494 /* end confdefs.h. */
8495 #include <$ac_header>
8497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8500 grep -v '^ *+' conftest.er1
>conftest.err
8502 cat conftest.err
>&5
8503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8504 (exit $ac_status); } >/dev
/null
; then
8505 if test -s conftest.err
; then
8506 ac_cpp_err
=$ac_c_preproc_warn_flag
8507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8514 if test -z "$ac_cpp_err"; then
8515 ac_header_preproc
=yes
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.
$ac_ext >&5
8520 ac_header_preproc
=no
8522 rm -f conftest.err conftest.
$ac_ext
8523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8524 echo "${ECHO_T}$ac_header_preproc" >&6
8526 # So? What about this header?
8527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8533 ac_header_preproc
=yes
8536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8550 ## ------------------------------------ ##
8551 ## Report this to wine-devel@winehq.org ##
8552 ## ------------------------------------ ##
8555 sed "s/^/$as_me: WARNING: /" >&2
8558 echo "$as_me:$LINENO: checking for $ac_header" >&5
8559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8561 echo $ECHO_N "(cached) $ECHO_C" >&6
8563 eval "$as_ac_Header=\$ac_header_preproc"
8565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8570 cat >>confdefs.h
<<_ACEOF
8571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8578 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8581 for ac_header
in GL
/glext.h
8583 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8584 echo "$as_me:$LINENO: checking for $ac_header" >&5
8585 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8586 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8587 echo $ECHO_N "(cached) $ECHO_C" >&6
8589 cat >conftest.
$ac_ext <<_ACEOF
8592 cat confdefs.h
>>conftest.
$ac_ext
8593 cat >>conftest.
$ac_ext <<_ACEOF
8594 /* end confdefs.h. */
8597 #include <$ac_header>
8599 rm -f conftest.
$ac_objext
8600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8601 (eval $ac_compile) 2>conftest.er1
8603 grep -v '^ *+' conftest.er1
>conftest.err
8605 cat conftest.err
>&5
8606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8607 (exit $ac_status); } &&
8608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8613 (exit $ac_status); }; } &&
8614 { ac_try
='test -s conftest.$ac_objext'
8615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); }; }; then
8620 eval "$as_ac_Header=yes"
8622 echo "$as_me: failed program was:" >&5
8623 sed 's/^/| /' conftest.
$ac_ext >&5
8625 eval "$as_ac_Header=no"
8627 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8632 cat >>confdefs.h
<<_ACEOF
8633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8640 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8641 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8642 if test "${wine_cv_opengl_version_OK+set}" = set; then
8643 echo $ECHO_N "(cached) $ECHO_C" >&6
8645 cat >conftest.
$ac_ext <<_ACEOF
8648 cat confdefs.h
>>conftest.
$ac_ext
8649 cat >>conftest.
$ac_ext <<_ACEOF
8650 /* end confdefs.h. */
8655 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8660 rm -f conftest.
$ac_objext
8661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8662 (eval $ac_compile) 2>conftest.er1
8664 grep -v '^ *+' conftest.er1
>conftest.err
8666 cat conftest.err
>&5
8667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8668 (exit $ac_status); } &&
8669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8674 (exit $ac_status); }; } &&
8675 { ac_try
='test -s conftest.$ac_objext'
8676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8680 (exit $ac_status); }; }; then
8681 wine_cv_opengl_version_OK
="yes"
8683 echo "$as_me: failed program was:" >&5
8684 sed 's/^/| /' conftest.
$ac_ext >&5
8686 wine_cv_opengl_version_OK
="no"
8689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8692 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8693 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8695 if test "$wine_cv_opengl_version_OK" = "yes"
8697 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8698 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8699 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 ac_check_lib_save_LIBS
=$LIBS
8703 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8704 cat >conftest.
$ac_ext <<_ACEOF
8707 cat confdefs.h
>>conftest.
$ac_ext
8708 cat >>conftest.
$ac_ext <<_ACEOF
8709 /* end confdefs.h. */
8711 /* Override any gcc2 internal prototype to avoid an error. */
8715 /* We use char because int might match the return type of a gcc2
8716 builtin and then its argument prototype would still apply. */
8717 char glXCreateContext ();
8721 glXCreateContext ();
8726 rm -f conftest.
$ac_objext conftest
$ac_exeext
8727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8728 (eval $ac_link) 2>conftest.er1
8730 grep -v '^ *+' conftest.er1
>conftest.err
8732 cat conftest.err
>&5
8733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8734 (exit $ac_status); } &&
8735 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8740 (exit $ac_status); }; } &&
8741 { ac_try
='test -s conftest$ac_exeext'
8742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); }; }; then
8747 ac_cv_lib_GL_glXCreateContext
=yes
8749 echo "$as_me: failed program was:" >&5
8750 sed 's/^/| /' conftest.
$ac_ext >&5
8752 ac_cv_lib_GL_glXCreateContext
=no
8754 rm -f conftest.err conftest.
$ac_objext \
8755 conftest
$ac_exeext conftest.
$ac_ext
8756 LIBS
=$ac_check_lib_save_LIBS
8758 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8759 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8760 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8766 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8768 OPENGLFILES
='$(OPENGLFILES)'
8770 cat >>confdefs.h
<<\_ACEOF
8771 #define HAVE_OPENGL 1
8775 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8776 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8777 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8778 echo $ECHO_N "(cached) $ECHO_C" >&6
8780 ac_check_lib_save_LIBS
=$LIBS
8781 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8782 cat >conftest.
$ac_ext <<_ACEOF
8785 cat confdefs.h
>>conftest.
$ac_ext
8786 cat >>conftest.
$ac_ext <<_ACEOF
8787 /* end confdefs.h. */
8789 /* Override any gcc2 internal prototype to avoid an error. */
8793 /* We use char because int might match the return type of a gcc2
8794 builtin and then its argument prototype would still apply. */
8795 char glXGetProcAddressARB ();
8799 glXGetProcAddressARB ();
8804 rm -f conftest.
$ac_objext conftest
$ac_exeext
8805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8806 (eval $ac_link) 2>conftest.er1
8808 grep -v '^ *+' conftest.er1
>conftest.err
8810 cat conftest.err
>&5
8811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8812 (exit $ac_status); } &&
8813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8818 (exit $ac_status); }; } &&
8819 { ac_try
='test -s conftest$ac_exeext'
8820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); }; }; then
8825 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8827 echo "$as_me: failed program was:" >&5
8828 sed 's/^/| /' conftest.
$ac_ext >&5
8830 ac_cv_lib_GL_glXGetProcAddressARB
=no
8832 rm -f conftest.err conftest.
$ac_objext \
8833 conftest
$ac_exeext conftest.
$ac_ext
8834 LIBS
=$ac_check_lib_save_LIBS
8836 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8837 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8838 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8840 cat >>confdefs.h
<<\_ACEOF
8841 #define HAVE_GLX_GETPROCADDRESS 1
8847 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8849 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8850 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8851 if test "${wine_cv_extension_prototypes+set}" = set; then
8852 echo $ECHO_N "(cached) $ECHO_C" >&6
8854 cat >conftest.
$ac_ext <<_ACEOF
8857 cat confdefs.h
>>conftest.
$ac_ext
8858 cat >>conftest.
$ac_ext <<_ACEOF
8859 /* end confdefs.h. */
8861 #ifdef HAVE_GL_GLEXT_H
8862 # include <GL/glext.h>
8868 PFNGLCOLORTABLEEXTPROC test_proc;
8873 rm -f conftest.
$ac_objext
8874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8875 (eval $ac_compile) 2>conftest.er1
8877 grep -v '^ *+' conftest.er1
>conftest.err
8879 cat conftest.err
>&5
8880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881 (exit $ac_status); } &&
8882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); }; } &&
8888 { ac_try
='test -s conftest.$ac_objext'
8889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8893 (exit $ac_status); }; }; then
8894 wine_cv_extension_prototypes
="yes"
8896 echo "$as_me: failed program was:" >&5
8897 sed 's/^/| /' conftest.
$ac_ext >&5
8899 wine_cv_extension_prototypes
="no"
8902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8905 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8906 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8907 if test "$wine_cv_extension_prototypes" = "yes"
8910 cat >>confdefs.h
<<\_ACEOF
8911 #define HAVE_GLEXT_PROTOTYPES 1
8918 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8919 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8920 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8921 echo $ECHO_N "(cached) $ECHO_C" >&6
8923 ac_check_lib_save_LIBS
=$LIBS
8924 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8926 cat >conftest.
$ac_ext <<_ACEOF
8929 cat confdefs.h
>>conftest.
$ac_ext
8930 cat >>conftest.
$ac_ext <<_ACEOF
8931 /* end confdefs.h. */
8933 /* Override any gcc2 internal prototype to avoid an error. */
8937 /* We use char because int might match the return type of a gcc2
8938 builtin and then its argument prototype would still apply. */
8948 rm -f conftest.
$ac_objext conftest
$ac_exeext
8949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8950 (eval $ac_link) 2>conftest.er1
8952 grep -v '^ *+' conftest.er1
>conftest.err
8954 cat conftest.err
>&5
8955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8956 (exit $ac_status); } &&
8957 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8962 (exit $ac_status); }; } &&
8963 { ac_try
='test -s conftest$ac_exeext'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; }; then
8969 ac_cv_lib_GLU_gluLookAt
=yes
8971 echo "$as_me: failed program was:" >&5
8972 sed 's/^/| /' conftest.
$ac_ext >&5
8974 ac_cv_lib_GLU_gluLookAt
=no
8976 rm -f conftest.err conftest.
$ac_objext \
8977 conftest
$ac_exeext conftest.
$ac_ext
8978 LIBS
=$ac_check_lib_save_LIBS
8980 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8981 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8982 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8983 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8984 GLU32FILES
='$(GLU32FILES)'
8990 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8991 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8992 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6
8995 ac_check_lib_save_LIBS
=$LIBS
8996 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8997 cat >conftest.
$ac_ext <<_ACEOF
9000 cat confdefs.h
>>conftest.
$ac_ext
9001 cat >>conftest.
$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9004 /* Override any gcc2 internal prototype to avoid an error. */
9008 /* We use char because int might match the return type of a gcc2
9009 builtin and then its argument prototype would still apply. */
9010 char glutMainLoop ();
9019 rm -f conftest.
$ac_objext conftest
$ac_exeext
9020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9021 (eval $ac_link) 2>conftest.er1
9023 grep -v '^ *+' conftest.er1
>conftest.err
9025 cat conftest.err
>&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 (exit $ac_status); } &&
9028 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 (exit $ac_status); }; } &&
9034 { ac_try
='test -s conftest$ac_exeext'
9035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9039 (exit $ac_status); }; }; then
9040 ac_cv_lib_glut_glutMainLoop
=yes
9042 echo "$as_me: failed program was:" >&5
9043 sed 's/^/| /' conftest.
$ac_ext >&5
9045 ac_cv_lib_glut_glutMainLoop
=no
9047 rm -f conftest.err conftest.
$ac_objext \
9048 conftest
$ac_exeext conftest.
$ac_ext
9049 LIBS
=$ac_check_lib_save_LIBS
9051 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9052 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9053 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9054 GLUT_LIBS
="-lglut -lXmu -lXi"
9056 GLUT32FILES
='$(GLUT32FILES)'
9066 for ac_header
in audio
/audiolib.h
9068 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9069 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9070 echo "$as_me:$LINENO: checking for $ac_header" >&5
9071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9073 echo $ECHO_N "(cached) $ECHO_C" >&6
9075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9076 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9078 # Is the header compilable?
9079 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9080 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9081 cat >conftest.
$ac_ext <<_ACEOF
9084 cat confdefs.h
>>conftest.
$ac_ext
9085 cat >>conftest.
$ac_ext <<_ACEOF
9086 /* end confdefs.h. */
9087 $ac_includes_default
9088 #include <$ac_header>
9090 rm -f conftest.
$ac_objext
9091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9092 (eval $ac_compile) 2>conftest.er1
9094 grep -v '^ *+' conftest.er1
>conftest.err
9096 cat conftest.err
>&5
9097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9098 (exit $ac_status); } &&
9099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9104 (exit $ac_status); }; } &&
9105 { ac_try
='test -s conftest.$ac_objext'
9106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9110 (exit $ac_status); }; }; then
9111 ac_header_compiler
=yes
9113 echo "$as_me: failed program was:" >&5
9114 sed 's/^/| /' conftest.
$ac_ext >&5
9116 ac_header_compiler
=no
9118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9119 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9120 echo "${ECHO_T}$ac_header_compiler" >&6
9122 # Is the header present?
9123 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9124 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9125 cat >conftest.
$ac_ext <<_ACEOF
9128 cat confdefs.h
>>conftest.
$ac_ext
9129 cat >>conftest.
$ac_ext <<_ACEOF
9130 /* end confdefs.h. */
9131 #include <$ac_header>
9133 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9134 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9136 grep -v '^ *+' conftest.er1
>conftest.err
9138 cat conftest.err
>&5
9139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9140 (exit $ac_status); } >/dev
/null
; then
9141 if test -s conftest.err
; then
9142 ac_cpp_err
=$ac_c_preproc_warn_flag
9143 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9150 if test -z "$ac_cpp_err"; then
9151 ac_header_preproc
=yes
9153 echo "$as_me: failed program was:" >&5
9154 sed 's/^/| /' conftest.
$ac_ext >&5
9156 ac_header_preproc
=no
9158 rm -f conftest.err conftest.
$ac_ext
9159 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9160 echo "${ECHO_T}$ac_header_preproc" >&6
9162 # So? What about this header?
9163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9165 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9166 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9167 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9168 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9169 ac_header_preproc
=yes
9172 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9173 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9174 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9175 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9176 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9177 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9178 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9179 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9180 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9181 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9182 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9183 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9186 ## ------------------------------------ ##
9187 ## Report this to wine-devel@winehq.org ##
9188 ## ------------------------------------ ##
9191 sed "s/^/$as_me: WARNING: /" >&2
9194 echo "$as_me:$LINENO: checking for $ac_header" >&5
9195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9197 echo $ECHO_N "(cached) $ECHO_C" >&6
9199 eval "$as_ac_Header=\$ac_header_preproc"
9201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9205 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9206 cat >>confdefs.h
<<_ACEOF
9207 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9210 for ac_header
in audio
/soundlib.h
9212 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9213 echo "$as_me:$LINENO: checking for $ac_header" >&5
9214 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9215 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9216 echo $ECHO_N "(cached) $ECHO_C" >&6
9218 cat >conftest.
$ac_ext <<_ACEOF
9221 cat confdefs.h
>>conftest.
$ac_ext
9222 cat >>conftest.
$ac_ext <<_ACEOF
9223 /* end confdefs.h. */
9224 #include <audio/audiolib.h>
9226 #include <$ac_header>
9228 rm -f conftest.
$ac_objext
9229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9230 (eval $ac_compile) 2>conftest.er1
9232 grep -v '^ *+' conftest.er1
>conftest.err
9234 cat conftest.err
>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); }; } &&
9243 { ac_try
='test -s conftest.$ac_objext'
9244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9248 (exit $ac_status); }; }; then
9249 eval "$as_ac_Header=yes"
9251 echo "$as_me: failed program was:" >&5
9252 sed 's/^/| /' conftest.
$ac_ext >&5
9254 eval "$as_ac_Header=no"
9256 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9260 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9261 cat >>confdefs.h
<<_ACEOF
9262 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9269 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9270 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9271 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9272 echo $ECHO_N "(cached) $ECHO_C" >&6
9274 ac_check_lib_save_LIBS
=$LIBS
9275 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9276 cat >conftest.
$ac_ext <<_ACEOF
9279 cat confdefs.h
>>conftest.
$ac_ext
9280 cat >>conftest.
$ac_ext <<_ACEOF
9281 /* end confdefs.h. */
9283 /* Override any gcc2 internal prototype to avoid an error. */
9287 /* We use char because int might match the return type of a gcc2
9288 builtin and then its argument prototype would still apply. */
9289 char AuCreateFlow ();
9298 rm -f conftest.
$ac_objext conftest
$ac_exeext
9299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9300 (eval $ac_link) 2>conftest.er1
9302 grep -v '^ *+' conftest.er1
>conftest.err
9304 cat conftest.err
>&5
9305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9306 (exit $ac_status); } &&
9307 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); }; } &&
9313 { ac_try
='test -s conftest$ac_exeext'
9314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); }; }; then
9319 ac_cv_lib_audio_AuCreateFlow
=yes
9321 echo "$as_me: failed program was:" >&5
9322 sed 's/^/| /' conftest.
$ac_ext >&5
9324 ac_cv_lib_audio_AuCreateFlow
=no
9326 rm -f conftest.err conftest.
$ac_objext \
9327 conftest
$ac_exeext conftest.
$ac_ext
9328 LIBS
=$ac_check_lib_save_LIBS
9330 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9331 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9332 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9334 cat >>confdefs.h
<<\_ACEOF
9338 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9346 CPPFLAGS
="$ac_save_CPPFLAGS"
9355 if test "x$with_curses" != "xno"
9358 for ac_header
in ncurses.h
9360 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9362 echo "$as_me:$LINENO: checking for $ac_header" >&5
9363 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9364 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9365 echo $ECHO_N "(cached) $ECHO_C" >&6
9367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9370 # Is the header compilable?
9371 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9372 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9373 cat >conftest.
$ac_ext <<_ACEOF
9376 cat confdefs.h
>>conftest.
$ac_ext
9377 cat >>conftest.
$ac_ext <<_ACEOF
9378 /* end confdefs.h. */
9379 $ac_includes_default
9380 #include <$ac_header>
9382 rm -f conftest.
$ac_objext
9383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9384 (eval $ac_compile) 2>conftest.er1
9386 grep -v '^ *+' conftest.er1
>conftest.err
9388 cat conftest.err
>&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } &&
9391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9396 (exit $ac_status); }; } &&
9397 { ac_try
='test -s conftest.$ac_objext'
9398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9402 (exit $ac_status); }; }; then
9403 ac_header_compiler
=yes
9405 echo "$as_me: failed program was:" >&5
9406 sed 's/^/| /' conftest.
$ac_ext >&5
9408 ac_header_compiler
=no
9410 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9411 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9412 echo "${ECHO_T}$ac_header_compiler" >&6
9414 # Is the header present?
9415 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9416 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9417 cat >conftest.
$ac_ext <<_ACEOF
9420 cat confdefs.h
>>conftest.
$ac_ext
9421 cat >>conftest.
$ac_ext <<_ACEOF
9422 /* end confdefs.h. */
9423 #include <$ac_header>
9425 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9426 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9428 grep -v '^ *+' conftest.er1
>conftest.err
9430 cat conftest.err
>&5
9431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9432 (exit $ac_status); } >/dev
/null
; then
9433 if test -s conftest.err
; then
9434 ac_cpp_err
=$ac_c_preproc_warn_flag
9435 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9442 if test -z "$ac_cpp_err"; then
9443 ac_header_preproc
=yes
9445 echo "$as_me: failed program was:" >&5
9446 sed 's/^/| /' conftest.
$ac_ext >&5
9448 ac_header_preproc
=no
9450 rm -f conftest.err conftest.
$ac_ext
9451 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9452 echo "${ECHO_T}$ac_header_preproc" >&6
9454 # So? What about this header?
9455 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9458 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9459 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9460 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9461 ac_header_preproc
=yes
9464 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9465 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9466 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9467 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9468 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9469 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9470 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9471 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9472 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9473 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9474 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9475 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9478 ## ------------------------------------ ##
9479 ## Report this to wine-devel@winehq.org ##
9480 ## ------------------------------------ ##
9483 sed "s/^/$as_me: WARNING: /" >&2
9486 echo "$as_me:$LINENO: checking for $ac_header" >&5
9487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9489 echo $ECHO_N "(cached) $ECHO_C" >&6
9491 eval "$as_ac_Header=\$ac_header_preproc"
9493 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9494 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9497 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9498 cat >>confdefs.h
<<_ACEOF
9499 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9501 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9502 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9503 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9504 echo $ECHO_N "(cached) $ECHO_C" >&6
9506 ac_check_lib_save_LIBS
=$LIBS
9507 LIBS
="-lncurses $LIBS"
9508 cat >conftest.
$ac_ext <<_ACEOF
9511 cat confdefs.h
>>conftest.
$ac_ext
9512 cat >>conftest.
$ac_ext <<_ACEOF
9513 /* end confdefs.h. */
9515 /* Override any gcc2 internal prototype to avoid an error. */
9519 /* We use char because int might match the return type of a gcc2
9520 builtin and then its argument prototype would still apply. */
9530 rm -f conftest.
$ac_objext conftest
$ac_exeext
9531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9532 (eval $ac_link) 2>conftest.er1
9534 grep -v '^ *+' conftest.er1
>conftest.err
9536 cat conftest.err
>&5
9537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9538 (exit $ac_status); } &&
9539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); }; } &&
9545 { ac_try
='test -s conftest$ac_exeext'
9546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9550 (exit $ac_status); }; }; then
9551 ac_cv_lib_ncurses_waddch
=yes
9553 echo "$as_me: failed program was:" >&5
9554 sed 's/^/| /' conftest.
$ac_ext >&5
9556 ac_cv_lib_ncurses_waddch
=no
9558 rm -f conftest.err conftest.
$ac_objext \
9559 conftest
$ac_exeext conftest.
$ac_ext
9560 LIBS
=$ac_check_lib_save_LIBS
9562 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9563 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9564 if test $ac_cv_lib_ncurses_waddch = yes; then
9566 cat >>confdefs.h
<<\_ACEOF
9567 #define HAVE_LIBNCURSES 1
9570 CURSESLIBS
="-lncurses"
9573 for ac_header
in curses.h
9575 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9577 echo "$as_me:$LINENO: checking for $ac_header" >&5
9578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9580 echo $ECHO_N "(cached) $ECHO_C" >&6
9582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9585 # Is the header compilable?
9586 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9587 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9588 cat >conftest.
$ac_ext <<_ACEOF
9591 cat confdefs.h
>>conftest.
$ac_ext
9592 cat >>conftest.
$ac_ext <<_ACEOF
9593 /* end confdefs.h. */
9594 $ac_includes_default
9595 #include <$ac_header>
9597 rm -f conftest.
$ac_objext
9598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9599 (eval $ac_compile) 2>conftest.er1
9601 grep -v '^ *+' conftest.er1
>conftest.err
9603 cat conftest.err
>&5
9604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9605 (exit $ac_status); } &&
9606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9611 (exit $ac_status); }; } &&
9612 { ac_try
='test -s conftest.$ac_objext'
9613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9617 (exit $ac_status); }; }; then
9618 ac_header_compiler
=yes
9620 echo "$as_me: failed program was:" >&5
9621 sed 's/^/| /' conftest.
$ac_ext >&5
9623 ac_header_compiler
=no
9625 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9626 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9627 echo "${ECHO_T}$ac_header_compiler" >&6
9629 # Is the header present?
9630 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9631 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9632 cat >conftest.
$ac_ext <<_ACEOF
9635 cat confdefs.h
>>conftest.
$ac_ext
9636 cat >>conftest.
$ac_ext <<_ACEOF
9637 /* end confdefs.h. */
9638 #include <$ac_header>
9640 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9641 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9643 grep -v '^ *+' conftest.er1
>conftest.err
9645 cat conftest.err
>&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); } >/dev
/null
; then
9648 if test -s conftest.err
; then
9649 ac_cpp_err
=$ac_c_preproc_warn_flag
9650 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9657 if test -z "$ac_cpp_err"; then
9658 ac_header_preproc
=yes
9660 echo "$as_me: failed program was:" >&5
9661 sed 's/^/| /' conftest.
$ac_ext >&5
9663 ac_header_preproc
=no
9665 rm -f conftest.err conftest.
$ac_ext
9666 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9667 echo "${ECHO_T}$ac_header_preproc" >&6
9669 # So? What about this header?
9670 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9672 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9673 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9674 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9675 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9676 ac_header_preproc
=yes
9679 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9680 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9681 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9682 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9683 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9684 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9685 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9686 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9687 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9688 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9689 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9690 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9693 ## ------------------------------------ ##
9694 ## Report this to wine-devel@winehq.org ##
9695 ## ------------------------------------ ##
9698 sed "s/^/$as_me: WARNING: /" >&2
9701 echo "$as_me:$LINENO: checking for $ac_header" >&5
9702 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9706 eval "$as_ac_Header=\$ac_header_preproc"
9708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9709 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9712 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9713 cat >>confdefs.h
<<_ACEOF
9714 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9716 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9717 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9718 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 ac_check_lib_save_LIBS
=$LIBS
9722 LIBS
="-lcurses $LIBS"
9723 cat >conftest.
$ac_ext <<_ACEOF
9726 cat confdefs.h
>>conftest.
$ac_ext
9727 cat >>conftest.
$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9730 /* Override any gcc2 internal prototype to avoid an error. */
9734 /* We use char because int might match the return type of a gcc2
9735 builtin and then its argument prototype would still apply. */
9745 rm -f conftest.
$ac_objext conftest
$ac_exeext
9746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9747 (eval $ac_link) 2>conftest.er1
9749 grep -v '^ *+' conftest.er1
>conftest.err
9751 cat conftest.err
>&5
9752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9753 (exit $ac_status); } &&
9754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9759 (exit $ac_status); }; } &&
9760 { ac_try
='test -s conftest$ac_exeext'
9761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9765 (exit $ac_status); }; }; then
9766 ac_cv_lib_curses_waddch
=yes
9768 echo "$as_me: failed program was:" >&5
9769 sed 's/^/| /' conftest.
$ac_ext >&5
9771 ac_cv_lib_curses_waddch
=no
9773 rm -f conftest.err conftest.
$ac_objext \
9774 conftest
$ac_exeext conftest.
$ac_ext
9775 LIBS
=$ac_check_lib_save_LIBS
9777 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9778 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9779 if test $ac_cv_lib_curses_waddch = yes; then
9781 cat >>confdefs.h
<<\_ACEOF
9782 #define HAVE_LIBCURSES 1
9785 CURSESLIBS
="-lcurses"
9799 LIBS
="$CURSESLIBS $LIBS"
9802 for ac_func
in getbkgd resizeterm
9804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9805 echo "$as_me:$LINENO: checking for $ac_func" >&5
9806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9807 if eval "test \"\${$as_ac_var+set}\" = set"; then
9808 echo $ECHO_N "(cached) $ECHO_C" >&6
9810 cat >conftest.
$ac_ext <<_ACEOF
9813 cat confdefs.h
>>conftest.
$ac_ext
9814 cat >>conftest.
$ac_ext <<_ACEOF
9815 /* end confdefs.h. */
9816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9818 #define $ac_func innocuous_$ac_func
9820 /* System header to define __stub macros and hopefully few prototypes,
9821 which can conflict with char $ac_func (); below.
9822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9823 <limits.h> exists even on freestanding compilers. */
9826 # include <limits.h>
9828 # include <assert.h>
9833 /* Override any gcc2 internal prototype to avoid an error. */
9838 /* We use char because int might match the return type of a gcc2
9839 builtin and then its argument prototype would still apply. */
9841 /* The GNU C library defines this for functions which it implements
9842 to always fail with ENOSYS. Some functions are actually named
9843 something starting with __ and the normal name is an alias. */
9844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9847 char (*f) () = $ac_func;
9856 return f != $ac_func;
9861 rm -f conftest.
$ac_objext conftest
$ac_exeext
9862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9863 (eval $ac_link) 2>conftest.er1
9865 grep -v '^ *+' conftest.er1
>conftest.err
9867 cat conftest.err
>&5
9868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869 (exit $ac_status); } &&
9870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9875 (exit $ac_status); }; } &&
9876 { ac_try
='test -s conftest$ac_exeext'
9877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9881 (exit $ac_status); }; }; then
9882 eval "$as_ac_var=yes"
9884 echo "$as_me: failed program was:" >&5
9885 sed 's/^/| /' conftest.
$ac_ext >&5
9887 eval "$as_ac_var=no"
9889 rm -f conftest.err conftest.
$ac_objext \
9890 conftest
$ac_exeext conftest.
$ac_ext
9892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9894 if test `eval echo '${'$as_ac_var'}'` = yes; then
9895 cat >>confdefs.h
<<_ACEOF
9896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9906 # Extract the first word of "sane-config", so it can be a program name with args.
9907 set dummy sane-config
; ac_word
=$2
9908 echo "$as_me:$LINENO: checking for $ac_word" >&5
9909 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9910 if test "${ac_cv_prog_sane_devel+set}" = set; then
9911 echo $ECHO_N "(cached) $ECHO_C" >&6
9913 if test -n "$sane_devel"; then
9914 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9916 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9920 test -z "$as_dir" && as_dir
=.
9921 for ac_exec_ext
in '' $ac_executable_extensions; do
9922 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9923 ac_cv_prog_sane_devel
="sane-config"
9924 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9930 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9933 sane_devel
=$ac_cv_prog_sane_devel
9934 if test -n "$sane_devel"; then
9935 echo "$as_me:$LINENO: result: $sane_devel" >&5
9936 echo "${ECHO_T}$sane_devel" >&6
9938 echo "$as_me:$LINENO: result: no" >&5
9939 echo "${ECHO_T}no" >&6
9942 if test "$sane_devel" = "no"
9947 SANELIBS
="`$sane_devel --libs`"
9948 SANEINCL
="`$sane_devel --cflags`"
9949 ac_save_CPPFLAGS
="$CPPFLAGS"
9950 ac_save_LIBS
="$LIBS"
9951 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9952 LIBS
="$LIBS $SANELIBS"
9953 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9954 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9955 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9956 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9957 echo $ECHO_N "(cached) $ECHO_C" >&6
9959 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9960 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9962 # Is the header compilable?
9963 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9964 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9965 cat >conftest.
$ac_ext <<_ACEOF
9968 cat confdefs.h
>>conftest.
$ac_ext
9969 cat >>conftest.
$ac_ext <<_ACEOF
9970 /* end confdefs.h. */
9971 $ac_includes_default
9972 #include <sane/sane.h>
9974 rm -f conftest.
$ac_objext
9975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9976 (eval $ac_compile) 2>conftest.er1
9978 grep -v '^ *+' conftest.er1
>conftest.err
9980 cat conftest.err
>&5
9981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9982 (exit $ac_status); } &&
9983 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9988 (exit $ac_status); }; } &&
9989 { ac_try
='test -s conftest.$ac_objext'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9995 ac_header_compiler
=yes
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.
$ac_ext >&5
10000 ac_header_compiler
=no
10002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10003 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10004 echo "${ECHO_T}$ac_header_compiler" >&6
10006 # Is the header present?
10007 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10008 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
10009 cat >conftest.
$ac_ext <<_ACEOF
10012 cat confdefs.h
>>conftest.
$ac_ext
10013 cat >>conftest.
$ac_ext <<_ACEOF
10014 /* end confdefs.h. */
10015 #include <sane/sane.h>
10017 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10018 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10020 grep -v '^ *+' conftest.er1
>conftest.err
10022 cat conftest.err
>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } >/dev
/null
; then
10025 if test -s conftest.err
; then
10026 ac_cpp_err
=$ac_c_preproc_warn_flag
10027 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10034 if test -z "$ac_cpp_err"; then
10035 ac_header_preproc
=yes
10037 echo "$as_me: failed program was:" >&5
10038 sed 's/^/| /' conftest.
$ac_ext >&5
10040 ac_header_preproc
=no
10042 rm -f conftest.err conftest.
$ac_ext
10043 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10044 echo "${ECHO_T}$ac_header_preproc" >&6
10046 # So? What about this header?
10047 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10049 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10050 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10051 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10052 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10053 ac_header_preproc
=yes
10056 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10057 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10058 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10059 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10060 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10061 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10062 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10063 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10064 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10065 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10066 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10067 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10070 ## ------------------------------------ ##
10071 ## Report this to wine-devel@winehq.org ##
10072 ## ------------------------------------ ##
10075 sed "s/^/$as_me: WARNING: /" >&2
10078 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10079 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10080 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10081 echo $ECHO_N "(cached) $ECHO_C" >&6
10083 ac_cv_header_sane_sane_h
=$ac_header_preproc
10085 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10086 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10089 if test $ac_cv_header_sane_sane_h = yes; then
10090 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10091 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10092 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10093 echo $ECHO_N "(cached) $ECHO_C" >&6
10095 ac_check_lib_save_LIBS
=$LIBS
10096 LIBS
="-lsane $LIBS"
10097 cat >conftest.
$ac_ext <<_ACEOF
10100 cat confdefs.h
>>conftest.
$ac_ext
10101 cat >>conftest.
$ac_ext <<_ACEOF
10102 /* end confdefs.h. */
10104 /* Override any gcc2 internal prototype to avoid an error. */
10108 /* We use char because int might match the return type of a gcc2
10109 builtin and then its argument prototype would still apply. */
10119 rm -f conftest.
$ac_objext conftest
$ac_exeext
10120 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10121 (eval $ac_link) 2>conftest.er1
10123 grep -v '^ *+' conftest.er1
>conftest.err
10125 cat conftest.err
>&5
10126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10127 (exit $ac_status); } &&
10128 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10130 (eval $ac_try) 2>&5
10132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10133 (exit $ac_status); }; } &&
10134 { ac_try
='test -s conftest$ac_exeext'
10135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10136 (eval $ac_try) 2>&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); }; }; then
10140 ac_cv_lib_sane_sane_open
=yes
10142 echo "$as_me: failed program was:" >&5
10143 sed 's/^/| /' conftest.
$ac_ext >&5
10145 ac_cv_lib_sane_sane_open
=no
10147 rm -f conftest.err conftest.
$ac_objext \
10148 conftest
$ac_exeext conftest.
$ac_ext
10149 LIBS
=$ac_check_lib_save_LIBS
10151 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10152 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10153 if test $ac_cv_lib_sane_sane_open = yes; then
10155 cat >>confdefs.h
<<\_ACEOF
10156 #define HAVE_SANE 1
10170 LIBS
="$ac_save_LIBS"
10171 CPPFLAGS
="$ac_save_CPPFLAGS"
10177 for ac_header
in unicode
/ubidi.h
10179 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10181 echo "$as_me:$LINENO: checking for $ac_header" >&5
10182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10184 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10189 # Is the header compilable?
10190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10192 cat >conftest.
$ac_ext <<_ACEOF
10195 cat confdefs.h
>>conftest.
$ac_ext
10196 cat >>conftest.
$ac_ext <<_ACEOF
10197 /* end confdefs.h. */
10198 $ac_includes_default
10199 #include <$ac_header>
10201 rm -f conftest.
$ac_objext
10202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10203 (eval $ac_compile) 2>conftest.er1
10205 grep -v '^ *+' conftest.er1
>conftest.err
10207 cat conftest.err
>&5
10208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209 (exit $ac_status); } &&
10210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10212 (eval $ac_try) 2>&5
10214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10215 (exit $ac_status); }; } &&
10216 { ac_try
='test -s conftest.$ac_objext'
10217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10218 (eval $ac_try) 2>&5
10220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10221 (exit $ac_status); }; }; then
10222 ac_header_compiler
=yes
10224 echo "$as_me: failed program was:" >&5
10225 sed 's/^/| /' conftest.
$ac_ext >&5
10227 ac_header_compiler
=no
10229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10231 echo "${ECHO_T}$ac_header_compiler" >&6
10233 # Is the header present?
10234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10236 cat >conftest.
$ac_ext <<_ACEOF
10239 cat confdefs.h
>>conftest.
$ac_ext
10240 cat >>conftest.
$ac_ext <<_ACEOF
10241 /* end confdefs.h. */
10242 #include <$ac_header>
10244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10247 grep -v '^ *+' conftest.er1
>conftest.err
10249 cat conftest.err
>&5
10250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10251 (exit $ac_status); } >/dev
/null
; then
10252 if test -s conftest.err
; then
10253 ac_cpp_err
=$ac_c_preproc_warn_flag
10254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10261 if test -z "$ac_cpp_err"; then
10262 ac_header_preproc
=yes
10264 echo "$as_me: failed program was:" >&5
10265 sed 's/^/| /' conftest.
$ac_ext >&5
10267 ac_header_preproc
=no
10269 rm -f conftest.err conftest.
$ac_ext
10270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10271 echo "${ECHO_T}$ac_header_preproc" >&6
10273 # So? What about this header?
10274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10280 ac_header_preproc
=yes
10283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10297 ## ------------------------------------ ##
10298 ## Report this to wine-devel@winehq.org ##
10299 ## ------------------------------------ ##
10302 sed "s/^/$as_me: WARNING: /" >&2
10305 echo "$as_me:$LINENO: checking for $ac_header" >&5
10306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10308 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 eval "$as_ac_Header=\$ac_header_preproc"
10312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10317 cat >>confdefs.h
<<_ACEOF
10318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10325 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10328 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10329 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10330 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10331 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10332 cat >conftest.
$ac_ext <<_ACEOF
10335 cat confdefs.h
>>conftest.
$ac_ext
10336 cat >>conftest.
$ac_ext <<_ACEOF
10337 /* end confdefs.h. */
10338 #include <unicode/ubidi.h>
10347 rm -f conftest.
$ac_objext conftest
$ac_exeext
10348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10349 (eval $ac_link) 2>conftest.er1
10351 grep -v '^ *+' conftest.er1
>conftest.err
10353 cat conftest.err
>&5
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); } &&
10356 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10358 (eval $ac_try) 2>&5
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); }; } &&
10362 { ac_try
='test -s conftest$ac_exeext'
10363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10364 (eval $ac_try) 2>&5
10366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10367 (exit $ac_status); }; }; then
10369 cat >>confdefs.h
<<\_ACEOF
10373 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10376 echo "$as_me: failed program was:" >&5
10377 sed 's/^/| /' conftest.
$ac_ext >&5
10380 rm -f conftest.err conftest.
$ac_objext \
10381 conftest
$ac_exeext conftest.
$ac_ext
10385 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10386 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10387 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10388 echo $ECHO_N "(cached) $ECHO_C" >&6
10390 ac_check_lib_save_LIBS
=$LIBS
10391 LIBS
="-lfreetype $X_LIBS $LIBS"
10392 cat >conftest.
$ac_ext <<_ACEOF
10395 cat confdefs.h
>>conftest.
$ac_ext
10396 cat >>conftest.
$ac_ext <<_ACEOF
10397 /* end confdefs.h. */
10399 /* Override any gcc2 internal prototype to avoid an error. */
10403 /* We use char because int might match the return type of a gcc2
10404 builtin and then its argument prototype would still apply. */
10405 char FT_Init_FreeType ();
10409 FT_Init_FreeType ();
10414 rm -f conftest.
$ac_objext conftest
$ac_exeext
10415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10416 (eval $ac_link) 2>conftest.er1
10418 grep -v '^ *+' conftest.er1
>conftest.err
10420 cat conftest.err
>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); } &&
10423 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10425 (eval $ac_try) 2>&5
10427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10428 (exit $ac_status); }; } &&
10429 { ac_try
='test -s conftest$ac_exeext'
10430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431 (eval $ac_try) 2>&5
10433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434 (exit $ac_status); }; }; then
10435 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10437 echo "$as_me: failed program was:" >&5
10438 sed 's/^/| /' conftest.
$ac_ext >&5
10440 ac_cv_lib_freetype_FT_Init_FreeType
=no
10442 rm -f conftest.err conftest.
$ac_objext \
10443 conftest
$ac_exeext conftest.
$ac_ext
10444 LIBS
=$ac_check_lib_save_LIBS
10446 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10447 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10448 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10454 if test "$ft_lib" = "no"
10457 wine_cv_msg_freetype
=no
10459 # Extract the first word of "freetype-config", so it can be a program name with args.
10460 set dummy freetype-config
; ac_word
=$2
10461 echo "$as_me:$LINENO: checking for $ac_word" >&5
10462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10463 if test "${ac_cv_prog_ft_devel+set}" = set; then
10464 echo $ECHO_N "(cached) $ECHO_C" >&6
10466 if test -n "$ft_devel"; then
10467 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10469 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10470 for as_dir
in $PATH
10473 test -z "$as_dir" && as_dir
=.
10474 for ac_exec_ext
in '' $ac_executable_extensions; do
10475 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10476 ac_cv_prog_ft_devel
="freetype-config"
10477 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10483 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10486 ft_devel
=$ac_cv_prog_ft_devel
10487 if test -n "$ft_devel"; then
10488 echo "$as_me:$LINENO: result: $ft_devel" >&5
10489 echo "${ECHO_T}$ft_devel" >&6
10491 echo "$as_me:$LINENO: result: no" >&5
10492 echo "${ECHO_T}no" >&6
10495 if test "$ft_devel" = "no"
10497 # Extract the first word of "freetype2-config", so it can be a program name with args.
10498 set dummy freetype2-config
; ac_word
=$2
10499 echo "$as_me:$LINENO: checking for $ac_word" >&5
10500 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10501 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10502 echo $ECHO_N "(cached) $ECHO_C" >&6
10504 if test -n "$ft_devel2"; then
10505 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10508 for as_dir
in $PATH
10511 test -z "$as_dir" && as_dir
=.
10512 for ac_exec_ext
in '' $ac_executable_extensions; do
10513 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10514 ac_cv_prog_ft_devel2
="freetype2-config"
10515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10521 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10524 ft_devel2
=$ac_cv_prog_ft_devel2
10525 if test -n "$ft_devel2"; then
10526 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10527 echo "${ECHO_T}$ft_devel2" >&6
10529 echo "$as_me:$LINENO: result: no" >&5
10530 echo "${ECHO_T}no" >&6
10533 if test "$ft_devel2" = "freetype2-config"
10535 ft_devel
=$ft_devel2
10538 if test "$ft_devel" = "no"
10541 wine_cv_msg_freetype
=yes
10543 FREETYPEINCL
=`$ft_devel --cflags`
10544 ac_save_CPPFLAGS
="$CPPFLAGS"
10545 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10555 for ac_header
in ft2build.h \
10556 freetype
/freetype.h \
10557 freetype
/ftglyph.h \
10558 freetype
/tttables.h \
10559 freetype
/ftnames.h \
10560 freetype
/ftsnames.h \
10561 freetype
/ttnameid.h \
10562 freetype
/ftoutln.h \
10563 freetype
/internal
/sfnt.h
10565 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10566 echo "$as_me:$LINENO: checking for $ac_header" >&5
10567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10569 echo $ECHO_N "(cached) $ECHO_C" >&6
10571 cat >conftest.
$ac_ext <<_ACEOF
10574 cat confdefs.h
>>conftest.
$ac_ext
10575 cat >>conftest.
$ac_ext <<_ACEOF
10576 /* end confdefs.h. */
10577 #if HAVE_FT2BUILD_H
10578 #include <ft2build.h>
10581 #include <$ac_header>
10583 rm -f conftest.
$ac_objext
10584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10585 (eval $ac_compile) 2>conftest.er1
10587 grep -v '^ *+' conftest.er1
>conftest.err
10589 cat conftest.err
>&5
10590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10591 (exit $ac_status); } &&
10592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10594 (eval $ac_try) 2>&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); }; } &&
10598 { ac_try
='test -s conftest.$ac_objext'
10599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10600 (eval $ac_try) 2>&5
10602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10603 (exit $ac_status); }; }; then
10604 eval "$as_ac_Header=yes"
10606 echo "$as_me: failed program was:" >&5
10607 sed 's/^/| /' conftest.
$ac_ext >&5
10609 eval "$as_ac_Header=no"
10611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10614 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10616 cat >>confdefs.h
<<_ACEOF
10617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10624 cat >conftest.
$ac_ext <<_ACEOF
10627 cat confdefs.h
>>conftest.
$ac_ext
10628 cat >>conftest.
$ac_ext <<_ACEOF
10629 /* end confdefs.h. */
10630 #include <ft2build.h>
10631 #include <freetype/fttrigon.h>
10633 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10634 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10636 grep -v '^ *+' conftest.er1
>conftest.err
10638 cat conftest.err
>&5
10639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10640 (exit $ac_status); } >/dev
/null
; then
10641 if test -s conftest.err
; then
10642 ac_cpp_err
=$ac_c_preproc_warn_flag
10643 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10650 if test -z "$ac_cpp_err"; then
10652 cat >>confdefs.h
<<\_ACEOF
10653 #define HAVE_FREETYPE_FTTRIGON_H 1
10656 wine_cv_fttrigon
=yes
10658 echo "$as_me: failed program was:" >&5
10659 sed 's/^/| /' conftest.
$ac_ext >&5
10661 wine_cv_fttrigon
=no
10663 rm -f conftest.err conftest.
$ac_ext
10664 CPPFLAGS
="$ac_save_CPPFLAGS"
10665 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10668 cat >>confdefs.h
<<\_ACEOF
10669 #define HAVE_FREETYPE 1
10672 wine_cv_msg_freetype
=no
10675 wine_cv_msg_freetype
=yes
10681 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10682 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10683 if test "${ac_cv_c_ppdev+set}" = set; then
10684 echo $ECHO_N "(cached) $ECHO_C" >&6
10686 cat >conftest.
$ac_ext <<_ACEOF
10689 cat confdefs.h
>>conftest.
$ac_ext
10690 cat >>conftest.
$ac_ext <<_ACEOF
10691 /* end confdefs.h. */
10692 #include <linux/ppdev.h>
10696 ioctl (1,PPCLAIM,0)
10701 rm -f conftest.
$ac_objext
10702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10703 (eval $ac_compile) 2>conftest.er1
10705 grep -v '^ *+' conftest.er1
>conftest.err
10707 cat conftest.err
>&5
10708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10709 (exit $ac_status); } &&
10710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10712 (eval $ac_try) 2>&5
10714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10715 (exit $ac_status); }; } &&
10716 { ac_try
='test -s conftest.$ac_objext'
10717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10718 (eval $ac_try) 2>&5
10720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10721 (exit $ac_status); }; }; then
10722 ac_cv_c_ppdev
="yes"
10724 echo "$as_me: failed program was:" >&5
10725 sed 's/^/| /' conftest.
$ac_ext >&5
10729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10732 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10733 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10734 if test "$ac_cv_c_ppdev" = "yes"
10737 cat >>confdefs.h
<<\_ACEOF
10738 #define HAVE_PPDEV 1
10743 echo "$as_me:$LINENO: checking for va_copy" >&5
10744 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10745 if test "${ac_cv_c_va_copy+set}" = set; then
10746 echo $ECHO_N "(cached) $ECHO_C" >&6
10748 cat >conftest.
$ac_ext <<_ACEOF
10751 cat confdefs.h
>>conftest.
$ac_ext
10752 cat >>conftest.
$ac_ext <<_ACEOF
10753 /* end confdefs.h. */
10754 #include <stdarg.h>
10765 rm -f conftest.
$ac_objext conftest
$ac_exeext
10766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10767 (eval $ac_link) 2>conftest.er1
10769 grep -v '^ *+' conftest.er1
>conftest.err
10771 cat conftest.err
>&5
10772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10773 (exit $ac_status); } &&
10774 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10776 (eval $ac_try) 2>&5
10778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10779 (exit $ac_status); }; } &&
10780 { ac_try
='test -s conftest$ac_exeext'
10781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10782 (eval $ac_try) 2>&5
10784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10785 (exit $ac_status); }; }; then
10786 ac_cv_c_va_copy
="yes"
10788 echo "$as_me: failed program was:" >&5
10789 sed 's/^/| /' conftest.
$ac_ext >&5
10791 ac_cv_c_va_copy
="no"
10793 rm -f conftest.err conftest.
$ac_objext \
10794 conftest
$ac_exeext conftest.
$ac_ext
10797 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10798 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10799 if test "$ac_cv_c_va_copy" = "yes"
10802 cat >>confdefs.h
<<\_ACEOF
10803 #define HAVE_VA_COPY 1
10807 echo "$as_me:$LINENO: checking for __va_copy" >&5
10808 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10809 if test "${ac_cv_c___va_copy+set}" = set; then
10810 echo $ECHO_N "(cached) $ECHO_C" >&6
10812 cat >conftest.
$ac_ext <<_ACEOF
10815 cat confdefs.h
>>conftest.
$ac_ext
10816 cat >>conftest.
$ac_ext <<_ACEOF
10817 /* end confdefs.h. */
10818 #include <stdarg.h>
10823 __va_copy(ap1,ap2);
10829 rm -f conftest.
$ac_objext conftest
$ac_exeext
10830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10831 (eval $ac_link) 2>conftest.er1
10833 grep -v '^ *+' conftest.er1
>conftest.err
10835 cat conftest.err
>&5
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); } &&
10838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10840 (eval $ac_try) 2>&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); }; } &&
10844 { ac_try
='test -s conftest$ac_exeext'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; }; then
10850 ac_cv_c___va_copy
="yes"
10852 echo "$as_me: failed program was:" >&5
10853 sed 's/^/| /' conftest.
$ac_ext >&5
10855 ac_cv_c___va_copy
="no"
10857 rm -f conftest.err conftest.
$ac_objext \
10858 conftest
$ac_exeext conftest.
$ac_ext
10861 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10862 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10863 if test "$ac_cv_c___va_copy" = "yes"
10866 cat >>confdefs.h
<<\_ACEOF
10867 #define HAVE___VA_COPY 1
10872 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10873 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10874 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10875 echo $ECHO_N "(cached) $ECHO_C" >&6
10877 cat >conftest.
$ac_ext <<_ACEOF
10880 cat confdefs.h
>>conftest.
$ac_ext
10881 cat >>conftest.
$ac_ext <<_ACEOF
10882 /* end confdefs.h. */
10883 #include <setjmp.h>
10888 sigsetjmp( buf, 1 );
10889 siglongjmp( buf, 1 );
10894 rm -f conftest.
$ac_objext conftest
$ac_exeext
10895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10896 (eval $ac_link) 2>conftest.er1
10898 grep -v '^ *+' conftest.er1
>conftest.err
10900 cat conftest.err
>&5
10901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10902 (exit $ac_status); } &&
10903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10905 (eval $ac_try) 2>&5
10907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10908 (exit $ac_status); }; } &&
10909 { ac_try
='test -s conftest$ac_exeext'
10910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10911 (eval $ac_try) 2>&5
10913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10914 (exit $ac_status); }; }; then
10915 ac_cv_c_sigsetjmp
="yes"
10917 echo "$as_me: failed program was:" >&5
10918 sed 's/^/| /' conftest.
$ac_ext >&5
10920 ac_cv_c_sigsetjmp
="no"
10922 rm -f conftest.err conftest.
$ac_objext \
10923 conftest
$ac_exeext conftest.
$ac_ext
10926 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10927 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10928 if test "$ac_cv_c_sigsetjmp" = "yes"
10931 cat >>confdefs.h
<<\_ACEOF
10932 #define HAVE_SIGSETJMP 1
10937 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10938 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10939 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10940 echo $ECHO_N "(cached) $ECHO_C" >&6
10942 cat >conftest.
$ac_ext <<_ACEOF
10945 cat confdefs.h
>>conftest.
$ac_ext
10946 cat >>conftest.
$ac_ext <<_ACEOF
10947 /* end confdefs.h. */
10948 #define _GNU_SOURCE
10949 #include <pthread.h>
10954 if ((pthread_rwlock_t *) 0)
10956 if (sizeof (pthread_rwlock_t))
10962 rm -f conftest.
$ac_objext
10963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10964 (eval $ac_compile) 2>conftest.er1
10966 grep -v '^ *+' conftest.er1
>conftest.err
10968 cat conftest.err
>&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } &&
10971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10973 (eval $ac_try) 2>&5
10975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10976 (exit $ac_status); }; } &&
10977 { ac_try
='test -s conftest.$ac_objext'
10978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10979 (eval $ac_try) 2>&5
10981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10982 (exit $ac_status); }; }; then
10983 ac_cv_type_pthread_rwlock_t
=yes
10985 echo "$as_me: failed program was:" >&5
10986 sed 's/^/| /' conftest.
$ac_ext >&5
10988 ac_cv_type_pthread_rwlock_t
=no
10990 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10992 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10993 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10994 if test $ac_cv_type_pthread_rwlock_t = yes; then
10996 cat >>confdefs.h
<<_ACEOF
10997 #define HAVE_PTHREAD_RWLOCK_T 1
11002 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11003 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11004 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11005 echo $ECHO_N "(cached) $ECHO_C" >&6
11007 cat >conftest.
$ac_ext <<_ACEOF
11010 cat confdefs.h
>>conftest.
$ac_ext
11011 cat >>conftest.
$ac_ext <<_ACEOF
11012 /* end confdefs.h. */
11013 #define _GNU_SOURCE
11014 #include <pthread.h>
11019 if ((pthread_rwlockattr_t *) 0)
11021 if (sizeof (pthread_rwlockattr_t))
11027 rm -f conftest.
$ac_objext
11028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11029 (eval $ac_compile) 2>conftest.er1
11031 grep -v '^ *+' conftest.er1
>conftest.err
11033 cat conftest.err
>&5
11034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11035 (exit $ac_status); } &&
11036 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11038 (eval $ac_try) 2>&5
11040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11041 (exit $ac_status); }; } &&
11042 { ac_try
='test -s conftest.$ac_objext'
11043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11044 (eval $ac_try) 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; }; then
11048 ac_cv_type_pthread_rwlockattr_t
=yes
11050 echo "$as_me: failed program was:" >&5
11051 sed 's/^/| /' conftest.
$ac_ext >&5
11053 ac_cv_type_pthread_rwlockattr_t
=no
11055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11057 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11058 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11059 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11061 cat >>confdefs.h
<<_ACEOF
11062 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11069 ac_save_LIBS
="$LIBS"
11070 LIBS
="$LIBS $LIBPTHREAD"
11072 for ac_func
in pthread_getattr_np
11074 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11075 echo "$as_me:$LINENO: checking for $ac_func" >&5
11076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11077 if eval "test \"\${$as_ac_var+set}\" = set"; then
11078 echo $ECHO_N "(cached) $ECHO_C" >&6
11080 cat >conftest.
$ac_ext <<_ACEOF
11083 cat confdefs.h
>>conftest.
$ac_ext
11084 cat >>conftest.
$ac_ext <<_ACEOF
11085 /* end confdefs.h. */
11086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11088 #define $ac_func innocuous_$ac_func
11090 /* System header to define __stub macros and hopefully few prototypes,
11091 which can conflict with char $ac_func (); below.
11092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11093 <limits.h> exists even on freestanding compilers. */
11096 # include <limits.h>
11098 # include <assert.h>
11103 /* Override any gcc2 internal prototype to avoid an error. */
11108 /* We use char because int might match the return type of a gcc2
11109 builtin and then its argument prototype would still apply. */
11111 /* The GNU C library defines this for functions which it implements
11112 to always fail with ENOSYS. Some functions are actually named
11113 something starting with __ and the normal name is an alias. */
11114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11117 char (*f) () = $ac_func;
11126 return f != $ac_func;
11131 rm -f conftest.
$ac_objext conftest
$ac_exeext
11132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11133 (eval $ac_link) 2>conftest.er1
11135 grep -v '^ *+' conftest.er1
>conftest.err
11137 cat conftest.err
>&5
11138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11139 (exit $ac_status); } &&
11140 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11142 (eval $ac_try) 2>&5
11144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11145 (exit $ac_status); }; } &&
11146 { ac_try
='test -s conftest$ac_exeext'
11147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11148 (eval $ac_try) 2>&5
11150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11151 (exit $ac_status); }; }; then
11152 eval "$as_ac_var=yes"
11154 echo "$as_me: failed program was:" >&5
11155 sed 's/^/| /' conftest.
$ac_ext >&5
11157 eval "$as_ac_var=no"
11159 rm -f conftest.err conftest.
$ac_objext \
11160 conftest
$ac_exeext conftest.
$ac_ext
11162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11164 if test `eval echo '${'$as_ac_var'}'` = yes; then
11165 cat >>confdefs.h
<<_ACEOF
11166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11172 LIBS
="$ac_save_LIBS"
11177 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
11179 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11181 echo "$as_me:$LINENO: checking for $ac_header" >&5
11182 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11183 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11184 echo $ECHO_N "(cached) $ECHO_C" >&6
11186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11189 # Is the header compilable?
11190 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11191 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11192 cat >conftest.
$ac_ext <<_ACEOF
11195 cat confdefs.h
>>conftest.
$ac_ext
11196 cat >>conftest.
$ac_ext <<_ACEOF
11197 /* end confdefs.h. */
11198 $ac_includes_default
11199 #include <$ac_header>
11201 rm -f conftest.
$ac_objext
11202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11203 (eval $ac_compile) 2>conftest.er1
11205 grep -v '^ *+' conftest.er1
>conftest.err
11207 cat conftest.err
>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); } &&
11210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; } &&
11216 { ac_try
='test -s conftest.$ac_objext'
11217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11218 (eval $ac_try) 2>&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); }; }; then
11222 ac_header_compiler
=yes
11224 echo "$as_me: failed program was:" >&5
11225 sed 's/^/| /' conftest.
$ac_ext >&5
11227 ac_header_compiler
=no
11229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11230 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11231 echo "${ECHO_T}$ac_header_compiler" >&6
11233 # Is the header present?
11234 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11235 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11236 cat >conftest.
$ac_ext <<_ACEOF
11239 cat confdefs.h
>>conftest.
$ac_ext
11240 cat >>conftest.
$ac_ext <<_ACEOF
11241 /* end confdefs.h. */
11242 #include <$ac_header>
11244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11245 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11247 grep -v '^ *+' conftest.er1
>conftest.err
11249 cat conftest.err
>&5
11250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11251 (exit $ac_status); } >/dev
/null
; then
11252 if test -s conftest.err
; then
11253 ac_cpp_err
=$ac_c_preproc_warn_flag
11254 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11261 if test -z "$ac_cpp_err"; then
11262 ac_header_preproc
=yes
11264 echo "$as_me: failed program was:" >&5
11265 sed 's/^/| /' conftest.
$ac_ext >&5
11267 ac_header_preproc
=no
11269 rm -f conftest.err conftest.
$ac_ext
11270 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11271 echo "${ECHO_T}$ac_header_preproc" >&6
11273 # So? What about this header?
11274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11276 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11277 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11278 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11279 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11280 ac_header_preproc
=yes
11283 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11284 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11285 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11286 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11287 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11288 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11289 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11290 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11292 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11293 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11294 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11297 ## ------------------------------------ ##
11298 ## Report this to wine-devel@winehq.org ##
11299 ## ------------------------------------ ##
11302 sed "s/^/$as_me: WARNING: /" >&2
11305 echo "$as_me:$LINENO: checking for $ac_header" >&5
11306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11308 echo $ECHO_N "(cached) $ECHO_C" >&6
11310 eval "$as_ac_Header=\$ac_header_preproc"
11312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11316 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11317 cat >>confdefs.h
<<_ACEOF
11318 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11326 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11327 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11328 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11329 echo $ECHO_N "(cached) $ECHO_C" >&6
11331 cat >conftest.
$ac_ext <<_ACEOF
11334 cat confdefs.h
>>conftest.
$ac_ext
11335 cat >>conftest.
$ac_ext <<_ACEOF
11336 /* end confdefs.h. */
11338 #if defined(HAVE_SYS_SOUNDCARD_H)
11339 #include <sys/soundcard.h>
11340 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11341 #include <machine/soundcard.h>
11342 #elif defined(HAVE_SOUNDCARD_H)
11343 #include <soundcard.h>
11351 /* check for one of the Open Sound System specific SNDCTL_ defines */
11352 #if !defined(SNDCTL_DSP_STEREO)
11353 #error No open sound system
11360 rm -f conftest.
$ac_objext
11361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11362 (eval $ac_compile) 2>conftest.er1
11364 grep -v '^ *+' conftest.er1
>conftest.err
11366 cat conftest.err
>&5
11367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11368 (exit $ac_status); } &&
11369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11371 (eval $ac_try) 2>&5
11373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11374 (exit $ac_status); }; } &&
11375 { ac_try
='test -s conftest.$ac_objext'
11376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11377 (eval $ac_try) 2>&5
11379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11380 (exit $ac_status); }; }; then
11381 ac_cv_c_opensoundsystem
="yes"
11383 echo "$as_me: failed program was:" >&5
11384 sed 's/^/| /' conftest.
$ac_ext >&5
11386 ac_cv_c_opensoundsystem
="no"
11388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11390 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11391 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11393 if test "$ac_cv_c_opensoundsystem" = "yes"
11396 cat >>confdefs.h
<<\_ACEOF
11402 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11403 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11404 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11405 echo $ECHO_N "(cached) $ECHO_C" >&6
11407 cat >conftest.
$ac_ext <<_ACEOF
11410 cat confdefs.h
>>conftest.
$ac_ext
11411 cat >>conftest.
$ac_ext <<_ACEOF
11412 /* end confdefs.h. */
11414 #if defined(HAVE_SYS_SOUNDCARD_H)
11415 #include <sys/soundcard.h>
11416 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11417 #include <machine/soundcard.h>
11418 #elif defined(HAVE_SOUNDCARD_H)
11419 #include <soundcard.h>
11427 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11428 #if !defined(SNDCTL_SEQ_SYNC)
11429 #error No open sound system MIDI interface
11436 rm -f conftest.
$ac_objext
11437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11438 (eval $ac_compile) 2>conftest.er1
11440 grep -v '^ *+' conftest.er1
>conftest.err
11442 cat conftest.err
>&5
11443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11444 (exit $ac_status); } &&
11445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11447 (eval $ac_try) 2>&5
11449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450 (exit $ac_status); }; } &&
11451 { ac_try
='test -s conftest.$ac_objext'
11452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11453 (eval $ac_try) 2>&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); }; }; then
11457 ac_cv_c_opensoundsystem_midi
="yes"
11459 echo "$as_me: failed program was:" >&5
11460 sed 's/^/| /' conftest.
$ac_ext >&5
11462 ac_cv_c_opensoundsystem_midi
="no"
11464 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11466 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11467 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11469 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11472 cat >>confdefs.h
<<\_ACEOF
11473 #define HAVE_OSS_MIDI 1
11478 # Extract the first word of "artsc-config", so it can be a program name with args.
11479 set dummy artsc-config
; ac_word
=$2
11480 echo "$as_me:$LINENO: checking for $ac_word" >&5
11481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11482 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11483 echo $ECHO_N "(cached) $ECHO_C" >&6
11485 case $ARTSCCONFIG in
11487 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11491 for as_dir
in $PATH
11494 test -z "$as_dir" && as_dir
=.
11495 for ac_exec_ext
in '' $ac_executable_extensions; do
11496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11497 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11507 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11509 if test -n "$ARTSCCONFIG"; then
11510 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11511 echo "${ECHO_T}$ARTSCCONFIG" >&6
11513 echo "$as_me:$LINENO: result: no" >&5
11514 echo "${ECHO_T}no" >&6
11517 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11520 for i
in `$ARTSCCONFIG --cflags`
11523 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11526 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11527 save_CFLAGS
="$CFLAGS"
11528 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11529 cat >conftest.
$ac_ext <<_ACEOF
11532 cat confdefs.h
>>conftest.
$ac_ext
11533 cat >>conftest.
$ac_ext <<_ACEOF
11534 /* end confdefs.h. */
11539 arts_stream_t stream;
11544 rm -f conftest.
$ac_objext
11545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11546 (eval $ac_compile) 2>conftest.er1
11548 grep -v '^ *+' conftest.er1
>conftest.err
11550 cat conftest.err
>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); } &&
11553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; } &&
11559 { ac_try
='test -s conftest.$ac_objext'
11560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11561 (eval $ac_try) 2>&5
11563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11564 (exit $ac_status); }; }; then
11565 ARTSLIBS
=$ARTSC_LIBS
11567 ARTSINCL
=$ARTSC_CFLAGS
11570 cat >>confdefs.h
<<\_ACEOF
11571 #define HAVE_ARTS 1
11575 echo "$as_me: failed program was:" >&5
11576 sed 's/^/| /' conftest.
$ac_ext >&5
11579 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11580 CFLAGS
="$save_CFLAGS"
11587 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11589 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11591 echo "$as_me:$LINENO: checking for $ac_header" >&5
11592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11594 echo $ECHO_N "(cached) $ECHO_C" >&6
11596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11599 # Is the header compilable?
11600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11602 cat >conftest.
$ac_ext <<_ACEOF
11605 cat confdefs.h
>>conftest.
$ac_ext
11606 cat >>conftest.
$ac_ext <<_ACEOF
11607 /* end confdefs.h. */
11608 $ac_includes_default
11609 #include <$ac_header>
11611 rm -f conftest.
$ac_objext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11613 (eval $ac_compile) 2>conftest.er1
11615 grep -v '^ *+' conftest.er1
>conftest.err
11617 cat conftest.err
>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } &&
11620 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11622 (eval $ac_try) 2>&5
11624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11625 (exit $ac_status); }; } &&
11626 { ac_try
='test -s conftest.$ac_objext'
11627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11628 (eval $ac_try) 2>&5
11630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11631 (exit $ac_status); }; }; then
11632 ac_header_compiler
=yes
11634 echo "$as_me: failed program was:" >&5
11635 sed 's/^/| /' conftest.
$ac_ext >&5
11637 ac_header_compiler
=no
11639 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11640 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11641 echo "${ECHO_T}$ac_header_compiler" >&6
11643 # Is the header present?
11644 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11645 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11646 cat >conftest.
$ac_ext <<_ACEOF
11649 cat confdefs.h
>>conftest.
$ac_ext
11650 cat >>conftest.
$ac_ext <<_ACEOF
11651 /* end confdefs.h. */
11652 #include <$ac_header>
11654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11657 grep -v '^ *+' conftest.er1
>conftest.err
11659 cat conftest.err
>&5
11660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11661 (exit $ac_status); } >/dev
/null
; then
11662 if test -s conftest.err
; then
11663 ac_cpp_err
=$ac_c_preproc_warn_flag
11664 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11671 if test -z "$ac_cpp_err"; then
11672 ac_header_preproc
=yes
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.
$ac_ext >&5
11677 ac_header_preproc
=no
11679 rm -f conftest.err conftest.
$ac_ext
11680 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11681 echo "${ECHO_T}$ac_header_preproc" >&6
11683 # So? What about this header?
11684 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11686 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11687 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11688 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11689 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11690 ac_header_preproc
=yes
11693 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11694 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11695 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11696 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11697 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11698 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11699 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11700 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11701 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11702 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11703 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11704 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11707 ## ------------------------------------ ##
11708 ## Report this to wine-devel@winehq.org ##
11709 ## ------------------------------------ ##
11712 sed "s/^/$as_me: WARNING: /" >&2
11715 echo "$as_me:$LINENO: checking for $ac_header" >&5
11716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11718 echo $ECHO_N "(cached) $ECHO_C" >&6
11720 eval "$as_ac_Header=\$ac_header_preproc"
11722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11723 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11727 cat >>confdefs.h
<<_ACEOF
11728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11735 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11737 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11738 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11739 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11740 echo $ECHO_N "(cached) $ECHO_C" >&6
11742 ac_check_lib_save_LIBS
=$LIBS
11743 LIBS
="-lasound $LIBS"
11744 cat >conftest.
$ac_ext <<_ACEOF
11747 cat confdefs.h
>>conftest.
$ac_ext
11748 cat >>conftest.
$ac_ext <<_ACEOF
11749 /* end confdefs.h. */
11751 /* Override any gcc2 internal prototype to avoid an error. */
11755 /* We use char because int might match the return type of a gcc2
11756 builtin and then its argument prototype would still apply. */
11757 char snd_pcm_open ();
11766 rm -f conftest.
$ac_objext conftest
$ac_exeext
11767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11768 (eval $ac_link) 2>conftest.er1
11770 grep -v '^ *+' conftest.er1
>conftest.err
11772 cat conftest.err
>&5
11773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11774 (exit $ac_status); } &&
11775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11777 (eval $ac_try) 2>&5
11779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11780 (exit $ac_status); }; } &&
11781 { ac_try
='test -s conftest$ac_exeext'
11782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11783 (eval $ac_try) 2>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); }; }; then
11787 ac_cv_lib_asound_snd_pcm_open
=yes
11789 echo "$as_me: failed program was:" >&5
11790 sed 's/^/| /' conftest.
$ac_ext >&5
11792 ac_cv_lib_asound_snd_pcm_open
=no
11794 rm -f conftest.err conftest.
$ac_objext \
11795 conftest
$ac_exeext conftest.
$ac_ext
11796 LIBS
=$ac_check_lib_save_LIBS
11798 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11799 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11800 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11802 cat >>confdefs.h
<<\_ACEOF
11803 #define HAVE_ALSA 1
11806 ALSALIBS
="-lasound"
11815 for ac_header
in libaudioio.h
11817 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11819 echo "$as_me:$LINENO: checking for $ac_header" >&5
11820 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11821 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11822 echo $ECHO_N "(cached) $ECHO_C" >&6
11824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11825 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11827 # Is the header compilable?
11828 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11829 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11830 cat >conftest.
$ac_ext <<_ACEOF
11833 cat confdefs.h
>>conftest.
$ac_ext
11834 cat >>conftest.
$ac_ext <<_ACEOF
11835 /* end confdefs.h. */
11836 $ac_includes_default
11837 #include <$ac_header>
11839 rm -f conftest.
$ac_objext
11840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11841 (eval $ac_compile) 2>conftest.er1
11843 grep -v '^ *+' conftest.er1
>conftest.err
11845 cat conftest.err
>&5
11846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11847 (exit $ac_status); } &&
11848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11850 (eval $ac_try) 2>&5
11852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11853 (exit $ac_status); }; } &&
11854 { ac_try
='test -s conftest.$ac_objext'
11855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11856 (eval $ac_try) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); }; }; then
11860 ac_header_compiler
=yes
11862 echo "$as_me: failed program was:" >&5
11863 sed 's/^/| /' conftest.
$ac_ext >&5
11865 ac_header_compiler
=no
11867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11868 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11869 echo "${ECHO_T}$ac_header_compiler" >&6
11871 # Is the header present?
11872 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11874 cat >conftest.
$ac_ext <<_ACEOF
11877 cat confdefs.h
>>conftest.
$ac_ext
11878 cat >>conftest.
$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 #include <$ac_header>
11882 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11883 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11885 grep -v '^ *+' conftest.er1
>conftest.err
11887 cat conftest.err
>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); } >/dev
/null
; then
11890 if test -s conftest.err
; then
11891 ac_cpp_err
=$ac_c_preproc_warn_flag
11892 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11899 if test -z "$ac_cpp_err"; then
11900 ac_header_preproc
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_header_preproc
=no
11907 rm -f conftest.err conftest.
$ac_ext
11908 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11909 echo "${ECHO_T}$ac_header_preproc" >&6
11911 # So? What about this header?
11912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11915 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11916 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11917 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11918 ac_header_preproc
=yes
11921 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11922 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11923 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11924 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11925 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11926 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11927 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11928 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11931 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11932 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11935 ## ------------------------------------ ##
11936 ## Report this to wine-devel@winehq.org ##
11937 ## ------------------------------------ ##
11940 sed "s/^/$as_me: WARNING: /" >&2
11943 echo "$as_me:$LINENO: checking for $ac_header" >&5
11944 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11945 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 eval "$as_ac_Header=\$ac_header_preproc"
11950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11954 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11955 cat >>confdefs.h
<<_ACEOF
11956 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11958 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11959 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11960 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 ac_check_lib_save_LIBS
=$LIBS
11964 LIBS
="-laudioio $LIBS"
11965 cat >conftest.
$ac_ext <<_ACEOF
11968 cat confdefs.h
>>conftest.
$ac_ext
11969 cat >>conftest.
$ac_ext <<_ACEOF
11970 /* end confdefs.h. */
11972 /* Override any gcc2 internal prototype to avoid an error. */
11976 /* We use char because int might match the return type of a gcc2
11977 builtin and then its argument prototype would still apply. */
11978 char AudioIOGetVersion ();
11982 AudioIOGetVersion ();
11987 rm -f conftest.
$ac_objext conftest
$ac_exeext
11988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11989 (eval $ac_link) 2>conftest.er1
11991 grep -v '^ *+' conftest.er1
>conftest.err
11993 cat conftest.err
>&5
11994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11995 (exit $ac_status); } &&
11996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11998 (eval $ac_try) 2>&5
12000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12001 (exit $ac_status); }; } &&
12002 { ac_try
='test -s conftest$ac_exeext'
12003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12004 (eval $ac_try) 2>&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); }; }; then
12008 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12010 echo "$as_me: failed program was:" >&5
12011 sed 's/^/| /' conftest.
$ac_ext >&5
12013 ac_cv_lib_audioio_AudioIOGetVersion
=no
12015 rm -f conftest.err conftest.
$ac_objext \
12016 conftest
$ac_exeext conftest.
$ac_ext
12017 LIBS
=$ac_check_lib_save_LIBS
12019 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12020 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12021 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12022 AUDIOIOLIBS
="-laudioio"
12024 cat >>confdefs.h
<<\_ACEOF
12025 #define HAVE_LIBAUDIOIO 1
12037 for ac_header
in capi20.h
12039 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12041 echo "$as_me:$LINENO: checking for $ac_header" >&5
12042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12044 echo $ECHO_N "(cached) $ECHO_C" >&6
12046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12047 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12049 # Is the header compilable?
12050 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12051 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12052 cat >conftest.
$ac_ext <<_ACEOF
12055 cat confdefs.h
>>conftest.
$ac_ext
12056 cat >>conftest.
$ac_ext <<_ACEOF
12057 /* end confdefs.h. */
12058 $ac_includes_default
12059 #include <$ac_header>
12061 rm -f conftest.
$ac_objext
12062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12063 (eval $ac_compile) 2>conftest.er1
12065 grep -v '^ *+' conftest.er1
>conftest.err
12067 cat conftest.err
>&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } &&
12070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; } &&
12076 { ac_try
='test -s conftest.$ac_objext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_header_compiler
=yes
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 ac_header_compiler
=no
12089 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12090 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12091 echo "${ECHO_T}$ac_header_compiler" >&6
12093 # Is the header present?
12094 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12096 cat >conftest.
$ac_ext <<_ACEOF
12099 cat confdefs.h
>>conftest.
$ac_ext
12100 cat >>conftest.
$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102 #include <$ac_header>
12104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12105 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12107 grep -v '^ *+' conftest.er1
>conftest.err
12109 cat conftest.err
>&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } >/dev
/null
; then
12112 if test -s conftest.err
; then
12113 ac_cpp_err
=$ac_c_preproc_warn_flag
12114 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12121 if test -z "$ac_cpp_err"; then
12122 ac_header_preproc
=yes
12124 echo "$as_me: failed program was:" >&5
12125 sed 's/^/| /' conftest.
$ac_ext >&5
12127 ac_header_preproc
=no
12129 rm -f conftest.err conftest.
$ac_ext
12130 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12131 echo "${ECHO_T}$ac_header_preproc" >&6
12133 # So? What about this header?
12134 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12137 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12139 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12140 ac_header_preproc
=yes
12143 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12144 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12145 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12146 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12147 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12148 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12149 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12150 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12151 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12152 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12153 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12154 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12157 ## ------------------------------------ ##
12158 ## Report this to wine-devel@winehq.org ##
12159 ## ------------------------------------ ##
12162 sed "s/^/$as_me: WARNING: /" >&2
12165 echo "$as_me:$LINENO: checking for $ac_header" >&5
12166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12170 eval "$as_ac_Header=\$ac_header_preproc"
12172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12173 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12176 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12177 cat >>confdefs.h
<<_ACEOF
12178 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12182 for ac_header
in linux
/capi.h
12184 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12186 echo "$as_me:$LINENO: checking for $ac_header" >&5
12187 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12188 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12194 # Is the header compilable?
12195 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12196 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12197 cat >conftest.
$ac_ext <<_ACEOF
12200 cat confdefs.h
>>conftest.
$ac_ext
12201 cat >>conftest.
$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12203 $ac_includes_default
12204 #include <$ac_header>
12206 rm -f conftest.
$ac_objext
12207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12208 (eval $ac_compile) 2>conftest.er1
12210 grep -v '^ *+' conftest.er1
>conftest.err
12212 cat conftest.err
>&5
12213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12214 (exit $ac_status); } &&
12215 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12217 (eval $ac_try) 2>&5
12219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12220 (exit $ac_status); }; } &&
12221 { ac_try
='test -s conftest.$ac_objext'
12222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12223 (eval $ac_try) 2>&5
12225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12226 (exit $ac_status); }; }; then
12227 ac_header_compiler
=yes
12229 echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.
$ac_ext >&5
12232 ac_header_compiler
=no
12234 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12235 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12236 echo "${ECHO_T}$ac_header_compiler" >&6
12238 # Is the header present?
12239 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12240 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12241 cat >conftest.
$ac_ext <<_ACEOF
12244 cat confdefs.h
>>conftest.
$ac_ext
12245 cat >>conftest.
$ac_ext <<_ACEOF
12246 /* end confdefs.h. */
12247 #include <$ac_header>
12249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12250 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12252 grep -v '^ *+' conftest.er1
>conftest.err
12254 cat conftest.err
>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); } >/dev
/null
; then
12257 if test -s conftest.err
; then
12258 ac_cpp_err
=$ac_c_preproc_warn_flag
12259 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12266 if test -z "$ac_cpp_err"; then
12267 ac_header_preproc
=yes
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.
$ac_ext >&5
12272 ac_header_preproc
=no
12274 rm -f conftest.err conftest.
$ac_ext
12275 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12276 echo "${ECHO_T}$ac_header_preproc" >&6
12278 # So? What about this header?
12279 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12281 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12282 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12284 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12285 ac_header_preproc
=yes
12288 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12289 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12290 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12291 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12292 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12293 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12294 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12295 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12297 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12298 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12299 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12302 ## ------------------------------------ ##
12303 ## Report this to wine-devel@winehq.org ##
12304 ## ------------------------------------ ##
12307 sed "s/^/$as_me: WARNING: /" >&2
12310 echo "$as_me:$LINENO: checking for $ac_header" >&5
12311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12313 echo $ECHO_N "(cached) $ECHO_C" >&6
12315 eval "$as_ac_Header=\$ac_header_preproc"
12317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12318 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12321 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12322 cat >>confdefs.h
<<_ACEOF
12323 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12326 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12327 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12328 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12329 echo $ECHO_N "(cached) $ECHO_C" >&6
12331 ac_check_lib_save_LIBS
=$LIBS
12332 LIBS
="-lcapi20 $LIBS"
12333 cat >conftest.
$ac_ext <<_ACEOF
12336 cat confdefs.h
>>conftest.
$ac_ext
12337 cat >>conftest.
$ac_ext <<_ACEOF
12338 /* end confdefs.h. */
12340 /* Override any gcc2 internal prototype to avoid an error. */
12344 /* We use char because int might match the return type of a gcc2
12345 builtin and then its argument prototype would still apply. */
12346 char capi20_register ();
12350 capi20_register ();
12355 rm -f conftest.
$ac_objext conftest
$ac_exeext
12356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12357 (eval $ac_link) 2>conftest.er1
12359 grep -v '^ *+' conftest.er1
>conftest.err
12361 cat conftest.err
>&5
12362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12363 (exit $ac_status); } &&
12364 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12366 (eval $ac_try) 2>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); }; } &&
12370 { ac_try
='test -s conftest$ac_exeext'
12371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12372 (eval $ac_try) 2>&5
12374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12375 (exit $ac_status); }; }; then
12376 ac_cv_lib_capi20_capi20_register
=yes
12378 echo "$as_me: failed program was:" >&5
12379 sed 's/^/| /' conftest.
$ac_ext >&5
12381 ac_cv_lib_capi20_capi20_register
=no
12383 rm -f conftest.err conftest.
$ac_objext \
12384 conftest
$ac_exeext conftest.
$ac_ext
12385 LIBS
=$ac_check_lib_save_LIBS
12387 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12388 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12389 if test $ac_cv_lib_capi20_capi20_register = yes; then
12392 cat >>confdefs.h
<<\_ACEOF
12393 #define HAVE_CAPI4LINUX 1
12396 CAPI4LINUXLIBS
="-lcapi20"
12413 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12414 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12415 if test "${ac_cv_mmap64_works+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12418 if test "$cross_compiling" = yes; then
12419 ac_cv_mmap64_works
="no"
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12428 #define _FILE_OFFSET_BITS 64
12430 #include <unistd.h>
12432 #include <sys/mman.h>
12435 int main(int argc,char **argv) {
12436 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12437 if (fd == -1) exit(1);
12439 unlink("conftest.map");
12441 write(fd,"test",4);
12443 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12449 fprintf(stderr,"success!\n");
12455 rm -f conftest
$ac_exeext
12456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12457 (eval $ac_link) 2>&5
12459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12460 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12462 (eval $ac_try) 2>&5
12464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12465 (exit $ac_status); }; }; then
12466 ac_cv_mmap64_works
="yes"
12468 echo "$as_me: program exited with status $ac_status" >&5
12469 echo "$as_me: failed program was:" >&5
12470 sed 's/^/| /' conftest.
$ac_ext >&5
12472 ( exit $ac_status )
12473 ac_cv_mmap64_works
="no"
12475 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12478 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12479 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12481 if test "$ac_cv_mmap64_works" = "yes"
12484 cat >>confdefs.h
<<\_ACEOF
12485 #define _FILE_OFFSET_BITS 64
12493 if test "x${GCC}" = "xyes"
12495 EXTRACFLAGS
="-Wall -pipe"
12497 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12498 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12499 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12500 echo $ECHO_N "(cached) $ECHO_C" >&6
12502 if test "$cross_compiling" = yes; then
12503 ac_cv_c_gcc_strength_bug
="yes"
12505 cat >conftest.
$ac_ext <<_ACEOF
12508 cat confdefs.h
>>conftest.
$ac_ext
12509 cat >>conftest.
$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12512 int L[4] = {0,1,2,3};
12514 static int Array[3];
12515 unsigned int B = 3;
12517 for(i=0; i<B; i++) Array[i] = i - 3;
12518 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12521 exit( Array[1] != -2 || L[2] != 3);
12524 rm -f conftest
$ac_exeext
12525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12526 (eval $ac_link) 2>&5
12528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12529 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12531 (eval $ac_try) 2>&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); }; }; then
12535 ac_cv_c_gcc_strength_bug
="no"
12537 echo "$as_me: program exited with status $ac_status" >&5
12538 echo "$as_me: failed program was:" >&5
12539 sed 's/^/| /' conftest.
$ac_ext >&5
12541 ( exit $ac_status )
12542 ac_cv_c_gcc_strength_bug
="yes"
12544 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12547 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12548 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12549 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12551 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12554 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12555 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12556 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12557 echo $ECHO_N "(cached) $ECHO_C" >&6
12559 ac_wine_try_cflags_saved
=$CFLAGS
12560 CFLAGS
="$CFLAGS -fshort-wchar"
12561 cat >conftest.
$ac_ext <<_ACEOF
12564 cat confdefs.h
>>conftest.
$ac_ext
12565 cat >>conftest.
$ac_ext <<_ACEOF
12566 /* end confdefs.h. */
12576 rm -f conftest.
$ac_objext conftest
$ac_exeext
12577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12578 (eval $ac_link) 2>conftest.er1
12580 grep -v '^ *+' conftest.er1
>conftest.err
12582 cat conftest.err
>&5
12583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12584 (exit $ac_status); } &&
12585 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12587 (eval $ac_try) 2>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); }; } &&
12591 { ac_try
='test -s conftest$ac_exeext'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; }; then
12597 ac_cv_c_gcc_fshort_wchar
="yes"
12599 echo "$as_me: failed program was:" >&5
12600 sed 's/^/| /' conftest.
$ac_ext >&5
12602 ac_cv_c_gcc_fshort_wchar
="no"
12604 rm -f conftest.err conftest.
$ac_objext \
12605 conftest
$ac_exeext conftest.
$ac_ext
12606 CFLAGS
=$ac_wine_try_cflags_saved
12608 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12609 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12610 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12613 cat >>confdefs.h
<<\_ACEOF
12614 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12619 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12620 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12621 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12622 echo $ECHO_N "(cached) $ECHO_C" >&6
12624 ac_wine_try_cflags_saved
=$CFLAGS
12625 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12626 cat >conftest.
$ac_ext <<_ACEOF
12629 cat confdefs.h
>>conftest.
$ac_ext
12630 cat >>conftest.
$ac_ext <<_ACEOF
12631 /* end confdefs.h. */
12641 rm -f conftest.
$ac_objext conftest
$ac_exeext
12642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12643 (eval $ac_link) 2>conftest.er1
12645 grep -v '^ *+' conftest.er1
>conftest.err
12647 cat conftest.err
>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } &&
12650 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12652 (eval $ac_try) 2>&5
12654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12655 (exit $ac_status); }; } &&
12656 { ac_try
='test -s conftest$ac_exeext'
12657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12658 (eval $ac_try) 2>&5
12660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12661 (exit $ac_status); }; }; then
12662 ac_cv_c_gcc_stack_boundary
="yes"
12664 echo "$as_me: failed program was:" >&5
12665 sed 's/^/| /' conftest.
$ac_ext >&5
12667 ac_cv_c_gcc_stack_boundary
="no"
12669 rm -f conftest.err conftest.
$ac_objext \
12670 conftest
$ac_exeext conftest.
$ac_ext
12671 CFLAGS
=$ac_wine_try_cflags_saved
12673 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12674 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12675 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12677 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12680 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12681 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12682 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12683 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 ac_wine_try_cflags_saved
=$CFLAGS
12686 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12687 cat >conftest.
$ac_ext <<_ACEOF
12690 cat confdefs.h
>>conftest.
$ac_ext
12691 cat >>conftest.
$ac_ext <<_ACEOF
12692 /* end confdefs.h. */
12702 rm -f conftest.
$ac_objext conftest
$ac_exeext
12703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12704 (eval $ac_link) 2>conftest.er1
12706 grep -v '^ *+' conftest.er1
>conftest.err
12708 cat conftest.err
>&5
12709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12710 (exit $ac_status); } &&
12711 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12713 (eval $ac_try) 2>&5
12715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12716 (exit $ac_status); }; } &&
12717 { ac_try
='test -s conftest$ac_exeext'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; }; then
12723 ac_cv_c_gcc_no_strict_aliasing
="yes"
12725 echo "$as_me: failed program was:" >&5
12726 sed 's/^/| /' conftest.
$ac_ext >&5
12728 ac_cv_c_gcc_no_strict_aliasing
="no"
12730 rm -f conftest.err conftest.
$ac_objext \
12731 conftest
$ac_exeext conftest.
$ac_ext
12732 CFLAGS
=$ac_wine_try_cflags_saved
12734 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12735 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12736 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12738 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12741 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12742 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12743 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12744 echo $ECHO_N "(cached) $ECHO_C" >&6
12746 ac_wine_try_cflags_saved
=$CFLAGS
12747 CFLAGS
="$CFLAGS -gstabs+"
12748 cat >conftest.
$ac_ext <<_ACEOF
12751 cat confdefs.h
>>conftest.
$ac_ext
12752 cat >>conftest.
$ac_ext <<_ACEOF
12753 /* end confdefs.h. */
12763 rm -f conftest.
$ac_objext conftest
$ac_exeext
12764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12765 (eval $ac_link) 2>conftest.er1
12767 grep -v '^ *+' conftest.er1
>conftest.err
12769 cat conftest.err
>&5
12770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12771 (exit $ac_status); } &&
12772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; } &&
12778 { ac_try
='test -s conftest$ac_exeext'
12779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12780 (eval $ac_try) 2>&5
12782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12783 (exit $ac_status); }; }; then
12784 ac_cv_c_gcc_gstabs
="yes"
12786 echo "$as_me: failed program was:" >&5
12787 sed 's/^/| /' conftest.
$ac_ext >&5
12789 ac_cv_c_gcc_gstabs
="no"
12791 rm -f conftest.err conftest.
$ac_objext \
12792 conftest
$ac_exeext conftest.
$ac_ext
12793 CFLAGS
=$ac_wine_try_cflags_saved
12795 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12796 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12797 if test "$ac_cv_c_gcc_gstabs" = "yes"
12799 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12802 saved_CFLAGS
="$CFLAGS"
12803 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12804 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12805 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12806 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12807 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 cat >conftest.
$ac_ext <<_ACEOF
12812 cat confdefs.h
>>conftest.
$ac_ext
12813 cat >>conftest.
$ac_ext <<_ACEOF
12814 /* end confdefs.h. */
12815 #include <string.h>
12824 rm -f conftest.
$ac_objext
12825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12826 (eval $ac_compile) 2>conftest.er1
12828 grep -v '^ *+' conftest.er1
>conftest.err
12830 cat conftest.err
>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); } &&
12833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; } &&
12839 { ac_try
='test -s conftest.$ac_objext'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; }; then
12845 ac_cv_c_string_h_warnings
=no
12847 echo "$as_me: failed program was:" >&5
12848 sed 's/^/| /' conftest.
$ac_ext >&5
12850 ac_cv_c_string_h_warnings
=yes
12852 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12854 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12855 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12856 CFLAGS
="$saved_CFLAGS"
12857 if test "$ac_cv_c_string_h_warnings" = "no"
12859 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12864 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12865 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12866 if test "${ac_cv_asm_func_def+set}" = set; then
12867 echo $ECHO_N "(cached) $ECHO_C" >&6
12869 cat >conftest.
$ac_ext <<_ACEOF
12872 cat confdefs.h
>>conftest.
$ac_ext
12873 cat >>conftest.
$ac_ext <<_ACEOF
12874 /* end confdefs.h. */
12875 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12885 rm -f conftest.
$ac_objext conftest
$ac_exeext
12886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12887 (eval $ac_link) 2>conftest.er1
12889 grep -v '^ *+' conftest.er1
>conftest.err
12891 cat conftest.err
>&5
12892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } &&
12894 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12896 (eval $ac_try) 2>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); }; } &&
12900 { ac_try
='test -s conftest$ac_exeext'
12901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12902 (eval $ac_try) 2>&5
12904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12905 (exit $ac_status); }; }; then
12906 ac_cv_asm_func_def
=".def"
12908 echo "$as_me: failed program was:" >&5
12909 sed 's/^/| /' conftest.
$ac_ext >&5
12911 cat >conftest.
$ac_ext <<_ACEOF
12914 cat confdefs.h
>>conftest.
$ac_ext
12915 cat >>conftest.
$ac_ext <<_ACEOF
12916 /* end confdefs.h. */
12917 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12927 rm -f conftest.
$ac_objext conftest
$ac_exeext
12928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12929 (eval $ac_link) 2>conftest.er1
12931 grep -v '^ *+' conftest.er1
>conftest.err
12933 cat conftest.err
>&5
12934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12935 (exit $ac_status); } &&
12936 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12938 (eval $ac_try) 2>&5
12940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12941 (exit $ac_status); }; } &&
12942 { ac_try
='test -s conftest$ac_exeext'
12943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12944 (eval $ac_try) 2>&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); }; }; then
12948 ac_cv_asm_func_def
=".type @function"
12950 echo "$as_me: failed program was:" >&5
12951 sed 's/^/| /' conftest.
$ac_ext >&5
12953 cat >conftest.
$ac_ext <<_ACEOF
12956 cat confdefs.h
>>conftest.
$ac_ext
12957 cat >>conftest.
$ac_ext <<_ACEOF
12958 /* end confdefs.h. */
12959 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12969 rm -f conftest.
$ac_objext conftest
$ac_exeext
12970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12971 (eval $ac_link) 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12980 (eval $ac_try) 2>&5
12982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12983 (exit $ac_status); }; } &&
12984 { ac_try
='test -s conftest$ac_exeext'
12985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12986 (eval $ac_try) 2>&5
12988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12989 (exit $ac_status); }; }; then
12990 ac_cv_asm_func_def
=".type 2"
12992 echo "$as_me: failed program was:" >&5
12993 sed 's/^/| /' conftest.
$ac_ext >&5
12995 ac_cv_asm_func_def
="unknown"
12997 rm -f conftest.err conftest.
$ac_objext \
12998 conftest
$ac_exeext conftest.
$ac_ext
13000 rm -f conftest.err conftest.
$ac_objext \
13001 conftest
$ac_exeext conftest.
$ac_ext
13003 rm -f conftest.err conftest.
$ac_objext \
13004 conftest
$ac_exeext conftest.
$ac_ext
13006 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13007 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13011 case "$ac_cv_asm_func_def" in
13013 cat >>confdefs.h
<<\_ACEOF
13014 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13018 cat >>confdefs.h
<<\_ACEOF
13019 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13023 cat >>confdefs.h
<<\_ACEOF
13024 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13028 cat >>confdefs.h
<<\_ACEOF
13029 #define __ASM_FUNC(name) ""
13035 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13036 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13037 if test "${ac_cv_c_extern_prefix+set}" = set; then
13038 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 cat >conftest.
$ac_ext <<_ACEOF
13043 cat confdefs.h
>>conftest.
$ac_ext
13044 cat >>conftest.
$ac_ext <<_ACEOF
13045 /* end confdefs.h. */
13046 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13047 extern int ac_test;
13051 if (ac_test) return 1
13056 rm -f conftest.
$ac_objext conftest
$ac_exeext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13058 (eval $ac_link) 2>conftest.er1
13060 grep -v '^ *+' conftest.er1
>conftest.err
13062 cat conftest.err
>&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try
='test -s conftest$ac_exeext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_c_extern_prefix
="yes"
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.
$ac_ext >&5
13082 ac_cv_c_extern_prefix
="no"
13084 rm -f conftest.err conftest.
$ac_objext \
13085 conftest
$ac_exeext conftest.
$ac_ext
13087 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13088 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13092 if test "$ac_cv_c_extern_prefix" = "yes"
13094 cat >>confdefs.h
<<\_ACEOF
13095 #define __ASM_NAME(name) "_" name
13099 cat >>confdefs.h
<<\_ACEOF
13100 #define __ASM_NAME(name) name
13106 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13107 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13108 if test "${ac_cv_c_asm_string+set}" = set; then
13109 echo $ECHO_N "(cached) $ECHO_C" >&6
13111 cat >conftest.
$ac_ext <<_ACEOF
13114 cat confdefs.h
>>conftest.
$ac_ext
13115 cat >>conftest.
$ac_ext <<_ACEOF
13116 /* end confdefs.h. */
13117 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13127 rm -f conftest.
$ac_objext conftest
$ac_exeext
13128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13129 (eval $ac_link) 2>conftest.er1
13131 grep -v '^ *+' conftest.er1
>conftest.err
13133 cat conftest.err
>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13138 (eval $ac_try) 2>&5
13140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13141 (exit $ac_status); }; } &&
13142 { ac_try
='test -s conftest$ac_exeext'
13143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13144 (eval $ac_try) 2>&5
13146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13147 (exit $ac_status); }; }; then
13148 ac_cv_c_asm_string
=".string"
13150 echo "$as_me: failed program was:" >&5
13151 sed 's/^/| /' conftest.
$ac_ext >&5
13153 cat >conftest.
$ac_ext <<_ACEOF
13156 cat confdefs.h
>>conftest.
$ac_ext
13157 cat >>conftest.
$ac_ext <<_ACEOF
13158 /* end confdefs.h. */
13159 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13169 rm -f conftest.
$ac_objext conftest
$ac_exeext
13170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13171 (eval $ac_link) 2>conftest.er1
13173 grep -v '^ *+' conftest.er1
>conftest.err
13175 cat conftest.err
>&5
13176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13177 (exit $ac_status); } &&
13178 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13180 (eval $ac_try) 2>&5
13182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); }; } &&
13184 { ac_try
='test -s conftest$ac_exeext'
13185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13186 (eval $ac_try) 2>&5
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; }; then
13190 ac_cv_c_asm_string
=".asciz"
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.
$ac_ext >&5
13195 cat >conftest.
$ac_ext <<_ACEOF
13198 cat confdefs.h
>>conftest.
$ac_ext
13199 cat >>conftest.
$ac_ext <<_ACEOF
13200 /* end confdefs.h. */
13201 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13211 rm -f conftest.
$ac_objext conftest
$ac_exeext
13212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13213 (eval $ac_link) 2>conftest.er1
13215 grep -v '^ *+' conftest.er1
>conftest.err
13217 cat conftest.err
>&5
13218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13219 (exit $ac_status); } &&
13220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13222 (eval $ac_try) 2>&5
13224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13225 (exit $ac_status); }; } &&
13226 { ac_try
='test -s conftest$ac_exeext'
13227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13228 (eval $ac_try) 2>&5
13230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13231 (exit $ac_status); }; }; then
13232 ac_cv_c_asm_string
=".ascii"
13234 echo "$as_me: failed program was:" >&5
13235 sed 's/^/| /' conftest.
$ac_ext >&5
13237 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13238 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13239 { (exit 1); exit 1; }; }
13241 rm -f conftest.err conftest.
$ac_objext \
13242 conftest
$ac_exeext conftest.
$ac_ext
13244 rm -f conftest.err conftest.
$ac_objext \
13245 conftest
$ac_exeext conftest.
$ac_ext
13247 rm -f conftest.err conftest.
$ac_objext \
13248 conftest
$ac_exeext conftest.
$ac_ext
13250 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13251 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13254 cat >>confdefs.h
<<_ACEOF
13255 #define __ASM_STRING "$ac_cv_c_asm_string"
13260 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13261 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13262 if test "${ac_cv_c_asm_short+set}" = set; then
13263 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 cat >conftest.
$ac_ext <<_ACEOF
13268 cat confdefs.h
>>conftest.
$ac_ext
13269 cat >>conftest.
$ac_ext <<_ACEOF
13270 /* end confdefs.h. */
13271 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13281 rm -f conftest.
$ac_objext conftest
$ac_exeext
13282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13283 (eval $ac_link) 2>conftest.er1
13285 grep -v '^ *+' conftest.er1
>conftest.err
13287 cat conftest.err
>&5
13288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13289 (exit $ac_status); } &&
13290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13292 (eval $ac_try) 2>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); }; } &&
13296 { ac_try
='test -s conftest$ac_exeext'
13297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13298 (eval $ac_try) 2>&5
13300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13301 (exit $ac_status); }; }; then
13302 ac_cv_c_asm_short
=".short"
13304 echo "$as_me: failed program was:" >&5
13305 sed 's/^/| /' conftest.
$ac_ext >&5
13307 cat >conftest.
$ac_ext <<_ACEOF
13310 cat confdefs.h
>>conftest.
$ac_ext
13311 cat >>conftest.
$ac_ext <<_ACEOF
13312 /* end confdefs.h. */
13313 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13323 rm -f conftest.
$ac_objext conftest
$ac_exeext
13324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13325 (eval $ac_link) 2>conftest.er1
13327 grep -v '^ *+' conftest.er1
>conftest.err
13329 cat conftest.err
>&5
13330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } &&
13332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13334 (eval $ac_try) 2>&5
13336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13337 (exit $ac_status); }; } &&
13338 { ac_try
='test -s conftest$ac_exeext'
13339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13340 (eval $ac_try) 2>&5
13342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13343 (exit $ac_status); }; }; then
13344 ac_cv_c_asm_short
=".half"
13346 echo "$as_me: failed program was:" >&5
13347 sed 's/^/| /' conftest.
$ac_ext >&5
13349 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13350 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13351 { (exit 1); exit 1; }; }
13353 rm -f conftest.err conftest.
$ac_objext \
13354 conftest
$ac_exeext conftest.
$ac_ext
13356 rm -f conftest.err conftest.
$ac_objext \
13357 conftest
$ac_exeext conftest.
$ac_ext
13359 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13360 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13363 cat >>confdefs.h
<<_ACEOF
13364 #define __ASM_SHORT "$ac_cv_c_asm_short"
13371 DLLFLAGS
="-D_REENTRANT"
13386 if test -n "$ac_tool_prefix"; then
13387 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13388 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13389 echo "$as_me:$LINENO: checking for $ac_word" >&5
13390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13391 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13392 echo $ECHO_N "(cached) $ECHO_C" >&6
13394 if test -n "$DLLTOOL"; then
13395 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13398 for as_dir
in $PATH
13401 test -z "$as_dir" && as_dir
=.
13402 for ac_exec_ext
in '' $ac_executable_extensions; do
13403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13404 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13413 DLLTOOL
=$ac_cv_prog_DLLTOOL
13414 if test -n "$DLLTOOL"; then
13415 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13416 echo "${ECHO_T}$DLLTOOL" >&6
13418 echo "$as_me:$LINENO: result: no" >&5
13419 echo "${ECHO_T}no" >&6
13423 if test -z "$ac_cv_prog_DLLTOOL"; then
13424 ac_ct_DLLTOOL
=$DLLTOOL
13425 # Extract the first word of "dlltool", so it can be a program name with args.
13426 set dummy dlltool
; ac_word
=$2
13427 echo "$as_me:$LINENO: checking for $ac_word" >&5
13428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13429 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13430 echo $ECHO_N "(cached) $ECHO_C" >&6
13432 if test -n "$ac_ct_DLLTOOL"; then
13433 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13435 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13436 for as_dir
in $PATH
13439 test -z "$as_dir" && as_dir
=.
13440 for ac_exec_ext
in '' $ac_executable_extensions; do
13441 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13442 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13443 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13449 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13452 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13453 if test -n "$ac_ct_DLLTOOL"; then
13454 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13455 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13457 echo "$as_me:$LINENO: result: no" >&5
13458 echo "${ECHO_T}no" >&6
13461 DLLTOOL
=$ac_ct_DLLTOOL
13463 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13466 if test -n "$ac_tool_prefix"; then
13467 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13468 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13469 echo "$as_me:$LINENO: checking for $ac_word" >&5
13470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13471 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13472 echo $ECHO_N "(cached) $ECHO_C" >&6
13474 if test -n "$DLLWRAP"; then
13475 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13478 for as_dir
in $PATH
13481 test -z "$as_dir" && as_dir
=.
13482 for ac_exec_ext
in '' $ac_executable_extensions; do
13483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13484 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13493 DLLWRAP
=$ac_cv_prog_DLLWRAP
13494 if test -n "$DLLWRAP"; then
13495 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13496 echo "${ECHO_T}$DLLWRAP" >&6
13498 echo "$as_me:$LINENO: result: no" >&5
13499 echo "${ECHO_T}no" >&6
13503 if test -z "$ac_cv_prog_DLLWRAP"; then
13504 ac_ct_DLLWRAP
=$DLLWRAP
13505 # Extract the first word of "dllwrap", so it can be a program name with args.
13506 set dummy dllwrap
; ac_word
=$2
13507 echo "$as_me:$LINENO: checking for $ac_word" >&5
13508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13509 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13510 echo $ECHO_N "(cached) $ECHO_C" >&6
13512 if test -n "$ac_ct_DLLWRAP"; then
13513 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13516 for as_dir
in $PATH
13519 test -z "$as_dir" && as_dir
=.
13520 for ac_exec_ext
in '' $ac_executable_extensions; do
13521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13522 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13529 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13532 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13533 if test -n "$ac_ct_DLLWRAP"; then
13534 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13535 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13537 echo "$as_me:$LINENO: result: no" >&5
13538 echo "${ECHO_T}no" >&6
13541 DLLWRAP
=$ac_ct_DLLWRAP
13543 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13546 if test "$DLLWRAP" = "false"; then
13555 for ac_header
in dlfcn.h
13557 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13559 echo "$as_me:$LINENO: checking for $ac_header" >&5
13560 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13567 # Is the header compilable?
13568 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13569 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13570 cat >conftest.
$ac_ext <<_ACEOF
13573 cat confdefs.h
>>conftest.
$ac_ext
13574 cat >>conftest.
$ac_ext <<_ACEOF
13575 /* end confdefs.h. */
13576 $ac_includes_default
13577 #include <$ac_header>
13579 rm -f conftest.
$ac_objext
13580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13581 (eval $ac_compile) 2>conftest.er1
13583 grep -v '^ *+' conftest.er1
>conftest.err
13585 cat conftest.err
>&5
13586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13587 (exit $ac_status); } &&
13588 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13590 (eval $ac_try) 2>&5
13592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13593 (exit $ac_status); }; } &&
13594 { ac_try
='test -s conftest.$ac_objext'
13595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13596 (eval $ac_try) 2>&5
13598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13599 (exit $ac_status); }; }; then
13600 ac_header_compiler
=yes
13602 echo "$as_me: failed program was:" >&5
13603 sed 's/^/| /' conftest.
$ac_ext >&5
13605 ac_header_compiler
=no
13607 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13609 echo "${ECHO_T}$ac_header_compiler" >&6
13611 # Is the header present?
13612 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13613 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13614 cat >conftest.
$ac_ext <<_ACEOF
13617 cat confdefs.h
>>conftest.
$ac_ext
13618 cat >>conftest.
$ac_ext <<_ACEOF
13619 /* end confdefs.h. */
13620 #include <$ac_header>
13622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13625 grep -v '^ *+' conftest.er1
>conftest.err
13627 cat conftest.err
>&5
13628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13629 (exit $ac_status); } >/dev
/null
; then
13630 if test -s conftest.err
; then
13631 ac_cpp_err
=$ac_c_preproc_warn_flag
13632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13639 if test -z "$ac_cpp_err"; then
13640 ac_header_preproc
=yes
13642 echo "$as_me: failed program was:" >&5
13643 sed 's/^/| /' conftest.
$ac_ext >&5
13645 ac_header_preproc
=no
13647 rm -f conftest.err conftest.
$ac_ext
13648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13649 echo "${ECHO_T}$ac_header_preproc" >&6
13651 # So? What about this header?
13652 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13655 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13657 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13658 ac_header_preproc
=yes
13661 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13662 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13663 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13664 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13665 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13666 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13667 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13668 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13669 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13670 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13671 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13672 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13675 ## ------------------------------------ ##
13676 ## Report this to wine-devel@winehq.org ##
13677 ## ------------------------------------ ##
13680 sed "s/^/$as_me: WARNING: /" >&2
13683 echo "$as_me:$LINENO: checking for $ac_header" >&5
13684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13686 echo $ECHO_N "(cached) $ECHO_C" >&6
13688 eval "$as_ac_Header=\$ac_header_preproc"
13690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13691 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13695 cat >>confdefs.h
<<_ACEOF
13696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13699 for ac_func
in dlopen
13701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13702 echo "$as_me:$LINENO: checking for $ac_func" >&5
13703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13704 if eval "test \"\${$as_ac_var+set}\" = set"; then
13705 echo $ECHO_N "(cached) $ECHO_C" >&6
13707 cat >conftest.
$ac_ext <<_ACEOF
13710 cat confdefs.h
>>conftest.
$ac_ext
13711 cat >>conftest.
$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13715 #define $ac_func innocuous_$ac_func
13717 /* System header to define __stub macros and hopefully few prototypes,
13718 which can conflict with char $ac_func (); below.
13719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13720 <limits.h> exists even on freestanding compilers. */
13723 # include <limits.h>
13725 # include <assert.h>
13730 /* Override any gcc2 internal prototype to avoid an error. */
13735 /* We use char because int might match the return type of a gcc2
13736 builtin and then its argument prototype would still apply. */
13738 /* The GNU C library defines this for functions which it implements
13739 to always fail with ENOSYS. Some functions are actually named
13740 something starting with __ and the normal name is an alias. */
13741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13744 char (*f) () = $ac_func;
13753 return f != $ac_func;
13758 rm -f conftest.
$ac_objext conftest
$ac_exeext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13760 (eval $ac_link) 2>conftest.er1
13762 grep -v '^ *+' conftest.er1
>conftest.err
13764 cat conftest.err
>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; } &&
13773 { ac_try
='test -s conftest$ac_exeext'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 eval "$as_ac_var=yes"
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.
$ac_ext >&5
13784 eval "$as_ac_var=no"
13786 rm -f conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13791 if test `eval echo '${'$as_ac_var'}'` = yes; then
13792 cat >>confdefs.h
<<_ACEOF
13793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13797 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13798 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13799 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13800 echo $ECHO_N "(cached) $ECHO_C" >&6
13802 ac_check_lib_save_LIBS
=$LIBS
13804 cat >conftest.
$ac_ext <<_ACEOF
13807 cat confdefs.h
>>conftest.
$ac_ext
13808 cat >>conftest.
$ac_ext <<_ACEOF
13809 /* end confdefs.h. */
13811 /* Override any gcc2 internal prototype to avoid an error. */
13815 /* We use char because int might match the return type of a gcc2
13816 builtin and then its argument prototype would still apply. */
13826 rm -f conftest.
$ac_objext conftest
$ac_exeext
13827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13828 (eval $ac_link) 2>conftest.er1
13830 grep -v '^ *+' conftest.er1
>conftest.err
13832 cat conftest.err
>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); } &&
13835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; } &&
13841 { ac_try
='test -s conftest$ac_exeext'
13842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13843 (eval $ac_try) 2>&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 (exit $ac_status); }; }; then
13847 ac_cv_lib_dl_dlopen
=yes
13849 echo "$as_me: failed program was:" >&5
13850 sed 's/^/| /' conftest.
$ac_ext >&5
13852 ac_cv_lib_dl_dlopen
=no
13854 rm -f conftest.err conftest.
$ac_objext \
13855 conftest
$ac_exeext conftest.
$ac_ext
13856 LIBS
=$ac_check_lib_save_LIBS
13858 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13859 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13860 if test $ac_cv_lib_dl_dlopen = yes; then
13862 cat >>confdefs.h
<<\_ACEOF
13863 #define HAVE_DLOPEN 1
13881 if test "$LIBEXT" = "so"
13883 DLLFLAGS
="$DLLFLAGS -fPIC"
13885 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13886 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13887 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13888 echo $ECHO_N "(cached) $ECHO_C" >&6
13890 ac_wine_try_cflags_saved
=$CFLAGS
13891 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13892 cat >conftest.
$ac_ext <<_ACEOF
13895 cat confdefs.h
>>conftest.
$ac_ext
13896 cat >>conftest.
$ac_ext <<_ACEOF
13897 /* end confdefs.h. */
13907 rm -f conftest.
$ac_objext conftest
$ac_exeext
13908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13909 (eval $ac_link) 2>conftest.er1
13911 grep -v '^ *+' conftest.er1
>conftest.err
13913 cat conftest.err
>&5
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); } &&
13916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13918 (eval $ac_try) 2>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); }; } &&
13922 { ac_try
='test -s conftest$ac_exeext'
13923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13924 (eval $ac_try) 2>&5
13926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13927 (exit $ac_status); }; }; then
13928 ac_cv_c_dll_gnuelf
="yes"
13930 echo "$as_me: failed program was:" >&5
13931 sed 's/^/| /' conftest.
$ac_ext >&5
13933 ac_cv_c_dll_gnuelf
="no"
13935 rm -f conftest.err conftest.
$ac_objext \
13936 conftest
$ac_exeext conftest.
$ac_ext
13937 CFLAGS
=$ac_wine_try_cflags_saved
13939 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13940 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13941 if test "$ac_cv_c_dll_gnuelf" = "yes"
13943 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13944 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13945 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13946 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13947 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13948 echo $ECHO_N "(cached) $ECHO_C" >&6
13950 ac_wine_try_cflags_saved
=$CFLAGS
13951 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13952 cat >conftest.
$ac_ext <<_ACEOF
13955 cat confdefs.h
>>conftest.
$ac_ext
13956 cat >>conftest.
$ac_ext <<_ACEOF
13957 /* end confdefs.h. */
13967 rm -f conftest.
$ac_objext conftest
$ac_exeext
13968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13969 (eval $ac_link) 2>conftest.er1
13971 grep -v '^ *+' conftest.er1
>conftest.err
13973 cat conftest.err
>&5
13974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13975 (exit $ac_status); } &&
13976 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13978 (eval $ac_try) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); }; } &&
13982 { ac_try
='test -s conftest$ac_exeext'
13983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13984 (eval $ac_try) 2>&5
13986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13987 (exit $ac_status); }; }; then
13988 ac_cv_c_dll_zdefs
="yes"
13990 echo "$as_me: failed program was:" >&5
13991 sed 's/^/| /' conftest.
$ac_ext >&5
13993 ac_cv_c_dll_zdefs
="no"
13995 rm -f conftest.err conftest.
$ac_objext \
13996 conftest
$ac_exeext conftest.
$ac_ext
13997 CFLAGS
=$ac_wine_try_cflags_saved
13999 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14000 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14001 if test "$ac_cv_c_dll_zdefs" = "yes"
14003 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
14006 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14007 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14008 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14009 echo $ECHO_N "(cached) $ECHO_C" >&6
14011 ac_wine_try_cflags_saved
=$CFLAGS
14012 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14013 cat >conftest.
$ac_ext <<_ACEOF
14016 cat confdefs.h
>>conftest.
$ac_ext
14017 cat >>conftest.
$ac_ext <<_ACEOF
14018 /* end confdefs.h. */
14028 rm -f conftest.
$ac_objext conftest
$ac_exeext
14029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14030 (eval $ac_link) 2>conftest.er1
14032 grep -v '^ *+' conftest.er1
>conftest.err
14034 cat conftest.err
>&5
14035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14036 (exit $ac_status); } &&
14037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14039 (eval $ac_try) 2>&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); }; } &&
14043 { ac_try
='test -s conftest$ac_exeext'
14044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14045 (eval $ac_try) 2>&5
14047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14048 (exit $ac_status); }; }; then
14049 ac_cv_c_dll_init_fini
="yes"
14051 echo "$as_me: failed program was:" >&5
14052 sed 's/^/| /' conftest.
$ac_ext >&5
14054 ac_cv_c_dll_init_fini
="no"
14056 rm -f conftest.err conftest.
$ac_objext \
14057 conftest
$ac_exeext conftest.
$ac_ext
14058 CFLAGS
=$ac_wine_try_cflags_saved
14060 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14061 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14062 if test "$ac_cv_c_dll_init_fini" = "yes"
14064 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14067 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14068 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14069 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14070 echo $ECHO_N "(cached) $ECHO_C" >&6
14072 echo '{ global: *; };' >conftest.map
14073 ac_wine_try_cflags_saved
=$CFLAGS
14074 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14075 cat >conftest.
$ac_ext <<_ACEOF
14078 cat confdefs.h
>>conftest.
$ac_ext
14079 cat >>conftest.
$ac_ext <<_ACEOF
14080 /* end confdefs.h. */
14090 rm -f conftest.
$ac_objext conftest
$ac_exeext
14091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14092 (eval $ac_link) 2>conftest.er1
14094 grep -v '^ *+' conftest.er1
>conftest.err
14096 cat conftest.err
>&5
14097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14098 (exit $ac_status); } &&
14099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14101 (eval $ac_try) 2>&5
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }; } &&
14105 { ac_try
='test -s conftest$ac_exeext'
14106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14107 (eval $ac_try) 2>&5
14109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14110 (exit $ac_status); }; }; then
14111 ac_cv_c_ld_version_scripts
="yes"
14113 echo "$as_me: failed program was:" >&5
14114 sed 's/^/| /' conftest.
$ac_ext >&5
14116 ac_cv_c_ld_version_scripts
="no"
14118 rm -f conftest.err conftest.
$ac_objext \
14119 conftest
$ac_exeext conftest.
$ac_ext
14120 CFLAGS
=$ac_wine_try_cflags_saved
14123 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14124 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14125 if test "$ac_cv_c_ld_version_scripts" = "yes"
14127 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14130 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14131 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14132 if test "${ac_cv_c_export_dynamic+set}" = set; then
14133 echo $ECHO_N "(cached) $ECHO_C" >&6
14135 ac_wine_try_cflags_saved
=$CFLAGS
14136 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14137 cat >conftest.
$ac_ext <<_ACEOF
14140 cat confdefs.h
>>conftest.
$ac_ext
14141 cat >>conftest.
$ac_ext <<_ACEOF
14142 /* end confdefs.h. */
14152 rm -f conftest.
$ac_objext conftest
$ac_exeext
14153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14154 (eval $ac_link) 2>conftest.er1
14156 grep -v '^ *+' conftest.er1
>conftest.err
14158 cat conftest.err
>&5
14159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14160 (exit $ac_status); } &&
14161 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14163 (eval $ac_try) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); }; } &&
14167 { ac_try
='test -s conftest$ac_exeext'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; }; then
14173 ac_cv_c_export_dynamic
="yes"
14175 echo "$as_me: failed program was:" >&5
14176 sed 's/^/| /' conftest.
$ac_ext >&5
14178 ac_cv_c_export_dynamic
="no"
14180 rm -f conftest.err conftest.
$ac_objext \
14181 conftest
$ac_exeext conftest.
$ac_ext
14182 CFLAGS
=$ac_wine_try_cflags_saved
14184 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14185 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14186 if test "$ac_cv_c_export_dynamic" = "yes"
14188 LDEXECFLAGS
="-Wl,--export-dynamic"
14194 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
14195 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
14196 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14197 echo $ECHO_N "(cached) $ECHO_C" >&6
14199 saved_CFLAGS
="$CFLAGS"
14200 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x00110400"
14201 if test "$cross_compiling" = yes; then
14202 ac_cv_ld_reloc_exec
="no"
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 #include <unistd.h>
14211 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
14213 rm -f conftest
$ac_exeext
14214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14215 (eval $ac_link) 2>&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14220 (eval $ac_try) 2>&5
14222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14223 (exit $ac_status); }; }; then
14224 ac_cv_ld_reloc_exec
="yes"
14226 echo "$as_me: program exited with status $ac_status" >&5
14227 echo "$as_me: failed program was:" >&5
14228 sed 's/^/| /' conftest.
$ac_ext >&5
14230 ( exit $ac_status )
14231 ac_cv_ld_reloc_exec
="no"
14233 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14235 CFLAGS
="$saved_CFLAGS"
14237 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14238 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14239 if test "$ac_cv_ld_reloc_exec" = "yes"
14241 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
14247 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14248 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14249 if test "${ac_cv_c_dll_unixware+set}" = set; then
14250 echo $ECHO_N "(cached) $ECHO_C" >&6
14252 ac_wine_try_cflags_saved
=$CFLAGS
14253 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14254 cat >conftest.
$ac_ext <<_ACEOF
14257 cat confdefs.h
>>conftest.
$ac_ext
14258 cat >>conftest.
$ac_ext <<_ACEOF
14259 /* end confdefs.h. */
14269 rm -f conftest.
$ac_objext conftest
$ac_exeext
14270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14271 (eval $ac_link) 2>conftest.er1
14273 grep -v '^ *+' conftest.er1
>conftest.err
14275 cat conftest.err
>&5
14276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14277 (exit $ac_status); } &&
14278 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14280 (eval $ac_try) 2>&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); }; } &&
14284 { ac_try
='test -s conftest$ac_exeext'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; }; then
14290 ac_cv_c_dll_unixware
="yes"
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.
$ac_ext >&5
14295 ac_cv_c_dll_unixware
="no"
14297 rm -f conftest.err conftest.
$ac_objext \
14298 conftest
$ac_exeext conftest.
$ac_ext
14299 CFLAGS
=$ac_wine_try_cflags_saved
14301 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14302 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14303 if test "$ac_cv_c_dll_unixware" = "yes"
14305 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14306 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14309 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14310 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14311 if test "${ac_cv_c_dll_macho+set}" = set; then
14312 echo $ECHO_N "(cached) $ECHO_C" >&6
14314 ac_wine_try_cflags_saved
=$CFLAGS
14315 CFLAGS
="$CFLAGS -bundle"
14316 cat >conftest.
$ac_ext <<_ACEOF
14319 cat confdefs.h
>>conftest.
$ac_ext
14320 cat >>conftest.
$ac_ext <<_ACEOF
14321 /* end confdefs.h. */
14331 rm -f conftest.
$ac_objext conftest
$ac_exeext
14332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14333 (eval $ac_link) 2>conftest.er1
14335 grep -v '^ *+' conftest.er1
>conftest.err
14337 cat conftest.err
>&5
14338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14339 (exit $ac_status); } &&
14340 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14342 (eval $ac_try) 2>&5
14344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14345 (exit $ac_status); }; } &&
14346 { ac_try
='test -s conftest$ac_exeext'
14347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14348 (eval $ac_try) 2>&5
14350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14351 (exit $ac_status); }; }; then
14352 ac_cv_c_dll_macho
="yes"
14354 echo "$as_me: failed program was:" >&5
14355 sed 's/^/| /' conftest.
$ac_ext >&5
14357 ac_cv_c_dll_macho
="no"
14359 rm -f conftest.err conftest.
$ac_objext \
14360 conftest
$ac_exeext conftest.
$ac_ext
14361 CFLAGS
=$ac_wine_try_cflags_saved
14363 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14364 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14365 if test "$ac_cv_c_dll_macho" = "yes"
14368 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14369 LDSHARED
="\$(CC) -dynamiclib"
14370 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14378 if test "$cross_compiling" = "no"
14380 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14382 # Extract the first word of "$ac_prog", so it can be a program name with args.
14383 set dummy
$ac_prog; ac_word
=$2
14384 echo "$as_me:$LINENO: checking for $ac_word" >&5
14385 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14386 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14387 echo $ECHO_N "(cached) $ECHO_C" >&6
14389 if test -n "$CROSSCC"; then
14390 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14393 for as_dir
in $PATH
14396 test -z "$as_dir" && as_dir
=.
14397 for ac_exec_ext
in '' $ac_executable_extensions; do
14398 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14399 ac_cv_prog_CROSSCC
="$ac_prog"
14400 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14408 CROSSCC
=$ac_cv_prog_CROSSCC
14409 if test -n "$CROSSCC"; then
14410 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14411 echo "${ECHO_T}$CROSSCC" >&6
14413 echo "$as_me:$LINENO: result: no" >&5
14414 echo "${ECHO_T}no" >&6
14417 test -n "$CROSSCC" && break
14419 test -n "$CROSSCC" || CROSSCC
="false"
14421 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14423 # Extract the first word of "$ac_prog", so it can be a program name with args.
14424 set dummy
$ac_prog; ac_word
=$2
14425 echo "$as_me:$LINENO: checking for $ac_word" >&5
14426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14427 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14428 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 if test -n "$DLLTOOL"; then
14431 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14434 for as_dir
in $PATH
14437 test -z "$as_dir" && as_dir
=.
14438 for ac_exec_ext
in '' $ac_executable_extensions; do
14439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14440 ac_cv_prog_DLLTOOL
="$ac_prog"
14441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14449 DLLTOOL
=$ac_cv_prog_DLLTOOL
14450 if test -n "$DLLTOOL"; then
14451 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14452 echo "${ECHO_T}$DLLTOOL" >&6
14454 echo "$as_me:$LINENO: result: no" >&5
14455 echo "${ECHO_T}no" >&6
14458 test -n "$DLLTOOL" && break
14460 test -n "$DLLTOOL" || DLLTOOL
="false"
14462 for ac_prog
in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14464 # Extract the first word of "$ac_prog", so it can be a program name with args.
14465 set dummy
$ac_prog; ac_word
=$2
14466 echo "$as_me:$LINENO: checking for $ac_word" >&5
14467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14468 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14469 echo $ECHO_N "(cached) $ECHO_C" >&6
14471 if test -n "$CROSSWINDRES"; then
14472 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14474 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14475 for as_dir
in $PATH
14478 test -z "$as_dir" && as_dir
=.
14479 for ac_exec_ext
in '' $ac_executable_extensions; do
14480 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14481 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14490 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14491 if test -n "$CROSSWINDRES"; then
14492 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14493 echo "${ECHO_T}$CROSSWINDRES" >&6
14495 echo "$as_me:$LINENO: result: no" >&5
14496 echo "${ECHO_T}no" >&6
14499 test -n "$CROSSWINDRES" && break
14501 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14503 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14508 if test "$LIBEXT" = "a"; then
14509 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14510 It is currently not possible to build Wine without shared library
14511 (.so) support to allow transparent switch between .so and .dll files.
14512 If you are using Linux, you will need a newer binutils.
14514 echo "$as_me: error: could not find a way to build shared libraries.
14515 It is currently not possible to build Wine without shared library
14516 (.so) support to allow transparent switch between .so and .dll files.
14517 If you are using Linux, you will need a newer binutils.
14519 { (exit 1); exit 1; }; }
14524 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14527 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14530 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14542 WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14544 MAIN_BINARY
="wine-glibc"
14548 WINE_BINARIES
="wine-kthread"
14550 MAIN_BINARY
="wine-kthread"
14556 if test "$LIBEXT" = "so"
14558 # Extract the first word of "ldd", so it can be a program name with args.
14559 set dummy ldd
; ac_word
=$2
14560 echo "$as_me:$LINENO: checking for $ac_word" >&5
14561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14562 if test "${ac_cv_path_LDD+set}" = set; then
14563 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14571 as_dummy
="/sbin:/usr/sbin:$PATH"
14572 for as_dir
in $as_dummy
14575 test -z "$as_dir" && as_dir
=.
14576 for ac_exec_ext
in '' $ac_executable_extensions; do
14577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14578 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14585 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14589 LDD
=$ac_cv_path_LDD
14591 if test -n "$LDD"; then
14592 echo "$as_me:$LINENO: result: $LDD" >&5
14593 echo "${ECHO_T}$LDD" >&6
14595 echo "$as_me:$LINENO: result: no" >&5
14596 echo "${ECHO_T}no" >&6
14600 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14601 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14602 if test "${ac_cv_lib_soname_X11+set}" = set; then
14603 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 ac_get_soname_save_LIBS
=$LIBS
14606 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14607 cat >conftest.
$ac_ext <<_ACEOF
14610 cat confdefs.h
>>conftest.
$ac_ext
14611 cat >>conftest.
$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14614 /* Override any gcc2 internal prototype to avoid an error. */
14618 /* We use char because int might match the return type of a gcc2
14619 builtin and then its argument prototype would still apply. */
14620 char XCreateWindow ();
14629 rm -f conftest.
$ac_objext conftest
$ac_exeext
14630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14631 (eval $ac_link) 2>conftest.er1
14633 grep -v '^ *+' conftest.er1
>conftest.err
14635 cat conftest.err
>&5
14636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14637 (exit $ac_status); } &&
14638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14640 (eval $ac_try) 2>&5
14642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14643 (exit $ac_status); }; } &&
14644 { ac_try
='test -s conftest$ac_exeext'
14645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14646 (eval $ac_try) 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; }; then
14650 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14651 if test "x$ac_cv_lib_soname_X11" = "x"
14653 ac_cv_lib_soname_X11
="libX11.so"
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.
$ac_ext >&5
14659 ac_cv_lib_soname_X11
="libX11.so"
14661 rm -f conftest.err conftest.
$ac_objext \
14662 conftest
$ac_exeext conftest.
$ac_ext
14663 LIBS
=$ac_get_soname_save_LIBS
14665 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14666 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14667 if test "x$ac_cv_lib_soname_X11" != xNONE
14669 cat >>confdefs.h
<<_ACEOF
14670 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14674 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14675 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14676 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14677 echo $ECHO_N "(cached) $ECHO_C" >&6
14679 ac_get_soname_save_LIBS
=$LIBS
14680 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14681 cat >conftest.
$ac_ext <<_ACEOF
14684 cat confdefs.h
>>conftest.
$ac_ext
14685 cat >>conftest.
$ac_ext <<_ACEOF
14686 /* end confdefs.h. */
14688 /* Override any gcc2 internal prototype to avoid an error. */
14692 /* We use char because int might match the return type of a gcc2
14693 builtin and then its argument prototype would still apply. */
14694 char XextCreateExtension ();
14698 XextCreateExtension ();
14703 rm -f conftest.
$ac_objext conftest
$ac_exeext
14704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14705 (eval $ac_link) 2>conftest.er1
14707 grep -v '^ *+' conftest.er1
>conftest.err
14709 cat conftest.err
>&5
14710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14711 (exit $ac_status); } &&
14712 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14714 (eval $ac_try) 2>&5
14716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14717 (exit $ac_status); }; } &&
14718 { ac_try
='test -s conftest$ac_exeext'
14719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14720 (eval $ac_try) 2>&5
14722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14723 (exit $ac_status); }; }; then
14724 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14725 if test "x$ac_cv_lib_soname_Xext" = "x"
14727 ac_cv_lib_soname_Xext
="libXext.so"
14730 echo "$as_me: failed program was:" >&5
14731 sed 's/^/| /' conftest.
$ac_ext >&5
14733 ac_cv_lib_soname_Xext
="libXext.so"
14735 rm -f conftest.err conftest.
$ac_objext \
14736 conftest
$ac_exeext conftest.
$ac_ext
14737 LIBS
=$ac_get_soname_save_LIBS
14739 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14740 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14741 if test "x$ac_cv_lib_soname_Xext" != xNONE
14743 cat >>confdefs.h
<<_ACEOF
14744 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14748 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14749 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14750 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14751 echo $ECHO_N "(cached) $ECHO_C" >&6
14753 ac_get_soname_save_LIBS
=$LIBS
14754 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14755 cat >conftest.
$ac_ext <<_ACEOF
14758 cat confdefs.h
>>conftest.
$ac_ext
14759 cat >>conftest.
$ac_ext <<_ACEOF
14760 /* end confdefs.h. */
14762 /* Override any gcc2 internal prototype to avoid an error. */
14766 /* We use char because int might match the return type of a gcc2
14767 builtin and then its argument prototype would still apply. */
14768 char XOpenDevice ();
14777 rm -f conftest.
$ac_objext conftest
$ac_exeext
14778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14779 (eval $ac_link) 2>conftest.er1
14781 grep -v '^ *+' conftest.er1
>conftest.err
14783 cat conftest.err
>&5
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); } &&
14786 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; } &&
14792 { ac_try
='test -s conftest$ac_exeext'
14793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14794 (eval $ac_try) 2>&5
14796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14797 (exit $ac_status); }; }; then
14798 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14799 if test "x$ac_cv_lib_soname_Xi" = "x"
14801 ac_cv_lib_soname_Xi
="libXi.so"
14804 echo "$as_me: failed program was:" >&5
14805 sed 's/^/| /' conftest.
$ac_ext >&5
14807 ac_cv_lib_soname_Xi
="libXi.so"
14809 rm -f conftest.err conftest.
$ac_objext \
14810 conftest
$ac_exeext conftest.
$ac_ext
14811 LIBS
=$ac_get_soname_save_LIBS
14813 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14814 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14815 if test "x$ac_cv_lib_soname_Xi" != xNONE
14817 cat >>confdefs.h
<<_ACEOF
14818 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14822 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14823 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14824 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14825 echo $ECHO_N "(cached) $ECHO_C" >&6
14827 ac_get_soname_save_LIBS
=$LIBS
14828 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14829 cat >conftest.
$ac_ext <<_ACEOF
14832 cat confdefs.h
>>conftest.
$ac_ext
14833 cat >>conftest.
$ac_ext <<_ACEOF
14834 /* end confdefs.h. */
14836 /* Override any gcc2 internal prototype to avoid an error. */
14840 /* We use char because int might match the return type of a gcc2
14841 builtin and then its argument prototype would still apply. */
14842 char XRenderQueryExtension ();
14846 XRenderQueryExtension ();
14851 rm -f conftest.
$ac_objext conftest
$ac_exeext
14852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14853 (eval $ac_link) 2>conftest.er1
14855 grep -v '^ *+' conftest.er1
>conftest.err
14857 cat conftest.err
>&5
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); } &&
14860 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try
='test -s conftest$ac_exeext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14873 if test "x$ac_cv_lib_soname_Xrender" = "x"
14875 ac_cv_lib_soname_Xrender
="libXrender.so"
14878 echo "$as_me: failed program was:" >&5
14879 sed 's/^/| /' conftest.
$ac_ext >&5
14881 ac_cv_lib_soname_Xrender
="libXrender.so"
14883 rm -f conftest.err conftest.
$ac_objext \
14884 conftest
$ac_exeext conftest.
$ac_ext
14885 LIBS
=$ac_get_soname_save_LIBS
14887 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14888 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14889 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14891 cat >>confdefs.h
<<_ACEOF
14892 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14896 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14897 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14898 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14899 echo $ECHO_N "(cached) $ECHO_C" >&6
14901 ac_get_soname_save_LIBS
=$LIBS
14902 LIBS
="-lfreetype $X_LIBS $LIBS"
14903 cat >conftest.
$ac_ext <<_ACEOF
14906 cat confdefs.h
>>conftest.
$ac_ext
14907 cat >>conftest.
$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14910 /* Override any gcc2 internal prototype to avoid an error. */
14914 /* We use char because int might match the return type of a gcc2
14915 builtin and then its argument prototype would still apply. */
14916 char FT_Init_FreeType ();
14920 FT_Init_FreeType ();
14925 rm -f conftest.
$ac_objext conftest
$ac_exeext
14926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14927 (eval $ac_link) 2>conftest.er1
14929 grep -v '^ *+' conftest.er1
>conftest.err
14931 cat conftest.err
>&5
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); } &&
14934 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; } &&
14940 { ac_try
='test -s conftest$ac_exeext'
14941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14942 (eval $ac_try) 2>&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); }; }; then
14946 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
14947 if test "x$ac_cv_lib_soname_freetype" = "x"
14949 ac_cv_lib_soname_freetype
="libfreetype.so"
14952 echo "$as_me: failed program was:" >&5
14953 sed 's/^/| /' conftest.
$ac_ext >&5
14955 ac_cv_lib_soname_freetype
="libfreetype.so"
14957 rm -f conftest.err conftest.
$ac_objext \
14958 conftest
$ac_exeext conftest.
$ac_ext
14959 LIBS
=$ac_get_soname_save_LIBS
14961 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14962 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14963 if test "x$ac_cv_lib_soname_freetype" != xNONE
14965 cat >>confdefs.h
<<_ACEOF
14966 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14970 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14971 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14972 if test "${ac_cv_lib_soname_GL+set}" = set; then
14973 echo $ECHO_N "(cached) $ECHO_C" >&6
14975 ac_get_soname_save_LIBS
=$LIBS
14976 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14977 cat >conftest.
$ac_ext <<_ACEOF
14980 cat confdefs.h
>>conftest.
$ac_ext
14981 cat >>conftest.
$ac_ext <<_ACEOF
14982 /* end confdefs.h. */
14984 /* Override any gcc2 internal prototype to avoid an error. */
14988 /* We use char because int might match the return type of a gcc2
14989 builtin and then its argument prototype would still apply. */
14990 char glXQueryExtension ();
14994 glXQueryExtension ();
14999 rm -f conftest.
$ac_objext conftest
$ac_exeext
15000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15001 (eval $ac_link) 2>conftest.er1
15003 grep -v '^ *+' conftest.er1
>conftest.err
15005 cat conftest.err
>&5
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); } &&
15008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15010 (eval $ac_try) 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try
='test -s conftest$ac_exeext'
15015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15016 (eval $ac_try) 2>&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); }; }; then
15020 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
15021 if test "x$ac_cv_lib_soname_GL" = "x"
15023 ac_cv_lib_soname_GL
="libGL.so"
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.
$ac_ext >&5
15029 ac_cv_lib_soname_GL
="libGL.so"
15031 rm -f conftest.err conftest.
$ac_objext \
15032 conftest
$ac_exeext conftest.
$ac_ext
15033 LIBS
=$ac_get_soname_save_LIBS
15035 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15036 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15037 if test "x$ac_cv_lib_soname_GL" != xNONE
15039 cat >>confdefs.h
<<_ACEOF
15040 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15044 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15045 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15046 if test "${ac_cv_lib_soname_cups+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15049 ac_get_soname_save_LIBS
=$LIBS
15050 LIBS
="-lcups $LIBS"
15051 cat >conftest.
$ac_ext <<_ACEOF
15054 cat confdefs.h
>>conftest.
$ac_ext
15055 cat >>conftest.
$ac_ext <<_ACEOF
15056 /* end confdefs.h. */
15058 /* Override any gcc2 internal prototype to avoid an error. */
15062 /* We use char because int might match the return type of a gcc2
15063 builtin and then its argument prototype would still apply. */
15064 char cupsGetDefault ();
15073 rm -f conftest.
$ac_objext conftest
$ac_exeext
15074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15075 (eval $ac_link) 2>conftest.er1
15077 grep -v '^ *+' conftest.er1
>conftest.err
15079 cat conftest.err
>&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } &&
15082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15084 (eval $ac_try) 2>&5
15086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15087 (exit $ac_status); }; } &&
15088 { ac_try
='test -s conftest$ac_exeext'
15089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15090 (eval $ac_try) 2>&5
15092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15093 (exit $ac_status); }; }; then
15094 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
15095 if test "x$ac_cv_lib_soname_cups" = "x"
15097 ac_cv_lib_soname_cups
="libcups.so"
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.
$ac_ext >&5
15103 ac_cv_lib_soname_cups
="libcups.so"
15105 rm -f conftest.err conftest.
$ac_objext \
15106 conftest
$ac_exeext conftest.
$ac_ext
15107 LIBS
=$ac_get_soname_save_LIBS
15109 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15110 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15111 if test "x$ac_cv_lib_soname_cups" != xNONE
15113 cat >>confdefs.h
<<_ACEOF
15114 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15118 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15119 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15120 if test "${ac_cv_lib_soname_jack+set}" = set; then
15121 echo $ECHO_N "(cached) $ECHO_C" >&6
15123 ac_get_soname_save_LIBS
=$LIBS
15124 LIBS
="-ljack $LIBS"
15125 cat >conftest.
$ac_ext <<_ACEOF
15128 cat confdefs.h
>>conftest.
$ac_ext
15129 cat >>conftest.
$ac_ext <<_ACEOF
15130 /* end confdefs.h. */
15132 /* Override any gcc2 internal prototype to avoid an error. */
15136 /* We use char because int might match the return type of a gcc2
15137 builtin and then its argument prototype would still apply. */
15138 char jack_client_new ();
15142 jack_client_new ();
15147 rm -f conftest.
$ac_objext conftest
$ac_exeext
15148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15149 (eval $ac_link) 2>conftest.er1
15151 grep -v '^ *+' conftest.er1
>conftest.err
15153 cat conftest.err
>&5
15154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15155 (exit $ac_status); } &&
15156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15158 (eval $ac_try) 2>&5
15160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15161 (exit $ac_status); }; } &&
15162 { ac_try
='test -s conftest$ac_exeext'
15163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15164 (eval $ac_try) 2>&5
15166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15167 (exit $ac_status); }; }; then
15168 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
15169 if test "x$ac_cv_lib_soname_jack" = "x"
15171 ac_cv_lib_soname_jack
="libjack.so"
15174 echo "$as_me: failed program was:" >&5
15175 sed 's/^/| /' conftest.
$ac_ext >&5
15177 ac_cv_lib_soname_jack
="libjack.so"
15179 rm -f conftest.err conftest.
$ac_objext \
15180 conftest
$ac_exeext conftest.
$ac_ext
15181 LIBS
=$ac_get_soname_save_LIBS
15183 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15184 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15185 if test "x$ac_cv_lib_soname_jack" != xNONE
15187 cat >>confdefs.h
<<_ACEOF
15188 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15192 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15193 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15194 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15195 echo $ECHO_N "(cached) $ECHO_C" >&6
15197 ac_get_soname_save_LIBS
=$LIBS
15198 LIBS
="-lfontconfig $LIBS"
15199 cat >conftest.
$ac_ext <<_ACEOF
15202 cat confdefs.h
>>conftest.
$ac_ext
15203 cat >>conftest.
$ac_ext <<_ACEOF
15204 /* end confdefs.h. */
15206 /* Override any gcc2 internal prototype to avoid an error. */
15210 /* We use char because int might match the return type of a gcc2
15211 builtin and then its argument prototype would still apply. */
15221 rm -f conftest.
$ac_objext conftest
$ac_exeext
15222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15223 (eval $ac_link) 2>conftest.er1
15225 grep -v '^ *+' conftest.er1
>conftest.err
15227 cat conftest.err
>&5
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); } &&
15230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15232 (eval $ac_try) 2>&5
15234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15235 (exit $ac_status); }; } &&
15236 { ac_try
='test -s conftest$ac_exeext'
15237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15238 (eval $ac_try) 2>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); }; }; then
15242 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
15243 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15245 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15248 echo "$as_me: failed program was:" >&5
15249 sed 's/^/| /' conftest.
$ac_ext >&5
15251 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15253 rm -f conftest.err conftest.
$ac_objext \
15254 conftest
$ac_exeext conftest.
$ac_ext
15255 LIBS
=$ac_get_soname_save_LIBS
15257 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15258 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15259 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15261 cat >>confdefs.h
<<_ACEOF
15262 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15266 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15267 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15268 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15269 echo $ECHO_N "(cached) $ECHO_C" >&6
15271 ac_get_soname_save_LIBS
=$LIBS
15273 cat >conftest.
$ac_ext <<_ACEOF
15276 cat confdefs.h
>>conftest.
$ac_ext
15277 cat >>conftest.
$ac_ext <<_ACEOF
15278 /* end confdefs.h. */
15280 /* Override any gcc2 internal prototype to avoid an error. */
15284 /* We use char because int might match the return type of a gcc2
15285 builtin and then its argument prototype would still apply. */
15286 char SSL_library_init ();
15290 SSL_library_init ();
15295 rm -f conftest.
$ac_objext conftest
$ac_exeext
15296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15297 (eval $ac_link) 2>conftest.er1
15299 grep -v '^ *+' conftest.er1
>conftest.err
15301 cat conftest.err
>&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } &&
15304 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15306 (eval $ac_try) 2>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); }; } &&
15310 { ac_try
='test -s conftest$ac_exeext'
15311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15312 (eval $ac_try) 2>&5
15314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15315 (exit $ac_status); }; }; then
15316 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
15317 if test "x$ac_cv_lib_soname_ssl" = "x"
15319 ac_cv_lib_soname_ssl
="libssl.so"
15322 echo "$as_me: failed program was:" >&5
15323 sed 's/^/| /' conftest.
$ac_ext >&5
15325 ac_cv_lib_soname_ssl
="libssl.so"
15327 rm -f conftest.err conftest.
$ac_objext \
15328 conftest
$ac_exeext conftest.
$ac_ext
15329 LIBS
=$ac_get_soname_save_LIBS
15331 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15332 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15333 if test "x$ac_cv_lib_soname_ssl" != xNONE
15335 cat >>confdefs.h
<<_ACEOF
15336 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15340 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15341 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15342 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15343 echo $ECHO_N "(cached) $ECHO_C" >&6
15345 ac_get_soname_save_LIBS
=$LIBS
15346 LIBS
="-lcrypto $LIBS"
15347 cat >conftest.
$ac_ext <<_ACEOF
15350 cat confdefs.h
>>conftest.
$ac_ext
15351 cat >>conftest.
$ac_ext <<_ACEOF
15352 /* end confdefs.h. */
15354 /* Override any gcc2 internal prototype to avoid an error. */
15358 /* We use char because int might match the return type of a gcc2
15359 builtin and then its argument prototype would still apply. */
15360 char BIO_new_socket ();
15369 rm -f conftest.
$ac_objext conftest
$ac_exeext
15370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15371 (eval $ac_link) 2>conftest.er1
15373 grep -v '^ *+' conftest.er1
>conftest.err
15375 cat conftest.err
>&5
15376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15377 (exit $ac_status); } &&
15378 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15380 (eval $ac_try) 2>&5
15382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15383 (exit $ac_status); }; } &&
15384 { ac_try
='test -s conftest$ac_exeext'
15385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15386 (eval $ac_try) 2>&5
15388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15389 (exit $ac_status); }; }; then
15390 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
15391 if test "x$ac_cv_lib_soname_crypto" = "x"
15393 ac_cv_lib_soname_crypto
="libcrypto.so"
15396 echo "$as_me: failed program was:" >&5
15397 sed 's/^/| /' conftest.
$ac_ext >&5
15399 ac_cv_lib_soname_crypto
="libcrypto.so"
15401 rm -f conftest.err conftest.
$ac_objext \
15402 conftest
$ac_exeext conftest.
$ac_ext
15403 LIBS
=$ac_get_soname_save_LIBS
15405 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15406 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15407 if test "x$ac_cv_lib_soname_crypto" != xNONE
15409 cat >>confdefs.h
<<_ACEOF
15410 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15414 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15415 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15416 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15417 echo $ECHO_N "(cached) $ECHO_C" >&6
15419 ac_get_soname_save_LIBS
=$LIBS
15420 LIBS
="-lncurses $LIBS"
15421 cat >conftest.
$ac_ext <<_ACEOF
15424 cat confdefs.h
>>conftest.
$ac_ext
15425 cat >>conftest.
$ac_ext <<_ACEOF
15426 /* end confdefs.h. */
15428 /* Override any gcc2 internal prototype to avoid an error. */
15432 /* We use char because int might match the return type of a gcc2
15433 builtin and then its argument prototype would still apply. */
15443 rm -f conftest.
$ac_objext conftest
$ac_exeext
15444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15445 (eval $ac_link) 2>conftest.er1
15447 grep -v '^ *+' conftest.er1
>conftest.err
15449 cat conftest.err
>&5
15450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15451 (exit $ac_status); } &&
15452 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15454 (eval $ac_try) 2>&5
15456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15457 (exit $ac_status); }; } &&
15458 { ac_try
='test -s conftest$ac_exeext'
15459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15460 (eval $ac_try) 2>&5
15462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15463 (exit $ac_status); }; }; then
15464 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15465 if test "x$ac_cv_lib_soname_ncurses" = "x"
15467 ac_cv_lib_soname_ncurses
="libncurses.so"
15470 echo "$as_me: failed program was:" >&5
15471 sed 's/^/| /' conftest.
$ac_ext >&5
15473 ac_cv_lib_soname_ncurses
="libncurses.so"
15475 rm -f conftest.err conftest.
$ac_objext \
15476 conftest
$ac_exeext conftest.
$ac_ext
15477 LIBS
=$ac_get_soname_save_LIBS
15479 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15480 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15481 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15483 cat >>confdefs.h
<<_ACEOF
15484 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15488 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15489 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15490 if test "${ac_cv_lib_soname_curses+set}" = set; then
15491 echo $ECHO_N "(cached) $ECHO_C" >&6
15493 ac_get_soname_save_LIBS
=$LIBS
15494 LIBS
="-lcurses $LIBS"
15495 cat >conftest.
$ac_ext <<_ACEOF
15498 cat confdefs.h
>>conftest.
$ac_ext
15499 cat >>conftest.
$ac_ext <<_ACEOF
15500 /* end confdefs.h. */
15502 /* Override any gcc2 internal prototype to avoid an error. */
15506 /* We use char because int might match the return type of a gcc2
15507 builtin and then its argument prototype would still apply. */
15517 rm -f conftest.
$ac_objext conftest
$ac_exeext
15518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15519 (eval $ac_link) 2>conftest.er1
15521 grep -v '^ *+' conftest.er1
>conftest.err
15523 cat conftest.err
>&5
15524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15525 (exit $ac_status); } &&
15526 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15528 (eval $ac_try) 2>&5
15530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15531 (exit $ac_status); }; } &&
15532 { ac_try
='test -s conftest$ac_exeext'
15533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15534 (eval $ac_try) 2>&5
15536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15537 (exit $ac_status); }; }; then
15538 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15539 if test "x$ac_cv_lib_soname_curses" = "x"
15541 ac_cv_lib_soname_curses
="libcurses.so"
15544 echo "$as_me: failed program was:" >&5
15545 sed 's/^/| /' conftest.
$ac_ext >&5
15547 ac_cv_lib_soname_curses
="libcurses.so"
15549 rm -f conftest.err conftest.
$ac_objext \
15550 conftest
$ac_exeext conftest.
$ac_ext
15551 LIBS
=$ac_get_soname_save_LIBS
15553 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15554 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15555 if test "x$ac_cv_lib_soname_curses" != xNONE
15557 cat >>confdefs.h
<<_ACEOF
15558 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15565 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15566 # for constant arguments. Useless!
15567 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15568 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15569 if test "${ac_cv_working_alloca_h+set}" = set; then
15570 echo $ECHO_N "(cached) $ECHO_C" >&6
15572 cat >conftest.
$ac_ext <<_ACEOF
15575 cat confdefs.h
>>conftest.
$ac_ext
15576 cat >>conftest.
$ac_ext <<_ACEOF
15577 /* end confdefs.h. */
15578 #include <alloca.h>
15582 char *p = (char *) alloca (2 * sizeof (int));
15587 rm -f conftest.
$ac_objext conftest
$ac_exeext
15588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15589 (eval $ac_link) 2>conftest.er1
15591 grep -v '^ *+' conftest.er1
>conftest.err
15593 cat conftest.err
>&5
15594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15595 (exit $ac_status); } &&
15596 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15598 (eval $ac_try) 2>&5
15600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15601 (exit $ac_status); }; } &&
15602 { ac_try
='test -s conftest$ac_exeext'
15603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15604 (eval $ac_try) 2>&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); }; }; then
15608 ac_cv_working_alloca_h
=yes
15610 echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.
$ac_ext >&5
15613 ac_cv_working_alloca_h
=no
15615 rm -f conftest.err conftest.
$ac_objext \
15616 conftest
$ac_exeext conftest.
$ac_ext
15618 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15619 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15620 if test $ac_cv_working_alloca_h = yes; then
15622 cat >>confdefs.h
<<\_ACEOF
15623 #define HAVE_ALLOCA_H 1
15628 echo "$as_me:$LINENO: checking for alloca" >&5
15629 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15630 if test "${ac_cv_func_alloca_works+set}" = set; then
15631 echo $ECHO_N "(cached) $ECHO_C" >&6
15633 cat >conftest.
$ac_ext <<_ACEOF
15636 cat confdefs.h
>>conftest.
$ac_ext
15637 cat >>conftest.
$ac_ext <<_ACEOF
15638 /* end confdefs.h. */
15640 # define alloca __builtin_alloca
15643 # include <malloc.h>
15644 # define alloca _alloca
15647 # include <alloca.h>
15652 # ifndef alloca /* predefined by HP cc +Olibcalls */
15663 char *p = (char *) alloca (1);
15668 rm -f conftest.
$ac_objext conftest
$ac_exeext
15669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15670 (eval $ac_link) 2>conftest.er1
15672 grep -v '^ *+' conftest.er1
>conftest.err
15674 cat conftest.err
>&5
15675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15676 (exit $ac_status); } &&
15677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15679 (eval $ac_try) 2>&5
15681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15682 (exit $ac_status); }; } &&
15683 { ac_try
='test -s conftest$ac_exeext'
15684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15685 (eval $ac_try) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); }; }; then
15689 ac_cv_func_alloca_works
=yes
15691 echo "$as_me: failed program was:" >&5
15692 sed 's/^/| /' conftest.
$ac_ext >&5
15694 ac_cv_func_alloca_works
=no
15696 rm -f conftest.err conftest.
$ac_objext \
15697 conftest
$ac_exeext conftest.
$ac_ext
15699 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15700 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15702 if test $ac_cv_func_alloca_works = yes; then
15704 cat >>confdefs.h
<<\_ACEOF
15705 #define HAVE_ALLOCA 1
15709 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15710 # that cause trouble. Some versions do not even contain alloca or
15711 # contain a buggy version. If you still want to use their alloca,
15712 # use ar to extract alloca.o from them instead of compiling alloca.c.
15714 ALLOCA
=alloca.
$ac_objext
15716 cat >>confdefs.h
<<\_ACEOF
15721 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15722 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15723 if test "${ac_cv_os_cray+set}" = set; then
15724 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 cat >conftest.
$ac_ext <<_ACEOF
15729 cat confdefs.h
>>conftest.
$ac_ext
15730 cat >>conftest.
$ac_ext <<_ACEOF
15731 /* end confdefs.h. */
15732 #if defined(CRAY) && ! defined(CRAY2)
15739 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15740 $EGREP "webecray" >/dev
/null
2>&1; then
15748 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15749 echo "${ECHO_T}$ac_cv_os_cray" >&6
15750 if test $ac_cv_os_cray = yes; then
15751 for ac_func
in _getb67 GETB67 getb67
; do
15752 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15753 echo "$as_me:$LINENO: checking for $ac_func" >&5
15754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15755 if eval "test \"\${$as_ac_var+set}\" = set"; then
15756 echo $ECHO_N "(cached) $ECHO_C" >&6
15758 cat >conftest.
$ac_ext <<_ACEOF
15761 cat confdefs.h
>>conftest.
$ac_ext
15762 cat >>conftest.
$ac_ext <<_ACEOF
15763 /* end confdefs.h. */
15764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15766 #define $ac_func innocuous_$ac_func
15768 /* System header to define __stub macros and hopefully few prototypes,
15769 which can conflict with char $ac_func (); below.
15770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15771 <limits.h> exists even on freestanding compilers. */
15774 # include <limits.h>
15776 # include <assert.h>
15781 /* Override any gcc2 internal prototype to avoid an error. */
15786 /* We use char because int might match the return type of a gcc2
15787 builtin and then its argument prototype would still apply. */
15789 /* The GNU C library defines this for functions which it implements
15790 to always fail with ENOSYS. Some functions are actually named
15791 something starting with __ and the normal name is an alias. */
15792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15795 char (*f) () = $ac_func;
15804 return f != $ac_func;
15809 rm -f conftest.
$ac_objext conftest
$ac_exeext
15810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15811 (eval $ac_link) 2>conftest.er1
15813 grep -v '^ *+' conftest.er1
>conftest.err
15815 cat conftest.err
>&5
15816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15817 (exit $ac_status); } &&
15818 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15820 (eval $ac_try) 2>&5
15822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15823 (exit $ac_status); }; } &&
15824 { ac_try
='test -s conftest$ac_exeext'
15825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15826 (eval $ac_try) 2>&5
15828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15829 (exit $ac_status); }; }; then
15830 eval "$as_ac_var=yes"
15832 echo "$as_me: failed program was:" >&5
15833 sed 's/^/| /' conftest.
$ac_ext >&5
15835 eval "$as_ac_var=no"
15837 rm -f conftest.err conftest.
$ac_objext \
15838 conftest
$ac_exeext conftest.
$ac_ext
15840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15842 if test `eval echo '${'$as_ac_var'}'` = yes; then
15844 cat >>confdefs.h
<<_ACEOF
15845 #define CRAY_STACKSEG_END $ac_func
15854 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15855 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15856 if test "${ac_cv_c_stack_direction+set}" = set; then
15857 echo $ECHO_N "(cached) $ECHO_C" >&6
15859 if test "$cross_compiling" = yes; then
15860 ac_cv_c_stack_direction
=0
15862 cat >conftest.
$ac_ext <<_ACEOF
15865 cat confdefs.h
>>conftest.
$ac_ext
15866 cat >>conftest.
$ac_ext <<_ACEOF
15867 /* end confdefs.h. */
15869 find_stack_direction ()
15871 static char *addr = 0;
15876 return find_stack_direction ();
15879 return (&dummy > addr) ? 1 : -1;
15885 exit (find_stack_direction () < 0);
15888 rm -f conftest
$ac_exeext
15889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15890 (eval $ac_link) 2>&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15895 (eval $ac_try) 2>&5
15897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15898 (exit $ac_status); }; }; then
15899 ac_cv_c_stack_direction
=1
15901 echo "$as_me: program exited with status $ac_status" >&5
15902 echo "$as_me: failed program was:" >&5
15903 sed 's/^/| /' conftest.
$ac_ext >&5
15905 ( exit $ac_status )
15906 ac_cv_c_stack_direction
=-1
15908 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15911 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15912 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15914 cat >>confdefs.h
<<_ACEOF
15915 #define STACK_DIRECTION $ac_cv_c_stack_direction
16032 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16033 echo "$as_me:$LINENO: checking for $ac_func" >&5
16034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16035 if eval "test \"\${$as_ac_var+set}\" = set"; then
16036 echo $ECHO_N "(cached) $ECHO_C" >&6
16038 cat >conftest.
$ac_ext <<_ACEOF
16041 cat confdefs.h
>>conftest.
$ac_ext
16042 cat >>conftest.
$ac_ext <<_ACEOF
16043 /* end confdefs.h. */
16044 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16045 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16046 #define $ac_func innocuous_$ac_func
16048 /* System header to define __stub macros and hopefully few prototypes,
16049 which can conflict with char $ac_func (); below.
16050 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16051 <limits.h> exists even on freestanding compilers. */
16054 # include <limits.h>
16056 # include <assert.h>
16061 /* Override any gcc2 internal prototype to avoid an error. */
16066 /* We use char because int might match the return type of a gcc2
16067 builtin and then its argument prototype would still apply. */
16069 /* The GNU C library defines this for functions which it implements
16070 to always fail with ENOSYS. Some functions are actually named
16071 something starting with __ and the normal name is an alias. */
16072 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16075 char (*f) () = $ac_func;
16084 return f != $ac_func;
16089 rm -f conftest.
$ac_objext conftest
$ac_exeext
16090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16091 (eval $ac_link) 2>conftest.er1
16093 grep -v '^ *+' conftest.er1
>conftest.err
16095 cat conftest.err
>&5
16096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16097 (exit $ac_status); } &&
16098 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16100 (eval $ac_try) 2>&5
16102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16103 (exit $ac_status); }; } &&
16104 { ac_try
='test -s conftest$ac_exeext'
16105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16106 (eval $ac_try) 2>&5
16108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16109 (exit $ac_status); }; }; then
16110 eval "$as_ac_var=yes"
16112 echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.
$ac_ext >&5
16115 eval "$as_ac_var=no"
16117 rm -f conftest.err conftest.
$ac_objext \
16118 conftest
$ac_exeext conftest.
$ac_ext
16120 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16121 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16122 if test `eval echo '${'$as_ac_var'}'` = yes; then
16123 cat >>confdefs.h
<<_ACEOF
16124 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16223 fontconfig
/fontconfig.h \
16243 netinet
/in_systm.h \
16245 netinet
/tcp_fsm.h \
16255 scsi
/scsi_ioctl.h \
16300 valgrind
/memcheck.h
16303 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16305 echo "$as_me:$LINENO: checking for $ac_header" >&5
16306 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16307 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16308 echo $ECHO_N "(cached) $ECHO_C" >&6
16310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16313 # Is the header compilable?
16314 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16315 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16316 cat >conftest.
$ac_ext <<_ACEOF
16319 cat confdefs.h
>>conftest.
$ac_ext
16320 cat >>conftest.
$ac_ext <<_ACEOF
16321 /* end confdefs.h. */
16322 $ac_includes_default
16323 #include <$ac_header>
16325 rm -f conftest.
$ac_objext
16326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16327 (eval $ac_compile) 2>conftest.er1
16329 grep -v '^ *+' conftest.er1
>conftest.err
16331 cat conftest.err
>&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); } &&
16334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16336 (eval $ac_try) 2>&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); }; } &&
16340 { ac_try
='test -s conftest.$ac_objext'
16341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16342 (eval $ac_try) 2>&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); }; }; then
16346 ac_header_compiler
=yes
16348 echo "$as_me: failed program was:" >&5
16349 sed 's/^/| /' conftest.
$ac_ext >&5
16351 ac_header_compiler
=no
16353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16355 echo "${ECHO_T}$ac_header_compiler" >&6
16357 # Is the header present?
16358 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16360 cat >conftest.
$ac_ext <<_ACEOF
16363 cat confdefs.h
>>conftest.
$ac_ext
16364 cat >>conftest.
$ac_ext <<_ACEOF
16365 /* end confdefs.h. */
16366 #include <$ac_header>
16368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16369 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16371 grep -v '^ *+' conftest.er1
>conftest.err
16373 cat conftest.err
>&5
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); } >/dev
/null
; then
16376 if test -s conftest.err
; then
16377 ac_cpp_err
=$ac_c_preproc_warn_flag
16378 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16385 if test -z "$ac_cpp_err"; then
16386 ac_header_preproc
=yes
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.
$ac_ext >&5
16391 ac_header_preproc
=no
16393 rm -f conftest.err conftest.
$ac_ext
16394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16395 echo "${ECHO_T}$ac_header_preproc" >&6
16397 # So? What about this header?
16398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16400 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16401 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16402 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16403 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16404 ac_header_preproc
=yes
16407 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16408 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16409 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16410 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16411 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16412 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16413 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16414 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16415 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16416 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16417 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16418 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16421 ## ------------------------------------ ##
16422 ## Report this to wine-devel@winehq.org ##
16423 ## ------------------------------------ ##
16426 sed "s/^/$as_me: WARNING: /" >&2
16429 echo "$as_me:$LINENO: checking for $ac_header" >&5
16430 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16432 echo $ECHO_N "(cached) $ECHO_C" >&6
16434 eval "$as_ac_Header=\$ac_header_preproc"
16436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16437 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16440 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16441 cat >>confdefs.h
<<_ACEOF
16442 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16449 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16450 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16451 if test "${ac_cv_header_stat_broken+set}" = set; then
16452 echo $ECHO_N "(cached) $ECHO_C" >&6
16454 cat >conftest.
$ac_ext <<_ACEOF
16457 cat confdefs.h
>>conftest.
$ac_ext
16458 cat >>conftest.
$ac_ext <<_ACEOF
16459 /* end confdefs.h. */
16460 #include <sys/types.h>
16461 #include <sys/stat.h>
16463 #if defined(S_ISBLK) && defined(S_IFDIR)
16464 # if S_ISBLK (S_IFDIR)
16469 #if defined(S_ISBLK) && defined(S_IFCHR)
16470 # if S_ISBLK (S_IFCHR)
16475 #if defined(S_ISLNK) && defined(S_IFREG)
16476 # if S_ISLNK (S_IFREG)
16481 #if defined(S_ISSOCK) && defined(S_IFREG)
16482 # if S_ISSOCK (S_IFREG)
16488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16489 $EGREP "You lose" >/dev
/null
2>&1; then
16490 ac_cv_header_stat_broken
=yes
16492 ac_cv_header_stat_broken
=no
16497 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16498 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16499 if test $ac_cv_header_stat_broken = yes; then
16501 cat >>confdefs.h
<<\_ACEOF
16502 #define STAT_MACROS_BROKEN 1
16511 for ac_header
in sys
/mount.h sys
/user.h
16513 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16514 echo "$as_me:$LINENO: checking for $ac_header" >&5
16515 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16517 echo $ECHO_N "(cached) $ECHO_C" >&6
16519 cat >conftest.
$ac_ext <<_ACEOF
16522 cat confdefs.h
>>conftest.
$ac_ext
16523 cat >>conftest.
$ac_ext <<_ACEOF
16524 /* end confdefs.h. */
16525 #include <sys/types.h>
16526 #if HAVE_SYS_PARAM_H
16527 # include <sys/param.h>
16530 #include <$ac_header>
16532 rm -f conftest.
$ac_objext
16533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16534 (eval $ac_compile) 2>conftest.er1
16536 grep -v '^ *+' conftest.er1
>conftest.err
16538 cat conftest.err
>&5
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); } &&
16541 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16543 (eval $ac_try) 2>&5
16545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16546 (exit $ac_status); }; } &&
16547 { ac_try
='test -s conftest.$ac_objext'
16548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16549 (eval $ac_try) 2>&5
16551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16552 (exit $ac_status); }; }; then
16553 eval "$as_ac_Header=yes"
16555 echo "$as_me: failed program was:" >&5
16556 sed 's/^/| /' conftest.
$ac_ext >&5
16558 eval "$as_ac_Header=no"
16560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16565 cat >>confdefs.h
<<_ACEOF
16566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16579 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16581 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16582 echo "$as_me:$LINENO: checking for $ac_header" >&5
16583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16585 echo $ECHO_N "(cached) $ECHO_C" >&6
16587 cat >conftest.
$ac_ext <<_ACEOF
16590 cat confdefs.h
>>conftest.
$ac_ext
16591 cat >>conftest.
$ac_ext <<_ACEOF
16592 /* end confdefs.h. */
16593 #include <sys/types.h>
16594 #if HAVE_SYS_SOCKET_H
16595 # include <sys/socket.h>
16598 #include <$ac_header>
16600 rm -f conftest.
$ac_objext
16601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16602 (eval $ac_compile) 2>conftest.er1
16604 grep -v '^ *+' conftest.er1
>conftest.err
16606 cat conftest.err
>&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16611 (eval $ac_try) 2>&5
16613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16614 (exit $ac_status); }; } &&
16615 { ac_try
='test -s conftest.$ac_objext'
16616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16617 (eval $ac_try) 2>&5
16619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16620 (exit $ac_status); }; }; then
16621 eval "$as_ac_Header=yes"
16623 echo "$as_me: failed program was:" >&5
16624 sed 's/^/| /' conftest.
$ac_ext >&5
16626 eval "$as_ac_Header=no"
16628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16630 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16631 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16632 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16633 cat >>confdefs.h
<<_ACEOF
16634 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16643 for ac_header
in resolv.h
16645 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16646 echo "$as_me:$LINENO: checking for $ac_header" >&5
16647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16649 echo $ECHO_N "(cached) $ECHO_C" >&6
16651 cat >conftest.
$ac_ext <<_ACEOF
16654 cat confdefs.h
>>conftest.
$ac_ext
16655 cat >>conftest.
$ac_ext <<_ACEOF
16656 /* end confdefs.h. */
16657 #include <sys/types.h>
16658 #if HAVE_SYS_SOCKET_H
16659 # include <sys/socket.h>
16661 #if HAVE_NETINET_IN_H
16662 # include <netinet/in.h>
16664 #if HAVE_ARPA_NAMESER_H
16665 # include <arpa/nameser.h>
16668 #include <$ac_header>
16670 rm -f conftest.
$ac_objext
16671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16672 (eval $ac_compile) 2>conftest.er1
16674 grep -v '^ *+' conftest.er1
>conftest.err
16676 cat conftest.err
>&5
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); } &&
16679 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; } &&
16685 { ac_try
='test -s conftest.$ac_objext'
16686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16687 (eval $ac_try) 2>&5
16689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16690 (exit $ac_status); }; }; then
16691 eval "$as_ac_Header=yes"
16693 echo "$as_me: failed program was:" >&5
16694 sed 's/^/| /' conftest.
$ac_ext >&5
16696 eval "$as_ac_Header=no"
16698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16700 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16701 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16702 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16703 cat >>confdefs.h
<<_ACEOF
16704 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16713 for ac_header
in netinet
/ip.h
16715 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16716 echo "$as_me:$LINENO: checking for $ac_header" >&5
16717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16719 echo $ECHO_N "(cached) $ECHO_C" >&6
16721 cat >conftest.
$ac_ext <<_ACEOF
16724 cat confdefs.h
>>conftest.
$ac_ext
16725 cat >>conftest.
$ac_ext <<_ACEOF
16726 /* end confdefs.h. */
16727 #include <sys/types.h>
16728 #if HAVE_SYS_SOCKET_H
16729 # include <sys/socket.h>
16731 #if HAVE_NETINET_IN_SYSTM_H
16732 # include <netinet/in_systm.h>
16735 #include <$ac_header>
16737 rm -f conftest.
$ac_objext
16738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16739 (eval $ac_compile) 2>conftest.er1
16741 grep -v '^ *+' conftest.er1
>conftest.err
16743 cat conftest.err
>&5
16744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16745 (exit $ac_status); } &&
16746 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16748 (eval $ac_try) 2>&5
16750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16751 (exit $ac_status); }; } &&
16752 { ac_try
='test -s conftest.$ac_objext'
16753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16754 (eval $ac_try) 2>&5
16756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16757 (exit $ac_status); }; }; then
16758 eval "$as_ac_Header=yes"
16760 echo "$as_me: failed program was:" >&5
16761 sed 's/^/| /' conftest.
$ac_ext >&5
16763 eval "$as_ac_Header=no"
16765 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16768 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16770 cat >>confdefs.h
<<_ACEOF
16771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16780 for ac_header
in ucontext.h
16782 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16783 echo "$as_me:$LINENO: checking for $ac_header" >&5
16784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16786 echo $ECHO_N "(cached) $ECHO_C" >&6
16788 cat >conftest.
$ac_ext <<_ACEOF
16791 cat confdefs.h
>>conftest.
$ac_ext
16792 cat >>conftest.
$ac_ext <<_ACEOF
16793 /* end confdefs.h. */
16794 #include <signal.h>
16796 #include <$ac_header>
16798 rm -f conftest.
$ac_objext
16799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16800 (eval $ac_compile) 2>conftest.er1
16802 grep -v '^ *+' conftest.er1
>conftest.err
16804 cat conftest.err
>&5
16805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16806 (exit $ac_status); } &&
16807 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16809 (eval $ac_try) 2>&5
16811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16812 (exit $ac_status); }; } &&
16813 { ac_try
='test -s conftest.$ac_objext'
16814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16815 (eval $ac_try) 2>&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); }; }; then
16819 eval "$as_ac_Header=yes"
16821 echo "$as_me: failed program was:" >&5
16822 sed 's/^/| /' conftest.
$ac_ext >&5
16824 eval "$as_ac_Header=no"
16826 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16830 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16831 cat >>confdefs.h
<<_ACEOF
16832 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16841 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16842 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16843 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16844 echo $ECHO_N "(cached) $ECHO_C" >&6
16846 cat >conftest.
$ac_ext <<_ACEOF
16849 cat confdefs.h
>>conftest.
$ac_ext
16850 cat >>conftest.
$ac_ext <<_ACEOF
16851 /* end confdefs.h. */
16852 #include <sys/types.h>
16853 #ifdef HAVE_SYS_SOCKET_H
16854 # include <sys/socket.h>
16856 #include <netipx/ipx.h>
16860 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16865 rm -f conftest.
$ac_objext
16866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16867 (eval $ac_compile) 2>conftest.er1
16869 grep -v '^ *+' conftest.er1
>conftest.err
16871 cat conftest.err
>&5
16872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16873 (exit $ac_status); } &&
16874 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16876 (eval $ac_try) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); }; } &&
16880 { ac_try
='test -s conftest.$ac_objext'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; }; then
16886 ac_cv_c_ipx_gnu
="yes"
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.
$ac_ext >&5
16891 ac_cv_c_ipx_gnu
="no"
16893 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16896 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16897 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16898 if test "$ac_cv_c_ipx_gnu" = "yes"
16901 cat >>confdefs.h
<<\_ACEOF
16902 #define HAVE_IPX_GNU 1
16907 if test "$ac_cv_c_ipx_gnu" = "no"
16909 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16910 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16911 if test "${ac_cv_c_ipx_linux+set}" = set; then
16912 echo $ECHO_N "(cached) $ECHO_C" >&6
16914 cat >conftest.
$ac_ext <<_ACEOF
16917 cat confdefs.h
>>conftest.
$ac_ext
16918 cat >>conftest.
$ac_ext <<_ACEOF
16919 /* end confdefs.h. */
16920 #include <sys/types.h>
16921 #ifdef HAVE_SYS_SOCKET_H
16922 # include <sys/socket.h>
16924 #include <asm/types.h>
16925 #include <linux/ipx.h>
16929 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16934 rm -f conftest.
$ac_objext
16935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16936 (eval $ac_compile) 2>conftest.er1
16938 grep -v '^ *+' conftest.er1
>conftest.err
16940 cat conftest.err
>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } &&
16943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try
='test -s conftest.$ac_objext'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; }; then
16955 ac_cv_c_ipx_linux
="yes"
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.
$ac_ext >&5
16960 ac_cv_c_ipx_linux
="no"
16962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16965 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
16966 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
16967 if test "$ac_cv_c_ipx_linux" = "yes"
16970 cat >>confdefs.h
<<\_ACEOF
16971 #define HAVE_IPX_LINUX 1
16978 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16979 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16980 if test "${ac_cv_c_const+set}" = set; then
16981 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 cat >conftest.
$ac_ext <<_ACEOF
16986 cat confdefs.h
>>conftest.
$ac_ext
16987 cat >>conftest.
$ac_ext <<_ACEOF
16988 /* end confdefs.h. */
16993 /* FIXME: Include the comments suggested by Paul. */
16994 #ifndef __cplusplus
16995 /* Ultrix mips cc rejects this. */
16996 typedef int charset[2];
16998 /* SunOS 4.1.1 cc rejects this. */
16999 char const *const *ccp;
17001 /* NEC SVR4.0.2 mips cc rejects this. */
17002 struct point {int x, y;};
17003 static struct point const zero = {0,0};
17004 /* AIX XL C 1.02.0.0 rejects this.
17005 It does not let you subtract one const X* pointer from another in
17006 an arm of an if-expression whose if-part is not a constant
17008 const char *g = "string";
17009 ccp = &g + (g ? g-g : 0);
17010 /* HPUX 7.0 cc rejects these. */
17013 ccp = (char const *const *) p;
17014 { /* SCO 3.2v4 cc rejects this. */
17016 char const *s = 0 ? (char *) 0 : (char const *) 0;
17020 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17021 int x[] = {25, 17};
17022 const int *foo = &x[0];
17025 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17026 typedef const int *iptr;
17030 { /* AIX XL C 1.02.0.0 rejects this saying
17031 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17032 struct s { int j; const int *ap[3]; };
17033 struct s *b; b->j = 5;
17035 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17036 const int foo = 10;
17044 rm -f conftest.
$ac_objext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17046 (eval $ac_compile) 2>conftest.er1
17048 grep -v '^ *+' conftest.er1
>conftest.err
17050 cat conftest.err
>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); } &&
17053 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17055 (eval $ac_try) 2>&5
17057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17058 (exit $ac_status); }; } &&
17059 { ac_try
='test -s conftest.$ac_objext'
17060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17061 (eval $ac_try) 2>&5
17063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17064 (exit $ac_status); }; }; then
17067 echo "$as_me: failed program was:" >&5
17068 sed 's/^/| /' conftest.
$ac_ext >&5
17072 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17074 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17075 echo "${ECHO_T}$ac_cv_c_const" >&6
17076 if test $ac_cv_c_const = no
; then
17078 cat >>confdefs.h
<<\_ACEOF
17084 echo "$as_me:$LINENO: checking for inline" >&5
17085 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17086 if test "${ac_cv_c_inline+set}" = set; then
17087 echo $ECHO_N "(cached) $ECHO_C" >&6
17090 for ac_kw
in inline __inline__ __inline
; do
17091 cat >conftest.
$ac_ext <<_ACEOF
17094 cat confdefs.h
>>conftest.
$ac_ext
17095 cat >>conftest.
$ac_ext <<_ACEOF
17096 /* end confdefs.h. */
17097 #ifndef __cplusplus
17099 static $ac_kw foo_t static_foo () {return 0; }
17100 $ac_kw foo_t foo () {return 0; }
17104 rm -f conftest.
$ac_objext
17105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17106 (eval $ac_compile) 2>conftest.er1
17108 grep -v '^ *+' conftest.er1
>conftest.err
17110 cat conftest.err
>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); } &&
17113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17115 (eval $ac_try) 2>&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); }; } &&
17119 { ac_try
='test -s conftest.$ac_objext'
17120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17121 (eval $ac_try) 2>&5
17123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17124 (exit $ac_status); }; }; then
17125 ac_cv_c_inline
=$ac_kw; break
17127 echo "$as_me: failed program was:" >&5
17128 sed 's/^/| /' conftest.
$ac_ext >&5
17131 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17135 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17136 echo "${ECHO_T}$ac_cv_c_inline" >&6
17139 case $ac_cv_c_inline in
17142 case $ac_cv_c_inline in
17144 *) ac_val
=$ac_cv_c_inline;;
17146 cat >>confdefs.h
<<_ACEOF
17147 #ifndef __cplusplus
17148 #define inline $ac_val
17154 echo "$as_me:$LINENO: checking for mode_t" >&5
17155 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17156 if test "${ac_cv_type_mode_t+set}" = set; then
17157 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 cat >conftest.
$ac_ext <<_ACEOF
17162 cat confdefs.h
>>conftest.
$ac_ext
17163 cat >>conftest.
$ac_ext <<_ACEOF
17164 /* end confdefs.h. */
17165 $ac_includes_default
17171 if (sizeof (mode_t))
17177 rm -f conftest.
$ac_objext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17179 (eval $ac_compile) 2>conftest.er1
17181 grep -v '^ *+' conftest.er1
>conftest.err
17183 cat conftest.err
>&5
17184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17185 (exit $ac_status); } &&
17186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17188 (eval $ac_try) 2>&5
17190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17191 (exit $ac_status); }; } &&
17192 { ac_try
='test -s conftest.$ac_objext'
17193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17194 (eval $ac_try) 2>&5
17196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17197 (exit $ac_status); }; }; then
17198 ac_cv_type_mode_t
=yes
17200 echo "$as_me: failed program was:" >&5
17201 sed 's/^/| /' conftest.
$ac_ext >&5
17203 ac_cv_type_mode_t
=no
17205 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17207 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17208 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17209 if test $ac_cv_type_mode_t = yes; then
17211 cat >>confdefs.h
<<_ACEOF
17212 #define HAVE_MODE_T 1
17217 echo "$as_me:$LINENO: checking for off_t" >&5
17218 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17219 if test "${ac_cv_type_off_t+set}" = set; then
17220 echo $ECHO_N "(cached) $ECHO_C" >&6
17222 cat >conftest.
$ac_ext <<_ACEOF
17225 cat confdefs.h
>>conftest.
$ac_ext
17226 cat >>conftest.
$ac_ext <<_ACEOF
17227 /* end confdefs.h. */
17228 $ac_includes_default
17234 if (sizeof (off_t))
17240 rm -f conftest.
$ac_objext
17241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17242 (eval $ac_compile) 2>conftest.er1
17244 grep -v '^ *+' conftest.er1
>conftest.err
17246 cat conftest.err
>&5
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); } &&
17249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17251 (eval $ac_try) 2>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); }; } &&
17255 { ac_try
='test -s conftest.$ac_objext'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; }; then
17261 ac_cv_type_off_t
=yes
17263 echo "$as_me: failed program was:" >&5
17264 sed 's/^/| /' conftest.
$ac_ext >&5
17266 ac_cv_type_off_t
=no
17268 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17270 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17271 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17272 if test $ac_cv_type_off_t = yes; then
17274 cat >>confdefs.h
<<_ACEOF
17275 #define HAVE_OFF_T 1
17280 echo "$as_me:$LINENO: checking for pid_t" >&5
17281 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17282 if test "${ac_cv_type_pid_t+set}" = set; then
17283 echo $ECHO_N "(cached) $ECHO_C" >&6
17285 cat >conftest.
$ac_ext <<_ACEOF
17288 cat confdefs.h
>>conftest.
$ac_ext
17289 cat >>conftest.
$ac_ext <<_ACEOF
17290 /* end confdefs.h. */
17291 $ac_includes_default
17297 if (sizeof (pid_t))
17303 rm -f conftest.
$ac_objext
17304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17305 (eval $ac_compile) 2>conftest.er1
17307 grep -v '^ *+' conftest.er1
>conftest.err
17309 cat conftest.err
>&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } &&
17312 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; } &&
17318 { ac_try
='test -s conftest.$ac_objext'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17324 ac_cv_type_pid_t
=yes
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.
$ac_ext >&5
17329 ac_cv_type_pid_t
=no
17331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17333 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17334 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17335 if test $ac_cv_type_pid_t = yes; then
17337 cat >>confdefs.h
<<_ACEOF
17338 #define HAVE_PID_T 1
17343 echo "$as_me:$LINENO: checking for size_t" >&5
17344 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17345 if test "${ac_cv_type_size_t+set}" = set; then
17346 echo $ECHO_N "(cached) $ECHO_C" >&6
17348 cat >conftest.
$ac_ext <<_ACEOF
17351 cat confdefs.h
>>conftest.
$ac_ext
17352 cat >>conftest.
$ac_ext <<_ACEOF
17353 /* end confdefs.h. */
17354 $ac_includes_default
17360 if (sizeof (size_t))
17366 rm -f conftest.
$ac_objext
17367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17368 (eval $ac_compile) 2>conftest.er1
17370 grep -v '^ *+' conftest.er1
>conftest.err
17372 cat conftest.err
>&5
17373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17374 (exit $ac_status); } &&
17375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17377 (eval $ac_try) 2>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); }; } &&
17381 { ac_try
='test -s conftest.$ac_objext'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; }; then
17387 ac_cv_type_size_t
=yes
17389 echo "$as_me: failed program was:" >&5
17390 sed 's/^/| /' conftest.
$ac_ext >&5
17392 ac_cv_type_size_t
=no
17394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17396 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17397 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17398 if test $ac_cv_type_size_t = yes; then
17400 cat >>confdefs.h
<<_ACEOF
17401 #define HAVE_SIZE_T 1
17406 echo "$as_me:$LINENO: checking for ssize_t" >&5
17407 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17408 if test "${ac_cv_type_ssize_t+set}" = set; then
17409 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 cat >conftest.
$ac_ext <<_ACEOF
17414 cat confdefs.h
>>conftest.
$ac_ext
17415 cat >>conftest.
$ac_ext <<_ACEOF
17416 /* end confdefs.h. */
17417 $ac_includes_default
17423 if (sizeof (ssize_t))
17429 rm -f conftest.
$ac_objext
17430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17431 (eval $ac_compile) 2>conftest.er1
17433 grep -v '^ *+' conftest.er1
>conftest.err
17435 cat conftest.err
>&5
17436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17437 (exit $ac_status); } &&
17438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17440 (eval $ac_try) 2>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); }; } &&
17444 { ac_try
='test -s conftest.$ac_objext'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; }; then
17450 ac_cv_type_ssize_t
=yes
17452 echo "$as_me: failed program was:" >&5
17453 sed 's/^/| /' conftest.
$ac_ext >&5
17455 ac_cv_type_ssize_t
=no
17457 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17459 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17460 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17461 if test $ac_cv_type_ssize_t = yes; then
17463 cat >>confdefs.h
<<_ACEOF
17464 #define HAVE_SSIZE_T 1
17469 echo "$as_me:$LINENO: checking for long long" >&5
17470 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17471 if test "${ac_cv_type_long_long+set}" = set; then
17472 echo $ECHO_N "(cached) $ECHO_C" >&6
17474 cat >conftest.
$ac_ext <<_ACEOF
17477 cat confdefs.h
>>conftest.
$ac_ext
17478 cat >>conftest.
$ac_ext <<_ACEOF
17479 /* end confdefs.h. */
17480 $ac_includes_default
17484 if ((long long *) 0)
17486 if (sizeof (long long))
17492 rm -f conftest.
$ac_objext
17493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17494 (eval $ac_compile) 2>conftest.er1
17496 grep -v '^ *+' conftest.er1
>conftest.err
17498 cat conftest.err
>&5
17499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17500 (exit $ac_status); } &&
17501 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17503 (eval $ac_try) 2>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); }; } &&
17507 { ac_try
='test -s conftest.$ac_objext'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; }; then
17513 ac_cv_type_long_long
=yes
17515 echo "$as_me: failed program was:" >&5
17516 sed 's/^/| /' conftest.
$ac_ext >&5
17518 ac_cv_type_long_long
=no
17520 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17522 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17523 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17524 if test $ac_cv_type_long_long = yes; then
17526 cat >>confdefs.h
<<_ACEOF
17527 #define HAVE_LONG_LONG 1
17532 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17533 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17534 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 cat >conftest.
$ac_ext <<_ACEOF
17540 cat confdefs.h
>>conftest.
$ac_ext
17541 cat >>conftest.
$ac_ext <<_ACEOF
17542 /* end confdefs.h. */
17543 $ac_includes_default
17547 if ((fsblkcnt_t *) 0)
17549 if (sizeof (fsblkcnt_t))
17555 rm -f conftest.
$ac_objext
17556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17557 (eval $ac_compile) 2>conftest.er1
17559 grep -v '^ *+' conftest.er1
>conftest.err
17561 cat conftest.err
>&5
17562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17563 (exit $ac_status); } &&
17564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17566 (eval $ac_try) 2>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); }; } &&
17570 { ac_try
='test -s conftest.$ac_objext'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; }; then
17576 ac_cv_type_fsblkcnt_t
=yes
17578 echo "$as_me: failed program was:" >&5
17579 sed 's/^/| /' conftest.
$ac_ext >&5
17581 ac_cv_type_fsblkcnt_t
=no
17583 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17585 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17586 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17587 if test $ac_cv_type_fsblkcnt_t = yes; then
17589 cat >>confdefs.h
<<_ACEOF
17590 #define HAVE_FSBLKCNT_T 1
17595 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17596 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17597 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17598 echo $ECHO_N "(cached) $ECHO_C" >&6
17600 cat >conftest.
$ac_ext <<_ACEOF
17603 cat confdefs.h
>>conftest.
$ac_ext
17604 cat >>conftest.
$ac_ext <<_ACEOF
17605 /* end confdefs.h. */
17606 $ac_includes_default
17610 if ((fsfilcnt_t *) 0)
17612 if (sizeof (fsfilcnt_t))
17618 rm -f conftest.
$ac_objext
17619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17620 (eval $ac_compile) 2>conftest.er1
17622 grep -v '^ *+' conftest.er1
>conftest.err
17624 cat conftest.err
>&5
17625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17626 (exit $ac_status); } &&
17627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17629 (eval $ac_try) 2>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); }; } &&
17633 { ac_try
='test -s conftest.$ac_objext'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; }; then
17639 ac_cv_type_fsfilcnt_t
=yes
17641 echo "$as_me: failed program was:" >&5
17642 sed 's/^/| /' conftest.
$ac_ext >&5
17644 ac_cv_type_fsfilcnt_t
=no
17646 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17648 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17649 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17650 if test $ac_cv_type_fsfilcnt_t = yes; then
17652 cat >>confdefs.h
<<_ACEOF
17653 #define HAVE_FSFILCNT_T 1
17660 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17661 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17662 if test "${wine_cv_linux_input_h+set}" = set; then
17663 echo $ECHO_N "(cached) $ECHO_C" >&6
17665 cat >conftest.
$ac_ext <<_ACEOF
17668 cat confdefs.h
>>conftest.
$ac_ext
17669 cat >>conftest.
$ac_ext <<_ACEOF
17670 /* end confdefs.h. */
17672 #include <linux/input.h>
17678 int foo = EVIOCGBIT(EV_ABS,42);
17679 int bar = BTN_PINKIE;
17686 rm -f conftest.
$ac_objext
17687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17688 (eval $ac_compile) 2>conftest.er1
17690 grep -v '^ *+' conftest.er1
>conftest.err
17692 cat conftest.err
>&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); } &&
17695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697 (eval $ac_try) 2>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; } &&
17701 { ac_try
='test -s conftest.$ac_objext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 wine_cv_linux_input_h
=yes
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.
$ac_ext >&5
17712 wine_cv_linux_input_h
=no
17714 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17717 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17718 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17719 if test "$wine_cv_linux_input_h" = "yes"
17722 cat >>confdefs.h
<<\_ACEOF
17723 #define HAVE_CORRECT_LINUXINPUT_H 1
17729 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17730 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17731 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 cat >conftest.
$ac_ext <<_ACEOF
17737 cat confdefs.h
>>conftest.
$ac_ext
17738 cat >>conftest.
$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17749 struct hostent *result;
17756 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17757 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17763 rm -f conftest.
$ac_objext conftest
$ac_exeext
17764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17765 (eval $ac_link) 2>conftest.er1
17767 grep -v '^ *+' conftest.er1
>conftest.err
17769 cat conftest.err
>&5
17770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17771 (exit $ac_status); } &&
17772 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17774 (eval $ac_try) 2>&5
17776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17777 (exit $ac_status); }; } &&
17778 { ac_try
='test -s conftest$ac_exeext'
17779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17780 (eval $ac_try) 2>&5
17782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17783 (exit $ac_status); }; }; then
17784 wine_cv_linux_gethostbyname_r_6
=yes
17786 echo "$as_me: failed program was:" >&5
17787 sed 's/^/| /' conftest.
$ac_ext >&5
17789 wine_cv_linux_gethostbyname_r_6
=no
17792 rm -f conftest.err conftest.
$ac_objext \
17793 conftest
$ac_exeext conftest.
$ac_ext
17796 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17797 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17798 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17801 cat >>confdefs.h
<<\_ACEOF
17802 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17807 if test "$ac_cv_header_linux_joystick_h" = "yes"
17809 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17810 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17811 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17812 echo $ECHO_N "(cached) $ECHO_C" >&6
17814 cat >conftest.
$ac_ext <<_ACEOF
17817 cat confdefs.h
>>conftest.
$ac_ext
17818 cat >>conftest.
$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17821 #include <sys/ioctl.h>
17822 #include <linux/joystick.h>
17824 struct js_event blub;
17825 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17826 #error "no 2.2 header"
17837 rm -f conftest.
$ac_objext
17838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17839 (eval $ac_compile) 2>conftest.er1
17841 grep -v '^ *+' conftest.er1
>conftest.err
17843 cat conftest.err
>&5
17844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17845 (exit $ac_status); } &&
17846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try
='test -s conftest.$ac_objext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 wine_cv_linux_joystick_22_api
=yes
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.
$ac_ext >&5
17863 wine_cv_linux_joystick_22_api
=no
17865 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17868 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17869 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17870 if test "$wine_cv_linux_joystick_22_api" = "yes"
17873 cat >>confdefs.h
<<\_ACEOF
17874 #define HAVE_LINUX_22_JOYSTICK_API 1
17881 if test "$ac_cv_header_sys_vfs_h" = "yes"
17883 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17884 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17885 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17886 echo $ECHO_N "(cached) $ECHO_C" >&6
17888 cat >conftest.
$ac_ext <<_ACEOF
17891 cat confdefs.h
>>conftest.
$ac_ext
17892 cat >>conftest.
$ac_ext <<_ACEOF
17893 /* end confdefs.h. */
17895 #include <sys/types.h>
17896 #ifdef HAVE_SYS_PARAM_H
17897 # include <sys/param.h>
17899 #include <sys/vfs.h>
17905 struct statfs stfs;
17907 memset(&stfs,0,sizeof(stfs));
17913 rm -f conftest.
$ac_objext
17914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17915 (eval $ac_compile) 2>conftest.er1
17917 grep -v '^ *+' conftest.er1
>conftest.err
17919 cat conftest.err
>&5
17920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921 (exit $ac_status); } &&
17922 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17924 (eval $ac_try) 2>&5
17926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17927 (exit $ac_status); }; } &&
17928 { ac_try
='test -s conftest.$ac_objext'
17929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17930 (eval $ac_try) 2>&5
17932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17933 (exit $ac_status); }; }; then
17934 wine_cv_sys_vfs_has_statfs
=yes
17936 echo "$as_me: failed program was:" >&5
17937 sed 's/^/| /' conftest.
$ac_ext >&5
17939 wine_cv_sys_vfs_has_statfs
=no
17942 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17945 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
17946 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
17947 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
17950 cat >>confdefs.h
<<\_ACEOF
17951 #define STATFS_DEFINED_BY_SYS_VFS 1
17957 if test "$ac_cv_header_sys_statfs_h" = "yes"
17959 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
17960 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
17961 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
17962 echo $ECHO_N "(cached) $ECHO_C" >&6
17964 cat >conftest.
$ac_ext <<_ACEOF
17967 cat confdefs.h
>>conftest.
$ac_ext
17968 cat >>conftest.
$ac_ext <<_ACEOF
17969 /* end confdefs.h. */
17971 #include <sys/types.h>
17972 #ifdef HAVE_SYS_PARAM_H
17973 # include <sys/param.h>
17975 #include <sys/statfs.h>
17981 struct statfs stfs;
17987 rm -f conftest.
$ac_objext
17988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17989 (eval $ac_compile) 2>conftest.er1
17991 grep -v '^ *+' conftest.er1
>conftest.err
17993 cat conftest.err
>&5
17994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17995 (exit $ac_status); } &&
17996 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17998 (eval $ac_try) 2>&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; } &&
18002 { ac_try
='test -s conftest.$ac_objext'
18003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18004 (eval $ac_try) 2>&5
18006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18007 (exit $ac_status); }; }; then
18008 wine_cv_sys_statfs_has_statfs
=yes
18010 echo "$as_me: failed program was:" >&5
18011 sed 's/^/| /' conftest.
$ac_ext >&5
18013 wine_cv_sys_statfs_has_statfs
=no
18016 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18019 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18020 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18021 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18024 cat >>confdefs.h
<<\_ACEOF
18025 #define STATFS_DEFINED_BY_SYS_STATFS 1
18031 if test "$ac_cv_header_sys_mount_h" = "yes"
18033 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18034 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18035 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18036 echo $ECHO_N "(cached) $ECHO_C" >&6
18038 cat >conftest.
$ac_ext <<_ACEOF
18041 cat confdefs.h
>>conftest.
$ac_ext
18042 cat >>conftest.
$ac_ext <<_ACEOF
18043 /* end confdefs.h. */
18045 #include <sys/types.h>
18046 #ifdef HAVE_SYS_PARAM_H
18047 # include <sys/param.h>
18049 #include <sys/mount.h>
18055 struct statfs stfs;
18061 rm -f conftest.
$ac_objext
18062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18063 (eval $ac_compile) 2>conftest.er1
18065 grep -v '^ *+' conftest.er1
>conftest.err
18067 cat conftest.err
>&5
18068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18069 (exit $ac_status); } &&
18070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18072 (eval $ac_try) 2>&5
18074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18075 (exit $ac_status); }; } &&
18076 { ac_try
='test -s conftest.$ac_objext'
18077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18078 (eval $ac_try) 2>&5
18080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18081 (exit $ac_status); }; }; then
18082 wine_cv_sys_mount_has_statfs
=yes
18084 echo "$as_me: failed program was:" >&5
18085 sed 's/^/| /' conftest.
$ac_ext >&5
18087 wine_cv_sys_mount_has_statfs
=no
18090 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18093 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18094 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18095 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18098 cat >>confdefs.h
<<\_ACEOF
18099 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18106 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18107 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18108 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18109 echo $ECHO_N "(cached) $ECHO_C" >&6
18111 cat >conftest.
$ac_ext <<_ACEOF
18114 cat confdefs.h
>>conftest.
$ac_ext
18115 cat >>conftest.
$ac_ext <<_ACEOF
18116 /* end confdefs.h. */
18117 #include <sys/types.h>
18118 #ifdef HAVE_SYS_PARAM_H
18119 # include <sys/param.h>
18121 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18122 # include <sys/mount.h>
18124 # ifdef STATFS_DEFINED_BY_SYS_VFS
18125 # include <sys/vfs.h>
18127 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18128 # include <sys/statfs.h>
18136 static struct statfs ac_aggr;
18137 if (ac_aggr.f_bfree)
18143 rm -f conftest.
$ac_objext
18144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18145 (eval $ac_compile) 2>conftest.er1
18147 grep -v '^ *+' conftest.er1
>conftest.err
18149 cat conftest.err
>&5
18150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18151 (exit $ac_status); } &&
18152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18154 (eval $ac_try) 2>&5
18156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18157 (exit $ac_status); }; } &&
18158 { ac_try
='test -s conftest.$ac_objext'
18159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18160 (eval $ac_try) 2>&5
18162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18163 (exit $ac_status); }; }; then
18164 ac_cv_member_struct_statfs_f_bfree
=yes
18166 echo "$as_me: failed program was:" >&5
18167 sed 's/^/| /' conftest.
$ac_ext >&5
18169 cat >conftest.
$ac_ext <<_ACEOF
18172 cat confdefs.h
>>conftest.
$ac_ext
18173 cat >>conftest.
$ac_ext <<_ACEOF
18174 /* end confdefs.h. */
18175 #include <sys/types.h>
18176 #ifdef HAVE_SYS_PARAM_H
18177 # include <sys/param.h>
18179 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18180 # include <sys/mount.h>
18182 # ifdef STATFS_DEFINED_BY_SYS_VFS
18183 # include <sys/vfs.h>
18185 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18186 # include <sys/statfs.h>
18194 static struct statfs ac_aggr;
18195 if (sizeof ac_aggr.f_bfree)
18201 rm -f conftest.
$ac_objext
18202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18203 (eval $ac_compile) 2>conftest.er1
18205 grep -v '^ *+' conftest.er1
>conftest.err
18207 cat conftest.err
>&5
18208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18209 (exit $ac_status); } &&
18210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18212 (eval $ac_try) 2>&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); }; } &&
18216 { ac_try
='test -s conftest.$ac_objext'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; }; then
18222 ac_cv_member_struct_statfs_f_bfree
=yes
18224 echo "$as_me: failed program was:" >&5
18225 sed 's/^/| /' conftest.
$ac_ext >&5
18227 ac_cv_member_struct_statfs_f_bfree
=no
18229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18233 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18234 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18235 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18237 cat >>confdefs.h
<<_ACEOF
18238 #define HAVE_STRUCT_STATFS_F_BFREE 1
18243 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18244 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18245 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18246 echo $ECHO_N "(cached) $ECHO_C" >&6
18248 cat >conftest.
$ac_ext <<_ACEOF
18251 cat confdefs.h
>>conftest.
$ac_ext
18252 cat >>conftest.
$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 #include <sys/types.h>
18255 #ifdef HAVE_SYS_PARAM_H
18256 # include <sys/param.h>
18258 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18259 # include <sys/mount.h>
18261 # ifdef STATFS_DEFINED_BY_SYS_VFS
18262 # include <sys/vfs.h>
18264 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18265 # include <sys/statfs.h>
18273 static struct statfs ac_aggr;
18274 if (ac_aggr.f_bavail)
18280 rm -f conftest.
$ac_objext
18281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18282 (eval $ac_compile) 2>conftest.er1
18284 grep -v '^ *+' conftest.er1
>conftest.err
18286 cat conftest.err
>&5
18287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18288 (exit $ac_status); } &&
18289 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18291 (eval $ac_try) 2>&5
18293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18294 (exit $ac_status); }; } &&
18295 { ac_try
='test -s conftest.$ac_objext'
18296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18297 (eval $ac_try) 2>&5
18299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18300 (exit $ac_status); }; }; then
18301 ac_cv_member_struct_statfs_f_bavail
=yes
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.
$ac_ext >&5
18306 cat >conftest.
$ac_ext <<_ACEOF
18309 cat confdefs.h
>>conftest.
$ac_ext
18310 cat >>conftest.
$ac_ext <<_ACEOF
18311 /* end confdefs.h. */
18312 #include <sys/types.h>
18313 #ifdef HAVE_SYS_PARAM_H
18314 # include <sys/param.h>
18316 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18317 # include <sys/mount.h>
18319 # ifdef STATFS_DEFINED_BY_SYS_VFS
18320 # include <sys/vfs.h>
18322 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18323 # include <sys/statfs.h>
18331 static struct statfs ac_aggr;
18332 if (sizeof ac_aggr.f_bavail)
18338 rm -f conftest.
$ac_objext
18339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18340 (eval $ac_compile) 2>conftest.er1
18342 grep -v '^ *+' conftest.er1
>conftest.err
18344 cat conftest.err
>&5
18345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18346 (exit $ac_status); } &&
18347 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18349 (eval $ac_try) 2>&5
18351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18352 (exit $ac_status); }; } &&
18353 { ac_try
='test -s conftest.$ac_objext'
18354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18355 (eval $ac_try) 2>&5
18357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18358 (exit $ac_status); }; }; then
18359 ac_cv_member_struct_statfs_f_bavail
=yes
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.
$ac_ext >&5
18364 ac_cv_member_struct_statfs_f_bavail
=no
18366 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18368 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18370 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18371 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18372 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18374 cat >>confdefs.h
<<_ACEOF
18375 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18380 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18381 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18382 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18383 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 cat >conftest.
$ac_ext <<_ACEOF
18388 cat confdefs.h
>>conftest.
$ac_ext
18389 cat >>conftest.
$ac_ext <<_ACEOF
18390 /* end confdefs.h. */
18391 #include <sys/types.h>
18392 #ifdef HAVE_SYS_PARAM_H
18393 # include <sys/param.h>
18395 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18396 # include <sys/mount.h>
18398 # ifdef STATFS_DEFINED_BY_SYS_VFS
18399 # include <sys/vfs.h>
18401 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18402 # include <sys/statfs.h>
18410 static struct statfs ac_aggr;
18411 if (ac_aggr.f_frsize)
18417 rm -f conftest.
$ac_objext
18418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18419 (eval $ac_compile) 2>conftest.er1
18421 grep -v '^ *+' conftest.er1
>conftest.err
18423 cat conftest.err
>&5
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); } &&
18426 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; } &&
18432 { ac_try
='test -s conftest.$ac_objext'
18433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18434 (eval $ac_try) 2>&5
18436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18437 (exit $ac_status); }; }; then
18438 ac_cv_member_struct_statfs_f_frsize
=yes
18440 echo "$as_me: failed program was:" >&5
18441 sed 's/^/| /' conftest.
$ac_ext >&5
18443 cat >conftest.
$ac_ext <<_ACEOF
18446 cat confdefs.h
>>conftest.
$ac_ext
18447 cat >>conftest.
$ac_ext <<_ACEOF
18448 /* end confdefs.h. */
18449 #include <sys/types.h>
18450 #ifdef HAVE_SYS_PARAM_H
18451 # include <sys/param.h>
18453 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18454 # include <sys/mount.h>
18456 # ifdef STATFS_DEFINED_BY_SYS_VFS
18457 # include <sys/vfs.h>
18459 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18460 # include <sys/statfs.h>
18468 static struct statfs ac_aggr;
18469 if (sizeof ac_aggr.f_frsize)
18475 rm -f conftest.
$ac_objext
18476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18477 (eval $ac_compile) 2>conftest.er1
18479 grep -v '^ *+' conftest.er1
>conftest.err
18481 cat conftest.err
>&5
18482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18483 (exit $ac_status); } &&
18484 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; } &&
18490 { ac_try
='test -s conftest.$ac_objext'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; }; then
18496 ac_cv_member_struct_statfs_f_frsize
=yes
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.
$ac_ext >&5
18501 ac_cv_member_struct_statfs_f_frsize
=no
18503 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18507 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18508 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18509 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18511 cat >>confdefs.h
<<_ACEOF
18512 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18517 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18518 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18519 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18520 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 cat >conftest.
$ac_ext <<_ACEOF
18525 cat confdefs.h
>>conftest.
$ac_ext
18526 cat >>conftest.
$ac_ext <<_ACEOF
18527 /* end confdefs.h. */
18528 #include <sys/types.h>
18529 #ifdef HAVE_SYS_PARAM_H
18530 # include <sys/param.h>
18532 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18533 # include <sys/mount.h>
18535 # ifdef STATFS_DEFINED_BY_SYS_VFS
18536 # include <sys/vfs.h>
18538 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18539 # include <sys/statfs.h>
18547 static struct statfs ac_aggr;
18548 if (ac_aggr.f_ffree)
18554 rm -f conftest.
$ac_objext
18555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18556 (eval $ac_compile) 2>conftest.er1
18558 grep -v '^ *+' conftest.er1
>conftest.err
18560 cat conftest.err
>&5
18561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18562 (exit $ac_status); } &&
18563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18565 (eval $ac_try) 2>&5
18567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18568 (exit $ac_status); }; } &&
18569 { ac_try
='test -s conftest.$ac_objext'
18570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18571 (eval $ac_try) 2>&5
18573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18574 (exit $ac_status); }; }; then
18575 ac_cv_member_struct_statfs_f_ffree
=yes
18577 echo "$as_me: failed program was:" >&5
18578 sed 's/^/| /' conftest.
$ac_ext >&5
18580 cat >conftest.
$ac_ext <<_ACEOF
18583 cat confdefs.h
>>conftest.
$ac_ext
18584 cat >>conftest.
$ac_ext <<_ACEOF
18585 /* end confdefs.h. */
18586 #include <sys/types.h>
18587 #ifdef HAVE_SYS_PARAM_H
18588 # include <sys/param.h>
18590 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18591 # include <sys/mount.h>
18593 # ifdef STATFS_DEFINED_BY_SYS_VFS
18594 # include <sys/vfs.h>
18596 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18597 # include <sys/statfs.h>
18605 static struct statfs ac_aggr;
18606 if (sizeof ac_aggr.f_ffree)
18612 rm -f conftest.
$ac_objext
18613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18614 (eval $ac_compile) 2>conftest.er1
18616 grep -v '^ *+' conftest.er1
>conftest.err
18618 cat conftest.err
>&5
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); } &&
18621 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18623 (eval $ac_try) 2>&5
18625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18626 (exit $ac_status); }; } &&
18627 { ac_try
='test -s conftest.$ac_objext'
18628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18629 (eval $ac_try) 2>&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); }; }; then
18633 ac_cv_member_struct_statfs_f_ffree
=yes
18635 echo "$as_me: failed program was:" >&5
18636 sed 's/^/| /' conftest.
$ac_ext >&5
18638 ac_cv_member_struct_statfs_f_ffree
=no
18640 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18642 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18644 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18645 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18646 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18648 cat >>confdefs.h
<<_ACEOF
18649 #define HAVE_STRUCT_STATFS_F_FFREE 1
18654 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18655 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18656 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18657 echo $ECHO_N "(cached) $ECHO_C" >&6
18659 cat >conftest.
$ac_ext <<_ACEOF
18662 cat confdefs.h
>>conftest.
$ac_ext
18663 cat >>conftest.
$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 #include <sys/types.h>
18666 #ifdef HAVE_SYS_PARAM_H
18667 # include <sys/param.h>
18669 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18670 # include <sys/mount.h>
18672 # ifdef STATFS_DEFINED_BY_SYS_VFS
18673 # include <sys/vfs.h>
18675 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18676 # include <sys/statfs.h>
18684 static struct statfs ac_aggr;
18685 if (ac_aggr.f_favail)
18691 rm -f conftest.
$ac_objext
18692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18693 (eval $ac_compile) 2>conftest.er1
18695 grep -v '^ *+' conftest.er1
>conftest.err
18697 cat conftest.err
>&5
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); } &&
18700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; } &&
18706 { ac_try
='test -s conftest.$ac_objext'
18707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18708 (eval $ac_try) 2>&5
18710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18711 (exit $ac_status); }; }; then
18712 ac_cv_member_struct_statfs_f_favail
=yes
18714 echo "$as_me: failed program was:" >&5
18715 sed 's/^/| /' conftest.
$ac_ext >&5
18717 cat >conftest.
$ac_ext <<_ACEOF
18720 cat confdefs.h
>>conftest.
$ac_ext
18721 cat >>conftest.
$ac_ext <<_ACEOF
18722 /* end confdefs.h. */
18723 #include <sys/types.h>
18724 #ifdef HAVE_SYS_PARAM_H
18725 # include <sys/param.h>
18727 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18728 # include <sys/mount.h>
18730 # ifdef STATFS_DEFINED_BY_SYS_VFS
18731 # include <sys/vfs.h>
18733 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18734 # include <sys/statfs.h>
18742 static struct statfs ac_aggr;
18743 if (sizeof ac_aggr.f_favail)
18749 rm -f conftest.
$ac_objext
18750 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18751 (eval $ac_compile) 2>conftest.er1
18753 grep -v '^ *+' conftest.er1
>conftest.err
18755 cat conftest.err
>&5
18756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18757 (exit $ac_status); } &&
18758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18760 (eval $ac_try) 2>&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); }; } &&
18764 { ac_try
='test -s conftest.$ac_objext'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; }; then
18770 ac_cv_member_struct_statfs_f_favail
=yes
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.
$ac_ext >&5
18775 ac_cv_member_struct_statfs_f_favail
=no
18777 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18779 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18781 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18782 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18783 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18785 cat >>confdefs.h
<<_ACEOF
18786 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18791 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18792 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18793 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18796 cat >conftest.
$ac_ext <<_ACEOF
18799 cat confdefs.h
>>conftest.
$ac_ext
18800 cat >>conftest.
$ac_ext <<_ACEOF
18801 /* end confdefs.h. */
18802 #include <sys/types.h>
18803 #ifdef HAVE_SYS_PARAM_H
18804 # include <sys/param.h>
18806 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18807 # include <sys/mount.h>
18809 # ifdef STATFS_DEFINED_BY_SYS_VFS
18810 # include <sys/vfs.h>
18812 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18813 # include <sys/statfs.h>
18821 static struct statfs ac_aggr;
18822 if (ac_aggr.f_namelen)
18828 rm -f conftest.
$ac_objext
18829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18830 (eval $ac_compile) 2>conftest.er1
18832 grep -v '^ *+' conftest.er1
>conftest.err
18834 cat conftest.err
>&5
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); } &&
18837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18839 (eval $ac_try) 2>&5
18841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18842 (exit $ac_status); }; } &&
18843 { ac_try
='test -s conftest.$ac_objext'
18844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18845 (eval $ac_try) 2>&5
18847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18848 (exit $ac_status); }; }; then
18849 ac_cv_member_struct_statfs_f_namelen
=yes
18851 echo "$as_me: failed program was:" >&5
18852 sed 's/^/| /' conftest.
$ac_ext >&5
18854 cat >conftest.
$ac_ext <<_ACEOF
18857 cat confdefs.h
>>conftest.
$ac_ext
18858 cat >>conftest.
$ac_ext <<_ACEOF
18859 /* end confdefs.h. */
18860 #include <sys/types.h>
18861 #ifdef HAVE_SYS_PARAM_H
18862 # include <sys/param.h>
18864 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18865 # include <sys/mount.h>
18867 # ifdef STATFS_DEFINED_BY_SYS_VFS
18868 # include <sys/vfs.h>
18870 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18871 # include <sys/statfs.h>
18879 static struct statfs ac_aggr;
18880 if (sizeof ac_aggr.f_namelen)
18886 rm -f conftest.
$ac_objext
18887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18888 (eval $ac_compile) 2>conftest.er1
18890 grep -v '^ *+' conftest.er1
>conftest.err
18892 cat conftest.err
>&5
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); } &&
18895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18897 (eval $ac_try) 2>&5
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); }; } &&
18901 { ac_try
='test -s conftest.$ac_objext'
18902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18903 (eval $ac_try) 2>&5
18905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18906 (exit $ac_status); }; }; then
18907 ac_cv_member_struct_statfs_f_namelen
=yes
18909 echo "$as_me: failed program was:" >&5
18910 sed 's/^/| /' conftest.
$ac_ext >&5
18912 ac_cv_member_struct_statfs_f_namelen
=no
18914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18916 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18918 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18919 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18920 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18922 cat >>confdefs.h
<<_ACEOF
18923 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18930 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18931 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18932 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18933 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 cat >conftest.
$ac_ext <<_ACEOF
18938 cat confdefs.h
>>conftest.
$ac_ext
18939 cat >>conftest.
$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 #ifdef HAVE_SYS_STATVFS_H
18942 #include <sys/statvfs.h>
18948 static struct statvfs ac_aggr;
18949 if (ac_aggr.f_blocks)
18955 rm -f conftest.
$ac_objext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18957 (eval $ac_compile) 2>conftest.er1
18959 grep -v '^ *+' conftest.er1
>conftest.err
18961 cat conftest.err
>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; } &&
18970 { ac_try
='test -s conftest.$ac_objext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18976 ac_cv_member_struct_statvfs_f_blocks
=yes
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.
$ac_ext >&5
18981 cat >conftest.
$ac_ext <<_ACEOF
18984 cat confdefs.h
>>conftest.
$ac_ext
18985 cat >>conftest.
$ac_ext <<_ACEOF
18986 /* end confdefs.h. */
18987 #ifdef HAVE_SYS_STATVFS_H
18988 #include <sys/statvfs.h>
18994 static struct statvfs ac_aggr;
18995 if (sizeof ac_aggr.f_blocks)
19001 rm -f conftest.
$ac_objext
19002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19003 (eval $ac_compile) 2>conftest.er1
19005 grep -v '^ *+' conftest.er1
>conftest.err
19007 cat conftest.err
>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19012 (eval $ac_try) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; } &&
19016 { ac_try
='test -s conftest.$ac_objext'
19017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19018 (eval $ac_try) 2>&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); }; }; then
19022 ac_cv_member_struct_statvfs_f_blocks
=yes
19024 echo "$as_me: failed program was:" >&5
19025 sed 's/^/| /' conftest.
$ac_ext >&5
19027 ac_cv_member_struct_statvfs_f_blocks
=no
19029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19033 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19034 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19035 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19037 cat >>confdefs.h
<<_ACEOF
19038 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19045 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19046 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19047 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19048 echo $ECHO_N "(cached) $ECHO_C" >&6
19050 cat >conftest.
$ac_ext <<_ACEOF
19053 cat confdefs.h
>>conftest.
$ac_ext
19054 cat >>conftest.
$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 #include <sys/types.h>
19057 #ifdef HAVE_SYS_SOCKET_H
19058 # include <sys/socket.h>
19060 #ifdef HAVE_SYS_UN_H
19061 # include <sys/un.h>
19067 static struct msghdr ac_aggr;
19068 if (ac_aggr.msg_accrights)
19074 rm -f conftest.
$ac_objext
19075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19076 (eval $ac_compile) 2>conftest.er1
19078 grep -v '^ *+' conftest.er1
>conftest.err
19080 cat conftest.err
>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); } &&
19083 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19085 (eval $ac_try) 2>&5
19087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19088 (exit $ac_status); }; } &&
19089 { ac_try
='test -s conftest.$ac_objext'
19090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19091 (eval $ac_try) 2>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); }; }; then
19095 ac_cv_member_struct_msghdr_msg_accrights
=yes
19097 echo "$as_me: failed program was:" >&5
19098 sed 's/^/| /' conftest.
$ac_ext >&5
19100 cat >conftest.
$ac_ext <<_ACEOF
19103 cat confdefs.h
>>conftest.
$ac_ext
19104 cat >>conftest.
$ac_ext <<_ACEOF
19105 /* end confdefs.h. */
19106 #include <sys/types.h>
19107 #ifdef HAVE_SYS_SOCKET_H
19108 # include <sys/socket.h>
19110 #ifdef HAVE_SYS_UN_H
19111 # include <sys/un.h>
19117 static struct msghdr ac_aggr;
19118 if (sizeof ac_aggr.msg_accrights)
19124 rm -f conftest.
$ac_objext
19125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19126 (eval $ac_compile) 2>conftest.er1
19128 grep -v '^ *+' conftest.er1
>conftest.err
19130 cat conftest.err
>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); } &&
19133 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19135 (eval $ac_try) 2>&5
19137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19138 (exit $ac_status); }; } &&
19139 { ac_try
='test -s conftest.$ac_objext'
19140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19141 (eval $ac_try) 2>&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); }; }; then
19145 ac_cv_member_struct_msghdr_msg_accrights
=yes
19147 echo "$as_me: failed program was:" >&5
19148 sed 's/^/| /' conftest.
$ac_ext >&5
19150 ac_cv_member_struct_msghdr_msg_accrights
=no
19152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19154 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19156 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19157 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19158 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19160 cat >>confdefs.h
<<_ACEOF
19161 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19166 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19167 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19168 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19169 echo $ECHO_N "(cached) $ECHO_C" >&6
19171 cat >conftest.
$ac_ext <<_ACEOF
19174 cat confdefs.h
>>conftest.
$ac_ext
19175 cat >>conftest.
$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 #include <sys/types.h>
19178 #ifdef HAVE_SYS_SOCKET_H
19179 # include <sys/socket.h>
19181 #ifdef HAVE_SYS_UN_H
19182 # include <sys/un.h>
19188 static struct sockaddr ac_aggr;
19189 if (ac_aggr.sa_len)
19195 rm -f conftest.
$ac_objext
19196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19197 (eval $ac_compile) 2>conftest.er1
19199 grep -v '^ *+' conftest.er1
>conftest.err
19201 cat conftest.err
>&5
19202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19203 (exit $ac_status); } &&
19204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19206 (eval $ac_try) 2>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); }; } &&
19210 { ac_try
='test -s conftest.$ac_objext'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; }; then
19216 ac_cv_member_struct_sockaddr_sa_len
=yes
19218 echo "$as_me: failed program was:" >&5
19219 sed 's/^/| /' conftest.
$ac_ext >&5
19221 cat >conftest.
$ac_ext <<_ACEOF
19224 cat confdefs.h
>>conftest.
$ac_ext
19225 cat >>conftest.
$ac_ext <<_ACEOF
19226 /* end confdefs.h. */
19227 #include <sys/types.h>
19228 #ifdef HAVE_SYS_SOCKET_H
19229 # include <sys/socket.h>
19231 #ifdef HAVE_SYS_UN_H
19232 # include <sys/un.h>
19238 static struct sockaddr ac_aggr;
19239 if (sizeof ac_aggr.sa_len)
19245 rm -f conftest.
$ac_objext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19247 (eval $ac_compile) 2>conftest.er1
19249 grep -v '^ *+' conftest.er1
>conftest.err
19251 cat conftest.err
>&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } &&
19254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19256 (eval $ac_try) 2>&5
19258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259 (exit $ac_status); }; } &&
19260 { ac_try
='test -s conftest.$ac_objext'
19261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19262 (eval $ac_try) 2>&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); }; }; then
19266 ac_cv_member_struct_sockaddr_sa_len
=yes
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.
$ac_ext >&5
19271 ac_cv_member_struct_sockaddr_sa_len
=no
19273 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19275 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19277 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19278 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19279 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19281 cat >>confdefs.h
<<_ACEOF
19282 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19287 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19288 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19289 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19290 echo $ECHO_N "(cached) $ECHO_C" >&6
19292 cat >conftest.
$ac_ext <<_ACEOF
19295 cat confdefs.h
>>conftest.
$ac_ext
19296 cat >>conftest.
$ac_ext <<_ACEOF
19297 /* end confdefs.h. */
19298 #include <sys/types.h>
19299 #ifdef HAVE_SYS_SOCKET_H
19300 # include <sys/socket.h>
19302 #ifdef HAVE_SYS_UN_H
19303 # include <sys/un.h>
19309 static struct sockaddr_un ac_aggr;
19310 if (ac_aggr.sun_len)
19316 rm -f conftest.
$ac_objext
19317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19318 (eval $ac_compile) 2>conftest.er1
19320 grep -v '^ *+' conftest.er1
>conftest.err
19322 cat conftest.err
>&5
19323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19324 (exit $ac_status); } &&
19325 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19327 (eval $ac_try) 2>&5
19329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19330 (exit $ac_status); }; } &&
19331 { ac_try
='test -s conftest.$ac_objext'
19332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19333 (eval $ac_try) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); }; }; then
19337 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19339 echo "$as_me: failed program was:" >&5
19340 sed 's/^/| /' conftest.
$ac_ext >&5
19342 cat >conftest.
$ac_ext <<_ACEOF
19345 cat confdefs.h
>>conftest.
$ac_ext
19346 cat >>conftest.
$ac_ext <<_ACEOF
19347 /* end confdefs.h. */
19348 #include <sys/types.h>
19349 #ifdef HAVE_SYS_SOCKET_H
19350 # include <sys/socket.h>
19352 #ifdef HAVE_SYS_UN_H
19353 # include <sys/un.h>
19359 static struct sockaddr_un ac_aggr;
19360 if (sizeof ac_aggr.sun_len)
19366 rm -f conftest.
$ac_objext
19367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19368 (eval $ac_compile) 2>conftest.er1
19370 grep -v '^ *+' conftest.er1
>conftest.err
19372 cat conftest.err
>&5
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); } &&
19375 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19377 (eval $ac_try) 2>&5
19379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19380 (exit $ac_status); }; } &&
19381 { ac_try
='test -s conftest.$ac_objext'
19382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19383 (eval $ac_try) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); }; }; then
19387 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.
$ac_ext >&5
19392 ac_cv_member_struct_sockaddr_un_sun_len
=no
19394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19396 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19398 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19399 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19400 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19402 cat >>confdefs.h
<<_ACEOF
19403 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19410 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19411 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19412 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19413 echo $ECHO_N "(cached) $ECHO_C" >&6
19415 cat >conftest.
$ac_ext <<_ACEOF
19418 cat confdefs.h
>>conftest.
$ac_ext
19419 cat >>conftest.
$ac_ext <<_ACEOF
19420 /* end confdefs.h. */
19421 #include <signal.h>
19426 static siginfo_t ac_aggr;
19433 rm -f conftest.
$ac_objext
19434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19435 (eval $ac_compile) 2>conftest.er1
19437 grep -v '^ *+' conftest.er1
>conftest.err
19439 cat conftest.err
>&5
19440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19441 (exit $ac_status); } &&
19442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19444 (eval $ac_try) 2>&5
19446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19447 (exit $ac_status); }; } &&
19448 { ac_try
='test -s conftest.$ac_objext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_cv_member_siginfo_t_si_fd
=yes
19456 echo "$as_me: failed program was:" >&5
19457 sed 's/^/| /' conftest.
$ac_ext >&5
19459 cat >conftest.
$ac_ext <<_ACEOF
19462 cat confdefs.h
>>conftest.
$ac_ext
19463 cat >>conftest.
$ac_ext <<_ACEOF
19464 /* end confdefs.h. */
19465 #include <signal.h>
19470 static siginfo_t ac_aggr;
19471 if (sizeof ac_aggr.si_fd)
19477 rm -f conftest.
$ac_objext
19478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19479 (eval $ac_compile) 2>conftest.er1
19481 grep -v '^ *+' conftest.er1
>conftest.err
19483 cat conftest.err
>&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } &&
19486 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19488 (eval $ac_try) 2>&5
19490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19491 (exit $ac_status); }; } &&
19492 { ac_try
='test -s conftest.$ac_objext'
19493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19494 (eval $ac_try) 2>&5
19496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19497 (exit $ac_status); }; }; then
19498 ac_cv_member_siginfo_t_si_fd
=yes
19500 echo "$as_me: failed program was:" >&5
19501 sed 's/^/| /' conftest.
$ac_ext >&5
19503 ac_cv_member_siginfo_t_si_fd
=no
19505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19509 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19510 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19511 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19513 cat >>confdefs.h
<<_ACEOF
19514 #define HAVE_SIGINFO_T_SI_FD 1
19521 echo "$as_me:$LINENO: checking for struct option.name" >&5
19522 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19523 if test "${ac_cv_member_struct_option_name+set}" = set; then
19524 echo $ECHO_N "(cached) $ECHO_C" >&6
19526 cat >conftest.
$ac_ext <<_ACEOF
19529 cat confdefs.h
>>conftest.
$ac_ext
19530 cat >>conftest.
$ac_ext <<_ACEOF
19531 /* end confdefs.h. */
19532 #ifdef HAVE_GETOPT_H
19533 #include <getopt.h>
19539 static struct option ac_aggr;
19546 rm -f conftest.
$ac_objext
19547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19548 (eval $ac_compile) 2>conftest.er1
19550 grep -v '^ *+' conftest.er1
>conftest.err
19552 cat conftest.err
>&5
19553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19554 (exit $ac_status); } &&
19555 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19557 (eval $ac_try) 2>&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); }; } &&
19561 { ac_try
='test -s conftest.$ac_objext'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; }; then
19567 ac_cv_member_struct_option_name
=yes
19569 echo "$as_me: failed program was:" >&5
19570 sed 's/^/| /' conftest.
$ac_ext >&5
19572 cat >conftest.
$ac_ext <<_ACEOF
19575 cat confdefs.h
>>conftest.
$ac_ext
19576 cat >>conftest.
$ac_ext <<_ACEOF
19577 /* end confdefs.h. */
19578 #ifdef HAVE_GETOPT_H
19579 #include <getopt.h>
19585 static struct option ac_aggr;
19586 if (sizeof ac_aggr.name)
19592 rm -f conftest.
$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19596 grep -v '^ *+' conftest.er1
>conftest.err
19598 cat conftest.err
>&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try
='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_cv_member_struct_option_name
=yes
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.
$ac_ext >&5
19618 ac_cv_member_struct_option_name
=no
19620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19624 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19625 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19626 if test $ac_cv_member_struct_option_name = yes; then
19628 cat >>confdefs.h
<<_ACEOF
19629 #define HAVE_STRUCT_OPTION_NAME 1
19636 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19637 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19638 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19639 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 $ac_includes_default
19651 static struct stat ac_aggr;
19652 if (ac_aggr.st_blocks)
19658 rm -f conftest.
$ac_objext
19659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19660 (eval $ac_compile) 2>conftest.er1
19662 grep -v '^ *+' conftest.er1
>conftest.err
19664 cat conftest.err
>&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } &&
19667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19669 (eval $ac_try) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); }; } &&
19673 { ac_try
='test -s conftest.$ac_objext'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 ac_cv_member_struct_stat_st_blocks
=yes
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.
$ac_ext >&5
19684 cat >conftest.
$ac_ext <<_ACEOF
19687 cat confdefs.h
>>conftest.
$ac_ext
19688 cat >>conftest.
$ac_ext <<_ACEOF
19689 /* end confdefs.h. */
19690 $ac_includes_default
19694 static struct stat ac_aggr;
19695 if (sizeof ac_aggr.st_blocks)
19701 rm -f conftest.
$ac_objext
19702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19703 (eval $ac_compile) 2>conftest.er1
19705 grep -v '^ *+' conftest.er1
>conftest.err
19707 cat conftest.err
>&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } &&
19710 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19712 (eval $ac_try) 2>&5
19714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19715 (exit $ac_status); }; } &&
19716 { ac_try
='test -s conftest.$ac_objext'
19717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19718 (eval $ac_try) 2>&5
19720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19721 (exit $ac_status); }; }; then
19722 ac_cv_member_struct_stat_st_blocks
=yes
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.
$ac_ext >&5
19727 ac_cv_member_struct_stat_st_blocks
=no
19729 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19731 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19733 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19734 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19735 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19737 cat >>confdefs.h
<<_ACEOF
19738 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19747 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19748 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19749 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19750 echo $ECHO_N "(cached) $ECHO_C" >&6
19752 cat >conftest.
$ac_ext <<_ACEOF
19755 cat confdefs.h
>>conftest.
$ac_ext
19756 cat >>conftest.
$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19762 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19763 $EGREP "yes" >/dev
/null
2>&1; then
19764 ac_cv_cpp_def___i386__
=yes
19766 ac_cv_cpp_def___i386__
=no
19771 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19772 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19773 if test $ac_cv_cpp_def___i386__ = yes; then
19774 CFLAGS
="$CFLAGS -D__i386__"
19775 LINTFLAGS
="$LINTFLAGS -D__i386__"
19778 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19779 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19780 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19783 cat >conftest.
$ac_ext <<_ACEOF
19786 cat confdefs.h
>>conftest.
$ac_ext
19787 cat >>conftest.
$ac_ext <<_ACEOF
19788 /* end confdefs.h. */
19793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19794 $EGREP "yes" >/dev
/null
2>&1; then
19795 ac_cv_cpp_def___ALPHA__
=yes
19797 ac_cv_cpp_def___ALPHA__
=no
19802 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19803 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19804 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19805 CFLAGS
="$CFLAGS -D__ALPHA__"
19806 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19809 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19810 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19811 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19814 cat >conftest.
$ac_ext <<_ACEOF
19817 cat confdefs.h
>>conftest.
$ac_ext
19818 cat >>conftest.
$ac_ext <<_ACEOF
19819 /* end confdefs.h. */
19824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19825 $EGREP "yes" >/dev
/null
2>&1; then
19826 ac_cv_cpp_def___sparc__
=yes
19828 ac_cv_cpp_def___sparc__
=no
19833 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19834 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19835 if test $ac_cv_cpp_def___sparc__ = yes; then
19836 CFLAGS
="$CFLAGS -D__sparc__"
19837 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19840 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19841 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19842 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19843 echo $ECHO_N "(cached) $ECHO_C" >&6
19845 cat >conftest.
$ac_ext <<_ACEOF
19848 cat confdefs.h
>>conftest.
$ac_ext
19849 cat >>conftest.
$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 #ifndef __powerpc__
19855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19856 $EGREP "yes" >/dev
/null
2>&1; then
19857 ac_cv_cpp_def___powerpc__
=yes
19859 ac_cv_cpp_def___powerpc__
=no
19864 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19865 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19866 if test $ac_cv_cpp_def___powerpc__ = yes; then
19867 CFLAGS
="$CFLAGS -D__powerpc__"
19868 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19873 case $host_vendor in
19874 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19875 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19876 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19877 echo $ECHO_N "(cached) $ECHO_C" >&6
19879 cat >conftest.
$ac_ext <<_ACEOF
19882 cat confdefs.h
>>conftest.
$ac_ext
19883 cat >>conftest.
$ac_ext <<_ACEOF
19884 /* end confdefs.h. */
19889 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19890 $EGREP "yes" >/dev
/null
2>&1; then
19891 ac_cv_cpp_def___sun__
=yes
19893 ac_cv_cpp_def___sun__
=no
19898 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19899 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19900 if test $ac_cv_cpp_def___sun__ = yes; then
19901 CFLAGS
="$CFLAGS -D__sun__"
19902 LINTFLAGS
="$LINTFLAGS -D__sun__"
19911 ac_config_commands
="$ac_config_commands controls"
19913 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
19915 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
19917 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
19919 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
19921 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
19923 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
19925 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19927 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19929 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
19931 ac_config_commands
="$ac_config_commands dlls/user/dde"
19933 ac_config_commands
="$ac_config_commands dlls/user/resources"
19935 ac_config_commands
="$ac_config_commands dlls/wineps/data"
19937 ac_config_commands
="$ac_config_commands files"
19939 ac_config_commands
="$ac_config_commands include/wine"
19941 ac_config_commands
="$ac_config_commands misc"
19943 ac_config_commands
="$ac_config_commands objects"
19945 ac_config_commands
="$ac_config_commands programs/regedit/tests"
19947 ac_config_commands
="$ac_config_commands windows"
19950 MAKE_RULES
=Make.rules
19953 MAKE_DLL_RULES
=dlls
/Makedll.rules
19956 MAKE_TEST_RULES
=dlls
/Maketest.rules
19959 MAKE_LIB_RULES
=libs
/Makelib.rules
19962 MAKE_PROG_RULES
=programs
/Makeprog.rules
19965 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/amstream/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/version/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
19968 cat >confcache
<<\_ACEOF
19969 # This file is a shell script that caches the results of configure
19970 # tests run on this system so they can be shared between configure
19971 # scripts and configure runs, see configure's option --config-cache.
19972 # It is not useful on other systems. If it contains results you don't
19973 # want to keep, you may remove or edit it.
19975 # config.status only pays attention to the cache file if you give it
19976 # the --recheck option to rerun configure.
19978 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19979 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19980 # following values.
19984 # The following way of writing the cache mishandles newlines in values,
19985 # but we know of no workaround that is simple, portable, and efficient.
19986 # So, don't put newlines in cache variables' values.
19987 # Ultrix sh set writes to stderr and can't be redirected directly,
19988 # and sets the high bit in the cache file unless we assign to the vars.
19991 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19993 # `set' does not quote correctly, so add quotes (double-quote
19994 # substitution turns \\\\ into \\, and sed turns \\ into \).
19997 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20000 # `set' quotes correctly as required by POSIX, so do not add quotes.
20002 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20009 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20011 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20013 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20014 if test -w $cache_file; then
20015 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20016 cat confcache
>$cache_file
20018 echo "not updating unwritable cache $cache_file"
20023 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20024 # Let make expand exec_prefix.
20025 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20027 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20028 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20029 # trailing colons and then remove the whole line if VPATH becomes empty
20030 # (actually we leave an empty line to preserve line numbers).
20031 if test "x$srcdir" = x.
; then
20032 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20033 s/:*\$(srcdir):*/:/;
20034 s/:*\${srcdir}:*/:/;
20036 s/^\([^=]*=[ ]*\):*/\1/;
20042 DEFS
=-DHAVE_CONFIG_H
20046 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20047 # 1. Remove the extension, and $U if already installed.
20048 ac_i
=`echo "$ac_i" |
20049 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20051 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20052 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20054 LIBOBJS
=$ac_libobjs
20056 LTLIBOBJS
=$ac_ltlibobjs
20060 : ${CONFIG_STATUS=./config.status}
20061 ac_clean_files_save
=$ac_clean_files
20062 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20063 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20064 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20065 cat >$CONFIG_STATUS <<_ACEOF
20067 # Generated by $as_me.
20068 # Run this file to recreate the current configuration.
20069 # Compiler output produced by configure, useful for debugging
20070 # configure, is in config.log if it exists.
20073 ac_cs_recheck=false
20075 SHELL=\${CONFIG_SHELL-$SHELL}
20078 cat >>$CONFIG_STATUS <<\_ACEOF
20079 ## --------------------- ##
20080 ## M4sh Initialization. ##
20081 ## --------------------- ##
20083 # Be Bourne compatible
20084 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20087 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20088 # is contrary to our usage. Disable this feature.
20089 alias -g '${1+"$@"}'='"$@"'
20090 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20093 DUALCASE
=1; export DUALCASE
# for MKS sh
20095 # Support unset when possible.
20096 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20103 # Work around bugs in pre-3.0 UWIN ksh.
20104 $as_unset ENV MAIL MAILPATH
20111 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20112 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20113 LC_TELEPHONE LC_TIME
20115 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20116 eval $as_var=C
; export $as_var
20122 # Required to use basename.
20123 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20129 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20130 as_basename
=basename
20136 # Name of the executable.
20137 as_me
=`$as_basename "$0" ||
20138 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20139 X"$0" : 'X\(//\)$' \| \
20140 X"$0" : 'X\(/\)$' \| \
20141 . : '\(.\)' 2>/dev/null ||
20143 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20144 /^X\/\(\/\/\)$/{ s//\1/; q; }
20145 /^X\/\(\/\).*/{ s//\1/; q; }
20149 # PATH needs CR, and LINENO needs CR and PATH.
20150 # Avoid depending upon Character Ranges.
20151 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20152 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20153 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20154 as_cr_digits
='0123456789'
20155 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20157 # The user is always right.
20158 if test "${PATH_SEPARATOR+set}" != set; then
20159 echo "#! /bin/sh" >conf$$.sh
20160 echo "exit 0" >>conf$$.sh
20162 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20171 as_lineno_1
=$LINENO
20172 as_lineno_2
=$LINENO
20173 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20174 test "x$as_lineno_1" != "x$as_lineno_2" &&
20175 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20176 # Find who we are. Look in the path if we contain no path at all
20179 *[\\/]* ) as_myself
=$0 ;;
20180 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20181 for as_dir
in $PATH
20184 test -z "$as_dir" && as_dir
=.
20185 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20190 # We did not find ourselves, most probably we were run as `sh COMMAND'
20191 # in which case we are not to be found in the path.
20192 if test "x$as_myself" = x
; then
20195 if test ! -f "$as_myself"; then
20196 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20197 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20198 { (exit 1); exit 1; }; }
20200 case $CONFIG_SHELL in
20202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20203 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20206 test -z "$as_dir" && as_dir
=.
20207 for as_base
in sh bash ksh sh5
; do
20210 if ("$as_dir/$as_base" -c '
20211 as_lineno_1=$LINENO
20212 as_lineno_2=$LINENO
20213 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20214 test "x$as_lineno_1" != "x$as_lineno_2" &&
20215 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20216 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20217 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20218 CONFIG_SHELL
=$as_dir/$as_base
20219 export CONFIG_SHELL
20220 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20228 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20229 # uniformly replaced by the line number. The first 'sed' inserts a
20230 # line-number line before each line; the second 'sed' does the real
20231 # work. The second script uses 'N' to pair each line-number line
20232 # with the numbered line, and appends trailing '-' during
20233 # substitution so that $LINENO is not a special case at line end.
20234 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20235 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20236 sed '=' <$as_myself |
20241 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20244 s,^['$as_cr_digits']*\n,,
20245 ' >$as_me.lineno
&&
20246 chmod +x
$as_me.lineno ||
20247 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20248 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20249 { (exit 1); exit 1; }; }
20251 # Don't try to exec as it changes $[0], causing all sort of problems
20252 # (the dirname of $[0] is not the place where we might find the
20253 # original and so on. Autoconf is especially sensible to this).
20255 # Exit status is that of the last command.
20260 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20261 *c
*,-n*) ECHO_N
= ECHO_C
='
20263 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20264 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20267 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20273 rm -f conf$$ conf$$.exe conf$$.
file
20275 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20276 # We could just check for DJGPP; but this test a) works b) is more generic
20277 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20278 if test -f conf$$.exe
; then
20279 # Don't use ln at all; we don't have any links
20284 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20289 rm -f conf$$ conf$$.exe conf$$.
file
20291 if mkdir
-p .
2>/dev
/null
; then
20294 test -d .
/-p && rmdir .
/-p
20298 as_executable_p
="test -f"
20300 # Sed expression to map a string onto a valid CPP name.
20301 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20303 # Sed expression to map a string onto a valid variable name.
20304 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20308 # We need space, tab and new line, in precisely that order.
20318 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20319 # report actual input values of CONFIG_FILES etc. instead of their
20320 # values after options handling. Logging --version etc. is OK.
20324 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20325 ## Running $as_me. ##
20330 This file was extended by Wine $as_me 20040309, which was
20331 generated by GNU Autoconf 2.59. Invocation command line was
20333 CONFIG_FILES = $CONFIG_FILES
20334 CONFIG_HEADERS = $CONFIG_HEADERS
20335 CONFIG_LINKS = $CONFIG_LINKS
20336 CONFIG_COMMANDS = $CONFIG_COMMANDS
20340 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20344 # Files that config.status was made for.
20345 if test -n "$ac_config_files"; then
20346 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20349 if test -n "$ac_config_headers"; then
20350 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20353 if test -n "$ac_config_links"; then
20354 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20357 if test -n "$ac_config_commands"; then
20358 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20361 cat >>$CONFIG_STATUS <<\_ACEOF
20364 \`$as_me' instantiates files from templates according to the
20365 current configuration.
20367 Usage: $0 [OPTIONS] [FILE]...
20369 -h, --help print this help, then exit
20370 -V, --version print version number, then exit
20371 -q, --quiet do not print progress messages
20372 -d, --debug don't remove temporary files
20373 --recheck update $as_me by reconfiguring in the same conditions
20374 --file=FILE[:TEMPLATE]
20375 instantiate the configuration file FILE
20376 --header=FILE[:TEMPLATE]
20377 instantiate the configuration header FILE
20379 Configuration files:
20382 Configuration headers:
20385 Configuration commands:
20388 Report bugs to <bug-autoconf@gnu.org>."
20391 cat >>$CONFIG_STATUS <<_ACEOF
20393 Wine config.status 20040309
20394 configured by $0, generated by GNU Autoconf 2.59,
20395 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20397 Copyright (C) 2003 Free Software Foundation, Inc.
20398 This config.status script is free software; the Free Software Foundation
20399 gives unlimited permission to copy, distribute and modify it."
20404 cat >>$CONFIG_STATUS <<\_ACEOF
20405 # If no file are specified by the user, then we need to provide default
20406 # value. By we need to know if files were specified by the user.
20412 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20413 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20421 *) # This is not an option, so the user has probably given explicit
20424 ac_need_defaults
=false
;;
20428 # Handling of the options.
20430 cat >>$CONFIG_STATUS <<\_ACEOF
20431 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20433 --version |
--vers* |
-V )
20434 echo "$ac_cs_version"; exit 0 ;;
20436 # Conflict between --help and --header
20437 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20438 Try \`$0 --help' for more information." >&5
20439 echo "$as_me: error: ambiguous option: $1
20440 Try \`$0 --help' for more information." >&2;}
20441 { (exit 1); exit 1; }; };;
20442 --help |
--hel |
-h )
20443 echo "$ac_cs_usage"; exit 0 ;;
20444 --debug |
--d* |
-d )
20446 --file |
--fil |
--fi |
--f )
20448 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20449 ac_need_defaults
=false
;;
20450 --header |
--heade |
--head |
--hea )
20452 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20453 ac_need_defaults
=false
;;
20454 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20455 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20458 # This is an error.
20459 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20460 Try \`$0 --help' for more information." >&5
20461 echo "$as_me: error: unrecognized option: $1
20462 Try \`$0 --help' for more information." >&2;}
20463 { (exit 1); exit 1; }; } ;;
20465 *) ac_config_targets
="$ac_config_targets $1" ;;
20471 ac_configure_extra_args
=
20473 if $ac_cs_silent; then
20475 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20479 cat >>$CONFIG_STATUS <<_ACEOF
20480 if \$ac_cs_recheck; then
20481 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20482 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20491 cat >>$CONFIG_STATUS <<\_ACEOF
20492 for ac_config_target
in $ac_config_targets
20494 case "$ac_config_target" in
20495 # Handling of arguments.
20496 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20497 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20498 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20499 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20500 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20501 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20502 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20503 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20504 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20505 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20506 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20507 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20508 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20509 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20510 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20511 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20512 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20513 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20514 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20515 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20516 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20517 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20518 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20519 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20520 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20521 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20522 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20523 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20524 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20525 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20526 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20527 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20528 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20529 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20530 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20531 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20532 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20533 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20534 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20535 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20536 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20537 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20538 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20539 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20540 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20541 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20542 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20543 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20544 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20545 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20546 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20547 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20548 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20549 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20550 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20551 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20552 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20553 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20554 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20555 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20556 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20557 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20558 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20559 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20560 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20561 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20562 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20563 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20564 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20565 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20566 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20567 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20568 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20569 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20570 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20571 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20572 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20573 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20574 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20575 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20576 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20577 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20578 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20579 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20580 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20581 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20582 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20583 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20584 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20585 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20586 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20587 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20588 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20589 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20590 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20591 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20592 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20593 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20594 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20595 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20596 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20597 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20598 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20599 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20600 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20601 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20602 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20603 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20604 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20605 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20606 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20607 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20608 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20609 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20610 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20611 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20612 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20613 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20614 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20615 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20616 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20617 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20618 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20619 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20620 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20621 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20622 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20623 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20624 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20625 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20626 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20627 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20628 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20629 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20630 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20631 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20632 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20633 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20634 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20635 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20636 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20637 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20638 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20639 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20640 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20641 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20642 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20643 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20644 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20645 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20646 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20647 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20648 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20649 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20650 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20651 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20652 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20653 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20654 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20655 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20656 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20657 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20658 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20659 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20660 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20661 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20662 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20663 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20664 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20665 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20666 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20667 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20668 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20669 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20670 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20671 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20672 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20673 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20674 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20675 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20676 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20677 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20678 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20679 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20680 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20681 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20682 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20683 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20684 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20685 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20686 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20687 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20688 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20689 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20690 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20691 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20692 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20693 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20694 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20695 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20696 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20697 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20698 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20699 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20700 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20701 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20702 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20703 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20704 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20705 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20706 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20707 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20708 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20709 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20710 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20711 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20712 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20713 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20714 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20715 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20716 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20717 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
20718 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20719 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20720 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20721 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20722 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20723 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20724 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20725 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20726 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20727 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20728 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20729 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20730 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
20731 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20732 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20733 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
20734 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20735 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20736 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20737 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20738 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20739 { (exit 1); exit 1; }; };;
20743 # If the user did not use the arguments to specify the items to instantiate,
20744 # then the envvar interface is used. Set only those that are not.
20745 # We use the long form for the default assignment because of an extremely
20746 # bizarre bug on SunOS 4.1.3.
20747 if $ac_need_defaults; then
20748 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20749 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20750 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20753 # Have a temporary directory for convenience. Make it in the build tree
20754 # simply because there is no reason to put it here, and in addition,
20755 # creating and moving files from /tmp can sometimes cause problems.
20756 # Create a temporary directory, and hook for its removal unless debugging.
20759 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20760 trap '{ (exit 1); exit 1; }' 1 2 13 15
20763 # Create a (secure) tmp directory for tmp files.
20766 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20767 test -n "$tmp" && test -d "$tmp"
20770 tmp
=.
/confstat$$
-$RANDOM
20771 (umask 077 && mkdir
$tmp)
20774 echo "$me: cannot create a temporary directory in ." >&2
20775 { (exit 1); exit 1; }
20780 cat >>$CONFIG_STATUS <<_ACEOF
20783 # CONFIG_FILES section.
20786 # No need to generate the scripts if there are no CONFIG_FILES.
20787 # This happens for instance when ./config.status config.h
20788 if test -n "\$CONFIG_FILES"; then
20789 # Protect against being on the right side of a sed subst in config.status.
20790 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20791 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20792 s,@SHELL@,$SHELL,;t t
20793 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20794 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20795 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20796 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20797 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20798 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20799 s,@exec_prefix@,$exec_prefix,;t t
20800 s,@prefix@,$prefix,;t t
20801 s,@program_transform_name@,$program_transform_name,;t t
20802 s,@bindir@,$bindir,;t t
20803 s,@sbindir@,$sbindir,;t t
20804 s,@libexecdir@,$libexecdir,;t t
20805 s,@datadir@,$datadir,;t t
20806 s,@sysconfdir@,$sysconfdir,;t t
20807 s,@sharedstatedir@,$sharedstatedir,;t t
20808 s,@localstatedir@,$localstatedir,;t t
20809 s,@libdir@,$libdir,;t t
20810 s,@includedir@,$includedir,;t t
20811 s,@oldincludedir@,$oldincludedir,;t t
20812 s,@infodir@,$infodir,;t t
20813 s,@mandir@,$mandir,;t t
20814 s,@build_alias@,$build_alias,;t t
20815 s,@host_alias@,$host_alias,;t t
20816 s,@target_alias@,$target_alias,;t t
20817 s,@DEFS@,$DEFS,;t t
20818 s,@ECHO_C@,$ECHO_C,;t t
20819 s,@ECHO_N@,$ECHO_N,;t t
20820 s,@ECHO_T@,$ECHO_T,;t t
20821 s,@LIBS@,$LIBS,;t t
20822 s,@WIN16_FILES@,$WIN16_FILES,;t t
20823 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20824 s,@build@,$build,;t t
20825 s,@build_cpu@,$build_cpu,;t t
20826 s,@build_vendor@,$build_vendor,;t t
20827 s,@build_os@,$build_os,;t t
20828 s,@host@,$host,;t t
20829 s,@host_cpu@,$host_cpu,;t t
20830 s,@host_vendor@,$host_vendor,;t t
20831 s,@host_os@,$host_os,;t t
20832 s,@SET_MAKE@,$SET_MAKE,;t t
20834 s,@CFLAGS@,$CFLAGS,;t t
20835 s,@LDFLAGS@,$LDFLAGS,;t t
20836 s,@CPPFLAGS@,$CPPFLAGS,;t t
20837 s,@ac_ct_CC@,$ac_ct_CC,;t t
20838 s,@EXEEXT@,$EXEEXT,;t t
20839 s,@OBJEXT@,$OBJEXT,;t t
20841 s,@CXXFLAGS@,$CXXFLAGS,;t t
20842 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20843 s,@CPPBIN@,$CPPBIN,;t t
20844 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20845 s,@TOOLSDIR@,$TOOLSDIR,;t t
20847 s,@X_CFLAGS@,$X_CFLAGS,;t t
20848 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20849 s,@X_LIBS@,$X_LIBS,;t t
20850 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20852 s,@LEXLIB@,$LEXLIB,;t t
20853 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20854 s,@XLEX@,$XLEX,;t t
20855 s,@BISON@,$BISON,;t t
20857 s,@ac_ct_AS@,$ac_ct_AS,;t t
20859 s,@ac_ct_LD@,$ac_ct_LD,;t t
20861 s,@ac_ct_AR@,$ac_ct_AR,;t t
20862 s,@RANLIB@,$RANLIB,;t t
20863 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20864 s,@STRIP@,$STRIP,;t t
20865 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20866 s,@WINDRES@,$WINDRES,;t t
20867 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20868 s,@LN_S@,$LN_S,;t t
20870 s,@LDCONFIG@,$LDCONFIG,;t t
20871 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20872 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20873 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20874 s,@LINT@,$LINT,;t t
20875 s,@LINTFLAGS@,$LINTFLAGS,;t t
20876 s,@DB2HTML@,$DB2HTML,;t t
20877 s,@DB2PDF@,$DB2PDF,;t t
20878 s,@DB2PS@,$DB2PS,;t t
20879 s,@DB2TXT@,$DB2TXT,;t t
20880 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20881 s,@JPEGLIB@,$JPEGLIB,;t t
20882 s,@EGREP@,$EGREP,;t t
20883 s,@GIFLIB@,$GIFLIB,;t t
20884 s,@XLIB@,$XLIB,;t t
20885 s,@XFILES@,$XFILES,;t t
20886 s,@OPENGLFILES@,$OPENGLFILES,;t t
20887 s,@GLU32FILES@,$GLU32FILES,;t t
20888 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20889 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20890 s,@GLUT32FILES@,$GLUT32FILES,;t t
20891 s,@NASLIBS@,$NASLIBS,;t t
20892 s,@CURSESLIBS@,$CURSESLIBS,;t t
20893 s,@sane_devel@,$sane_devel,;t t
20894 s,@SANELIBS@,$SANELIBS,;t t
20895 s,@SANEINCL@,$SANEINCL,;t t
20896 s,@ICULIBS@,$ICULIBS,;t t
20897 s,@ft_devel@,$ft_devel,;t t
20898 s,@ft_devel2@,$ft_devel2,;t t
20899 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20900 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20901 s,@ARTSLIBS@,$ARTSLIBS,;t t
20902 s,@ARTSINCL@,$ARTSINCL,;t t
20903 s,@ALSALIBS@,$ALSALIBS,;t t
20904 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20905 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20906 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20907 s,@DLLEXT@,$DLLEXT,;t t
20908 s,@DLLFLAGS@,$DLLFLAGS,;t t
20909 s,@DLLIBS@,$DLLIBS,;t t
20910 s,@LDSHARED@,$LDSHARED,;t t
20911 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20912 s,@LIBEXT@,$LIBEXT,;t t
20913 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20914 s,@DLLTOOL@,$DLLTOOL,;t t
20915 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20916 s,@DLLWRAP@,$DLLWRAP,;t t
20917 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20918 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20919 s,@CROSSTEST@,$CROSSTEST,;t t
20920 s,@CROSSCC@,$CROSSCC,;t t
20921 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20922 s,@LDPATH@,$LDPATH,;t t
20923 s,@CRTLIBS@,$CRTLIBS,;t t
20924 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20925 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
20927 s,@ALLOCA@,$ALLOCA,;t t
20928 s,@LIBOBJS@,$LIBOBJS,;t t
20929 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
20930 /@MAKE_RULES@/r $MAKE_RULES
20931 s,@MAKE_RULES@,,;t t
20932 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
20933 s,@MAKE_DLL_RULES@,,;t t
20934 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
20935 s,@MAKE_TEST_RULES@,,;t t
20936 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
20937 s,@MAKE_LIB_RULES@,,;t t
20938 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
20939 s,@MAKE_PROG_RULES@,,;t t
20944 cat >>$CONFIG_STATUS <<\_ACEOF
20945 # Split the substitutions into bite-sized pieces for seds with
20946 # small command number limits, like on Digital OSF/1 and HP-UX.
20947 ac_max_sed_lines
=48
20948 ac_sed_frag
=1 # Number of current file.
20949 ac_beg
=1 # First line for current file.
20950 ac_end
=$ac_max_sed_lines # Line after last line for current file.
20953 while $ac_more_lines; do
20954 if test $ac_beg -gt 1; then
20955 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20957 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
20959 if test ! -s $tmp/subs.frag
; then
20960 ac_more_lines
=false
20962 # The purpose of the label and of the branching condition is to
20963 # speed up the sed processing (if there are no `@' at all, there
20964 # is no need to browse any of the substitutions).
20965 # These are the two extra sed commands mentioned above.
20967 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
20968 if test -z "$ac_sed_cmds"; then
20969 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
20971 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
20973 ac_sed_frag
=`expr $ac_sed_frag + 1`
20975 ac_end
=`expr $ac_end + $ac_max_sed_lines`
20978 if test -z "$ac_sed_cmds"; then
20981 fi # test -n "$CONFIG_FILES"
20984 cat >>$CONFIG_STATUS <<\_ACEOF
20985 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
20986 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
20988 - |
*:- |
*:-:* ) # input from stdin
20990 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20991 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20992 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
20993 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
20994 * ) ac_file_in
=$ac_file.
in ;;
20997 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
20998 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
20999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21000 X"$ac_file" : 'X\(//\)[^/]' \| \
21001 X"$ac_file" : 'X\(//\)$' \| \
21002 X"$ac_file" : 'X\(/\)' \| \
21003 . : '\(.\)' 2>/dev/null ||
21005 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21006 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21007 /^X\(\/\/\)$/{ s//\1/; q; }
21008 /^X\(\/\).*/{ s//\1/; q; }
21010 { if $as_mkdir_p; then
21015 while test ! -d "$as_dir"; do
21016 as_dirs
="$as_dir $as_dirs"
21017 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21018 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21019 X"$as_dir" : 'X\(//\)[^/]' \| \
21020 X"$as_dir" : 'X\(//\)$' \| \
21021 X"$as_dir" : 'X\(/\)' \| \
21022 . : '\(.\)' 2>/dev/null ||
21024 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21025 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21026 /^X\(\/\/\)$/{ s//\1/; q; }
21027 /^X\(\/\).*/{ s//\1/; q; }
21030 test ! -n "$as_dirs" || mkdir
$as_dirs
21031 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21032 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21033 { (exit 1); exit 1; }; }; }
21037 if test "$ac_dir" != .
; then
21038 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21039 # A "../" for each directory in $ac_dir_suffix.
21040 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21042 ac_dir_suffix
= ac_top_builddir
=
21046 .
) # No --srcdir option. We are building in place.
21048 if test -z "$ac_top_builddir"; then
21051 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21053 [\\/]* | ?
:[\\/]* ) # Absolute path.
21054 ac_srcdir
=$srcdir$ac_dir_suffix;
21055 ac_top_srcdir
=$srcdir ;;
21056 *) # Relative path.
21057 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21058 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21061 # Do not use `cd foo && pwd` to compute absolute paths, because
21062 # the directories may not exist.
21064 .
) ac_abs_builddir
="$ac_dir";;
21067 .
) ac_abs_builddir
=`pwd`;;
21068 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21069 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21072 case $ac_abs_builddir in
21073 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21075 case ${ac_top_builddir}.
in
21076 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21077 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21078 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21081 case $ac_abs_builddir in
21082 .
) ac_abs_srcdir
=$ac_srcdir;;
21085 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21086 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21087 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21090 case $ac_abs_builddir in
21091 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21093 case $ac_top_srcdir in
21094 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21095 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21096 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21102 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21103 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21106 # Let's still pretend it is `configure' which instantiates (i.e., don't
21107 # use $as_me), people would be surprised to read:
21108 # /* config.h. Generated by config.status. */
21109 if test x
"$ac_file" = x-
; then
21112 configure_input
="$ac_file. "
21114 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21115 sed 's,.*/,,'` by configure."
21117 # First look for the input files in the build tree, otherwise in the
21119 ac_file_inputs
=`IFS=:
21120 for f in $ac_file_in; do
21122 -) echo $tmp/stdin ;;
21124 # Absolute (can't be DOS-style, as IFS=:)
21125 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21126 echo "$as_me: error: cannot find input file: $f" >&2;}
21127 { (exit 1); exit 1; }; }
21130 if test -f "$f"; then
21133 elif test -f "$srcdir/$f"; then
21138 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21139 echo "$as_me: error: cannot find input file: $f" >&2;}
21140 { (exit 1); exit 1; }; }
21143 done` ||
{ (exit 1); exit 1; }
21145 if test x
"$ac_file" != x-
; then
21146 { echo "$as_me:$LINENO: creating $ac_file" >&5
21147 echo "$as_me: creating $ac_file" >&6;}
21151 cat >>$CONFIG_STATUS <<_ACEOF
21155 cat >>$CONFIG_STATUS <<\_ACEOF
21157 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21158 s
,@configure_input@
,$configure_input,;t t
21159 s
,@srcdir@
,$ac_srcdir,;t t
21160 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21161 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21162 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21163 s
,@builddir@
,$ac_builddir,;t t
21164 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21165 s
,@top_builddir@
,$ac_top_builddir,;t t
21166 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21167 s
,@INSTALL@
,$ac_INSTALL,;t t
21168 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21170 if test x"$ac_file" != x-; then
21171 mv $tmp/out $ac_file
21179 cat >>$CONFIG_STATUS <<\_ACEOF
21182 # CONFIG_HEADER section.
21185 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21186 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21188 # ac_d sets the value in "#define NAME VALUE" lines.
21189 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21190 ac_dB
='[ ].*$,\1#\2'
21193 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21194 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21195 ac_uB
='$,\1#\2define\3'
21199 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21200 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21202 - |
*:- |
*:-:* ) # input from stdin
21204 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21205 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21206 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21207 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21208 * ) ac_file_in
=$ac_file.
in ;;
21211 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21212 echo "$as_me: creating $ac_file" >&6;}
21214 # First look for the input files in the build tree, otherwise in the
21216 ac_file_inputs
=`IFS=:
21217 for f in $ac_file_in; do
21219 -) echo $tmp/stdin ;;
21221 # Absolute (can't be DOS-style, as IFS=:)
21222 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21223 echo "$as_me: error: cannot find input file: $f" >&2;}
21224 { (exit 1); exit 1; }; }
21225 # Do quote $f, to prevent DOS paths from being IFS'd.
21228 if test -f "$f"; then
21231 elif test -f "$srcdir/$f"; then
21236 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21237 echo "$as_me: error: cannot find input file: $f" >&2;}
21238 { (exit 1); exit 1; }; }
21241 done` ||
{ (exit 1); exit 1; }
21242 # Remove the trailing spaces.
21243 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21247 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21248 # `conftest.undefs', that substitutes the proper values into
21249 # config.h.in to produce config.h. The first handles `#define'
21250 # templates, and the second `#undef' templates.
21251 # And first: Protect against being on the right side of a sed subst in
21252 # config.status. Protect against being in an unquoted here document
21253 # in config.status.
21254 rm -f conftest.defines conftest.undefs
21255 # Using a here document instead of a string reduces the quoting nightmare.
21256 # Putting comments in sed scripts is not portable.
21258 # `end' is used to avoid that the second main sed command (meant for
21259 # 0-ary CPP macros) applies to n-ary macro definitions.
21260 # See the Autoconf documentation for `clear'.
21261 cat >confdef2sed.
sed <<\_ACEOF
21266 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21268 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21271 # If some macros were called several times there might be several times
21272 # the same #defines, which is useless. Nevertheless, we may not want to
21273 # sort them, since we want the *last* AC-DEFINE to be honored.
21274 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21275 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21276 rm -f confdef2sed.sed
21278 # This sed command replaces #undef with comments. This is necessary, for
21279 # example, in the case of _POSIX_SOURCE, which is predefined and required
21280 # on some systems where configure will not decide to define it.
21281 cat >>conftest.undefs <<\_ACEOF
21282 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21285 # Break up conftest.defines because some shells have a limit on the size
21286 # of here documents, and old seds have small limits too (100 cmds).
21287 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21288 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21289 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21290 echo ' :' >>$CONFIG_STATUS
21291 rm -f conftest.tail
21292 while grep . conftest.defines >/dev/null
21294 # Write a limited-size here document to $tmp/defines.sed.
21295 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21296 # Speed up: don't consider the non `#define' lines.
21297 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21298 # Work around the forget-to-reset-the-flag bug.
21299 echo 't clr' >>$CONFIG_STATUS
21300 echo ': clr' >>$CONFIG_STATUS
21301 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21303 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21305 mv $tmp/out $tmp/in
21307 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21308 rm -f conftest.defines
21309 mv conftest.
tail conftest.defines
21311 rm -f conftest.defines
21312 echo ' fi # grep' >>$CONFIG_STATUS
21313 echo >>$CONFIG_STATUS
21315 # Break up conftest.undefs because some shells have a limit on the size
21316 # of here documents, and old seds have small limits too (100 cmds).
21317 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21318 rm -f conftest.
tail
21319 while grep . conftest.undefs
>/dev
/null
21321 # Write a limited-size here document to $tmp/undefs.sed.
21322 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21323 # Speed up: don't consider the non
`#undef'
21324 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21325 # Work around the forget-to-reset-the-flag bug.
21326 echo 't clr' >>$CONFIG_STATUS
21327 echo ': clr' >>$CONFIG_STATUS
21328 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21330 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21332 mv $tmp/out $tmp/in
21334 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21335 rm -f conftest.undefs
21336 mv conftest.tail conftest.undefs
21338 rm -f conftest.undefs
21340 cat >>$CONFIG_STATUS <<\_ACEOF
21341 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21342 # use $as_me), people would be surprised to read:
21343 # /* config.h. Generated by config.status. */
21344 if test x
"$ac_file" = x-
; then
21345 echo "/* Generated by configure. */" >$tmp/config.h
21347 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21349 cat $tmp/in >>$tmp/config.h
21351 if test x
"$ac_file" != x-
; then
21352 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21353 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21354 echo "$as_me: $ac_file is unchanged" >&6;}
21356 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21357 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21358 X"$ac_file" : 'X\(//\)[^/]' \| \
21359 X"$ac_file" : 'X\(//\)$' \| \
21360 X"$ac_file" : 'X\(/\)' \| \
21361 . : '\(.\)' 2>/dev/null ||
21363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21364 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21365 /^X\(\/\/\)$/{ s//\1/; q; }
21366 /^X\(\/\).*/{ s//\1/; q; }
21368 { if $as_mkdir_p; then
21373 while test ! -d "$as_dir"; do
21374 as_dirs
="$as_dir $as_dirs"
21375 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21376 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21377 X"$as_dir" : 'X\(//\)[^/]' \| \
21378 X"$as_dir" : 'X\(//\)$' \| \
21379 X"$as_dir" : 'X\(/\)' \| \
21380 . : '\(.\)' 2>/dev/null ||
21382 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21383 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21384 /^X\(\/\/\)$/{ s//\1/; q; }
21385 /^X\(\/\).*/{ s//\1/; q; }
21388 test ! -n "$as_dirs" || mkdir
$as_dirs
21389 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21390 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21391 { (exit 1); exit 1; }; }; }
21394 mv $tmp/config.h
$ac_file
21398 rm -f $tmp/config.h
21402 cat >>$CONFIG_STATUS <<\_ACEOF
21405 # CONFIG_COMMANDS section.
21407 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21408 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21409 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21410 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21411 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21412 X"$ac_dest" : 'X\(//\)[^/]' \| \
21413 X"$ac_dest" : 'X\(//\)$' \| \
21414 X"$ac_dest" : 'X\(/\)' \| \
21415 . : '\(.\)' 2>/dev/null ||
21417 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21418 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21419 /^X\(\/\/\)$/{ s//\1/; q; }
21420 /^X\(\/\).*/{ s//\1/; q; }
21422 { if $as_mkdir_p; then
21427 while test ! -d "$as_dir"; do
21428 as_dirs
="$as_dir $as_dirs"
21429 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21431 X"$as_dir" : 'X\(//\)[^/]' \| \
21432 X"$as_dir" : 'X\(//\)$' \| \
21433 X"$as_dir" : 'X\(/\)' \| \
21434 . : '\(.\)' 2>/dev/null ||
21436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21437 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21438 /^X\(\/\/\)$/{ s//\1/; q; }
21439 /^X\(\/\).*/{ s//\1/; q; }
21442 test ! -n "$as_dirs" || mkdir
$as_dirs
21443 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21444 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21445 { (exit 1); exit 1; }; }; }
21449 if test "$ac_dir" != .
; then
21450 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21451 # A "../" for each directory in $ac_dir_suffix.
21452 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21454 ac_dir_suffix
= ac_top_builddir
=
21458 .
) # No --srcdir option. We are building in place.
21460 if test -z "$ac_top_builddir"; then
21463 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21465 [\\/]* | ?
:[\\/]* ) # Absolute path.
21466 ac_srcdir
=$srcdir$ac_dir_suffix;
21467 ac_top_srcdir
=$srcdir ;;
21468 *) # Relative path.
21469 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21470 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21473 # Do not use `cd foo && pwd` to compute absolute paths, because
21474 # the directories may not exist.
21476 .
) ac_abs_builddir
="$ac_dir";;
21479 .
) ac_abs_builddir
=`pwd`;;
21480 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21481 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21484 case $ac_abs_builddir in
21485 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21487 case ${ac_top_builddir}.
in
21488 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21489 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21490 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21493 case $ac_abs_builddir in
21494 .
) ac_abs_srcdir
=$ac_srcdir;;
21497 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21498 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21499 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21502 case $ac_abs_builddir in
21503 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21505 case $ac_top_srcdir in
21506 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21507 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21508 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21513 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21514 echo "$as_me: executing $ac_dest commands" >&6;}
21516 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
21517 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
21518 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21519 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21520 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21521 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21522 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21523 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21524 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21525 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21526 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21527 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21528 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21529 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21530 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21531 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21532 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21533 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21534 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21535 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21536 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21537 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21538 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21539 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21540 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21541 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21542 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
21543 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
21544 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21545 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21546 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21547 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21548 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
21549 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
21550 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21551 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21552 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21553 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21558 cat >>$CONFIG_STATUS <<\_ACEOF
21560 { (exit 0); exit 0; }
21562 chmod +x
$CONFIG_STATUS
21563 ac_clean_files
=$ac_clean_files_save
21566 # configure is writing to config.log, and then calls config.status.
21567 # config.status does its own redirection, appending to config.log.
21568 # Unfortunately, on DOS this fails, as config.log is still kept open
21569 # by configure, so config.status won't be able to write to it; its
21570 # output is simply discarded. So we exec the FD to /dev/null,
21571 # effectively closing config.log, so it can be properly (re)opened and
21572 # appended to by config.status. When coming back to configure, we
21573 # need to make the FD available again.
21574 if test "$no_create" != yes; then
21576 ac_config_status_args
=
21577 test "$silent" = yes &&
21578 ac_config_status_args
="$ac_config_status_args --quiet"
21580 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21582 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21583 # would make configure fail if this is the last instruction.
21584 $ac_cs_success ||
{ (exit 1); exit 1; }
21588 if test "$have_x" = "no"
21591 echo "*** Warning: X development files not found. Wine will be built without"
21592 echo "*** X support, which currently does not work, and would probably not be"
21593 echo "*** what you want anyway. You will need to install devel packages of"
21594 echo "*** Xlib/Xfree86 at the very least."
21597 if test "$wine_cv_opengl_version_OK" = "no"
21600 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21601 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21604 if test "$wine_cv_msg_freetype" = "yes"
21607 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21608 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21609 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21610 echo "*** enable Wine to use TrueType fonts."
21614 echo "Configure finished. Do 'make depend && make' to compile Wine."