2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040213.
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
='20040213'
273 PACKAGE_STRING
='Wine 20040213'
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 YACC LEX LEXLIB LEX_OUTPUT_ROOT XYACC XLEX 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 20040213 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 20040213:";;
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 20040213
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 20040213, 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 'bison -y' byacc
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_YACC+set}" = set; then
4510 echo $ECHO_N "(cached) $ECHO_C" >&6
4512 if test -n "$YACC"; then
4513 ac_cv_prog_YACC
="$YACC" # 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_YACC
="$ac_prog"
4523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4531 YACC
=$ac_cv_prog_YACC
4532 if test -n "$YACC"; then
4533 echo "$as_me:$LINENO: result: $YACC" >&5
4534 echo "${ECHO_T}$YACC" >&6
4536 echo "$as_me:$LINENO: result: no" >&5
4537 echo "${ECHO_T}no" >&6
4540 test -n "$YACC" && break
4542 test -n "$YACC" || YACC
="yacc"
4544 for ac_prog
in flex
lex
4546 # Extract the first word of "$ac_prog", so it can be a program name with args.
4547 set dummy
$ac_prog; ac_word
=$2
4548 echo "$as_me:$LINENO: checking for $ac_word" >&5
4549 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4550 if test "${ac_cv_prog_LEX+set}" = set; then
4551 echo $ECHO_N "(cached) $ECHO_C" >&6
4553 if test -n "$LEX"; then
4554 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4560 test -z "$as_dir" && as_dir
=.
4561 for ac_exec_ext
in '' $ac_executable_extensions; do
4562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4563 ac_cv_prog_LEX
="$ac_prog"
4564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4573 if test -n "$LEX"; then
4574 echo "$as_me:$LINENO: result: $LEX" >&5
4575 echo "${ECHO_T}$LEX" >&6
4577 echo "$as_me:$LINENO: result: no" >&5
4578 echo "${ECHO_T}no" >&6
4581 test -n "$LEX" && break
4583 test -n "$LEX" || LEX
=":"
4585 if test -z "$LEXLIB"
4587 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4588 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4589 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4590 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 ac_check_lib_save_LIBS
=$LIBS
4594 cat >conftest.
$ac_ext <<_ACEOF
4597 cat confdefs.h
>>conftest.
$ac_ext
4598 cat >>conftest.
$ac_ext <<_ACEOF
4599 /* end confdefs.h. */
4601 /* Override any gcc2 internal prototype to avoid an error. */
4605 /* We use char because int might match the return type of a gcc2
4606 builtin and then its argument prototype would still apply. */
4616 rm -f conftest.
$ac_objext conftest
$ac_exeext
4617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4618 (eval $ac_link) 2>conftest.er1
4620 grep -v '^ *+' conftest.er1
>conftest.err
4622 cat conftest.err
>&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); } &&
4625 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; } &&
4631 { ac_try
='test -s conftest$ac_exeext'
4632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4636 (exit $ac_status); }; }; then
4637 ac_cv_lib_fl_yywrap
=yes
4639 echo "$as_me: failed program was:" >&5
4640 sed 's/^/| /' conftest.
$ac_ext >&5
4642 ac_cv_lib_fl_yywrap
=no
4644 rm -f conftest.err conftest.
$ac_objext \
4645 conftest
$ac_exeext conftest.
$ac_ext
4646 LIBS
=$ac_check_lib_save_LIBS
4648 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4649 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4650 if test $ac_cv_lib_fl_yywrap = yes; then
4653 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4654 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4655 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4656 echo $ECHO_N "(cached) $ECHO_C" >&6
4658 ac_check_lib_save_LIBS
=$LIBS
4660 cat >conftest.
$ac_ext <<_ACEOF
4663 cat confdefs.h
>>conftest.
$ac_ext
4664 cat >>conftest.
$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4667 /* Override any gcc2 internal prototype to avoid an error. */
4671 /* We use char because int might match the return type of a gcc2
4672 builtin and then its argument prototype would still apply. */
4682 rm -f conftest.
$ac_objext conftest
$ac_exeext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4684 (eval $ac_link) 2>conftest.er1
4686 grep -v '^ *+' conftest.er1
>conftest.err
4688 cat conftest.err
>&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } &&
4691 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4696 (exit $ac_status); }; } &&
4697 { ac_try
='test -s conftest$ac_exeext'
4698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4702 (exit $ac_status); }; }; then
4703 ac_cv_lib_l_yywrap
=yes
4705 echo "$as_me: failed program was:" >&5
4706 sed 's/^/| /' conftest.
$ac_ext >&5
4708 ac_cv_lib_l_yywrap
=no
4710 rm -f conftest.err conftest.
$ac_objext \
4711 conftest
$ac_exeext conftest.
$ac_ext
4712 LIBS
=$ac_check_lib_save_LIBS
4714 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4715 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4716 if test $ac_cv_lib_l_yywrap = yes; then
4724 if test "x$LEX" != "x:"; then
4725 echo "$as_me:$LINENO: checking lex output file root" >&5
4726 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4727 if test "${ac_cv_prog_lex_root+set}" = set; then
4728 echo $ECHO_N "(cached) $ECHO_C" >&6
4730 # The minimal lex program is just a single line: %%. But some broken lexes
4731 # (Solaris, I think it was) want two %% lines, so accommodate them.
4732 cat >conftest.l
<<_ACEOF
4736 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4737 (eval $LEX conftest.l
) 2>&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }
4741 if test -f lex.yy.c
; then
4742 ac_cv_prog_lex_root
=lex.yy
4743 elif test -f lexyy.c
; then
4744 ac_cv_prog_lex_root
=lexyy
4746 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4747 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4748 { (exit 1); exit 1; }; }
4751 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4752 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4754 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4756 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4757 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4758 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4759 echo $ECHO_N "(cached) $ECHO_C" >&6
4761 # POSIX says lex can declare yytext either as a pointer or an array; the
4762 # default is implementation-dependent. Figure out which it is, since
4763 # not all implementations provide the %pointer and %array declarations.
4764 ac_cv_prog_lex_yytext_pointer
=no
4765 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4767 LIBS
="$LIBS $LEXLIB"
4768 cat >conftest.
$ac_ext <<_ACEOF
4769 `cat $LEX_OUTPUT_ROOT.c`
4771 rm -f conftest.
$ac_objext conftest
$ac_exeext
4772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4773 (eval $ac_link) 2>conftest.er1
4775 grep -v '^ *+' conftest.er1
>conftest.err
4777 cat conftest.err
>&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } &&
4780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); }; } &&
4786 { ac_try
='test -s conftest$ac_exeext'
4787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); }; }; then
4792 ac_cv_prog_lex_yytext_pointer
=yes
4794 echo "$as_me: failed program was:" >&5
4795 sed 's/^/| /' conftest.
$ac_ext >&5
4798 rm -f conftest.err conftest.
$ac_objext \
4799 conftest
$ac_exeext conftest.
$ac_ext
4801 rm -f "${LEX_OUTPUT_ROOT}.c"
4804 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4805 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4806 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4808 cat >>confdefs.h
<<\_ACEOF
4809 #define YYTEXT_POINTER 1
4816 for ac_prog
in $YACC bison
yacc
4818 # Extract the first word of "$ac_prog", so it can be a program name with args.
4819 set dummy
$ac_prog; ac_word
=$2
4820 echo "$as_me:$LINENO: checking for $ac_word" >&5
4821 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4822 if test "${ac_cv_prog_XYACC+set}" = set; then
4823 echo $ECHO_N "(cached) $ECHO_C" >&6
4825 if test -n "$XYACC"; then
4826 ac_cv_prog_XYACC
="$XYACC" # Let the user override the test.
4828 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4832 test -z "$as_dir" && as_dir
=.
4833 for ac_exec_ext
in '' $ac_executable_extensions; do
4834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_XYACC
="$ac_prog"
4836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 XYACC
=$ac_cv_prog_XYACC
4845 if test -n "$XYACC"; then
4846 echo "$as_me:$LINENO: result: $XYACC" >&5
4847 echo "${ECHO_T}$XYACC" >&6
4849 echo "$as_me:$LINENO: result: no" >&5
4850 echo "${ECHO_T}no" >&6
4853 test -n "$XYACC" && break
4855 test -n "$XYACC" || XYACC
="none"
4857 if test "$XYACC" = "none"
4859 { { echo "$as_me:$LINENO: error: no suitable bison/yacc found. Please install the 'bison' package." >&5
4860 echo "$as_me: error: no suitable bison/yacc found. Please install the 'bison' package." >&2;}
4861 { (exit 1); exit 1; }; }
4863 for ac_prog
in $LEX flex
lex
4865 # Extract the first word of "$ac_prog", so it can be a program name with args.
4866 set dummy
$ac_prog; ac_word
=$2
4867 echo "$as_me:$LINENO: checking for $ac_word" >&5
4868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4869 if test "${ac_cv_prog_XLEX+set}" = set; then
4870 echo $ECHO_N "(cached) $ECHO_C" >&6
4872 if test -n "$XLEX"; then
4873 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4875 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4879 test -z "$as_dir" && as_dir
=.
4880 for ac_exec_ext
in '' $ac_executable_extensions; do
4881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_XLEX
="$ac_prog"
4883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4891 XLEX
=$ac_cv_prog_XLEX
4892 if test -n "$XLEX"; then
4893 echo "$as_me:$LINENO: result: $XLEX" >&5
4894 echo "${ECHO_T}$XLEX" >&6
4896 echo "$as_me:$LINENO: result: no" >&5
4897 echo "${ECHO_T}no" >&6
4900 test -n "$XLEX" && break
4902 test -n "$XLEX" || XLEX
="none"
4904 if test "$XLEX" = "none"
4906 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4907 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4908 { (exit 1); exit 1; }; }
4911 if test -n "$ac_tool_prefix"; then
4912 for ac_prog
in gas as
4914 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4915 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4916 echo "$as_me:$LINENO: checking for $ac_word" >&5
4917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4918 if test "${ac_cv_prog_AS+set}" = set; then
4919 echo $ECHO_N "(cached) $ECHO_C" >&6
4921 if test -n "$AS"; then
4922 ac_cv_prog_AS
="$AS" # Let the user override the test.
4924 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4928 test -z "$as_dir" && as_dir
=.
4929 for ac_exec_ext
in '' $ac_executable_extensions; do
4930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4931 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4941 if test -n "$AS"; then
4942 echo "$as_me:$LINENO: result: $AS" >&5
4943 echo "${ECHO_T}$AS" >&6
4945 echo "$as_me:$LINENO: result: no" >&5
4946 echo "${ECHO_T}no" >&6
4949 test -n "$AS" && break
4952 if test -z "$AS"; then
4954 for ac_prog
in gas as
4956 # Extract the first word of "$ac_prog", so it can be a program name with args.
4957 set dummy
$ac_prog; ac_word
=$2
4958 echo "$as_me:$LINENO: checking for $ac_word" >&5
4959 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4960 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4961 echo $ECHO_N "(cached) $ECHO_C" >&6
4963 if test -n "$ac_ct_AS"; then
4964 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir
=.
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_ac_ct_AS
="$ac_prog"
4974 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4983 if test -n "$ac_ct_AS"; then
4984 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4985 echo "${ECHO_T}$ac_ct_AS" >&6
4987 echo "$as_me:$LINENO: result: no" >&5
4988 echo "${ECHO_T}no" >&6
4991 test -n "$ac_ct_AS" && break
4993 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4998 if test -n "$ac_tool_prefix"; then
4999 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5000 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
5001 echo "$as_me:$LINENO: checking for $ac_word" >&5
5002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5003 if test "${ac_cv_prog_LD+set}" = set; then
5004 echo $ECHO_N "(cached) $ECHO_C" >&6
5006 if test -n "$LD"; then
5007 ac_cv_prog_LD
="$LD" # Let the user override the test.
5009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir
=.
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5016 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 if test -n "$LD"; then
5027 echo "$as_me:$LINENO: result: $LD" >&5
5028 echo "${ECHO_T}$LD" >&6
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5035 if test -z "$ac_cv_prog_LD"; then
5037 # Extract the first word of "ld", so it can be a program name with args.
5038 set dummy ld
; ac_word
=$2
5039 echo "$as_me:$LINENO: checking for $ac_word" >&5
5040 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5041 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5042 echo $ECHO_N "(cached) $ECHO_C" >&6
5044 if test -n "$ac_ct_LD"; then
5045 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5051 test -z "$as_dir" && as_dir
=.
5052 for ac_exec_ext
in '' $ac_executable_extensions; do
5053 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5054 ac_cv_prog_ac_ct_LD
="ld"
5055 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5061 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5064 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5065 if test -n "$ac_ct_LD"; then
5066 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5067 echo "${ECHO_T}$ac_ct_LD" >&6
5069 echo "$as_me:$LINENO: result: no" >&5
5070 echo "${ECHO_T}no" >&6
5078 if test -n "$ac_tool_prefix"; then
5079 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5080 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5081 echo "$as_me:$LINENO: checking for $ac_word" >&5
5082 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5083 if test "${ac_cv_prog_AR+set}" = set; then
5084 echo $ECHO_N "(cached) $ECHO_C" >&6
5086 if test -n "$AR"; then
5087 ac_cv_prog_AR
="$AR" # Let the user override the test.
5089 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5093 test -z "$as_dir" && as_dir
=.
5094 for ac_exec_ext
in '' $ac_executable_extensions; do
5095 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5097 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5106 if test -n "$AR"; then
5107 echo "$as_me:$LINENO: result: $AR" >&5
5108 echo "${ECHO_T}$AR" >&6
5110 echo "$as_me:$LINENO: result: no" >&5
5111 echo "${ECHO_T}no" >&6
5115 if test -z "$ac_cv_prog_AR"; then
5117 # Extract the first word of "ar", so it can be a program name with args.
5118 set dummy
ar; ac_word
=$2
5119 echo "$as_me:$LINENO: checking for $ac_word" >&5
5120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5121 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5122 echo $ECHO_N "(cached) $ECHO_C" >&6
5124 if test -n "$ac_ct_AR"; then
5125 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5131 test -z "$as_dir" && as_dir
=.
5132 for ac_exec_ext
in '' $ac_executable_extensions; do
5133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5134 ac_cv_prog_ac_ct_AR
="ar"
5135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5141 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5144 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5145 if test -n "$ac_ct_AR"; then
5146 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5147 echo "${ECHO_T}$ac_ct_AR" >&6
5149 echo "$as_me:$LINENO: result: no" >&5
5150 echo "${ECHO_T}no" >&6
5158 if test -n "$ac_tool_prefix"; then
5159 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5160 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5161 echo "$as_me:$LINENO: checking for $ac_word" >&5
5162 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5163 if test "${ac_cv_prog_RANLIB+set}" = set; then
5164 echo $ECHO_N "(cached) $ECHO_C" >&6
5166 if test -n "$RANLIB"; then
5167 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5173 test -z "$as_dir" && as_dir
=.
5174 for ac_exec_ext
in '' $ac_executable_extensions; do
5175 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5176 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5177 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 RANLIB
=$ac_cv_prog_RANLIB
5186 if test -n "$RANLIB"; then
5187 echo "$as_me:$LINENO: result: $RANLIB" >&5
5188 echo "${ECHO_T}$RANLIB" >&6
5190 echo "$as_me:$LINENO: result: no" >&5
5191 echo "${ECHO_T}no" >&6
5195 if test -z "$ac_cv_prog_RANLIB"; then
5196 ac_ct_RANLIB
=$RANLIB
5197 # Extract the first word of "ranlib", so it can be a program name with args.
5198 set dummy ranlib
; ac_word
=$2
5199 echo "$as_me:$LINENO: checking for $ac_word" >&5
5200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5201 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5204 if test -n "$ac_ct_RANLIB"; then
5205 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir
=.
5212 for ac_exec_ext
in '' $ac_executable_extensions; do
5213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5224 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5225 if test -n "$ac_ct_RANLIB"; then
5226 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5227 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5229 echo "$as_me:$LINENO: result: no" >&5
5230 echo "${ECHO_T}no" >&6
5233 RANLIB
=$ac_ct_RANLIB
5235 RANLIB
="$ac_cv_prog_RANLIB"
5238 if test -n "$ac_tool_prefix"; then
5239 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5240 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5241 echo "$as_me:$LINENO: checking for $ac_word" >&5
5242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5243 if test "${ac_cv_prog_STRIP+set}" = set; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 if test -n "$STRIP"; then
5247 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5253 test -z "$as_dir" && as_dir
=.
5254 for ac_exec_ext
in '' $ac_executable_extensions; do
5255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5256 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5265 STRIP
=$ac_cv_prog_STRIP
5266 if test -n "$STRIP"; then
5267 echo "$as_me:$LINENO: result: $STRIP" >&5
5268 echo "${ECHO_T}$STRIP" >&6
5270 echo "$as_me:$LINENO: result: no" >&5
5271 echo "${ECHO_T}no" >&6
5275 if test -z "$ac_cv_prog_STRIP"; then
5277 # Extract the first word of "strip", so it can be a program name with args.
5278 set dummy strip
; ac_word
=$2
5279 echo "$as_me:$LINENO: checking for $ac_word" >&5
5280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5281 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5282 echo $ECHO_N "(cached) $ECHO_C" >&6
5284 if test -n "$ac_ct_STRIP"; then
5285 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5291 test -z "$as_dir" && as_dir
=.
5292 for ac_exec_ext
in '' $ac_executable_extensions; do
5293 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5294 ac_cv_prog_ac_ct_STRIP
="strip"
5295 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5301 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5304 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5305 if test -n "$ac_ct_STRIP"; then
5306 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5307 echo "${ECHO_T}$ac_ct_STRIP" >&6
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5315 STRIP
="$ac_cv_prog_STRIP"
5318 if test -n "$ac_tool_prefix"; then
5319 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5320 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_WINDRES+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5326 if test -n "$WINDRES"; then
5327 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5333 test -z "$as_dir" && as_dir
=.
5334 for ac_exec_ext
in '' $ac_executable_extensions; do
5335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5345 WINDRES
=$ac_cv_prog_WINDRES
5346 if test -n "$WINDRES"; then
5347 echo "$as_me:$LINENO: result: $WINDRES" >&5
5348 echo "${ECHO_T}$WINDRES" >&6
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5355 if test -z "$ac_cv_prog_WINDRES"; then
5356 ac_ct_WINDRES
=$WINDRES
5357 # Extract the first word of "windres", so it can be a program name with args.
5358 set dummy windres
; ac_word
=$2
5359 echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5361 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 if test -n "$ac_ct_WINDRES"; then
5365 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_ac_ct_WINDRES
="windres"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5381 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5384 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5385 if test -n "$ac_ct_WINDRES"; then
5386 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5387 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5389 echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6
5393 WINDRES
=$ac_ct_WINDRES
5395 WINDRES
="$ac_cv_prog_WINDRES"
5398 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5399 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5401 if test "$LN_S" = "ln -s"; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5405 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5406 echo "${ECHO_T}no, using $LN_S" >&6
5409 echo "$as_me:$LINENO: checking whether ln works" >&5
5410 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5411 rm -f conf$$ conf$$.
file
5413 if ln conf$$.
file conf$$
2>/dev
/null
; then
5416 echo "$as_me:$LINENO: result: yes" >&5
5417 echo "${ECHO_T}yes" >&6
5421 echo "$as_me:$LINENO: result: no, using $LN" >&5
5422 echo "${ECHO_T}no, using $LN" >&6
5424 rm -f conf$$ conf$$.
file
5425 # Extract the first word of "ldconfig", so it can be a program name with args.
5426 set dummy ldconfig
; ac_word
=$2
5427 echo "$as_me:$LINENO: checking for $ac_word" >&5
5428 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5429 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5434 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5438 for as_dir
in /sbin
/usr
/sbin
$PATH
5441 test -z "$as_dir" && as_dir
=.
5442 for ac_exec_ext
in '' $ac_executable_extensions; do
5443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5444 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5451 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5455 LDCONFIG
=$ac_cv_path_LDCONFIG
5457 if test -n "$LDCONFIG"; then
5458 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5459 echo "${ECHO_T}$LDCONFIG" >&6
5461 echo "$as_me:$LINENO: result: no" >&5
5462 echo "${ECHO_T}no" >&6
5465 # Find a good install program. We prefer a C program (faster),
5466 # so one script is as good as another. But avoid the broken or
5467 # incompatible versions:
5468 # SysV /etc/install, /usr/sbin/install
5469 # SunOS /usr/etc/install
5470 # IRIX /sbin/install
5472 # AmigaOS /C/install, which installs bootblocks on floppy discs
5473 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5474 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5475 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5476 # OS/2's system install, which has a completely different semantic
5477 # ./install, which can be erroneously created by make from ./install.sh.
5478 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5479 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5480 if test -z "$INSTALL"; then
5481 if test "${ac_cv_path_install+set}" = set; then
5482 echo $ECHO_N "(cached) $ECHO_C" >&6
5484 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5488 test -z "$as_dir" && as_dir
=.
5489 # Account for people who put trailing slashes in PATH elements.
5491 .
/ | .
// |
/cC
/* | \
5492 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5493 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5496 # OSF1 and SCO ODT 3.0 have their own names for install.
5497 # Don't use installbsd from OSF since it installs stuff as root
5499 for ac_prog
in ginstall scoinst
install; do
5500 for ac_exec_ext
in '' $ac_executable_extensions; do
5501 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5502 if test $ac_prog = install &&
5503 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5504 # AIX install. It has an incompatible calling convention.
5506 elif test $ac_prog = install &&
5507 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5508 # program-specific install script used by HP pwplus--don't use.
5511 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5523 if test "${ac_cv_path_install+set}" = set; then
5524 INSTALL
=$ac_cv_path_install
5526 # As a last resort, use the slow shell script. We don't cache a
5527 # path for INSTALL within a source directory, because that will
5528 # break other packages using the cache if that directory is
5529 # removed, or if the path is relative.
5530 INSTALL
=$ac_install_sh
5533 echo "$as_me:$LINENO: result: $INSTALL" >&5
5534 echo "${ECHO_T}$INSTALL" >&6
5536 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5537 # It thinks the first close brace ends the variable substitution.
5538 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5540 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5542 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5545 [\\/$
]* | ?
:[\\/]* ) ;;
5546 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5549 for ac_prog
in lclint lint
5551 # Extract the first word of "$ac_prog", so it can be a program name with args.
5552 set dummy
$ac_prog; ac_word
=$2
5553 echo "$as_me:$LINENO: checking for $ac_word" >&5
5554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5555 if test "${ac_cv_prog_LINT+set}" = set; then
5556 echo $ECHO_N "(cached) $ECHO_C" >&6
5558 if test -n "$LINT"; then
5559 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5565 test -z "$as_dir" && as_dir
=.
5566 for ac_exec_ext
in '' $ac_executable_extensions; do
5567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_LINT
="$ac_prog"
5569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5577 LINT
=$ac_cv_prog_LINT
5578 if test -n "$LINT"; then
5579 echo "$as_me:$LINENO: result: $LINT" >&5
5580 echo "${ECHO_T}$LINT" >&6
5582 echo "$as_me:$LINENO: result: no" >&5
5583 echo "${ECHO_T}no" >&6
5586 test -n "$LINT" && break
5589 if test "$LINT" = "lint"
5591 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5596 for ac_prog
in docbook2html db2html
5598 # Extract the first word of "$ac_prog", so it can be a program name with args.
5599 set dummy
$ac_prog; ac_word
=$2
5600 echo "$as_me:$LINENO: checking for $ac_word" >&5
5601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5602 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5603 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 if test -n "$DB2HTML"; then
5606 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5608 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5612 test -z "$as_dir" && as_dir
=.
5613 for ac_exec_ext
in '' $ac_executable_extensions; do
5614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5615 ac_cv_prog_DB2HTML
="$ac_prog"
5616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5624 DB2HTML
=$ac_cv_prog_DB2HTML
5625 if test -n "$DB2HTML"; then
5626 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5627 echo "${ECHO_T}$DB2HTML" >&6
5629 echo "$as_me:$LINENO: result: no" >&5
5630 echo "${ECHO_T}no" >&6
5633 test -n "$DB2HTML" && break
5635 test -n "$DB2HTML" || DB2HTML
="false"
5639 for ac_prog
in docbook2pdf db2pdf
5641 # Extract the first word of "$ac_prog", so it can be a program name with args.
5642 set dummy
$ac_prog; ac_word
=$2
5643 echo "$as_me:$LINENO: checking for $ac_word" >&5
5644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5645 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5646 echo $ECHO_N "(cached) $ECHO_C" >&6
5648 if test -n "$DB2PDF"; then
5649 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5655 test -z "$as_dir" && as_dir
=.
5656 for ac_exec_ext
in '' $ac_executable_extensions; do
5657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5658 ac_cv_prog_DB2PDF
="$ac_prog"
5659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5667 DB2PDF
=$ac_cv_prog_DB2PDF
5668 if test -n "$DB2PDF"; then
5669 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5670 echo "${ECHO_T}$DB2PDF" >&6
5672 echo "$as_me:$LINENO: result: no" >&5
5673 echo "${ECHO_T}no" >&6
5676 test -n "$DB2PDF" && break
5678 test -n "$DB2PDF" || DB2PDF
="false"
5682 for ac_prog
in docbook2ps db2ps
5684 # Extract the first word of "$ac_prog", so it can be a program name with args.
5685 set dummy
$ac_prog; ac_word
=$2
5686 echo "$as_me:$LINENO: checking for $ac_word" >&5
5687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5688 if test "${ac_cv_prog_DB2PS+set}" = set; then
5689 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 if test -n "$DB2PS"; then
5692 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5694 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5698 test -z "$as_dir" && as_dir
=.
5699 for ac_exec_ext
in '' $ac_executable_extensions; do
5700 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5701 ac_cv_prog_DB2PS
="$ac_prog"
5702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5710 DB2PS
=$ac_cv_prog_DB2PS
5711 if test -n "$DB2PS"; then
5712 echo "$as_me:$LINENO: result: $DB2PS" >&5
5713 echo "${ECHO_T}$DB2PS" >&6
5715 echo "$as_me:$LINENO: result: no" >&5
5716 echo "${ECHO_T}no" >&6
5719 test -n "$DB2PS" && break
5721 test -n "$DB2PS" || DB2PS
="false"
5725 for ac_prog
in docbook2txt db2txt
5727 # Extract the first word of "$ac_prog", so it can be a program name with args.
5728 set dummy
$ac_prog; ac_word
=$2
5729 echo "$as_me:$LINENO: checking for $ac_word" >&5
5730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5731 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5734 if test -n "$DB2TXT"; then
5735 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5741 test -z "$as_dir" && as_dir
=.
5742 for ac_exec_ext
in '' $ac_executable_extensions; do
5743 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_DB2TXT
="$ac_prog"
5745 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5753 DB2TXT
=$ac_cv_prog_DB2TXT
5754 if test -n "$DB2TXT"; then
5755 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5756 echo "${ECHO_T}$DB2TXT" >&6
5758 echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6
5762 test -n "$DB2TXT" && break
5764 test -n "$DB2TXT" || DB2TXT
="false"
5770 echo "$as_me:$LINENO: checking for sqrt in -lm" >&5
5771 echo $ECHO_N "checking for sqrt in -lm... $ECHO_C" >&6
5772 if test "${ac_cv_lib_m_sqrt+set}" = set; then
5773 echo $ECHO_N "(cached) $ECHO_C" >&6
5775 ac_check_lib_save_LIBS
=$LIBS
5777 cat >conftest.
$ac_ext <<_ACEOF
5780 cat confdefs.h
>>conftest.
$ac_ext
5781 cat >>conftest.
$ac_ext <<_ACEOF
5782 /* end confdefs.h. */
5784 /* Override any gcc2 internal prototype to avoid an error. */
5788 /* We use char because int might match the return type of a gcc2
5789 builtin and then its argument prototype would still apply. */
5799 rm -f conftest.
$ac_objext conftest
$ac_exeext
5800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5801 (eval $ac_link) 2>conftest.er1
5803 grep -v '^ *+' conftest.er1
>conftest.err
5805 cat conftest.err
>&5
5806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5807 (exit $ac_status); } &&
5808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5813 (exit $ac_status); }; } &&
5814 { ac_try
='test -s conftest$ac_exeext'
5815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5819 (exit $ac_status); }; }; then
5820 ac_cv_lib_m_sqrt
=yes
5822 echo "$as_me: failed program was:" >&5
5823 sed 's/^/| /' conftest.
$ac_ext >&5
5827 rm -f conftest.err conftest.
$ac_objext \
5828 conftest
$ac_exeext conftest.
$ac_ext
5829 LIBS
=$ac_check_lib_save_LIBS
5831 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sqrt" >&5
5832 echo "${ECHO_T}$ac_cv_lib_m_sqrt" >&6
5833 if test $ac_cv_lib_m_sqrt = yes; then
5834 cat >>confdefs.h
<<_ACEOF
5843 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5844 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5845 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5846 echo $ECHO_N "(cached) $ECHO_C" >&6
5848 ac_check_lib_save_LIBS
=$LIBS
5850 cat >conftest.
$ac_ext <<_ACEOF
5853 cat confdefs.h
>>conftest.
$ac_ext
5854 cat >>conftest.
$ac_ext <<_ACEOF
5855 /* end confdefs.h. */
5857 /* Override any gcc2 internal prototype to avoid an error. */
5861 /* We use char because int might match the return type of a gcc2
5862 builtin and then its argument prototype would still apply. */
5863 char i386_set_ldt ();
5872 rm -f conftest.
$ac_objext conftest
$ac_exeext
5873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5874 (eval $ac_link) 2>conftest.er1
5876 grep -v '^ *+' conftest.er1
>conftest.err
5878 cat conftest.err
>&5
5879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5880 (exit $ac_status); } &&
5881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5886 (exit $ac_status); }; } &&
5887 { ac_try
='test -s conftest$ac_exeext'
5888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5892 (exit $ac_status); }; }; then
5893 ac_cv_lib_i386_i386_set_ldt
=yes
5895 echo "$as_me: failed program was:" >&5
5896 sed 's/^/| /' conftest.
$ac_ext >&5
5898 ac_cv_lib_i386_i386_set_ldt
=no
5900 rm -f conftest.err conftest.
$ac_objext \
5901 conftest
$ac_exeext conftest.
$ac_ext
5902 LIBS
=$ac_check_lib_save_LIBS
5904 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5905 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5906 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5907 cat >>confdefs.h
<<_ACEOF
5908 #define HAVE_LIBI386 1
5916 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5917 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5918 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 ac_check_lib_save_LIBS
=$LIBS
5922 LIBS
="-lossaudio $LIBS"
5923 cat >conftest.
$ac_ext <<_ACEOF
5926 cat confdefs.h
>>conftest.
$ac_ext
5927 cat >>conftest.
$ac_ext <<_ACEOF
5928 /* end confdefs.h. */
5930 /* Override any gcc2 internal prototype to avoid an error. */
5934 /* We use char because int might match the return type of a gcc2
5935 builtin and then its argument prototype would still apply. */
5945 rm -f conftest.
$ac_objext conftest
$ac_exeext
5946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5947 (eval $ac_link) 2>conftest.er1
5949 grep -v '^ *+' conftest.er1
>conftest.err
5951 cat conftest.err
>&5
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); } &&
5954 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; } &&
5960 { ac_try
='test -s conftest$ac_exeext'
5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; }; then
5966 ac_cv_lib_ossaudio__oss_ioctl
=yes
5968 echo "$as_me: failed program was:" >&5
5969 sed 's/^/| /' conftest.
$ac_ext >&5
5971 ac_cv_lib_ossaudio__oss_ioctl
=no
5973 rm -f conftest.err conftest.
$ac_objext \
5974 conftest
$ac_exeext conftest.
$ac_ext
5975 LIBS
=$ac_check_lib_save_LIBS
5977 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5978 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5979 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5980 cat >>confdefs.h
<<_ACEOF
5981 #define HAVE_LIBOSSAUDIO 1
5984 LIBS
="-lossaudio $LIBS"
5989 for ac_func
in iswalnum
5991 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5992 echo "$as_me:$LINENO: checking for $ac_func" >&5
5993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5994 if eval "test \"\${$as_ac_var+set}\" = set"; then
5995 echo $ECHO_N "(cached) $ECHO_C" >&6
5997 cat >conftest.
$ac_ext <<_ACEOF
6000 cat confdefs.h
>>conftest.
$ac_ext
6001 cat >>conftest.
$ac_ext <<_ACEOF
6002 /* end confdefs.h. */
6003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6005 #define $ac_func innocuous_$ac_func
6007 /* System header to define __stub macros and hopefully few prototypes,
6008 which can conflict with char $ac_func (); below.
6009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6010 <limits.h> exists even on freestanding compilers. */
6013 # include <limits.h>
6015 # include <assert.h>
6020 /* Override any gcc2 internal prototype to avoid an error. */
6025 /* We use char because int might match the return type of a gcc2
6026 builtin and then its argument prototype would still apply. */
6028 /* The GNU C library defines this for functions which it implements
6029 to always fail with ENOSYS. Some functions are actually named
6030 something starting with __ and the normal name is an alias. */
6031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6034 char (*f) () = $ac_func;
6043 return f != $ac_func;
6048 rm -f conftest.
$ac_objext conftest
$ac_exeext
6049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6050 (eval $ac_link) 2>conftest.er1
6052 grep -v '^ *+' conftest.er1
>conftest.err
6054 cat conftest.err
>&5
6055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6056 (exit $ac_status); } &&
6057 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6062 (exit $ac_status); }; } &&
6063 { ac_try
='test -s conftest$ac_exeext'
6064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6068 (exit $ac_status); }; }; then
6069 eval "$as_ac_var=yes"
6071 echo "$as_me: failed program was:" >&5
6072 sed 's/^/| /' conftest.
$ac_ext >&5
6074 eval "$as_ac_var=no"
6076 rm -f conftest.err conftest.
$ac_objext \
6077 conftest
$ac_exeext conftest.
$ac_ext
6079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6081 if test `eval echo '${'$as_ac_var'}'` = yes; then
6082 cat >>confdefs.h
<<_ACEOF
6083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6088 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6089 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6090 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6091 echo $ECHO_N "(cached) $ECHO_C" >&6
6093 ac_check_lib_save_LIBS
=$LIBS
6095 cat >conftest.
$ac_ext <<_ACEOF
6098 cat confdefs.h
>>conftest.
$ac_ext
6099 cat >>conftest.
$ac_ext <<_ACEOF
6100 /* end confdefs.h. */
6102 /* Override any gcc2 internal prototype to avoid an error. */
6106 /* We use char because int might match the return type of a gcc2
6107 builtin and then its argument prototype would still apply. */
6117 rm -f conftest.
$ac_objext conftest
$ac_exeext
6118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6119 (eval $ac_link) 2>conftest.er1
6121 grep -v '^ *+' conftest.er1
>conftest.err
6123 cat conftest.err
>&5
6124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6125 (exit $ac_status); } &&
6126 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6131 (exit $ac_status); }; } &&
6132 { ac_try
='test -s conftest$ac_exeext'
6133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6137 (exit $ac_status); }; }; then
6138 ac_cv_lib_w_iswalnum
=yes
6140 echo "$as_me: failed program was:" >&5
6141 sed 's/^/| /' conftest.
$ac_ext >&5
6143 ac_cv_lib_w_iswalnum
=no
6145 rm -f conftest.err conftest.
$ac_objext \
6146 conftest
$ac_exeext conftest.
$ac_ext
6147 LIBS
=$ac_check_lib_save_LIBS
6149 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6150 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6151 if test $ac_cv_lib_w_iswalnum = yes; then
6152 cat >>confdefs.h
<<_ACEOF
6164 for ac_func
in gethostbyname
6166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6167 echo "$as_me:$LINENO: checking for $ac_func" >&5
6168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6169 if eval "test \"\${$as_ac_var+set}\" = set"; then
6170 echo $ECHO_N "(cached) $ECHO_C" >&6
6172 cat >conftest.
$ac_ext <<_ACEOF
6175 cat confdefs.h
>>conftest.
$ac_ext
6176 cat >>conftest.
$ac_ext <<_ACEOF
6177 /* end confdefs.h. */
6178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6180 #define $ac_func innocuous_$ac_func
6182 /* System header to define __stub macros and hopefully few prototypes,
6183 which can conflict with char $ac_func (); below.
6184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6185 <limits.h> exists even on freestanding compilers. */
6188 # include <limits.h>
6190 # include <assert.h>
6195 /* Override any gcc2 internal prototype to avoid an error. */
6200 /* We use char because int might match the return type of a gcc2
6201 builtin and then its argument prototype would still apply. */
6203 /* The GNU C library defines this for functions which it implements
6204 to always fail with ENOSYS. Some functions are actually named
6205 something starting with __ and the normal name is an alias. */
6206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6209 char (*f) () = $ac_func;
6218 return f != $ac_func;
6223 rm -f conftest.
$ac_objext conftest
$ac_exeext
6224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6225 (eval $ac_link) 2>conftest.er1
6227 grep -v '^ *+' conftest.er1
>conftest.err
6229 cat conftest.err
>&5
6230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6231 (exit $ac_status); } &&
6232 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237 (exit $ac_status); }; } &&
6238 { ac_try
='test -s conftest$ac_exeext'
6239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6243 (exit $ac_status); }; }; then
6244 eval "$as_ac_var=yes"
6246 echo "$as_me: failed program was:" >&5
6247 sed 's/^/| /' conftest.
$ac_ext >&5
6249 eval "$as_ac_var=no"
6251 rm -f conftest.err conftest.
$ac_objext \
6252 conftest
$ac_exeext conftest.
$ac_ext
6254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6256 if test `eval echo '${'$as_ac_var'}'` = yes; then
6257 cat >>confdefs.h
<<_ACEOF
6258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6263 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6264 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6265 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6266 echo $ECHO_N "(cached) $ECHO_C" >&6
6268 ac_check_lib_save_LIBS
=$LIBS
6270 cat >conftest.
$ac_ext <<_ACEOF
6273 cat confdefs.h
>>conftest.
$ac_ext
6274 cat >>conftest.
$ac_ext <<_ACEOF
6275 /* end confdefs.h. */
6277 /* Override any gcc2 internal prototype to avoid an error. */
6281 /* We use char because int might match the return type of a gcc2
6282 builtin and then its argument prototype would still apply. */
6283 char gethostbyname ();
6292 rm -f conftest.
$ac_objext conftest
$ac_exeext
6293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6294 (eval $ac_link) 2>conftest.er1
6296 grep -v '^ *+' conftest.er1
>conftest.err
6298 cat conftest.err
>&5
6299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6300 (exit $ac_status); } &&
6301 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6306 (exit $ac_status); }; } &&
6307 { ac_try
='test -s conftest$ac_exeext'
6308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6312 (exit $ac_status); }; }; then
6313 ac_cv_lib_nsl_gethostbyname
=yes
6315 echo "$as_me: failed program was:" >&5
6316 sed 's/^/| /' conftest.
$ac_ext >&5
6318 ac_cv_lib_nsl_gethostbyname
=no
6320 rm -f conftest.err conftest.
$ac_objext \
6321 conftest
$ac_exeext conftest.
$ac_ext
6322 LIBS
=$ac_check_lib_save_LIBS
6324 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6325 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6326 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6327 cat >>confdefs.h
<<_ACEOF
6328 #define HAVE_LIBNSL 1
6339 for ac_func
in connect
6341 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6342 echo "$as_me:$LINENO: checking for $ac_func" >&5
6343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6344 if eval "test \"\${$as_ac_var+set}\" = set"; then
6345 echo $ECHO_N "(cached) $ECHO_C" >&6
6347 cat >conftest.
$ac_ext <<_ACEOF
6350 cat confdefs.h
>>conftest.
$ac_ext
6351 cat >>conftest.
$ac_ext <<_ACEOF
6352 /* end confdefs.h. */
6353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6355 #define $ac_func innocuous_$ac_func
6357 /* System header to define __stub macros and hopefully few prototypes,
6358 which can conflict with char $ac_func (); below.
6359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6360 <limits.h> exists even on freestanding compilers. */
6363 # include <limits.h>
6365 # include <assert.h>
6370 /* Override any gcc2 internal prototype to avoid an error. */
6375 /* We use char because int might match the return type of a gcc2
6376 builtin and then its argument prototype would still apply. */
6378 /* The GNU C library defines this for functions which it implements
6379 to always fail with ENOSYS. Some functions are actually named
6380 something starting with __ and the normal name is an alias. */
6381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6384 char (*f) () = $ac_func;
6393 return f != $ac_func;
6398 rm -f conftest.
$ac_objext conftest
$ac_exeext
6399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6400 (eval $ac_link) 2>conftest.er1
6402 grep -v '^ *+' conftest.er1
>conftest.err
6404 cat conftest.err
>&5
6405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6406 (exit $ac_status); } &&
6407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }; } &&
6413 { ac_try
='test -s conftest$ac_exeext'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then
6419 eval "$as_ac_var=yes"
6421 echo "$as_me: failed program was:" >&5
6422 sed 's/^/| /' conftest.
$ac_ext >&5
6424 eval "$as_ac_var=no"
6426 rm -f conftest.err conftest.
$ac_objext \
6427 conftest
$ac_exeext conftest.
$ac_ext
6429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6431 if test `eval echo '${'$as_ac_var'}'` = yes; then
6432 cat >>confdefs.h
<<_ACEOF
6433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6438 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6439 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6440 if test "${ac_cv_lib_socket_connect+set}" = set; then
6441 echo $ECHO_N "(cached) $ECHO_C" >&6
6443 ac_check_lib_save_LIBS
=$LIBS
6444 LIBS
="-lsocket $LIBS"
6445 cat >conftest.
$ac_ext <<_ACEOF
6448 cat confdefs.h
>>conftest.
$ac_ext
6449 cat >>conftest.
$ac_ext <<_ACEOF
6450 /* end confdefs.h. */
6452 /* Override any gcc2 internal prototype to avoid an error. */
6456 /* We use char because int might match the return type of a gcc2
6457 builtin and then its argument prototype would still apply. */
6467 rm -f conftest.
$ac_objext conftest
$ac_exeext
6468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6469 (eval $ac_link) 2>conftest.er1
6471 grep -v '^ *+' conftest.er1
>conftest.err
6473 cat conftest.err
>&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); } &&
6476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; } &&
6482 { ac_try
='test -s conftest$ac_exeext'
6483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); }; }; then
6488 ac_cv_lib_socket_connect
=yes
6490 echo "$as_me: failed program was:" >&5
6491 sed 's/^/| /' conftest.
$ac_ext >&5
6493 ac_cv_lib_socket_connect
=no
6495 rm -f conftest.err conftest.
$ac_objext \
6496 conftest
$ac_exeext conftest.
$ac_ext
6497 LIBS
=$ac_check_lib_save_LIBS
6499 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6500 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6501 if test $ac_cv_lib_socket_connect = yes; then
6502 cat >>confdefs.h
<<_ACEOF
6503 #define HAVE_LIBSOCKET 1
6506 LIBS
="-lsocket $LIBS"
6514 for ac_func
in inet_aton
6516 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6517 echo "$as_me:$LINENO: checking for $ac_func" >&5
6518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6519 if eval "test \"\${$as_ac_var+set}\" = set"; then
6520 echo $ECHO_N "(cached) $ECHO_C" >&6
6522 cat >conftest.
$ac_ext <<_ACEOF
6525 cat confdefs.h
>>conftest.
$ac_ext
6526 cat >>conftest.
$ac_ext <<_ACEOF
6527 /* end confdefs.h. */
6528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6530 #define $ac_func innocuous_$ac_func
6532 /* System header to define __stub macros and hopefully few prototypes,
6533 which can conflict with char $ac_func (); below.
6534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6535 <limits.h> exists even on freestanding compilers. */
6538 # include <limits.h>
6540 # include <assert.h>
6545 /* Override any gcc2 internal prototype to avoid an error. */
6550 /* We use char because int might match the return type of a gcc2
6551 builtin and then its argument prototype would still apply. */
6553 /* The GNU C library defines this for functions which it implements
6554 to always fail with ENOSYS. Some functions are actually named
6555 something starting with __ and the normal name is an alias. */
6556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6559 char (*f) () = $ac_func;
6568 return f != $ac_func;
6573 rm -f conftest.
$ac_objext conftest
$ac_exeext
6574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6575 (eval $ac_link) 2>conftest.er1
6577 grep -v '^ *+' conftest.er1
>conftest.err
6579 cat conftest.err
>&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); } &&
6582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6587 (exit $ac_status); }; } &&
6588 { ac_try
='test -s conftest$ac_exeext'
6589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); }; }; then
6594 eval "$as_ac_var=yes"
6596 echo "$as_me: failed program was:" >&5
6597 sed 's/^/| /' conftest.
$ac_ext >&5
6599 eval "$as_ac_var=no"
6601 rm -f conftest.err conftest.
$ac_objext \
6602 conftest
$ac_exeext conftest.
$ac_ext
6604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6606 if test `eval echo '${'$as_ac_var'}'` = yes; then
6607 cat >>confdefs.h
<<_ACEOF
6608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6613 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6614 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6615 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6616 echo $ECHO_N "(cached) $ECHO_C" >&6
6618 ac_check_lib_save_LIBS
=$LIBS
6619 LIBS
="-lresolv $LIBS"
6620 cat >conftest.
$ac_ext <<_ACEOF
6623 cat confdefs.h
>>conftest.
$ac_ext
6624 cat >>conftest.
$ac_ext <<_ACEOF
6625 /* end confdefs.h. */
6627 /* Override any gcc2 internal prototype to avoid an error. */
6631 /* We use char because int might match the return type of a gcc2
6632 builtin and then its argument prototype would still apply. */
6642 rm -f conftest.
$ac_objext conftest
$ac_exeext
6643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6644 (eval $ac_link) 2>conftest.er1
6646 grep -v '^ *+' conftest.er1
>conftest.err
6648 cat conftest.err
>&5
6649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6650 (exit $ac_status); } &&
6651 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6656 (exit $ac_status); }; } &&
6657 { ac_try
='test -s conftest$ac_exeext'
6658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6662 (exit $ac_status); }; }; then
6663 ac_cv_lib_resolv_inet_aton
=yes
6665 echo "$as_me: failed program was:" >&5
6666 sed 's/^/| /' conftest.
$ac_ext >&5
6668 ac_cv_lib_resolv_inet_aton
=no
6670 rm -f conftest.err conftest.
$ac_objext \
6671 conftest
$ac_exeext conftest.
$ac_ext
6672 LIBS
=$ac_check_lib_save_LIBS
6674 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6675 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6676 if test $ac_cv_lib_resolv_inet_aton = yes; then
6677 cat >>confdefs.h
<<_ACEOF
6678 #define HAVE_LIBRESOLV 1
6681 LIBS
="-lresolv $LIBS"
6689 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6690 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6691 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6692 echo $ECHO_N "(cached) $ECHO_C" >&6
6694 ac_check_lib_save_LIBS
=$LIBS
6696 cat >conftest.
$ac_ext <<_ACEOF
6699 cat confdefs.h
>>conftest.
$ac_ext
6700 cat >>conftest.
$ac_ext <<_ACEOF
6701 /* end confdefs.h. */
6703 /* Override any gcc2 internal prototype to avoid an error. */
6707 /* We use char because int might match the return type of a gcc2
6708 builtin and then its argument prototype would still apply. */
6709 char _xpg4_setrunelocale ();
6713 _xpg4_setrunelocale ();
6718 rm -f conftest.
$ac_objext conftest
$ac_exeext
6719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6720 (eval $ac_link) 2>conftest.er1
6722 grep -v '^ *+' conftest.er1
>conftest.err
6724 cat conftest.err
>&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } &&
6727 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6732 (exit $ac_status); }; } &&
6733 { ac_try
='test -s conftest$ac_exeext'
6734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6738 (exit $ac_status); }; }; then
6739 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6741 echo "$as_me: failed program was:" >&5
6742 sed 's/^/| /' conftest.
$ac_ext >&5
6744 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6746 rm -f conftest.err conftest.
$ac_objext \
6747 conftest
$ac_exeext conftest.
$ac_ext
6748 LIBS
=$ac_check_lib_save_LIBS
6750 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6751 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6752 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6753 cat >>confdefs.h
<<_ACEOF
6754 #define HAVE_LIBXPG4 1
6762 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6763 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6764 if test "${ac_cv_lib_poll_poll+set}" = set; then
6765 echo $ECHO_N "(cached) $ECHO_C" >&6
6767 ac_check_lib_save_LIBS
=$LIBS
6769 cat >conftest.
$ac_ext <<_ACEOF
6772 cat confdefs.h
>>conftest.
$ac_ext
6773 cat >>conftest.
$ac_ext <<_ACEOF
6774 /* end confdefs.h. */
6776 /* Override any gcc2 internal prototype to avoid an error. */
6780 /* We use char because int might match the return type of a gcc2
6781 builtin and then its argument prototype would still apply. */
6791 rm -f conftest.
$ac_objext conftest
$ac_exeext
6792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6793 (eval $ac_link) 2>conftest.er1
6795 grep -v '^ *+' conftest.er1
>conftest.err
6797 cat conftest.err
>&5
6798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6799 (exit $ac_status); } &&
6800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6805 (exit $ac_status); }; } &&
6806 { ac_try
='test -s conftest$ac_exeext'
6807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6811 (exit $ac_status); }; }; then
6812 ac_cv_lib_poll_poll
=yes
6814 echo "$as_me: failed program was:" >&5
6815 sed 's/^/| /' conftest.
$ac_ext >&5
6817 ac_cv_lib_poll_poll
=no
6819 rm -f conftest.err conftest.
$ac_objext \
6820 conftest
$ac_exeext conftest.
$ac_ext
6821 LIBS
=$ac_check_lib_save_LIBS
6823 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6824 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6825 if test $ac_cv_lib_poll_poll = yes; then
6826 cat >>confdefs.h
<<_ACEOF
6827 #define HAVE_LIBPOLL 1
6834 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6835 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6836 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 ac_check_lib_save_LIBS
=$LIBS
6840 LIBS
="-lpthread $LIBS"
6841 cat >conftest.
$ac_ext <<_ACEOF
6844 cat confdefs.h
>>conftest.
$ac_ext
6845 cat >>conftest.
$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6848 /* Override any gcc2 internal prototype to avoid an error. */
6852 /* We use char because int might match the return type of a gcc2
6853 builtin and then its argument prototype would still apply. */
6854 char pthread_create ();
6863 rm -f conftest.
$ac_objext conftest
$ac_exeext
6864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6865 (eval $ac_link) 2>conftest.er1
6867 grep -v '^ *+' conftest.er1
>conftest.err
6869 cat conftest.err
>&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } &&
6872 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6877 (exit $ac_status); }; } &&
6878 { ac_try
='test -s conftest$ac_exeext'
6879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); }; }; then
6884 ac_cv_lib_pthread_pthread_create
=yes
6886 echo "$as_me: failed program was:" >&5
6887 sed 's/^/| /' conftest.
$ac_ext >&5
6889 ac_cv_lib_pthread_pthread_create
=no
6891 rm -f conftest.err conftest.
$ac_objext \
6892 conftest
$ac_exeext conftest.
$ac_ext
6893 LIBS
=$ac_check_lib_save_LIBS
6895 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6896 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6897 if test $ac_cv_lib_pthread_pthread_create = yes; then
6898 LIBPTHREAD
="-lpthread"
6905 echo "$as_me:$LINENO: checking for egrep" >&5
6906 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6907 if test "${ac_cv_prog_egrep+set}" = set; then
6908 echo $ECHO_N "(cached) $ECHO_C" >&6
6910 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6911 then ac_cv_prog_egrep
='grep -E'
6912 else ac_cv_prog_egrep
='egrep'
6915 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6916 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6917 EGREP
=$ac_cv_prog_egrep
6920 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6921 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6922 if test "${ac_cv_header_stdc+set}" = set; then
6923 echo $ECHO_N "(cached) $ECHO_C" >&6
6925 cat >conftest.
$ac_ext <<_ACEOF
6928 cat confdefs.h
>>conftest.
$ac_ext
6929 cat >>conftest.
$ac_ext <<_ACEOF
6930 /* end confdefs.h. */
6944 rm -f conftest.
$ac_objext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6946 (eval $ac_compile) 2>conftest.er1
6948 grep -v '^ *+' conftest.er1
>conftest.err
6950 cat conftest.err
>&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6958 (exit $ac_status); }; } &&
6959 { ac_try
='test -s conftest.$ac_objext'
6960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); }; }; then
6965 ac_cv_header_stdc
=yes
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.
$ac_ext >&5
6970 ac_cv_header_stdc
=no
6972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6974 if test $ac_cv_header_stdc = yes; then
6975 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6976 cat >conftest.
$ac_ext <<_ACEOF
6979 cat confdefs.h
>>conftest.
$ac_ext
6980 cat >>conftest.
$ac_ext <<_ACEOF
6981 /* end confdefs.h. */
6985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6986 $EGREP "memchr" >/dev
/null
2>&1; then
6989 ac_cv_header_stdc
=no
6995 if test $ac_cv_header_stdc = yes; then
6996 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6997 cat >conftest.
$ac_ext <<_ACEOF
7000 cat confdefs.h
>>conftest.
$ac_ext
7001 cat >>conftest.
$ac_ext <<_ACEOF
7002 /* end confdefs.h. */
7006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7007 $EGREP "free" >/dev
/null
2>&1; then
7010 ac_cv_header_stdc
=no
7016 if test $ac_cv_header_stdc = yes; then
7017 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7018 if test "$cross_compiling" = yes; then
7021 cat >conftest.
$ac_ext <<_ACEOF
7024 cat confdefs.h
>>conftest.
$ac_ext
7025 cat >>conftest.
$ac_ext <<_ACEOF
7026 /* end confdefs.h. */
7028 #if ((' ' & 0x0FF) == 0x020)
7029 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7030 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7032 # define ISLOWER(c) \
7033 (('a' <= (c) && (c) <= 'i') \
7034 || ('j' <= (c) && (c) <= 'r') \
7035 || ('s' <= (c) && (c) <= 'z'))
7036 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7039 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7044 for (i = 0; i < 256; i++)
7045 if (XOR (islower (i), ISLOWER (i))
7046 || toupper (i) != TOUPPER (i))
7051 rm -f conftest
$ac_exeext
7052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7053 (eval $ac_link) 2>&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7061 (exit $ac_status); }; }; then
7064 echo "$as_me: program exited with status $ac_status" >&5
7065 echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.
$ac_ext >&5
7069 ac_cv_header_stdc
=no
7071 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7075 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7076 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7077 if test $ac_cv_header_stdc = yes; then
7079 cat >>confdefs.h
<<\_ACEOF
7080 #define STDC_HEADERS 1
7085 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7095 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7096 inttypes.h stdint.h unistd.h
7098 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7099 echo "$as_me:$LINENO: checking for $ac_header" >&5
7100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7102 echo $ECHO_N "(cached) $ECHO_C" >&6
7104 cat >conftest.
$ac_ext <<_ACEOF
7107 cat confdefs.h
>>conftest.
$ac_ext
7108 cat >>conftest.
$ac_ext <<_ACEOF
7109 /* end confdefs.h. */
7110 $ac_includes_default
7112 #include <$ac_header>
7114 rm -f conftest.
$ac_objext
7115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7116 (eval $ac_compile) 2>conftest.er1
7118 grep -v '^ *+' conftest.er1
>conftest.err
7120 cat conftest.err
>&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); } &&
7123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); }; } &&
7129 { ac_try
='test -s conftest.$ac_objext'
7130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7134 (exit $ac_status); }; }; then
7135 eval "$as_ac_Header=yes"
7137 echo "$as_me: failed program was:" >&5
7138 sed 's/^/| /' conftest.
$ac_ext >&5
7140 eval "$as_ac_Header=no"
7142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7147 cat >>confdefs.h
<<_ACEOF
7148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7157 for ac_header
in jpeglib.h
7159 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7160 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7161 echo "$as_me:$LINENO: checking for $ac_header" >&5
7162 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7164 echo $ECHO_N "(cached) $ECHO_C" >&6
7166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7167 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7169 # Is the header compilable?
7170 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7171 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7172 cat >conftest.
$ac_ext <<_ACEOF
7175 cat confdefs.h
>>conftest.
$ac_ext
7176 cat >>conftest.
$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7178 $ac_includes_default
7179 #include <$ac_header>
7181 rm -f conftest.
$ac_objext
7182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7183 (eval $ac_compile) 2>conftest.er1
7185 grep -v '^ *+' conftest.er1
>conftest.err
7187 cat conftest.err
>&5
7188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7189 (exit $ac_status); } &&
7190 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7195 (exit $ac_status); }; } &&
7196 { ac_try
='test -s conftest.$ac_objext'
7197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); }; }; then
7202 ac_header_compiler
=yes
7204 echo "$as_me: failed program was:" >&5
7205 sed 's/^/| /' conftest.
$ac_ext >&5
7207 ac_header_compiler
=no
7209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7211 echo "${ECHO_T}$ac_header_compiler" >&6
7213 # Is the header present?
7214 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7215 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7216 cat >conftest.
$ac_ext <<_ACEOF
7219 cat confdefs.h
>>conftest.
$ac_ext
7220 cat >>conftest.
$ac_ext <<_ACEOF
7221 /* end confdefs.h. */
7222 #include <$ac_header>
7224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7225 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7227 grep -v '^ *+' conftest.er1
>conftest.err
7229 cat conftest.err
>&5
7230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7231 (exit $ac_status); } >/dev
/null
; then
7232 if test -s conftest.err
; then
7233 ac_cpp_err
=$ac_c_preproc_warn_flag
7234 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7241 if test -z "$ac_cpp_err"; then
7242 ac_header_preproc
=yes
7244 echo "$as_me: failed program was:" >&5
7245 sed 's/^/| /' conftest.
$ac_ext >&5
7247 ac_header_preproc
=no
7249 rm -f conftest.err conftest.
$ac_ext
7250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7251 echo "${ECHO_T}$ac_header_preproc" >&6
7253 # So? What about this header?
7254 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7257 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7259 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7260 ac_header_preproc
=yes
7263 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7264 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7265 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7266 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7267 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7268 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7269 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7270 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7271 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7272 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7273 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7274 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7277 ## ------------------------------------ ##
7278 ## Report this to wine-devel@winehq.org ##
7279 ## ------------------------------------ ##
7282 sed "s/^/$as_me: WARNING: /" >&2
7285 echo "$as_me:$LINENO: checking for $ac_header" >&5
7286 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7287 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7288 echo $ECHO_N "(cached) $ECHO_C" >&6
7290 eval "$as_ac_Header=\$ac_header_preproc"
7292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7296 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7297 cat >>confdefs.h
<<_ACEOF
7298 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7300 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
7301 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
7302 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
7303 echo $ECHO_N "(cached) $ECHO_C" >&6
7305 ac_check_lib_save_LIBS
=$LIBS
7307 cat >conftest.
$ac_ext <<_ACEOF
7310 cat confdefs.h
>>conftest.
$ac_ext
7311 cat >>conftest.
$ac_ext <<_ACEOF
7312 /* end confdefs.h. */
7314 /* Override any gcc2 internal prototype to avoid an error. */
7318 /* We use char because int might match the return type of a gcc2
7319 builtin and then its argument prototype would still apply. */
7320 char jpeg_start_decompress ();
7324 jpeg_start_decompress ();
7329 rm -f conftest.
$ac_objext conftest
$ac_exeext
7330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7331 (eval $ac_link) 2>conftest.er1
7333 grep -v '^ *+' conftest.er1
>conftest.err
7335 cat conftest.err
>&5
7336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7337 (exit $ac_status); } &&
7338 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7343 (exit $ac_status); }; } &&
7344 { ac_try
='test -s conftest$ac_exeext'
7345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7349 (exit $ac_status); }; }; then
7350 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.
$ac_ext >&5
7355 ac_cv_lib_jpeg_jpeg_start_decompress
=no
7357 rm -f conftest.err conftest.
$ac_objext \
7358 conftest
$ac_exeext conftest.
$ac_ext
7359 LIBS
=$ac_check_lib_save_LIBS
7361 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
7362 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
7363 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
7365 cat >>confdefs.h
<<\_ACEOF
7366 #define HAVE_LIBJPEG 1
7382 for ac_header
in gif_lib.h
7384 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7385 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7386 echo "$as_me:$LINENO: checking for $ac_header" >&5
7387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7388 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7389 echo $ECHO_N "(cached) $ECHO_C" >&6
7391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7392 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7394 # Is the header compilable?
7395 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7396 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7397 cat >conftest.
$ac_ext <<_ACEOF
7400 cat confdefs.h
>>conftest.
$ac_ext
7401 cat >>conftest.
$ac_ext <<_ACEOF
7402 /* end confdefs.h. */
7403 $ac_includes_default
7404 #include <$ac_header>
7406 rm -f conftest.
$ac_objext
7407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7408 (eval $ac_compile) 2>conftest.er1
7410 grep -v '^ *+' conftest.er1
>conftest.err
7412 cat conftest.err
>&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); } &&
7415 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; } &&
7421 { ac_try
='test -s conftest.$ac_objext'
7422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7426 (exit $ac_status); }; }; then
7427 ac_header_compiler
=yes
7429 echo "$as_me: failed program was:" >&5
7430 sed 's/^/| /' conftest.
$ac_ext >&5
7432 ac_header_compiler
=no
7434 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7435 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7436 echo "${ECHO_T}$ac_header_compiler" >&6
7438 # Is the header present?
7439 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7440 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7441 cat >conftest.
$ac_ext <<_ACEOF
7444 cat confdefs.h
>>conftest.
$ac_ext
7445 cat >>conftest.
$ac_ext <<_ACEOF
7446 /* end confdefs.h. */
7447 #include <$ac_header>
7449 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7450 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7452 grep -v '^ *+' conftest.er1
>conftest.err
7454 cat conftest.err
>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); } >/dev
/null
; then
7457 if test -s conftest.err
; then
7458 ac_cpp_err
=$ac_c_preproc_warn_flag
7459 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7466 if test -z "$ac_cpp_err"; then
7467 ac_header_preproc
=yes
7469 echo "$as_me: failed program was:" >&5
7470 sed 's/^/| /' conftest.
$ac_ext >&5
7472 ac_header_preproc
=no
7474 rm -f conftest.err conftest.
$ac_ext
7475 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7476 echo "${ECHO_T}$ac_header_preproc" >&6
7478 # So? What about this header?
7479 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7481 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7482 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7484 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7485 ac_header_preproc
=yes
7488 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7489 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7490 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7491 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7492 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7493 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7494 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7495 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7497 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7498 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7499 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7502 ## ------------------------------------ ##
7503 ## Report this to wine-devel@winehq.org ##
7504 ## ------------------------------------ ##
7507 sed "s/^/$as_me: WARNING: /" >&2
7510 echo "$as_me:$LINENO: checking for $ac_header" >&5
7511 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7512 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7513 echo $ECHO_N "(cached) $ECHO_C" >&6
7515 eval "$as_ac_Header=\$ac_header_preproc"
7517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7521 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7522 cat >>confdefs.h
<<_ACEOF
7523 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7526 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7527 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7528 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 ac_check_lib_save_LIBS
=$LIBS
7531 LIBS
="-lungif $LIBS"
7532 cat >conftest.
$ac_ext <<_ACEOF
7535 cat confdefs.h
>>conftest.
$ac_ext
7536 cat >>conftest.
$ac_ext <<_ACEOF
7537 /* end confdefs.h. */
7539 /* Override any gcc2 internal prototype to avoid an error. */
7543 /* We use char because int might match the return type of a gcc2
7544 builtin and then its argument prototype would still apply. */
7554 rm -f conftest.
$ac_objext conftest
$ac_exeext
7555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7556 (eval $ac_link) 2>conftest.er1
7558 grep -v '^ *+' conftest.er1
>conftest.err
7560 cat conftest.err
>&5
7561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7562 (exit $ac_status); } &&
7563 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7568 (exit $ac_status); }; } &&
7569 { ac_try
='test -s conftest$ac_exeext'
7570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); }; }; then
7575 ac_cv_lib_ungif_DGifOpen
=yes
7577 echo "$as_me: failed program was:" >&5
7578 sed 's/^/| /' conftest.
$ac_ext >&5
7580 ac_cv_lib_ungif_DGifOpen
=no
7582 rm -f conftest.err conftest.
$ac_objext \
7583 conftest
$ac_exeext conftest.
$ac_ext
7584 LIBS
=$ac_check_lib_save_LIBS
7586 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7587 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7588 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7590 cat >>confdefs.h
<<\_ACEOF
7591 #define HAVE_LIBGIF 1
7596 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7597 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7598 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7599 echo $ECHO_N "(cached) $ECHO_C" >&6
7601 ac_check_lib_save_LIBS
=$LIBS
7603 cat >conftest.
$ac_ext <<_ACEOF
7606 cat confdefs.h
>>conftest.
$ac_ext
7607 cat >>conftest.
$ac_ext <<_ACEOF
7608 /* end confdefs.h. */
7610 /* Override any gcc2 internal prototype to avoid an error. */
7614 /* We use char because int might match the return type of a gcc2
7615 builtin and then its argument prototype would still apply. */
7625 rm -f conftest.
$ac_objext conftest
$ac_exeext
7626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7627 (eval $ac_link) 2>conftest.er1
7629 grep -v '^ *+' conftest.er1
>conftest.err
7631 cat conftest.err
>&5
7632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7633 (exit $ac_status); } &&
7634 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7639 (exit $ac_status); }; } &&
7640 { ac_try
='test -s conftest$ac_exeext'
7641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7645 (exit $ac_status); }; }; then
7646 ac_cv_lib_gif_DGifOpen
=yes
7648 echo "$as_me: failed program was:" >&5
7649 sed 's/^/| /' conftest.
$ac_ext >&5
7651 ac_cv_lib_gif_DGifOpen
=no
7653 rm -f conftest.err conftest.
$ac_objext \
7654 conftest
$ac_exeext conftest.
$ac_ext
7655 LIBS
=$ac_check_lib_save_LIBS
7657 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7658 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7659 if test $ac_cv_lib_gif_DGifOpen = yes; then
7660 cat >>confdefs.h
<<\_ACEOF
7661 #define HAVE_LIBGIF 1
7683 if test "$have_x" = "yes"
7686 ac_save_CPPFLAGS
="$CPPFLAGS"
7687 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7690 for ac_header
in X11
/Xlib.h
7692 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7693 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7694 echo "$as_me:$LINENO: checking for $ac_header" >&5
7695 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7696 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7697 echo $ECHO_N "(cached) $ECHO_C" >&6
7699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7702 # Is the header compilable?
7703 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7704 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7705 cat >conftest.
$ac_ext <<_ACEOF
7708 cat confdefs.h
>>conftest.
$ac_ext
7709 cat >>conftest.
$ac_ext <<_ACEOF
7710 /* end confdefs.h. */
7711 $ac_includes_default
7712 #include <$ac_header>
7714 rm -f conftest.
$ac_objext
7715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7716 (eval $ac_compile) 2>conftest.er1
7718 grep -v '^ *+' conftest.er1
>conftest.err
7720 cat conftest.err
>&5
7721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7722 (exit $ac_status); } &&
7723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); }; } &&
7729 { ac_try
='test -s conftest.$ac_objext'
7730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7734 (exit $ac_status); }; }; then
7735 ac_header_compiler
=yes
7737 echo "$as_me: failed program was:" >&5
7738 sed 's/^/| /' conftest.
$ac_ext >&5
7740 ac_header_compiler
=no
7742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7743 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7744 echo "${ECHO_T}$ac_header_compiler" >&6
7746 # Is the header present?
7747 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7748 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7749 cat >conftest.
$ac_ext <<_ACEOF
7752 cat confdefs.h
>>conftest.
$ac_ext
7753 cat >>conftest.
$ac_ext <<_ACEOF
7754 /* end confdefs.h. */
7755 #include <$ac_header>
7757 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7758 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7760 grep -v '^ *+' conftest.er1
>conftest.err
7762 cat conftest.err
>&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); } >/dev
/null
; then
7765 if test -s conftest.err
; then
7766 ac_cpp_err
=$ac_c_preproc_warn_flag
7767 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7774 if test -z "$ac_cpp_err"; then
7775 ac_header_preproc
=yes
7777 echo "$as_me: failed program was:" >&5
7778 sed 's/^/| /' conftest.
$ac_ext >&5
7780 ac_header_preproc
=no
7782 rm -f conftest.err conftest.
$ac_ext
7783 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7784 echo "${ECHO_T}$ac_header_preproc" >&6
7786 # So? What about this header?
7787 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7789 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7790 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7791 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7792 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7793 ac_header_preproc
=yes
7796 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7797 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7798 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7799 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7800 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7801 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7802 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7803 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7804 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7805 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7806 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7807 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7810 ## ------------------------------------ ##
7811 ## Report this to wine-devel@winehq.org ##
7812 ## ------------------------------------ ##
7815 sed "s/^/$as_me: WARNING: /" >&2
7818 echo "$as_me:$LINENO: checking for $ac_header" >&5
7819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7821 echo $ECHO_N "(cached) $ECHO_C" >&6
7823 eval "$as_ac_Header=\$ac_header_preproc"
7825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7829 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7830 cat >>confdefs.h
<<_ACEOF
7831 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7844 for ac_header
in X11
/XKBlib.h \
7846 X11
/extensions
/shape.h \
7847 X11
/extensions
/XInput.h \
7848 X11
/extensions
/XShm.h \
7849 X11
/extensions
/Xrandr.h \
7850 X11
/extensions
/Xrender.h \
7851 X11
/extensions
/Xvlib.h \
7852 X11
/extensions
/xf86dga.h \
7853 X11
/extensions
/xf86vmode.h
7855 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7856 echo "$as_me:$LINENO: checking for $ac_header" >&5
7857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7859 echo $ECHO_N "(cached) $ECHO_C" >&6
7861 cat >conftest.
$ac_ext <<_ACEOF
7864 cat confdefs.h
>>conftest.
$ac_ext
7865 cat >>conftest.
$ac_ext <<_ACEOF
7866 /* end confdefs.h. */
7867 #include <X11/Xlib.h>
7868 #ifdef HAVE_X11_XUTIL_H
7869 # include <X11/Xutil.h>
7872 #include <$ac_header>
7874 rm -f conftest.
$ac_objext
7875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7876 (eval $ac_compile) 2>conftest.er1
7878 grep -v '^ *+' conftest.er1
>conftest.err
7880 cat conftest.err
>&5
7881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7882 (exit $ac_status); } &&
7883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7888 (exit $ac_status); }; } &&
7889 { ac_try
='test -s conftest.$ac_objext'
7890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7894 (exit $ac_status); }; }; then
7895 eval "$as_ac_Header=yes"
7897 echo "$as_me: failed program was:" >&5
7898 sed 's/^/| /' conftest.
$ac_ext >&5
7900 eval "$as_ac_Header=no"
7902 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7907 cat >>confdefs.h
<<_ACEOF
7908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7916 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7918 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7919 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7920 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7921 echo $ECHO_N "(cached) $ECHO_C" >&6
7923 ac_check_lib_save_LIBS
=$LIBS
7924 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7925 cat >conftest.
$ac_ext <<_ACEOF
7928 cat confdefs.h
>>conftest.
$ac_ext
7929 cat >>conftest.
$ac_ext <<_ACEOF
7930 /* end confdefs.h. */
7932 /* Override any gcc2 internal prototype to avoid an error. */
7936 /* We use char because int might match the return type of a gcc2
7937 builtin and then its argument prototype would still apply. */
7938 char XkbQueryExtension ();
7942 XkbQueryExtension ();
7947 rm -f conftest.
$ac_objext conftest
$ac_exeext
7948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7949 (eval $ac_link) 2>conftest.er1
7951 grep -v '^ *+' conftest.er1
>conftest.err
7953 cat conftest.err
>&5
7954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7955 (exit $ac_status); } &&
7956 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7961 (exit $ac_status); }; } &&
7962 { ac_try
='test -s conftest$ac_exeext'
7963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7967 (exit $ac_status); }; }; then
7968 ac_cv_lib_X11_XkbQueryExtension
=yes
7970 echo "$as_me: failed program was:" >&5
7971 sed 's/^/| /' conftest.
$ac_ext >&5
7973 ac_cv_lib_X11_XkbQueryExtension
=no
7975 rm -f conftest.err conftest.
$ac_objext \
7976 conftest
$ac_exeext conftest.
$ac_ext
7977 LIBS
=$ac_check_lib_save_LIBS
7979 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7980 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7981 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7983 cat >>confdefs.h
<<\_ACEOF
7991 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7993 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7994 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7995 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7996 echo $ECHO_N "(cached) $ECHO_C" >&6
7998 ac_check_lib_save_LIBS
=$LIBS
7999 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8000 cat >conftest.
$ac_ext <<_ACEOF
8003 cat confdefs.h
>>conftest.
$ac_ext
8004 cat >>conftest.
$ac_ext <<_ACEOF
8005 /* end confdefs.h. */
8007 /* Override any gcc2 internal prototype to avoid an error. */
8011 /* We use char because int might match the return type of a gcc2
8012 builtin and then its argument prototype would still apply. */
8013 char XShmQueryExtension ();
8017 XShmQueryExtension ();
8022 rm -f conftest.
$ac_objext conftest
$ac_exeext
8023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8024 (eval $ac_link) 2>conftest.er1
8026 grep -v '^ *+' conftest.er1
>conftest.err
8028 cat conftest.err
>&5
8029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } &&
8031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8036 (exit $ac_status); }; } &&
8037 { ac_try
='test -s conftest$ac_exeext'
8038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8042 (exit $ac_status); }; }; then
8043 ac_cv_lib_Xext_XShmQueryExtension
=yes
8045 echo "$as_me: failed program was:" >&5
8046 sed 's/^/| /' conftest.
$ac_ext >&5
8048 ac_cv_lib_Xext_XShmQueryExtension
=no
8050 rm -f conftest.err conftest.
$ac_objext \
8051 conftest
$ac_exeext conftest.
$ac_ext
8052 LIBS
=$ac_check_lib_save_LIBS
8054 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8055 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
8056 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8058 cat >>confdefs.h
<<\_ACEOF
8059 #define HAVE_LIBXXSHM 1
8066 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8068 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8069 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
8070 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 ac_check_lib_save_LIBS
=$LIBS
8074 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8075 cat >conftest.
$ac_ext <<_ACEOF
8078 cat confdefs.h
>>conftest.
$ac_ext
8079 cat >>conftest.
$ac_ext <<_ACEOF
8080 /* end confdefs.h. */
8082 /* Override any gcc2 internal prototype to avoid an error. */
8086 /* We use char because int might match the return type of a gcc2
8087 builtin and then its argument prototype would still apply. */
8088 char XShapeQueryExtension ();
8092 XShapeQueryExtension ();
8097 rm -f conftest.
$ac_objext conftest
$ac_exeext
8098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8099 (eval $ac_link) 2>conftest.er1
8101 grep -v '^ *+' conftest.er1
>conftest.err
8103 cat conftest.err
>&5
8104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8105 (exit $ac_status); } &&
8106 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8111 (exit $ac_status); }; } &&
8112 { ac_try
='test -s conftest$ac_exeext'
8113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8117 (exit $ac_status); }; }; then
8118 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8120 echo "$as_me: failed program was:" >&5
8121 sed 's/^/| /' conftest.
$ac_ext >&5
8123 ac_cv_lib_Xext_XShapeQueryExtension
=no
8125 rm -f conftest.err conftest.
$ac_objext \
8126 conftest
$ac_exeext conftest.
$ac_ext
8127 LIBS
=$ac_check_lib_save_LIBS
8129 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8130 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8131 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8133 cat >>confdefs.h
<<\_ACEOF
8134 #define HAVE_LIBXSHAPE 1
8141 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8143 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8144 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8145 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 ac_check_lib_save_LIBS
=$LIBS
8149 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8150 cat >conftest.
$ac_ext <<_ACEOF
8153 cat confdefs.h
>>conftest.
$ac_ext
8154 cat >>conftest.
$ac_ext <<_ACEOF
8155 /* end confdefs.h. */
8157 /* Override any gcc2 internal prototype to avoid an error. */
8161 /* We use char because int might match the return type of a gcc2
8162 builtin and then its argument prototype would still apply. */
8163 char XDGAQueryExtension ();
8167 XDGAQueryExtension ();
8172 rm -f conftest.
$ac_objext conftest
$ac_exeext
8173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8174 (eval $ac_link) 2>conftest.er1
8176 grep -v '^ *+' conftest.er1
>conftest.err
8178 cat conftest.err
>&5
8179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8180 (exit $ac_status); } &&
8181 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); }; } &&
8187 { ac_try
='test -s conftest$ac_exeext'
8188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); }; }; then
8193 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8195 echo "$as_me: failed program was:" >&5
8196 sed 's/^/| /' conftest.
$ac_ext >&5
8198 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8200 rm -f conftest.err conftest.
$ac_objext \
8201 conftest
$ac_exeext conftest.
$ac_ext
8202 LIBS
=$ac_check_lib_save_LIBS
8204 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8205 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8206 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8208 cat >>confdefs.h
<<\_ACEOF
8209 #define HAVE_LIBXXF86DGA2 1
8212 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8215 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
8216 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8217 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
8218 echo $ECHO_N "(cached) $ECHO_C" >&6
8220 ac_check_lib_save_LIBS
=$LIBS
8221 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
8223 cat >conftest.
$ac_ext <<_ACEOF
8226 cat confdefs.h
>>conftest.
$ac_ext
8227 cat >>conftest.
$ac_ext <<_ACEOF
8228 /* end confdefs.h. */
8230 /* Override any gcc2 internal prototype to avoid an error. */
8234 /* We use char because int might match the return type of a gcc2
8235 builtin and then its argument prototype would still apply. */
8236 char XF86DGAQueryExtension ();
8240 XF86DGAQueryExtension ();
8245 rm -f conftest.
$ac_objext conftest
$ac_exeext
8246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8247 (eval $ac_link) 2>conftest.er1
8249 grep -v '^ *+' conftest.er1
>conftest.err
8251 cat conftest.err
>&5
8252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8253 (exit $ac_status); } &&
8254 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); }; } &&
8260 { ac_try
='test -s conftest$ac_exeext'
8261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8265 (exit $ac_status); }; }; then
8266 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
8268 echo "$as_me: failed program was:" >&5
8269 sed 's/^/| /' conftest.
$ac_ext >&5
8271 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
8273 rm -f conftest.err conftest.
$ac_objext \
8274 conftest
$ac_exeext conftest.
$ac_ext
8275 LIBS
=$ac_check_lib_save_LIBS
8277 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
8278 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
8279 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
8281 cat >>confdefs.h
<<\_ACEOF
8282 #define HAVE_LIBXXF86DGA 1
8285 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8294 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8296 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8297 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8298 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8299 echo $ECHO_N "(cached) $ECHO_C" >&6
8301 ac_check_lib_save_LIBS
=$LIBS
8302 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8303 cat >conftest.
$ac_ext <<_ACEOF
8306 cat confdefs.h
>>conftest.
$ac_ext
8307 cat >>conftest.
$ac_ext <<_ACEOF
8308 /* end confdefs.h. */
8310 /* Override any gcc2 internal prototype to avoid an error. */
8314 /* We use char because int might match the return type of a gcc2
8315 builtin and then its argument prototype would still apply. */
8316 char XF86VidModeQueryExtension ();
8320 XF86VidModeQueryExtension ();
8325 rm -f conftest.
$ac_objext conftest
$ac_exeext
8326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8327 (eval $ac_link) 2>conftest.er1
8329 grep -v '^ *+' conftest.er1
>conftest.err
8331 cat conftest.err
>&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } &&
8334 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); }; } &&
8340 { ac_try
='test -s conftest$ac_exeext'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; }; then
8346 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8348 echo "$as_me: failed program was:" >&5
8349 sed 's/^/| /' conftest.
$ac_ext >&5
8351 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8353 rm -f conftest.err conftest.
$ac_objext \
8354 conftest
$ac_exeext conftest.
$ac_ext
8355 LIBS
=$ac_check_lib_save_LIBS
8357 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8358 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8359 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8361 cat >>confdefs.h
<<\_ACEOF
8362 #define HAVE_LIBXXF86VM 1
8365 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8371 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8373 echo "$as_me:$LINENO: checking for XRRSetScreenConfigAndRate in -lXrandr" >&5
8374 echo $ECHO_N "checking for XRRSetScreenConfigAndRate in -lXrandr... $ECHO_C" >&6
8375 if test "${ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate+set}" = set; then
8376 echo $ECHO_N "(cached) $ECHO_C" >&6
8378 ac_check_lib_save_LIBS
=$LIBS
8379 LIBS
="-lXrandr $X_LIBS -lXrender -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8380 cat >conftest.
$ac_ext <<_ACEOF
8383 cat confdefs.h
>>conftest.
$ac_ext
8384 cat >>conftest.
$ac_ext <<_ACEOF
8385 /* end confdefs.h. */
8387 /* Override any gcc2 internal prototype to avoid an error. */
8391 /* We use char because int might match the return type of a gcc2
8392 builtin and then its argument prototype would still apply. */
8393 char XRRSetScreenConfigAndRate ();
8397 XRRSetScreenConfigAndRate ();
8402 rm -f conftest.
$ac_objext conftest
$ac_exeext
8403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8404 (eval $ac_link) 2>conftest.er1
8406 grep -v '^ *+' conftest.er1
>conftest.err
8408 cat conftest.err
>&5
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); } &&
8411 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); }; } &&
8417 { ac_try
='test -s conftest$ac_exeext'
8418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8422 (exit $ac_status); }; }; then
8423 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=yes
8425 echo "$as_me: failed program was:" >&5
8426 sed 's/^/| /' conftest.
$ac_ext >&5
8428 ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate
=no
8430 rm -f conftest.err conftest.
$ac_objext \
8431 conftest
$ac_exeext conftest.
$ac_ext
8432 LIBS
=$ac_check_lib_save_LIBS
8434 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&5
8435 echo "${ECHO_T}$ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate" >&6
8436 if test $ac_cv_lib_Xrandr_XRRSetScreenConfigAndRate = yes; then
8438 cat >>confdefs.h
<<\_ACEOF
8439 #define HAVE_LIBXRANDR 1
8442 X_PRE_LIBS
="$X_PRE_LIBS -lXrandr -lXrender"
8448 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8450 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8451 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8452 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8455 ac_check_lib_save_LIBS
=$LIBS
8456 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8457 cat >conftest.
$ac_ext <<_ACEOF
8460 cat confdefs.h
>>conftest.
$ac_ext
8461 cat >>conftest.
$ac_ext <<_ACEOF
8462 /* end confdefs.h. */
8464 /* Override any gcc2 internal prototype to avoid an error. */
8468 /* We use char because int might match the return type of a gcc2
8469 builtin and then its argument prototype would still apply. */
8470 char XvShmCreateImage ();
8474 XvShmCreateImage ();
8479 rm -f conftest.
$ac_objext conftest
$ac_exeext
8480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8481 (eval $ac_link) 2>conftest.er1
8483 grep -v '^ *+' conftest.er1
>conftest.err
8485 cat conftest.err
>&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); } &&
8488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8493 (exit $ac_status); }; } &&
8494 { ac_try
='test -s conftest$ac_exeext'
8495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); }; }; then
8500 ac_cv_lib_Xv_XvShmCreateImage
=yes
8502 echo "$as_me: failed program was:" >&5
8503 sed 's/^/| /' conftest.
$ac_ext >&5
8505 ac_cv_lib_Xv_XvShmCreateImage
=no
8507 rm -f conftest.err conftest.
$ac_objext \
8508 conftest
$ac_exeext conftest.
$ac_ext
8509 LIBS
=$ac_check_lib_save_LIBS
8511 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8512 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8513 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8515 cat >>confdefs.h
<<\_ACEOF
8516 #define HAVE_XVIDEO 1
8519 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8530 if test "x$with_opengl" != "xno"
8532 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8534 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8535 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8536 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8537 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8538 { (exit 1); exit 1; }; }
8543 for ac_header
in GL
/gl.h GL
/glx.h
8545 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8546 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8547 echo "$as_me:$LINENO: checking for $ac_header" >&5
8548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8553 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8555 # Is the header compilable?
8556 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8557 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8558 cat >conftest.
$ac_ext <<_ACEOF
8561 cat confdefs.h
>>conftest.
$ac_ext
8562 cat >>conftest.
$ac_ext <<_ACEOF
8563 /* end confdefs.h. */
8564 $ac_includes_default
8565 #include <$ac_header>
8567 rm -f conftest.
$ac_objext
8568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8569 (eval $ac_compile) 2>conftest.er1
8571 grep -v '^ *+' conftest.er1
>conftest.err
8573 cat conftest.err
>&5
8574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8575 (exit $ac_status); } &&
8576 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); }; } &&
8582 { ac_try
='test -s conftest.$ac_objext'
8583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8587 (exit $ac_status); }; }; then
8588 ac_header_compiler
=yes
8590 echo "$as_me: failed program was:" >&5
8591 sed 's/^/| /' conftest.
$ac_ext >&5
8593 ac_header_compiler
=no
8595 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8597 echo "${ECHO_T}$ac_header_compiler" >&6
8599 # Is the header present?
8600 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8601 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8602 cat >conftest.
$ac_ext <<_ACEOF
8605 cat confdefs.h
>>conftest.
$ac_ext
8606 cat >>conftest.
$ac_ext <<_ACEOF
8607 /* end confdefs.h. */
8608 #include <$ac_header>
8610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8611 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8613 grep -v '^ *+' conftest.er1
>conftest.err
8615 cat conftest.err
>&5
8616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8617 (exit $ac_status); } >/dev
/null
; then
8618 if test -s conftest.err
; then
8619 ac_cpp_err
=$ac_c_preproc_warn_flag
8620 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8627 if test -z "$ac_cpp_err"; then
8628 ac_header_preproc
=yes
8630 echo "$as_me: failed program was:" >&5
8631 sed 's/^/| /' conftest.
$ac_ext >&5
8633 ac_header_preproc
=no
8635 rm -f conftest.err conftest.
$ac_ext
8636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8637 echo "${ECHO_T}$ac_header_preproc" >&6
8639 # So? What about this header?
8640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8642 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8643 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8645 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8646 ac_header_preproc
=yes
8649 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8650 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8651 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8652 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8653 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8654 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8655 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8656 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8658 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8659 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8660 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8663 ## ------------------------------------ ##
8664 ## Report this to wine-devel@winehq.org ##
8665 ## ------------------------------------ ##
8668 sed "s/^/$as_me: WARNING: /" >&2
8671 echo "$as_me:$LINENO: checking for $ac_header" >&5
8672 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8673 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8674 echo $ECHO_N "(cached) $ECHO_C" >&6
8676 eval "$as_ac_Header=\$ac_header_preproc"
8678 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8679 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8682 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8683 cat >>confdefs.h
<<_ACEOF
8684 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8691 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8694 for ac_header
in GL
/glext.h
8696 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8697 echo "$as_me:$LINENO: checking for $ac_header" >&5
8698 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8699 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8700 echo $ECHO_N "(cached) $ECHO_C" >&6
8702 cat >conftest.
$ac_ext <<_ACEOF
8705 cat confdefs.h
>>conftest.
$ac_ext
8706 cat >>conftest.
$ac_ext <<_ACEOF
8707 /* end confdefs.h. */
8710 #include <$ac_header>
8712 rm -f conftest.
$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8716 grep -v '^ *+' conftest.er1
>conftest.err
8718 cat conftest.err
>&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try
='test -s conftest.$ac_objext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 eval "$as_ac_Header=yes"
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.
$ac_ext >&5
8738 eval "$as_ac_Header=no"
8740 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8744 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8745 cat >>confdefs.h
<<_ACEOF
8746 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8753 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8754 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8755 if test "${wine_cv_opengl_version_OK+set}" = set; then
8756 echo $ECHO_N "(cached) $ECHO_C" >&6
8758 cat >conftest.
$ac_ext <<_ACEOF
8761 cat confdefs.h
>>conftest.
$ac_ext
8762 cat >>conftest.
$ac_ext <<_ACEOF
8763 /* end confdefs.h. */
8768 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8773 rm -f conftest.
$ac_objext
8774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8775 (eval $ac_compile) 2>conftest.er1
8777 grep -v '^ *+' conftest.er1
>conftest.err
8779 cat conftest.err
>&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 (exit $ac_status); } &&
8782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8787 (exit $ac_status); }; } &&
8788 { ac_try
='test -s conftest.$ac_objext'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; }; then
8794 wine_cv_opengl_version_OK
="yes"
8796 echo "$as_me: failed program was:" >&5
8797 sed 's/^/| /' conftest.
$ac_ext >&5
8799 wine_cv_opengl_version_OK
="no"
8802 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8805 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8806 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8808 if test "$wine_cv_opengl_version_OK" = "yes"
8810 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8811 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8812 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8813 echo $ECHO_N "(cached) $ECHO_C" >&6
8815 ac_check_lib_save_LIBS
=$LIBS
8816 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8817 cat >conftest.
$ac_ext <<_ACEOF
8820 cat confdefs.h
>>conftest.
$ac_ext
8821 cat >>conftest.
$ac_ext <<_ACEOF
8822 /* end confdefs.h. */
8824 /* Override any gcc2 internal prototype to avoid an error. */
8828 /* We use char because int might match the return type of a gcc2
8829 builtin and then its argument prototype would still apply. */
8830 char glXCreateContext ();
8834 glXCreateContext ();
8839 rm -f conftest.
$ac_objext conftest
$ac_exeext
8840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8841 (eval $ac_link) 2>conftest.er1
8843 grep -v '^ *+' conftest.er1
>conftest.err
8845 cat conftest.err
>&5
8846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8847 (exit $ac_status); } &&
8848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8853 (exit $ac_status); }; } &&
8854 { ac_try
='test -s conftest$ac_exeext'
8855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8859 (exit $ac_status); }; }; then
8860 ac_cv_lib_GL_glXCreateContext
=yes
8862 echo "$as_me: failed program was:" >&5
8863 sed 's/^/| /' conftest.
$ac_ext >&5
8865 ac_cv_lib_GL_glXCreateContext
=no
8867 rm -f conftest.err conftest.
$ac_objext \
8868 conftest
$ac_exeext conftest.
$ac_ext
8869 LIBS
=$ac_check_lib_save_LIBS
8871 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8872 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8873 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8879 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8881 OPENGLFILES
='$(OPENGLFILES)'
8883 cat >>confdefs.h
<<\_ACEOF
8884 #define HAVE_OPENGL 1
8888 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8889 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8890 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8891 echo $ECHO_N "(cached) $ECHO_C" >&6
8893 ac_check_lib_save_LIBS
=$LIBS
8894 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8895 cat >conftest.
$ac_ext <<_ACEOF
8898 cat confdefs.h
>>conftest.
$ac_ext
8899 cat >>conftest.
$ac_ext <<_ACEOF
8900 /* end confdefs.h. */
8902 /* Override any gcc2 internal prototype to avoid an error. */
8906 /* We use char because int might match the return type of a gcc2
8907 builtin and then its argument prototype would still apply. */
8908 char glXGetProcAddressARB ();
8912 glXGetProcAddressARB ();
8917 rm -f conftest.
$ac_objext conftest
$ac_exeext
8918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8919 (eval $ac_link) 2>conftest.er1
8921 grep -v '^ *+' conftest.er1
>conftest.err
8923 cat conftest.err
>&5
8924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8925 (exit $ac_status); } &&
8926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8931 (exit $ac_status); }; } &&
8932 { ac_try
='test -s conftest$ac_exeext'
8933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8937 (exit $ac_status); }; }; then
8938 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8940 echo "$as_me: failed program was:" >&5
8941 sed 's/^/| /' conftest.
$ac_ext >&5
8943 ac_cv_lib_GL_glXGetProcAddressARB
=no
8945 rm -f conftest.err conftest.
$ac_objext \
8946 conftest
$ac_exeext conftest.
$ac_ext
8947 LIBS
=$ac_check_lib_save_LIBS
8949 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8950 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8951 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8953 cat >>confdefs.h
<<\_ACEOF
8954 #define HAVE_GLX_GETPROCADDRESS 1
8960 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8962 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8963 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8964 if test "${wine_cv_extension_prototypes+set}" = set; then
8965 echo $ECHO_N "(cached) $ECHO_C" >&6
8967 cat >conftest.
$ac_ext <<_ACEOF
8970 cat confdefs.h
>>conftest.
$ac_ext
8971 cat >>conftest.
$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8974 #ifdef HAVE_GL_GLEXT_H
8975 # include <GL/glext.h>
8981 PFNGLCOLORTABLEEXTPROC test_proc;
8986 rm -f conftest.
$ac_objext
8987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8988 (eval $ac_compile) 2>conftest.er1
8990 grep -v '^ *+' conftest.er1
>conftest.err
8992 cat conftest.err
>&5
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); } &&
8995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 (exit $ac_status); }; } &&
9001 { ac_try
='test -s conftest.$ac_objext'
9002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9006 (exit $ac_status); }; }; then
9007 wine_cv_extension_prototypes
="yes"
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.
$ac_ext >&5
9012 wine_cv_extension_prototypes
="no"
9015 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9018 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
9019 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
9020 if test "$wine_cv_extension_prototypes" = "yes"
9023 cat >>confdefs.h
<<\_ACEOF
9024 #define HAVE_GLEXT_PROTOTYPES 1
9031 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9032 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
9033 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9034 echo $ECHO_N "(cached) $ECHO_C" >&6
9036 ac_check_lib_save_LIBS
=$LIBS
9037 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9039 cat >conftest.
$ac_ext <<_ACEOF
9042 cat confdefs.h
>>conftest.
$ac_ext
9043 cat >>conftest.
$ac_ext <<_ACEOF
9044 /* end confdefs.h. */
9046 /* Override any gcc2 internal prototype to avoid an error. */
9050 /* We use char because int might match the return type of a gcc2
9051 builtin and then its argument prototype would still apply. */
9061 rm -f conftest.
$ac_objext conftest
$ac_exeext
9062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9063 (eval $ac_link) 2>conftest.er1
9065 grep -v '^ *+' conftest.er1
>conftest.err
9067 cat conftest.err
>&5
9068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9069 (exit $ac_status); } &&
9070 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9075 (exit $ac_status); }; } &&
9076 { ac_try
='test -s conftest$ac_exeext'
9077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); }; }; then
9082 ac_cv_lib_GLU_gluLookAt
=yes
9084 echo "$as_me: failed program was:" >&5
9085 sed 's/^/| /' conftest.
$ac_ext >&5
9087 ac_cv_lib_GLU_gluLookAt
=no
9089 rm -f conftest.err conftest.
$ac_objext \
9090 conftest
$ac_exeext conftest.
$ac_ext
9091 LIBS
=$ac_check_lib_save_LIBS
9093 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9094 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
9095 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9096 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
9097 GLU32FILES
='$(GLU32FILES)'
9103 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
9104 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
9105 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
9106 echo $ECHO_N "(cached) $ECHO_C" >&6
9108 ac_check_lib_save_LIBS
=$LIBS
9109 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
9110 cat >conftest.
$ac_ext <<_ACEOF
9113 cat confdefs.h
>>conftest.
$ac_ext
9114 cat >>conftest.
$ac_ext <<_ACEOF
9115 /* end confdefs.h. */
9117 /* Override any gcc2 internal prototype to avoid an error. */
9121 /* We use char because int might match the return type of a gcc2
9122 builtin and then its argument prototype would still apply. */
9123 char glutMainLoop ();
9132 rm -f conftest.
$ac_objext conftest
$ac_exeext
9133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9134 (eval $ac_link) 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); } &&
9141 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9146 (exit $ac_status); }; } &&
9147 { ac_try
='test -s conftest$ac_exeext'
9148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); }; }; then
9153 ac_cv_lib_glut_glutMainLoop
=yes
9155 echo "$as_me: failed program was:" >&5
9156 sed 's/^/| /' conftest.
$ac_ext >&5
9158 ac_cv_lib_glut_glutMainLoop
=no
9160 rm -f conftest.err conftest.
$ac_objext \
9161 conftest
$ac_exeext conftest.
$ac_ext
9162 LIBS
=$ac_check_lib_save_LIBS
9164 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9165 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9166 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9167 GLUT_LIBS
="-lglut -lXmu -lXi"
9169 GLUT32FILES
='$(GLUT32FILES)'
9179 for ac_header
in audio
/audiolib.h
9181 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9183 echo "$as_me:$LINENO: checking for $ac_header" >&5
9184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9186 echo $ECHO_N "(cached) $ECHO_C" >&6
9188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9191 # Is the header compilable?
9192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9194 cat >conftest.
$ac_ext <<_ACEOF
9197 cat confdefs.h
>>conftest.
$ac_ext
9198 cat >>conftest.
$ac_ext <<_ACEOF
9199 /* end confdefs.h. */
9200 $ac_includes_default
9201 #include <$ac_header>
9203 rm -f conftest.
$ac_objext
9204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9205 (eval $ac_compile) 2>conftest.er1
9207 grep -v '^ *+' conftest.er1
>conftest.err
9209 cat conftest.err
>&5
9210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9211 (exit $ac_status); } &&
9212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9217 (exit $ac_status); }; } &&
9218 { ac_try
='test -s conftest.$ac_objext'
9219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9223 (exit $ac_status); }; }; then
9224 ac_header_compiler
=yes
9226 echo "$as_me: failed program was:" >&5
9227 sed 's/^/| /' conftest.
$ac_ext >&5
9229 ac_header_compiler
=no
9231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9232 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9233 echo "${ECHO_T}$ac_header_compiler" >&6
9235 # Is the header present?
9236 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9237 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9238 cat >conftest.
$ac_ext <<_ACEOF
9241 cat confdefs.h
>>conftest.
$ac_ext
9242 cat >>conftest.
$ac_ext <<_ACEOF
9243 /* end confdefs.h. */
9244 #include <$ac_header>
9246 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9247 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9249 grep -v '^ *+' conftest.er1
>conftest.err
9251 cat conftest.err
>&5
9252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9253 (exit $ac_status); } >/dev
/null
; then
9254 if test -s conftest.err
; then
9255 ac_cpp_err
=$ac_c_preproc_warn_flag
9256 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9263 if test -z "$ac_cpp_err"; then
9264 ac_header_preproc
=yes
9266 echo "$as_me: failed program was:" >&5
9267 sed 's/^/| /' conftest.
$ac_ext >&5
9269 ac_header_preproc
=no
9271 rm -f conftest.err conftest.
$ac_ext
9272 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9273 echo "${ECHO_T}$ac_header_preproc" >&6
9275 # So? What about this header?
9276 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9278 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9279 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9281 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9282 ac_header_preproc
=yes
9285 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9286 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9287 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9288 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9289 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9290 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9291 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9292 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9293 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9294 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9295 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9296 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9299 ## ------------------------------------ ##
9300 ## Report this to wine-devel@winehq.org ##
9301 ## ------------------------------------ ##
9304 sed "s/^/$as_me: WARNING: /" >&2
9307 echo "$as_me:$LINENO: checking for $ac_header" >&5
9308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6
9312 eval "$as_ac_Header=\$ac_header_preproc"
9314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9315 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9318 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9319 cat >>confdefs.h
<<_ACEOF
9320 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9323 for ac_header
in audio
/soundlib.h
9325 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9326 echo "$as_me:$LINENO: checking for $ac_header" >&5
9327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9329 echo $ECHO_N "(cached) $ECHO_C" >&6
9331 cat >conftest.
$ac_ext <<_ACEOF
9334 cat confdefs.h
>>conftest.
$ac_ext
9335 cat >>conftest.
$ac_ext <<_ACEOF
9336 /* end confdefs.h. */
9337 #include <audio/audiolib.h>
9339 #include <$ac_header>
9341 rm -f conftest.
$ac_objext
9342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9343 (eval $ac_compile) 2>conftest.er1
9345 grep -v '^ *+' conftest.er1
>conftest.err
9347 cat conftest.err
>&5
9348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9349 (exit $ac_status); } &&
9350 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9355 (exit $ac_status); }; } &&
9356 { ac_try
='test -s conftest.$ac_objext'
9357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9361 (exit $ac_status); }; }; then
9362 eval "$as_ac_Header=yes"
9364 echo "$as_me: failed program was:" >&5
9365 sed 's/^/| /' conftest.
$ac_ext >&5
9367 eval "$as_ac_Header=no"
9369 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9373 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9374 cat >>confdefs.h
<<_ACEOF
9375 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9382 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9383 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9384 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9385 echo $ECHO_N "(cached) $ECHO_C" >&6
9387 ac_check_lib_save_LIBS
=$LIBS
9388 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9389 cat >conftest.
$ac_ext <<_ACEOF
9392 cat confdefs.h
>>conftest.
$ac_ext
9393 cat >>conftest.
$ac_ext <<_ACEOF
9394 /* end confdefs.h. */
9396 /* Override any gcc2 internal prototype to avoid an error. */
9400 /* We use char because int might match the return type of a gcc2
9401 builtin and then its argument prototype would still apply. */
9402 char AuCreateFlow ();
9411 rm -f conftest.
$ac_objext conftest
$ac_exeext
9412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9413 (eval $ac_link) 2>conftest.er1
9415 grep -v '^ *+' conftest.er1
>conftest.err
9417 cat conftest.err
>&5
9418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9419 (exit $ac_status); } &&
9420 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9425 (exit $ac_status); }; } &&
9426 { ac_try
='test -s conftest$ac_exeext'
9427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9431 (exit $ac_status); }; }; then
9432 ac_cv_lib_audio_AuCreateFlow
=yes
9434 echo "$as_me: failed program was:" >&5
9435 sed 's/^/| /' conftest.
$ac_ext >&5
9437 ac_cv_lib_audio_AuCreateFlow
=no
9439 rm -f conftest.err conftest.
$ac_objext \
9440 conftest
$ac_exeext conftest.
$ac_ext
9441 LIBS
=$ac_check_lib_save_LIBS
9443 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9444 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9445 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9447 cat >>confdefs.h
<<\_ACEOF
9451 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9459 CPPFLAGS
="$ac_save_CPPFLAGS"
9468 if test "x$with_curses" != "xno"
9471 for ac_header
in ncurses.h
9473 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9475 echo "$as_me:$LINENO: checking for $ac_header" >&5
9476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9478 echo $ECHO_N "(cached) $ECHO_C" >&6
9480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9481 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9483 # Is the header compilable?
9484 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9485 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9486 cat >conftest.
$ac_ext <<_ACEOF
9489 cat confdefs.h
>>conftest.
$ac_ext
9490 cat >>conftest.
$ac_ext <<_ACEOF
9491 /* end confdefs.h. */
9492 $ac_includes_default
9493 #include <$ac_header>
9495 rm -f conftest.
$ac_objext
9496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9497 (eval $ac_compile) 2>conftest.er1
9499 grep -v '^ *+' conftest.er1
>conftest.err
9501 cat conftest.err
>&5
9502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9503 (exit $ac_status); } &&
9504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); }; } &&
9510 { ac_try
='test -s conftest.$ac_objext'
9511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9515 (exit $ac_status); }; }; then
9516 ac_header_compiler
=yes
9518 echo "$as_me: failed program was:" >&5
9519 sed 's/^/| /' conftest.
$ac_ext >&5
9521 ac_header_compiler
=no
9523 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9524 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9525 echo "${ECHO_T}$ac_header_compiler" >&6
9527 # Is the header present?
9528 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9529 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9530 cat >conftest.
$ac_ext <<_ACEOF
9533 cat confdefs.h
>>conftest.
$ac_ext
9534 cat >>conftest.
$ac_ext <<_ACEOF
9535 /* end confdefs.h. */
9536 #include <$ac_header>
9538 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9539 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9541 grep -v '^ *+' conftest.er1
>conftest.err
9543 cat conftest.err
>&5
9544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9545 (exit $ac_status); } >/dev
/null
; then
9546 if test -s conftest.err
; then
9547 ac_cpp_err
=$ac_c_preproc_warn_flag
9548 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9555 if test -z "$ac_cpp_err"; then
9556 ac_header_preproc
=yes
9558 echo "$as_me: failed program was:" >&5
9559 sed 's/^/| /' conftest.
$ac_ext >&5
9561 ac_header_preproc
=no
9563 rm -f conftest.err conftest.
$ac_ext
9564 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9565 echo "${ECHO_T}$ac_header_preproc" >&6
9567 # So? What about this header?
9568 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9570 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9571 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9572 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9573 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9574 ac_header_preproc
=yes
9577 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9578 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9579 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9580 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9581 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9582 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9583 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9584 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9586 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9587 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9588 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9591 ## ------------------------------------ ##
9592 ## Report this to wine-devel@winehq.org ##
9593 ## ------------------------------------ ##
9596 sed "s/^/$as_me: WARNING: /" >&2
9599 echo "$as_me:$LINENO: checking for $ac_header" >&5
9600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9602 echo $ECHO_N "(cached) $ECHO_C" >&6
9604 eval "$as_ac_Header=\$ac_header_preproc"
9606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9611 cat >>confdefs.h
<<_ACEOF
9612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9614 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9615 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9616 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9617 echo $ECHO_N "(cached) $ECHO_C" >&6
9619 ac_check_lib_save_LIBS
=$LIBS
9620 LIBS
="-lncurses $LIBS"
9621 cat >conftest.
$ac_ext <<_ACEOF
9624 cat confdefs.h
>>conftest.
$ac_ext
9625 cat >>conftest.
$ac_ext <<_ACEOF
9626 /* end confdefs.h. */
9628 /* Override any gcc2 internal prototype to avoid an error. */
9632 /* We use char because int might match the return type of a gcc2
9633 builtin and then its argument prototype would still apply. */
9643 rm -f conftest.
$ac_objext conftest
$ac_exeext
9644 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9645 (eval $ac_link) 2>conftest.er1
9647 grep -v '^ *+' conftest.er1
>conftest.err
9649 cat conftest.err
>&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); } &&
9652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); }; } &&
9658 { ac_try
='test -s conftest$ac_exeext'
9659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9663 (exit $ac_status); }; }; then
9664 ac_cv_lib_ncurses_waddch
=yes
9666 echo "$as_me: failed program was:" >&5
9667 sed 's/^/| /' conftest.
$ac_ext >&5
9669 ac_cv_lib_ncurses_waddch
=no
9671 rm -f conftest.err conftest.
$ac_objext \
9672 conftest
$ac_exeext conftest.
$ac_ext
9673 LIBS
=$ac_check_lib_save_LIBS
9675 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9676 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9677 if test $ac_cv_lib_ncurses_waddch = yes; then
9679 cat >>confdefs.h
<<\_ACEOF
9680 #define HAVE_LIBNCURSES 1
9683 CURSESLIBS
="-lncurses"
9686 for ac_header
in curses.h
9688 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9690 echo "$as_me:$LINENO: checking for $ac_header" >&5
9691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9693 echo $ECHO_N "(cached) $ECHO_C" >&6
9695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9696 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9698 # Is the header compilable?
9699 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9701 cat >conftest.
$ac_ext <<_ACEOF
9704 cat confdefs.h
>>conftest.
$ac_ext
9705 cat >>conftest.
$ac_ext <<_ACEOF
9706 /* end confdefs.h. */
9707 $ac_includes_default
9708 #include <$ac_header>
9710 rm -f conftest.
$ac_objext
9711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9712 (eval $ac_compile) 2>conftest.er1
9714 grep -v '^ *+' conftest.er1
>conftest.err
9716 cat conftest.err
>&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); } &&
9719 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); }; } &&
9725 { ac_try
='test -s conftest.$ac_objext'
9726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9730 (exit $ac_status); }; }; then
9731 ac_header_compiler
=yes
9733 echo "$as_me: failed program was:" >&5
9734 sed 's/^/| /' conftest.
$ac_ext >&5
9736 ac_header_compiler
=no
9738 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9739 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9740 echo "${ECHO_T}$ac_header_compiler" >&6
9742 # Is the header present?
9743 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9745 cat >conftest.
$ac_ext <<_ACEOF
9748 cat confdefs.h
>>conftest.
$ac_ext
9749 cat >>conftest.
$ac_ext <<_ACEOF
9750 /* end confdefs.h. */
9751 #include <$ac_header>
9753 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9754 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9756 grep -v '^ *+' conftest.er1
>conftest.err
9758 cat conftest.err
>&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } >/dev
/null
; then
9761 if test -s conftest.err
; then
9762 ac_cpp_err
=$ac_c_preproc_warn_flag
9763 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9770 if test -z "$ac_cpp_err"; then
9771 ac_header_preproc
=yes
9773 echo "$as_me: failed program was:" >&5
9774 sed 's/^/| /' conftest.
$ac_ext >&5
9776 ac_header_preproc
=no
9778 rm -f conftest.err conftest.
$ac_ext
9779 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9780 echo "${ECHO_T}$ac_header_preproc" >&6
9782 # So? What about this header?
9783 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9785 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9786 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9788 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9789 ac_header_preproc
=yes
9792 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9793 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9794 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9795 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9796 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9797 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9798 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9799 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9801 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9802 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9803 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9806 ## ------------------------------------ ##
9807 ## Report this to wine-devel@winehq.org ##
9808 ## ------------------------------------ ##
9811 sed "s/^/$as_me: WARNING: /" >&2
9814 echo "$as_me:$LINENO: checking for $ac_header" >&5
9815 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9816 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9817 echo $ECHO_N "(cached) $ECHO_C" >&6
9819 eval "$as_ac_Header=\$ac_header_preproc"
9821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9822 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9825 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9826 cat >>confdefs.h
<<_ACEOF
9827 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9829 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9830 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9831 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9832 echo $ECHO_N "(cached) $ECHO_C" >&6
9834 ac_check_lib_save_LIBS
=$LIBS
9835 LIBS
="-lcurses $LIBS"
9836 cat >conftest.
$ac_ext <<_ACEOF
9839 cat confdefs.h
>>conftest.
$ac_ext
9840 cat >>conftest.
$ac_ext <<_ACEOF
9841 /* end confdefs.h. */
9843 /* Override any gcc2 internal prototype to avoid an error. */
9847 /* We use char because int might match the return type of a gcc2
9848 builtin and then its argument prototype would still apply. */
9858 rm -f conftest.
$ac_objext conftest
$ac_exeext
9859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9860 (eval $ac_link) 2>conftest.er1
9862 grep -v '^ *+' conftest.er1
>conftest.err
9864 cat conftest.err
>&5
9865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9866 (exit $ac_status); } &&
9867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9872 (exit $ac_status); }; } &&
9873 { ac_try
='test -s conftest$ac_exeext'
9874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9878 (exit $ac_status); }; }; then
9879 ac_cv_lib_curses_waddch
=yes
9881 echo "$as_me: failed program was:" >&5
9882 sed 's/^/| /' conftest.
$ac_ext >&5
9884 ac_cv_lib_curses_waddch
=no
9886 rm -f conftest.err conftest.
$ac_objext \
9887 conftest
$ac_exeext conftest.
$ac_ext
9888 LIBS
=$ac_check_lib_save_LIBS
9890 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9891 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9892 if test $ac_cv_lib_curses_waddch = yes; then
9894 cat >>confdefs.h
<<\_ACEOF
9895 #define HAVE_LIBCURSES 1
9898 CURSESLIBS
="-lcurses"
9912 LIBS
="$CURSESLIBS $LIBS"
9915 for ac_func
in getbkgd resizeterm
9917 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9918 echo "$as_me:$LINENO: checking for $ac_func" >&5
9919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9920 if eval "test \"\${$as_ac_var+set}\" = set"; then
9921 echo $ECHO_N "(cached) $ECHO_C" >&6
9923 cat >conftest.
$ac_ext <<_ACEOF
9926 cat confdefs.h
>>conftest.
$ac_ext
9927 cat >>conftest.
$ac_ext <<_ACEOF
9928 /* end confdefs.h. */
9929 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9930 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9931 #define $ac_func innocuous_$ac_func
9933 /* System header to define __stub macros and hopefully few prototypes,
9934 which can conflict with char $ac_func (); below.
9935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9936 <limits.h> exists even on freestanding compilers. */
9939 # include <limits.h>
9941 # include <assert.h>
9946 /* Override any gcc2 internal prototype to avoid an error. */
9951 /* We use char because int might match the return type of a gcc2
9952 builtin and then its argument prototype would still apply. */
9954 /* The GNU C library defines this for functions which it implements
9955 to always fail with ENOSYS. Some functions are actually named
9956 something starting with __ and the normal name is an alias. */
9957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9960 char (*f) () = $ac_func;
9969 return f != $ac_func;
9974 rm -f conftest.
$ac_objext conftest
$ac_exeext
9975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9976 (eval $ac_link) 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_exeext'
9990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9994 (exit $ac_status); }; }; then
9995 eval "$as_ac_var=yes"
9997 echo "$as_me: failed program was:" >&5
9998 sed 's/^/| /' conftest.
$ac_ext >&5
10000 eval "$as_ac_var=no"
10002 rm -f conftest.err conftest.
$ac_objext \
10003 conftest
$ac_exeext conftest.
$ac_ext
10005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10007 if test `eval echo '${'$as_ac_var'}'` = yes; then
10008 cat >>confdefs.h
<<_ACEOF
10009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10019 # Extract the first word of "sane-config", so it can be a program name with args.
10020 set dummy sane-config
; ac_word
=$2
10021 echo "$as_me:$LINENO: checking for $ac_word" >&5
10022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10023 if test "${ac_cv_prog_sane_devel+set}" = set; then
10024 echo $ECHO_N "(cached) $ECHO_C" >&6
10026 if test -n "$sane_devel"; then
10027 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10030 for as_dir
in $PATH
10033 test -z "$as_dir" && as_dir
=.
10034 for ac_exec_ext
in '' $ac_executable_extensions; do
10035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10036 ac_cv_prog_sane_devel
="sane-config"
10037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10043 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10046 sane_devel
=$ac_cv_prog_sane_devel
10047 if test -n "$sane_devel"; then
10048 echo "$as_me:$LINENO: result: $sane_devel" >&5
10049 echo "${ECHO_T}$sane_devel" >&6
10051 echo "$as_me:$LINENO: result: no" >&5
10052 echo "${ECHO_T}no" >&6
10055 if test "$sane_devel" = "no"
10060 SANELIBS
="`$sane_devel --libs`"
10061 SANEINCL
="`$sane_devel --cflags`"
10062 ac_save_CPPFLAGS
="$CPPFLAGS"
10063 ac_save_LIBS
="$LIBS"
10064 CPPFLAGS
="$CPPFLAGS $SANEINCL"
10065 LIBS
="$LIBS $SANELIBS"
10066 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10067 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10068 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10069 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10070 echo $ECHO_N "(cached) $ECHO_C" >&6
10072 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10073 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10075 # Is the header compilable?
10076 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
10077 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
10078 cat >conftest.
$ac_ext <<_ACEOF
10081 cat confdefs.h
>>conftest.
$ac_ext
10082 cat >>conftest.
$ac_ext <<_ACEOF
10083 /* end confdefs.h. */
10084 $ac_includes_default
10085 #include <sane/sane.h>
10087 rm -f conftest.
$ac_objext
10088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10089 (eval $ac_compile) 2>conftest.er1
10091 grep -v '^ *+' conftest.er1
>conftest.err
10093 cat conftest.err
>&5
10094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10095 (exit $ac_status); } &&
10096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10098 (eval $ac_try) 2>&5
10100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10101 (exit $ac_status); }; } &&
10102 { ac_try
='test -s conftest.$ac_objext'
10103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10104 (eval $ac_try) 2>&5
10106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10107 (exit $ac_status); }; }; then
10108 ac_header_compiler
=yes
10110 echo "$as_me: failed program was:" >&5
10111 sed 's/^/| /' conftest.
$ac_ext >&5
10113 ac_header_compiler
=no
10115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10116 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10117 echo "${ECHO_T}$ac_header_compiler" >&6
10119 # Is the header present?
10120 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
10121 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
10122 cat >conftest.
$ac_ext <<_ACEOF
10125 cat confdefs.h
>>conftest.
$ac_ext
10126 cat >>conftest.
$ac_ext <<_ACEOF
10127 /* end confdefs.h. */
10128 #include <sane/sane.h>
10130 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10131 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10133 grep -v '^ *+' conftest.er1
>conftest.err
10135 cat conftest.err
>&5
10136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10137 (exit $ac_status); } >/dev
/null
; then
10138 if test -s conftest.err
; then
10139 ac_cpp_err
=$ac_c_preproc_warn_flag
10140 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10147 if test -z "$ac_cpp_err"; then
10148 ac_header_preproc
=yes
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.
$ac_ext >&5
10153 ac_header_preproc
=no
10155 rm -f conftest.err conftest.
$ac_ext
10156 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10157 echo "${ECHO_T}$ac_header_preproc" >&6
10159 # So? What about this header?
10160 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10162 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10163 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10164 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10165 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10166 ac_header_preproc
=yes
10169 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10170 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10171 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10172 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10173 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10174 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10175 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10176 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10177 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10178 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10179 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10180 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10183 ## ------------------------------------ ##
10184 ## Report this to wine-devel@winehq.org ##
10185 ## ------------------------------------ ##
10188 sed "s/^/$as_me: WARNING: /" >&2
10191 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10192 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10193 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10196 ac_cv_header_sane_sane_h
=$ac_header_preproc
10198 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10199 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10202 if test $ac_cv_header_sane_sane_h = yes; then
10203 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10204 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10205 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10206 echo $ECHO_N "(cached) $ECHO_C" >&6
10208 ac_check_lib_save_LIBS
=$LIBS
10209 LIBS
="-lsane $LIBS"
10210 cat >conftest.
$ac_ext <<_ACEOF
10213 cat confdefs.h
>>conftest.
$ac_ext
10214 cat >>conftest.
$ac_ext <<_ACEOF
10215 /* end confdefs.h. */
10217 /* Override any gcc2 internal prototype to avoid an error. */
10221 /* We use char because int might match the return type of a gcc2
10222 builtin and then its argument prototype would still apply. */
10232 rm -f conftest.
$ac_objext conftest
$ac_exeext
10233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10234 (eval $ac_link) 2>conftest.er1
10236 grep -v '^ *+' conftest.er1
>conftest.err
10238 cat conftest.err
>&5
10239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10240 (exit $ac_status); } &&
10241 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10243 (eval $ac_try) 2>&5
10245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10246 (exit $ac_status); }; } &&
10247 { ac_try
='test -s conftest$ac_exeext'
10248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249 (eval $ac_try) 2>&5
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; }; then
10253 ac_cv_lib_sane_sane_open
=yes
10255 echo "$as_me: failed program was:" >&5
10256 sed 's/^/| /' conftest.
$ac_ext >&5
10258 ac_cv_lib_sane_sane_open
=no
10260 rm -f conftest.err conftest.
$ac_objext \
10261 conftest
$ac_exeext conftest.
$ac_ext
10262 LIBS
=$ac_check_lib_save_LIBS
10264 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10265 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10266 if test $ac_cv_lib_sane_sane_open = yes; then
10268 cat >>confdefs.h
<<\_ACEOF
10269 #define HAVE_SANE 1
10283 LIBS
="$ac_save_LIBS"
10284 CPPFLAGS
="$ac_save_CPPFLAGS"
10290 for ac_header
in unicode
/ubidi.h
10292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10294 echo "$as_me:$LINENO: checking for $ac_header" >&5
10295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10297 echo $ECHO_N "(cached) $ECHO_C" >&6
10299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10302 # Is the header compilable?
10303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10305 cat >conftest.
$ac_ext <<_ACEOF
10308 cat confdefs.h
>>conftest.
$ac_ext
10309 cat >>conftest.
$ac_ext <<_ACEOF
10310 /* end confdefs.h. */
10311 $ac_includes_default
10312 #include <$ac_header>
10314 rm -f conftest.
$ac_objext
10315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10316 (eval $ac_compile) 2>conftest.er1
10318 grep -v '^ *+' conftest.er1
>conftest.err
10320 cat conftest.err
>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); } &&
10323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; } &&
10329 { ac_try
='test -s conftest.$ac_objext'
10330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331 (eval $ac_try) 2>&5
10333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334 (exit $ac_status); }; }; then
10335 ac_header_compiler
=yes
10337 echo "$as_me: failed program was:" >&5
10338 sed 's/^/| /' conftest.
$ac_ext >&5
10340 ac_header_compiler
=no
10342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10344 echo "${ECHO_T}$ac_header_compiler" >&6
10346 # Is the header present?
10347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10349 cat >conftest.
$ac_ext <<_ACEOF
10352 cat confdefs.h
>>conftest.
$ac_ext
10353 cat >>conftest.
$ac_ext <<_ACEOF
10354 /* end confdefs.h. */
10355 #include <$ac_header>
10357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10360 grep -v '^ *+' conftest.er1
>conftest.err
10362 cat conftest.err
>&5
10363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10364 (exit $ac_status); } >/dev
/null
; then
10365 if test -s conftest.err
; then
10366 ac_cpp_err
=$ac_c_preproc_warn_flag
10367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10374 if test -z "$ac_cpp_err"; then
10375 ac_header_preproc
=yes
10377 echo "$as_me: failed program was:" >&5
10378 sed 's/^/| /' conftest.
$ac_ext >&5
10380 ac_header_preproc
=no
10382 rm -f conftest.err conftest.
$ac_ext
10383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10384 echo "${ECHO_T}$ac_header_preproc" >&6
10386 # So? What about this header?
10387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10393 ac_header_preproc
=yes
10396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10410 ## ------------------------------------ ##
10411 ## Report this to wine-devel@winehq.org ##
10412 ## ------------------------------------ ##
10415 sed "s/^/$as_me: WARNING: /" >&2
10418 echo "$as_me:$LINENO: checking for $ac_header" >&5
10419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10423 eval "$as_ac_Header=\$ac_header_preproc"
10425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10430 cat >>confdefs.h
<<_ACEOF
10431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10438 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10441 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10442 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libicuuc.a}"
10443 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libicudata.a}"
10444 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10445 cat >conftest.
$ac_ext <<_ACEOF
10448 cat confdefs.h
>>conftest.
$ac_ext
10449 cat >>conftest.
$ac_ext <<_ACEOF
10450 /* end confdefs.h. */
10451 #include <unicode/ubidi.h>
10460 rm -f conftest.
$ac_objext conftest
$ac_exeext
10461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10462 (eval $ac_link) 2>conftest.er1
10464 grep -v '^ *+' conftest.er1
>conftest.err
10466 cat conftest.err
>&5
10467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10468 (exit $ac_status); } &&
10469 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10471 (eval $ac_try) 2>&5
10473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10474 (exit $ac_status); }; } &&
10475 { ac_try
='test -s conftest$ac_exeext'
10476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10477 (eval $ac_try) 2>&5
10479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10480 (exit $ac_status); }; }; then
10482 cat >>confdefs.h
<<\_ACEOF
10486 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10489 echo "$as_me: failed program was:" >&5
10490 sed 's/^/| /' conftest.
$ac_ext >&5
10493 rm -f conftest.err conftest.
$ac_objext \
10494 conftest
$ac_exeext conftest.
$ac_ext
10498 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10499 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10500 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10501 echo $ECHO_N "(cached) $ECHO_C" >&6
10503 ac_check_lib_save_LIBS
=$LIBS
10504 LIBS
="-lfreetype $X_LIBS $LIBS"
10505 cat >conftest.
$ac_ext <<_ACEOF
10508 cat confdefs.h
>>conftest.
$ac_ext
10509 cat >>conftest.
$ac_ext <<_ACEOF
10510 /* end confdefs.h. */
10512 /* Override any gcc2 internal prototype to avoid an error. */
10516 /* We use char because int might match the return type of a gcc2
10517 builtin and then its argument prototype would still apply. */
10518 char FT_Init_FreeType ();
10522 FT_Init_FreeType ();
10527 rm -f conftest.
$ac_objext conftest
$ac_exeext
10528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10529 (eval $ac_link) 2>conftest.er1
10531 grep -v '^ *+' conftest.er1
>conftest.err
10533 cat conftest.err
>&5
10534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10535 (exit $ac_status); } &&
10536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10538 (eval $ac_try) 2>&5
10540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10541 (exit $ac_status); }; } &&
10542 { ac_try
='test -s conftest$ac_exeext'
10543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10544 (eval $ac_try) 2>&5
10546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10547 (exit $ac_status); }; }; then
10548 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10550 echo "$as_me: failed program was:" >&5
10551 sed 's/^/| /' conftest.
$ac_ext >&5
10553 ac_cv_lib_freetype_FT_Init_FreeType
=no
10555 rm -f conftest.err conftest.
$ac_objext \
10556 conftest
$ac_exeext conftest.
$ac_ext
10557 LIBS
=$ac_check_lib_save_LIBS
10559 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10560 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10561 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10567 if test "$ft_lib" = "no"
10570 wine_cv_msg_freetype
=no
10572 # Extract the first word of "freetype-config", so it can be a program name with args.
10573 set dummy freetype-config
; ac_word
=$2
10574 echo "$as_me:$LINENO: checking for $ac_word" >&5
10575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10576 if test "${ac_cv_prog_ft_devel+set}" = set; then
10577 echo $ECHO_N "(cached) $ECHO_C" >&6
10579 if test -n "$ft_devel"; then
10580 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10583 for as_dir
in $PATH
10586 test -z "$as_dir" && as_dir
=.
10587 for ac_exec_ext
in '' $ac_executable_extensions; do
10588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10589 ac_cv_prog_ft_devel
="freetype-config"
10590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10596 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10599 ft_devel
=$ac_cv_prog_ft_devel
10600 if test -n "$ft_devel"; then
10601 echo "$as_me:$LINENO: result: $ft_devel" >&5
10602 echo "${ECHO_T}$ft_devel" >&6
10604 echo "$as_me:$LINENO: result: no" >&5
10605 echo "${ECHO_T}no" >&6
10608 if test "$ft_devel" = "no"
10610 # Extract the first word of "freetype2-config", so it can be a program name with args.
10611 set dummy freetype2-config
; ac_word
=$2
10612 echo "$as_me:$LINENO: checking for $ac_word" >&5
10613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10614 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10617 if test -n "$ft_devel2"; then
10618 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10620 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10621 for as_dir
in $PATH
10624 test -z "$as_dir" && as_dir
=.
10625 for ac_exec_ext
in '' $ac_executable_extensions; do
10626 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10627 ac_cv_prog_ft_devel2
="freetype2-config"
10628 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10634 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10637 ft_devel2
=$ac_cv_prog_ft_devel2
10638 if test -n "$ft_devel2"; then
10639 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10640 echo "${ECHO_T}$ft_devel2" >&6
10642 echo "$as_me:$LINENO: result: no" >&5
10643 echo "${ECHO_T}no" >&6
10646 if test "$ft_devel2" = "freetype2-config"
10648 ft_devel
=$ft_devel2
10651 if test "$ft_devel" = "no"
10654 wine_cv_msg_freetype
=yes
10656 FREETYPEINCL
=`$ft_devel --cflags`
10657 ac_save_CPPFLAGS
="$CPPFLAGS"
10658 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10668 for ac_header
in ft2build.h \
10669 freetype
/freetype.h \
10670 freetype
/ftglyph.h \
10671 freetype
/tttables.h \
10672 freetype
/ftnames.h \
10673 freetype
/ftsnames.h \
10674 freetype
/ttnameid.h \
10675 freetype
/ftoutln.h \
10676 freetype
/internal
/sfnt.h
10678 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10679 echo "$as_me:$LINENO: checking for $ac_header" >&5
10680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10682 echo $ECHO_N "(cached) $ECHO_C" >&6
10684 cat >conftest.
$ac_ext <<_ACEOF
10687 cat confdefs.h
>>conftest.
$ac_ext
10688 cat >>conftest.
$ac_ext <<_ACEOF
10689 /* end confdefs.h. */
10690 #if HAVE_FT2BUILD_H
10691 #include <ft2build.h>
10694 #include <$ac_header>
10696 rm -f conftest.
$ac_objext
10697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10698 (eval $ac_compile) 2>conftest.er1
10700 grep -v '^ *+' conftest.er1
>conftest.err
10702 cat conftest.err
>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } &&
10705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10707 (eval $ac_try) 2>&5
10709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10710 (exit $ac_status); }; } &&
10711 { ac_try
='test -s conftest.$ac_objext'
10712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10713 (eval $ac_try) 2>&5
10715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10716 (exit $ac_status); }; }; then
10717 eval "$as_ac_Header=yes"
10719 echo "$as_me: failed program was:" >&5
10720 sed 's/^/| /' conftest.
$ac_ext >&5
10722 eval "$as_ac_Header=no"
10724 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10729 cat >>confdefs.h
<<_ACEOF
10730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10737 cat >conftest.
$ac_ext <<_ACEOF
10740 cat confdefs.h
>>conftest.
$ac_ext
10741 cat >>conftest.
$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10743 #include <ft2build.h>
10744 #include <freetype/fttrigon.h>
10746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10747 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10749 grep -v '^ *+' conftest.er1
>conftest.err
10751 cat conftest.err
>&5
10752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10753 (exit $ac_status); } >/dev
/null
; then
10754 if test -s conftest.err
; then
10755 ac_cpp_err
=$ac_c_preproc_warn_flag
10756 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10763 if test -z "$ac_cpp_err"; then
10765 cat >>confdefs.h
<<\_ACEOF
10766 #define HAVE_FREETYPE_FTTRIGON_H 1
10769 wine_cv_fttrigon
=yes
10771 echo "$as_me: failed program was:" >&5
10772 sed 's/^/| /' conftest.
$ac_ext >&5
10774 wine_cv_fttrigon
=no
10776 rm -f conftest.err conftest.
$ac_ext
10777 CPPFLAGS
="$ac_save_CPPFLAGS"
10778 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10781 cat >>confdefs.h
<<\_ACEOF
10782 #define HAVE_FREETYPE 1
10785 wine_cv_msg_freetype
=no
10788 wine_cv_msg_freetype
=yes
10794 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10795 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10796 if test "${ac_cv_c_ppdev+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 cat >conftest.
$ac_ext <<_ACEOF
10802 cat confdefs.h
>>conftest.
$ac_ext
10803 cat >>conftest.
$ac_ext <<_ACEOF
10804 /* end confdefs.h. */
10805 #include <linux/ppdev.h>
10809 ioctl (1,PPCLAIM,0)
10814 rm -f conftest.
$ac_objext
10815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10816 (eval $ac_compile) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1
>conftest.err
10820 cat conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; } &&
10829 { ac_try
='test -s conftest.$ac_objext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 ac_cv_c_ppdev
="yes"
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.
$ac_ext >&5
10842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10845 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10846 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10847 if test "$ac_cv_c_ppdev" = "yes"
10850 cat >>confdefs.h
<<\_ACEOF
10851 #define HAVE_PPDEV 1
10856 echo "$as_me:$LINENO: checking for va_copy" >&5
10857 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10858 if test "${ac_cv_c_va_copy+set}" = set; then
10859 echo $ECHO_N "(cached) $ECHO_C" >&6
10861 cat >conftest.
$ac_ext <<_ACEOF
10864 cat confdefs.h
>>conftest.
$ac_ext
10865 cat >>conftest.
$ac_ext <<_ACEOF
10866 /* end confdefs.h. */
10867 #include <stdarg.h>
10878 rm -f conftest.
$ac_objext conftest
$ac_exeext
10879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10880 (eval $ac_link) 2>conftest.er1
10882 grep -v '^ *+' conftest.er1
>conftest.err
10884 cat conftest.err
>&5
10885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10886 (exit $ac_status); } &&
10887 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10889 (eval $ac_try) 2>&5
10891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10892 (exit $ac_status); }; } &&
10893 { ac_try
='test -s conftest$ac_exeext'
10894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10895 (eval $ac_try) 2>&5
10897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10898 (exit $ac_status); }; }; then
10899 ac_cv_c_va_copy
="yes"
10901 echo "$as_me: failed program was:" >&5
10902 sed 's/^/| /' conftest.
$ac_ext >&5
10904 ac_cv_c_va_copy
="no"
10906 rm -f conftest.err conftest.
$ac_objext \
10907 conftest
$ac_exeext conftest.
$ac_ext
10910 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10911 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10912 if test "$ac_cv_c_va_copy" = "yes"
10915 cat >>confdefs.h
<<\_ACEOF
10916 #define HAVE_VA_COPY 1
10920 echo "$as_me:$LINENO: checking for __va_copy" >&5
10921 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10922 if test "${ac_cv_c___va_copy+set}" = set; then
10923 echo $ECHO_N "(cached) $ECHO_C" >&6
10925 cat >conftest.
$ac_ext <<_ACEOF
10928 cat confdefs.h
>>conftest.
$ac_ext
10929 cat >>conftest.
$ac_ext <<_ACEOF
10930 /* end confdefs.h. */
10931 #include <stdarg.h>
10936 __va_copy(ap1,ap2);
10942 rm -f conftest.
$ac_objext conftest
$ac_exeext
10943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10944 (eval $ac_link) 2>conftest.er1
10946 grep -v '^ *+' conftest.er1
>conftest.err
10948 cat conftest.err
>&5
10949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10950 (exit $ac_status); } &&
10951 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10953 (eval $ac_try) 2>&5
10955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10956 (exit $ac_status); }; } &&
10957 { ac_try
='test -s conftest$ac_exeext'
10958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10959 (eval $ac_try) 2>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); }; }; then
10963 ac_cv_c___va_copy
="yes"
10965 echo "$as_me: failed program was:" >&5
10966 sed 's/^/| /' conftest.
$ac_ext >&5
10968 ac_cv_c___va_copy
="no"
10970 rm -f conftest.err conftest.
$ac_objext \
10971 conftest
$ac_exeext conftest.
$ac_ext
10974 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10975 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10976 if test "$ac_cv_c___va_copy" = "yes"
10979 cat >>confdefs.h
<<\_ACEOF
10980 #define HAVE___VA_COPY 1
10985 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10986 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10987 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10988 echo $ECHO_N "(cached) $ECHO_C" >&6
10990 cat >conftest.
$ac_ext <<_ACEOF
10993 cat confdefs.h
>>conftest.
$ac_ext
10994 cat >>conftest.
$ac_ext <<_ACEOF
10995 /* end confdefs.h. */
10996 #include <setjmp.h>
11001 sigsetjmp( buf, 1 );
11002 siglongjmp( buf, 1 );
11007 rm -f conftest.
$ac_objext conftest
$ac_exeext
11008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11009 (eval $ac_link) 2>conftest.er1
11011 grep -v '^ *+' conftest.er1
>conftest.err
11013 cat conftest.err
>&5
11014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11015 (exit $ac_status); } &&
11016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11018 (eval $ac_try) 2>&5
11020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11021 (exit $ac_status); }; } &&
11022 { ac_try
='test -s conftest$ac_exeext'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; }; then
11028 ac_cv_c_sigsetjmp
="yes"
11030 echo "$as_me: failed program was:" >&5
11031 sed 's/^/| /' conftest.
$ac_ext >&5
11033 ac_cv_c_sigsetjmp
="no"
11035 rm -f conftest.err conftest.
$ac_objext \
11036 conftest
$ac_exeext conftest.
$ac_ext
11039 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11040 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
11041 if test "$ac_cv_c_sigsetjmp" = "yes"
11044 cat >>confdefs.h
<<\_ACEOF
11045 #define HAVE_SIGSETJMP 1
11050 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11051 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11052 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11053 echo $ECHO_N "(cached) $ECHO_C" >&6
11055 cat >conftest.
$ac_ext <<_ACEOF
11058 cat confdefs.h
>>conftest.
$ac_ext
11059 cat >>conftest.
$ac_ext <<_ACEOF
11060 /* end confdefs.h. */
11061 #define _GNU_SOURCE
11062 #include <pthread.h>
11067 if ((pthread_rwlock_t *) 0)
11069 if (sizeof (pthread_rwlock_t))
11075 rm -f conftest.
$ac_objext
11076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11077 (eval $ac_compile) 2>conftest.er1
11079 grep -v '^ *+' conftest.er1
>conftest.err
11081 cat conftest.err
>&5
11082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11083 (exit $ac_status); } &&
11084 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11086 (eval $ac_try) 2>&5
11088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11089 (exit $ac_status); }; } &&
11090 { ac_try
='test -s conftest.$ac_objext'
11091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11092 (eval $ac_try) 2>&5
11094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11095 (exit $ac_status); }; }; then
11096 ac_cv_type_pthread_rwlock_t
=yes
11098 echo "$as_me: failed program was:" >&5
11099 sed 's/^/| /' conftest.
$ac_ext >&5
11101 ac_cv_type_pthread_rwlock_t
=no
11103 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11105 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11106 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11107 if test $ac_cv_type_pthread_rwlock_t = yes; then
11109 cat >>confdefs.h
<<_ACEOF
11110 #define HAVE_PTHREAD_RWLOCK_T 1
11115 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11116 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11117 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11118 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 cat >conftest.
$ac_ext <<_ACEOF
11123 cat confdefs.h
>>conftest.
$ac_ext
11124 cat >>conftest.
$ac_ext <<_ACEOF
11125 /* end confdefs.h. */
11126 #define _GNU_SOURCE
11127 #include <pthread.h>
11132 if ((pthread_rwlockattr_t *) 0)
11134 if (sizeof (pthread_rwlockattr_t))
11140 rm -f conftest.
$ac_objext
11141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11142 (eval $ac_compile) 2>conftest.er1
11144 grep -v '^ *+' conftest.er1
>conftest.err
11146 cat conftest.err
>&5
11147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11148 (exit $ac_status); } &&
11149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11151 (eval $ac_try) 2>&5
11153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11154 (exit $ac_status); }; } &&
11155 { ac_try
='test -s conftest.$ac_objext'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; }; then
11161 ac_cv_type_pthread_rwlockattr_t
=yes
11163 echo "$as_me: failed program was:" >&5
11164 sed 's/^/| /' conftest.
$ac_ext >&5
11166 ac_cv_type_pthread_rwlockattr_t
=no
11168 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11170 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11171 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11172 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11174 cat >>confdefs.h
<<_ACEOF
11175 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11182 ac_save_LIBS
="$LIBS"
11183 LIBS
="$LIBS $LIBPTHREAD"
11185 for ac_func
in pthread_getattr_np
11187 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11188 echo "$as_me:$LINENO: checking for $ac_func" >&5
11189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11190 if eval "test \"\${$as_ac_var+set}\" = set"; then
11191 echo $ECHO_N "(cached) $ECHO_C" >&6
11193 cat >conftest.
$ac_ext <<_ACEOF
11196 cat confdefs.h
>>conftest.
$ac_ext
11197 cat >>conftest.
$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11201 #define $ac_func innocuous_$ac_func
11203 /* System header to define __stub macros and hopefully few prototypes,
11204 which can conflict with char $ac_func (); below.
11205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11206 <limits.h> exists even on freestanding compilers. */
11209 # include <limits.h>
11211 # include <assert.h>
11216 /* Override any gcc2 internal prototype to avoid an error. */
11221 /* We use char because int might match the return type of a gcc2
11222 builtin and then its argument prototype would still apply. */
11224 /* The GNU C library defines this for functions which it implements
11225 to always fail with ENOSYS. Some functions are actually named
11226 something starting with __ and the normal name is an alias. */
11227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11230 char (*f) () = $ac_func;
11239 return f != $ac_func;
11244 rm -f conftest.
$ac_objext conftest
$ac_exeext
11245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11246 (eval $ac_link) 2>conftest.er1
11248 grep -v '^ *+' conftest.er1
>conftest.err
11250 cat conftest.err
>&5
11251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11252 (exit $ac_status); } &&
11253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11255 (eval $ac_try) 2>&5
11257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11258 (exit $ac_status); }; } &&
11259 { ac_try
='test -s conftest$ac_exeext'
11260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261 (eval $ac_try) 2>&5
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; }; then
11265 eval "$as_ac_var=yes"
11267 echo "$as_me: failed program was:" >&5
11268 sed 's/^/| /' conftest.
$ac_ext >&5
11270 eval "$as_ac_var=no"
11272 rm -f conftest.err conftest.
$ac_objext \
11273 conftest
$ac_exeext conftest.
$ac_ext
11275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11277 if test `eval echo '${'$as_ac_var'}'` = yes; then
11278 cat >>confdefs.h
<<_ACEOF
11279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11285 LIBS
="$ac_save_LIBS"
11290 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
11292 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11294 echo "$as_me:$LINENO: checking for $ac_header" >&5
11295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11297 echo $ECHO_N "(cached) $ECHO_C" >&6
11299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11302 # Is the header compilable?
11303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11305 cat >conftest.
$ac_ext <<_ACEOF
11308 cat confdefs.h
>>conftest.
$ac_ext
11309 cat >>conftest.
$ac_ext <<_ACEOF
11310 /* end confdefs.h. */
11311 $ac_includes_default
11312 #include <$ac_header>
11314 rm -f conftest.
$ac_objext
11315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11316 (eval $ac_compile) 2>conftest.er1
11318 grep -v '^ *+' conftest.er1
>conftest.err
11320 cat conftest.err
>&5
11321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11322 (exit $ac_status); } &&
11323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11325 (eval $ac_try) 2>&5
11327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328 (exit $ac_status); }; } &&
11329 { ac_try
='test -s conftest.$ac_objext'
11330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11331 (eval $ac_try) 2>&5
11333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11334 (exit $ac_status); }; }; then
11335 ac_header_compiler
=yes
11337 echo "$as_me: failed program was:" >&5
11338 sed 's/^/| /' conftest.
$ac_ext >&5
11340 ac_header_compiler
=no
11342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11344 echo "${ECHO_T}$ac_header_compiler" >&6
11346 # Is the header present?
11347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11349 cat >conftest.
$ac_ext <<_ACEOF
11352 cat confdefs.h
>>conftest.
$ac_ext
11353 cat >>conftest.
$ac_ext <<_ACEOF
11354 /* end confdefs.h. */
11355 #include <$ac_header>
11357 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11358 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11360 grep -v '^ *+' conftest.er1
>conftest.err
11362 cat conftest.err
>&5
11363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11364 (exit $ac_status); } >/dev
/null
; then
11365 if test -s conftest.err
; then
11366 ac_cpp_err
=$ac_c_preproc_warn_flag
11367 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11374 if test -z "$ac_cpp_err"; then
11375 ac_header_preproc
=yes
11377 echo "$as_me: failed program was:" >&5
11378 sed 's/^/| /' conftest.
$ac_ext >&5
11380 ac_header_preproc
=no
11382 rm -f conftest.err conftest.
$ac_ext
11383 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11384 echo "${ECHO_T}$ac_header_preproc" >&6
11386 # So? What about this header?
11387 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11389 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11390 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11392 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11393 ac_header_preproc
=yes
11396 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11397 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11398 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11399 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11400 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11401 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11402 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11403 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11404 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11405 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11406 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11407 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11410 ## ------------------------------------ ##
11411 ## Report this to wine-devel@winehq.org ##
11412 ## ------------------------------------ ##
11415 sed "s/^/$as_me: WARNING: /" >&2
11418 echo "$as_me:$LINENO: checking for $ac_header" >&5
11419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11421 echo $ECHO_N "(cached) $ECHO_C" >&6
11423 eval "$as_ac_Header=\$ac_header_preproc"
11425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11429 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11430 cat >>confdefs.h
<<_ACEOF
11431 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11439 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11440 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11441 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11442 echo $ECHO_N "(cached) $ECHO_C" >&6
11444 cat >conftest.
$ac_ext <<_ACEOF
11447 cat confdefs.h
>>conftest.
$ac_ext
11448 cat >>conftest.
$ac_ext <<_ACEOF
11449 /* end confdefs.h. */
11451 #if defined(HAVE_SYS_SOUNDCARD_H)
11452 #include <sys/soundcard.h>
11453 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11454 #include <machine/soundcard.h>
11455 #elif defined(HAVE_SOUNDCARD_H)
11456 #include <soundcard.h>
11464 /* check for one of the Open Sound System specific SNDCTL_ defines */
11465 #if !defined(SNDCTL_DSP_STEREO)
11466 #error No open sound system
11473 rm -f conftest.
$ac_objext
11474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11475 (eval $ac_compile) 2>conftest.er1
11477 grep -v '^ *+' conftest.er1
>conftest.err
11479 cat conftest.err
>&5
11480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11481 (exit $ac_status); } &&
11482 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11484 (eval $ac_try) 2>&5
11486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11487 (exit $ac_status); }; } &&
11488 { ac_try
='test -s conftest.$ac_objext'
11489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11490 (eval $ac_try) 2>&5
11492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11493 (exit $ac_status); }; }; then
11494 ac_cv_c_opensoundsystem
="yes"
11496 echo "$as_me: failed program was:" >&5
11497 sed 's/^/| /' conftest.
$ac_ext >&5
11499 ac_cv_c_opensoundsystem
="no"
11501 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11503 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11504 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11506 if test "$ac_cv_c_opensoundsystem" = "yes"
11509 cat >>confdefs.h
<<\_ACEOF
11515 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11516 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11517 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11520 cat >conftest.
$ac_ext <<_ACEOF
11523 cat confdefs.h
>>conftest.
$ac_ext
11524 cat >>conftest.
$ac_ext <<_ACEOF
11525 /* end confdefs.h. */
11527 #if defined(HAVE_SYS_SOUNDCARD_H)
11528 #include <sys/soundcard.h>
11529 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11530 #include <machine/soundcard.h>
11531 #elif defined(HAVE_SOUNDCARD_H)
11532 #include <soundcard.h>
11540 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11541 #if !defined(SNDCTL_SEQ_SYNC)
11542 #error No open sound system MIDI interface
11549 rm -f conftest.
$ac_objext
11550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11551 (eval $ac_compile) 2>conftest.er1
11553 grep -v '^ *+' conftest.er1
>conftest.err
11555 cat conftest.err
>&5
11556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557 (exit $ac_status); } &&
11558 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11560 (eval $ac_try) 2>&5
11562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11563 (exit $ac_status); }; } &&
11564 { ac_try
='test -s conftest.$ac_objext'
11565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11566 (eval $ac_try) 2>&5
11568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11569 (exit $ac_status); }; }; then
11570 ac_cv_c_opensoundsystem_midi
="yes"
11572 echo "$as_me: failed program was:" >&5
11573 sed 's/^/| /' conftest.
$ac_ext >&5
11575 ac_cv_c_opensoundsystem_midi
="no"
11577 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11579 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11580 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11582 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11585 cat >>confdefs.h
<<\_ACEOF
11586 #define HAVE_OSS_MIDI 1
11591 # Extract the first word of "artsc-config", so it can be a program name with args.
11592 set dummy artsc-config
; ac_word
=$2
11593 echo "$as_me:$LINENO: checking for $ac_word" >&5
11594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11595 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11596 echo $ECHO_N "(cached) $ECHO_C" >&6
11598 case $ARTSCCONFIG in
11600 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11604 for as_dir
in $PATH
11607 test -z "$as_dir" && as_dir
=.
11608 for ac_exec_ext
in '' $ac_executable_extensions; do
11609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11610 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11620 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11622 if test -n "$ARTSCCONFIG"; then
11623 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11624 echo "${ECHO_T}$ARTSCCONFIG" >&6
11626 echo "$as_me:$LINENO: result: no" >&5
11627 echo "${ECHO_T}no" >&6
11630 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11633 for i
in `$ARTSCCONFIG --cflags`
11636 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11639 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11640 save_CFLAGS
="$CFLAGS"
11641 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11642 cat >conftest.
$ac_ext <<_ACEOF
11645 cat confdefs.h
>>conftest.
$ac_ext
11646 cat >>conftest.
$ac_ext <<_ACEOF
11647 /* end confdefs.h. */
11652 arts_stream_t stream;
11657 rm -f conftest.
$ac_objext
11658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11659 (eval $ac_compile) 2>conftest.er1
11661 grep -v '^ *+' conftest.er1
>conftest.err
11663 cat conftest.err
>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } &&
11666 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; } &&
11672 { ac_try
='test -s conftest.$ac_objext'
11673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11674 (eval $ac_try) 2>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); }; }; then
11678 ARTSLIBS
=$ARTSC_LIBS
11680 ARTSINCL
=$ARTSC_CFLAGS
11683 cat >>confdefs.h
<<\_ACEOF
11684 #define HAVE_ARTS 1
11688 echo "$as_me: failed program was:" >&5
11689 sed 's/^/| /' conftest.
$ac_ext >&5
11692 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11693 CFLAGS
="$save_CFLAGS"
11700 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11702 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11703 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11704 echo "$as_me:$LINENO: checking for $ac_header" >&5
11705 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11706 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11707 echo $ECHO_N "(cached) $ECHO_C" >&6
11709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11710 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11712 # Is the header compilable?
11713 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11714 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11715 cat >conftest.
$ac_ext <<_ACEOF
11718 cat confdefs.h
>>conftest.
$ac_ext
11719 cat >>conftest.
$ac_ext <<_ACEOF
11720 /* end confdefs.h. */
11721 $ac_includes_default
11722 #include <$ac_header>
11724 rm -f conftest.
$ac_objext
11725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11726 (eval $ac_compile) 2>conftest.er1
11728 grep -v '^ *+' conftest.er1
>conftest.err
11730 cat conftest.err
>&5
11731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11732 (exit $ac_status); } &&
11733 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11735 (eval $ac_try) 2>&5
11737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11738 (exit $ac_status); }; } &&
11739 { ac_try
='test -s conftest.$ac_objext'
11740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11741 (eval $ac_try) 2>&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 (exit $ac_status); }; }; then
11745 ac_header_compiler
=yes
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.
$ac_ext >&5
11750 ac_header_compiler
=no
11752 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11753 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11754 echo "${ECHO_T}$ac_header_compiler" >&6
11756 # Is the header present?
11757 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11759 cat >conftest.
$ac_ext <<_ACEOF
11762 cat confdefs.h
>>conftest.
$ac_ext
11763 cat >>conftest.
$ac_ext <<_ACEOF
11764 /* end confdefs.h. */
11765 #include <$ac_header>
11767 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11768 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
11775 if test -s conftest.err
; then
11776 ac_cpp_err
=$ac_c_preproc_warn_flag
11777 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11784 if test -z "$ac_cpp_err"; then
11785 ac_header_preproc
=yes
11787 echo "$as_me: failed program was:" >&5
11788 sed 's/^/| /' conftest.
$ac_ext >&5
11790 ac_header_preproc
=no
11792 rm -f conftest.err conftest.
$ac_ext
11793 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11794 echo "${ECHO_T}$ac_header_preproc" >&6
11796 # So? What about this header?
11797 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11799 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11800 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11801 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11802 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11803 ac_header_preproc
=yes
11806 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11807 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11808 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11809 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11810 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11811 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11812 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11813 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11814 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11815 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11816 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11817 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11820 ## ------------------------------------ ##
11821 ## Report this to wine-devel@winehq.org ##
11822 ## ------------------------------------ ##
11825 sed "s/^/$as_me: WARNING: /" >&2
11828 echo "$as_me:$LINENO: checking for $ac_header" >&5
11829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11831 echo $ECHO_N "(cached) $ECHO_C" >&6
11833 eval "$as_ac_Header=\$ac_header_preproc"
11835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11839 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11840 cat >>confdefs.h
<<_ACEOF
11841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11848 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11850 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11851 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11852 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11853 echo $ECHO_N "(cached) $ECHO_C" >&6
11855 ac_check_lib_save_LIBS
=$LIBS
11856 LIBS
="-lasound $LIBS"
11857 cat >conftest.
$ac_ext <<_ACEOF
11860 cat confdefs.h
>>conftest.
$ac_ext
11861 cat >>conftest.
$ac_ext <<_ACEOF
11862 /* end confdefs.h. */
11864 /* Override any gcc2 internal prototype to avoid an error. */
11868 /* We use char because int might match the return type of a gcc2
11869 builtin and then its argument prototype would still apply. */
11870 char snd_pcm_open ();
11879 rm -f conftest.
$ac_objext conftest
$ac_exeext
11880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11881 (eval $ac_link) 2>conftest.er1
11883 grep -v '^ *+' conftest.er1
>conftest.err
11885 cat conftest.err
>&5
11886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11887 (exit $ac_status); } &&
11888 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11890 (eval $ac_try) 2>&5
11892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893 (exit $ac_status); }; } &&
11894 { ac_try
='test -s conftest$ac_exeext'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; }; then
11900 ac_cv_lib_asound_snd_pcm_open
=yes
11902 echo "$as_me: failed program was:" >&5
11903 sed 's/^/| /' conftest.
$ac_ext >&5
11905 ac_cv_lib_asound_snd_pcm_open
=no
11907 rm -f conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 LIBS
=$ac_check_lib_save_LIBS
11911 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11912 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11913 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11915 cat >>confdefs.h
<<\_ACEOF
11916 #define HAVE_ALSA 1
11919 ALSALIBS
="-lasound"
11928 for ac_header
in libaudioio.h
11930 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11931 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11932 echo "$as_me:$LINENO: checking for $ac_header" >&5
11933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11935 echo $ECHO_N "(cached) $ECHO_C" >&6
11937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11938 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11940 # Is the header compilable?
11941 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11942 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11943 cat >conftest.
$ac_ext <<_ACEOF
11946 cat confdefs.h
>>conftest.
$ac_ext
11947 cat >>conftest.
$ac_ext <<_ACEOF
11948 /* end confdefs.h. */
11949 $ac_includes_default
11950 #include <$ac_header>
11952 rm -f conftest.
$ac_objext
11953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11954 (eval $ac_compile) 2>conftest.er1
11956 grep -v '^ *+' conftest.er1
>conftest.err
11958 cat conftest.err
>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); } &&
11961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11963 (eval $ac_try) 2>&5
11965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11966 (exit $ac_status); }; } &&
11967 { ac_try
='test -s conftest.$ac_objext'
11968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11969 (eval $ac_try) 2>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); }; }; then
11973 ac_header_compiler
=yes
11975 echo "$as_me: failed program was:" >&5
11976 sed 's/^/| /' conftest.
$ac_ext >&5
11978 ac_header_compiler
=no
11980 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11981 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11982 echo "${ECHO_T}$ac_header_compiler" >&6
11984 # Is the header present?
11985 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11986 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11987 cat >conftest.
$ac_ext <<_ACEOF
11990 cat confdefs.h
>>conftest.
$ac_ext
11991 cat >>conftest.
$ac_ext <<_ACEOF
11992 /* end confdefs.h. */
11993 #include <$ac_header>
11995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11996 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11998 grep -v '^ *+' conftest.er1
>conftest.err
12000 cat conftest.err
>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); } >/dev
/null
; then
12003 if test -s conftest.err
; then
12004 ac_cpp_err
=$ac_c_preproc_warn_flag
12005 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12012 if test -z "$ac_cpp_err"; then
12013 ac_header_preproc
=yes
12015 echo "$as_me: failed program was:" >&5
12016 sed 's/^/| /' conftest.
$ac_ext >&5
12018 ac_header_preproc
=no
12020 rm -f conftest.err conftest.
$ac_ext
12021 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12022 echo "${ECHO_T}$ac_header_preproc" >&6
12024 # So? What about this header?
12025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12028 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12030 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12031 ac_header_preproc
=yes
12034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12035 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12037 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12039 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12041 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12045 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12048 ## ------------------------------------ ##
12049 ## Report this to wine-devel@winehq.org ##
12050 ## ------------------------------------ ##
12053 sed "s/^/$as_me: WARNING: /" >&2
12056 echo "$as_me:$LINENO: checking for $ac_header" >&5
12057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12059 echo $ECHO_N "(cached) $ECHO_C" >&6
12061 eval "$as_ac_Header=\$ac_header_preproc"
12063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12064 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12067 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12068 cat >>confdefs.h
<<_ACEOF
12069 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12071 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12072 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
12073 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12076 ac_check_lib_save_LIBS
=$LIBS
12077 LIBS
="-laudioio $LIBS"
12078 cat >conftest.
$ac_ext <<_ACEOF
12081 cat confdefs.h
>>conftest.
$ac_ext
12082 cat >>conftest.
$ac_ext <<_ACEOF
12083 /* end confdefs.h. */
12085 /* Override any gcc2 internal prototype to avoid an error. */
12089 /* We use char because int might match the return type of a gcc2
12090 builtin and then its argument prototype would still apply. */
12091 char AudioIOGetVersion ();
12095 AudioIOGetVersion ();
12100 rm -f conftest.
$ac_objext conftest
$ac_exeext
12101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12102 (eval $ac_link) 2>conftest.er1
12104 grep -v '^ *+' conftest.er1
>conftest.err
12106 cat conftest.err
>&5
12107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12108 (exit $ac_status); } &&
12109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12111 (eval $ac_try) 2>&5
12113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12114 (exit $ac_status); }; } &&
12115 { ac_try
='test -s conftest$ac_exeext'
12116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12117 (eval $ac_try) 2>&5
12119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12120 (exit $ac_status); }; }; then
12121 ac_cv_lib_audioio_AudioIOGetVersion
=yes
12123 echo "$as_me: failed program was:" >&5
12124 sed 's/^/| /' conftest.
$ac_ext >&5
12126 ac_cv_lib_audioio_AudioIOGetVersion
=no
12128 rm -f conftest.err conftest.
$ac_objext \
12129 conftest
$ac_exeext conftest.
$ac_ext
12130 LIBS
=$ac_check_lib_save_LIBS
12132 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12133 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12134 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12135 AUDIOIOLIBS
="-laudioio"
12137 cat >>confdefs.h
<<\_ACEOF
12138 #define HAVE_LIBAUDIOIO 1
12150 for ac_header
in capi20.h
12152 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12153 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12154 echo "$as_me:$LINENO: checking for $ac_header" >&5
12155 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12156 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12157 echo $ECHO_N "(cached) $ECHO_C" >&6
12159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12162 # Is the header compilable?
12163 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12164 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12165 cat >conftest.
$ac_ext <<_ACEOF
12168 cat confdefs.h
>>conftest.
$ac_ext
12169 cat >>conftest.
$ac_ext <<_ACEOF
12170 /* end confdefs.h. */
12171 $ac_includes_default
12172 #include <$ac_header>
12174 rm -f conftest.
$ac_objext
12175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12176 (eval $ac_compile) 2>conftest.er1
12178 grep -v '^ *+' conftest.er1
>conftest.err
12180 cat conftest.err
>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } &&
12183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12185 (eval $ac_try) 2>&5
12187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12188 (exit $ac_status); }; } &&
12189 { ac_try
='test -s conftest.$ac_objext'
12190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12191 (eval $ac_try) 2>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); }; }; then
12195 ac_header_compiler
=yes
12197 echo "$as_me: failed program was:" >&5
12198 sed 's/^/| /' conftest.
$ac_ext >&5
12200 ac_header_compiler
=no
12202 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12204 echo "${ECHO_T}$ac_header_compiler" >&6
12206 # Is the header present?
12207 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12209 cat >conftest.
$ac_ext <<_ACEOF
12212 cat confdefs.h
>>conftest.
$ac_ext
12213 cat >>conftest.
$ac_ext <<_ACEOF
12214 /* end confdefs.h. */
12215 #include <$ac_header>
12217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12218 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12220 grep -v '^ *+' conftest.er1
>conftest.err
12222 cat conftest.err
>&5
12223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12224 (exit $ac_status); } >/dev
/null
; then
12225 if test -s conftest.err
; then
12226 ac_cpp_err
=$ac_c_preproc_warn_flag
12227 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12234 if test -z "$ac_cpp_err"; then
12235 ac_header_preproc
=yes
12237 echo "$as_me: failed program was:" >&5
12238 sed 's/^/| /' conftest.
$ac_ext >&5
12240 ac_header_preproc
=no
12242 rm -f conftest.err conftest.
$ac_ext
12243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12244 echo "${ECHO_T}$ac_header_preproc" >&6
12246 # So? What about this header?
12247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12253 ac_header_preproc
=yes
12256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12270 ## ------------------------------------ ##
12271 ## Report this to wine-devel@winehq.org ##
12272 ## ------------------------------------ ##
12275 sed "s/^/$as_me: WARNING: /" >&2
12278 echo "$as_me:$LINENO: checking for $ac_header" >&5
12279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12281 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 eval "$as_ac_Header=\$ac_header_preproc"
12285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12290 cat >>confdefs.h
<<_ACEOF
12291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12295 for ac_header
in linux
/capi.h
12297 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12298 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12299 echo "$as_me:$LINENO: checking for $ac_header" >&5
12300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12302 echo $ECHO_N "(cached) $ECHO_C" >&6
12304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12307 # Is the header compilable?
12308 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12309 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12310 cat >conftest.
$ac_ext <<_ACEOF
12313 cat confdefs.h
>>conftest.
$ac_ext
12314 cat >>conftest.
$ac_ext <<_ACEOF
12315 /* end confdefs.h. */
12316 $ac_includes_default
12317 #include <$ac_header>
12319 rm -f conftest.
$ac_objext
12320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12321 (eval $ac_compile) 2>conftest.er1
12323 grep -v '^ *+' conftest.er1
>conftest.err
12325 cat conftest.err
>&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); } &&
12328 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12330 (eval $ac_try) 2>&5
12332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12333 (exit $ac_status); }; } &&
12334 { ac_try
='test -s conftest.$ac_objext'
12335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12336 (eval $ac_try) 2>&5
12338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12339 (exit $ac_status); }; }; then
12340 ac_header_compiler
=yes
12342 echo "$as_me: failed program was:" >&5
12343 sed 's/^/| /' conftest.
$ac_ext >&5
12345 ac_header_compiler
=no
12347 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12349 echo "${ECHO_T}$ac_header_compiler" >&6
12351 # Is the header present?
12352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12354 cat >conftest.
$ac_ext <<_ACEOF
12357 cat confdefs.h
>>conftest.
$ac_ext
12358 cat >>conftest.
$ac_ext <<_ACEOF
12359 /* end confdefs.h. */
12360 #include <$ac_header>
12362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12363 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12365 grep -v '^ *+' conftest.er1
>conftest.err
12367 cat conftest.err
>&5
12368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12369 (exit $ac_status); } >/dev
/null
; then
12370 if test -s conftest.err
; then
12371 ac_cpp_err
=$ac_c_preproc_warn_flag
12372 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12379 if test -z "$ac_cpp_err"; then
12380 ac_header_preproc
=yes
12382 echo "$as_me: failed program was:" >&5
12383 sed 's/^/| /' conftest.
$ac_ext >&5
12385 ac_header_preproc
=no
12387 rm -f conftest.err conftest.
$ac_ext
12388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12389 echo "${ECHO_T}$ac_header_preproc" >&6
12391 # So? What about this header?
12392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12398 ac_header_preproc
=yes
12401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12415 ## ------------------------------------ ##
12416 ## Report this to wine-devel@winehq.org ##
12417 ## ------------------------------------ ##
12420 sed "s/^/$as_me: WARNING: /" >&2
12423 echo "$as_me:$LINENO: checking for $ac_header" >&5
12424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12426 echo $ECHO_N "(cached) $ECHO_C" >&6
12428 eval "$as_ac_Header=\$ac_header_preproc"
12430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12435 cat >>confdefs.h
<<_ACEOF
12436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12439 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12440 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12441 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12442 echo $ECHO_N "(cached) $ECHO_C" >&6
12444 ac_check_lib_save_LIBS
=$LIBS
12445 LIBS
="-lcapi20 $LIBS"
12446 cat >conftest.
$ac_ext <<_ACEOF
12449 cat confdefs.h
>>conftest.
$ac_ext
12450 cat >>conftest.
$ac_ext <<_ACEOF
12451 /* end confdefs.h. */
12453 /* Override any gcc2 internal prototype to avoid an error. */
12457 /* We use char because int might match the return type of a gcc2
12458 builtin and then its argument prototype would still apply. */
12459 char capi20_register ();
12463 capi20_register ();
12468 rm -f conftest.
$ac_objext conftest
$ac_exeext
12469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12470 (eval $ac_link) 2>conftest.er1
12472 grep -v '^ *+' conftest.er1
>conftest.err
12474 cat conftest.err
>&5
12475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12476 (exit $ac_status); } &&
12477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12479 (eval $ac_try) 2>&5
12481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12482 (exit $ac_status); }; } &&
12483 { ac_try
='test -s conftest$ac_exeext'
12484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12485 (eval $ac_try) 2>&5
12487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12488 (exit $ac_status); }; }; then
12489 ac_cv_lib_capi20_capi20_register
=yes
12491 echo "$as_me: failed program was:" >&5
12492 sed 's/^/| /' conftest.
$ac_ext >&5
12494 ac_cv_lib_capi20_capi20_register
=no
12496 rm -f conftest.err conftest.
$ac_objext \
12497 conftest
$ac_exeext conftest.
$ac_ext
12498 LIBS
=$ac_check_lib_save_LIBS
12500 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12501 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12502 if test $ac_cv_lib_capi20_capi20_register = yes; then
12505 cat >>confdefs.h
<<\_ACEOF
12506 #define HAVE_CAPI4LINUX 1
12509 CAPI4LINUXLIBS
="-lcapi20"
12526 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12527 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12528 if test "${ac_cv_mmap64_works+set}" = set; then
12529 echo $ECHO_N "(cached) $ECHO_C" >&6
12531 if test "$cross_compiling" = yes; then
12532 ac_cv_mmap64_works
="no"
12534 cat >conftest.
$ac_ext <<_ACEOF
12537 cat confdefs.h
>>conftest.
$ac_ext
12538 cat >>conftest.
$ac_ext <<_ACEOF
12539 /* end confdefs.h. */
12541 #define _FILE_OFFSET_BITS 64
12543 #include <unistd.h>
12545 #include <sys/mman.h>
12548 int main(int argc,char **argv) {
12549 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12550 if (fd == -1) exit(1);
12552 unlink("conftest.map");
12554 write(fd,"test",4);
12556 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12562 fprintf(stderr,"success!\n");
12568 rm -f conftest
$ac_exeext
12569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12570 (eval $ac_link) 2>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12575 (eval $ac_try) 2>&5
12577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12578 (exit $ac_status); }; }; then
12579 ac_cv_mmap64_works
="yes"
12581 echo "$as_me: program exited with status $ac_status" >&5
12582 echo "$as_me: failed program was:" >&5
12583 sed 's/^/| /' conftest.
$ac_ext >&5
12585 ( exit $ac_status )
12586 ac_cv_mmap64_works
="no"
12588 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12591 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12592 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12594 if test "$ac_cv_mmap64_works" = "yes"
12597 cat >>confdefs.h
<<\_ACEOF
12598 #define _FILE_OFFSET_BITS 64
12606 if test "x${GCC}" = "xyes"
12608 EXTRACFLAGS
="-Wall -pipe"
12610 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12611 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12612 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12613 echo $ECHO_N "(cached) $ECHO_C" >&6
12615 if test "$cross_compiling" = yes; then
12616 ac_cv_c_gcc_strength_bug
="yes"
12618 cat >conftest.
$ac_ext <<_ACEOF
12621 cat confdefs.h
>>conftest.
$ac_ext
12622 cat >>conftest.
$ac_ext <<_ACEOF
12623 /* end confdefs.h. */
12625 int L[4] = {0,1,2,3};
12627 static int Array[3];
12628 unsigned int B = 3;
12630 for(i=0; i<B; i++) Array[i] = i - 3;
12631 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12634 exit( Array[1] != -2 || L[2] != 3);
12637 rm -f conftest
$ac_exeext
12638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12639 (eval $ac_link) 2>&5
12641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12642 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12644 (eval $ac_try) 2>&5
12646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12647 (exit $ac_status); }; }; then
12648 ac_cv_c_gcc_strength_bug
="no"
12650 echo "$as_me: program exited with status $ac_status" >&5
12651 echo "$as_me: failed program was:" >&5
12652 sed 's/^/| /' conftest.
$ac_ext >&5
12654 ( exit $ac_status )
12655 ac_cv_c_gcc_strength_bug
="yes"
12657 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12660 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12661 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12662 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12664 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12667 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12668 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12669 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12670 echo $ECHO_N "(cached) $ECHO_C" >&6
12672 ac_wine_try_cflags_saved
=$CFLAGS
12673 CFLAGS
="$CFLAGS -fshort-wchar"
12674 cat >conftest.
$ac_ext <<_ACEOF
12677 cat confdefs.h
>>conftest.
$ac_ext
12678 cat >>conftest.
$ac_ext <<_ACEOF
12679 /* end confdefs.h. */
12689 rm -f conftest.
$ac_objext conftest
$ac_exeext
12690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12691 (eval $ac_link) 2>conftest.er1
12693 grep -v '^ *+' conftest.er1
>conftest.err
12695 cat conftest.err
>&5
12696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12697 (exit $ac_status); } &&
12698 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12700 (eval $ac_try) 2>&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); }; } &&
12704 { ac_try
='test -s conftest$ac_exeext'
12705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12706 (eval $ac_try) 2>&5
12708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12709 (exit $ac_status); }; }; then
12710 ac_cv_c_gcc_fshort_wchar
="yes"
12712 echo "$as_me: failed program was:" >&5
12713 sed 's/^/| /' conftest.
$ac_ext >&5
12715 ac_cv_c_gcc_fshort_wchar
="no"
12717 rm -f conftest.err conftest.
$ac_objext \
12718 conftest
$ac_exeext conftest.
$ac_ext
12719 CFLAGS
=$ac_wine_try_cflags_saved
12721 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12722 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12723 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12726 cat >>confdefs.h
<<\_ACEOF
12727 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12732 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12733 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12734 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12735 echo $ECHO_N "(cached) $ECHO_C" >&6
12737 ac_wine_try_cflags_saved
=$CFLAGS
12738 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12739 cat >conftest.
$ac_ext <<_ACEOF
12742 cat confdefs.h
>>conftest.
$ac_ext
12743 cat >>conftest.
$ac_ext <<_ACEOF
12744 /* end confdefs.h. */
12754 rm -f conftest.
$ac_objext conftest
$ac_exeext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12756 (eval $ac_link) 2>conftest.er1
12758 grep -v '^ *+' conftest.er1
>conftest.err
12760 cat conftest.err
>&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try
='test -s conftest$ac_exeext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 ac_cv_c_gcc_stack_boundary
="yes"
12777 echo "$as_me: failed program was:" >&5
12778 sed 's/^/| /' conftest.
$ac_ext >&5
12780 ac_cv_c_gcc_stack_boundary
="no"
12782 rm -f conftest.err conftest.
$ac_objext \
12783 conftest
$ac_exeext conftest.
$ac_ext
12784 CFLAGS
=$ac_wine_try_cflags_saved
12786 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12787 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12788 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12790 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12793 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12794 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12795 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 ac_wine_try_cflags_saved
=$CFLAGS
12799 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12800 cat >conftest.
$ac_ext <<_ACEOF
12803 cat confdefs.h
>>conftest.
$ac_ext
12804 cat >>conftest.
$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12815 rm -f conftest.
$ac_objext conftest
$ac_exeext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12817 (eval $ac_link) 2>conftest.er1
12819 grep -v '^ *+' conftest.er1
>conftest.err
12821 cat conftest.err
>&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try
='test -s conftest$ac_exeext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 ac_cv_c_gcc_no_strict_aliasing
="yes"
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.
$ac_ext >&5
12841 ac_cv_c_gcc_no_strict_aliasing
="no"
12843 rm -f conftest.err conftest.
$ac_objext \
12844 conftest
$ac_exeext conftest.
$ac_ext
12845 CFLAGS
=$ac_wine_try_cflags_saved
12847 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12848 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12849 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12851 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12854 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12855 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12856 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12857 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 ac_wine_try_cflags_saved
=$CFLAGS
12860 CFLAGS
="$CFLAGS -gstabs+"
12861 cat >conftest.
$ac_ext <<_ACEOF
12864 cat confdefs.h
>>conftest.
$ac_ext
12865 cat >>conftest.
$ac_ext <<_ACEOF
12866 /* end confdefs.h. */
12876 rm -f conftest.
$ac_objext conftest
$ac_exeext
12877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12878 (eval $ac_link) 2>conftest.er1
12880 grep -v '^ *+' conftest.er1
>conftest.err
12882 cat conftest.err
>&5
12883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12884 (exit $ac_status); } &&
12885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12887 (eval $ac_try) 2>&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); }; } &&
12891 { ac_try
='test -s conftest$ac_exeext'
12892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12893 (eval $ac_try) 2>&5
12895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12896 (exit $ac_status); }; }; then
12897 ac_cv_c_gcc_gstabs
="yes"
12899 echo "$as_me: failed program was:" >&5
12900 sed 's/^/| /' conftest.
$ac_ext >&5
12902 ac_cv_c_gcc_gstabs
="no"
12904 rm -f conftest.err conftest.
$ac_objext \
12905 conftest
$ac_exeext conftest.
$ac_ext
12906 CFLAGS
=$ac_wine_try_cflags_saved
12908 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12909 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12910 if test "$ac_cv_c_gcc_gstabs" = "yes"
12912 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12915 saved_CFLAGS
="$CFLAGS"
12916 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12917 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12918 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12919 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12920 echo $ECHO_N "(cached) $ECHO_C" >&6
12922 cat >conftest.
$ac_ext <<_ACEOF
12925 cat confdefs.h
>>conftest.
$ac_ext
12926 cat >>conftest.
$ac_ext <<_ACEOF
12927 /* end confdefs.h. */
12928 #include <string.h>
12937 rm -f conftest.
$ac_objext
12938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12939 (eval $ac_compile) 2>conftest.er1
12941 grep -v '^ *+' conftest.er1
>conftest.err
12943 cat conftest.err
>&5
12944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12945 (exit $ac_status); } &&
12946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12948 (eval $ac_try) 2>&5
12950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12951 (exit $ac_status); }; } &&
12952 { ac_try
='test -s conftest.$ac_objext'
12953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12954 (eval $ac_try) 2>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); }; }; then
12958 ac_cv_c_string_h_warnings
=no
12960 echo "$as_me: failed program was:" >&5
12961 sed 's/^/| /' conftest.
$ac_ext >&5
12963 ac_cv_c_string_h_warnings
=yes
12965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12967 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12968 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12969 CFLAGS
="$saved_CFLAGS"
12970 if test "$ac_cv_c_string_h_warnings" = "no"
12972 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12977 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12978 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12979 if test "${ac_cv_asm_func_def+set}" = set; then
12980 echo $ECHO_N "(cached) $ECHO_C" >&6
12982 cat >conftest.
$ac_ext <<_ACEOF
12985 cat confdefs.h
>>conftest.
$ac_ext
12986 cat >>conftest.
$ac_ext <<_ACEOF
12987 /* end confdefs.h. */
12988 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"); }
12998 rm -f conftest.
$ac_objext conftest
$ac_exeext
12999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13000 (eval $ac_link) 2>conftest.er1
13002 grep -v '^ *+' conftest.er1
>conftest.err
13004 cat conftest.err
>&5
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); } &&
13007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; } &&
13013 { ac_try
='test -s conftest$ac_exeext'
13014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13015 (eval $ac_try) 2>&5
13017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13018 (exit $ac_status); }; }; then
13019 ac_cv_asm_func_def
=".def"
13021 echo "$as_me: failed program was:" >&5
13022 sed 's/^/| /' conftest.
$ac_ext >&5
13024 cat >conftest.
$ac_ext <<_ACEOF
13027 cat confdefs.h
>>conftest.
$ac_ext
13028 cat >>conftest.
$ac_ext <<_ACEOF
13029 /* end confdefs.h. */
13030 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13040 rm -f conftest.
$ac_objext conftest
$ac_exeext
13041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13042 (eval $ac_link) 2>conftest.er1
13044 grep -v '^ *+' conftest.er1
>conftest.err
13046 cat conftest.err
>&5
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); } &&
13049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13051 (eval $ac_try) 2>&5
13053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13054 (exit $ac_status); }; } &&
13055 { ac_try
='test -s conftest$ac_exeext'
13056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13057 (eval $ac_try) 2>&5
13059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13060 (exit $ac_status); }; }; then
13061 ac_cv_asm_func_def
=".type @function"
13063 echo "$as_me: failed program was:" >&5
13064 sed 's/^/| /' conftest.
$ac_ext >&5
13066 cat >conftest.
$ac_ext <<_ACEOF
13069 cat confdefs.h
>>conftest.
$ac_ext
13070 cat >>conftest.
$ac_ext <<_ACEOF
13071 /* end confdefs.h. */
13072 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13082 rm -f conftest.
$ac_objext conftest
$ac_exeext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13084 (eval $ac_link) 2>conftest.er1
13086 grep -v '^ *+' conftest.er1
>conftest.err
13088 cat conftest.err
>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } &&
13091 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13093 (eval $ac_try) 2>&5
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }; } &&
13097 { ac_try
='test -s conftest$ac_exeext'
13098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13099 (eval $ac_try) 2>&5
13101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13102 (exit $ac_status); }; }; then
13103 ac_cv_asm_func_def
=".type 2"
13105 echo "$as_me: failed program was:" >&5
13106 sed 's/^/| /' conftest.
$ac_ext >&5
13108 ac_cv_asm_func_def
="unknown"
13110 rm -f conftest.err conftest.
$ac_objext \
13111 conftest
$ac_exeext conftest.
$ac_ext
13113 rm -f conftest.err conftest.
$ac_objext \
13114 conftest
$ac_exeext conftest.
$ac_ext
13116 rm -f conftest.err conftest.
$ac_objext \
13117 conftest
$ac_exeext conftest.
$ac_ext
13119 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13120 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13124 case "$ac_cv_asm_func_def" in
13126 cat >>confdefs.h
<<\_ACEOF
13127 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13131 cat >>confdefs.h
<<\_ACEOF
13132 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13136 cat >>confdefs.h
<<\_ACEOF
13137 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13141 cat >>confdefs.h
<<\_ACEOF
13142 #define __ASM_FUNC(name) ""
13148 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13149 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13150 if test "${ac_cv_c_extern_prefix+set}" = set; then
13151 echo $ECHO_N "(cached) $ECHO_C" >&6
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(".globl _ac_test\n_ac_test:\t.long 0"); }
13160 extern int ac_test;
13164 if (ac_test) return 1
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_extern_prefix
="yes"
13192 echo "$as_me: failed program was:" >&5
13193 sed 's/^/| /' conftest.
$ac_ext >&5
13195 ac_cv_c_extern_prefix
="no"
13197 rm -f conftest.err conftest.
$ac_objext \
13198 conftest
$ac_exeext conftest.
$ac_ext
13200 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13201 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13205 if test "$ac_cv_c_extern_prefix" = "yes"
13207 cat >>confdefs.h
<<\_ACEOF
13208 #define __ASM_NAME(name) "_" name
13212 cat >>confdefs.h
<<\_ACEOF
13213 #define __ASM_NAME(name) name
13219 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13220 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13221 if test "${ac_cv_c_asm_string+set}" = set; then
13222 echo $ECHO_N "(cached) $ECHO_C" >&6
13224 cat >conftest.
$ac_ext <<_ACEOF
13227 cat confdefs.h
>>conftest.
$ac_ext
13228 cat >>conftest.
$ac_ext <<_ACEOF
13229 /* end confdefs.h. */
13230 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13240 rm -f conftest.
$ac_objext conftest
$ac_exeext
13241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13242 (eval $ac_link) 2>conftest.er1
13244 grep -v '^ *+' conftest.er1
>conftest.err
13246 cat conftest.err
>&5
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); } &&
13249 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13251 (eval $ac_try) 2>&5
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }; } &&
13255 { ac_try
='test -s conftest$ac_exeext'
13256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13257 (eval $ac_try) 2>&5
13259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13260 (exit $ac_status); }; }; then
13261 ac_cv_c_asm_string
=".string"
13263 echo "$as_me: failed program was:" >&5
13264 sed 's/^/| /' conftest.
$ac_ext >&5
13266 cat >conftest.
$ac_ext <<_ACEOF
13269 cat confdefs.h
>>conftest.
$ac_ext
13270 cat >>conftest.
$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13282 rm -f conftest.
$ac_objext conftest
$ac_exeext
13283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13284 (eval $ac_link) 2>conftest.er1
13286 grep -v '^ *+' conftest.er1
>conftest.err
13288 cat conftest.err
>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); } &&
13291 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13293 (eval $ac_try) 2>&5
13295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13296 (exit $ac_status); }; } &&
13297 { ac_try
='test -s conftest$ac_exeext'
13298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13299 (eval $ac_try) 2>&5
13301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13302 (exit $ac_status); }; }; then
13303 ac_cv_c_asm_string
=".asciz"
13305 echo "$as_me: failed program was:" >&5
13306 sed 's/^/| /' conftest.
$ac_ext >&5
13308 cat >conftest.
$ac_ext <<_ACEOF
13311 cat confdefs.h
>>conftest.
$ac_ext
13312 cat >>conftest.
$ac_ext <<_ACEOF
13313 /* end confdefs.h. */
13314 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13324 rm -f conftest.
$ac_objext conftest
$ac_exeext
13325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13326 (eval $ac_link) 2>conftest.er1
13328 grep -v '^ *+' conftest.er1
>conftest.err
13330 cat conftest.err
>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); } &&
13333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13335 (eval $ac_try) 2>&5
13337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13338 (exit $ac_status); }; } &&
13339 { ac_try
='test -s conftest$ac_exeext'
13340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13341 (eval $ac_try) 2>&5
13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13344 (exit $ac_status); }; }; then
13345 ac_cv_c_asm_string
=".ascii"
13347 echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.
$ac_ext >&5
13350 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13351 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13352 { (exit 1); exit 1; }; }
13354 rm -f conftest.err conftest.
$ac_objext \
13355 conftest
$ac_exeext conftest.
$ac_ext
13357 rm -f conftest.err conftest.
$ac_objext \
13358 conftest
$ac_exeext conftest.
$ac_ext
13360 rm -f conftest.err conftest.
$ac_objext \
13361 conftest
$ac_exeext conftest.
$ac_ext
13363 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13364 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13367 cat >>confdefs.h
<<_ACEOF
13368 #define __ASM_STRING "$ac_cv_c_asm_string"
13373 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13374 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13375 if test "${ac_cv_c_asm_short+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13378 cat >conftest.
$ac_ext <<_ACEOF
13381 cat confdefs.h
>>conftest.
$ac_ext
13382 cat >>conftest.
$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13384 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13394 rm -f conftest.
$ac_objext conftest
$ac_exeext
13395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13396 (eval $ac_link) 2>conftest.er1
13398 grep -v '^ *+' conftest.er1
>conftest.err
13400 cat conftest.err
>&5
13401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13402 (exit $ac_status); } &&
13403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13405 (eval $ac_try) 2>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); }; } &&
13409 { ac_try
='test -s conftest$ac_exeext'
13410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13411 (eval $ac_try) 2>&5
13413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13414 (exit $ac_status); }; }; then
13415 ac_cv_c_asm_short
=".short"
13417 echo "$as_me: failed program was:" >&5
13418 sed 's/^/| /' conftest.
$ac_ext >&5
13420 cat >conftest.
$ac_ext <<_ACEOF
13423 cat confdefs.h
>>conftest.
$ac_ext
13424 cat >>conftest.
$ac_ext <<_ACEOF
13425 /* end confdefs.h. */
13426 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13436 rm -f conftest.
$ac_objext conftest
$ac_exeext
13437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13438 (eval $ac_link) 2>conftest.er1
13440 grep -v '^ *+' conftest.er1
>conftest.err
13442 cat conftest.err
>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); } &&
13445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447 (eval $ac_try) 2>&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); }; } &&
13451 { ac_try
='test -s conftest$ac_exeext'
13452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13453 (eval $ac_try) 2>&5
13455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13456 (exit $ac_status); }; }; then
13457 ac_cv_c_asm_short
=".half"
13459 echo "$as_me: failed program was:" >&5
13460 sed 's/^/| /' conftest.
$ac_ext >&5
13462 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13463 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13464 { (exit 1); exit 1; }; }
13466 rm -f conftest.err conftest.
$ac_objext \
13467 conftest
$ac_exeext conftest.
$ac_ext
13469 rm -f conftest.err conftest.
$ac_objext \
13470 conftest
$ac_exeext conftest.
$ac_ext
13472 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13473 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13476 cat >>confdefs.h
<<_ACEOF
13477 #define __ASM_SHORT "$ac_cv_c_asm_short"
13484 DLLFLAGS
="-D_REENTRANT"
13499 if test -n "$ac_tool_prefix"; then
13500 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13501 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13502 echo "$as_me:$LINENO: checking for $ac_word" >&5
13503 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13504 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13505 echo $ECHO_N "(cached) $ECHO_C" >&6
13507 if test -n "$DLLTOOL"; then
13508 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13511 for as_dir
in $PATH
13514 test -z "$as_dir" && as_dir
=.
13515 for ac_exec_ext
in '' $ac_executable_extensions; do
13516 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13517 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13518 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13526 DLLTOOL
=$ac_cv_prog_DLLTOOL
13527 if test -n "$DLLTOOL"; then
13528 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13529 echo "${ECHO_T}$DLLTOOL" >&6
13531 echo "$as_me:$LINENO: result: no" >&5
13532 echo "${ECHO_T}no" >&6
13536 if test -z "$ac_cv_prog_DLLTOOL"; then
13537 ac_ct_DLLTOOL
=$DLLTOOL
13538 # Extract the first word of "dlltool", so it can be a program name with args.
13539 set dummy dlltool
; ac_word
=$2
13540 echo "$as_me:$LINENO: checking for $ac_word" >&5
13541 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13542 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13543 echo $ECHO_N "(cached) $ECHO_C" >&6
13545 if test -n "$ac_ct_DLLTOOL"; then
13546 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13549 for as_dir
in $PATH
13552 test -z "$as_dir" && as_dir
=.
13553 for ac_exec_ext
in '' $ac_executable_extensions; do
13554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13555 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13562 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13565 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13566 if test -n "$ac_ct_DLLTOOL"; then
13567 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13568 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13570 echo "$as_me:$LINENO: result: no" >&5
13571 echo "${ECHO_T}no" >&6
13574 DLLTOOL
=$ac_ct_DLLTOOL
13576 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13579 if test -n "$ac_tool_prefix"; then
13580 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13581 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13582 echo "$as_me:$LINENO: checking for $ac_word" >&5
13583 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13584 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13585 echo $ECHO_N "(cached) $ECHO_C" >&6
13587 if test -n "$DLLWRAP"; then
13588 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13591 for as_dir
in $PATH
13594 test -z "$as_dir" && as_dir
=.
13595 for ac_exec_ext
in '' $ac_executable_extensions; do
13596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13597 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13606 DLLWRAP
=$ac_cv_prog_DLLWRAP
13607 if test -n "$DLLWRAP"; then
13608 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13609 echo "${ECHO_T}$DLLWRAP" >&6
13611 echo "$as_me:$LINENO: result: no" >&5
13612 echo "${ECHO_T}no" >&6
13616 if test -z "$ac_cv_prog_DLLWRAP"; then
13617 ac_ct_DLLWRAP
=$DLLWRAP
13618 # Extract the first word of "dllwrap", so it can be a program name with args.
13619 set dummy dllwrap
; ac_word
=$2
13620 echo "$as_me:$LINENO: checking for $ac_word" >&5
13621 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13622 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13623 echo $ECHO_N "(cached) $ECHO_C" >&6
13625 if test -n "$ac_ct_DLLWRAP"; then
13626 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13628 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13629 for as_dir
in $PATH
13632 test -z "$as_dir" && as_dir
=.
13633 for ac_exec_ext
in '' $ac_executable_extensions; do
13634 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13635 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13636 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13642 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13645 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13646 if test -n "$ac_ct_DLLWRAP"; then
13647 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13648 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13650 echo "$as_me:$LINENO: result: no" >&5
13651 echo "${ECHO_T}no" >&6
13654 DLLWRAP
=$ac_ct_DLLWRAP
13656 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13659 if test "$DLLWRAP" = "false"; then
13668 for ac_header
in dlfcn.h
13670 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13672 echo "$as_me:$LINENO: checking for $ac_header" >&5
13673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13675 echo $ECHO_N "(cached) $ECHO_C" >&6
13677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13680 # Is the header compilable?
13681 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13682 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13683 cat >conftest.
$ac_ext <<_ACEOF
13686 cat confdefs.h
>>conftest.
$ac_ext
13687 cat >>conftest.
$ac_ext <<_ACEOF
13688 /* end confdefs.h. */
13689 $ac_includes_default
13690 #include <$ac_header>
13692 rm -f conftest.
$ac_objext
13693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13694 (eval $ac_compile) 2>conftest.er1
13696 grep -v '^ *+' conftest.er1
>conftest.err
13698 cat conftest.err
>&5
13699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13700 (exit $ac_status); } &&
13701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13703 (eval $ac_try) 2>&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; } &&
13707 { ac_try
='test -s conftest.$ac_objext'
13708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13709 (eval $ac_try) 2>&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; }; then
13713 ac_header_compiler
=yes
13715 echo "$as_me: failed program was:" >&5
13716 sed 's/^/| /' conftest.
$ac_ext >&5
13718 ac_header_compiler
=no
13720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13721 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13722 echo "${ECHO_T}$ac_header_compiler" >&6
13724 # Is the header present?
13725 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13726 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13727 cat >conftest.
$ac_ext <<_ACEOF
13730 cat confdefs.h
>>conftest.
$ac_ext
13731 cat >>conftest.
$ac_ext <<_ACEOF
13732 /* end confdefs.h. */
13733 #include <$ac_header>
13735 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13736 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13738 grep -v '^ *+' conftest.er1
>conftest.err
13740 cat conftest.err
>&5
13741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13742 (exit $ac_status); } >/dev
/null
; then
13743 if test -s conftest.err
; then
13744 ac_cpp_err
=$ac_c_preproc_warn_flag
13745 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13752 if test -z "$ac_cpp_err"; then
13753 ac_header_preproc
=yes
13755 echo "$as_me: failed program was:" >&5
13756 sed 's/^/| /' conftest.
$ac_ext >&5
13758 ac_header_preproc
=no
13760 rm -f conftest.err conftest.
$ac_ext
13761 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13762 echo "${ECHO_T}$ac_header_preproc" >&6
13764 # So? What about this header?
13765 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13767 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13768 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13770 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13771 ac_header_preproc
=yes
13774 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13775 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13776 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13777 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13778 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13779 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13780 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13781 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13783 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13784 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13785 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13788 ## ------------------------------------ ##
13789 ## Report this to wine-devel@winehq.org ##
13790 ## ------------------------------------ ##
13793 sed "s/^/$as_me: WARNING: /" >&2
13796 echo "$as_me:$LINENO: checking for $ac_header" >&5
13797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13799 echo $ECHO_N "(cached) $ECHO_C" >&6
13801 eval "$as_ac_Header=\$ac_header_preproc"
13803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13808 cat >>confdefs.h
<<_ACEOF
13809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13812 for ac_func
in dlopen
13814 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13815 echo "$as_me:$LINENO: checking for $ac_func" >&5
13816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13817 if eval "test \"\${$as_ac_var+set}\" = set"; then
13818 echo $ECHO_N "(cached) $ECHO_C" >&6
13820 cat >conftest.
$ac_ext <<_ACEOF
13823 cat confdefs.h
>>conftest.
$ac_ext
13824 cat >>conftest.
$ac_ext <<_ACEOF
13825 /* end confdefs.h. */
13826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13827 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13828 #define $ac_func innocuous_$ac_func
13830 /* System header to define __stub macros and hopefully few prototypes,
13831 which can conflict with char $ac_func (); below.
13832 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13833 <limits.h> exists even on freestanding compilers. */
13836 # include <limits.h>
13838 # include <assert.h>
13843 /* Override any gcc2 internal prototype to avoid an error. */
13848 /* We use char because int might match the return type of a gcc2
13849 builtin and then its argument prototype would still apply. */
13851 /* The GNU C library defines this for functions which it implements
13852 to always fail with ENOSYS. Some functions are actually named
13853 something starting with __ and the normal name is an alias. */
13854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13857 char (*f) () = $ac_func;
13866 return f != $ac_func;
13871 rm -f conftest.
$ac_objext conftest
$ac_exeext
13872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13873 (eval $ac_link) 2>conftest.er1
13875 grep -v '^ *+' conftest.er1
>conftest.err
13877 cat conftest.err
>&5
13878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13879 (exit $ac_status); } &&
13880 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13882 (eval $ac_try) 2>&5
13884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13885 (exit $ac_status); }; } &&
13886 { ac_try
='test -s conftest$ac_exeext'
13887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13888 (eval $ac_try) 2>&5
13890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13891 (exit $ac_status); }; }; then
13892 eval "$as_ac_var=yes"
13894 echo "$as_me: failed program was:" >&5
13895 sed 's/^/| /' conftest.
$ac_ext >&5
13897 eval "$as_ac_var=no"
13899 rm -f conftest.err conftest.
$ac_objext \
13900 conftest
$ac_exeext conftest.
$ac_ext
13902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13904 if test `eval echo '${'$as_ac_var'}'` = yes; then
13905 cat >>confdefs.h
<<_ACEOF
13906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13910 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13911 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13912 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13913 echo $ECHO_N "(cached) $ECHO_C" >&6
13915 ac_check_lib_save_LIBS
=$LIBS
13917 cat >conftest.
$ac_ext <<_ACEOF
13920 cat confdefs.h
>>conftest.
$ac_ext
13921 cat >>conftest.
$ac_ext <<_ACEOF
13922 /* end confdefs.h. */
13924 /* Override any gcc2 internal prototype to avoid an error. */
13928 /* We use char because int might match the return type of a gcc2
13929 builtin and then its argument prototype would still apply. */
13939 rm -f conftest.
$ac_objext conftest
$ac_exeext
13940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13941 (eval $ac_link) 2>conftest.er1
13943 grep -v '^ *+' conftest.er1
>conftest.err
13945 cat conftest.err
>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); } &&
13948 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13950 (eval $ac_try) 2>&5
13952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13953 (exit $ac_status); }; } &&
13954 { ac_try
='test -s conftest$ac_exeext'
13955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13956 (eval $ac_try) 2>&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); }; }; then
13960 ac_cv_lib_dl_dlopen
=yes
13962 echo "$as_me: failed program was:" >&5
13963 sed 's/^/| /' conftest.
$ac_ext >&5
13965 ac_cv_lib_dl_dlopen
=no
13967 rm -f conftest.err conftest.
$ac_objext \
13968 conftest
$ac_exeext conftest.
$ac_ext
13969 LIBS
=$ac_check_lib_save_LIBS
13971 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13972 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13973 if test $ac_cv_lib_dl_dlopen = yes; then
13975 cat >>confdefs.h
<<\_ACEOF
13976 #define HAVE_DLOPEN 1
13994 if test "$LIBEXT" = "so"
13996 DLLFLAGS
="$DLLFLAGS -fPIC"
13998 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13999 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
14000 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
14001 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 ac_wine_try_cflags_saved
=$CFLAGS
14004 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
14005 cat >conftest.
$ac_ext <<_ACEOF
14008 cat confdefs.h
>>conftest.
$ac_ext
14009 cat >>conftest.
$ac_ext <<_ACEOF
14010 /* end confdefs.h. */
14020 rm -f conftest.
$ac_objext conftest
$ac_exeext
14021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14022 (eval $ac_link) 2>conftest.er1
14024 grep -v '^ *+' conftest.er1
>conftest.err
14026 cat conftest.err
>&5
14027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14028 (exit $ac_status); } &&
14029 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14031 (eval $ac_try) 2>&5
14033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14034 (exit $ac_status); }; } &&
14035 { ac_try
='test -s conftest$ac_exeext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 ac_cv_c_dll_gnuelf
="yes"
14043 echo "$as_me: failed program was:" >&5
14044 sed 's/^/| /' conftest.
$ac_ext >&5
14046 ac_cv_c_dll_gnuelf
="no"
14048 rm -f conftest.err conftest.
$ac_objext \
14049 conftest
$ac_exeext conftest.
$ac_ext
14050 CFLAGS
=$ac_wine_try_cflags_saved
14052 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
14053 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
14054 if test "$ac_cv_c_dll_gnuelf" = "yes"
14056 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
14057 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
14058 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
14059 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
14060 if test "${ac_cv_c_dll_zdefs+set}" = set; then
14061 echo $ECHO_N "(cached) $ECHO_C" >&6
14063 ac_wine_try_cflags_saved
=$CFLAGS
14064 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
14065 cat >conftest.
$ac_ext <<_ACEOF
14068 cat confdefs.h
>>conftest.
$ac_ext
14069 cat >>conftest.
$ac_ext <<_ACEOF
14070 /* end confdefs.h. */
14080 rm -f conftest.
$ac_objext conftest
$ac_exeext
14081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14082 (eval $ac_link) 2>conftest.er1
14084 grep -v '^ *+' conftest.er1
>conftest.err
14086 cat conftest.err
>&5
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); } &&
14089 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14091 (eval $ac_try) 2>&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }; } &&
14095 { ac_try
='test -s conftest$ac_exeext'
14096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14097 (eval $ac_try) 2>&5
14099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14100 (exit $ac_status); }; }; then
14101 ac_cv_c_dll_zdefs
="yes"
14103 echo "$as_me: failed program was:" >&5
14104 sed 's/^/| /' conftest.
$ac_ext >&5
14106 ac_cv_c_dll_zdefs
="no"
14108 rm -f conftest.err conftest.
$ac_objext \
14109 conftest
$ac_exeext conftest.
$ac_ext
14110 CFLAGS
=$ac_wine_try_cflags_saved
14112 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
14113 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
14114 if test "$ac_cv_c_dll_zdefs" = "yes"
14116 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
14119 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
14120 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
14121 if test "${ac_cv_c_dll_init_fini+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 ac_wine_try_cflags_saved
=$CFLAGS
14125 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14126 cat >conftest.
$ac_ext <<_ACEOF
14129 cat confdefs.h
>>conftest.
$ac_ext
14130 cat >>conftest.
$ac_ext <<_ACEOF
14131 /* end confdefs.h. */
14141 rm -f conftest.
$ac_objext conftest
$ac_exeext
14142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14143 (eval $ac_link) 2>conftest.er1
14145 grep -v '^ *+' conftest.er1
>conftest.err
14147 cat conftest.err
>&5
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); } &&
14150 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; } &&
14156 { ac_try
='test -s conftest$ac_exeext'
14157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14158 (eval $ac_try) 2>&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); }; }; then
14162 ac_cv_c_dll_init_fini
="yes"
14164 echo "$as_me: failed program was:" >&5
14165 sed 's/^/| /' conftest.
$ac_ext >&5
14167 ac_cv_c_dll_init_fini
="no"
14169 rm -f conftest.err conftest.
$ac_objext \
14170 conftest
$ac_exeext conftest.
$ac_ext
14171 CFLAGS
=$ac_wine_try_cflags_saved
14173 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14174 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14175 if test "$ac_cv_c_dll_init_fini" = "yes"
14177 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14180 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14181 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14182 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14183 echo $ECHO_N "(cached) $ECHO_C" >&6
14185 echo '{ global: *; };' >conftest.map
14186 ac_wine_try_cflags_saved
=$CFLAGS
14187 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14188 cat >conftest.
$ac_ext <<_ACEOF
14191 cat confdefs.h
>>conftest.
$ac_ext
14192 cat >>conftest.
$ac_ext <<_ACEOF
14193 /* end confdefs.h. */
14203 rm -f conftest.
$ac_objext conftest
$ac_exeext
14204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14205 (eval $ac_link) 2>conftest.er1
14207 grep -v '^ *+' conftest.er1
>conftest.err
14209 cat conftest.err
>&5
14210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14211 (exit $ac_status); } &&
14212 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14214 (eval $ac_try) 2>&5
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; } &&
14218 { ac_try
='test -s 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_c_ld_version_scripts
="yes"
14226 echo "$as_me: failed program was:" >&5
14227 sed 's/^/| /' conftest.
$ac_ext >&5
14229 ac_cv_c_ld_version_scripts
="no"
14231 rm -f conftest.err conftest.
$ac_objext \
14232 conftest
$ac_exeext conftest.
$ac_ext
14233 CFLAGS
=$ac_wine_try_cflags_saved
14236 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14237 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14238 if test "$ac_cv_c_ld_version_scripts" = "yes"
14240 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14243 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14244 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14245 if test "${ac_cv_c_export_dynamic+set}" = set; then
14246 echo $ECHO_N "(cached) $ECHO_C" >&6
14248 ac_wine_try_cflags_saved
=$CFLAGS
14249 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
14250 cat >conftest.
$ac_ext <<_ACEOF
14253 cat confdefs.h
>>conftest.
$ac_ext
14254 cat >>conftest.
$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14265 rm -f conftest.
$ac_objext conftest
$ac_exeext
14266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14267 (eval $ac_link) 2>conftest.er1
14269 grep -v '^ *+' conftest.er1
>conftest.err
14271 cat conftest.err
>&5
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); } &&
14274 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14276 (eval $ac_try) 2>&5
14278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14279 (exit $ac_status); }; } &&
14280 { ac_try
='test -s conftest$ac_exeext'
14281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14282 (eval $ac_try) 2>&5
14284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14285 (exit $ac_status); }; }; then
14286 ac_cv_c_export_dynamic
="yes"
14288 echo "$as_me: failed program was:" >&5
14289 sed 's/^/| /' conftest.
$ac_ext >&5
14291 ac_cv_c_export_dynamic
="no"
14293 rm -f conftest.err conftest.
$ac_objext \
14294 conftest
$ac_exeext conftest.
$ac_ext
14295 CFLAGS
=$ac_wine_try_cflags_saved
14297 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
14298 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14299 if test "$ac_cv_c_export_dynamic" = "yes"
14301 LDEXECFLAGS
="-Wl,--export-dynamic"
14307 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
14308 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
14309 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14310 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 saved_CFLAGS
="$CFLAGS"
14313 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x00110400"
14314 if test "$cross_compiling" = yes; then
14315 ac_cv_ld_reloc_exec
="no"
14317 cat >conftest.
$ac_ext <<_ACEOF
14320 cat confdefs.h
>>conftest.
$ac_ext
14321 cat >>conftest.
$ac_ext <<_ACEOF
14322 /* end confdefs.h. */
14323 #include <unistd.h>
14324 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
14326 rm -f conftest
$ac_exeext
14327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14328 (eval $ac_link) 2>&5
14330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14331 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14333 (eval $ac_try) 2>&5
14335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14336 (exit $ac_status); }; }; then
14337 ac_cv_ld_reloc_exec
="yes"
14339 echo "$as_me: program exited with status $ac_status" >&5
14340 echo "$as_me: failed program was:" >&5
14341 sed 's/^/| /' conftest.
$ac_ext >&5
14343 ( exit $ac_status )
14344 ac_cv_ld_reloc_exec
="no"
14346 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14348 CFLAGS
="$saved_CFLAGS"
14350 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14351 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14352 if test "$ac_cv_ld_reloc_exec" = "yes"
14354 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
14360 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14361 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14362 if test "${ac_cv_c_dll_unixware+set}" = set; then
14363 echo $ECHO_N "(cached) $ECHO_C" >&6
14365 ac_wine_try_cflags_saved
=$CFLAGS
14366 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14367 cat >conftest.
$ac_ext <<_ACEOF
14370 cat confdefs.h
>>conftest.
$ac_ext
14371 cat >>conftest.
$ac_ext <<_ACEOF
14372 /* end confdefs.h. */
14382 rm -f conftest.
$ac_objext conftest
$ac_exeext
14383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14384 (eval $ac_link) 2>conftest.er1
14386 grep -v '^ *+' conftest.er1
>conftest.err
14388 cat conftest.err
>&5
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); } &&
14391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; } &&
14397 { ac_try
='test -s conftest$ac_exeext'
14398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14399 (eval $ac_try) 2>&5
14401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14402 (exit $ac_status); }; }; then
14403 ac_cv_c_dll_unixware
="yes"
14405 echo "$as_me: failed program was:" >&5
14406 sed 's/^/| /' conftest.
$ac_ext >&5
14408 ac_cv_c_dll_unixware
="no"
14410 rm -f conftest.err conftest.
$ac_objext \
14411 conftest
$ac_exeext conftest.
$ac_ext
14412 CFLAGS
=$ac_wine_try_cflags_saved
14414 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14415 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14416 if test "$ac_cv_c_dll_unixware" = "yes"
14418 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14419 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14422 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14423 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14424 if test "${ac_cv_c_dll_macho+set}" = set; then
14425 echo $ECHO_N "(cached) $ECHO_C" >&6
14427 ac_wine_try_cflags_saved
=$CFLAGS
14428 CFLAGS
="$CFLAGS -bundle"
14429 cat >conftest.
$ac_ext <<_ACEOF
14432 cat confdefs.h
>>conftest.
$ac_ext
14433 cat >>conftest.
$ac_ext <<_ACEOF
14434 /* end confdefs.h. */
14444 rm -f conftest.
$ac_objext conftest
$ac_exeext
14445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14446 (eval $ac_link) 2>conftest.er1
14448 grep -v '^ *+' conftest.er1
>conftest.err
14450 cat conftest.err
>&5
14451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14452 (exit $ac_status); } &&
14453 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14455 (eval $ac_try) 2>&5
14457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14458 (exit $ac_status); }; } &&
14459 { ac_try
='test -s conftest$ac_exeext'
14460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14461 (eval $ac_try) 2>&5
14463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14464 (exit $ac_status); }; }; then
14465 ac_cv_c_dll_macho
="yes"
14467 echo "$as_me: failed program was:" >&5
14468 sed 's/^/| /' conftest.
$ac_ext >&5
14470 ac_cv_c_dll_macho
="no"
14472 rm -f conftest.err conftest.
$ac_objext \
14473 conftest
$ac_exeext conftest.
$ac_ext
14474 CFLAGS
=$ac_wine_try_cflags_saved
14476 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14477 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14478 if test "$ac_cv_c_dll_macho" = "yes"
14481 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14482 LDSHARED
="\$(CC) -dynamiclib"
14483 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14491 if test "$cross_compiling" = "no"
14493 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14495 # Extract the first word of "$ac_prog", so it can be a program name with args.
14496 set dummy
$ac_prog; ac_word
=$2
14497 echo "$as_me:$LINENO: checking for $ac_word" >&5
14498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14499 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14500 echo $ECHO_N "(cached) $ECHO_C" >&6
14502 if test -n "$CROSSCC"; then
14503 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14505 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14506 for as_dir
in $PATH
14509 test -z "$as_dir" && as_dir
=.
14510 for ac_exec_ext
in '' $ac_executable_extensions; do
14511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14512 ac_cv_prog_CROSSCC
="$ac_prog"
14513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14521 CROSSCC
=$ac_cv_prog_CROSSCC
14522 if test -n "$CROSSCC"; then
14523 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14524 echo "${ECHO_T}$CROSSCC" >&6
14526 echo "$as_me:$LINENO: result: no" >&5
14527 echo "${ECHO_T}no" >&6
14530 test -n "$CROSSCC" && break
14532 test -n "$CROSSCC" || CROSSCC
="false"
14534 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14536 # Extract the first word of "$ac_prog", so it can be a program name with args.
14537 set dummy
$ac_prog; ac_word
=$2
14538 echo "$as_me:$LINENO: checking for $ac_word" >&5
14539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14540 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14541 echo $ECHO_N "(cached) $ECHO_C" >&6
14543 if test -n "$DLLTOOL"; then
14544 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14546 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14547 for as_dir
in $PATH
14550 test -z "$as_dir" && as_dir
=.
14551 for ac_exec_ext
in '' $ac_executable_extensions; do
14552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14553 ac_cv_prog_DLLTOOL
="$ac_prog"
14554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14562 DLLTOOL
=$ac_cv_prog_DLLTOOL
14563 if test -n "$DLLTOOL"; then
14564 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14565 echo "${ECHO_T}$DLLTOOL" >&6
14567 echo "$as_me:$LINENO: result: no" >&5
14568 echo "${ECHO_T}no" >&6
14571 test -n "$DLLTOOL" && break
14573 test -n "$DLLTOOL" || DLLTOOL
="false"
14575 for ac_prog
in i586-mingw32msvc-windres i386-mingw32-windres mingw-windres
14577 # Extract the first word of "$ac_prog", so it can be a program name with args.
14578 set dummy
$ac_prog; ac_word
=$2
14579 echo "$as_me:$LINENO: checking for $ac_word" >&5
14580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14581 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14582 echo $ECHO_N "(cached) $ECHO_C" >&6
14584 if test -n "$CROSSWINDRES"; then
14585 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14588 for as_dir
in $PATH
14591 test -z "$as_dir" && as_dir
=.
14592 for ac_exec_ext
in '' $ac_executable_extensions; do
14593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14594 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14603 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14604 if test -n "$CROSSWINDRES"; then
14605 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14606 echo "${ECHO_T}$CROSSWINDRES" >&6
14608 echo "$as_me:$LINENO: result: no" >&5
14609 echo "${ECHO_T}no" >&6
14612 test -n "$CROSSWINDRES" && break
14614 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14616 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14621 if test "$LIBEXT" = "a"; then
14622 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14623 It is currently not possible to build Wine without shared library
14624 (.so) support to allow transparent switch between .so and .dll files.
14625 If you are using Linux, you will need a newer binutils.
14627 echo "$as_me: error: could not find a way to build shared libraries.
14628 It is currently not possible to build Wine without shared library
14629 (.so) support to allow transparent switch between .so and .dll files.
14630 If you are using Linux, you will need a newer binutils.
14632 { (exit 1); exit 1; }; }
14637 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14640 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14643 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14655 WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14657 MAIN_BINARY
="wine-glibc"
14661 WINE_BINARIES
="wine-kthread"
14663 MAIN_BINARY
="wine-kthread"
14669 if test "$LIBEXT" = "so"
14671 # Extract the first word of "ldd", so it can be a program name with args.
14672 set dummy ldd
; ac_word
=$2
14673 echo "$as_me:$LINENO: checking for $ac_word" >&5
14674 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14675 if test "${ac_cv_path_LDD+set}" = set; then
14676 echo $ECHO_N "(cached) $ECHO_C" >&6
14680 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14683 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14684 as_dummy
="/sbin:/usr/sbin:$PATH"
14685 for as_dir
in $as_dummy
14688 test -z "$as_dir" && as_dir
=.
14689 for ac_exec_ext
in '' $ac_executable_extensions; do
14690 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14691 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14692 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14698 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14702 LDD
=$ac_cv_path_LDD
14704 if test -n "$LDD"; then
14705 echo "$as_me:$LINENO: result: $LDD" >&5
14706 echo "${ECHO_T}$LDD" >&6
14708 echo "$as_me:$LINENO: result: no" >&5
14709 echo "${ECHO_T}no" >&6
14713 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14714 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14715 if test "${ac_cv_lib_soname_X11+set}" = set; then
14716 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 ac_get_soname_save_LIBS
=$LIBS
14719 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14720 cat >conftest.
$ac_ext <<_ACEOF
14723 cat confdefs.h
>>conftest.
$ac_ext
14724 cat >>conftest.
$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14727 /* Override any gcc2 internal prototype to avoid an error. */
14731 /* We use char because int might match the return type of a gcc2
14732 builtin and then its argument prototype would still apply. */
14733 char XCreateWindow ();
14742 rm -f conftest.
$ac_objext conftest
$ac_exeext
14743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14744 (eval $ac_link) 2>conftest.er1
14746 grep -v '^ *+' conftest.er1
>conftest.err
14748 cat conftest.err
>&5
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); } &&
14751 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; } &&
14757 { ac_try
='test -s conftest$ac_exeext'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; }; then
14763 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14764 if test "x$ac_cv_lib_soname_X11" = "x"
14766 ac_cv_lib_soname_X11
="libX11.so"
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.
$ac_ext >&5
14772 ac_cv_lib_soname_X11
="libX11.so"
14774 rm -f conftest.err conftest.
$ac_objext \
14775 conftest
$ac_exeext conftest.
$ac_ext
14776 LIBS
=$ac_get_soname_save_LIBS
14778 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14779 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14780 if test "x$ac_cv_lib_soname_X11" != xNONE
14782 cat >>confdefs.h
<<_ACEOF
14783 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14787 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14788 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14789 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14790 echo $ECHO_N "(cached) $ECHO_C" >&6
14792 ac_get_soname_save_LIBS
=$LIBS
14793 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14794 cat >conftest.
$ac_ext <<_ACEOF
14797 cat confdefs.h
>>conftest.
$ac_ext
14798 cat >>conftest.
$ac_ext <<_ACEOF
14799 /* end confdefs.h. */
14801 /* Override any gcc2 internal prototype to avoid an error. */
14805 /* We use char because int might match the return type of a gcc2
14806 builtin and then its argument prototype would still apply. */
14807 char XextCreateExtension ();
14811 XextCreateExtension ();
14816 rm -f conftest.
$ac_objext conftest
$ac_exeext
14817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14818 (eval $ac_link) 2>conftest.er1
14820 grep -v '^ *+' conftest.er1
>conftest.err
14822 cat conftest.err
>&5
14823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14824 (exit $ac_status); } &&
14825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14827 (eval $ac_try) 2>&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); }; } &&
14831 { ac_try
='test -s conftest$ac_exeext'
14832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14833 (eval $ac_try) 2>&5
14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14836 (exit $ac_status); }; }; then
14837 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14838 if test "x$ac_cv_lib_soname_Xext" = "x"
14840 ac_cv_lib_soname_Xext
="libXext.so"
14843 echo "$as_me: failed program was:" >&5
14844 sed 's/^/| /' conftest.
$ac_ext >&5
14846 ac_cv_lib_soname_Xext
="libXext.so"
14848 rm -f conftest.err conftest.
$ac_objext \
14849 conftest
$ac_exeext conftest.
$ac_ext
14850 LIBS
=$ac_get_soname_save_LIBS
14852 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14853 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14854 if test "x$ac_cv_lib_soname_Xext" != xNONE
14856 cat >>confdefs.h
<<_ACEOF
14857 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14861 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14862 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14863 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14864 echo $ECHO_N "(cached) $ECHO_C" >&6
14866 ac_get_soname_save_LIBS
=$LIBS
14867 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14868 cat >conftest.
$ac_ext <<_ACEOF
14871 cat confdefs.h
>>conftest.
$ac_ext
14872 cat >>conftest.
$ac_ext <<_ACEOF
14873 /* end confdefs.h. */
14875 /* Override any gcc2 internal prototype to avoid an error. */
14879 /* We use char because int might match the return type of a gcc2
14880 builtin and then its argument prototype would still apply. */
14881 char XOpenDevice ();
14890 rm -f conftest.
$ac_objext conftest
$ac_exeext
14891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14892 (eval $ac_link) 2>conftest.er1
14894 grep -v '^ *+' conftest.er1
>conftest.err
14896 cat conftest.err
>&5
14897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14898 (exit $ac_status); } &&
14899 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14901 (eval $ac_try) 2>&5
14903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14904 (exit $ac_status); }; } &&
14905 { ac_try
='test -s conftest$ac_exeext'
14906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14907 (eval $ac_try) 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; }; then
14911 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14912 if test "x$ac_cv_lib_soname_Xi" = "x"
14914 ac_cv_lib_soname_Xi
="libXi.so"
14917 echo "$as_me: failed program was:" >&5
14918 sed 's/^/| /' conftest.
$ac_ext >&5
14920 ac_cv_lib_soname_Xi
="libXi.so"
14922 rm -f conftest.err conftest.
$ac_objext \
14923 conftest
$ac_exeext conftest.
$ac_ext
14924 LIBS
=$ac_get_soname_save_LIBS
14926 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14927 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14928 if test "x$ac_cv_lib_soname_Xi" != xNONE
14930 cat >>confdefs.h
<<_ACEOF
14931 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14935 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14936 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14937 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14938 echo $ECHO_N "(cached) $ECHO_C" >&6
14940 ac_get_soname_save_LIBS
=$LIBS
14941 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14949 /* Override any gcc2 internal prototype to avoid an error. */
14953 /* We use char because int might match the return type of a gcc2
14954 builtin and then its argument prototype would still apply. */
14955 char XRenderQueryExtension ();
14959 XRenderQueryExtension ();
14964 rm -f conftest.
$ac_objext conftest
$ac_exeext
14965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14966 (eval $ac_link) 2>conftest.er1
14968 grep -v '^ *+' conftest.er1
>conftest.err
14970 cat conftest.err
>&5
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } &&
14973 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; } &&
14979 { ac_try
='test -s conftest$ac_exeext'
14980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14981 (eval $ac_try) 2>&5
14983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14984 (exit $ac_status); }; }; then
14985 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14986 if test "x$ac_cv_lib_soname_Xrender" = "x"
14988 ac_cv_lib_soname_Xrender
="libXrender.so"
14991 echo "$as_me: failed program was:" >&5
14992 sed 's/^/| /' conftest.
$ac_ext >&5
14994 ac_cv_lib_soname_Xrender
="libXrender.so"
14996 rm -f conftest.err conftest.
$ac_objext \
14997 conftest
$ac_exeext conftest.
$ac_ext
14998 LIBS
=$ac_get_soname_save_LIBS
15000 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
15001 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
15002 if test "x$ac_cv_lib_soname_Xrender" != xNONE
15004 cat >>confdefs.h
<<_ACEOF
15005 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
15009 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
15010 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
15011 if test "${ac_cv_lib_soname_freetype+set}" = set; then
15012 echo $ECHO_N "(cached) $ECHO_C" >&6
15014 ac_get_soname_save_LIBS
=$LIBS
15015 LIBS
="-lfreetype $X_LIBS $LIBS"
15016 cat >conftest.
$ac_ext <<_ACEOF
15019 cat confdefs.h
>>conftest.
$ac_ext
15020 cat >>conftest.
$ac_ext <<_ACEOF
15021 /* end confdefs.h. */
15023 /* Override any gcc2 internal prototype to avoid an error. */
15027 /* We use char because int might match the return type of a gcc2
15028 builtin and then its argument prototype would still apply. */
15029 char FT_Init_FreeType ();
15033 FT_Init_FreeType ();
15038 rm -f conftest.
$ac_objext conftest
$ac_exeext
15039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15040 (eval $ac_link) 2>conftest.er1
15042 grep -v '^ *+' conftest.er1
>conftest.err
15044 cat conftest.err
>&5
15045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15046 (exit $ac_status); } &&
15047 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15049 (eval $ac_try) 2>&5
15051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15052 (exit $ac_status); }; } &&
15053 { ac_try
='test -s conftest$ac_exeext'
15054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15055 (eval $ac_try) 2>&5
15057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15058 (exit $ac_status); }; }; then
15059 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
15060 if test "x$ac_cv_lib_soname_freetype" = "x"
15062 ac_cv_lib_soname_freetype
="libfreetype.so"
15065 echo "$as_me: failed program was:" >&5
15066 sed 's/^/| /' conftest.
$ac_ext >&5
15068 ac_cv_lib_soname_freetype
="libfreetype.so"
15070 rm -f conftest.err conftest.
$ac_objext \
15071 conftest
$ac_exeext conftest.
$ac_ext
15072 LIBS
=$ac_get_soname_save_LIBS
15074 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15075 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
15076 if test "x$ac_cv_lib_soname_freetype" != xNONE
15078 cat >>confdefs.h
<<_ACEOF
15079 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15083 echo "$as_me:$LINENO: checking for -lGL soname" >&5
15084 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
15085 if test "${ac_cv_lib_soname_GL+set}" = set; then
15086 echo $ECHO_N "(cached) $ECHO_C" >&6
15088 ac_get_soname_save_LIBS
=$LIBS
15089 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15090 cat >conftest.
$ac_ext <<_ACEOF
15093 cat confdefs.h
>>conftest.
$ac_ext
15094 cat >>conftest.
$ac_ext <<_ACEOF
15095 /* end confdefs.h. */
15097 /* Override any gcc2 internal prototype to avoid an error. */
15101 /* We use char because int might match the return type of a gcc2
15102 builtin and then its argument prototype would still apply. */
15103 char glXQueryExtension ();
15107 glXQueryExtension ();
15112 rm -f conftest.
$ac_objext conftest
$ac_exeext
15113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15114 (eval $ac_link) 2>conftest.er1
15116 grep -v '^ *+' conftest.er1
>conftest.err
15118 cat conftest.err
>&5
15119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15120 (exit $ac_status); } &&
15121 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15123 (eval $ac_try) 2>&5
15125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15126 (exit $ac_status); }; } &&
15127 { ac_try
='test -s conftest$ac_exeext'
15128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15129 (eval $ac_try) 2>&5
15131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15132 (exit $ac_status); }; }; then
15133 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
15134 if test "x$ac_cv_lib_soname_GL" = "x"
15136 ac_cv_lib_soname_GL
="libGL.so"
15139 echo "$as_me: failed program was:" >&5
15140 sed 's/^/| /' conftest.
$ac_ext >&5
15142 ac_cv_lib_soname_GL
="libGL.so"
15144 rm -f conftest.err conftest.
$ac_objext \
15145 conftest
$ac_exeext conftest.
$ac_ext
15146 LIBS
=$ac_get_soname_save_LIBS
15148 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15149 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15150 if test "x$ac_cv_lib_soname_GL" != xNONE
15152 cat >>confdefs.h
<<_ACEOF
15153 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15157 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15158 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15159 if test "${ac_cv_lib_soname_cups+set}" = set; then
15160 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 ac_get_soname_save_LIBS
=$LIBS
15163 LIBS
="-lcups $LIBS"
15164 cat >conftest.
$ac_ext <<_ACEOF
15167 cat confdefs.h
>>conftest.
$ac_ext
15168 cat >>conftest.
$ac_ext <<_ACEOF
15169 /* end confdefs.h. */
15171 /* Override any gcc2 internal prototype to avoid an error. */
15175 /* We use char because int might match the return type of a gcc2
15176 builtin and then its argument prototype would still apply. */
15177 char cupsGetDefault ();
15186 rm -f conftest.
$ac_objext conftest
$ac_exeext
15187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15188 (eval $ac_link) 2>conftest.er1
15190 grep -v '^ *+' conftest.er1
>conftest.err
15192 cat conftest.err
>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } &&
15195 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15197 (eval $ac_try) 2>&5
15199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15200 (exit $ac_status); }; } &&
15201 { ac_try
='test -s conftest$ac_exeext'
15202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15203 (eval $ac_try) 2>&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); }; }; then
15207 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
15208 if test "x$ac_cv_lib_soname_cups" = "x"
15210 ac_cv_lib_soname_cups
="libcups.so"
15213 echo "$as_me: failed program was:" >&5
15214 sed 's/^/| /' conftest.
$ac_ext >&5
15216 ac_cv_lib_soname_cups
="libcups.so"
15218 rm -f conftest.err conftest.
$ac_objext \
15219 conftest
$ac_exeext conftest.
$ac_ext
15220 LIBS
=$ac_get_soname_save_LIBS
15222 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15223 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15224 if test "x$ac_cv_lib_soname_cups" != xNONE
15226 cat >>confdefs.h
<<_ACEOF
15227 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15231 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15232 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15233 if test "${ac_cv_lib_soname_jack+set}" = set; then
15234 echo $ECHO_N "(cached) $ECHO_C" >&6
15236 ac_get_soname_save_LIBS
=$LIBS
15237 LIBS
="-ljack $LIBS"
15238 cat >conftest.
$ac_ext <<_ACEOF
15241 cat confdefs.h
>>conftest.
$ac_ext
15242 cat >>conftest.
$ac_ext <<_ACEOF
15243 /* end confdefs.h. */
15245 /* Override any gcc2 internal prototype to avoid an error. */
15249 /* We use char because int might match the return type of a gcc2
15250 builtin and then its argument prototype would still apply. */
15251 char jack_client_new ();
15255 jack_client_new ();
15260 rm -f conftest.
$ac_objext conftest
$ac_exeext
15261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15262 (eval $ac_link) 2>conftest.er1
15264 grep -v '^ *+' conftest.er1
>conftest.err
15266 cat conftest.err
>&5
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); } &&
15269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15271 (eval $ac_try) 2>&5
15273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15274 (exit $ac_status); }; } &&
15275 { ac_try
='test -s conftest$ac_exeext'
15276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15277 (eval $ac_try) 2>&5
15279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15280 (exit $ac_status); }; }; then
15281 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
15282 if test "x$ac_cv_lib_soname_jack" = "x"
15284 ac_cv_lib_soname_jack
="libjack.so"
15287 echo "$as_me: failed program was:" >&5
15288 sed 's/^/| /' conftest.
$ac_ext >&5
15290 ac_cv_lib_soname_jack
="libjack.so"
15292 rm -f conftest.err conftest.
$ac_objext \
15293 conftest
$ac_exeext conftest.
$ac_ext
15294 LIBS
=$ac_get_soname_save_LIBS
15296 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15297 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15298 if test "x$ac_cv_lib_soname_jack" != xNONE
15300 cat >>confdefs.h
<<_ACEOF
15301 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15305 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15306 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15307 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15308 echo $ECHO_N "(cached) $ECHO_C" >&6
15310 ac_get_soname_save_LIBS
=$LIBS
15311 LIBS
="-lfontconfig $LIBS"
15312 cat >conftest.
$ac_ext <<_ACEOF
15315 cat confdefs.h
>>conftest.
$ac_ext
15316 cat >>conftest.
$ac_ext <<_ACEOF
15317 /* end confdefs.h. */
15319 /* Override any gcc2 internal prototype to avoid an error. */
15323 /* We use char because int might match the return type of a gcc2
15324 builtin and then its argument prototype would still apply. */
15334 rm -f conftest.
$ac_objext conftest
$ac_exeext
15335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15336 (eval $ac_link) 2>conftest.er1
15338 grep -v '^ *+' conftest.er1
>conftest.err
15340 cat conftest.err
>&5
15341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15342 (exit $ac_status); } &&
15343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15345 (eval $ac_try) 2>&5
15347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15348 (exit $ac_status); }; } &&
15349 { ac_try
='test -s conftest$ac_exeext'
15350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15351 (eval $ac_try) 2>&5
15353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15354 (exit $ac_status); }; }; then
15355 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
15356 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15358 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15361 echo "$as_me: failed program was:" >&5
15362 sed 's/^/| /' conftest.
$ac_ext >&5
15364 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15366 rm -f conftest.err conftest.
$ac_objext \
15367 conftest
$ac_exeext conftest.
$ac_ext
15368 LIBS
=$ac_get_soname_save_LIBS
15370 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15371 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15372 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15374 cat >>confdefs.h
<<_ACEOF
15375 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15379 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15380 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15381 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15382 echo $ECHO_N "(cached) $ECHO_C" >&6
15384 ac_get_soname_save_LIBS
=$LIBS
15386 cat >conftest.
$ac_ext <<_ACEOF
15389 cat confdefs.h
>>conftest.
$ac_ext
15390 cat >>conftest.
$ac_ext <<_ACEOF
15391 /* end confdefs.h. */
15393 /* Override any gcc2 internal prototype to avoid an error. */
15397 /* We use char because int might match the return type of a gcc2
15398 builtin and then its argument prototype would still apply. */
15399 char SSL_library_init ();
15403 SSL_library_init ();
15408 rm -f conftest.
$ac_objext conftest
$ac_exeext
15409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15410 (eval $ac_link) 2>conftest.er1
15412 grep -v '^ *+' conftest.er1
>conftest.err
15414 cat conftest.err
>&5
15415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15416 (exit $ac_status); } &&
15417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15419 (eval $ac_try) 2>&5
15421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15422 (exit $ac_status); }; } &&
15423 { ac_try
='test -s conftest$ac_exeext'
15424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15425 (eval $ac_try) 2>&5
15427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15428 (exit $ac_status); }; }; then
15429 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
15430 if test "x$ac_cv_lib_soname_ssl" = "x"
15432 ac_cv_lib_soname_ssl
="libssl.so"
15435 echo "$as_me: failed program was:" >&5
15436 sed 's/^/| /' conftest.
$ac_ext >&5
15438 ac_cv_lib_soname_ssl
="libssl.so"
15440 rm -f conftest.err conftest.
$ac_objext \
15441 conftest
$ac_exeext conftest.
$ac_ext
15442 LIBS
=$ac_get_soname_save_LIBS
15444 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15445 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15446 if test "x$ac_cv_lib_soname_ssl" != xNONE
15448 cat >>confdefs.h
<<_ACEOF
15449 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15453 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15454 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15455 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15458 ac_get_soname_save_LIBS
=$LIBS
15459 LIBS
="-lcrypto $LIBS"
15460 cat >conftest.
$ac_ext <<_ACEOF
15463 cat confdefs.h
>>conftest.
$ac_ext
15464 cat >>conftest.
$ac_ext <<_ACEOF
15465 /* end confdefs.h. */
15467 /* Override any gcc2 internal prototype to avoid an error. */
15471 /* We use char because int might match the return type of a gcc2
15472 builtin and then its argument prototype would still apply. */
15473 char BIO_new_socket ();
15482 rm -f conftest.
$ac_objext conftest
$ac_exeext
15483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15484 (eval $ac_link) 2>conftest.er1
15486 grep -v '^ *+' conftest.er1
>conftest.err
15488 cat conftest.err
>&5
15489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15490 (exit $ac_status); } &&
15491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15493 (eval $ac_try) 2>&5
15495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15496 (exit $ac_status); }; } &&
15497 { ac_try
='test -s conftest$ac_exeext'
15498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15499 (eval $ac_try) 2>&5
15501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15502 (exit $ac_status); }; }; then
15503 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
15504 if test "x$ac_cv_lib_soname_crypto" = "x"
15506 ac_cv_lib_soname_crypto
="libcrypto.so"
15509 echo "$as_me: failed program was:" >&5
15510 sed 's/^/| /' conftest.
$ac_ext >&5
15512 ac_cv_lib_soname_crypto
="libcrypto.so"
15514 rm -f conftest.err conftest.
$ac_objext \
15515 conftest
$ac_exeext conftest.
$ac_ext
15516 LIBS
=$ac_get_soname_save_LIBS
15518 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15519 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15520 if test "x$ac_cv_lib_soname_crypto" != xNONE
15522 cat >>confdefs.h
<<_ACEOF
15523 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15527 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15528 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15529 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15530 echo $ECHO_N "(cached) $ECHO_C" >&6
15532 ac_get_soname_save_LIBS
=$LIBS
15533 LIBS
="-lncurses $LIBS"
15534 cat >conftest.
$ac_ext <<_ACEOF
15537 cat confdefs.h
>>conftest.
$ac_ext
15538 cat >>conftest.
$ac_ext <<_ACEOF
15539 /* end confdefs.h. */
15541 /* Override any gcc2 internal prototype to avoid an error. */
15545 /* We use char because int might match the return type of a gcc2
15546 builtin and then its argument prototype would still apply. */
15556 rm -f conftest.
$ac_objext conftest
$ac_exeext
15557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15558 (eval $ac_link) 2>conftest.er1
15560 grep -v '^ *+' conftest.er1
>conftest.err
15562 cat conftest.err
>&5
15563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15564 (exit $ac_status); } &&
15565 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15567 (eval $ac_try) 2>&5
15569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15570 (exit $ac_status); }; } &&
15571 { ac_try
='test -s conftest$ac_exeext'
15572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15573 (eval $ac_try) 2>&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); }; }; then
15577 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15578 if test "x$ac_cv_lib_soname_ncurses" = "x"
15580 ac_cv_lib_soname_ncurses
="libncurses.so"
15583 echo "$as_me: failed program was:" >&5
15584 sed 's/^/| /' conftest.
$ac_ext >&5
15586 ac_cv_lib_soname_ncurses
="libncurses.so"
15588 rm -f conftest.err conftest.
$ac_objext \
15589 conftest
$ac_exeext conftest.
$ac_ext
15590 LIBS
=$ac_get_soname_save_LIBS
15592 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15593 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15594 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15596 cat >>confdefs.h
<<_ACEOF
15597 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15601 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15602 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15603 if test "${ac_cv_lib_soname_curses+set}" = set; then
15604 echo $ECHO_N "(cached) $ECHO_C" >&6
15606 ac_get_soname_save_LIBS
=$LIBS
15607 LIBS
="-lcurses $LIBS"
15608 cat >conftest.
$ac_ext <<_ACEOF
15611 cat confdefs.h
>>conftest.
$ac_ext
15612 cat >>conftest.
$ac_ext <<_ACEOF
15613 /* end confdefs.h. */
15615 /* Override any gcc2 internal prototype to avoid an error. */
15619 /* We use char because int might match the return type of a gcc2
15620 builtin and then its argument prototype would still apply. */
15630 rm -f conftest.
$ac_objext conftest
$ac_exeext
15631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15632 (eval $ac_link) 2>conftest.er1
15634 grep -v '^ *+' conftest.er1
>conftest.err
15636 cat conftest.err
>&5
15637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15638 (exit $ac_status); } &&
15639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15641 (eval $ac_try) 2>&5
15643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15644 (exit $ac_status); }; } &&
15645 { ac_try
='test -s conftest$ac_exeext'
15646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15647 (eval $ac_try) 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15651 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15652 if test "x$ac_cv_lib_soname_curses" = "x"
15654 ac_cv_lib_soname_curses
="libcurses.so"
15657 echo "$as_me: failed program was:" >&5
15658 sed 's/^/| /' conftest.
$ac_ext >&5
15660 ac_cv_lib_soname_curses
="libcurses.so"
15662 rm -f conftest.err conftest.
$ac_objext \
15663 conftest
$ac_exeext conftest.
$ac_ext
15664 LIBS
=$ac_get_soname_save_LIBS
15666 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15667 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15668 if test "x$ac_cv_lib_soname_curses" != xNONE
15670 cat >>confdefs.h
<<_ACEOF
15671 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15678 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15679 # for constant arguments. Useless!
15680 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15681 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15682 if test "${ac_cv_working_alloca_h+set}" = set; then
15683 echo $ECHO_N "(cached) $ECHO_C" >&6
15685 cat >conftest.
$ac_ext <<_ACEOF
15688 cat confdefs.h
>>conftest.
$ac_ext
15689 cat >>conftest.
$ac_ext <<_ACEOF
15690 /* end confdefs.h. */
15691 #include <alloca.h>
15695 char *p = (char *) alloca (2 * sizeof (int));
15700 rm -f conftest.
$ac_objext conftest
$ac_exeext
15701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15702 (eval $ac_link) 2>conftest.er1
15704 grep -v '^ *+' conftest.er1
>conftest.err
15706 cat conftest.err
>&5
15707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15708 (exit $ac_status); } &&
15709 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15711 (eval $ac_try) 2>&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); }; } &&
15715 { ac_try
='test -s conftest$ac_exeext'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; }; then
15721 ac_cv_working_alloca_h
=yes
15723 echo "$as_me: failed program was:" >&5
15724 sed 's/^/| /' conftest.
$ac_ext >&5
15726 ac_cv_working_alloca_h
=no
15728 rm -f conftest.err conftest.
$ac_objext \
15729 conftest
$ac_exeext conftest.
$ac_ext
15731 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15732 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15733 if test $ac_cv_working_alloca_h = yes; then
15735 cat >>confdefs.h
<<\_ACEOF
15736 #define HAVE_ALLOCA_H 1
15741 echo "$as_me:$LINENO: checking for alloca" >&5
15742 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15743 if test "${ac_cv_func_alloca_works+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 cat >conftest.
$ac_ext <<_ACEOF
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15753 # define alloca __builtin_alloca
15756 # include <malloc.h>
15757 # define alloca _alloca
15760 # include <alloca.h>
15765 # ifndef alloca /* predefined by HP cc +Olibcalls */
15776 char *p = (char *) alloca (1);
15781 rm -f conftest.
$ac_objext conftest
$ac_exeext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15783 (eval $ac_link) 2>conftest.er1
15785 grep -v '^ *+' conftest.er1
>conftest.err
15787 cat conftest.err
>&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } &&
15790 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; } &&
15796 { ac_try
='test -s conftest$ac_exeext'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; }; then
15802 ac_cv_func_alloca_works
=yes
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.
$ac_ext >&5
15807 ac_cv_func_alloca_works
=no
15809 rm -f conftest.err conftest.
$ac_objext \
15810 conftest
$ac_exeext conftest.
$ac_ext
15812 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15813 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15815 if test $ac_cv_func_alloca_works = yes; then
15817 cat >>confdefs.h
<<\_ACEOF
15818 #define HAVE_ALLOCA 1
15822 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15823 # that cause trouble. Some versions do not even contain alloca or
15824 # contain a buggy version. If you still want to use their alloca,
15825 # use ar to extract alloca.o from them instead of compiling alloca.c.
15827 ALLOCA
=alloca.
$ac_objext
15829 cat >>confdefs.h
<<\_ACEOF
15834 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15835 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15836 if test "${ac_cv_os_cray+set}" = set; then
15837 echo $ECHO_N "(cached) $ECHO_C" >&6
15839 cat >conftest.
$ac_ext <<_ACEOF
15842 cat confdefs.h
>>conftest.
$ac_ext
15843 cat >>conftest.
$ac_ext <<_ACEOF
15844 /* end confdefs.h. */
15845 #if defined(CRAY) && ! defined(CRAY2)
15852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15853 $EGREP "webecray" >/dev
/null
2>&1; then
15861 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15862 echo "${ECHO_T}$ac_cv_os_cray" >&6
15863 if test $ac_cv_os_cray = yes; then
15864 for ac_func
in _getb67 GETB67 getb67
; do
15865 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15866 echo "$as_me:$LINENO: checking for $ac_func" >&5
15867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15868 if eval "test \"\${$as_ac_var+set}\" = set"; then
15869 echo $ECHO_N "(cached) $ECHO_C" >&6
15871 cat >conftest.
$ac_ext <<_ACEOF
15874 cat confdefs.h
>>conftest.
$ac_ext
15875 cat >>conftest.
$ac_ext <<_ACEOF
15876 /* end confdefs.h. */
15877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15879 #define $ac_func innocuous_$ac_func
15881 /* System header to define __stub macros and hopefully few prototypes,
15882 which can conflict with char $ac_func (); below.
15883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15884 <limits.h> exists even on freestanding compilers. */
15887 # include <limits.h>
15889 # include <assert.h>
15894 /* Override any gcc2 internal prototype to avoid an error. */
15899 /* We use char because int might match the return type of a gcc2
15900 builtin and then its argument prototype would still apply. */
15902 /* The GNU C library defines this for functions which it implements
15903 to always fail with ENOSYS. Some functions are actually named
15904 something starting with __ and the normal name is an alias. */
15905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15908 char (*f) () = $ac_func;
15917 return f != $ac_func;
15922 rm -f conftest.
$ac_objext conftest
$ac_exeext
15923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15924 (eval $ac_link) 2>conftest.er1
15926 grep -v '^ *+' conftest.er1
>conftest.err
15928 cat conftest.err
>&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } &&
15931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; } &&
15937 { ac_try
='test -s conftest$ac_exeext'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; }; then
15943 eval "$as_ac_var=yes"
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.
$ac_ext >&5
15948 eval "$as_ac_var=no"
15950 rm -f conftest.err conftest.
$ac_objext \
15951 conftest
$ac_exeext conftest.
$ac_ext
15953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15955 if test `eval echo '${'$as_ac_var'}'` = yes; then
15957 cat >>confdefs.h
<<_ACEOF
15958 #define CRAY_STACKSEG_END $ac_func
15967 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15968 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15969 if test "${ac_cv_c_stack_direction+set}" = set; then
15970 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 if test "$cross_compiling" = yes; then
15973 ac_cv_c_stack_direction
=0
15975 cat >conftest.
$ac_ext <<_ACEOF
15978 cat confdefs.h
>>conftest.
$ac_ext
15979 cat >>conftest.
$ac_ext <<_ACEOF
15980 /* end confdefs.h. */
15982 find_stack_direction ()
15984 static char *addr = 0;
15989 return find_stack_direction ();
15992 return (&dummy > addr) ? 1 : -1;
15998 exit (find_stack_direction () < 0);
16001 rm -f conftest
$ac_exeext
16002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16003 (eval $ac_link) 2>&5
16005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16006 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16008 (eval $ac_try) 2>&5
16010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16011 (exit $ac_status); }; }; then
16012 ac_cv_c_stack_direction
=1
16014 echo "$as_me: program exited with status $ac_status" >&5
16015 echo "$as_me: failed program was:" >&5
16016 sed 's/^/| /' conftest.
$ac_ext >&5
16018 ( exit $ac_status )
16019 ac_cv_c_stack_direction
=-1
16021 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16024 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16025 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16027 cat >>confdefs.h
<<_ACEOF
16028 #define STACK_DIRECTION $ac_cv_c_stack_direction
16145 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16146 echo "$as_me:$LINENO: checking for $ac_func" >&5
16147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16148 if eval "test \"\${$as_ac_var+set}\" = set"; then
16149 echo $ECHO_N "(cached) $ECHO_C" >&6
16151 cat >conftest.
$ac_ext <<_ACEOF
16154 cat confdefs.h
>>conftest.
$ac_ext
16155 cat >>conftest.
$ac_ext <<_ACEOF
16156 /* end confdefs.h. */
16157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16159 #define $ac_func innocuous_$ac_func
16161 /* System header to define __stub macros and hopefully few prototypes,
16162 which can conflict with char $ac_func (); below.
16163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16164 <limits.h> exists even on freestanding compilers. */
16167 # include <limits.h>
16169 # include <assert.h>
16174 /* Override any gcc2 internal prototype to avoid an error. */
16179 /* We use char because int might match the return type of a gcc2
16180 builtin and then its argument prototype would still apply. */
16182 /* The GNU C library defines this for functions which it implements
16183 to always fail with ENOSYS. Some functions are actually named
16184 something starting with __ and the normal name is an alias. */
16185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16188 char (*f) () = $ac_func;
16197 return f != $ac_func;
16202 rm -f conftest.
$ac_objext conftest
$ac_exeext
16203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16204 (eval $ac_link) 2>conftest.er1
16206 grep -v '^ *+' conftest.er1
>conftest.err
16208 cat conftest.err
>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } &&
16211 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16213 (eval $ac_try) 2>&5
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); }; } &&
16217 { ac_try
='test -s conftest$ac_exeext'
16218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16219 (eval $ac_try) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }; }; then
16223 eval "$as_ac_var=yes"
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.
$ac_ext >&5
16228 eval "$as_ac_var=no"
16230 rm -f conftest.err conftest.
$ac_objext \
16231 conftest
$ac_exeext conftest.
$ac_ext
16233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16235 if test `eval echo '${'$as_ac_var'}'` = yes; then
16236 cat >>confdefs.h
<<_ACEOF
16237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16336 fontconfig
/fontconfig.h \
16356 netinet
/in_systm.h \
16358 netinet
/tcp_fsm.h \
16368 scsi
/scsi_ioctl.h \
16413 valgrind
/memcheck.h
16416 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16417 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16418 echo "$as_me:$LINENO: checking for $ac_header" >&5
16419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16421 echo $ECHO_N "(cached) $ECHO_C" >&6
16423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16424 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16426 # Is the header compilable?
16427 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16428 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16429 cat >conftest.
$ac_ext <<_ACEOF
16432 cat confdefs.h
>>conftest.
$ac_ext
16433 cat >>conftest.
$ac_ext <<_ACEOF
16434 /* end confdefs.h. */
16435 $ac_includes_default
16436 #include <$ac_header>
16438 rm -f conftest.
$ac_objext
16439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16440 (eval $ac_compile) 2>conftest.er1
16442 grep -v '^ *+' conftest.er1
>conftest.err
16444 cat conftest.err
>&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } &&
16447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16449 (eval $ac_try) 2>&5
16451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16452 (exit $ac_status); }; } &&
16453 { ac_try
='test -s conftest.$ac_objext'
16454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16455 (eval $ac_try) 2>&5
16457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16458 (exit $ac_status); }; }; then
16459 ac_header_compiler
=yes
16461 echo "$as_me: failed program was:" >&5
16462 sed 's/^/| /' conftest.
$ac_ext >&5
16464 ac_header_compiler
=no
16466 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16468 echo "${ECHO_T}$ac_header_compiler" >&6
16470 # Is the header present?
16471 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16472 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16473 cat >conftest.
$ac_ext <<_ACEOF
16476 cat confdefs.h
>>conftest.
$ac_ext
16477 cat >>conftest.
$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 #include <$ac_header>
16481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16482 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16484 grep -v '^ *+' conftest.er1
>conftest.err
16486 cat conftest.err
>&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } >/dev
/null
; then
16489 if test -s conftest.err
; then
16490 ac_cpp_err
=$ac_c_preproc_warn_flag
16491 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16498 if test -z "$ac_cpp_err"; then
16499 ac_header_preproc
=yes
16501 echo "$as_me: failed program was:" >&5
16502 sed 's/^/| /' conftest.
$ac_ext >&5
16504 ac_header_preproc
=no
16506 rm -f conftest.err conftest.
$ac_ext
16507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16508 echo "${ECHO_T}$ac_header_preproc" >&6
16510 # So? What about this header?
16511 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16513 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16514 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16515 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16516 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16517 ac_header_preproc
=yes
16520 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16521 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16522 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16523 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16524 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16525 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16526 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16527 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16529 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16530 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16531 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16534 ## ------------------------------------ ##
16535 ## Report this to wine-devel@winehq.org ##
16536 ## ------------------------------------ ##
16539 sed "s/^/$as_me: WARNING: /" >&2
16542 echo "$as_me:$LINENO: checking for $ac_header" >&5
16543 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16544 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16545 echo $ECHO_N "(cached) $ECHO_C" >&6
16547 eval "$as_ac_Header=\$ac_header_preproc"
16549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16550 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16553 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16554 cat >>confdefs.h
<<_ACEOF
16555 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16562 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16563 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16564 if test "${ac_cv_header_stat_broken+set}" = set; then
16565 echo $ECHO_N "(cached) $ECHO_C" >&6
16567 cat >conftest.
$ac_ext <<_ACEOF
16570 cat confdefs.h
>>conftest.
$ac_ext
16571 cat >>conftest.
$ac_ext <<_ACEOF
16572 /* end confdefs.h. */
16573 #include <sys/types.h>
16574 #include <sys/stat.h>
16576 #if defined(S_ISBLK) && defined(S_IFDIR)
16577 # if S_ISBLK (S_IFDIR)
16582 #if defined(S_ISBLK) && defined(S_IFCHR)
16583 # if S_ISBLK (S_IFCHR)
16588 #if defined(S_ISLNK) && defined(S_IFREG)
16589 # if S_ISLNK (S_IFREG)
16594 #if defined(S_ISSOCK) && defined(S_IFREG)
16595 # if S_ISSOCK (S_IFREG)
16601 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16602 $EGREP "You lose" >/dev
/null
2>&1; then
16603 ac_cv_header_stat_broken
=yes
16605 ac_cv_header_stat_broken
=no
16610 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16611 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16612 if test $ac_cv_header_stat_broken = yes; then
16614 cat >>confdefs.h
<<\_ACEOF
16615 #define STAT_MACROS_BROKEN 1
16624 for ac_header
in sys
/mount.h sys
/user.h
16626 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16627 echo "$as_me:$LINENO: checking for $ac_header" >&5
16628 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16629 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16630 echo $ECHO_N "(cached) $ECHO_C" >&6
16632 cat >conftest.
$ac_ext <<_ACEOF
16635 cat confdefs.h
>>conftest.
$ac_ext
16636 cat >>conftest.
$ac_ext <<_ACEOF
16637 /* end confdefs.h. */
16638 #include <sys/types.h>
16639 #if HAVE_SYS_PARAM_H
16640 # include <sys/param.h>
16643 #include <$ac_header>
16645 rm -f conftest.
$ac_objext
16646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16647 (eval $ac_compile) 2>conftest.er1
16649 grep -v '^ *+' conftest.er1
>conftest.err
16651 cat conftest.err
>&5
16652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16653 (exit $ac_status); } &&
16654 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16656 (eval $ac_try) 2>&5
16658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16659 (exit $ac_status); }; } &&
16660 { ac_try
='test -s conftest.$ac_objext'
16661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16662 (eval $ac_try) 2>&5
16664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16665 (exit $ac_status); }; }; then
16666 eval "$as_ac_Header=yes"
16668 echo "$as_me: failed program was:" >&5
16669 sed 's/^/| /' conftest.
$ac_ext >&5
16671 eval "$as_ac_Header=no"
16673 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16675 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16676 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16677 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16678 cat >>confdefs.h
<<_ACEOF
16679 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16692 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16694 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16695 echo "$as_me:$LINENO: checking for $ac_header" >&5
16696 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16698 echo $ECHO_N "(cached) $ECHO_C" >&6
16700 cat >conftest.
$ac_ext <<_ACEOF
16703 cat confdefs.h
>>conftest.
$ac_ext
16704 cat >>conftest.
$ac_ext <<_ACEOF
16705 /* end confdefs.h. */
16706 #include <sys/types.h>
16707 #if HAVE_SYS_SOCKET_H
16708 # include <sys/socket.h>
16711 #include <$ac_header>
16713 rm -f conftest.
$ac_objext
16714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16715 (eval $ac_compile) 2>conftest.er1
16717 grep -v '^ *+' conftest.er1
>conftest.err
16719 cat conftest.err
>&5
16720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16721 (exit $ac_status); } &&
16722 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16724 (eval $ac_try) 2>&5
16726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16727 (exit $ac_status); }; } &&
16728 { ac_try
='test -s conftest.$ac_objext'
16729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16730 (eval $ac_try) 2>&5
16732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16733 (exit $ac_status); }; }; then
16734 eval "$as_ac_Header=yes"
16736 echo "$as_me: failed program was:" >&5
16737 sed 's/^/| /' conftest.
$ac_ext >&5
16739 eval "$as_ac_Header=no"
16741 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16744 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16745 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16746 cat >>confdefs.h
<<_ACEOF
16747 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16756 for ac_header
in resolv.h
16758 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16759 echo "$as_me:$LINENO: checking for $ac_header" >&5
16760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16762 echo $ECHO_N "(cached) $ECHO_C" >&6
16764 cat >conftest.
$ac_ext <<_ACEOF
16767 cat confdefs.h
>>conftest.
$ac_ext
16768 cat >>conftest.
$ac_ext <<_ACEOF
16769 /* end confdefs.h. */
16770 #include <sys/types.h>
16771 #if HAVE_SYS_SOCKET_H
16772 # include <sys/socket.h>
16774 #if HAVE_NETINET_IN_H
16775 # include <netinet/in.h>
16777 #if HAVE_ARPA_NAMESER_H
16778 # include <arpa/nameser.h>
16781 #include <$ac_header>
16783 rm -f conftest.
$ac_objext
16784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16785 (eval $ac_compile) 2>conftest.er1
16787 grep -v '^ *+' conftest.er1
>conftest.err
16789 cat conftest.err
>&5
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); } &&
16792 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16794 (eval $ac_try) 2>&5
16796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16797 (exit $ac_status); }; } &&
16798 { ac_try
='test -s conftest.$ac_objext'
16799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16800 (eval $ac_try) 2>&5
16802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16803 (exit $ac_status); }; }; then
16804 eval "$as_ac_Header=yes"
16806 echo "$as_me: failed program was:" >&5
16807 sed 's/^/| /' conftest.
$ac_ext >&5
16809 eval "$as_ac_Header=no"
16811 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16815 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16816 cat >>confdefs.h
<<_ACEOF
16817 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16826 for ac_header
in netinet
/ip.h
16828 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16829 echo "$as_me:$LINENO: checking for $ac_header" >&5
16830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo $ECHO_N "(cached) $ECHO_C" >&6
16834 cat >conftest.
$ac_ext <<_ACEOF
16837 cat confdefs.h
>>conftest.
$ac_ext
16838 cat >>conftest.
$ac_ext <<_ACEOF
16839 /* end confdefs.h. */
16840 #include <sys/types.h>
16841 #if HAVE_SYS_SOCKET_H
16842 # include <sys/socket.h>
16844 #if HAVE_NETINET_IN_SYSTM_H
16845 # include <netinet/in_systm.h>
16848 #include <$ac_header>
16850 rm -f conftest.
$ac_objext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16852 (eval $ac_compile) 2>conftest.er1
16854 grep -v '^ *+' conftest.er1
>conftest.err
16856 cat conftest.err
>&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } &&
16859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16861 (eval $ac_try) 2>&5
16863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16864 (exit $ac_status); }; } &&
16865 { ac_try
='test -s conftest.$ac_objext'
16866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16867 (eval $ac_try) 2>&5
16869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16870 (exit $ac_status); }; }; then
16871 eval "$as_ac_Header=yes"
16873 echo "$as_me: failed program was:" >&5
16874 sed 's/^/| /' conftest.
$ac_ext >&5
16876 eval "$as_ac_Header=no"
16878 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16883 cat >>confdefs.h
<<_ACEOF
16884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16893 for ac_header
in ucontext.h
16895 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16896 echo "$as_me:$LINENO: checking for $ac_header" >&5
16897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16899 echo $ECHO_N "(cached) $ECHO_C" >&6
16901 cat >conftest.
$ac_ext <<_ACEOF
16904 cat confdefs.h
>>conftest.
$ac_ext
16905 cat >>conftest.
$ac_ext <<_ACEOF
16906 /* end confdefs.h. */
16907 #include <signal.h>
16909 #include <$ac_header>
16911 rm -f conftest.
$ac_objext
16912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16913 (eval $ac_compile) 2>conftest.er1
16915 grep -v '^ *+' conftest.er1
>conftest.err
16917 cat conftest.err
>&5
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); } &&
16920 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16922 (eval $ac_try) 2>&5
16924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16925 (exit $ac_status); }; } &&
16926 { ac_try
='test -s conftest.$ac_objext'
16927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16928 (eval $ac_try) 2>&5
16930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16931 (exit $ac_status); }; }; then
16932 eval "$as_ac_Header=yes"
16934 echo "$as_me: failed program was:" >&5
16935 sed 's/^/| /' conftest.
$ac_ext >&5
16937 eval "$as_ac_Header=no"
16939 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16942 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16944 cat >>confdefs.h
<<_ACEOF
16945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16954 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16955 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16956 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16957 echo $ECHO_N "(cached) $ECHO_C" >&6
16959 cat >conftest.
$ac_ext <<_ACEOF
16962 cat confdefs.h
>>conftest.
$ac_ext
16963 cat >>conftest.
$ac_ext <<_ACEOF
16964 /* end confdefs.h. */
16965 #include <sys/types.h>
16966 #ifdef HAVE_SYS_SOCKET_H
16967 # include <sys/socket.h>
16969 #include <netipx/ipx.h>
16973 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16978 rm -f conftest.
$ac_objext
16979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16980 (eval $ac_compile) 2>conftest.er1
16982 grep -v '^ *+' conftest.er1
>conftest.err
16984 cat conftest.err
>&5
16985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16986 (exit $ac_status); } &&
16987 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16989 (eval $ac_try) 2>&5
16991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16992 (exit $ac_status); }; } &&
16993 { ac_try
='test -s conftest.$ac_objext'
16994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16995 (eval $ac_try) 2>&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); }; }; then
16999 ac_cv_c_ipx_gnu
="yes"
17001 echo "$as_me: failed program was:" >&5
17002 sed 's/^/| /' conftest.
$ac_ext >&5
17004 ac_cv_c_ipx_gnu
="no"
17006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17009 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17010 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17011 if test "$ac_cv_c_ipx_gnu" = "yes"
17014 cat >>confdefs.h
<<\_ACEOF
17015 #define HAVE_IPX_GNU 1
17020 if test "$ac_cv_c_ipx_gnu" = "no"
17022 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17023 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17024 if test "${ac_cv_c_ipx_linux+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17027 cat >conftest.
$ac_ext <<_ACEOF
17030 cat confdefs.h
>>conftest.
$ac_ext
17031 cat >>conftest.
$ac_ext <<_ACEOF
17032 /* end confdefs.h. */
17033 #include <sys/types.h>
17034 #ifdef HAVE_SYS_SOCKET_H
17035 # include <sys/socket.h>
17037 #include <asm/types.h>
17038 #include <linux/ipx.h>
17042 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17047 rm -f conftest.
$ac_objext
17048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17049 (eval $ac_compile) 2>conftest.er1
17051 grep -v '^ *+' conftest.er1
>conftest.err
17053 cat conftest.err
>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); } &&
17056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try
='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17068 ac_cv_c_ipx_linux
="yes"
17070 echo "$as_me: failed program was:" >&5
17071 sed 's/^/| /' conftest.
$ac_ext >&5
17073 ac_cv_c_ipx_linux
="no"
17075 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17078 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17079 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17080 if test "$ac_cv_c_ipx_linux" = "yes"
17083 cat >>confdefs.h
<<\_ACEOF
17084 #define HAVE_IPX_LINUX 1
17091 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17092 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17093 if test "${ac_cv_c_const+set}" = set; then
17094 echo $ECHO_N "(cached) $ECHO_C" >&6
17096 cat >conftest.
$ac_ext <<_ACEOF
17099 cat confdefs.h
>>conftest.
$ac_ext
17100 cat >>conftest.
$ac_ext <<_ACEOF
17101 /* end confdefs.h. */
17106 /* FIXME: Include the comments suggested by Paul. */
17107 #ifndef __cplusplus
17108 /* Ultrix mips cc rejects this. */
17109 typedef int charset[2];
17111 /* SunOS 4.1.1 cc rejects this. */
17112 char const *const *ccp;
17114 /* NEC SVR4.0.2 mips cc rejects this. */
17115 struct point {int x, y;};
17116 static struct point const zero = {0,0};
17117 /* AIX XL C 1.02.0.0 rejects this.
17118 It does not let you subtract one const X* pointer from another in
17119 an arm of an if-expression whose if-part is not a constant
17121 const char *g = "string";
17122 ccp = &g + (g ? g-g : 0);
17123 /* HPUX 7.0 cc rejects these. */
17126 ccp = (char const *const *) p;
17127 { /* SCO 3.2v4 cc rejects this. */
17129 char const *s = 0 ? (char *) 0 : (char const *) 0;
17133 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17134 int x[] = {25, 17};
17135 const int *foo = &x[0];
17138 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17139 typedef const int *iptr;
17143 { /* AIX XL C 1.02.0.0 rejects this saying
17144 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17145 struct s { int j; const int *ap[3]; };
17146 struct s *b; b->j = 5;
17148 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17149 const int foo = 10;
17157 rm -f conftest.
$ac_objext
17158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17159 (eval $ac_compile) 2>conftest.er1
17161 grep -v '^ *+' conftest.er1
>conftest.err
17163 cat conftest.err
>&5
17164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17165 (exit $ac_status); } &&
17166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; } &&
17172 { ac_try
='test -s conftest.$ac_objext'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; }; then
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.
$ac_ext >&5
17185 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17187 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17188 echo "${ECHO_T}$ac_cv_c_const" >&6
17189 if test $ac_cv_c_const = no
; then
17191 cat >>confdefs.h
<<\_ACEOF
17197 echo "$as_me:$LINENO: checking for inline" >&5
17198 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17199 if test "${ac_cv_c_inline+set}" = set; then
17200 echo $ECHO_N "(cached) $ECHO_C" >&6
17203 for ac_kw
in inline __inline__ __inline
; do
17204 cat >conftest.
$ac_ext <<_ACEOF
17207 cat confdefs.h
>>conftest.
$ac_ext
17208 cat >>conftest.
$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 #ifndef __cplusplus
17212 static $ac_kw foo_t static_foo () {return 0; }
17213 $ac_kw foo_t foo () {return 0; }
17217 rm -f conftest.
$ac_objext
17218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17219 (eval $ac_compile) 2>conftest.er1
17221 grep -v '^ *+' conftest.er1
>conftest.err
17223 cat conftest.err
>&5
17224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17225 (exit $ac_status); } &&
17226 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17228 (eval $ac_try) 2>&5
17230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17231 (exit $ac_status); }; } &&
17232 { ac_try
='test -s conftest.$ac_objext'
17233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17234 (eval $ac_try) 2>&5
17236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17237 (exit $ac_status); }; }; then
17238 ac_cv_c_inline
=$ac_kw; break
17240 echo "$as_me: failed program was:" >&5
17241 sed 's/^/| /' conftest.
$ac_ext >&5
17244 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17248 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17249 echo "${ECHO_T}$ac_cv_c_inline" >&6
17252 case $ac_cv_c_inline in
17255 case $ac_cv_c_inline in
17257 *) ac_val
=$ac_cv_c_inline;;
17259 cat >>confdefs.h
<<_ACEOF
17260 #ifndef __cplusplus
17261 #define inline $ac_val
17267 echo "$as_me:$LINENO: checking for mode_t" >&5
17268 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17269 if test "${ac_cv_type_mode_t+set}" = set; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17272 cat >conftest.
$ac_ext <<_ACEOF
17275 cat confdefs.h
>>conftest.
$ac_ext
17276 cat >>conftest.
$ac_ext <<_ACEOF
17277 /* end confdefs.h. */
17278 $ac_includes_default
17284 if (sizeof (mode_t))
17290 rm -f conftest.
$ac_objext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17292 (eval $ac_compile) 2>conftest.er1
17294 grep -v '^ *+' conftest.er1
>conftest.err
17296 cat conftest.err
>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); } &&
17299 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17301 (eval $ac_try) 2>&5
17303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17304 (exit $ac_status); }; } &&
17305 { ac_try
='test -s conftest.$ac_objext'
17306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17307 (eval $ac_try) 2>&5
17309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17310 (exit $ac_status); }; }; then
17311 ac_cv_type_mode_t
=yes
17313 echo "$as_me: failed program was:" >&5
17314 sed 's/^/| /' conftest.
$ac_ext >&5
17316 ac_cv_type_mode_t
=no
17318 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17320 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17321 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17322 if test $ac_cv_type_mode_t = yes; then
17324 cat >>confdefs.h
<<_ACEOF
17325 #define HAVE_MODE_T 1
17330 echo "$as_me:$LINENO: checking for off_t" >&5
17331 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17332 if test "${ac_cv_type_off_t+set}" = set; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 cat >conftest.
$ac_ext <<_ACEOF
17338 cat confdefs.h
>>conftest.
$ac_ext
17339 cat >>conftest.
$ac_ext <<_ACEOF
17340 /* end confdefs.h. */
17341 $ac_includes_default
17347 if (sizeof (off_t))
17353 rm -f conftest.
$ac_objext
17354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17355 (eval $ac_compile) 2>conftest.er1
17357 grep -v '^ *+' conftest.er1
>conftest.err
17359 cat conftest.err
>&5
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); } &&
17362 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; } &&
17368 { ac_try
='test -s conftest.$ac_objext'
17369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17370 (eval $ac_try) 2>&5
17372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17373 (exit $ac_status); }; }; then
17374 ac_cv_type_off_t
=yes
17376 echo "$as_me: failed program was:" >&5
17377 sed 's/^/| /' conftest.
$ac_ext >&5
17379 ac_cv_type_off_t
=no
17381 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17383 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17384 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17385 if test $ac_cv_type_off_t = yes; then
17387 cat >>confdefs.h
<<_ACEOF
17388 #define HAVE_OFF_T 1
17393 echo "$as_me:$LINENO: checking for pid_t" >&5
17394 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17395 if test "${ac_cv_type_pid_t+set}" = set; then
17396 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 cat >conftest.
$ac_ext <<_ACEOF
17401 cat confdefs.h
>>conftest.
$ac_ext
17402 cat >>conftest.
$ac_ext <<_ACEOF
17403 /* end confdefs.h. */
17404 $ac_includes_default
17410 if (sizeof (pid_t))
17416 rm -f conftest.
$ac_objext
17417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17418 (eval $ac_compile) 2>conftest.er1
17420 grep -v '^ *+' conftest.er1
>conftest.err
17422 cat conftest.err
>&5
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); } &&
17425 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; } &&
17431 { ac_try
='test -s conftest.$ac_objext'
17432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17433 (eval $ac_try) 2>&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); }; }; then
17437 ac_cv_type_pid_t
=yes
17439 echo "$as_me: failed program was:" >&5
17440 sed 's/^/| /' conftest.
$ac_ext >&5
17442 ac_cv_type_pid_t
=no
17444 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17446 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17447 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17448 if test $ac_cv_type_pid_t = yes; then
17450 cat >>confdefs.h
<<_ACEOF
17451 #define HAVE_PID_T 1
17456 echo "$as_me:$LINENO: checking for size_t" >&5
17457 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17458 if test "${ac_cv_type_size_t+set}" = set; then
17459 echo $ECHO_N "(cached) $ECHO_C" >&6
17461 cat >conftest.
$ac_ext <<_ACEOF
17464 cat confdefs.h
>>conftest.
$ac_ext
17465 cat >>conftest.
$ac_ext <<_ACEOF
17466 /* end confdefs.h. */
17467 $ac_includes_default
17473 if (sizeof (size_t))
17479 rm -f conftest.
$ac_objext
17480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17481 (eval $ac_compile) 2>conftest.er1
17483 grep -v '^ *+' conftest.er1
>conftest.err
17485 cat conftest.err
>&5
17486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17487 (exit $ac_status); } &&
17488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17490 (eval $ac_try) 2>&5
17492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17493 (exit $ac_status); }; } &&
17494 { ac_try
='test -s conftest.$ac_objext'
17495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17496 (eval $ac_try) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; }; then
17500 ac_cv_type_size_t
=yes
17502 echo "$as_me: failed program was:" >&5
17503 sed 's/^/| /' conftest.
$ac_ext >&5
17505 ac_cv_type_size_t
=no
17507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17509 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17510 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17511 if test $ac_cv_type_size_t = yes; then
17513 cat >>confdefs.h
<<_ACEOF
17514 #define HAVE_SIZE_T 1
17519 echo "$as_me:$LINENO: checking for ssize_t" >&5
17520 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17521 if test "${ac_cv_type_ssize_t+set}" = set; then
17522 echo $ECHO_N "(cached) $ECHO_C" >&6
17524 cat >conftest.
$ac_ext <<_ACEOF
17527 cat confdefs.h
>>conftest.
$ac_ext
17528 cat >>conftest.
$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17530 $ac_includes_default
17536 if (sizeof (ssize_t))
17542 rm -f conftest.
$ac_objext
17543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17544 (eval $ac_compile) 2>conftest.er1
17546 grep -v '^ *+' conftest.er1
>conftest.err
17548 cat conftest.err
>&5
17549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17550 (exit $ac_status); } &&
17551 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; } &&
17557 { ac_try
='test -s conftest.$ac_objext'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17563 ac_cv_type_ssize_t
=yes
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.
$ac_ext >&5
17568 ac_cv_type_ssize_t
=no
17570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17572 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17573 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17574 if test $ac_cv_type_ssize_t = yes; then
17576 cat >>confdefs.h
<<_ACEOF
17577 #define HAVE_SSIZE_T 1
17582 echo "$as_me:$LINENO: checking for long long" >&5
17583 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17584 if test "${ac_cv_type_long_long+set}" = set; then
17585 echo $ECHO_N "(cached) $ECHO_C" >&6
17587 cat >conftest.
$ac_ext <<_ACEOF
17590 cat confdefs.h
>>conftest.
$ac_ext
17591 cat >>conftest.
$ac_ext <<_ACEOF
17592 /* end confdefs.h. */
17593 $ac_includes_default
17597 if ((long long *) 0)
17599 if (sizeof (long long))
17605 rm -f conftest.
$ac_objext
17606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17607 (eval $ac_compile) 2>conftest.er1
17609 grep -v '^ *+' conftest.er1
>conftest.err
17611 cat conftest.err
>&5
17612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17613 (exit $ac_status); } &&
17614 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17616 (eval $ac_try) 2>&5
17618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17619 (exit $ac_status); }; } &&
17620 { ac_try
='test -s conftest.$ac_objext'
17621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17622 (eval $ac_try) 2>&5
17624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17625 (exit $ac_status); }; }; then
17626 ac_cv_type_long_long
=yes
17628 echo "$as_me: failed program was:" >&5
17629 sed 's/^/| /' conftest.
$ac_ext >&5
17631 ac_cv_type_long_long
=no
17633 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17635 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17636 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17637 if test $ac_cv_type_long_long = yes; then
17639 cat >>confdefs.h
<<_ACEOF
17640 #define HAVE_LONG_LONG 1
17645 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17646 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17647 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17648 echo $ECHO_N "(cached) $ECHO_C" >&6
17650 cat >conftest.
$ac_ext <<_ACEOF
17653 cat confdefs.h
>>conftest.
$ac_ext
17654 cat >>conftest.
$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17656 $ac_includes_default
17660 if ((fsblkcnt_t *) 0)
17662 if (sizeof (fsblkcnt_t))
17668 rm -f conftest.
$ac_objext
17669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17670 (eval $ac_compile) 2>conftest.er1
17672 grep -v '^ *+' conftest.er1
>conftest.err
17674 cat conftest.err
>&5
17675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17676 (exit $ac_status); } &&
17677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17679 (eval $ac_try) 2>&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); }; } &&
17683 { ac_try
='test -s conftest.$ac_objext'
17684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17685 (eval $ac_try) 2>&5
17687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17688 (exit $ac_status); }; }; then
17689 ac_cv_type_fsblkcnt_t
=yes
17691 echo "$as_me: failed program was:" >&5
17692 sed 's/^/| /' conftest.
$ac_ext >&5
17694 ac_cv_type_fsblkcnt_t
=no
17696 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17698 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17699 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17700 if test $ac_cv_type_fsblkcnt_t = yes; then
17702 cat >>confdefs.h
<<_ACEOF
17703 #define HAVE_FSBLKCNT_T 1
17708 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17709 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17710 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17711 echo $ECHO_N "(cached) $ECHO_C" >&6
17713 cat >conftest.
$ac_ext <<_ACEOF
17716 cat confdefs.h
>>conftest.
$ac_ext
17717 cat >>conftest.
$ac_ext <<_ACEOF
17718 /* end confdefs.h. */
17719 $ac_includes_default
17723 if ((fsfilcnt_t *) 0)
17725 if (sizeof (fsfilcnt_t))
17731 rm -f conftest.
$ac_objext
17732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17733 (eval $ac_compile) 2>conftest.er1
17735 grep -v '^ *+' conftest.er1
>conftest.err
17737 cat conftest.err
>&5
17738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17739 (exit $ac_status); } &&
17740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17742 (eval $ac_try) 2>&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); }; } &&
17746 { ac_try
='test -s conftest.$ac_objext'
17747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17748 (eval $ac_try) 2>&5
17750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17751 (exit $ac_status); }; }; then
17752 ac_cv_type_fsfilcnt_t
=yes
17754 echo "$as_me: failed program was:" >&5
17755 sed 's/^/| /' conftest.
$ac_ext >&5
17757 ac_cv_type_fsfilcnt_t
=no
17759 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17761 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17762 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17763 if test $ac_cv_type_fsfilcnt_t = yes; then
17765 cat >>confdefs.h
<<_ACEOF
17766 #define HAVE_FSFILCNT_T 1
17773 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17774 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17775 if test "${wine_cv_linux_input_h+set}" = set; then
17776 echo $ECHO_N "(cached) $ECHO_C" >&6
17778 cat >conftest.
$ac_ext <<_ACEOF
17781 cat confdefs.h
>>conftest.
$ac_ext
17782 cat >>conftest.
$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17785 #include <linux/input.h>
17791 int foo = EVIOCGBIT(EV_ABS,42);
17792 int bar = BTN_PINKIE;
17799 rm -f conftest.
$ac_objext
17800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17801 (eval $ac_compile) 2>conftest.er1
17803 grep -v '^ *+' conftest.er1
>conftest.err
17805 cat conftest.err
>&5
17806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17807 (exit $ac_status); } &&
17808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17810 (eval $ac_try) 2>&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); }; } &&
17814 { ac_try
='test -s conftest.$ac_objext'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; }; then
17820 wine_cv_linux_input_h
=yes
17822 echo "$as_me: failed program was:" >&5
17823 sed 's/^/| /' conftest.
$ac_ext >&5
17825 wine_cv_linux_input_h
=no
17827 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17830 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17831 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17832 if test "$wine_cv_linux_input_h" = "yes"
17835 cat >>confdefs.h
<<\_ACEOF
17836 #define HAVE_CORRECT_LINUXINPUT_H 1
17842 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17843 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17844 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17845 echo $ECHO_N "(cached) $ECHO_C" >&6
17847 cat >conftest.
$ac_ext <<_ACEOF
17850 cat confdefs.h
>>conftest.
$ac_ext
17851 cat >>conftest.
$ac_ext <<_ACEOF
17852 /* end confdefs.h. */
17862 struct hostent *result;
17869 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17870 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17876 rm -f conftest.
$ac_objext conftest
$ac_exeext
17877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17878 (eval $ac_link) 2>conftest.er1
17880 grep -v '^ *+' conftest.er1
>conftest.err
17882 cat conftest.err
>&5
17883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17884 (exit $ac_status); } &&
17885 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17887 (eval $ac_try) 2>&5
17889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17890 (exit $ac_status); }; } &&
17891 { ac_try
='test -s conftest$ac_exeext'
17892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17893 (eval $ac_try) 2>&5
17895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17896 (exit $ac_status); }; }; then
17897 wine_cv_linux_gethostbyname_r_6
=yes
17899 echo "$as_me: failed program was:" >&5
17900 sed 's/^/| /' conftest.
$ac_ext >&5
17902 wine_cv_linux_gethostbyname_r_6
=no
17905 rm -f conftest.err conftest.
$ac_objext \
17906 conftest
$ac_exeext conftest.
$ac_ext
17909 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17910 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17911 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17914 cat >>confdefs.h
<<\_ACEOF
17915 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17920 if test "$ac_cv_header_linux_joystick_h" = "yes"
17922 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17923 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17924 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17925 echo $ECHO_N "(cached) $ECHO_C" >&6
17927 cat >conftest.
$ac_ext <<_ACEOF
17930 cat confdefs.h
>>conftest.
$ac_ext
17931 cat >>conftest.
$ac_ext <<_ACEOF
17932 /* end confdefs.h. */
17934 #include <sys/ioctl.h>
17935 #include <linux/joystick.h>
17937 struct js_event blub;
17938 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17939 #error "no 2.2 header"
17950 rm -f conftest.
$ac_objext
17951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17952 (eval $ac_compile) 2>conftest.er1
17954 grep -v '^ *+' conftest.er1
>conftest.err
17956 cat conftest.err
>&5
17957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17958 (exit $ac_status); } &&
17959 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17961 (eval $ac_try) 2>&5
17963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17964 (exit $ac_status); }; } &&
17965 { ac_try
='test -s conftest.$ac_objext'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; }; then
17971 wine_cv_linux_joystick_22_api
=yes
17973 echo "$as_me: failed program was:" >&5
17974 sed 's/^/| /' conftest.
$ac_ext >&5
17976 wine_cv_linux_joystick_22_api
=no
17978 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17981 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17982 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17983 if test "$wine_cv_linux_joystick_22_api" = "yes"
17986 cat >>confdefs.h
<<\_ACEOF
17987 #define HAVE_LINUX_22_JOYSTICK_API 1
17994 if test "$ac_cv_header_sys_vfs_h" = "yes"
17996 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17997 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17998 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17999 echo $ECHO_N "(cached) $ECHO_C" >&6
18001 cat >conftest.
$ac_ext <<_ACEOF
18004 cat confdefs.h
>>conftest.
$ac_ext
18005 cat >>conftest.
$ac_ext <<_ACEOF
18006 /* end confdefs.h. */
18008 #include <sys/types.h>
18009 #ifdef HAVE_SYS_PARAM_H
18010 # include <sys/param.h>
18012 #include <sys/vfs.h>
18018 struct statfs stfs;
18020 memset(&stfs,0,sizeof(stfs));
18026 rm -f conftest.
$ac_objext
18027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18028 (eval $ac_compile) 2>conftest.er1
18030 grep -v '^ *+' conftest.er1
>conftest.err
18032 cat conftest.err
>&5
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); } &&
18035 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18037 (eval $ac_try) 2>&5
18039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18040 (exit $ac_status); }; } &&
18041 { ac_try
='test -s conftest.$ac_objext'
18042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18043 (eval $ac_try) 2>&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); }; }; then
18047 wine_cv_sys_vfs_has_statfs
=yes
18049 echo "$as_me: failed program was:" >&5
18050 sed 's/^/| /' conftest.
$ac_ext >&5
18052 wine_cv_sys_vfs_has_statfs
=no
18055 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18058 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18059 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18060 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18063 cat >>confdefs.h
<<\_ACEOF
18064 #define STATFS_DEFINED_BY_SYS_VFS 1
18070 if test "$ac_cv_header_sys_statfs_h" = "yes"
18072 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18073 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18074 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18075 echo $ECHO_N "(cached) $ECHO_C" >&6
18077 cat >conftest.
$ac_ext <<_ACEOF
18080 cat confdefs.h
>>conftest.
$ac_ext
18081 cat >>conftest.
$ac_ext <<_ACEOF
18082 /* end confdefs.h. */
18084 #include <sys/types.h>
18085 #ifdef HAVE_SYS_PARAM_H
18086 # include <sys/param.h>
18088 #include <sys/statfs.h>
18094 struct statfs stfs;
18100 rm -f conftest.
$ac_objext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18102 (eval $ac_compile) 2>conftest.er1
18104 grep -v '^ *+' conftest.er1
>conftest.err
18106 cat conftest.err
>&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } &&
18109 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try
='test -s conftest.$ac_objext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 wine_cv_sys_statfs_has_statfs
=yes
18123 echo "$as_me: failed program was:" >&5
18124 sed 's/^/| /' conftest.
$ac_ext >&5
18126 wine_cv_sys_statfs_has_statfs
=no
18129 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18132 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18133 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18134 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18137 cat >>confdefs.h
<<\_ACEOF
18138 #define STATFS_DEFINED_BY_SYS_STATFS 1
18144 if test "$ac_cv_header_sys_mount_h" = "yes"
18146 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18147 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18148 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18149 echo $ECHO_N "(cached) $ECHO_C" >&6
18151 cat >conftest.
$ac_ext <<_ACEOF
18154 cat confdefs.h
>>conftest.
$ac_ext
18155 cat >>conftest.
$ac_ext <<_ACEOF
18156 /* end confdefs.h. */
18158 #include <sys/types.h>
18159 #ifdef HAVE_SYS_PARAM_H
18160 # include <sys/param.h>
18162 #include <sys/mount.h>
18168 struct statfs stfs;
18174 rm -f conftest.
$ac_objext
18175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18176 (eval $ac_compile) 2>conftest.er1
18178 grep -v '^ *+' conftest.er1
>conftest.err
18180 cat conftest.err
>&5
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); } &&
18183 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; } &&
18189 { ac_try
='test -s conftest.$ac_objext'
18190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18191 (eval $ac_try) 2>&5
18193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18194 (exit $ac_status); }; }; then
18195 wine_cv_sys_mount_has_statfs
=yes
18197 echo "$as_me: failed program was:" >&5
18198 sed 's/^/| /' conftest.
$ac_ext >&5
18200 wine_cv_sys_mount_has_statfs
=no
18203 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18206 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18207 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18208 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18211 cat >>confdefs.h
<<\_ACEOF
18212 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18219 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18220 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18221 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18222 echo $ECHO_N "(cached) $ECHO_C" >&6
18224 cat >conftest.
$ac_ext <<_ACEOF
18227 cat confdefs.h
>>conftest.
$ac_ext
18228 cat >>conftest.
$ac_ext <<_ACEOF
18229 /* end confdefs.h. */
18230 #include <sys/types.h>
18231 #ifdef HAVE_SYS_PARAM_H
18232 # include <sys/param.h>
18234 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18235 # include <sys/mount.h>
18237 # ifdef STATFS_DEFINED_BY_SYS_VFS
18238 # include <sys/vfs.h>
18240 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18241 # include <sys/statfs.h>
18249 static struct statfs ac_aggr;
18250 if (ac_aggr.f_bfree)
18256 rm -f conftest.
$ac_objext
18257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18258 (eval $ac_compile) 2>conftest.er1
18260 grep -v '^ *+' conftest.er1
>conftest.err
18262 cat conftest.err
>&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } &&
18265 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18267 (eval $ac_try) 2>&5
18269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18270 (exit $ac_status); }; } &&
18271 { ac_try
='test -s conftest.$ac_objext'
18272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18273 (eval $ac_try) 2>&5
18275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18276 (exit $ac_status); }; }; then
18277 ac_cv_member_struct_statfs_f_bfree
=yes
18279 echo "$as_me: failed program was:" >&5
18280 sed 's/^/| /' conftest.
$ac_ext >&5
18282 cat >conftest.
$ac_ext <<_ACEOF
18285 cat confdefs.h
>>conftest.
$ac_ext
18286 cat >>conftest.
$ac_ext <<_ACEOF
18287 /* end confdefs.h. */
18288 #include <sys/types.h>
18289 #ifdef HAVE_SYS_PARAM_H
18290 # include <sys/param.h>
18292 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18293 # include <sys/mount.h>
18295 # ifdef STATFS_DEFINED_BY_SYS_VFS
18296 # include <sys/vfs.h>
18298 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18299 # include <sys/statfs.h>
18307 static struct statfs ac_aggr;
18308 if (sizeof ac_aggr.f_bfree)
18314 rm -f conftest.
$ac_objext
18315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18316 (eval $ac_compile) 2>conftest.er1
18318 grep -v '^ *+' conftest.er1
>conftest.err
18320 cat conftest.err
>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); } &&
18323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18325 (eval $ac_try) 2>&5
18327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18328 (exit $ac_status); }; } &&
18329 { ac_try
='test -s conftest.$ac_objext'
18330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18331 (eval $ac_try) 2>&5
18333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18334 (exit $ac_status); }; }; then
18335 ac_cv_member_struct_statfs_f_bfree
=yes
18337 echo "$as_me: failed program was:" >&5
18338 sed 's/^/| /' conftest.
$ac_ext >&5
18340 ac_cv_member_struct_statfs_f_bfree
=no
18342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18346 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18347 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18348 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18350 cat >>confdefs.h
<<_ACEOF
18351 #define HAVE_STRUCT_STATFS_F_BFREE 1
18356 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18357 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18358 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18359 echo $ECHO_N "(cached) $ECHO_C" >&6
18361 cat >conftest.
$ac_ext <<_ACEOF
18364 cat confdefs.h
>>conftest.
$ac_ext
18365 cat >>conftest.
$ac_ext <<_ACEOF
18366 /* end confdefs.h. */
18367 #include <sys/types.h>
18368 #ifdef HAVE_SYS_PARAM_H
18369 # include <sys/param.h>
18371 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18372 # include <sys/mount.h>
18374 # ifdef STATFS_DEFINED_BY_SYS_VFS
18375 # include <sys/vfs.h>
18377 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18378 # include <sys/statfs.h>
18386 static struct statfs ac_aggr;
18387 if (ac_aggr.f_bavail)
18393 rm -f conftest.
$ac_objext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18395 (eval $ac_compile) 2>conftest.er1
18397 grep -v '^ *+' conftest.er1
>conftest.err
18399 cat conftest.err
>&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } &&
18402 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18404 (eval $ac_try) 2>&5
18406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18407 (exit $ac_status); }; } &&
18408 { ac_try
='test -s conftest.$ac_objext'
18409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18410 (eval $ac_try) 2>&5
18412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18413 (exit $ac_status); }; }; then
18414 ac_cv_member_struct_statfs_f_bavail
=yes
18416 echo "$as_me: failed program was:" >&5
18417 sed 's/^/| /' conftest.
$ac_ext >&5
18419 cat >conftest.
$ac_ext <<_ACEOF
18422 cat confdefs.h
>>conftest.
$ac_ext
18423 cat >>conftest.
$ac_ext <<_ACEOF
18424 /* end confdefs.h. */
18425 #include <sys/types.h>
18426 #ifdef HAVE_SYS_PARAM_H
18427 # include <sys/param.h>
18429 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18430 # include <sys/mount.h>
18432 # ifdef STATFS_DEFINED_BY_SYS_VFS
18433 # include <sys/vfs.h>
18435 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18436 # include <sys/statfs.h>
18444 static struct statfs ac_aggr;
18445 if (sizeof ac_aggr.f_bavail)
18451 rm -f conftest.
$ac_objext
18452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18453 (eval $ac_compile) 2>conftest.er1
18455 grep -v '^ *+' conftest.er1
>conftest.err
18457 cat conftest.err
>&5
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); } &&
18460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; } &&
18466 { ac_try
='test -s conftest.$ac_objext'
18467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18468 (eval $ac_try) 2>&5
18470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18471 (exit $ac_status); }; }; then
18472 ac_cv_member_struct_statfs_f_bavail
=yes
18474 echo "$as_me: failed program was:" >&5
18475 sed 's/^/| /' conftest.
$ac_ext >&5
18477 ac_cv_member_struct_statfs_f_bavail
=no
18479 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18481 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18483 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18484 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18485 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18487 cat >>confdefs.h
<<_ACEOF
18488 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18493 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18494 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18495 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18496 echo $ECHO_N "(cached) $ECHO_C" >&6
18498 cat >conftest.
$ac_ext <<_ACEOF
18501 cat confdefs.h
>>conftest.
$ac_ext
18502 cat >>conftest.
$ac_ext <<_ACEOF
18503 /* end confdefs.h. */
18504 #include <sys/types.h>
18505 #ifdef HAVE_SYS_PARAM_H
18506 # include <sys/param.h>
18508 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18509 # include <sys/mount.h>
18511 # ifdef STATFS_DEFINED_BY_SYS_VFS
18512 # include <sys/vfs.h>
18514 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18515 # include <sys/statfs.h>
18523 static struct statfs ac_aggr;
18524 if (ac_aggr.f_frsize)
18530 rm -f conftest.
$ac_objext
18531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18532 (eval $ac_compile) 2>conftest.er1
18534 grep -v '^ *+' conftest.er1
>conftest.err
18536 cat conftest.err
>&5
18537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18538 (exit $ac_status); } &&
18539 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18541 (eval $ac_try) 2>&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); }; } &&
18545 { ac_try
='test -s conftest.$ac_objext'
18546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18547 (eval $ac_try) 2>&5
18549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18550 (exit $ac_status); }; }; then
18551 ac_cv_member_struct_statfs_f_frsize
=yes
18553 echo "$as_me: failed program was:" >&5
18554 sed 's/^/| /' conftest.
$ac_ext >&5
18556 cat >conftest.
$ac_ext <<_ACEOF
18559 cat confdefs.h
>>conftest.
$ac_ext
18560 cat >>conftest.
$ac_ext <<_ACEOF
18561 /* end confdefs.h. */
18562 #include <sys/types.h>
18563 #ifdef HAVE_SYS_PARAM_H
18564 # include <sys/param.h>
18566 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18567 # include <sys/mount.h>
18569 # ifdef STATFS_DEFINED_BY_SYS_VFS
18570 # include <sys/vfs.h>
18572 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18573 # include <sys/statfs.h>
18581 static struct statfs ac_aggr;
18582 if (sizeof ac_aggr.f_frsize)
18588 rm -f conftest.
$ac_objext
18589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18590 (eval $ac_compile) 2>conftest.er1
18592 grep -v '^ *+' conftest.er1
>conftest.err
18594 cat conftest.err
>&5
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); } &&
18597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; } &&
18603 { ac_try
='test -s conftest.$ac_objext'
18604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18605 (eval $ac_try) 2>&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); }; }; then
18609 ac_cv_member_struct_statfs_f_frsize
=yes
18611 echo "$as_me: failed program was:" >&5
18612 sed 's/^/| /' conftest.
$ac_ext >&5
18614 ac_cv_member_struct_statfs_f_frsize
=no
18616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18620 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18621 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18622 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18624 cat >>confdefs.h
<<_ACEOF
18625 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18630 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18631 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18632 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18633 echo $ECHO_N "(cached) $ECHO_C" >&6
18635 cat >conftest.
$ac_ext <<_ACEOF
18638 cat confdefs.h
>>conftest.
$ac_ext
18639 cat >>conftest.
$ac_ext <<_ACEOF
18640 /* end confdefs.h. */
18641 #include <sys/types.h>
18642 #ifdef HAVE_SYS_PARAM_H
18643 # include <sys/param.h>
18645 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18646 # include <sys/mount.h>
18648 # ifdef STATFS_DEFINED_BY_SYS_VFS
18649 # include <sys/vfs.h>
18651 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18652 # include <sys/statfs.h>
18660 static struct statfs ac_aggr;
18661 if (ac_aggr.f_ffree)
18667 rm -f conftest.
$ac_objext
18668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18669 (eval $ac_compile) 2>conftest.er1
18671 grep -v '^ *+' conftest.er1
>conftest.err
18673 cat conftest.err
>&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } &&
18676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18678 (eval $ac_try) 2>&5
18680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18681 (exit $ac_status); }; } &&
18682 { ac_try
='test -s conftest.$ac_objext'
18683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18684 (eval $ac_try) 2>&5
18686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18687 (exit $ac_status); }; }; then
18688 ac_cv_member_struct_statfs_f_ffree
=yes
18690 echo "$as_me: failed program was:" >&5
18691 sed 's/^/| /' conftest.
$ac_ext >&5
18693 cat >conftest.
$ac_ext <<_ACEOF
18696 cat confdefs.h
>>conftest.
$ac_ext
18697 cat >>conftest.
$ac_ext <<_ACEOF
18698 /* end confdefs.h. */
18699 #include <sys/types.h>
18700 #ifdef HAVE_SYS_PARAM_H
18701 # include <sys/param.h>
18703 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18704 # include <sys/mount.h>
18706 # ifdef STATFS_DEFINED_BY_SYS_VFS
18707 # include <sys/vfs.h>
18709 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18710 # include <sys/statfs.h>
18718 static struct statfs ac_aggr;
18719 if (sizeof ac_aggr.f_ffree)
18725 rm -f conftest.
$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18729 grep -v '^ *+' conftest.er1
>conftest.err
18731 cat conftest.err
>&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try
='test -s conftest.$ac_objext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 ac_cv_member_struct_statfs_f_ffree
=yes
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.
$ac_ext >&5
18751 ac_cv_member_struct_statfs_f_ffree
=no
18753 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18755 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18757 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18758 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18759 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18761 cat >>confdefs.h
<<_ACEOF
18762 #define HAVE_STRUCT_STATFS_F_FFREE 1
18767 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18768 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18769 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 cat >conftest.
$ac_ext <<_ACEOF
18775 cat confdefs.h
>>conftest.
$ac_ext
18776 cat >>conftest.
$ac_ext <<_ACEOF
18777 /* end confdefs.h. */
18778 #include <sys/types.h>
18779 #ifdef HAVE_SYS_PARAM_H
18780 # include <sys/param.h>
18782 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18783 # include <sys/mount.h>
18785 # ifdef STATFS_DEFINED_BY_SYS_VFS
18786 # include <sys/vfs.h>
18788 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18789 # include <sys/statfs.h>
18797 static struct statfs ac_aggr;
18798 if (ac_aggr.f_favail)
18804 rm -f conftest.
$ac_objext
18805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18806 (eval $ac_compile) 2>conftest.er1
18808 grep -v '^ *+' conftest.er1
>conftest.err
18810 cat conftest.err
>&5
18811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18812 (exit $ac_status); } &&
18813 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18815 (eval $ac_try) 2>&5
18817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18818 (exit $ac_status); }; } &&
18819 { ac_try
='test -s conftest.$ac_objext'
18820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18821 (eval $ac_try) 2>&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_cv_member_struct_statfs_f_favail
=yes
18827 echo "$as_me: failed program was:" >&5
18828 sed 's/^/| /' conftest.
$ac_ext >&5
18830 cat >conftest.
$ac_ext <<_ACEOF
18833 cat confdefs.h
>>conftest.
$ac_ext
18834 cat >>conftest.
$ac_ext <<_ACEOF
18835 /* end confdefs.h. */
18836 #include <sys/types.h>
18837 #ifdef HAVE_SYS_PARAM_H
18838 # include <sys/param.h>
18840 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18841 # include <sys/mount.h>
18843 # ifdef STATFS_DEFINED_BY_SYS_VFS
18844 # include <sys/vfs.h>
18846 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18847 # include <sys/statfs.h>
18855 static struct statfs ac_aggr;
18856 if (sizeof ac_aggr.f_favail)
18862 rm -f conftest.
$ac_objext
18863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18864 (eval $ac_compile) 2>conftest.er1
18866 grep -v '^ *+' conftest.er1
>conftest.err
18868 cat conftest.err
>&5
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); } &&
18871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; } &&
18877 { ac_try
='test -s conftest.$ac_objext'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; }; then
18883 ac_cv_member_struct_statfs_f_favail
=yes
18885 echo "$as_me: failed program was:" >&5
18886 sed 's/^/| /' conftest.
$ac_ext >&5
18888 ac_cv_member_struct_statfs_f_favail
=no
18890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18894 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18895 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18896 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18898 cat >>confdefs.h
<<_ACEOF
18899 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18904 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18905 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18906 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18909 cat >conftest.
$ac_ext <<_ACEOF
18912 cat confdefs.h
>>conftest.
$ac_ext
18913 cat >>conftest.
$ac_ext <<_ACEOF
18914 /* end confdefs.h. */
18915 #include <sys/types.h>
18916 #ifdef HAVE_SYS_PARAM_H
18917 # include <sys/param.h>
18919 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18920 # include <sys/mount.h>
18922 # ifdef STATFS_DEFINED_BY_SYS_VFS
18923 # include <sys/vfs.h>
18925 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18926 # include <sys/statfs.h>
18934 static struct statfs ac_aggr;
18935 if (ac_aggr.f_namelen)
18941 rm -f conftest.
$ac_objext
18942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18943 (eval $ac_compile) 2>conftest.er1
18945 grep -v '^ *+' conftest.er1
>conftest.err
18947 cat conftest.err
>&5
18948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18949 (exit $ac_status); } &&
18950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18952 (eval $ac_try) 2>&5
18954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18955 (exit $ac_status); }; } &&
18956 { ac_try
='test -s conftest.$ac_objext'
18957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18958 (eval $ac_try) 2>&5
18960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18961 (exit $ac_status); }; }; then
18962 ac_cv_member_struct_statfs_f_namelen
=yes
18964 echo "$as_me: failed program was:" >&5
18965 sed 's/^/| /' conftest.
$ac_ext >&5
18967 cat >conftest.
$ac_ext <<_ACEOF
18970 cat confdefs.h
>>conftest.
$ac_ext
18971 cat >>conftest.
$ac_ext <<_ACEOF
18972 /* end confdefs.h. */
18973 #include <sys/types.h>
18974 #ifdef HAVE_SYS_PARAM_H
18975 # include <sys/param.h>
18977 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18978 # include <sys/mount.h>
18980 # ifdef STATFS_DEFINED_BY_SYS_VFS
18981 # include <sys/vfs.h>
18983 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18984 # include <sys/statfs.h>
18992 static struct statfs ac_aggr;
18993 if (sizeof ac_aggr.f_namelen)
18999 rm -f conftest.
$ac_objext
19000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19001 (eval $ac_compile) 2>conftest.er1
19003 grep -v '^ *+' conftest.er1
>conftest.err
19005 cat conftest.err
>&5
19006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007 (exit $ac_status); } &&
19008 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010 (eval $ac_try) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; } &&
19014 { ac_try
='test -s conftest.$ac_objext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19020 ac_cv_member_struct_statfs_f_namelen
=yes
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.
$ac_ext >&5
19025 ac_cv_member_struct_statfs_f_namelen
=no
19027 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19029 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19031 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19032 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19033 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19035 cat >>confdefs.h
<<_ACEOF
19036 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19043 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19044 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19045 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19046 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 cat >conftest.
$ac_ext <<_ACEOF
19051 cat confdefs.h
>>conftest.
$ac_ext
19052 cat >>conftest.
$ac_ext <<_ACEOF
19053 /* end confdefs.h. */
19054 #ifdef HAVE_SYS_STATVFS_H
19055 #include <sys/statvfs.h>
19061 static struct statvfs ac_aggr;
19062 if (ac_aggr.f_blocks)
19068 rm -f conftest.
$ac_objext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19070 (eval $ac_compile) 2>conftest.er1
19072 grep -v '^ *+' conftest.er1
>conftest.err
19074 cat conftest.err
>&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } &&
19077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19079 (eval $ac_try) 2>&5
19081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19082 (exit $ac_status); }; } &&
19083 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
19089 ac_cv_member_struct_statvfs_f_blocks
=yes
19091 echo "$as_me: failed program was:" >&5
19092 sed 's/^/| /' conftest.
$ac_ext >&5
19094 cat >conftest.
$ac_ext <<_ACEOF
19097 cat confdefs.h
>>conftest.
$ac_ext
19098 cat >>conftest.
$ac_ext <<_ACEOF
19099 /* end confdefs.h. */
19100 #ifdef HAVE_SYS_STATVFS_H
19101 #include <sys/statvfs.h>
19107 static struct statvfs ac_aggr;
19108 if (sizeof ac_aggr.f_blocks)
19114 rm -f conftest.
$ac_objext
19115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19116 (eval $ac_compile) 2>conftest.er1
19118 grep -v '^ *+' conftest.er1
>conftest.err
19120 cat conftest.err
>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } &&
19123 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; } &&
19129 { ac_try
='test -s conftest.$ac_objext'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; }; then
19135 ac_cv_member_struct_statvfs_f_blocks
=yes
19137 echo "$as_me: failed program was:" >&5
19138 sed 's/^/| /' conftest.
$ac_ext >&5
19140 ac_cv_member_struct_statvfs_f_blocks
=no
19142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19144 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19146 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19147 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19148 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19150 cat >>confdefs.h
<<_ACEOF
19151 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19158 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19159 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19160 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19161 echo $ECHO_N "(cached) $ECHO_C" >&6
19163 cat >conftest.
$ac_ext <<_ACEOF
19166 cat confdefs.h
>>conftest.
$ac_ext
19167 cat >>conftest.
$ac_ext <<_ACEOF
19168 /* end confdefs.h. */
19169 #include <sys/types.h>
19170 #ifdef HAVE_SYS_SOCKET_H
19171 # include <sys/socket.h>
19173 #ifdef HAVE_SYS_UN_H
19174 # include <sys/un.h>
19180 static struct msghdr ac_aggr;
19181 if (ac_aggr.msg_accrights)
19187 rm -f conftest.
$ac_objext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19189 (eval $ac_compile) 2>conftest.er1
19191 grep -v '^ *+' conftest.er1
>conftest.err
19193 cat conftest.err
>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); } &&
19196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19198 (eval $ac_try) 2>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); }; } &&
19202 { ac_try
='test -s conftest.$ac_objext'
19203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19204 (eval $ac_try) 2>&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); }; }; then
19208 ac_cv_member_struct_msghdr_msg_accrights
=yes
19210 echo "$as_me: failed program was:" >&5
19211 sed 's/^/| /' conftest.
$ac_ext >&5
19213 cat >conftest.
$ac_ext <<_ACEOF
19216 cat confdefs.h
>>conftest.
$ac_ext
19217 cat >>conftest.
$ac_ext <<_ACEOF
19218 /* end confdefs.h. */
19219 #include <sys/types.h>
19220 #ifdef HAVE_SYS_SOCKET_H
19221 # include <sys/socket.h>
19223 #ifdef HAVE_SYS_UN_H
19224 # include <sys/un.h>
19230 static struct msghdr ac_aggr;
19231 if (sizeof ac_aggr.msg_accrights)
19237 rm -f conftest.
$ac_objext
19238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19239 (eval $ac_compile) 2>conftest.er1
19241 grep -v '^ *+' conftest.er1
>conftest.err
19243 cat conftest.err
>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); } &&
19246 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19248 (eval $ac_try) 2>&5
19250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19251 (exit $ac_status); }; } &&
19252 { ac_try
='test -s conftest.$ac_objext'
19253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19254 (eval $ac_try) 2>&5
19256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19257 (exit $ac_status); }; }; then
19258 ac_cv_member_struct_msghdr_msg_accrights
=yes
19260 echo "$as_me: failed program was:" >&5
19261 sed 's/^/| /' conftest.
$ac_ext >&5
19263 ac_cv_member_struct_msghdr_msg_accrights
=no
19265 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19267 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19269 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19270 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19271 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19273 cat >>confdefs.h
<<_ACEOF
19274 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19279 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19280 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19281 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19282 echo $ECHO_N "(cached) $ECHO_C" >&6
19284 cat >conftest.
$ac_ext <<_ACEOF
19287 cat confdefs.h
>>conftest.
$ac_ext
19288 cat >>conftest.
$ac_ext <<_ACEOF
19289 /* end confdefs.h. */
19290 #include <sys/types.h>
19291 #ifdef HAVE_SYS_SOCKET_H
19292 # include <sys/socket.h>
19294 #ifdef HAVE_SYS_UN_H
19295 # include <sys/un.h>
19301 static struct sockaddr ac_aggr;
19302 if (ac_aggr.sa_len)
19308 rm -f conftest.
$ac_objext
19309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19310 (eval $ac_compile) 2>conftest.er1
19312 grep -v '^ *+' conftest.er1
>conftest.err
19314 cat conftest.err
>&5
19315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19316 (exit $ac_status); } &&
19317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19319 (eval $ac_try) 2>&5
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); }; } &&
19323 { ac_try
='test -s conftest.$ac_objext'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; }; then
19329 ac_cv_member_struct_sockaddr_sa_len
=yes
19331 echo "$as_me: failed program was:" >&5
19332 sed 's/^/| /' conftest.
$ac_ext >&5
19334 cat >conftest.
$ac_ext <<_ACEOF
19337 cat confdefs.h
>>conftest.
$ac_ext
19338 cat >>conftest.
$ac_ext <<_ACEOF
19339 /* end confdefs.h. */
19340 #include <sys/types.h>
19341 #ifdef HAVE_SYS_SOCKET_H
19342 # include <sys/socket.h>
19344 #ifdef HAVE_SYS_UN_H
19345 # include <sys/un.h>
19351 static struct sockaddr ac_aggr;
19352 if (sizeof ac_aggr.sa_len)
19358 rm -f conftest.
$ac_objext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19360 (eval $ac_compile) 2>conftest.er1
19362 grep -v '^ *+' conftest.er1
>conftest.err
19364 cat conftest.err
>&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; } &&
19373 { ac_try
='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19379 ac_cv_member_struct_sockaddr_sa_len
=yes
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.
$ac_ext >&5
19384 ac_cv_member_struct_sockaddr_sa_len
=no
19386 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19390 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19391 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19392 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19394 cat >>confdefs.h
<<_ACEOF
19395 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19400 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19401 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19402 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19403 echo $ECHO_N "(cached) $ECHO_C" >&6
19405 cat >conftest.
$ac_ext <<_ACEOF
19408 cat confdefs.h
>>conftest.
$ac_ext
19409 cat >>conftest.
$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 #include <sys/types.h>
19412 #ifdef HAVE_SYS_SOCKET_H
19413 # include <sys/socket.h>
19415 #ifdef HAVE_SYS_UN_H
19416 # include <sys/un.h>
19422 static struct sockaddr_un ac_aggr;
19423 if (ac_aggr.sun_len)
19429 rm -f conftest.
$ac_objext
19430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19431 (eval $ac_compile) 2>conftest.er1
19433 grep -v '^ *+' conftest.er1
>conftest.err
19435 cat conftest.err
>&5
19436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19437 (exit $ac_status); } &&
19438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19440 (eval $ac_try) 2>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); }; } &&
19444 { ac_try
='test -s conftest.$ac_objext'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; }; then
19450 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.
$ac_ext >&5
19455 cat >conftest.
$ac_ext <<_ACEOF
19458 cat confdefs.h
>>conftest.
$ac_ext
19459 cat >>conftest.
$ac_ext <<_ACEOF
19460 /* end confdefs.h. */
19461 #include <sys/types.h>
19462 #ifdef HAVE_SYS_SOCKET_H
19463 # include <sys/socket.h>
19465 #ifdef HAVE_SYS_UN_H
19466 # include <sys/un.h>
19472 static struct sockaddr_un ac_aggr;
19473 if (sizeof ac_aggr.sun_len)
19479 rm -f conftest.
$ac_objext
19480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19481 (eval $ac_compile) 2>conftest.er1
19483 grep -v '^ *+' conftest.er1
>conftest.err
19485 cat conftest.err
>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } &&
19488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19490 (eval $ac_try) 2>&5
19492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19493 (exit $ac_status); }; } &&
19494 { ac_try
='test -s conftest.$ac_objext'
19495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19496 (eval $ac_try) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); }; }; then
19500 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19502 echo "$as_me: failed program was:" >&5
19503 sed 's/^/| /' conftest.
$ac_ext >&5
19505 ac_cv_member_struct_sockaddr_un_sun_len
=no
19507 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19509 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19511 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19512 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19513 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19515 cat >>confdefs.h
<<_ACEOF
19516 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19523 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19524 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19525 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19526 echo $ECHO_N "(cached) $ECHO_C" >&6
19528 cat >conftest.
$ac_ext <<_ACEOF
19531 cat confdefs.h
>>conftest.
$ac_ext
19532 cat >>conftest.
$ac_ext <<_ACEOF
19533 /* end confdefs.h. */
19534 #include <signal.h>
19539 static siginfo_t 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_siginfo_t_si_fd
=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 #include <signal.h>
19583 static siginfo_t ac_aggr;
19584 if (sizeof ac_aggr.si_fd)
19590 rm -f conftest.
$ac_objext
19591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19592 (eval $ac_compile) 2>conftest.er1
19594 grep -v '^ *+' conftest.er1
>conftest.err
19596 cat conftest.err
>&5
19597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19598 (exit $ac_status); } &&
19599 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 (eval $ac_try) 2>&5
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); }; } &&
19605 { ac_try
='test -s conftest.$ac_objext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19611 ac_cv_member_siginfo_t_si_fd
=yes
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.
$ac_ext >&5
19616 ac_cv_member_siginfo_t_si_fd
=no
19618 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19620 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19622 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19623 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19624 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19626 cat >>confdefs.h
<<_ACEOF
19627 #define HAVE_SIGINFO_T_SI_FD 1
19634 echo "$as_me:$LINENO: checking for struct option.name" >&5
19635 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19636 if test "${ac_cv_member_struct_option_name+set}" = set; then
19637 echo $ECHO_N "(cached) $ECHO_C" >&6
19639 cat >conftest.
$ac_ext <<_ACEOF
19642 cat confdefs.h
>>conftest.
$ac_ext
19643 cat >>conftest.
$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 #ifdef HAVE_GETOPT_H
19646 #include <getopt.h>
19652 static struct option ac_aggr;
19659 rm -f conftest.
$ac_objext
19660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19661 (eval $ac_compile) 2>conftest.er1
19663 grep -v '^ *+' conftest.er1
>conftest.err
19665 cat conftest.err
>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } &&
19668 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; } &&
19674 { ac_try
='test -s conftest.$ac_objext'
19675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19676 (eval $ac_try) 2>&5
19678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19679 (exit $ac_status); }; }; then
19680 ac_cv_member_struct_option_name
=yes
19682 echo "$as_me: failed program was:" >&5
19683 sed 's/^/| /' conftest.
$ac_ext >&5
19685 cat >conftest.
$ac_ext <<_ACEOF
19688 cat confdefs.h
>>conftest.
$ac_ext
19689 cat >>conftest.
$ac_ext <<_ACEOF
19690 /* end confdefs.h. */
19691 #ifdef HAVE_GETOPT_H
19692 #include <getopt.h>
19698 static struct option ac_aggr;
19699 if (sizeof ac_aggr.name)
19705 rm -f conftest.
$ac_objext
19706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19707 (eval $ac_compile) 2>conftest.er1
19709 grep -v '^ *+' conftest.er1
>conftest.err
19711 cat conftest.err
>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); } &&
19714 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; } &&
19720 { ac_try
='test -s conftest.$ac_objext'
19721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19722 (eval $ac_try) 2>&5
19724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19725 (exit $ac_status); }; }; then
19726 ac_cv_member_struct_option_name
=yes
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.
$ac_ext >&5
19731 ac_cv_member_struct_option_name
=no
19733 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19735 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19737 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19738 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19739 if test $ac_cv_member_struct_option_name = yes; then
19741 cat >>confdefs.h
<<_ACEOF
19742 #define HAVE_STRUCT_OPTION_NAME 1
19749 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19750 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19751 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 cat >conftest.
$ac_ext <<_ACEOF
19757 cat confdefs.h
>>conftest.
$ac_ext
19758 cat >>conftest.
$ac_ext <<_ACEOF
19759 /* end confdefs.h. */
19760 $ac_includes_default
19764 static struct stat ac_aggr;
19765 if (ac_aggr.st_blocks)
19771 rm -f conftest.
$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19775 grep -v '^ *+' conftest.er1
>conftest.err
19777 cat conftest.err
>&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19782 (eval $ac_try) 2>&5
19784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19785 (exit $ac_status); }; } &&
19786 { ac_try
='test -s conftest.$ac_objext'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; }; then
19792 ac_cv_member_struct_stat_st_blocks
=yes
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.
$ac_ext >&5
19797 cat >conftest.
$ac_ext <<_ACEOF
19800 cat confdefs.h
>>conftest.
$ac_ext
19801 cat >>conftest.
$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19807 static struct stat ac_aggr;
19808 if (sizeof ac_aggr.st_blocks)
19814 rm -f conftest.
$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>conftest.er1
19818 grep -v '^ *+' conftest.er1
>conftest.err
19820 cat conftest.err
>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); } &&
19823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19825 (eval $ac_try) 2>&5
19827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19828 (exit $ac_status); }; } &&
19829 { ac_try
='test -s conftest.$ac_objext'
19830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19831 (eval $ac_try) 2>&5
19833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19834 (exit $ac_status); }; }; then
19835 ac_cv_member_struct_stat_st_blocks
=yes
19837 echo "$as_me: failed program was:" >&5
19838 sed 's/^/| /' conftest.
$ac_ext >&5
19840 ac_cv_member_struct_stat_st_blocks
=no
19842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19846 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19847 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19848 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19850 cat >>confdefs.h
<<_ACEOF
19851 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19860 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19861 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19862 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19863 echo $ECHO_N "(cached) $ECHO_C" >&6
19865 cat >conftest.
$ac_ext <<_ACEOF
19868 cat confdefs.h
>>conftest.
$ac_ext
19869 cat >>conftest.
$ac_ext <<_ACEOF
19870 /* end confdefs.h. */
19875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19876 $EGREP "yes" >/dev
/null
2>&1; then
19877 ac_cv_cpp_def___i386__
=yes
19879 ac_cv_cpp_def___i386__
=no
19884 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19885 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19886 if test $ac_cv_cpp_def___i386__ = yes; then
19887 CFLAGS
="$CFLAGS -D__i386__"
19888 LINTFLAGS
="$LINTFLAGS -D__i386__"
19891 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19892 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19893 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19894 echo $ECHO_N "(cached) $ECHO_C" >&6
19896 cat >conftest.
$ac_ext <<_ACEOF
19899 cat confdefs.h
>>conftest.
$ac_ext
19900 cat >>conftest.
$ac_ext <<_ACEOF
19901 /* end confdefs.h. */
19906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19907 $EGREP "yes" >/dev
/null
2>&1; then
19908 ac_cv_cpp_def___ALPHA__
=yes
19910 ac_cv_cpp_def___ALPHA__
=no
19915 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19916 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19917 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19918 CFLAGS
="$CFLAGS -D__ALPHA__"
19919 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19922 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19923 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19924 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19925 echo $ECHO_N "(cached) $ECHO_C" >&6
19927 cat >conftest.
$ac_ext <<_ACEOF
19930 cat confdefs.h
>>conftest.
$ac_ext
19931 cat >>conftest.
$ac_ext <<_ACEOF
19932 /* end confdefs.h. */
19937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19938 $EGREP "yes" >/dev
/null
2>&1; then
19939 ac_cv_cpp_def___sparc__
=yes
19941 ac_cv_cpp_def___sparc__
=no
19946 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19947 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19948 if test $ac_cv_cpp_def___sparc__ = yes; then
19949 CFLAGS
="$CFLAGS -D__sparc__"
19950 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19953 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19954 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19955 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19956 echo $ECHO_N "(cached) $ECHO_C" >&6
19958 cat >conftest.
$ac_ext <<_ACEOF
19961 cat confdefs.h
>>conftest.
$ac_ext
19962 cat >>conftest.
$ac_ext <<_ACEOF
19963 /* end confdefs.h. */
19964 #ifndef __powerpc__
19968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19969 $EGREP "yes" >/dev
/null
2>&1; then
19970 ac_cv_cpp_def___powerpc__
=yes
19972 ac_cv_cpp_def___powerpc__
=no
19977 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19978 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19979 if test $ac_cv_cpp_def___powerpc__ = yes; then
19980 CFLAGS
="$CFLAGS -D__powerpc__"
19981 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19986 case $host_vendor in
19987 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19988 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19989 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19990 echo $ECHO_N "(cached) $ECHO_C" >&6
19992 cat >conftest.
$ac_ext <<_ACEOF
19995 cat confdefs.h
>>conftest.
$ac_ext
19996 cat >>conftest.
$ac_ext <<_ACEOF
19997 /* end confdefs.h. */
20002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20003 $EGREP "yes" >/dev
/null
2>&1; then
20004 ac_cv_cpp_def___sun__
=yes
20006 ac_cv_cpp_def___sun__
=no
20011 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20012 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20013 if test $ac_cv_cpp_def___sun__ = yes; then
20014 CFLAGS
="$CFLAGS -D__sun__"
20015 LINTFLAGS
="$LINTFLAGS -D__sun__"
20024 ac_config_commands
="$ac_config_commands controls"
20026 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
20028 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
20030 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
20032 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
20034 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
20036 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
20038 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
20040 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
20042 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20044 ac_config_commands
="$ac_config_commands dlls/user/dde"
20046 ac_config_commands
="$ac_config_commands dlls/user/resources"
20048 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20050 ac_config_commands
="$ac_config_commands files"
20052 ac_config_commands
="$ac_config_commands include/wine"
20054 ac_config_commands
="$ac_config_commands misc"
20056 ac_config_commands
="$ac_config_commands objects"
20058 ac_config_commands
="$ac_config_commands programs/regedit/tests"
20060 ac_config_commands
="$ac_config_commands windows"
20063 MAKE_RULES
=Make.rules
20066 MAKE_DLL_RULES
=dlls
/Makedll.rules
20069 MAKE_TEST_RULES
=dlls
/Maketest.rules
20072 MAKE_LIB_RULES
=libs
/Makelib.rules
20075 MAKE_PROG_RULES
=programs
/Makeprog.rules
20078 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/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/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/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/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"
20081 cat >confcache
<<\_ACEOF
20082 # This file is a shell script that caches the results of configure
20083 # tests run on this system so they can be shared between configure
20084 # scripts and configure runs, see configure's option --config-cache.
20085 # It is not useful on other systems. If it contains results you don't
20086 # want to keep, you may remove or edit it.
20088 # config.status only pays attention to the cache file if you give it
20089 # the --recheck option to rerun configure.
20091 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20092 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20093 # following values.
20097 # The following way of writing the cache mishandles newlines in values,
20098 # but we know of no workaround that is simple, portable, and efficient.
20099 # So, don't put newlines in cache variables' values.
20100 # Ultrix sh set writes to stderr and can't be redirected directly,
20101 # and sets the high bit in the cache file unless we assign to the vars.
20104 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20106 # `set' does not quote correctly, so add quotes (double-quote
20107 # substitution turns \\\\ into \\, and sed turns \\ into \).
20110 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20113 # `set' quotes correctly as required by POSIX, so do not add quotes.
20115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20122 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20124 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20126 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20127 if test -w $cache_file; then
20128 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20129 cat confcache
>$cache_file
20131 echo "not updating unwritable cache $cache_file"
20136 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20137 # Let make expand exec_prefix.
20138 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20140 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20141 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20142 # trailing colons and then remove the whole line if VPATH becomes empty
20143 # (actually we leave an empty line to preserve line numbers).
20144 if test "x$srcdir" = x.
; then
20145 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20146 s/:*\$(srcdir):*/:/;
20147 s/:*\${srcdir}:*/:/;
20149 s/^\([^=]*=[ ]*\):*/\1/;
20155 DEFS
=-DHAVE_CONFIG_H
20159 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20160 # 1. Remove the extension, and $U if already installed.
20161 ac_i
=`echo "$ac_i" |
20162 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20164 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20165 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20167 LIBOBJS
=$ac_libobjs
20169 LTLIBOBJS
=$ac_ltlibobjs
20173 : ${CONFIG_STATUS=./config.status}
20174 ac_clean_files_save
=$ac_clean_files
20175 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20176 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20177 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20178 cat >$CONFIG_STATUS <<_ACEOF
20180 # Generated by $as_me.
20181 # Run this file to recreate the current configuration.
20182 # Compiler output produced by configure, useful for debugging
20183 # configure, is in config.log if it exists.
20186 ac_cs_recheck=false
20188 SHELL=\${CONFIG_SHELL-$SHELL}
20191 cat >>$CONFIG_STATUS <<\_ACEOF
20192 ## --------------------- ##
20193 ## M4sh Initialization. ##
20194 ## --------------------- ##
20196 # Be Bourne compatible
20197 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20200 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20201 # is contrary to our usage. Disable this feature.
20202 alias -g '${1+"$@"}'='"$@"'
20203 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20206 DUALCASE
=1; export DUALCASE
# for MKS sh
20208 # Support unset when possible.
20209 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20216 # Work around bugs in pre-3.0 UWIN ksh.
20217 $as_unset ENV MAIL MAILPATH
20224 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20225 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20226 LC_TELEPHONE LC_TIME
20228 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20229 eval $as_var=C
; export $as_var
20235 # Required to use basename.
20236 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20242 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20243 as_basename
=basename
20249 # Name of the executable.
20250 as_me
=`$as_basename "$0" ||
20251 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20252 X"$0" : 'X\(//\)$' \| \
20253 X"$0" : 'X\(/\)$' \| \
20254 . : '\(.\)' 2>/dev/null ||
20256 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20257 /^X\/\(\/\/\)$/{ s//\1/; q; }
20258 /^X\/\(\/\).*/{ s//\1/; q; }
20262 # PATH needs CR, and LINENO needs CR and PATH.
20263 # Avoid depending upon Character Ranges.
20264 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20265 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20266 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20267 as_cr_digits
='0123456789'
20268 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20270 # The user is always right.
20271 if test "${PATH_SEPARATOR+set}" != set; then
20272 echo "#! /bin/sh" >conf$$.sh
20273 echo "exit 0" >>conf$$.sh
20275 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20284 as_lineno_1
=$LINENO
20285 as_lineno_2
=$LINENO
20286 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20287 test "x$as_lineno_1" != "x$as_lineno_2" &&
20288 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20289 # Find who we are. Look in the path if we contain no path at all
20292 *[\\/]* ) as_myself
=$0 ;;
20293 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20294 for as_dir
in $PATH
20297 test -z "$as_dir" && as_dir
=.
20298 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20303 # We did not find ourselves, most probably we were run as `sh COMMAND'
20304 # in which case we are not to be found in the path.
20305 if test "x$as_myself" = x
; then
20308 if test ! -f "$as_myself"; then
20309 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20310 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20311 { (exit 1); exit 1; }; }
20313 case $CONFIG_SHELL in
20315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20316 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20319 test -z "$as_dir" && as_dir
=.
20320 for as_base
in sh bash ksh sh5
; do
20323 if ("$as_dir/$as_base" -c '
20324 as_lineno_1=$LINENO
20325 as_lineno_2=$LINENO
20326 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20327 test "x$as_lineno_1" != "x$as_lineno_2" &&
20328 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20329 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20330 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20331 CONFIG_SHELL
=$as_dir/$as_base
20332 export CONFIG_SHELL
20333 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20341 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20342 # uniformly replaced by the line number. The first 'sed' inserts a
20343 # line-number line before each line; the second 'sed' does the real
20344 # work. The second script uses 'N' to pair each line-number line
20345 # with the numbered line, and appends trailing '-' during
20346 # substitution so that $LINENO is not a special case at line end.
20347 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20348 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20349 sed '=' <$as_myself |
20354 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20357 s,^['$as_cr_digits']*\n,,
20358 ' >$as_me.lineno
&&
20359 chmod +x
$as_me.lineno ||
20360 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20361 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20362 { (exit 1); exit 1; }; }
20364 # Don't try to exec as it changes $[0], causing all sort of problems
20365 # (the dirname of $[0] is not the place where we might find the
20366 # original and so on. Autoconf is especially sensible to this).
20368 # Exit status is that of the last command.
20373 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20374 *c
*,-n*) ECHO_N
= ECHO_C
='
20376 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20377 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20380 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20386 rm -f conf$$ conf$$.exe conf$$.
file
20388 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20389 # We could just check for DJGPP; but this test a) works b) is more generic
20390 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20391 if test -f conf$$.exe
; then
20392 # Don't use ln at all; we don't have any links
20397 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20402 rm -f conf$$ conf$$.exe conf$$.
file
20404 if mkdir
-p .
2>/dev
/null
; then
20407 test -d .
/-p && rmdir .
/-p
20411 as_executable_p
="test -f"
20413 # Sed expression to map a string onto a valid CPP name.
20414 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20416 # Sed expression to map a string onto a valid variable name.
20417 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20421 # We need space, tab and new line, in precisely that order.
20431 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20432 # report actual input values of CONFIG_FILES etc. instead of their
20433 # values after options handling. Logging --version etc. is OK.
20437 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20438 ## Running $as_me. ##
20443 This file was extended by Wine $as_me 20040213, which was
20444 generated by GNU Autoconf 2.59. Invocation command line was
20446 CONFIG_FILES = $CONFIG_FILES
20447 CONFIG_HEADERS = $CONFIG_HEADERS
20448 CONFIG_LINKS = $CONFIG_LINKS
20449 CONFIG_COMMANDS = $CONFIG_COMMANDS
20453 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20457 # Files that config.status was made for.
20458 if test -n "$ac_config_files"; then
20459 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20462 if test -n "$ac_config_headers"; then
20463 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20466 if test -n "$ac_config_links"; then
20467 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20470 if test -n "$ac_config_commands"; then
20471 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20474 cat >>$CONFIG_STATUS <<\_ACEOF
20477 \`$as_me' instantiates files from templates according to the
20478 current configuration.
20480 Usage: $0 [OPTIONS] [FILE]...
20482 -h, --help print this help, then exit
20483 -V, --version print version number, then exit
20484 -q, --quiet do not print progress messages
20485 -d, --debug don't remove temporary files
20486 --recheck update $as_me by reconfiguring in the same conditions
20487 --file=FILE[:TEMPLATE]
20488 instantiate the configuration file FILE
20489 --header=FILE[:TEMPLATE]
20490 instantiate the configuration header FILE
20492 Configuration files:
20495 Configuration headers:
20498 Configuration commands:
20501 Report bugs to <bug-autoconf@gnu.org>."
20504 cat >>$CONFIG_STATUS <<_ACEOF
20506 Wine config.status 20040213
20507 configured by $0, generated by GNU Autoconf 2.59,
20508 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20510 Copyright (C) 2003 Free Software Foundation, Inc.
20511 This config.status script is free software; the Free Software Foundation
20512 gives unlimited permission to copy, distribute and modify it."
20517 cat >>$CONFIG_STATUS <<\_ACEOF
20518 # If no file are specified by the user, then we need to provide default
20519 # value. By we need to know if files were specified by the user.
20525 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20526 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20534 *) # This is not an option, so the user has probably given explicit
20537 ac_need_defaults
=false
;;
20541 # Handling of the options.
20543 cat >>$CONFIG_STATUS <<\_ACEOF
20544 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20546 --version |
--vers* |
-V )
20547 echo "$ac_cs_version"; exit 0 ;;
20549 # Conflict between --help and --header
20550 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20551 Try \`$0 --help' for more information." >&5
20552 echo "$as_me: error: ambiguous option: $1
20553 Try \`$0 --help' for more information." >&2;}
20554 { (exit 1); exit 1; }; };;
20555 --help |
--hel |
-h )
20556 echo "$ac_cs_usage"; exit 0 ;;
20557 --debug |
--d* |
-d )
20559 --file |
--fil |
--fi |
--f )
20561 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20562 ac_need_defaults
=false
;;
20563 --header |
--heade |
--head |
--hea )
20565 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20566 ac_need_defaults
=false
;;
20567 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20568 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20571 # This is an error.
20572 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20573 Try \`$0 --help' for more information." >&5
20574 echo "$as_me: error: unrecognized option: $1
20575 Try \`$0 --help' for more information." >&2;}
20576 { (exit 1); exit 1; }; } ;;
20578 *) ac_config_targets
="$ac_config_targets $1" ;;
20584 ac_configure_extra_args
=
20586 if $ac_cs_silent; then
20588 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20592 cat >>$CONFIG_STATUS <<_ACEOF
20593 if \$ac_cs_recheck; then
20594 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20595 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20604 cat >>$CONFIG_STATUS <<\_ACEOF
20605 for ac_config_target
in $ac_config_targets
20607 case "$ac_config_target" in
20608 # Handling of arguments.
20609 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20610 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20611 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20612 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20613 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20614 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20615 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20616 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20617 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20618 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20619 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20620 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20621 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20622 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20623 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20624 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20625 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20626 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20627 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20628 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20629 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20630 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20631 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20632 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20633 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20634 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20635 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20636 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20637 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20638 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20639 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20640 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20641 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20642 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20643 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20644 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20645 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20646 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20647 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20648 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20649 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20650 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20651 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20652 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20653 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20654 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20655 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20656 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20657 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20658 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20659 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20660 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20661 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20662 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20663 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20664 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20665 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20666 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20667 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20668 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20669 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20670 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20671 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20672 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20673 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20674 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20675 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20676 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20677 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20678 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20679 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20680 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20681 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20682 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20683 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20684 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20685 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20686 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20687 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20688 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20689 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20690 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20691 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20692 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20693 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20694 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20695 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20696 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20697 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20698 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20699 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20700 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20701 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20702 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20703 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20704 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20705 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20706 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20707 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20708 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20709 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20710 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20711 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20712 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20713 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20714 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20715 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20716 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20717 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20718 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20719 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20720 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20721 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20722 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20723 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20724 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20725 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20726 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20727 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20728 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20729 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20730 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20731 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20732 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20733 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20734 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20735 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20736 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20737 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20738 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20739 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20740 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20741 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20742 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20743 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20744 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20745 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20746 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20747 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20748 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20749 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20750 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20751 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20752 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20753 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20754 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20755 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20756 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20757 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20758 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20759 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20760 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20761 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20762 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20763 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20764 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20765 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20766 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20767 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20768 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20769 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20770 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20771 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20772 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20773 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20774 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20775 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20776 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20777 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20778 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20779 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20780 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20781 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20782 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20783 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20784 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20785 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20786 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20787 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20788 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20789 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20790 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20791 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20792 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20793 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20794 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20795 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20796 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20797 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20798 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20799 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20800 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20801 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20802 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20803 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20804 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20805 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20806 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20807 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20808 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20809 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20810 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20811 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20812 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20813 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20814 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20815 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20816 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20817 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20818 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20819 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20820 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20821 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20822 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20823 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20824 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20825 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
20826 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20827 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20828 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20829 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20830 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20831 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20832 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20833 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20834 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20835 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20836 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20837 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20838 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
20839 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20840 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20841 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
20842 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20843 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20844 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20845 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20846 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20847 { (exit 1); exit 1; }; };;
20851 # If the user did not use the arguments to specify the items to instantiate,
20852 # then the envvar interface is used. Set only those that are not.
20853 # We use the long form for the default assignment because of an extremely
20854 # bizarre bug on SunOS 4.1.3.
20855 if $ac_need_defaults; then
20856 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20857 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20858 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20861 # Have a temporary directory for convenience. Make it in the build tree
20862 # simply because there is no reason to put it here, and in addition,
20863 # creating and moving files from /tmp can sometimes cause problems.
20864 # Create a temporary directory, and hook for its removal unless debugging.
20867 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20868 trap '{ (exit 1); exit 1; }' 1 2 13 15
20871 # Create a (secure) tmp directory for tmp files.
20874 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20875 test -n "$tmp" && test -d "$tmp"
20878 tmp
=.
/confstat$$
-$RANDOM
20879 (umask 077 && mkdir
$tmp)
20882 echo "$me: cannot create a temporary directory in ." >&2
20883 { (exit 1); exit 1; }
20888 cat >>$CONFIG_STATUS <<_ACEOF
20891 # CONFIG_FILES section.
20894 # No need to generate the scripts if there are no CONFIG_FILES.
20895 # This happens for instance when ./config.status config.h
20896 if test -n "\$CONFIG_FILES"; then
20897 # Protect against being on the right side of a sed subst in config.status.
20898 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20899 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20900 s,@SHELL@,$SHELL,;t t
20901 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20902 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20903 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20904 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20905 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20906 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20907 s,@exec_prefix@,$exec_prefix,;t t
20908 s,@prefix@,$prefix,;t t
20909 s,@program_transform_name@,$program_transform_name,;t t
20910 s,@bindir@,$bindir,;t t
20911 s,@sbindir@,$sbindir,;t t
20912 s,@libexecdir@,$libexecdir,;t t
20913 s,@datadir@,$datadir,;t t
20914 s,@sysconfdir@,$sysconfdir,;t t
20915 s,@sharedstatedir@,$sharedstatedir,;t t
20916 s,@localstatedir@,$localstatedir,;t t
20917 s,@libdir@,$libdir,;t t
20918 s,@includedir@,$includedir,;t t
20919 s,@oldincludedir@,$oldincludedir,;t t
20920 s,@infodir@,$infodir,;t t
20921 s,@mandir@,$mandir,;t t
20922 s,@build_alias@,$build_alias,;t t
20923 s,@host_alias@,$host_alias,;t t
20924 s,@target_alias@,$target_alias,;t t
20925 s,@DEFS@,$DEFS,;t t
20926 s,@ECHO_C@,$ECHO_C,;t t
20927 s,@ECHO_N@,$ECHO_N,;t t
20928 s,@ECHO_T@,$ECHO_T,;t t
20929 s,@LIBS@,$LIBS,;t t
20930 s,@WIN16_FILES@,$WIN16_FILES,;t t
20931 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20932 s,@build@,$build,;t t
20933 s,@build_cpu@,$build_cpu,;t t
20934 s,@build_vendor@,$build_vendor,;t t
20935 s,@build_os@,$build_os,;t t
20936 s,@host@,$host,;t t
20937 s,@host_cpu@,$host_cpu,;t t
20938 s,@host_vendor@,$host_vendor,;t t
20939 s,@host_os@,$host_os,;t t
20940 s,@SET_MAKE@,$SET_MAKE,;t t
20942 s,@CFLAGS@,$CFLAGS,;t t
20943 s,@LDFLAGS@,$LDFLAGS,;t t
20944 s,@CPPFLAGS@,$CPPFLAGS,;t t
20945 s,@ac_ct_CC@,$ac_ct_CC,;t t
20946 s,@EXEEXT@,$EXEEXT,;t t
20947 s,@OBJEXT@,$OBJEXT,;t t
20949 s,@CXXFLAGS@,$CXXFLAGS,;t t
20950 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20951 s,@CPPBIN@,$CPPBIN,;t t
20952 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20953 s,@TOOLSDIR@,$TOOLSDIR,;t t
20955 s,@X_CFLAGS@,$X_CFLAGS,;t t
20956 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20957 s,@X_LIBS@,$X_LIBS,;t t
20958 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20959 s,@YACC@,$YACC,;t t
20961 s,@LEXLIB@,$LEXLIB,;t t
20962 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20963 s,@XYACC@,$XYACC,;t t
20964 s,@XLEX@,$XLEX,;t t
20966 s,@ac_ct_AS@,$ac_ct_AS,;t t
20968 s,@ac_ct_LD@,$ac_ct_LD,;t t
20970 s,@ac_ct_AR@,$ac_ct_AR,;t t
20971 s,@RANLIB@,$RANLIB,;t t
20972 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20973 s,@STRIP@,$STRIP,;t t
20974 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20975 s,@WINDRES@,$WINDRES,;t t
20976 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20977 s,@LN_S@,$LN_S,;t t
20979 s,@LDCONFIG@,$LDCONFIG,;t t
20980 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20981 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20982 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20983 s,@LINT@,$LINT,;t t
20984 s,@LINTFLAGS@,$LINTFLAGS,;t t
20985 s,@DB2HTML@,$DB2HTML,;t t
20986 s,@DB2PDF@,$DB2PDF,;t t
20987 s,@DB2PS@,$DB2PS,;t t
20988 s,@DB2TXT@,$DB2TXT,;t t
20989 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20990 s,@JPEGLIB@,$JPEGLIB,;t t
20991 s,@EGREP@,$EGREP,;t t
20992 s,@GIFLIB@,$GIFLIB,;t t
20993 s,@XLIB@,$XLIB,;t t
20994 s,@XFILES@,$XFILES,;t t
20995 s,@OPENGLFILES@,$OPENGLFILES,;t t
20996 s,@GLU32FILES@,$GLU32FILES,;t t
20997 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20998 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20999 s,@GLUT32FILES@,$GLUT32FILES,;t t
21000 s,@NASLIBS@,$NASLIBS,;t t
21001 s,@CURSESLIBS@,$CURSESLIBS,;t t
21002 s,@sane_devel@,$sane_devel,;t t
21003 s,@SANELIBS@,$SANELIBS,;t t
21004 s,@SANEINCL@,$SANEINCL,;t t
21005 s,@ICULIBS@,$ICULIBS,;t t
21006 s,@ft_devel@,$ft_devel,;t t
21007 s,@ft_devel2@,$ft_devel2,;t t
21008 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21009 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21010 s,@ARTSLIBS@,$ARTSLIBS,;t t
21011 s,@ARTSINCL@,$ARTSINCL,;t t
21012 s,@ALSALIBS@,$ALSALIBS,;t t
21013 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21014 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21015 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21016 s,@DLLEXT@,$DLLEXT,;t t
21017 s,@DLLFLAGS@,$DLLFLAGS,;t t
21018 s,@DLLIBS@,$DLLIBS,;t t
21019 s,@LDSHARED@,$LDSHARED,;t t
21020 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21021 s,@LIBEXT@,$LIBEXT,;t t
21022 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21023 s,@DLLTOOL@,$DLLTOOL,;t t
21024 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21025 s,@DLLWRAP@,$DLLWRAP,;t t
21026 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21027 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21028 s,@CROSSTEST@,$CROSSTEST,;t t
21029 s,@CROSSCC@,$CROSSCC,;t t
21030 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21031 s,@LDPATH@,$LDPATH,;t t
21032 s,@CRTLIBS@,$CRTLIBS,;t t
21033 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21034 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21036 s,@ALLOCA@,$ALLOCA,;t t
21037 s,@LIBOBJS@,$LIBOBJS,;t t
21038 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21039 /@MAKE_RULES@/r $MAKE_RULES
21040 s,@MAKE_RULES@,,;t t
21041 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21042 s,@MAKE_DLL_RULES@,,;t t
21043 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21044 s,@MAKE_TEST_RULES@,,;t t
21045 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21046 s,@MAKE_LIB_RULES@,,;t t
21047 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21048 s,@MAKE_PROG_RULES@,,;t t
21053 cat >>$CONFIG_STATUS <<\_ACEOF
21054 # Split the substitutions into bite-sized pieces for seds with
21055 # small command number limits, like on Digital OSF/1 and HP-UX.
21056 ac_max_sed_lines
=48
21057 ac_sed_frag
=1 # Number of current file.
21058 ac_beg
=1 # First line for current file.
21059 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21062 while $ac_more_lines; do
21063 if test $ac_beg -gt 1; then
21064 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21066 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21068 if test ! -s $tmp/subs.frag
; then
21069 ac_more_lines
=false
21071 # The purpose of the label and of the branching condition is to
21072 # speed up the sed processing (if there are no `@' at all, there
21073 # is no need to browse any of the substitutions).
21074 # These are the two extra sed commands mentioned above.
21076 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21077 if test -z "$ac_sed_cmds"; then
21078 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21080 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21082 ac_sed_frag
=`expr $ac_sed_frag + 1`
21084 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21087 if test -z "$ac_sed_cmds"; then
21090 fi # test -n "$CONFIG_FILES"
21093 cat >>$CONFIG_STATUS <<\_ACEOF
21094 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21095 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21097 - |
*:- |
*:-:* ) # input from stdin
21099 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21100 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21101 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21102 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21103 * ) ac_file_in
=$ac_file.
in ;;
21106 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21107 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21108 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21109 X"$ac_file" : 'X\(//\)[^/]' \| \
21110 X"$ac_file" : 'X\(//\)$' \| \
21111 X"$ac_file" : 'X\(/\)' \| \
21112 . : '\(.\)' 2>/dev/null ||
21114 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21115 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21116 /^X\(\/\/\)$/{ s//\1/; q; }
21117 /^X\(\/\).*/{ s//\1/; q; }
21119 { if $as_mkdir_p; then
21124 while test ! -d "$as_dir"; do
21125 as_dirs
="$as_dir $as_dirs"
21126 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21127 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21128 X"$as_dir" : 'X\(//\)[^/]' \| \
21129 X"$as_dir" : 'X\(//\)$' \| \
21130 X"$as_dir" : 'X\(/\)' \| \
21131 . : '\(.\)' 2>/dev/null ||
21133 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21134 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21135 /^X\(\/\/\)$/{ s//\1/; q; }
21136 /^X\(\/\).*/{ s//\1/; q; }
21139 test ! -n "$as_dirs" || mkdir
$as_dirs
21140 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21141 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21142 { (exit 1); exit 1; }; }; }
21146 if test "$ac_dir" != .
; then
21147 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21148 # A "../" for each directory in $ac_dir_suffix.
21149 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21151 ac_dir_suffix
= ac_top_builddir
=
21155 .
) # No --srcdir option. We are building in place.
21157 if test -z "$ac_top_builddir"; then
21160 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21162 [\\/]* | ?
:[\\/]* ) # Absolute path.
21163 ac_srcdir
=$srcdir$ac_dir_suffix;
21164 ac_top_srcdir
=$srcdir ;;
21165 *) # Relative path.
21166 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21167 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21170 # Do not use `cd foo && pwd` to compute absolute paths, because
21171 # the directories may not exist.
21173 .
) ac_abs_builddir
="$ac_dir";;
21176 .
) ac_abs_builddir
=`pwd`;;
21177 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21178 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21181 case $ac_abs_builddir in
21182 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21184 case ${ac_top_builddir}.
in
21185 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21186 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21187 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21190 case $ac_abs_builddir in
21191 .
) ac_abs_srcdir
=$ac_srcdir;;
21194 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21195 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21196 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21199 case $ac_abs_builddir in
21200 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21202 case $ac_top_srcdir in
21203 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21204 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21205 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21211 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21212 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21215 # Let's still pretend it is `configure' which instantiates (i.e., don't
21216 # use $as_me), people would be surprised to read:
21217 # /* config.h. Generated by config.status. */
21218 if test x
"$ac_file" = x-
; then
21221 configure_input
="$ac_file. "
21223 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21224 sed 's,.*/,,'` by configure."
21226 # First look for the input files in the build tree, otherwise in the
21228 ac_file_inputs
=`IFS=:
21229 for f in $ac_file_in; do
21231 -) echo $tmp/stdin ;;
21233 # Absolute (can't be DOS-style, as IFS=:)
21234 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21235 echo "$as_me: error: cannot find input file: $f" >&2;}
21236 { (exit 1); exit 1; }; }
21239 if test -f "$f"; then
21242 elif test -f "$srcdir/$f"; then
21247 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21248 echo "$as_me: error: cannot find input file: $f" >&2;}
21249 { (exit 1); exit 1; }; }
21252 done` ||
{ (exit 1); exit 1; }
21254 if test x
"$ac_file" != x-
; then
21255 { echo "$as_me:$LINENO: creating $ac_file" >&5
21256 echo "$as_me: creating $ac_file" >&6;}
21260 cat >>$CONFIG_STATUS <<_ACEOF
21264 cat >>$CONFIG_STATUS <<\_ACEOF
21266 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21267 s
,@configure_input@
,$configure_input,;t t
21268 s
,@srcdir@
,$ac_srcdir,;t t
21269 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21270 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21271 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21272 s
,@builddir@
,$ac_builddir,;t t
21273 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21274 s
,@top_builddir@
,$ac_top_builddir,;t t
21275 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21276 s
,@INSTALL@
,$ac_INSTALL,;t t
21277 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21279 if test x"$ac_file" != x-; then
21280 mv $tmp/out $ac_file
21288 cat >>$CONFIG_STATUS <<\_ACEOF
21291 # CONFIG_HEADER section.
21294 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21295 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21297 # ac_d sets the value in "#define NAME VALUE" lines.
21298 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21299 ac_dB
='[ ].*$,\1#\2'
21302 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21303 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21304 ac_uB
='$,\1#\2define\3'
21308 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21309 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21311 - |
*:- |
*:-:* ) # input from stdin
21313 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21314 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21315 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21316 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21317 * ) ac_file_in
=$ac_file.
in ;;
21320 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21321 echo "$as_me: creating $ac_file" >&6;}
21323 # First look for the input files in the build tree, otherwise in the
21325 ac_file_inputs
=`IFS=:
21326 for f in $ac_file_in; do
21328 -) echo $tmp/stdin ;;
21330 # Absolute (can't be DOS-style, as IFS=:)
21331 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21332 echo "$as_me: error: cannot find input file: $f" >&2;}
21333 { (exit 1); exit 1; }; }
21334 # Do quote $f, to prevent DOS paths from being IFS'd.
21337 if test -f "$f"; then
21340 elif test -f "$srcdir/$f"; then
21345 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21346 echo "$as_me: error: cannot find input file: $f" >&2;}
21347 { (exit 1); exit 1; }; }
21350 done` ||
{ (exit 1); exit 1; }
21351 # Remove the trailing spaces.
21352 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21356 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21357 # `conftest.undefs', that substitutes the proper values into
21358 # config.h.in to produce config.h. The first handles `#define'
21359 # templates, and the second `#undef' templates.
21360 # And first: Protect against being on the right side of a sed subst in
21361 # config.status. Protect against being in an unquoted here document
21362 # in config.status.
21363 rm -f conftest.defines conftest.undefs
21364 # Using a here document instead of a string reduces the quoting nightmare.
21365 # Putting comments in sed scripts is not portable.
21367 # `end' is used to avoid that the second main sed command (meant for
21368 # 0-ary CPP macros) applies to n-ary macro definitions.
21369 # See the Autoconf documentation for `clear'.
21370 cat >confdef2sed.
sed <<\_ACEOF
21375 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21377 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21380 # If some macros were called several times there might be several times
21381 # the same #defines, which is useless. Nevertheless, we may not want to
21382 # sort them, since we want the *last* AC-DEFINE to be honored.
21383 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21384 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21385 rm -f confdef2sed.sed
21387 # This sed command replaces #undef with comments. This is necessary, for
21388 # example, in the case of _POSIX_SOURCE, which is predefined and required
21389 # on some systems where configure will not decide to define it.
21390 cat >>conftest.undefs <<\_ACEOF
21391 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21394 # Break up conftest.defines because some shells have a limit on the size
21395 # of here documents, and old seds have small limits too (100 cmds).
21396 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21397 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21398 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21399 echo ' :' >>$CONFIG_STATUS
21400 rm -f conftest.tail
21401 while grep . conftest.defines >/dev/null
21403 # Write a limited-size here document to $tmp/defines.sed.
21404 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21405 # Speed up: don't consider the non `#define' lines.
21406 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21407 # Work around the forget-to-reset-the-flag bug.
21408 echo 't clr' >>$CONFIG_STATUS
21409 echo ': clr' >>$CONFIG_STATUS
21410 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21412 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21414 mv $tmp/out $tmp/in
21416 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21417 rm -f conftest.defines
21418 mv conftest.
tail conftest.defines
21420 rm -f conftest.defines
21421 echo ' fi # grep' >>$CONFIG_STATUS
21422 echo >>$CONFIG_STATUS
21424 # Break up conftest.undefs because some shells have a limit on the size
21425 # of here documents, and old seds have small limits too (100 cmds).
21426 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21427 rm -f conftest.
tail
21428 while grep . conftest.undefs
>/dev
/null
21430 # Write a limited-size here document to $tmp/undefs.sed.
21431 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21432 # Speed up: don't consider the non
`#undef'
21433 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21434 # Work around the forget-to-reset-the-flag bug.
21435 echo 't clr' >>$CONFIG_STATUS
21436 echo ': clr' >>$CONFIG_STATUS
21437 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21439 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21441 mv $tmp/out $tmp/in
21443 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21444 rm -f conftest.undefs
21445 mv conftest.tail conftest.undefs
21447 rm -f conftest.undefs
21449 cat >>$CONFIG_STATUS <<\_ACEOF
21450 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21451 # use $as_me), people would be surprised to read:
21452 # /* config.h. Generated by config.status. */
21453 if test x
"$ac_file" = x-
; then
21454 echo "/* Generated by configure. */" >$tmp/config.h
21456 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21458 cat $tmp/in >>$tmp/config.h
21460 if test x
"$ac_file" != x-
; then
21461 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21462 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21463 echo "$as_me: $ac_file is unchanged" >&6;}
21465 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21466 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21467 X"$ac_file" : 'X\(//\)[^/]' \| \
21468 X"$ac_file" : 'X\(//\)$' \| \
21469 X"$ac_file" : 'X\(/\)' \| \
21470 . : '\(.\)' 2>/dev/null ||
21472 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21473 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21474 /^X\(\/\/\)$/{ s//\1/; q; }
21475 /^X\(\/\).*/{ s//\1/; q; }
21477 { if $as_mkdir_p; then
21482 while test ! -d "$as_dir"; do
21483 as_dirs
="$as_dir $as_dirs"
21484 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21485 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21486 X"$as_dir" : 'X\(//\)[^/]' \| \
21487 X"$as_dir" : 'X\(//\)$' \| \
21488 X"$as_dir" : 'X\(/\)' \| \
21489 . : '\(.\)' 2>/dev/null ||
21491 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21492 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21493 /^X\(\/\/\)$/{ s//\1/; q; }
21494 /^X\(\/\).*/{ s//\1/; q; }
21497 test ! -n "$as_dirs" || mkdir
$as_dirs
21498 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21499 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21500 { (exit 1); exit 1; }; }; }
21503 mv $tmp/config.h
$ac_file
21507 rm -f $tmp/config.h
21511 cat >>$CONFIG_STATUS <<\_ACEOF
21514 # CONFIG_COMMANDS section.
21516 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21517 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21518 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21519 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21520 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21521 X"$ac_dest" : 'X\(//\)[^/]' \| \
21522 X"$ac_dest" : 'X\(//\)$' \| \
21523 X"$ac_dest" : 'X\(/\)' \| \
21524 . : '\(.\)' 2>/dev/null ||
21526 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21527 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21528 /^X\(\/\/\)$/{ s//\1/; q; }
21529 /^X\(\/\).*/{ s//\1/; q; }
21531 { if $as_mkdir_p; then
21536 while test ! -d "$as_dir"; do
21537 as_dirs
="$as_dir $as_dirs"
21538 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21539 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21540 X"$as_dir" : 'X\(//\)[^/]' \| \
21541 X"$as_dir" : 'X\(//\)$' \| \
21542 X"$as_dir" : 'X\(/\)' \| \
21543 . : '\(.\)' 2>/dev/null ||
21545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21546 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21547 /^X\(\/\/\)$/{ s//\1/; q; }
21548 /^X\(\/\).*/{ s//\1/; q; }
21551 test ! -n "$as_dirs" || mkdir
$as_dirs
21552 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21553 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21554 { (exit 1); exit 1; }; }; }
21558 if test "$ac_dir" != .
; then
21559 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21560 # A "../" for each directory in $ac_dir_suffix.
21561 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21563 ac_dir_suffix
= ac_top_builddir
=
21567 .
) # No --srcdir option. We are building in place.
21569 if test -z "$ac_top_builddir"; then
21572 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21574 [\\/]* | ?
:[\\/]* ) # Absolute path.
21575 ac_srcdir
=$srcdir$ac_dir_suffix;
21576 ac_top_srcdir
=$srcdir ;;
21577 *) # Relative path.
21578 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21579 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21582 # Do not use `cd foo && pwd` to compute absolute paths, because
21583 # the directories may not exist.
21585 .
) ac_abs_builddir
="$ac_dir";;
21588 .
) ac_abs_builddir
=`pwd`;;
21589 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21590 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21593 case $ac_abs_builddir in
21594 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21596 case ${ac_top_builddir}.
in
21597 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21598 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21599 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21602 case $ac_abs_builddir in
21603 .
) ac_abs_srcdir
=$ac_srcdir;;
21606 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21607 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21608 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21611 case $ac_abs_builddir in
21612 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21614 case $ac_top_srcdir in
21615 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21616 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21617 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21622 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21623 echo "$as_me: executing $ac_dest commands" >&6;}
21625 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
21626 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
21627 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21628 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21629 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21630 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21631 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21632 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21633 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21634 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21635 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21636 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21637 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21638 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21639 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21640 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21641 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21642 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21643 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21644 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21645 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21646 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21647 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21648 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21649 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21650 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21651 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
21652 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
21653 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21654 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21655 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21656 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21657 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
21658 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
21659 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21660 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21661 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21662 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21667 cat >>$CONFIG_STATUS <<\_ACEOF
21669 { (exit 0); exit 0; }
21671 chmod +x
$CONFIG_STATUS
21672 ac_clean_files
=$ac_clean_files_save
21675 # configure is writing to config.log, and then calls config.status.
21676 # config.status does its own redirection, appending to config.log.
21677 # Unfortunately, on DOS this fails, as config.log is still kept open
21678 # by configure, so config.status won't be able to write to it; its
21679 # output is simply discarded. So we exec the FD to /dev/null,
21680 # effectively closing config.log, so it can be properly (re)opened and
21681 # appended to by config.status. When coming back to configure, we
21682 # need to make the FD available again.
21683 if test "$no_create" != yes; then
21685 ac_config_status_args
=
21686 test "$silent" = yes &&
21687 ac_config_status_args
="$ac_config_status_args --quiet"
21689 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21691 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21692 # would make configure fail if this is the last instruction.
21693 $ac_cs_success ||
{ (exit 1); exit 1; }
21697 if test "$have_x" = "no"
21700 echo "*** Warning: X development files not found. Wine will be built without"
21701 echo "*** X support, which currently does not work, and would probably not be"
21702 echo "*** what you want anyway. You will need to install devel packages of"
21703 echo "*** Xlib/Xfree86 at the very least."
21706 if test "$wine_cv_opengl_version_OK" = "no"
21709 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21710 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21713 if test "$wine_cv_msg_freetype" = "yes"
21716 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21717 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21718 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21719 echo "*** enable Wine to use TrueType fonts."
21723 echo "Configure finished. Do 'make depend && make' to compile Wine."