2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040408.
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
='20040408'
273 PACKAGE_STRING
='Wine 20040408'
274 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
276 ac_unique_file
="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default
="\
281 # include <sys/types.h>
284 # include <sys/stat.h>
295 # if !STDC_HEADERS && HAVE_MEMORY_H
301 # include <strings.h>
304 # include <inttypes.h>
314 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS WIN16_FILES WIN16_INSTALL build build_cpu build_vendor build_os host host_cpu host_vendor host_os SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT LIBPTHREAD JPEGLIB EGREP GIFLIB XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPEINCL ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS WINE_BINARIES MAIN_BINARY LDD ALLOCA LIBOBJS LTLIBOBJS'
315 ac_subst_files
='MAKE_RULES MAKE_DLL_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
319 ac_init_version
=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
329 program_transform_name
=s
,x
,x
,
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir
='${exec_prefix}/bin'
343 sbindir
='${exec_prefix}/sbin'
344 libexecdir
='${exec_prefix}/libexec'
345 datadir
='${prefix}/share'
346 sysconfdir
='${prefix}/etc'
347 sharedstatedir
='${prefix}/com'
348 localstatedir
='${prefix}/var'
349 libdir
='${exec_prefix}/lib'
350 includedir
='${prefix}/include'
351 oldincludedir
='/usr/include'
352 infodir
='${prefix}/info'
353 mandir
='${prefix}/man'
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
365 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
371 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
373 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
376 -build |
--build |
--buil |
--bui |
--bu)
377 ac_prev
=build_alias
;;
378 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
379 build_alias
=$ac_optarg ;;
381 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
382 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
383 ac_prev
=cache_file
;;
384 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
385 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
386 cache_file
=$ac_optarg ;;
389 cache_file
=config.cache
;;
391 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
393 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
395 datadir
=$ac_optarg ;;
397 -disable-* |
--disable-*)
398 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* |
--enable-*)
407 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
414 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
420 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
421 |
--exec |
--exe |
--ex)
422 ac_prev
=exec_prefix
;;
423 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
424 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
425 |
--exec=* |
--exe=* |
--ex=*)
426 exec_prefix
=$ac_optarg ;;
428 -gas |
--gas |
--ga |
--g)
429 # Obsolete; use --with-gas.
432 -help |
--help |
--hel |
--he |
-h)
434 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
435 ac_init_help
=recursive
;;
436 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
437 ac_init_help
=short
;;
439 -host |
--host |
--hos |
--ho)
440 ac_prev
=host_alias
;;
441 -host=* |
--host=* |
--hos=* |
--ho=*)
442 host_alias
=$ac_optarg ;;
444 -includedir |
--includedir |
--includedi |
--included |
--include \
445 |
--includ |
--inclu |
--incl |
--inc)
446 ac_prev
=includedir
;;
447 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
448 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
449 includedir
=$ac_optarg ;;
451 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
453 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
454 infodir
=$ac_optarg ;;
456 -libdir |
--libdir |
--libdi |
--libd)
458 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
461 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
462 |
--libexe |
--libex |
--libe)
463 ac_prev
=libexecdir
;;
464 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
465 |
--libexe=* |
--libex=* |
--libe=*)
466 libexecdir
=$ac_optarg ;;
468 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
469 |
--localstate |
--localstat |
--localsta |
--localst \
470 |
--locals |
--local |
--loca |
--loc |
--lo)
471 ac_prev
=localstatedir
;;
472 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
473 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
474 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
475 localstatedir
=$ac_optarg ;;
477 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
479 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
483 # Obsolete; use --without-fp.
486 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
487 |
--no-cr |
--no-c |
-n)
490 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
491 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
494 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
495 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
496 |
--oldin |
--oldi |
--old |
--ol |
--o)
497 ac_prev
=oldincludedir
;;
498 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
499 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
500 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
501 oldincludedir
=$ac_optarg ;;
503 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
505 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
508 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
509 |
--program-pre |
--program-pr |
--program-p)
510 ac_prev
=program_prefix
;;
511 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
512 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
513 program_prefix
=$ac_optarg ;;
515 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
516 |
--program-suf |
--program-su |
--program-s)
517 ac_prev
=program_suffix
;;
518 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
519 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
520 program_suffix
=$ac_optarg ;;
522 -program-transform-name |
--program-transform-name \
523 |
--program-transform-nam |
--program-transform-na \
524 |
--program-transform-n |
--program-transform- \
525 |
--program-transform |
--program-transfor \
526 |
--program-transfo |
--program-transf \
527 |
--program-trans |
--program-tran \
528 |
--progr-tra |
--program-tr |
--program-t)
529 ac_prev
=program_transform_name
;;
530 -program-transform-name=* |
--program-transform-name=* \
531 |
--program-transform-nam=* |
--program-transform-na=* \
532 |
--program-transform-n=* |
--program-transform-=* \
533 |
--program-transform=* |
--program-transfor=* \
534 |
--program-transfo=* |
--program-transf=* \
535 |
--program-trans=* |
--program-tran=* \
536 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
537 program_transform_name
=$ac_optarg ;;
539 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
540 |
-silent |
--silent |
--silen |
--sile |
--sil)
543 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
545 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
547 sbindir
=$ac_optarg ;;
549 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
550 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
551 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
553 ac_prev
=sharedstatedir
;;
554 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
555 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
556 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
558 sharedstatedir
=$ac_optarg ;;
560 -site |
--site |
--sit)
562 -site=* |
--site=* |
--sit=*)
565 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
567 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
570 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
571 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
572 ac_prev
=sysconfdir
;;
573 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
574 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
575 sysconfdir
=$ac_optarg ;;
577 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
578 ac_prev
=target_alias
;;
579 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
580 target_alias
=$ac_optarg ;;
582 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
585 -version |
--version |
--versio |
--versi |
--vers |
-V)
589 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package
=`echo $ac_package| sed 's/-/_/g'`
596 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* |
--without-*)
602 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package
=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
611 # Obsolete; use --with-x.
614 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
615 |
--x-incl |
--x-inc |
--x-in |
--x-i)
616 ac_prev
=x_includes
;;
617 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
618 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
619 x_includes
=$ac_optarg ;;
621 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
622 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
623 ac_prev
=x_libraries
;;
624 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
625 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
626 x_libraries
=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
634 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
654 if test -n "$ac_prev"; then
655 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var
in exec_prefix prefix
663 eval ac_val
=$
`echo $ac_var`
665 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
671 # Be sure to have absolute paths.
672 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val
=$
`echo $ac_var`
677 [\\/$
]* | ?
:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x
; then
692 if test "x$build_alias" = x
; then
693 cross_compiling
=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
702 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
704 test "$silent" = yes && exec 6>/dev
/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted
=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir
=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
724 if test ! -r $srcdir/$ac_unique_file; then
728 ac_srcdir_defaulted
=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set
=${build_alias+set}
744 ac_env_build_alias_value
=$build_alias
745 ac_cv_env_build_alias_set
=${build_alias+set}
746 ac_cv_env_build_alias_value
=$build_alias
747 ac_env_host_alias_set
=${host_alias+set}
748 ac_env_host_alias_value
=$host_alias
749 ac_cv_env_host_alias_set
=${host_alias+set}
750 ac_cv_env_host_alias_value
=$host_alias
751 ac_env_target_alias_set
=${target_alias+set}
752 ac_env_target_alias_value
=$target_alias
753 ac_cv_env_target_alias_set
=${target_alias+set}
754 ac_cv_env_target_alias_value
=$target_alias
755 ac_env_CC_set
=${CC+set}
757 ac_cv_env_CC_set
=${CC+set}
758 ac_cv_env_CC_value
=$CC
759 ac_env_CFLAGS_set
=${CFLAGS+set}
760 ac_env_CFLAGS_value
=$CFLAGS
761 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value
=$CFLAGS
763 ac_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_env_LDFLAGS_value
=$LDFLAGS
765 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value
=$LDFLAGS
767 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
771 ac_env_CXX_set
=${CXX+set}
772 ac_env_CXX_value
=$CXX
773 ac_cv_env_CXX_set
=${CXX+set}
774 ac_cv_env_CXX_value
=$CXX
775 ac_env_CXXFLAGS_set
=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value
=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set
=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value
=$CXXFLAGS
779 ac_env_CPP_set
=${CPP+set}
780 ac_env_CPP_value
=$CPP
781 ac_cv_env_CPP_set
=${CPP+set}
782 ac_cv_env_CPP_value
=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
791 \`configure' configures Wine 20040408 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 20040408:";;
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 20040408
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 20040408, 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
3132 if test "x$ac_path_x_has_been_run" != xyes
; then
3133 echo "$as_me:$LINENO: checking for X" >&5
3134 echo $ECHO_N "checking for X... $ECHO_C" >&6
3136 ac_path_x_has_been_run
=yes
3138 # Check whether --with-x or --without-x was given.
3139 if test "${with_x+set}" = set; then
3143 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3144 if test "x$with_x" = xno
; then
3145 # The user explicitly disabled X.
3148 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3149 # Both variables are already set.
3152 if test "${ac_cv_have_x+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3155 # One or both of the vars are not set, and there is no cached value.
3156 ac_x_includes
=no ac_x_libraries
=no
3158 if mkdir conftest.dir
; then
3160 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3161 cat >Imakefile
<<'_ACEOF'
3163 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3165 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3166 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3167 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3168 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3169 for ac_extension
in a so sl
; do
3170 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3171 test -f $ac_im_libdir/libX11.
$ac_extension; then
3172 ac_im_usrlibdir
=$ac_im_libdir; break
3175 # Screen out bogus values from the imake configuration. They are
3176 # bogus both because they are the default anyway, and because
3177 # using them would break gcc on systems where it needs fixed includes.
3178 case $ac_im_incroot in
3180 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3182 case $ac_im_usrlibdir in
3184 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3191 # Standard set of common directories for X headers.
3192 # Check X11 before X11Rn because it is often a symlink to the current release.
3204 /usr/local/X11/include
3205 /usr/local/X11R6/include
3206 /usr/local/X11R5/include
3207 /usr/local/X11R4/include
3209 /usr/local/include/X11
3210 /usr/local/include/X11R6
3211 /usr/local/include/X11R5
3212 /usr/local/include/X11R4
3216 /usr/XFree86/include/X11
3220 /usr/unsupported/include
3222 /usr/local/x11r5/include
3223 /usr/lpp/Xamples/include
3225 /usr/openwin/include
3226 /usr/openwin/share/include'
3228 if test "$ac_x_includes" = no
; then
3229 # Guess where to find include files, by looking for a specified header file.
3230 # First, try using that file with no special directory specified.
3231 cat >conftest.
$ac_ext <<_ACEOF
3234 cat confdefs.h
>>conftest.
$ac_ext
3235 cat >>conftest.
$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 #include <X11/Intrinsic.h>
3239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3240 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3242 grep -v '^ *+' conftest.er1
>conftest.err
3244 cat conftest.err
>&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } >/dev
/null
; then
3247 if test -s conftest.err
; then
3248 ac_cpp_err
=$ac_c_preproc_warn_flag
3249 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3256 if test -z "$ac_cpp_err"; then
3257 # We can compile using X headers with no special include directory.
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.
$ac_ext >&5
3263 for ac_dir
in $ac_x_header_dirs; do
3264 if test -r "$ac_dir/X11/Intrinsic.h"; then
3265 ac_x_includes
=$ac_dir
3270 rm -f conftest.err conftest.
$ac_ext
3271 fi # $ac_x_includes = no
3273 if test "$ac_x_libraries" = no
; then
3274 # Check for the libraries.
3275 # See if we find them without any special options.
3276 # Don't add to $LIBS permanently.
3279 cat >conftest.
$ac_ext <<_ACEOF
3282 cat confdefs.h
>>conftest.
$ac_ext
3283 cat >>conftest.
$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 #include <X11/Intrinsic.h>
3294 rm -f conftest.
$ac_objext conftest
$ac_exeext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3296 (eval $ac_link) 2>conftest.er1
3298 grep -v '^ *+' conftest.er1
>conftest.err
3300 cat conftest.err
>&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; } &&
3309 { ac_try
='test -s conftest$ac_exeext'
3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3316 # We can link X programs with no special library path.
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.
$ac_ext >&5
3323 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3325 # Don't even attempt the hair of trying to link an X program!
3326 for ac_extension
in a so sl
; do
3327 if test -r $ac_dir/libXt.
$ac_extension; then
3328 ac_x_libraries
=$ac_dir
3334 rm -f conftest.err conftest.
$ac_objext \
3335 conftest
$ac_exeext conftest.
$ac_ext
3336 fi # $ac_x_libraries = no
3338 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3339 # Didn't find X anywhere. Cache the known absence of X.
3340 ac_cv_have_x
="have_x=no"
3342 # Record where we found X for the cache.
3343 ac_cv_have_x
="have_x=yes \
3344 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3349 eval "$ac_cv_have_x"
3352 if test "$have_x" != yes; then
3353 echo "$as_me:$LINENO: result: $have_x" >&5
3354 echo "${ECHO_T}$have_x" >&6
3357 # If each of the values was on the command line, it overrides each guess.
3358 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3359 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3360 # Update the cache value to reflect the command line values.
3361 ac_cv_have_x
="have_x=yes \
3362 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3363 # It might be that x_includes is empty (headers are found in the
3364 # standard search path. Then output the corresponding message
3365 ac_out_x_includes
=$x_includes
3366 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3367 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3368 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3372 if test "$no_x" = yes; then
3373 # Not all programs may use this symbol, but it does not hurt to define it.
3375 cat >>confdefs.h
<<\_ACEOF
3376 #define X_DISPLAY_MISSING 1
3379 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3381 if test -n "$x_includes"; then
3382 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3385 # It would also be nice to do this for all -L options, not just this one.
3386 if test -n "$x_libraries"; then
3387 X_LIBS
="$X_LIBS -L$x_libraries"
3388 # For Solaris; some versions of Sun CC require a space after -R and
3389 # others require no space. Words are not sufficient . . . .
3390 case `(uname -sr) 2>/dev/null` in
3392 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3393 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3394 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3395 cat >conftest.
$ac_ext <<_ACEOF
3398 cat confdefs.h
>>conftest.
$ac_ext
3399 cat >>conftest.
$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3410 rm -f conftest.
$ac_objext conftest
$ac_exeext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3412 (eval $ac_link) 2>conftest.er1
3414 grep -v '^ *+' conftest.er1
>conftest.err
3416 cat conftest.err
>&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try
='test -s conftest$ac_exeext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.
$ac_ext >&5
3438 rm -f conftest.err conftest.
$ac_objext \
3439 conftest
$ac_exeext conftest.
$ac_ext
3440 if test $ac_R_nospace = yes; then
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 X_LIBS
="$X_LIBS -R$x_libraries"
3445 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3446 cat >conftest.
$ac_ext <<_ACEOF
3449 cat confdefs.h
>>conftest.
$ac_ext
3450 cat >>conftest.
$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3461 rm -f conftest.
$ac_objext conftest
$ac_exeext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3463 (eval $ac_link) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1
>conftest.err
3467 cat conftest.err
>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try
='test -s conftest$ac_exeext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.
$ac_ext >&5
3489 rm -f conftest.err conftest.
$ac_objext \
3490 conftest
$ac_exeext conftest.
$ac_ext
3491 if test $ac_R_space = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 X_LIBS
="$X_LIBS -R $x_libraries"
3496 echo "$as_me:$LINENO: result: neither works" >&5
3497 echo "${ECHO_T}neither works" >&6
3504 # Check for system-dependent libraries X programs must link with.
3505 # Do this before checking for the system-independent R6 libraries
3506 # (-lICE), since we may need -lsocket or whatever for X linking.
3508 if test "$ISC" = yes; then
3509 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3511 # Martyn Johnson says this is needed for Ultrix, if the X
3512 # libraries were built with DECnet support. And Karl Berry says
3513 # the Alpha needs dnet_stub (dnet does not exist).
3514 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3515 cat >conftest.
$ac_ext <<_ACEOF
3518 cat confdefs.h
>>conftest.
$ac_ext
3519 cat >>conftest.
$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 /* Override any gcc2 internal prototype to avoid an error. */
3526 /* We use char because int might match the return type of a gcc2
3527 builtin and then its argument prototype would still apply. */
3528 char XOpenDisplay ();
3537 rm -f conftest.
$ac_objext conftest
$ac_exeext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3539 (eval $ac_link) 2>conftest.er1
3541 grep -v '^ *+' conftest.er1
>conftest.err
3543 cat conftest.err
>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try
='test -s conftest$ac_exeext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.
$ac_ext >&5
3563 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3564 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3565 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3568 ac_check_lib_save_LIBS
=$LIBS
3570 cat >conftest.
$ac_ext <<_ACEOF
3573 cat confdefs.h
>>conftest.
$ac_ext
3574 cat >>conftest.
$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3577 /* Override any gcc2 internal prototype to avoid an error. */
3581 /* We use char because int might match the return type of a gcc2
3582 builtin and then its argument prototype would still apply. */
3592 rm -f conftest.
$ac_objext conftest
$ac_exeext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594 (eval $ac_link) 2>conftest.er1
3596 grep -v '^ *+' conftest.er1
>conftest.err
3598 cat conftest.err
>&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }; } &&
3607 { ac_try
='test -s conftest$ac_exeext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_cv_lib_dnet_dnet_ntoa
=yes
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.
$ac_ext >&5
3618 ac_cv_lib_dnet_dnet_ntoa
=no
3620 rm -f conftest.err conftest.
$ac_objext \
3621 conftest
$ac_exeext conftest.
$ac_ext
3622 LIBS
=$ac_check_lib_save_LIBS
3624 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3625 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3626 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3627 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3630 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3631 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3632 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3633 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 ac_check_lib_save_LIBS
=$LIBS
3637 LIBS
="-ldnet_stub $LIBS"
3638 cat >conftest.
$ac_ext <<_ACEOF
3641 cat confdefs.h
>>conftest.
$ac_ext
3642 cat >>conftest.
$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3645 /* Override any gcc2 internal prototype to avoid an error. */
3649 /* We use char because int might match the return type of a gcc2
3650 builtin and then its argument prototype would still apply. */
3660 rm -f conftest.
$ac_objext conftest
$ac_exeext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3662 (eval $ac_link) 2>conftest.er1
3664 grep -v '^ *+' conftest.er1
>conftest.err
3666 cat conftest.err
>&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }; } &&
3675 { ac_try
='test -s conftest$ac_exeext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.
$ac_ext >&5
3686 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3688 rm -f conftest.err conftest.
$ac_objext \
3689 conftest
$ac_exeext conftest.
$ac_ext
3690 LIBS
=$ac_check_lib_save_LIBS
3692 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3693 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3694 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3695 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3700 rm -f conftest.err conftest.
$ac_objext \
3701 conftest
$ac_exeext conftest.
$ac_ext
3702 LIBS
="$ac_xsave_LIBS"
3704 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3705 # to get the SysV transport functions.
3706 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3708 # The nsl library prevents programs from opening the X display
3709 # on Irix 5.2, according to T.E. Dickey.
3710 # The functions gethostbyname, getservbyname, and inet_addr are
3711 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3712 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3713 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3714 if test "${ac_cv_func_gethostbyname+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3717 cat >conftest.
$ac_ext <<_ACEOF
3720 cat confdefs.h
>>conftest.
$ac_ext
3721 cat >>conftest.
$ac_ext <<_ACEOF
3722 /* end confdefs.h. */
3723 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3725 #define gethostbyname innocuous_gethostbyname
3727 /* System header to define __stub macros and hopefully few prototypes,
3728 which can conflict with char gethostbyname (); below.
3729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730 <limits.h> exists even on freestanding compilers. */
3733 # include <limits.h>
3735 # include <assert.h>
3738 #undef gethostbyname
3740 /* Override any gcc2 internal prototype to avoid an error. */
3745 /* We use char because int might match the return type of a gcc2
3746 builtin and then its argument prototype would still apply. */
3747 char gethostbyname ();
3748 /* The GNU C library defines this for functions which it implements
3749 to always fail with ENOSYS. Some functions are actually named
3750 something starting with __ and the normal name is an alias. */
3751 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3754 char (*f) () = gethostbyname;
3763 return f != gethostbyname;
3768 rm -f conftest.
$ac_objext conftest
$ac_exeext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3770 (eval $ac_link) 2>conftest.er1
3772 grep -v '^ *+' conftest.er1
>conftest.err
3774 cat conftest.err
>&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try
='test -s conftest$ac_exeext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_cv_func_gethostbyname
=yes
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.
$ac_ext >&5
3794 ac_cv_func_gethostbyname
=no
3796 rm -f conftest.err conftest.
$ac_objext \
3797 conftest
$ac_exeext conftest.
$ac_ext
3799 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3800 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3802 if test $ac_cv_func_gethostbyname = no
; then
3803 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3804 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3805 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 ac_check_lib_save_LIBS
=$LIBS
3810 cat >conftest.
$ac_ext <<_ACEOF
3813 cat confdefs.h
>>conftest.
$ac_ext
3814 cat >>conftest.
$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3817 /* Override any gcc2 internal prototype to avoid an error. */
3821 /* We use char because int might match the return type of a gcc2
3822 builtin and then its argument prototype would still apply. */
3823 char gethostbyname ();
3832 rm -f conftest.
$ac_objext conftest
$ac_exeext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3834 (eval $ac_link) 2>conftest.er1
3836 grep -v '^ *+' conftest.er1
>conftest.err
3838 cat conftest.err
>&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } &&
3841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; } &&
3847 { ac_try
='test -s conftest$ac_exeext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3853 ac_cv_lib_nsl_gethostbyname
=yes
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.
$ac_ext >&5
3858 ac_cv_lib_nsl_gethostbyname
=no
3860 rm -f conftest.err conftest.
$ac_objext \
3861 conftest
$ac_exeext conftest.
$ac_ext
3862 LIBS
=$ac_check_lib_save_LIBS
3864 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3865 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3866 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3870 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3871 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3872 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3873 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3876 ac_check_lib_save_LIBS
=$LIBS
3878 cat >conftest.
$ac_ext <<_ACEOF
3881 cat confdefs.h
>>conftest.
$ac_ext
3882 cat >>conftest.
$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3885 /* Override any gcc2 internal prototype to avoid an error. */
3889 /* We use char because int might match the return type of a gcc2
3890 builtin and then its argument prototype would still apply. */
3891 char gethostbyname ();
3900 rm -f conftest.
$ac_objext conftest
$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>conftest.er1
3904 grep -v '^ *+' conftest.er1
>conftest.err
3906 cat conftest.err
>&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try
='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_bsd_gethostbyname
=yes
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.
$ac_ext >&5
3926 ac_cv_lib_bsd_gethostbyname
=no
3928 rm -f conftest.err conftest.
$ac_objext \
3929 conftest
$ac_exeext conftest.
$ac_ext
3930 LIBS
=$ac_check_lib_save_LIBS
3932 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3933 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3934 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3935 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3941 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3942 # socket/setsockopt and other routines are undefined under SCO ODT
3943 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3944 # on later versions), says Simon Leinen: it contains gethostby*
3945 # variants that don't use the name server (or something). -lsocket
3946 # must be given before -lnsl if both are needed. We assume that
3947 # if connect needs -lnsl, so does gethostbyname.
3948 echo "$as_me:$LINENO: checking for connect" >&5
3949 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3950 if test "${ac_cv_func_connect+set}" = set; then
3951 echo $ECHO_N "(cached) $ECHO_C" >&6
3953 cat >conftest.
$ac_ext <<_ACEOF
3956 cat confdefs.h
>>conftest.
$ac_ext
3957 cat >>conftest.
$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3959 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3961 #define connect innocuous_connect
3963 /* System header to define __stub macros and hopefully few prototypes,
3964 which can conflict with char connect (); below.
3965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966 <limits.h> exists even on freestanding compilers. */
3969 # include <limits.h>
3971 # include <assert.h>
3976 /* Override any gcc2 internal prototype to avoid an error. */
3981 /* We use char because int might match the return type of a gcc2
3982 builtin and then its argument prototype would still apply. */
3984 /* The GNU C library defines this for functions which it implements
3985 to always fail with ENOSYS. Some functions are actually named
3986 something starting with __ and the normal name is an alias. */
3987 #if defined (__stub_connect) || defined (__stub___connect)
3990 char (*f) () = connect;
3999 return f != connect;
4004 rm -f conftest.
$ac_objext conftest
$ac_exeext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4006 (eval $ac_link) 2>conftest.er1
4008 grep -v '^ *+' conftest.er1
>conftest.err
4010 cat conftest.err
>&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try
='test -s conftest$ac_exeext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 ac_cv_func_connect
=yes
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.
$ac_ext >&5
4030 ac_cv_func_connect
=no
4032 rm -f conftest.err conftest.
$ac_objext \
4033 conftest
$ac_exeext conftest.
$ac_ext
4035 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4036 echo "${ECHO_T}$ac_cv_func_connect" >&6
4038 if test $ac_cv_func_connect = no
; then
4039 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4040 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4041 if test "${ac_cv_lib_socket_connect+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4044 ac_check_lib_save_LIBS
=$LIBS
4045 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4046 cat >conftest.
$ac_ext <<_ACEOF
4049 cat confdefs.h
>>conftest.
$ac_ext
4050 cat >>conftest.
$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4053 /* Override any gcc2 internal prototype to avoid an error. */
4057 /* We use char because int might match the return type of a gcc2
4058 builtin and then its argument prototype would still apply. */
4068 rm -f conftest.
$ac_objext conftest
$ac_exeext
4069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070 (eval $ac_link) 2>conftest.er1
4072 grep -v '^ *+' conftest.er1
>conftest.err
4074 cat conftest.err
>&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } &&
4077 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; } &&
4083 { ac_try
='test -s conftest$ac_exeext'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; }; then
4089 ac_cv_lib_socket_connect
=yes
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.
$ac_ext >&5
4094 ac_cv_lib_socket_connect
=no
4096 rm -f conftest.err conftest.
$ac_objext \
4097 conftest
$ac_exeext conftest.
$ac_ext
4098 LIBS
=$ac_check_lib_save_LIBS
4100 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4101 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4102 if test $ac_cv_lib_socket_connect = yes; then
4103 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4108 # Guillermo Gomez says -lposix is necessary on A/UX.
4109 echo "$as_me:$LINENO: checking for remove" >&5
4110 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4111 if test "${ac_cv_func_remove+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4114 cat >conftest.
$ac_ext <<_ACEOF
4117 cat confdefs.h
>>conftest.
$ac_ext
4118 cat >>conftest.
$ac_ext <<_ACEOF
4119 /* end confdefs.h. */
4120 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4122 #define remove innocuous_remove
4124 /* System header to define __stub macros and hopefully few prototypes,
4125 which can conflict with char remove (); below.
4126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 <limits.h> exists even on freestanding compilers. */
4130 # include <limits.h>
4132 # include <assert.h>
4137 /* Override any gcc2 internal prototype to avoid an error. */
4142 /* We use char because int might match the return type of a gcc2
4143 builtin and then its argument prototype would still apply. */
4145 /* The GNU C library defines this for functions which it implements
4146 to always fail with ENOSYS. Some functions are actually named
4147 something starting with __ and the normal name is an alias. */
4148 #if defined (__stub_remove) || defined (__stub___remove)
4151 char (*f) () = remove;
4165 rm -f conftest.
$ac_objext conftest
$ac_exeext
4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4167 (eval $ac_link) 2>conftest.er1
4169 grep -v '^ *+' conftest.er1
>conftest.err
4171 cat conftest.err
>&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } &&
4174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; } &&
4180 { ac_try
='test -s conftest$ac_exeext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 ac_cv_func_remove
=yes
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.
$ac_ext >&5
4191 ac_cv_func_remove
=no
4193 rm -f conftest.err conftest.
$ac_objext \
4194 conftest
$ac_exeext conftest.
$ac_ext
4196 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4197 echo "${ECHO_T}$ac_cv_func_remove" >&6
4199 if test $ac_cv_func_remove = no
; then
4200 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4201 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4202 if test "${ac_cv_lib_posix_remove+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_check_lib_save_LIBS
=$LIBS
4206 LIBS
="-lposix $LIBS"
4207 cat >conftest.
$ac_ext <<_ACEOF
4210 cat confdefs.h
>>conftest.
$ac_ext
4211 cat >>conftest.
$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4214 /* Override any gcc2 internal prototype to avoid an error. */
4218 /* We use char because int might match the return type of a gcc2
4219 builtin and then its argument prototype would still apply. */
4229 rm -f conftest.
$ac_objext conftest
$ac_exeext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231 (eval $ac_link) 2>conftest.er1
4233 grep -v '^ *+' conftest.er1
>conftest.err
4235 cat conftest.err
>&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } &&
4238 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try
='test -s conftest$ac_exeext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4250 ac_cv_lib_posix_remove
=yes
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.
$ac_ext >&5
4255 ac_cv_lib_posix_remove
=no
4257 rm -f conftest.err conftest.
$ac_objext \
4258 conftest
$ac_exeext conftest.
$ac_ext
4259 LIBS
=$ac_check_lib_save_LIBS
4261 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4262 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4263 if test $ac_cv_lib_posix_remove = yes; then
4264 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4269 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4270 echo "$as_me:$LINENO: checking for shmat" >&5
4271 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4272 if test "${ac_cv_func_shmat+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4275 cat >conftest.
$ac_ext <<_ACEOF
4278 cat confdefs.h
>>conftest.
$ac_ext
4279 cat >>conftest.
$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4281 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4283 #define shmat innocuous_shmat
4285 /* System header to define __stub macros and hopefully few prototypes,
4286 which can conflict with char shmat (); below.
4287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4288 <limits.h> exists even on freestanding compilers. */
4291 # include <limits.h>
4293 # include <assert.h>
4298 /* Override any gcc2 internal prototype to avoid an error. */
4303 /* We use char because int might match the return type of a gcc2
4304 builtin and then its argument prototype would still apply. */
4306 /* The GNU C library defines this for functions which it implements
4307 to always fail with ENOSYS. Some functions are actually named
4308 something starting with __ and the normal name is an alias. */
4309 #if defined (__stub_shmat) || defined (__stub___shmat)
4312 char (*f) () = shmat;
4326 rm -f conftest.
$ac_objext conftest
$ac_exeext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4328 (eval $ac_link) 2>conftest.er1
4330 grep -v '^ *+' conftest.er1
>conftest.err
4332 cat conftest.err
>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } &&
4335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; } &&
4341 { ac_try
='test -s conftest$ac_exeext'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_cv_func_shmat
=yes
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.
$ac_ext >&5
4354 rm -f conftest.err conftest.
$ac_objext \
4355 conftest
$ac_exeext conftest.
$ac_ext
4357 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4358 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4360 if test $ac_cv_func_shmat = no
; then
4361 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4362 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4363 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4366 ac_check_lib_save_LIBS
=$LIBS
4368 cat >conftest.
$ac_ext <<_ACEOF
4371 cat confdefs.h
>>conftest.
$ac_ext
4372 cat >>conftest.
$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4375 /* Override any gcc2 internal prototype to avoid an error. */
4379 /* We use char because int might match the return type of a gcc2
4380 builtin and then its argument prototype would still apply. */
4390 rm -f conftest.
$ac_objext conftest
$ac_exeext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4392 (eval $ac_link) 2>conftest.er1
4394 grep -v '^ *+' conftest.er1
>conftest.err
4396 cat conftest.err
>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; } &&
4405 { ac_try
='test -s conftest$ac_exeext'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4411 ac_cv_lib_ipc_shmat
=yes
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4416 ac_cv_lib_ipc_shmat
=no
4418 rm -f conftest.err conftest.
$ac_objext \
4419 conftest
$ac_exeext conftest.
$ac_ext
4420 LIBS
=$ac_check_lib_save_LIBS
4422 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4423 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4424 if test $ac_cv_lib_ipc_shmat = yes; then
4425 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4431 # Check for libraries that X11R6 Xt/Xaw programs need.
4432 ac_save_LDFLAGS
=$LDFLAGS
4433 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4435 # check for ICE first), but we must link in the order -lSM -lICE or
4436 # we get undefined symbols. So assume we have SM if we have ICE.
4437 # These have to be linked with before -lX11, unlike the other
4438 # libraries we check for below, so use a different variable.
4439 # John Interrante, Karl Berry
4440 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4441 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4442 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4445 ac_check_lib_save_LIBS
=$LIBS
4446 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4447 cat >conftest.
$ac_ext <<_ACEOF
4450 cat confdefs.h
>>conftest.
$ac_ext
4451 cat >>conftest.
$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4454 /* Override any gcc2 internal prototype to avoid an error. */
4458 /* We use char because int might match the return type of a gcc2
4459 builtin and then its argument prototype would still apply. */
4460 char IceConnectionNumber ();
4464 IceConnectionNumber ();
4469 rm -f conftest.
$ac_objext conftest
$ac_exeext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4471 (eval $ac_link) 2>conftest.er1
4473 grep -v '^ *+' conftest.er1
>conftest.err
4475 cat conftest.err
>&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; } &&
4484 { ac_try
='test -s conftest$ac_exeext'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 ac_cv_lib_ICE_IceConnectionNumber
=yes
4492 echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.
$ac_ext >&5
4495 ac_cv_lib_ICE_IceConnectionNumber
=no
4497 rm -f conftest.err conftest.
$ac_objext \
4498 conftest
$ac_exeext conftest.
$ac_ext
4499 LIBS
=$ac_check_lib_save_LIBS
4501 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4502 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4503 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4504 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4507 LDFLAGS
=$ac_save_LDFLAGS
4511 for ac_prog
in flex
lex
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy
$ac_prog; ac_word
=$2
4515 echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4517 if test "${ac_cv_prog_LEX+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4520 if test -n "$LEX"; then
4521 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4523 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4527 test -z "$as_dir" && as_dir
=.
4528 for ac_exec_ext
in '' $ac_executable_extensions; do
4529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4530 ac_cv_prog_LEX
="$ac_prog"
4531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4540 if test -n "$LEX"; then
4541 echo "$as_me:$LINENO: result: $LEX" >&5
4542 echo "${ECHO_T}$LEX" >&6
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4548 test -n "$LEX" && break
4550 test -n "$LEX" || LEX
=":"
4552 if test -z "$LEXLIB"
4554 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4555 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4556 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4559 ac_check_lib_save_LIBS
=$LIBS
4561 cat >conftest.
$ac_ext <<_ACEOF
4564 cat confdefs.h
>>conftest.
$ac_ext
4565 cat >>conftest.
$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4568 /* Override any gcc2 internal prototype to avoid an error. */
4572 /* We use char because int might match the return type of a gcc2
4573 builtin and then its argument prototype would still apply. */
4583 rm -f conftest.
$ac_objext conftest
$ac_exeext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4585 (eval $ac_link) 2>conftest.er1
4587 grep -v '^ *+' conftest.er1
>conftest.err
4589 cat conftest.err
>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; } &&
4598 { ac_try
='test -s conftest$ac_exeext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4604 ac_cv_lib_fl_yywrap
=yes
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.
$ac_ext >&5
4609 ac_cv_lib_fl_yywrap
=no
4611 rm -f conftest.err conftest.
$ac_objext \
4612 conftest
$ac_exeext conftest.
$ac_ext
4613 LIBS
=$ac_check_lib_save_LIBS
4615 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4616 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4617 if test $ac_cv_lib_fl_yywrap = yes; then
4620 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4621 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4622 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4625 ac_check_lib_save_LIBS
=$LIBS
4627 cat >conftest.
$ac_ext <<_ACEOF
4630 cat confdefs.h
>>conftest.
$ac_ext
4631 cat >>conftest.
$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4634 /* Override any gcc2 internal prototype to avoid an error. */
4638 /* We use char because int might match the return type of a gcc2
4639 builtin and then its argument prototype would still apply. */
4649 rm -f conftest.
$ac_objext conftest
$ac_exeext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4651 (eval $ac_link) 2>conftest.er1
4653 grep -v '^ *+' conftest.er1
>conftest.err
4655 cat conftest.err
>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; } &&
4664 { ac_try
='test -s conftest$ac_exeext'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_l_yywrap
=yes
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.
$ac_ext >&5
4675 ac_cv_lib_l_yywrap
=no
4677 rm -f conftest.err conftest.
$ac_objext \
4678 conftest
$ac_exeext conftest.
$ac_ext
4679 LIBS
=$ac_check_lib_save_LIBS
4681 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4682 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4683 if test $ac_cv_lib_l_yywrap = yes; then
4691 if test "x$LEX" != "x:"; then
4692 echo "$as_me:$LINENO: checking lex output file root" >&5
4693 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4694 if test "${ac_cv_prog_lex_root+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 # The minimal lex program is just a single line: %%. But some broken lexes
4698 # (Solaris, I think it was) want two %% lines, so accommodate them.
4699 cat >conftest.l
<<_ACEOF
4703 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4704 (eval $LEX conftest.l
) 2>&5
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }
4708 if test -f lex.yy.c
; then
4709 ac_cv_prog_lex_root
=lex.yy
4710 elif test -f lexyy.c
; then
4711 ac_cv_prog_lex_root
=lexyy
4713 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4714 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4715 { (exit 1); exit 1; }; }
4718 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4719 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4721 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4723 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4724 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4725 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4728 # POSIX says lex can declare yytext either as a pointer or an array; the
4729 # default is implementation-dependent. Figure out which it is, since
4730 # not all implementations provide the %pointer and %array declarations.
4731 ac_cv_prog_lex_yytext_pointer
=no
4732 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4734 LIBS
="$LIBS $LEXLIB"
4735 cat >conftest.
$ac_ext <<_ACEOF
4736 `cat $LEX_OUTPUT_ROOT.c`
4738 rm -f conftest.
$ac_objext conftest
$ac_exeext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4740 (eval $ac_link) 2>conftest.er1
4742 grep -v '^ *+' conftest.er1
>conftest.err
4744 cat conftest.err
>&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try
='test -s conftest$ac_exeext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_cv_prog_lex_yytext_pointer
=yes
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.
$ac_ext >&5
4765 rm -f conftest.err conftest.
$ac_objext \
4766 conftest
$ac_exeext conftest.
$ac_ext
4768 rm -f "${LEX_OUTPUT_ROOT}.c"
4771 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4772 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4773 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4775 cat >>confdefs.h
<<\_ACEOF
4776 #define YYTEXT_POINTER 1
4783 for ac_prog
in $LEX flex
lex
4785 # Extract the first word of "$ac_prog", so it can be a program name with args.
4786 set dummy
$ac_prog; ac_word
=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_prog_XLEX+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4792 if test -n "$XLEX"; then
4793 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4795 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4799 test -z "$as_dir" && as_dir
=.
4800 for ac_exec_ext
in '' $ac_executable_extensions; do
4801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_XLEX
="$ac_prog"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 XLEX
=$ac_cv_prog_XLEX
4812 if test -n "$XLEX"; then
4813 echo "$as_me:$LINENO: result: $XLEX" >&5
4814 echo "${ECHO_T}$XLEX" >&6
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 test -n "$XLEX" && break
4822 test -n "$XLEX" || XLEX
="none"
4824 if test "$XLEX" = "none"
4826 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4827 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4828 { (exit 1); exit 1; }; }
4831 for ac_prog
in bison
4833 # Extract the first word of "$ac_prog", so it can be a program name with args.
4834 set dummy
$ac_prog; ac_word
=$2
4835 echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4837 if test "${ac_cv_prog_BISON+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4840 if test -n "$BISON"; then
4841 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4850 ac_cv_prog_BISON
="$ac_prog"
4851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 BISON
=$ac_cv_prog_BISON
4860 if test -n "$BISON"; then
4861 echo "$as_me:$LINENO: result: $BISON" >&5
4862 echo "${ECHO_T}$BISON" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 test -n "$BISON" && break
4870 test -n "$BISON" || BISON
="none"
4872 if test "$BISON" = "none"
4874 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4875 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4876 { (exit 1); exit 1; }; }
4879 if test -n "$ac_tool_prefix"; then
4880 for ac_prog
in gas as
4882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4883 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4884 echo "$as_me:$LINENO: checking for $ac_word" >&5
4885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4886 if test "${ac_cv_prog_AS+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4889 if test -n "$AS"; then
4890 ac_cv_prog_AS
="$AS" # Let the user override the test.
4892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4896 test -z "$as_dir" && as_dir
=.
4897 for ac_exec_ext
in '' $ac_executable_extensions; do
4898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4909 if test -n "$AS"; then
4910 echo "$as_me:$LINENO: result: $AS" >&5
4911 echo "${ECHO_T}$AS" >&6
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4917 test -n "$AS" && break
4920 if test -z "$AS"; then
4922 for ac_prog
in gas as
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy
$ac_prog; ac_word
=$2
4926 echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_AS
="$ac_prog"
4942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4950 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4951 if test -n "$ac_ct_AS"; then
4952 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4953 echo "${ECHO_T}$ac_ct_AS" >&6
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4959 test -n "$ac_ct_AS" && break
4961 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4966 if test -n "$ac_tool_prefix"; then
4967 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4968 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4969 echo "$as_me:$LINENO: checking for $ac_word" >&5
4970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4971 if test "${ac_cv_prog_LD+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4974 if test -n "$LD"; then
4975 ac_cv_prog_LD
="$LD" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_LD
="${ac_tool_prefix}ld"
4985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 if test -n "$LD"; then
4995 echo "$as_me:$LINENO: result: $LD" >&5
4996 echo "${ECHO_T}$LD" >&6
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5003 if test -z "$ac_cv_prog_LD"; then
5005 # Extract the first word of "ld", so it can be a program name with args.
5006 set dummy ld
; ac_word
=$2
5007 echo "$as_me:$LINENO: checking for $ac_word" >&5
5008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5009 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5012 if test -n "$ac_ct_LD"; then
5013 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5022 ac_cv_prog_ac_ct_LD
="ld"
5023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5032 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5033 if test -n "$ac_ct_LD"; then
5034 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5035 echo "${ECHO_T}$ac_ct_LD" >&6
5037 echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6
5046 if test -n "$ac_tool_prefix"; then
5047 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5048 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5049 echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5051 if test "${ac_cv_prog_AR+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5054 if test -n "$AR"; then
5055 ac_cv_prog_AR
="$AR" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 if test -n "$AR"; then
5075 echo "$as_me:$LINENO: result: $AR" >&5
5076 echo "${ECHO_T}$AR" >&6
5078 echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6
5083 if test -z "$ac_cv_prog_AR"; then
5085 # Extract the first word of "ar", so it can be a program name with args.
5086 set dummy
ar; ac_word
=$2
5087 echo "$as_me:$LINENO: checking for $ac_word" >&5
5088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5092 if test -n "$ac_ct_AR"; then
5093 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5099 test -z "$as_dir" && as_dir
=.
5100 for ac_exec_ext
in '' $ac_executable_extensions; do
5101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_ac_ct_AR
="ar"
5103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5109 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5112 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5113 if test -n "$ac_ct_AR"; then
5114 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5115 echo "${ECHO_T}$ac_ct_AR" >&6
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5141 test -z "$as_dir" && as_dir
=.
5142 for ac_exec_ext
in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5153 RANLIB
=$ac_cv_prog_RANLIB
5154 if test -n "$RANLIB"; then
5155 echo "$as_me:$LINENO: result: $RANLIB" >&5
5156 echo "${ECHO_T}$RANLIB" >&6
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5163 if test -z "$ac_cv_prog_RANLIB"; then
5164 ac_ct_RANLIB
=$RANLIB
5165 # Extract the first word of "ranlib", so it can be a program name with args.
5166 set dummy ranlib
; ac_word
=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5172 if test -n "$ac_ct_RANLIB"; then
5173 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5175 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5179 test -z "$as_dir" && as_dir
=.
5180 for ac_exec_ext
in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5189 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5192 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5193 if test -n "$ac_ct_RANLIB"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5195 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 RANLIB
=$ac_ct_RANLIB
5203 RANLIB
="$ac_cv_prog_RANLIB"
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5208 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5209 echo "$as_me:$LINENO: checking for $ac_word" >&5
5210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5211 if test "${ac_cv_prog_STRIP+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5214 if test -n "$STRIP"; then
5215 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5221 test -z "$as_dir" && as_dir
=.
5222 for ac_exec_ext
in '' $ac_executable_extensions; do
5223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 STRIP
=$ac_cv_prog_STRIP
5234 if test -n "$STRIP"; then
5235 echo "$as_me:$LINENO: result: $STRIP" >&5
5236 echo "${ECHO_T}$STRIP" >&6
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5243 if test -z "$ac_cv_prog_STRIP"; then
5245 # Extract the first word of "strip", so it can be a program name with args.
5246 set dummy strip
; ac_word
=$2
5247 echo "$as_me:$LINENO: checking for $ac_word" >&5
5248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5249 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5252 if test -n "$ac_ct_STRIP"; then
5253 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5259 test -z "$as_dir" && as_dir
=.
5260 for ac_exec_ext
in '' $ac_executable_extensions; do
5261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_STRIP
="strip"
5263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5269 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5272 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5273 if test -n "$ac_ct_STRIP"; then
5274 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5275 echo "${ECHO_T}$ac_ct_STRIP" >&6
5277 echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6
5283 STRIP
="$ac_cv_prog_STRIP"
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5288 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5289 echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5291 if test "${ac_cv_prog_WINDRES+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5294 if test -n "$WINDRES"; then
5295 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5301 test -z "$as_dir" && as_dir
=.
5302 for ac_exec_ext
in '' $ac_executable_extensions; do
5303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5313 WINDRES
=$ac_cv_prog_WINDRES
5314 if test -n "$WINDRES"; then
5315 echo "$as_me:$LINENO: result: $WINDRES" >&5
5316 echo "${ECHO_T}$WINDRES" >&6
5318 echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6
5323 if test -z "$ac_cv_prog_WINDRES"; then
5324 ac_ct_WINDRES
=$WINDRES
5325 # Extract the first word of "windres", so it can be a program name with args.
5326 set dummy windres
; ac_word
=$2
5327 echo "$as_me:$LINENO: checking for $ac_word" >&5
5328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5329 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5332 if test -n "$ac_ct_WINDRES"; then
5333 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5335 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5339 test -z "$as_dir" && as_dir
=.
5340 for ac_exec_ext
in '' $ac_executable_extensions; do
5341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_ac_ct_WINDRES
="windres"
5343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5349 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5352 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5353 if test -n "$ac_ct_WINDRES"; then
5354 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5355 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5357 echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6
5361 WINDRES
=$ac_ct_WINDRES
5363 WINDRES
="$ac_cv_prog_WINDRES"
5366 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5367 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5369 if test "$LN_S" = "ln -s"; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5373 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5374 echo "${ECHO_T}no, using $LN_S" >&6
5377 echo "$as_me:$LINENO: checking whether ln works" >&5
5378 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5379 rm -f conf$$ conf$$.
file
5381 if ln conf$$.
file conf$$
2>/dev
/null
; then
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5389 echo "$as_me:$LINENO: result: no, using $LN" >&5
5390 echo "${ECHO_T}no, using $LN" >&6
5392 rm -f conf$$ conf$$.
file
5393 # Extract the first word of "ldconfig", so it can be a program name with args.
5394 set dummy ldconfig
; ac_word
=$2
5395 echo "$as_me:$LINENO: checking for $ac_word" >&5
5396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5397 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5398 echo $ECHO_N "(cached) $ECHO_C" >&6
5402 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5406 for as_dir
in /sbin
/usr
/sbin
$PATH
5409 test -z "$as_dir" && as_dir
=.
5410 for ac_exec_ext
in '' $ac_executable_extensions; do
5411 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5413 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5423 LDCONFIG
=$ac_cv_path_LDCONFIG
5425 if test -n "$LDCONFIG"; then
5426 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5427 echo "${ECHO_T}$LDCONFIG" >&6
5429 echo "$as_me:$LINENO: result: no" >&5
5430 echo "${ECHO_T}no" >&6
5433 # Find a good install program. We prefer a C program (faster),
5434 # so one script is as good as another. But avoid the broken or
5435 # incompatible versions:
5436 # SysV /etc/install, /usr/sbin/install
5437 # SunOS /usr/etc/install
5438 # IRIX /sbin/install
5440 # AmigaOS /C/install, which installs bootblocks on floppy discs
5441 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5442 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5443 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5444 # OS/2's system install, which has a completely different semantic
5445 # ./install, which can be erroneously created by make from ./install.sh.
5446 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5447 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5448 if test -z "$INSTALL"; then
5449 if test "${ac_cv_path_install+set}" = set; then
5450 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5456 test -z "$as_dir" && as_dir
=.
5457 # Account for people who put trailing slashes in PATH elements.
5459 .
/ | .
// |
/cC
/* | \
5460 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5461 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5464 # OSF1 and SCO ODT 3.0 have their own names for install.
5465 # Don't use installbsd from OSF since it installs stuff as root
5467 for ac_prog
in ginstall scoinst
install; do
5468 for ac_exec_ext
in '' $ac_executable_extensions; do
5469 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5470 if test $ac_prog = install &&
5471 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5472 # AIX install. It has an incompatible calling convention.
5474 elif test $ac_prog = install &&
5475 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5476 # program-specific install script used by HP pwplus--don't use.
5479 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5491 if test "${ac_cv_path_install+set}" = set; then
5492 INSTALL
=$ac_cv_path_install
5494 # As a last resort, use the slow shell script. We don't cache a
5495 # path for INSTALL within a source directory, because that will
5496 # break other packages using the cache if that directory is
5497 # removed, or if the path is relative.
5498 INSTALL
=$ac_install_sh
5501 echo "$as_me:$LINENO: result: $INSTALL" >&5
5502 echo "${ECHO_T}$INSTALL" >&6
5504 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5505 # It thinks the first close brace ends the variable substitution.
5506 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5508 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5510 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5513 [\\/$
]* | ?
:[\\/]* ) ;;
5514 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5517 for ac_prog
in lclint lint
5519 # Extract the first word of "$ac_prog", so it can be a program name with args.
5520 set dummy
$ac_prog; ac_word
=$2
5521 echo "$as_me:$LINENO: checking for $ac_word" >&5
5522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5523 if test "${ac_cv_prog_LINT+set}" = set; then
5524 echo $ECHO_N "(cached) $ECHO_C" >&6
5526 if test -n "$LINT"; then
5527 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5529 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir
=.
5534 for ac_exec_ext
in '' $ac_executable_extensions; do
5535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5536 ac_cv_prog_LINT
="$ac_prog"
5537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5545 LINT
=$ac_cv_prog_LINT
5546 if test -n "$LINT"; then
5547 echo "$as_me:$LINENO: result: $LINT" >&5
5548 echo "${ECHO_T}$LINT" >&6
5550 echo "$as_me:$LINENO: result: no" >&5
5551 echo "${ECHO_T}no" >&6
5554 test -n "$LINT" && break
5557 if test "$LINT" = "lint"
5559 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5564 for ac_prog
in docbook2html db2html
5566 # Extract the first word of "$ac_prog", so it can be a program name with args.
5567 set dummy
$ac_prog; ac_word
=$2
5568 echo "$as_me:$LINENO: checking for $ac_word" >&5
5569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5570 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5571 echo $ECHO_N "(cached) $ECHO_C" >&6
5573 if test -n "$DB2HTML"; then
5574 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5576 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5580 test -z "$as_dir" && as_dir
=.
5581 for ac_exec_ext
in '' $ac_executable_extensions; do
5582 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5583 ac_cv_prog_DB2HTML
="$ac_prog"
5584 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 DB2HTML
=$ac_cv_prog_DB2HTML
5593 if test -n "$DB2HTML"; then
5594 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5595 echo "${ECHO_T}$DB2HTML" >&6
5597 echo "$as_me:$LINENO: result: no" >&5
5598 echo "${ECHO_T}no" >&6
5601 test -n "$DB2HTML" && break
5603 test -n "$DB2HTML" || DB2HTML
="false"
5607 for ac_prog
in docbook2pdf db2pdf
5609 # Extract the first word of "$ac_prog", so it can be a program name with args.
5610 set dummy
$ac_prog; ac_word
=$2
5611 echo "$as_me:$LINENO: checking for $ac_word" >&5
5612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5613 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5614 echo $ECHO_N "(cached) $ECHO_C" >&6
5616 if test -n "$DB2PDF"; then
5617 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5619 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5623 test -z "$as_dir" && as_dir
=.
5624 for ac_exec_ext
in '' $ac_executable_extensions; do
5625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5626 ac_cv_prog_DB2PDF
="$ac_prog"
5627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5635 DB2PDF
=$ac_cv_prog_DB2PDF
5636 if test -n "$DB2PDF"; then
5637 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5638 echo "${ECHO_T}$DB2PDF" >&6
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5644 test -n "$DB2PDF" && break
5646 test -n "$DB2PDF" || DB2PDF
="false"
5650 for ac_prog
in docbook2ps db2ps
5652 # Extract the first word of "$ac_prog", so it can be a program name with args.
5653 set dummy
$ac_prog; ac_word
=$2
5654 echo "$as_me:$LINENO: checking for $ac_word" >&5
5655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5656 if test "${ac_cv_prog_DB2PS+set}" = set; then
5657 echo $ECHO_N "(cached) $ECHO_C" >&6
5659 if test -n "$DB2PS"; then
5660 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5666 test -z "$as_dir" && as_dir
=.
5667 for ac_exec_ext
in '' $ac_executable_extensions; do
5668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_DB2PS
="$ac_prog"
5670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5678 DB2PS
=$ac_cv_prog_DB2PS
5679 if test -n "$DB2PS"; then
5680 echo "$as_me:$LINENO: result: $DB2PS" >&5
5681 echo "${ECHO_T}$DB2PS" >&6
5683 echo "$as_me:$LINENO: result: no" >&5
5684 echo "${ECHO_T}no" >&6
5687 test -n "$DB2PS" && break
5689 test -n "$DB2PS" || DB2PS
="false"
5693 for ac_prog
in docbook2txt db2txt
5695 # Extract the first word of "$ac_prog", so it can be a program name with args.
5696 set dummy
$ac_prog; ac_word
=$2
5697 echo "$as_me:$LINENO: checking for $ac_word" >&5
5698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5699 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5700 echo $ECHO_N "(cached) $ECHO_C" >&6
5702 if test -n "$DB2TXT"; then
5703 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5709 test -z "$as_dir" && as_dir
=.
5710 for ac_exec_ext
in '' $ac_executable_extensions; do
5711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5712 ac_cv_prog_DB2TXT
="$ac_prog"
5713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5721 DB2TXT
=$ac_cv_prog_DB2TXT
5722 if test -n "$DB2TXT"; then
5723 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5724 echo "${ECHO_T}$DB2TXT" >&6
5726 echo "$as_me:$LINENO: result: no" >&5
5727 echo "${ECHO_T}no" >&6
5730 test -n "$DB2TXT" && break
5732 test -n "$DB2TXT" || DB2TXT
="false"
5738 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5739 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5740 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 ac_check_lib_save_LIBS
=$LIBS
5745 cat >conftest.
$ac_ext <<_ACEOF
5748 cat confdefs.h
>>conftest.
$ac_ext
5749 cat >>conftest.
$ac_ext <<_ACEOF
5750 /* end confdefs.h. */
5752 /* Override any gcc2 internal prototype to avoid an error. */
5756 /* We use char because int might match the return type of a gcc2
5757 builtin and then its argument prototype would still apply. */
5758 char i386_set_ldt ();
5767 rm -f conftest.
$ac_objext conftest
$ac_exeext
5768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5769 (eval $ac_link) 2>conftest.er1
5771 grep -v '^ *+' conftest.er1
>conftest.err
5773 cat conftest.err
>&5
5774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5775 (exit $ac_status); } &&
5776 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5781 (exit $ac_status); }; } &&
5782 { ac_try
='test -s conftest$ac_exeext'
5783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5787 (exit $ac_status); }; }; then
5788 ac_cv_lib_i386_i386_set_ldt
=yes
5790 echo "$as_me: failed program was:" >&5
5791 sed 's/^/| /' conftest.
$ac_ext >&5
5793 ac_cv_lib_i386_i386_set_ldt
=no
5795 rm -f conftest.err conftest.
$ac_objext \
5796 conftest
$ac_exeext conftest.
$ac_ext
5797 LIBS
=$ac_check_lib_save_LIBS
5799 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5800 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5801 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5802 cat >>confdefs.h
<<_ACEOF
5803 #define HAVE_LIBI386 1
5811 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5812 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5813 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5814 echo $ECHO_N "(cached) $ECHO_C" >&6
5816 ac_check_lib_save_LIBS
=$LIBS
5817 LIBS
="-lossaudio $LIBS"
5818 cat >conftest.
$ac_ext <<_ACEOF
5821 cat confdefs.h
>>conftest.
$ac_ext
5822 cat >>conftest.
$ac_ext <<_ACEOF
5823 /* end confdefs.h. */
5825 /* Override any gcc2 internal prototype to avoid an error. */
5829 /* We use char because int might match the return type of a gcc2
5830 builtin and then its argument prototype would still apply. */
5840 rm -f conftest.
$ac_objext conftest
$ac_exeext
5841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5842 (eval $ac_link) 2>conftest.er1
5844 grep -v '^ *+' conftest.er1
>conftest.err
5846 cat conftest.err
>&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); } &&
5849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; } &&
5855 { ac_try
='test -s conftest$ac_exeext'
5856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); }; }; then
5861 ac_cv_lib_ossaudio__oss_ioctl
=yes
5863 echo "$as_me: failed program was:" >&5
5864 sed 's/^/| /' conftest.
$ac_ext >&5
5866 ac_cv_lib_ossaudio__oss_ioctl
=no
5868 rm -f conftest.err conftest.
$ac_objext \
5869 conftest
$ac_exeext conftest.
$ac_ext
5870 LIBS
=$ac_check_lib_save_LIBS
5872 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5873 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5874 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5875 cat >>confdefs.h
<<_ACEOF
5876 #define HAVE_LIBOSSAUDIO 1
5879 LIBS
="-lossaudio $LIBS"
5884 for ac_func
in iswalnum
5886 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5887 echo "$as_me:$LINENO: checking for $ac_func" >&5
5888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5889 if eval "test \"\${$as_ac_var+set}\" = set"; then
5890 echo $ECHO_N "(cached) $ECHO_C" >&6
5892 cat >conftest.
$ac_ext <<_ACEOF
5895 cat confdefs.h
>>conftest.
$ac_ext
5896 cat >>conftest.
$ac_ext <<_ACEOF
5897 /* end confdefs.h. */
5898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5900 #define $ac_func innocuous_$ac_func
5902 /* System header to define __stub macros and hopefully few prototypes,
5903 which can conflict with char $ac_func (); below.
5904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5905 <limits.h> exists even on freestanding compilers. */
5908 # include <limits.h>
5910 # include <assert.h>
5915 /* Override any gcc2 internal prototype to avoid an error. */
5920 /* We use char because int might match the return type of a gcc2
5921 builtin and then its argument prototype would still apply. */
5923 /* The GNU C library defines this for functions which it implements
5924 to always fail with ENOSYS. Some functions are actually named
5925 something starting with __ and the normal name is an alias. */
5926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5929 char (*f) () = $ac_func;
5938 return f != $ac_func;
5943 rm -f conftest.
$ac_objext conftest
$ac_exeext
5944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5945 (eval $ac_link) 2>conftest.er1
5947 grep -v '^ *+' conftest.er1
>conftest.err
5949 cat conftest.err
>&5
5950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5951 (exit $ac_status); } &&
5952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5957 (exit $ac_status); }; } &&
5958 { ac_try
='test -s conftest$ac_exeext'
5959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5963 (exit $ac_status); }; }; then
5964 eval "$as_ac_var=yes"
5966 echo "$as_me: failed program was:" >&5
5967 sed 's/^/| /' conftest.
$ac_ext >&5
5969 eval "$as_ac_var=no"
5971 rm -f conftest.err conftest.
$ac_objext \
5972 conftest
$ac_exeext conftest.
$ac_ext
5974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5976 if test `eval echo '${'$as_ac_var'}'` = yes; then
5977 cat >>confdefs.h
<<_ACEOF
5978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5983 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
5984 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
5985 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
5986 echo $ECHO_N "(cached) $ECHO_C" >&6
5988 ac_check_lib_save_LIBS
=$LIBS
5990 cat >conftest.
$ac_ext <<_ACEOF
5993 cat confdefs.h
>>conftest.
$ac_ext
5994 cat >>conftest.
$ac_ext <<_ACEOF
5995 /* end confdefs.h. */
5997 /* Override any gcc2 internal prototype to avoid an error. */
6001 /* We use char because int might match the return type of a gcc2
6002 builtin and then its argument prototype would still apply. */
6012 rm -f conftest.
$ac_objext conftest
$ac_exeext
6013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6014 (eval $ac_link) 2>conftest.er1
6016 grep -v '^ *+' conftest.er1
>conftest.err
6018 cat conftest.err
>&5
6019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6020 (exit $ac_status); } &&
6021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6026 (exit $ac_status); }; } &&
6027 { ac_try
='test -s conftest$ac_exeext'
6028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); }; }; then
6033 ac_cv_lib_w_iswalnum
=yes
6035 echo "$as_me: failed program was:" >&5
6036 sed 's/^/| /' conftest.
$ac_ext >&5
6038 ac_cv_lib_w_iswalnum
=no
6040 rm -f conftest.err conftest.
$ac_objext \
6041 conftest
$ac_exeext conftest.
$ac_ext
6042 LIBS
=$ac_check_lib_save_LIBS
6044 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6045 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6046 if test $ac_cv_lib_w_iswalnum = yes; then
6047 cat >>confdefs.h
<<_ACEOF
6059 for ac_func
in gethostbyname
6061 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6062 echo "$as_me:$LINENO: checking for $ac_func" >&5
6063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6064 if eval "test \"\${$as_ac_var+set}\" = set"; then
6065 echo $ECHO_N "(cached) $ECHO_C" >&6
6067 cat >conftest.
$ac_ext <<_ACEOF
6070 cat confdefs.h
>>conftest.
$ac_ext
6071 cat >>conftest.
$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6075 #define $ac_func innocuous_$ac_func
6077 /* System header to define __stub macros and hopefully few prototypes,
6078 which can conflict with char $ac_func (); below.
6079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6080 <limits.h> exists even on freestanding compilers. */
6083 # include <limits.h>
6085 # include <assert.h>
6090 /* Override any gcc2 internal prototype to avoid an error. */
6095 /* We use char because int might match the return type of a gcc2
6096 builtin and then its argument prototype would still apply. */
6098 /* The GNU C library defines this for functions which it implements
6099 to always fail with ENOSYS. Some functions are actually named
6100 something starting with __ and the normal name is an alias. */
6101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6104 char (*f) () = $ac_func;
6113 return f != $ac_func;
6118 rm -f conftest.
$ac_objext conftest
$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120 (eval $ac_link) 2>conftest.er1
6122 grep -v '^ *+' conftest.er1
>conftest.err
6124 cat conftest.err
>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } &&
6127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6132 (exit $ac_status); }; } &&
6133 { ac_try
='test -s conftest$ac_exeext'
6134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6138 (exit $ac_status); }; }; then
6139 eval "$as_ac_var=yes"
6141 echo "$as_me: failed program was:" >&5
6142 sed 's/^/| /' conftest.
$ac_ext >&5
6144 eval "$as_ac_var=no"
6146 rm -f conftest.err conftest.
$ac_objext \
6147 conftest
$ac_exeext conftest.
$ac_ext
6149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6151 if test `eval echo '${'$as_ac_var'}'` = yes; then
6152 cat >>confdefs.h
<<_ACEOF
6153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6158 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6159 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6160 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6161 echo $ECHO_N "(cached) $ECHO_C" >&6
6163 ac_check_lib_save_LIBS
=$LIBS
6165 cat >conftest.
$ac_ext <<_ACEOF
6168 cat confdefs.h
>>conftest.
$ac_ext
6169 cat >>conftest.
$ac_ext <<_ACEOF
6170 /* end confdefs.h. */
6172 /* Override any gcc2 internal prototype to avoid an error. */
6176 /* We use char because int might match the return type of a gcc2
6177 builtin and then its argument prototype would still apply. */
6178 char gethostbyname ();
6187 rm -f conftest.
$ac_objext conftest
$ac_exeext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6189 (eval $ac_link) 2>conftest.er1
6191 grep -v '^ *+' conftest.er1
>conftest.err
6193 cat conftest.err
>&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); }; } &&
6202 { ac_try
='test -s conftest$ac_exeext'
6203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6207 (exit $ac_status); }; }; then
6208 ac_cv_lib_nsl_gethostbyname
=yes
6210 echo "$as_me: failed program was:" >&5
6211 sed 's/^/| /' conftest.
$ac_ext >&5
6213 ac_cv_lib_nsl_gethostbyname
=no
6215 rm -f conftest.err conftest.
$ac_objext \
6216 conftest
$ac_exeext conftest.
$ac_ext
6217 LIBS
=$ac_check_lib_save_LIBS
6219 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6220 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6221 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6222 cat >>confdefs.h
<<_ACEOF
6223 #define HAVE_LIBNSL 1
6234 for ac_func
in connect
6236 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6237 echo "$as_me:$LINENO: checking for $ac_func" >&5
6238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6239 if eval "test \"\${$as_ac_var+set}\" = set"; then
6240 echo $ECHO_N "(cached) $ECHO_C" >&6
6242 cat >conftest.
$ac_ext <<_ACEOF
6245 cat confdefs.h
>>conftest.
$ac_ext
6246 cat >>conftest.
$ac_ext <<_ACEOF
6247 /* end confdefs.h. */
6248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6250 #define $ac_func innocuous_$ac_func
6252 /* System header to define __stub macros and hopefully few prototypes,
6253 which can conflict with char $ac_func (); below.
6254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6255 <limits.h> exists even on freestanding compilers. */
6258 # include <limits.h>
6260 # include <assert.h>
6265 /* Override any gcc2 internal prototype to avoid an error. */
6270 /* We use char because int might match the return type of a gcc2
6271 builtin and then its argument prototype would still apply. */
6273 /* The GNU C library defines this for functions which it implements
6274 to always fail with ENOSYS. Some functions are actually named
6275 something starting with __ and the normal name is an alias. */
6276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6279 char (*f) () = $ac_func;
6288 return f != $ac_func;
6293 rm -f conftest.
$ac_objext conftest
$ac_exeext
6294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6295 (eval $ac_link) 2>conftest.er1
6297 grep -v '^ *+' conftest.er1
>conftest.err
6299 cat conftest.err
>&5
6300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6301 (exit $ac_status); } &&
6302 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6307 (exit $ac_status); }; } &&
6308 { ac_try
='test -s conftest$ac_exeext'
6309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6313 (exit $ac_status); }; }; then
6314 eval "$as_ac_var=yes"
6316 echo "$as_me: failed program was:" >&5
6317 sed 's/^/| /' conftest.
$ac_ext >&5
6319 eval "$as_ac_var=no"
6321 rm -f conftest.err conftest.
$ac_objext \
6322 conftest
$ac_exeext conftest.
$ac_ext
6324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6326 if test `eval echo '${'$as_ac_var'}'` = yes; then
6327 cat >>confdefs.h
<<_ACEOF
6328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6333 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6334 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6335 if test "${ac_cv_lib_socket_connect+set}" = set; then
6336 echo $ECHO_N "(cached) $ECHO_C" >&6
6338 ac_check_lib_save_LIBS
=$LIBS
6339 LIBS
="-lsocket $LIBS"
6340 cat >conftest.
$ac_ext <<_ACEOF
6343 cat confdefs.h
>>conftest.
$ac_ext
6344 cat >>conftest.
$ac_ext <<_ACEOF
6345 /* end confdefs.h. */
6347 /* Override any gcc2 internal prototype to avoid an error. */
6351 /* We use char because int might match the return type of a gcc2
6352 builtin and then its argument prototype would still apply. */
6362 rm -f conftest.
$ac_objext conftest
$ac_exeext
6363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6364 (eval $ac_link) 2>conftest.er1
6366 grep -v '^ *+' conftest.er1
>conftest.err
6368 cat conftest.err
>&5
6369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); } &&
6371 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6376 (exit $ac_status); }; } &&
6377 { ac_try
='test -s conftest$ac_exeext'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; }; then
6383 ac_cv_lib_socket_connect
=yes
6385 echo "$as_me: failed program was:" >&5
6386 sed 's/^/| /' conftest.
$ac_ext >&5
6388 ac_cv_lib_socket_connect
=no
6390 rm -f conftest.err conftest.
$ac_objext \
6391 conftest
$ac_exeext conftest.
$ac_ext
6392 LIBS
=$ac_check_lib_save_LIBS
6394 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6395 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6396 if test $ac_cv_lib_socket_connect = yes; then
6397 cat >>confdefs.h
<<_ACEOF
6398 #define HAVE_LIBSOCKET 1
6401 LIBS
="-lsocket $LIBS"
6409 for ac_func
in inet_aton
6411 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6412 echo "$as_me:$LINENO: checking for $ac_func" >&5
6413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6414 if eval "test \"\${$as_ac_var+set}\" = set"; then
6415 echo $ECHO_N "(cached) $ECHO_C" >&6
6417 cat >conftest.
$ac_ext <<_ACEOF
6420 cat confdefs.h
>>conftest.
$ac_ext
6421 cat >>conftest.
$ac_ext <<_ACEOF
6422 /* end confdefs.h. */
6423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6425 #define $ac_func innocuous_$ac_func
6427 /* System header to define __stub macros and hopefully few prototypes,
6428 which can conflict with char $ac_func (); below.
6429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6430 <limits.h> exists even on freestanding compilers. */
6433 # include <limits.h>
6435 # include <assert.h>
6440 /* Override any gcc2 internal prototype to avoid an error. */
6445 /* We use char because int might match the return type of a gcc2
6446 builtin and then its argument prototype would still apply. */
6448 /* The GNU C library defines this for functions which it implements
6449 to always fail with ENOSYS. Some functions are actually named
6450 something starting with __ and the normal name is an alias. */
6451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6454 char (*f) () = $ac_func;
6463 return f != $ac_func;
6468 rm -f conftest.
$ac_objext conftest
$ac_exeext
6469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6470 (eval $ac_link) 2>conftest.er1
6472 grep -v '^ *+' conftest.er1
>conftest.err
6474 cat conftest.err
>&5
6475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6476 (exit $ac_status); } &&
6477 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); }; } &&
6483 { ac_try
='test -s conftest$ac_exeext'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; }; then
6489 eval "$as_ac_var=yes"
6491 echo "$as_me: failed program was:" >&5
6492 sed 's/^/| /' conftest.
$ac_ext >&5
6494 eval "$as_ac_var=no"
6496 rm -f conftest.err conftest.
$ac_objext \
6497 conftest
$ac_exeext conftest.
$ac_ext
6499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6501 if test `eval echo '${'$as_ac_var'}'` = yes; then
6502 cat >>confdefs.h
<<_ACEOF
6503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6508 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6509 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6510 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6511 echo $ECHO_N "(cached) $ECHO_C" >&6
6513 ac_check_lib_save_LIBS
=$LIBS
6514 LIBS
="-lresolv $LIBS"
6515 cat >conftest.
$ac_ext <<_ACEOF
6518 cat confdefs.h
>>conftest.
$ac_ext
6519 cat >>conftest.
$ac_ext <<_ACEOF
6520 /* end confdefs.h. */
6522 /* Override any gcc2 internal prototype to avoid an error. */
6526 /* We use char because int might match the return type of a gcc2
6527 builtin and then its argument prototype would still apply. */
6537 rm -f conftest.
$ac_objext conftest
$ac_exeext
6538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6539 (eval $ac_link) 2>conftest.er1
6541 grep -v '^ *+' conftest.er1
>conftest.err
6543 cat conftest.err
>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } &&
6546 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); }; } &&
6552 { ac_try
='test -s conftest$ac_exeext'
6553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557 (exit $ac_status); }; }; then
6558 ac_cv_lib_resolv_inet_aton
=yes
6560 echo "$as_me: failed program was:" >&5
6561 sed 's/^/| /' conftest.
$ac_ext >&5
6563 ac_cv_lib_resolv_inet_aton
=no
6565 rm -f conftest.err conftest.
$ac_objext \
6566 conftest
$ac_exeext conftest.
$ac_ext
6567 LIBS
=$ac_check_lib_save_LIBS
6569 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6570 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6571 if test $ac_cv_lib_resolv_inet_aton = yes; then
6572 cat >>confdefs.h
<<_ACEOF
6573 #define HAVE_LIBRESOLV 1
6576 LIBS
="-lresolv $LIBS"
6584 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6585 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6586 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6587 echo $ECHO_N "(cached) $ECHO_C" >&6
6589 ac_check_lib_save_LIBS
=$LIBS
6591 cat >conftest.
$ac_ext <<_ACEOF
6594 cat confdefs.h
>>conftest.
$ac_ext
6595 cat >>conftest.
$ac_ext <<_ACEOF
6596 /* end confdefs.h. */
6598 /* Override any gcc2 internal prototype to avoid an error. */
6602 /* We use char because int might match the return type of a gcc2
6603 builtin and then its argument prototype would still apply. */
6604 char _xpg4_setrunelocale ();
6608 _xpg4_setrunelocale ();
6613 rm -f conftest.
$ac_objext conftest
$ac_exeext
6614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6615 (eval $ac_link) 2>conftest.er1
6617 grep -v '^ *+' conftest.er1
>conftest.err
6619 cat conftest.err
>&5
6620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6621 (exit $ac_status); } &&
6622 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6627 (exit $ac_status); }; } &&
6628 { ac_try
='test -s conftest$ac_exeext'
6629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6633 (exit $ac_status); }; }; then
6634 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6636 echo "$as_me: failed program was:" >&5
6637 sed 's/^/| /' conftest.
$ac_ext >&5
6639 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6641 rm -f conftest.err conftest.
$ac_objext \
6642 conftest
$ac_exeext conftest.
$ac_ext
6643 LIBS
=$ac_check_lib_save_LIBS
6645 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6646 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6647 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6648 cat >>confdefs.h
<<_ACEOF
6649 #define HAVE_LIBXPG4 1
6657 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6658 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6659 if test "${ac_cv_lib_poll_poll+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6662 ac_check_lib_save_LIBS
=$LIBS
6664 cat >conftest.
$ac_ext <<_ACEOF
6667 cat confdefs.h
>>conftest.
$ac_ext
6668 cat >>conftest.
$ac_ext <<_ACEOF
6669 /* end confdefs.h. */
6671 /* Override any gcc2 internal prototype to avoid an error. */
6675 /* We use char because int might match the return type of a gcc2
6676 builtin and then its argument prototype would still apply. */
6686 rm -f conftest.
$ac_objext conftest
$ac_exeext
6687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6688 (eval $ac_link) 2>conftest.er1
6690 grep -v '^ *+' conftest.er1
>conftest.err
6692 cat conftest.err
>&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); } &&
6695 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; } &&
6701 { ac_try
='test -s conftest$ac_exeext'
6702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6706 (exit $ac_status); }; }; then
6707 ac_cv_lib_poll_poll
=yes
6709 echo "$as_me: failed program was:" >&5
6710 sed 's/^/| /' conftest.
$ac_ext >&5
6712 ac_cv_lib_poll_poll
=no
6714 rm -f conftest.err conftest.
$ac_objext \
6715 conftest
$ac_exeext conftest.
$ac_ext
6716 LIBS
=$ac_check_lib_save_LIBS
6718 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6719 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6720 if test $ac_cv_lib_poll_poll = yes; then
6721 cat >>confdefs.h
<<_ACEOF
6722 #define HAVE_LIBPOLL 1
6729 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6730 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6731 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 ac_check_lib_save_LIBS
=$LIBS
6735 LIBS
="-lpthread $LIBS"
6736 cat >conftest.
$ac_ext <<_ACEOF
6739 cat confdefs.h
>>conftest.
$ac_ext
6740 cat >>conftest.
$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6743 /* Override any gcc2 internal prototype to avoid an error. */
6747 /* We use char because int might match the return type of a gcc2
6748 builtin and then its argument prototype would still apply. */
6749 char pthread_create ();
6758 rm -f conftest.
$ac_objext conftest
$ac_exeext
6759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6760 (eval $ac_link) 2>conftest.er1
6762 grep -v '^ *+' conftest.er1
>conftest.err
6764 cat conftest.err
>&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } &&
6767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6772 (exit $ac_status); }; } &&
6773 { ac_try
='test -s conftest$ac_exeext'
6774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6778 (exit $ac_status); }; }; then
6779 ac_cv_lib_pthread_pthread_create
=yes
6781 echo "$as_me: failed program was:" >&5
6782 sed 's/^/| /' conftest.
$ac_ext >&5
6784 ac_cv_lib_pthread_pthread_create
=no
6786 rm -f conftest.err conftest.
$ac_objext \
6787 conftest
$ac_exeext conftest.
$ac_ext
6788 LIBS
=$ac_check_lib_save_LIBS
6790 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6791 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6792 if test $ac_cv_lib_pthread_pthread_create = yes; then
6793 LIBPTHREAD
="-lpthread"
6800 echo "$as_me:$LINENO: checking for egrep" >&5
6801 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
6802 if test "${ac_cv_prog_egrep+set}" = set; then
6803 echo $ECHO_N "(cached) $ECHO_C" >&6
6805 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
6806 then ac_cv_prog_egrep
='grep -E'
6807 else ac_cv_prog_egrep
='egrep'
6810 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
6811 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
6812 EGREP
=$ac_cv_prog_egrep
6815 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6816 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6817 if test "${ac_cv_header_stdc+set}" = set; then
6818 echo $ECHO_N "(cached) $ECHO_C" >&6
6820 cat >conftest.
$ac_ext <<_ACEOF
6823 cat confdefs.h
>>conftest.
$ac_ext
6824 cat >>conftest.
$ac_ext <<_ACEOF
6825 /* end confdefs.h. */
6839 rm -f conftest.
$ac_objext
6840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6841 (eval $ac_compile) 2>conftest.er1
6843 grep -v '^ *+' conftest.er1
>conftest.err
6845 cat conftest.err
>&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); } &&
6848 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6853 (exit $ac_status); }; } &&
6854 { ac_try
='test -s conftest.$ac_objext'
6855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); }; }; then
6860 ac_cv_header_stdc
=yes
6862 echo "$as_me: failed program was:" >&5
6863 sed 's/^/| /' conftest.
$ac_ext >&5
6865 ac_cv_header_stdc
=no
6867 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6869 if test $ac_cv_header_stdc = yes; then
6870 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6871 cat >conftest.
$ac_ext <<_ACEOF
6874 cat confdefs.h
>>conftest.
$ac_ext
6875 cat >>conftest.
$ac_ext <<_ACEOF
6876 /* end confdefs.h. */
6880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6881 $EGREP "memchr" >/dev
/null
2>&1; then
6884 ac_cv_header_stdc
=no
6890 if test $ac_cv_header_stdc = yes; then
6891 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6892 cat >conftest.
$ac_ext <<_ACEOF
6895 cat confdefs.h
>>conftest.
$ac_ext
6896 cat >>conftest.
$ac_ext <<_ACEOF
6897 /* end confdefs.h. */
6901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6902 $EGREP "free" >/dev
/null
2>&1; then
6905 ac_cv_header_stdc
=no
6911 if test $ac_cv_header_stdc = yes; then
6912 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6913 if test "$cross_compiling" = yes; then
6916 cat >conftest.
$ac_ext <<_ACEOF
6919 cat confdefs.h
>>conftest.
$ac_ext
6920 cat >>conftest.
$ac_ext <<_ACEOF
6921 /* end confdefs.h. */
6923 #if ((' ' & 0x0FF) == 0x020)
6924 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6925 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6927 # define ISLOWER(c) \
6928 (('a' <= (c) && (c) <= 'i') \
6929 || ('j' <= (c) && (c) <= 'r') \
6930 || ('s' <= (c) && (c) <= 'z'))
6931 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6934 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6939 for (i = 0; i < 256; i++)
6940 if (XOR (islower (i), ISLOWER (i))
6941 || toupper (i) != TOUPPER (i))
6946 rm -f conftest
$ac_exeext
6947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6948 (eval $ac_link) 2>&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
6952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6956 (exit $ac_status); }; }; then
6959 echo "$as_me: program exited with status $ac_status" >&5
6960 echo "$as_me: failed program was:" >&5
6961 sed 's/^/| /' conftest.
$ac_ext >&5
6964 ac_cv_header_stdc
=no
6966 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
6970 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6971 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6972 if test $ac_cv_header_stdc = yes; then
6974 cat >>confdefs.h
<<\_ACEOF
6975 #define STDC_HEADERS 1
6980 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6990 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
6991 inttypes.h stdint.h unistd.h
6993 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6994 echo "$as_me:$LINENO: checking for $ac_header" >&5
6995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6997 echo $ECHO_N "(cached) $ECHO_C" >&6
6999 cat >conftest.
$ac_ext <<_ACEOF
7002 cat confdefs.h
>>conftest.
$ac_ext
7003 cat >>conftest.
$ac_ext <<_ACEOF
7004 /* end confdefs.h. */
7005 $ac_includes_default
7007 #include <$ac_header>
7009 rm -f conftest.
$ac_objext
7010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7011 (eval $ac_compile) 2>conftest.er1
7013 grep -v '^ *+' conftest.er1
>conftest.err
7015 cat conftest.err
>&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } &&
7018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; } &&
7024 { ac_try
='test -s conftest.$ac_objext'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7030 eval "$as_ac_Header=yes"
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.
$ac_ext >&5
7035 eval "$as_ac_Header=no"
7037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7039 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7040 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7042 cat >>confdefs.h
<<_ACEOF
7043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7052 for ac_header
in jpeglib.h
7054 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7056 echo "$as_me:$LINENO: checking for $ac_header" >&5
7057 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7059 echo $ECHO_N "(cached) $ECHO_C" >&6
7061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7064 # Is the header compilable?
7065 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7066 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7067 cat >conftest.
$ac_ext <<_ACEOF
7070 cat confdefs.h
>>conftest.
$ac_ext
7071 cat >>conftest.
$ac_ext <<_ACEOF
7072 /* end confdefs.h. */
7073 $ac_includes_default
7074 #include <$ac_header>
7076 rm -f conftest.
$ac_objext
7077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7078 (eval $ac_compile) 2>conftest.er1
7080 grep -v '^ *+' conftest.er1
>conftest.err
7082 cat conftest.err
>&5
7083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7084 (exit $ac_status); } &&
7085 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7090 (exit $ac_status); }; } &&
7091 { ac_try
='test -s conftest.$ac_objext'
7092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7096 (exit $ac_status); }; }; then
7097 ac_header_compiler
=yes
7099 echo "$as_me: failed program was:" >&5
7100 sed 's/^/| /' conftest.
$ac_ext >&5
7102 ac_header_compiler
=no
7104 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7106 echo "${ECHO_T}$ac_header_compiler" >&6
7108 # Is the header present?
7109 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7111 cat >conftest.
$ac_ext <<_ACEOF
7114 cat confdefs.h
>>conftest.
$ac_ext
7115 cat >>conftest.
$ac_ext <<_ACEOF
7116 /* end confdefs.h. */
7117 #include <$ac_header>
7119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7120 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7122 grep -v '^ *+' conftest.er1
>conftest.err
7124 cat conftest.err
>&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); } >/dev
/null
; then
7127 if test -s conftest.err
; then
7128 ac_cpp_err
=$ac_c_preproc_warn_flag
7129 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7136 if test -z "$ac_cpp_err"; then
7137 ac_header_preproc
=yes
7139 echo "$as_me: failed program was:" >&5
7140 sed 's/^/| /' conftest.
$ac_ext >&5
7142 ac_header_preproc
=no
7144 rm -f conftest.err conftest.
$ac_ext
7145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7146 echo "${ECHO_T}$ac_header_preproc" >&6
7148 # So? What about this header?
7149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7151 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7154 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7155 ac_header_preproc
=yes
7158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7162 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7163 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7164 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7165 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7167 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7168 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7169 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7172 ## ------------------------------------ ##
7173 ## Report this to wine-devel@winehq.org ##
7174 ## ------------------------------------ ##
7177 sed "s/^/$as_me: WARNING: /" >&2
7180 echo "$as_me:$LINENO: checking for $ac_header" >&5
7181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7183 echo $ECHO_N "(cached) $ECHO_C" >&6
7185 eval "$as_ac_Header=\$ac_header_preproc"
7187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7192 cat >>confdefs.h
<<_ACEOF
7193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7195 echo "$as_me:$LINENO: checking for jpeg_start_decompress in -ljpeg" >&5
7196 echo $ECHO_N "checking for jpeg_start_decompress in -ljpeg... $ECHO_C" >&6
7197 if test "${ac_cv_lib_jpeg_jpeg_start_decompress+set}" = set; then
7198 echo $ECHO_N "(cached) $ECHO_C" >&6
7200 ac_check_lib_save_LIBS
=$LIBS
7202 cat >conftest.
$ac_ext <<_ACEOF
7205 cat confdefs.h
>>conftest.
$ac_ext
7206 cat >>conftest.
$ac_ext <<_ACEOF
7207 /* end confdefs.h. */
7209 /* Override any gcc2 internal prototype to avoid an error. */
7213 /* We use char because int might match the return type of a gcc2
7214 builtin and then its argument prototype would still apply. */
7215 char jpeg_start_decompress ();
7219 jpeg_start_decompress ();
7224 rm -f conftest.
$ac_objext conftest
$ac_exeext
7225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7226 (eval $ac_link) 2>conftest.er1
7228 grep -v '^ *+' conftest.er1
>conftest.err
7230 cat conftest.err
>&5
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); } &&
7233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); }; } &&
7239 { ac_try
='test -s conftest$ac_exeext'
7240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7244 (exit $ac_status); }; }; then
7245 ac_cv_lib_jpeg_jpeg_start_decompress
=yes
7247 echo "$as_me: failed program was:" >&5
7248 sed 's/^/| /' conftest.
$ac_ext >&5
7250 ac_cv_lib_jpeg_jpeg_start_decompress
=no
7252 rm -f conftest.err conftest.
$ac_objext \
7253 conftest
$ac_exeext conftest.
$ac_ext
7254 LIBS
=$ac_check_lib_save_LIBS
7256 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_start_decompress" >&5
7257 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_start_decompress" >&6
7258 if test $ac_cv_lib_jpeg_jpeg_start_decompress = yes; then
7260 cat >>confdefs.h
<<\_ACEOF
7261 #define HAVE_LIBJPEG 1
7277 for ac_header
in gif_lib.h
7279 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7281 echo "$as_me:$LINENO: checking for $ac_header" >&5
7282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7283 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7284 echo $ECHO_N "(cached) $ECHO_C" >&6
7286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7287 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7289 # Is the header compilable?
7290 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7291 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7292 cat >conftest.
$ac_ext <<_ACEOF
7295 cat confdefs.h
>>conftest.
$ac_ext
7296 cat >>conftest.
$ac_ext <<_ACEOF
7297 /* end confdefs.h. */
7298 $ac_includes_default
7299 #include <$ac_header>
7301 rm -f conftest.
$ac_objext
7302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7303 (eval $ac_compile) 2>conftest.er1
7305 grep -v '^ *+' conftest.er1
>conftest.err
7307 cat conftest.err
>&5
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); } &&
7310 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); }; } &&
7316 { ac_try
='test -s conftest.$ac_objext'
7317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7321 (exit $ac_status); }; }; then
7322 ac_header_compiler
=yes
7324 echo "$as_me: failed program was:" >&5
7325 sed 's/^/| /' conftest.
$ac_ext >&5
7327 ac_header_compiler
=no
7329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7331 echo "${ECHO_T}$ac_header_compiler" >&6
7333 # Is the header present?
7334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7336 cat >conftest.
$ac_ext <<_ACEOF
7339 cat confdefs.h
>>conftest.
$ac_ext
7340 cat >>conftest.
$ac_ext <<_ACEOF
7341 /* end confdefs.h. */
7342 #include <$ac_header>
7344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7345 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7347 grep -v '^ *+' conftest.er1
>conftest.err
7349 cat conftest.err
>&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); } >/dev
/null
; then
7352 if test -s conftest.err
; then
7353 ac_cpp_err
=$ac_c_preproc_warn_flag
7354 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7361 if test -z "$ac_cpp_err"; then
7362 ac_header_preproc
=yes
7364 echo "$as_me: failed program was:" >&5
7365 sed 's/^/| /' conftest.
$ac_ext >&5
7367 ac_header_preproc
=no
7369 rm -f conftest.err conftest.
$ac_ext
7370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7371 echo "${ECHO_T}$ac_header_preproc" >&6
7373 # So? What about this header?
7374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7380 ac_header_preproc
=yes
7383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7397 ## ------------------------------------ ##
7398 ## Report this to wine-devel@winehq.org ##
7399 ## ------------------------------------ ##
7402 sed "s/^/$as_me: WARNING: /" >&2
7405 echo "$as_me:$LINENO: checking for $ac_header" >&5
7406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7408 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 eval "$as_ac_Header=\$ac_header_preproc"
7412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7417 cat >>confdefs.h
<<_ACEOF
7418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7420 echo "$as_me:$LINENO: checking for DGifOpen in -lungif" >&5
7421 echo $ECHO_N "checking for DGifOpen in -lungif... $ECHO_C" >&6
7422 if test "${ac_cv_lib_ungif_DGifOpen+set}" = set; then
7423 echo $ECHO_N "(cached) $ECHO_C" >&6
7425 ac_check_lib_save_LIBS
=$LIBS
7426 LIBS
="-lungif $LIBS"
7427 cat >conftest.
$ac_ext <<_ACEOF
7430 cat confdefs.h
>>conftest.
$ac_ext
7431 cat >>conftest.
$ac_ext <<_ACEOF
7432 /* end confdefs.h. */
7434 /* Override any gcc2 internal prototype to avoid an error. */
7438 /* We use char because int might match the return type of a gcc2
7439 builtin and then its argument prototype would still apply. */
7449 rm -f conftest.
$ac_objext conftest
$ac_exeext
7450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7451 (eval $ac_link) 2>conftest.er1
7453 grep -v '^ *+' conftest.er1
>conftest.err
7455 cat conftest.err
>&5
7456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7457 (exit $ac_status); } &&
7458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7463 (exit $ac_status); }; } &&
7464 { ac_try
='test -s conftest$ac_exeext'
7465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7469 (exit $ac_status); }; }; then
7470 ac_cv_lib_ungif_DGifOpen
=yes
7472 echo "$as_me: failed program was:" >&5
7473 sed 's/^/| /' conftest.
$ac_ext >&5
7475 ac_cv_lib_ungif_DGifOpen
=no
7477 rm -f conftest.err conftest.
$ac_objext \
7478 conftest
$ac_exeext conftest.
$ac_ext
7479 LIBS
=$ac_check_lib_save_LIBS
7481 echo "$as_me:$LINENO: result: $ac_cv_lib_ungif_DGifOpen" >&5
7482 echo "${ECHO_T}$ac_cv_lib_ungif_DGifOpen" >&6
7483 if test $ac_cv_lib_ungif_DGifOpen = yes; then
7485 cat >>confdefs.h
<<\_ACEOF
7486 #define HAVE_LIBGIF 1
7491 echo "$as_me:$LINENO: checking for DGifOpen in -lgif" >&5
7492 echo $ECHO_N "checking for DGifOpen in -lgif... $ECHO_C" >&6
7493 if test "${ac_cv_lib_gif_DGifOpen+set}" = set; then
7494 echo $ECHO_N "(cached) $ECHO_C" >&6
7496 ac_check_lib_save_LIBS
=$LIBS
7498 cat >conftest.
$ac_ext <<_ACEOF
7501 cat confdefs.h
>>conftest.
$ac_ext
7502 cat >>conftest.
$ac_ext <<_ACEOF
7503 /* end confdefs.h. */
7505 /* Override any gcc2 internal prototype to avoid an error. */
7509 /* We use char because int might match the return type of a gcc2
7510 builtin and then its argument prototype would still apply. */
7520 rm -f conftest.
$ac_objext conftest
$ac_exeext
7521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7522 (eval $ac_link) 2>conftest.er1
7524 grep -v '^ *+' conftest.er1
>conftest.err
7526 cat conftest.err
>&5
7527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7528 (exit $ac_status); } &&
7529 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7534 (exit $ac_status); }; } &&
7535 { ac_try
='test -s conftest$ac_exeext'
7536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); }; }; then
7541 ac_cv_lib_gif_DGifOpen
=yes
7543 echo "$as_me: failed program was:" >&5
7544 sed 's/^/| /' conftest.
$ac_ext >&5
7546 ac_cv_lib_gif_DGifOpen
=no
7548 rm -f conftest.err conftest.
$ac_objext \
7549 conftest
$ac_exeext conftest.
$ac_ext
7550 LIBS
=$ac_check_lib_save_LIBS
7552 echo "$as_me:$LINENO: result: $ac_cv_lib_gif_DGifOpen" >&5
7553 echo "${ECHO_T}$ac_cv_lib_gif_DGifOpen" >&6
7554 if test $ac_cv_lib_gif_DGifOpen = yes; then
7555 cat >>confdefs.h
<<\_ACEOF
7556 #define HAVE_LIBGIF 1
7578 if test "$have_x" = "yes"
7581 ac_save_CPPFLAGS
="$CPPFLAGS"
7582 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7585 for ac_header
in X11
/Xlib.h
7587 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7589 echo "$as_me:$LINENO: checking for $ac_header" >&5
7590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7592 echo $ECHO_N "(cached) $ECHO_C" >&6
7594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7597 # Is the header compilable?
7598 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7600 cat >conftest.
$ac_ext <<_ACEOF
7603 cat confdefs.h
>>conftest.
$ac_ext
7604 cat >>conftest.
$ac_ext <<_ACEOF
7605 /* end confdefs.h. */
7606 $ac_includes_default
7607 #include <$ac_header>
7609 rm -f conftest.
$ac_objext
7610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7611 (eval $ac_compile) 2>conftest.er1
7613 grep -v '^ *+' conftest.er1
>conftest.err
7615 cat conftest.err
>&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); } &&
7618 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7623 (exit $ac_status); }; } &&
7624 { ac_try
='test -s conftest.$ac_objext'
7625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7629 (exit $ac_status); }; }; then
7630 ac_header_compiler
=yes
7632 echo "$as_me: failed program was:" >&5
7633 sed 's/^/| /' conftest.
$ac_ext >&5
7635 ac_header_compiler
=no
7637 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7638 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7639 echo "${ECHO_T}$ac_header_compiler" >&6
7641 # Is the header present?
7642 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7643 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7644 cat >conftest.
$ac_ext <<_ACEOF
7647 cat confdefs.h
>>conftest.
$ac_ext
7648 cat >>conftest.
$ac_ext <<_ACEOF
7649 /* end confdefs.h. */
7650 #include <$ac_header>
7652 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7653 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7655 grep -v '^ *+' conftest.er1
>conftest.err
7657 cat conftest.err
>&5
7658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7659 (exit $ac_status); } >/dev
/null
; then
7660 if test -s conftest.err
; then
7661 ac_cpp_err
=$ac_c_preproc_warn_flag
7662 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7669 if test -z "$ac_cpp_err"; then
7670 ac_header_preproc
=yes
7672 echo "$as_me: failed program was:" >&5
7673 sed 's/^/| /' conftest.
$ac_ext >&5
7675 ac_header_preproc
=no
7677 rm -f conftest.err conftest.
$ac_ext
7678 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7679 echo "${ECHO_T}$ac_header_preproc" >&6
7681 # So? What about this header?
7682 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7684 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7685 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7686 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7687 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7688 ac_header_preproc
=yes
7691 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7692 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7693 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7694 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7695 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7696 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7697 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7698 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7699 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7700 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7701 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7702 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7705 ## ------------------------------------ ##
7706 ## Report this to wine-devel@winehq.org ##
7707 ## ------------------------------------ ##
7710 sed "s/^/$as_me: WARNING: /" >&2
7713 echo "$as_me:$LINENO: checking for $ac_header" >&5
7714 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7715 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7716 echo $ECHO_N "(cached) $ECHO_C" >&6
7718 eval "$as_ac_Header=\$ac_header_preproc"
7720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7724 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7725 cat >>confdefs.h
<<_ACEOF
7726 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7739 for ac_header
in X11
/XKBlib.h \
7741 X11
/extensions
/shape.h \
7742 X11
/extensions
/XInput.h \
7743 X11
/extensions
/XShm.h \
7744 X11
/extensions
/Xrandr.h \
7745 X11
/extensions
/Xrender.h \
7746 X11
/extensions
/Xvlib.h \
7747 X11
/extensions
/xf86dga.h \
7748 X11
/extensions
/xf86vmode.h
7750 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7751 echo "$as_me:$LINENO: checking for $ac_header" >&5
7752 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7753 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7756 cat >conftest.
$ac_ext <<_ACEOF
7759 cat confdefs.h
>>conftest.
$ac_ext
7760 cat >>conftest.
$ac_ext <<_ACEOF
7761 /* end confdefs.h. */
7762 #include <X11/Xlib.h>
7763 #ifdef HAVE_X11_XUTIL_H
7764 # include <X11/Xutil.h>
7767 #include <$ac_header>
7769 rm -f conftest.
$ac_objext
7770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7771 (eval $ac_compile) 2>conftest.er1
7773 grep -v '^ *+' conftest.er1
>conftest.err
7775 cat conftest.err
>&5
7776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7777 (exit $ac_status); } &&
7778 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7783 (exit $ac_status); }; } &&
7784 { ac_try
='test -s conftest.$ac_objext'
7785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7789 (exit $ac_status); }; }; then
7790 eval "$as_ac_Header=yes"
7792 echo "$as_me: failed program was:" >&5
7793 sed 's/^/| /' conftest.
$ac_ext >&5
7795 eval "$as_ac_Header=no"
7797 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7801 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7802 cat >>confdefs.h
<<_ACEOF
7803 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7811 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7813 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7814 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7815 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7816 echo $ECHO_N "(cached) $ECHO_C" >&6
7818 ac_check_lib_save_LIBS
=$LIBS
7819 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7820 cat >conftest.
$ac_ext <<_ACEOF
7823 cat confdefs.h
>>conftest.
$ac_ext
7824 cat >>conftest.
$ac_ext <<_ACEOF
7825 /* end confdefs.h. */
7827 /* Override any gcc2 internal prototype to avoid an error. */
7831 /* We use char because int might match the return type of a gcc2
7832 builtin and then its argument prototype would still apply. */
7833 char XkbQueryExtension ();
7837 XkbQueryExtension ();
7842 rm -f conftest.
$ac_objext conftest
$ac_exeext
7843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7844 (eval $ac_link) 2>conftest.er1
7846 grep -v '^ *+' conftest.er1
>conftest.err
7848 cat conftest.err
>&5
7849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7850 (exit $ac_status); } &&
7851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); }; } &&
7857 { ac_try
='test -s conftest$ac_exeext'
7858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); }; }; then
7863 ac_cv_lib_X11_XkbQueryExtension
=yes
7865 echo "$as_me: failed program was:" >&5
7866 sed 's/^/| /' conftest.
$ac_ext >&5
7868 ac_cv_lib_X11_XkbQueryExtension
=no
7870 rm -f conftest.err conftest.
$ac_objext \
7871 conftest
$ac_exeext conftest.
$ac_ext
7872 LIBS
=$ac_check_lib_save_LIBS
7874 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7875 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7876 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7878 cat >>confdefs.h
<<\_ACEOF
7886 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7888 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7889 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7890 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7891 echo $ECHO_N "(cached) $ECHO_C" >&6
7893 ac_check_lib_save_LIBS
=$LIBS
7894 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7895 cat >conftest.
$ac_ext <<_ACEOF
7898 cat confdefs.h
>>conftest.
$ac_ext
7899 cat >>conftest.
$ac_ext <<_ACEOF
7900 /* end confdefs.h. */
7902 /* Override any gcc2 internal prototype to avoid an error. */
7906 /* We use char because int might match the return type of a gcc2
7907 builtin and then its argument prototype would still apply. */
7908 char XShmQueryExtension ();
7912 XShmQueryExtension ();
7917 rm -f conftest.
$ac_objext conftest
$ac_exeext
7918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7919 (eval $ac_link) 2>conftest.er1
7921 grep -v '^ *+' conftest.er1
>conftest.err
7923 cat conftest.err
>&5
7924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7925 (exit $ac_status); } &&
7926 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); }; } &&
7932 { ac_try
='test -s conftest$ac_exeext'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; }; then
7938 ac_cv_lib_Xext_XShmQueryExtension
=yes
7940 echo "$as_me: failed program was:" >&5
7941 sed 's/^/| /' conftest.
$ac_ext >&5
7943 ac_cv_lib_Xext_XShmQueryExtension
=no
7945 rm -f conftest.err conftest.
$ac_objext \
7946 conftest
$ac_exeext conftest.
$ac_ext
7947 LIBS
=$ac_check_lib_save_LIBS
7949 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7950 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7951 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7953 cat >>confdefs.h
<<\_ACEOF
7954 #define HAVE_LIBXXSHM 1
7961 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7963 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7964 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7965 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7966 echo $ECHO_N "(cached) $ECHO_C" >&6
7968 ac_check_lib_save_LIBS
=$LIBS
7969 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7970 cat >conftest.
$ac_ext <<_ACEOF
7973 cat confdefs.h
>>conftest.
$ac_ext
7974 cat >>conftest.
$ac_ext <<_ACEOF
7975 /* end confdefs.h. */
7977 /* Override any gcc2 internal prototype to avoid an error. */
7981 /* We use char because int might match the return type of a gcc2
7982 builtin and then its argument prototype would still apply. */
7983 char XShapeQueryExtension ();
7987 XShapeQueryExtension ();
7992 rm -f conftest.
$ac_objext conftest
$ac_exeext
7993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7994 (eval $ac_link) 2>conftest.er1
7996 grep -v '^ *+' conftest.er1
>conftest.err
7998 cat conftest.err
>&5
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); } &&
8001 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); }; } &&
8007 { ac_try
='test -s conftest$ac_exeext'
8008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8012 (exit $ac_status); }; }; then
8013 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8015 echo "$as_me: failed program was:" >&5
8016 sed 's/^/| /' conftest.
$ac_ext >&5
8018 ac_cv_lib_Xext_XShapeQueryExtension
=no
8020 rm -f conftest.err conftest.
$ac_objext \
8021 conftest
$ac_exeext conftest.
$ac_ext
8022 LIBS
=$ac_check_lib_save_LIBS
8024 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8025 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8026 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8028 cat >>confdefs.h
<<\_ACEOF
8029 #define HAVE_LIBXSHAPE 1
8036 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8038 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8039 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8040 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8041 echo $ECHO_N "(cached) $ECHO_C" >&6
8043 ac_check_lib_save_LIBS
=$LIBS
8044 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8045 cat >conftest.
$ac_ext <<_ACEOF
8048 cat confdefs.h
>>conftest.
$ac_ext
8049 cat >>conftest.
$ac_ext <<_ACEOF
8050 /* end confdefs.h. */
8052 /* Override any gcc2 internal prototype to avoid an error. */
8056 /* We use char because int might match the return type of a gcc2
8057 builtin and then its argument prototype would still apply. */
8058 char XDGAQueryExtension ();
8062 XDGAQueryExtension ();
8067 rm -f conftest.
$ac_objext conftest
$ac_exeext
8068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8069 (eval $ac_link) 2>conftest.er1
8071 grep -v '^ *+' conftest.er1
>conftest.err
8073 cat conftest.err
>&5
8074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8075 (exit $ac_status); } &&
8076 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8081 (exit $ac_status); }; } &&
8082 { ac_try
='test -s conftest$ac_exeext'
8083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8087 (exit $ac_status); }; }; then
8088 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
8090 echo "$as_me: failed program was:" >&5
8091 sed 's/^/| /' conftest.
$ac_ext >&5
8093 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
8095 rm -f conftest.err conftest.
$ac_objext \
8096 conftest
$ac_exeext conftest.
$ac_ext
8097 LIBS
=$ac_check_lib_save_LIBS
8099 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8100 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8101 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8103 cat >>confdefs.h
<<\_ACEOF
8104 #define HAVE_LIBXXF86DGA2 1
8107 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8110 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
8111 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8112 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 ac_check_lib_save_LIBS
=$LIBS
8116 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
8118 cat >conftest.
$ac_ext <<_ACEOF
8121 cat confdefs.h
>>conftest.
$ac_ext
8122 cat >>conftest.
$ac_ext <<_ACEOF
8123 /* end confdefs.h. */
8125 /* Override any gcc2 internal prototype to avoid an error. */
8129 /* We use char because int might match the return type of a gcc2
8130 builtin and then its argument prototype would still apply. */
8131 char XF86DGAQueryExtension ();
8135 XF86DGAQueryExtension ();
8140 rm -f conftest.
$ac_objext conftest
$ac_exeext
8141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8142 (eval $ac_link) 2>conftest.er1
8144 grep -v '^ *+' conftest.er1
>conftest.err
8146 cat conftest.err
>&5
8147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8148 (exit $ac_status); } &&
8149 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try
='test -s conftest$ac_exeext'
8156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; }; then
8161 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
8163 echo "$as_me: failed program was:" >&5
8164 sed 's/^/| /' conftest.
$ac_ext >&5
8166 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
8168 rm -f conftest.err conftest.
$ac_objext \
8169 conftest
$ac_exeext conftest.
$ac_ext
8170 LIBS
=$ac_check_lib_save_LIBS
8172 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
8173 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
8174 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
8176 cat >>confdefs.h
<<\_ACEOF
8177 #define HAVE_LIBXXF86DGA 1
8180 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
8189 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8191 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8192 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8193 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8194 echo $ECHO_N "(cached) $ECHO_C" >&6
8196 ac_check_lib_save_LIBS
=$LIBS
8197 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8198 cat >conftest.
$ac_ext <<_ACEOF
8201 cat confdefs.h
>>conftest.
$ac_ext
8202 cat >>conftest.
$ac_ext <<_ACEOF
8203 /* end confdefs.h. */
8205 /* Override any gcc2 internal prototype to avoid an error. */
8209 /* We use char because int might match the return type of a gcc2
8210 builtin and then its argument prototype would still apply. */
8211 char XF86VidModeQueryExtension ();
8215 XF86VidModeQueryExtension ();
8220 rm -f conftest.
$ac_objext conftest
$ac_exeext
8221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8222 (eval $ac_link) 2>conftest.er1
8224 grep -v '^ *+' conftest.er1
>conftest.err
8226 cat conftest.err
>&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } &&
8229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); }; } &&
8235 { ac_try
='test -s conftest$ac_exeext'
8236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); }; }; then
8241 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
8243 echo "$as_me: failed program was:" >&5
8244 sed 's/^/| /' conftest.
$ac_ext >&5
8246 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
8248 rm -f conftest.err conftest.
$ac_objext \
8249 conftest
$ac_exeext conftest.
$ac_ext
8250 LIBS
=$ac_check_lib_save_LIBS
8252 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8253 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8254 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8256 cat >>confdefs.h
<<\_ACEOF
8257 #define HAVE_LIBXXF86VM 1
8260 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
8266 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8268 cat >conftest.
$ac_ext <<_ACEOF
8271 cat confdefs.h
>>conftest.
$ac_ext
8272 cat >>conftest.
$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 #include <X11/Xlib.h>
8275 #include <X11/extensions/Xrandr.h>
8279 static typeof(XRRSetScreenConfigAndRate) * func;
8284 rm -f conftest.
$ac_objext
8285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8286 (eval $ac_compile) 2>conftest.er1
8288 grep -v '^ *+' conftest.er1
>conftest.err
8290 cat conftest.err
>&5
8291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8292 (exit $ac_status); } &&
8293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8298 (exit $ac_status); }; } &&
8299 { ac_try
='test -s conftest.$ac_objext'
8300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8304 (exit $ac_status); }; }; then
8306 cat >>confdefs.h
<<\_ACEOF
8307 #define HAVE_LIBXRANDR 1
8311 echo "$as_me: failed program was:" >&5
8312 sed 's/^/| /' conftest.
$ac_ext >&5
8315 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8318 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
8320 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
8321 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
8322 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
8323 echo $ECHO_N "(cached) $ECHO_C" >&6
8325 ac_check_lib_save_LIBS
=$LIBS
8326 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8327 cat >conftest.
$ac_ext <<_ACEOF
8330 cat confdefs.h
>>conftest.
$ac_ext
8331 cat >>conftest.
$ac_ext <<_ACEOF
8332 /* end confdefs.h. */
8334 /* Override any gcc2 internal prototype to avoid an error. */
8338 /* We use char because int might match the return type of a gcc2
8339 builtin and then its argument prototype would still apply. */
8340 char XvShmCreateImage ();
8344 XvShmCreateImage ();
8349 rm -f conftest.
$ac_objext conftest
$ac_exeext
8350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8351 (eval $ac_link) 2>conftest.er1
8353 grep -v '^ *+' conftest.er1
>conftest.err
8355 cat conftest.err
>&5
8356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8357 (exit $ac_status); } &&
8358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8363 (exit $ac_status); }; } &&
8364 { ac_try
='test -s conftest$ac_exeext'
8365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8369 (exit $ac_status); }; }; then
8370 ac_cv_lib_Xv_XvShmCreateImage
=yes
8372 echo "$as_me: failed program was:" >&5
8373 sed 's/^/| /' conftest.
$ac_ext >&5
8375 ac_cv_lib_Xv_XvShmCreateImage
=no
8377 rm -f conftest.err conftest.
$ac_objext \
8378 conftest
$ac_exeext conftest.
$ac_ext
8379 LIBS
=$ac_check_lib_save_LIBS
8381 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
8382 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
8383 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
8385 cat >>confdefs.h
<<\_ACEOF
8386 #define HAVE_XVIDEO 1
8389 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8400 if test "x$with_opengl" != "xno"
8402 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8404 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8405 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8406 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8407 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8408 { (exit 1); exit 1; }; }
8413 for ac_header
in GL
/gl.h GL
/glx.h
8415 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8417 echo "$as_me:$LINENO: checking for $ac_header" >&5
8418 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8419 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8423 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8425 # Is the header compilable?
8426 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8427 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8428 cat >conftest.
$ac_ext <<_ACEOF
8431 cat confdefs.h
>>conftest.
$ac_ext
8432 cat >>conftest.
$ac_ext <<_ACEOF
8433 /* end confdefs.h. */
8434 $ac_includes_default
8435 #include <$ac_header>
8437 rm -f conftest.
$ac_objext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8439 (eval $ac_compile) 2>conftest.er1
8441 grep -v '^ *+' conftest.er1
>conftest.err
8443 cat conftest.err
>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8451 (exit $ac_status); }; } &&
8452 { ac_try
='test -s conftest.$ac_objext'
8453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; }; then
8458 ac_header_compiler
=yes
8460 echo "$as_me: failed program was:" >&5
8461 sed 's/^/| /' conftest.
$ac_ext >&5
8463 ac_header_compiler
=no
8465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8466 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8467 echo "${ECHO_T}$ac_header_compiler" >&6
8469 # Is the header present?
8470 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8471 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8472 cat >conftest.
$ac_ext <<_ACEOF
8475 cat confdefs.h
>>conftest.
$ac_ext
8476 cat >>conftest.
$ac_ext <<_ACEOF
8477 /* end confdefs.h. */
8478 #include <$ac_header>
8480 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8481 (eval $ac_cpp conftest.
$ac_ext) 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); } >/dev
/null
; then
8488 if test -s conftest.err
; then
8489 ac_cpp_err
=$ac_c_preproc_warn_flag
8490 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8497 if test -z "$ac_cpp_err"; then
8498 ac_header_preproc
=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.
$ac_ext >&5
8503 ac_header_preproc
=no
8505 rm -f conftest.err conftest.
$ac_ext
8506 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8507 echo "${ECHO_T}$ac_header_preproc" >&6
8509 # So? What about this header?
8510 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8512 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8513 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8514 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8515 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8516 ac_header_preproc
=yes
8519 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8520 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8521 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8522 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8523 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8524 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8525 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8526 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8527 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8528 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8529 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8530 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8533 ## ------------------------------------ ##
8534 ## Report this to wine-devel@winehq.org ##
8535 ## ------------------------------------ ##
8538 sed "s/^/$as_me: WARNING: /" >&2
8541 echo "$as_me:$LINENO: checking for $ac_header" >&5
8542 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8543 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 eval "$as_ac_Header=\$ac_header_preproc"
8548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8549 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8552 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8553 cat >>confdefs.h
<<_ACEOF
8554 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8561 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8564 for ac_header
in GL
/glext.h
8566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8567 echo "$as_me:$LINENO: checking for $ac_header" >&5
8568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8570 echo $ECHO_N "(cached) $ECHO_C" >&6
8572 cat >conftest.
$ac_ext <<_ACEOF
8575 cat confdefs.h
>>conftest.
$ac_ext
8576 cat >>conftest.
$ac_ext <<_ACEOF
8577 /* end confdefs.h. */
8580 #include <$ac_header>
8582 rm -f conftest.
$ac_objext
8583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8584 (eval $ac_compile) 2>conftest.er1
8586 grep -v '^ *+' conftest.er1
>conftest.err
8588 cat conftest.err
>&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); } &&
8591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); }; } &&
8597 { ac_try
='test -s conftest.$ac_objext'
8598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8602 (exit $ac_status); }; }; then
8603 eval "$as_ac_Header=yes"
8605 echo "$as_me: failed program was:" >&5
8606 sed 's/^/| /' conftest.
$ac_ext >&5
8608 eval "$as_ac_Header=no"
8610 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8613 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8614 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8615 cat >>confdefs.h
<<_ACEOF
8616 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8623 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8624 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8625 if test "${wine_cv_opengl_version_OK+set}" = set; then
8626 echo $ECHO_N "(cached) $ECHO_C" >&6
8628 cat >conftest.
$ac_ext <<_ACEOF
8631 cat confdefs.h
>>conftest.
$ac_ext
8632 cat >>conftest.
$ac_ext <<_ACEOF
8633 /* end confdefs.h. */
8638 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8643 rm -f conftest.
$ac_objext
8644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8645 (eval $ac_compile) 2>conftest.er1
8647 grep -v '^ *+' conftest.er1
>conftest.err
8649 cat conftest.err
>&5
8650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8651 (exit $ac_status); } &&
8652 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); }; } &&
8658 { ac_try
='test -s conftest.$ac_objext'
8659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8663 (exit $ac_status); }; }; then
8664 wine_cv_opengl_version_OK
="yes"
8666 echo "$as_me: failed program was:" >&5
8667 sed 's/^/| /' conftest.
$ac_ext >&5
8669 wine_cv_opengl_version_OK
="no"
8672 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8675 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8676 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8678 if test "$wine_cv_opengl_version_OK" = "yes"
8680 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8681 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8682 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8683 echo $ECHO_N "(cached) $ECHO_C" >&6
8685 ac_check_lib_save_LIBS
=$LIBS
8686 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8687 cat >conftest.
$ac_ext <<_ACEOF
8690 cat confdefs.h
>>conftest.
$ac_ext
8691 cat >>conftest.
$ac_ext <<_ACEOF
8692 /* end confdefs.h. */
8694 /* Override any gcc2 internal prototype to avoid an error. */
8698 /* We use char because int might match the return type of a gcc2
8699 builtin and then its argument prototype would still apply. */
8700 char glXCreateContext ();
8704 glXCreateContext ();
8709 rm -f conftest.
$ac_objext conftest
$ac_exeext
8710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8711 (eval $ac_link) 2>conftest.er1
8713 grep -v '^ *+' conftest.er1
>conftest.err
8715 cat conftest.err
>&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } &&
8718 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); }; } &&
8724 { ac_try
='test -s conftest$ac_exeext'
8725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8729 (exit $ac_status); }; }; then
8730 ac_cv_lib_GL_glXCreateContext
=yes
8732 echo "$as_me: failed program was:" >&5
8733 sed 's/^/| /' conftest.
$ac_ext >&5
8735 ac_cv_lib_GL_glXCreateContext
=no
8737 rm -f conftest.err conftest.
$ac_objext \
8738 conftest
$ac_exeext conftest.
$ac_ext
8739 LIBS
=$ac_check_lib_save_LIBS
8741 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8742 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8743 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8749 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8751 OPENGLFILES
='$(OPENGLFILES)'
8753 cat >>confdefs.h
<<\_ACEOF
8754 #define HAVE_OPENGL 1
8758 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8759 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8760 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 ac_check_lib_save_LIBS
=$LIBS
8764 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8765 cat >conftest.
$ac_ext <<_ACEOF
8768 cat confdefs.h
>>conftest.
$ac_ext
8769 cat >>conftest.
$ac_ext <<_ACEOF
8770 /* end confdefs.h. */
8772 /* Override any gcc2 internal prototype to avoid an error. */
8776 /* We use char because int might match the return type of a gcc2
8777 builtin and then its argument prototype would still apply. */
8778 char glXGetProcAddressARB ();
8782 glXGetProcAddressARB ();
8787 rm -f conftest.
$ac_objext conftest
$ac_exeext
8788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8789 (eval $ac_link) 2>conftest.er1
8791 grep -v '^ *+' conftest.er1
>conftest.err
8793 cat conftest.err
>&5
8794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8795 (exit $ac_status); } &&
8796 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8801 (exit $ac_status); }; } &&
8802 { ac_try
='test -s conftest$ac_exeext'
8803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8807 (exit $ac_status); }; }; then
8808 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8810 echo "$as_me: failed program was:" >&5
8811 sed 's/^/| /' conftest.
$ac_ext >&5
8813 ac_cv_lib_GL_glXGetProcAddressARB
=no
8815 rm -f conftest.err conftest.
$ac_objext \
8816 conftest
$ac_exeext conftest.
$ac_ext
8817 LIBS
=$ac_check_lib_save_LIBS
8819 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8820 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8821 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8823 cat >>confdefs.h
<<\_ACEOF
8824 #define HAVE_GLX_GETPROCADDRESS 1
8830 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8832 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8833 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8834 if test "${wine_cv_extension_prototypes+set}" = set; then
8835 echo $ECHO_N "(cached) $ECHO_C" >&6
8837 cat >conftest.
$ac_ext <<_ACEOF
8840 cat confdefs.h
>>conftest.
$ac_ext
8841 cat >>conftest.
$ac_ext <<_ACEOF
8842 /* end confdefs.h. */
8844 #ifdef HAVE_GL_GLEXT_H
8845 # include <GL/glext.h>
8851 PFNGLCOLORTABLEEXTPROC test_proc;
8856 rm -f conftest.
$ac_objext
8857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8858 (eval $ac_compile) 2>conftest.er1
8860 grep -v '^ *+' conftest.er1
>conftest.err
8862 cat conftest.err
>&5
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); } &&
8865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; } &&
8871 { ac_try
='test -s conftest.$ac_objext'
8872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8876 (exit $ac_status); }; }; then
8877 wine_cv_extension_prototypes
="yes"
8879 echo "$as_me: failed program was:" >&5
8880 sed 's/^/| /' conftest.
$ac_ext >&5
8882 wine_cv_extension_prototypes
="no"
8885 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8888 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8889 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8890 if test "$wine_cv_extension_prototypes" = "yes"
8893 cat >>confdefs.h
<<\_ACEOF
8894 #define HAVE_GLEXT_PROTOTYPES 1
8901 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8902 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8903 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8904 echo $ECHO_N "(cached) $ECHO_C" >&6
8906 ac_check_lib_save_LIBS
=$LIBS
8907 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8909 cat >conftest.
$ac_ext <<_ACEOF
8912 cat confdefs.h
>>conftest.
$ac_ext
8913 cat >>conftest.
$ac_ext <<_ACEOF
8914 /* end confdefs.h. */
8916 /* Override any gcc2 internal prototype to avoid an error. */
8920 /* We use char because int might match the return type of a gcc2
8921 builtin and then its argument prototype would still apply. */
8931 rm -f conftest.
$ac_objext conftest
$ac_exeext
8932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8933 (eval $ac_link) 2>conftest.er1
8935 grep -v '^ *+' conftest.er1
>conftest.err
8937 cat conftest.err
>&5
8938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8939 (exit $ac_status); } &&
8940 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 (exit $ac_status); }; } &&
8946 { ac_try
='test -s conftest$ac_exeext'
8947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8951 (exit $ac_status); }; }; then
8952 ac_cv_lib_GLU_gluLookAt
=yes
8954 echo "$as_me: failed program was:" >&5
8955 sed 's/^/| /' conftest.
$ac_ext >&5
8957 ac_cv_lib_GLU_gluLookAt
=no
8959 rm -f conftest.err conftest.
$ac_objext \
8960 conftest
$ac_exeext conftest.
$ac_ext
8961 LIBS
=$ac_check_lib_save_LIBS
8963 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8964 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8965 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8966 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8967 GLU32FILES
='$(GLU32FILES)'
8973 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8974 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8975 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8976 echo $ECHO_N "(cached) $ECHO_C" >&6
8978 ac_check_lib_save_LIBS
=$LIBS
8979 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8980 cat >conftest.
$ac_ext <<_ACEOF
8983 cat confdefs.h
>>conftest.
$ac_ext
8984 cat >>conftest.
$ac_ext <<_ACEOF
8985 /* end confdefs.h. */
8987 /* Override any gcc2 internal prototype to avoid an error. */
8991 /* We use char because int might match the return type of a gcc2
8992 builtin and then its argument prototype would still apply. */
8993 char glutMainLoop ();
9002 rm -f conftest.
$ac_objext conftest
$ac_exeext
9003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9004 (eval $ac_link) 2>conftest.er1
9006 grep -v '^ *+' conftest.er1
>conftest.err
9008 cat conftest.err
>&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 (exit $ac_status); } &&
9011 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9016 (exit $ac_status); }; } &&
9017 { ac_try
='test -s conftest$ac_exeext'
9018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); }; }; then
9023 ac_cv_lib_glut_glutMainLoop
=yes
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.
$ac_ext >&5
9028 ac_cv_lib_glut_glutMainLoop
=no
9030 rm -f conftest.err conftest.
$ac_objext \
9031 conftest
$ac_exeext conftest.
$ac_ext
9032 LIBS
=$ac_check_lib_save_LIBS
9034 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
9035 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
9036 if test $ac_cv_lib_glut_glutMainLoop = yes; then
9037 GLUT_LIBS
="-lglut -lXmu -lXi"
9039 GLUT32FILES
='$(GLUT32FILES)'
9049 for ac_header
in audio
/audiolib.h
9051 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9052 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9053 echo "$as_me:$LINENO: checking for $ac_header" >&5
9054 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9055 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9056 echo $ECHO_N "(cached) $ECHO_C" >&6
9058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9061 # Is the header compilable?
9062 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9063 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9064 cat >conftest.
$ac_ext <<_ACEOF
9067 cat confdefs.h
>>conftest.
$ac_ext
9068 cat >>conftest.
$ac_ext <<_ACEOF
9069 /* end confdefs.h. */
9070 $ac_includes_default
9071 #include <$ac_header>
9073 rm -f conftest.
$ac_objext
9074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9075 (eval $ac_compile) 2>conftest.er1
9077 grep -v '^ *+' conftest.er1
>conftest.err
9079 cat conftest.err
>&5
9080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9081 (exit $ac_status); } &&
9082 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9087 (exit $ac_status); }; } &&
9088 { ac_try
='test -s conftest.$ac_objext'
9089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 (exit $ac_status); }; }; then
9094 ac_header_compiler
=yes
9096 echo "$as_me: failed program was:" >&5
9097 sed 's/^/| /' conftest.
$ac_ext >&5
9099 ac_header_compiler
=no
9101 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9102 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9103 echo "${ECHO_T}$ac_header_compiler" >&6
9105 # Is the header present?
9106 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9107 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9108 cat >conftest.
$ac_ext <<_ACEOF
9111 cat confdefs.h
>>conftest.
$ac_ext
9112 cat >>conftest.
$ac_ext <<_ACEOF
9113 /* end confdefs.h. */
9114 #include <$ac_header>
9116 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9117 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9119 grep -v '^ *+' conftest.er1
>conftest.err
9121 cat conftest.err
>&5
9122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9123 (exit $ac_status); } >/dev
/null
; then
9124 if test -s conftest.err
; then
9125 ac_cpp_err
=$ac_c_preproc_warn_flag
9126 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9133 if test -z "$ac_cpp_err"; then
9134 ac_header_preproc
=yes
9136 echo "$as_me: failed program was:" >&5
9137 sed 's/^/| /' conftest.
$ac_ext >&5
9139 ac_header_preproc
=no
9141 rm -f conftest.err conftest.
$ac_ext
9142 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9143 echo "${ECHO_T}$ac_header_preproc" >&6
9145 # So? What about this header?
9146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9148 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9149 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9151 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9152 ac_header_preproc
=yes
9155 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9156 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9157 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9158 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9159 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9160 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9161 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9162 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9164 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9165 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9166 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9169 ## ------------------------------------ ##
9170 ## Report this to wine-devel@winehq.org ##
9171 ## ------------------------------------ ##
9174 sed "s/^/$as_me: WARNING: /" >&2
9177 echo "$as_me:$LINENO: checking for $ac_header" >&5
9178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9180 echo $ECHO_N "(cached) $ECHO_C" >&6
9182 eval "$as_ac_Header=\$ac_header_preproc"
9184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9188 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9189 cat >>confdefs.h
<<_ACEOF
9190 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9193 for ac_header
in audio
/soundlib.h
9195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9196 echo "$as_me:$LINENO: checking for $ac_header" >&5
9197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9199 echo $ECHO_N "(cached) $ECHO_C" >&6
9201 cat >conftest.
$ac_ext <<_ACEOF
9204 cat confdefs.h
>>conftest.
$ac_ext
9205 cat >>conftest.
$ac_ext <<_ACEOF
9206 /* end confdefs.h. */
9207 #include <audio/audiolib.h>
9209 #include <$ac_header>
9211 rm -f conftest.
$ac_objext
9212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9213 (eval $ac_compile) 2>conftest.er1
9215 grep -v '^ *+' conftest.er1
>conftest.err
9217 cat conftest.err
>&5
9218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9219 (exit $ac_status); } &&
9220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9225 (exit $ac_status); }; } &&
9226 { ac_try
='test -s conftest.$ac_objext'
9227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9231 (exit $ac_status); }; }; then
9232 eval "$as_ac_Header=yes"
9234 echo "$as_me: failed program was:" >&5
9235 sed 's/^/| /' conftest.
$ac_ext >&5
9237 eval "$as_ac_Header=no"
9239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9244 cat >>confdefs.h
<<_ACEOF
9245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9252 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9253 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
9254 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9255 echo $ECHO_N "(cached) $ECHO_C" >&6
9257 ac_check_lib_save_LIBS
=$LIBS
9258 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9259 cat >conftest.
$ac_ext <<_ACEOF
9262 cat confdefs.h
>>conftest.
$ac_ext
9263 cat >>conftest.
$ac_ext <<_ACEOF
9264 /* end confdefs.h. */
9266 /* Override any gcc2 internal prototype to avoid an error. */
9270 /* We use char because int might match the return type of a gcc2
9271 builtin and then its argument prototype would still apply. */
9272 char AuCreateFlow ();
9281 rm -f conftest.
$ac_objext conftest
$ac_exeext
9282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9283 (eval $ac_link) 2>conftest.er1
9285 grep -v '^ *+' conftest.er1
>conftest.err
9287 cat conftest.err
>&5
9288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9289 (exit $ac_status); } &&
9290 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9295 (exit $ac_status); }; } &&
9296 { ac_try
='test -s conftest$ac_exeext'
9297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); }; }; then
9302 ac_cv_lib_audio_AuCreateFlow
=yes
9304 echo "$as_me: failed program was:" >&5
9305 sed 's/^/| /' conftest.
$ac_ext >&5
9307 ac_cv_lib_audio_AuCreateFlow
=no
9309 rm -f conftest.err conftest.
$ac_objext \
9310 conftest
$ac_exeext conftest.
$ac_ext
9311 LIBS
=$ac_check_lib_save_LIBS
9313 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9314 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
9315 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9317 cat >>confdefs.h
<<\_ACEOF
9321 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9329 CPPFLAGS
="$ac_save_CPPFLAGS"
9338 if test "x$with_curses" != "xno"
9341 for ac_header
in ncurses.h
9343 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9345 echo "$as_me:$LINENO: checking for $ac_header" >&5
9346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9348 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9353 # Is the header compilable?
9354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9356 cat >conftest.
$ac_ext <<_ACEOF
9359 cat confdefs.h
>>conftest.
$ac_ext
9360 cat >>conftest.
$ac_ext <<_ACEOF
9361 /* end confdefs.h. */
9362 $ac_includes_default
9363 #include <$ac_header>
9365 rm -f conftest.
$ac_objext
9366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9367 (eval $ac_compile) 2>conftest.er1
9369 grep -v '^ *+' conftest.er1
>conftest.err
9371 cat conftest.err
>&5
9372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9373 (exit $ac_status); } &&
9374 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9379 (exit $ac_status); }; } &&
9380 { ac_try
='test -s conftest.$ac_objext'
9381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); }; }; then
9386 ac_header_compiler
=yes
9388 echo "$as_me: failed program was:" >&5
9389 sed 's/^/| /' conftest.
$ac_ext >&5
9391 ac_header_compiler
=no
9393 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9395 echo "${ECHO_T}$ac_header_compiler" >&6
9397 # Is the header present?
9398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9400 cat >conftest.
$ac_ext <<_ACEOF
9403 cat confdefs.h
>>conftest.
$ac_ext
9404 cat >>conftest.
$ac_ext <<_ACEOF
9405 /* end confdefs.h. */
9406 #include <$ac_header>
9408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9409 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9411 grep -v '^ *+' conftest.er1
>conftest.err
9413 cat conftest.err
>&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } >/dev
/null
; then
9416 if test -s conftest.err
; then
9417 ac_cpp_err
=$ac_c_preproc_warn_flag
9418 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9425 if test -z "$ac_cpp_err"; then
9426 ac_header_preproc
=yes
9428 echo "$as_me: failed program was:" >&5
9429 sed 's/^/| /' conftest.
$ac_ext >&5
9431 ac_header_preproc
=no
9433 rm -f conftest.err conftest.
$ac_ext
9434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9435 echo "${ECHO_T}$ac_header_preproc" >&6
9437 # So? What about this header?
9438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9444 ac_header_preproc
=yes
9447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9461 ## ------------------------------------ ##
9462 ## Report this to wine-devel@winehq.org ##
9463 ## ------------------------------------ ##
9466 sed "s/^/$as_me: WARNING: /" >&2
9469 echo "$as_me:$LINENO: checking for $ac_header" >&5
9470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9472 echo $ECHO_N "(cached) $ECHO_C" >&6
9474 eval "$as_ac_Header=\$ac_header_preproc"
9476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9481 cat >>confdefs.h
<<_ACEOF
9482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9484 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9485 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9486 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9487 echo $ECHO_N "(cached) $ECHO_C" >&6
9489 ac_check_lib_save_LIBS
=$LIBS
9490 LIBS
="-lncurses $LIBS"
9491 cat >conftest.
$ac_ext <<_ACEOF
9494 cat confdefs.h
>>conftest.
$ac_ext
9495 cat >>conftest.
$ac_ext <<_ACEOF
9496 /* end confdefs.h. */
9498 /* Override any gcc2 internal prototype to avoid an error. */
9502 /* We use char because int might match the return type of a gcc2
9503 builtin and then its argument prototype would still apply. */
9513 rm -f conftest.
$ac_objext conftest
$ac_exeext
9514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9515 (eval $ac_link) 2>conftest.er1
9517 grep -v '^ *+' conftest.er1
>conftest.err
9519 cat conftest.err
>&5
9520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9521 (exit $ac_status); } &&
9522 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9527 (exit $ac_status); }; } &&
9528 { ac_try
='test -s conftest$ac_exeext'
9529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9533 (exit $ac_status); }; }; then
9534 ac_cv_lib_ncurses_waddch
=yes
9536 echo "$as_me: failed program was:" >&5
9537 sed 's/^/| /' conftest.
$ac_ext >&5
9539 ac_cv_lib_ncurses_waddch
=no
9541 rm -f conftest.err conftest.
$ac_objext \
9542 conftest
$ac_exeext conftest.
$ac_ext
9543 LIBS
=$ac_check_lib_save_LIBS
9545 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9546 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9547 if test $ac_cv_lib_ncurses_waddch = yes; then
9549 cat >>confdefs.h
<<\_ACEOF
9550 #define HAVE_LIBNCURSES 1
9553 CURSESLIBS
="-lncurses"
9556 for ac_header
in curses.h
9558 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9560 echo "$as_me:$LINENO: checking for $ac_header" >&5
9561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9563 echo $ECHO_N "(cached) $ECHO_C" >&6
9565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9568 # Is the header compilable?
9569 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9570 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9571 cat >conftest.
$ac_ext <<_ACEOF
9574 cat confdefs.h
>>conftest.
$ac_ext
9575 cat >>conftest.
$ac_ext <<_ACEOF
9576 /* end confdefs.h. */
9577 $ac_includes_default
9578 #include <$ac_header>
9580 rm -f conftest.
$ac_objext
9581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9582 (eval $ac_compile) 2>conftest.er1
9584 grep -v '^ *+' conftest.er1
>conftest.err
9586 cat conftest.err
>&5
9587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9588 (exit $ac_status); } &&
9589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); }; } &&
9595 { ac_try
='test -s conftest.$ac_objext'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; }; then
9601 ac_header_compiler
=yes
9603 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.
$ac_ext >&5
9606 ac_header_compiler
=no
9608 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9609 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9610 echo "${ECHO_T}$ac_header_compiler" >&6
9612 # Is the header present?
9613 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9614 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9615 cat >conftest.
$ac_ext <<_ACEOF
9618 cat confdefs.h
>>conftest.
$ac_ext
9619 cat >>conftest.
$ac_ext <<_ACEOF
9620 /* end confdefs.h. */
9621 #include <$ac_header>
9623 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9624 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9626 grep -v '^ *+' conftest.er1
>conftest.err
9628 cat conftest.err
>&5
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); } >/dev
/null
; then
9631 if test -s conftest.err
; then
9632 ac_cpp_err
=$ac_c_preproc_warn_flag
9633 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9640 if test -z "$ac_cpp_err"; then
9641 ac_header_preproc
=yes
9643 echo "$as_me: failed program was:" >&5
9644 sed 's/^/| /' conftest.
$ac_ext >&5
9646 ac_header_preproc
=no
9648 rm -f conftest.err conftest.
$ac_ext
9649 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9650 echo "${ECHO_T}$ac_header_preproc" >&6
9652 # So? What about this header?
9653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9659 ac_header_preproc
=yes
9662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9676 ## ------------------------------------ ##
9677 ## Report this to wine-devel@winehq.org ##
9678 ## ------------------------------------ ##
9681 sed "s/^/$as_me: WARNING: /" >&2
9684 echo "$as_me:$LINENO: checking for $ac_header" >&5
9685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9687 echo $ECHO_N "(cached) $ECHO_C" >&6
9689 eval "$as_ac_Header=\$ac_header_preproc"
9691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9695 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9696 cat >>confdefs.h
<<_ACEOF
9697 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9699 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9700 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9701 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9702 echo $ECHO_N "(cached) $ECHO_C" >&6
9704 ac_check_lib_save_LIBS
=$LIBS
9705 LIBS
="-lcurses $LIBS"
9706 cat >conftest.
$ac_ext <<_ACEOF
9709 cat confdefs.h
>>conftest.
$ac_ext
9710 cat >>conftest.
$ac_ext <<_ACEOF
9711 /* end confdefs.h. */
9713 /* Override any gcc2 internal prototype to avoid an error. */
9717 /* We use char because int might match the return type of a gcc2
9718 builtin and then its argument prototype would still apply. */
9728 rm -f conftest.
$ac_objext conftest
$ac_exeext
9729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9730 (eval $ac_link) 2>conftest.er1
9732 grep -v '^ *+' conftest.er1
>conftest.err
9734 cat conftest.err
>&5
9735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9736 (exit $ac_status); } &&
9737 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9742 (exit $ac_status); }; } &&
9743 { ac_try
='test -s conftest$ac_exeext'
9744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9748 (exit $ac_status); }; }; then
9749 ac_cv_lib_curses_waddch
=yes
9751 echo "$as_me: failed program was:" >&5
9752 sed 's/^/| /' conftest.
$ac_ext >&5
9754 ac_cv_lib_curses_waddch
=no
9756 rm -f conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 LIBS
=$ac_check_lib_save_LIBS
9760 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9761 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9762 if test $ac_cv_lib_curses_waddch = yes; then
9764 cat >>confdefs.h
<<\_ACEOF
9765 #define HAVE_LIBCURSES 1
9768 CURSESLIBS
="-lcurses"
9782 LIBS
="$CURSESLIBS $LIBS"
9785 for ac_func
in getbkgd resizeterm
9787 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9788 echo "$as_me:$LINENO: checking for $ac_func" >&5
9789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9790 if eval "test \"\${$as_ac_var+set}\" = set"; then
9791 echo $ECHO_N "(cached) $ECHO_C" >&6
9793 cat >conftest.
$ac_ext <<_ACEOF
9796 cat confdefs.h
>>conftest.
$ac_ext
9797 cat >>conftest.
$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9801 #define $ac_func innocuous_$ac_func
9803 /* System header to define __stub macros and hopefully few prototypes,
9804 which can conflict with char $ac_func (); below.
9805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9806 <limits.h> exists even on freestanding compilers. */
9809 # include <limits.h>
9811 # include <assert.h>
9816 /* Override any gcc2 internal prototype to avoid an error. */
9821 /* We use char because int might match the return type of a gcc2
9822 builtin and then its argument prototype would still apply. */
9824 /* The GNU C library defines this for functions which it implements
9825 to always fail with ENOSYS. Some functions are actually named
9826 something starting with __ and the normal name is an alias. */
9827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9830 char (*f) () = $ac_func;
9839 return f != $ac_func;
9844 rm -f conftest.
$ac_objext conftest
$ac_exeext
9845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9846 (eval $ac_link) 2>conftest.er1
9848 grep -v '^ *+' conftest.er1
>conftest.err
9850 cat conftest.err
>&5
9851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9852 (exit $ac_status); } &&
9853 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9858 (exit $ac_status); }; } &&
9859 { ac_try
='test -s conftest$ac_exeext'
9860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9864 (exit $ac_status); }; }; then
9865 eval "$as_ac_var=yes"
9867 echo "$as_me: failed program was:" >&5
9868 sed 's/^/| /' conftest.
$ac_ext >&5
9870 eval "$as_ac_var=no"
9872 rm -f conftest.err conftest.
$ac_objext \
9873 conftest
$ac_exeext conftest.
$ac_ext
9875 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9876 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9877 if test `eval echo '${'$as_ac_var'}'` = yes; then
9878 cat >>confdefs.h
<<_ACEOF
9879 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9889 # Extract the first word of "sane-config", so it can be a program name with args.
9890 set dummy sane-config
; ac_word
=$2
9891 echo "$as_me:$LINENO: checking for $ac_word" >&5
9892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9893 if test "${ac_cv_prog_sane_devel+set}" = set; then
9894 echo $ECHO_N "(cached) $ECHO_C" >&6
9896 if test -n "$sane_devel"; then
9897 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9903 test -z "$as_dir" && as_dir
=.
9904 for ac_exec_ext
in '' $ac_executable_extensions; do
9905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9906 ac_cv_prog_sane_devel
="sane-config"
9907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9913 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9916 sane_devel
=$ac_cv_prog_sane_devel
9917 if test -n "$sane_devel"; then
9918 echo "$as_me:$LINENO: result: $sane_devel" >&5
9919 echo "${ECHO_T}$sane_devel" >&6
9921 echo "$as_me:$LINENO: result: no" >&5
9922 echo "${ECHO_T}no" >&6
9925 if test "$sane_devel" = "no"
9930 SANELIBS
="`$sane_devel --libs`"
9931 SANEINCL
="`$sane_devel --cflags`"
9932 ac_save_CPPFLAGS
="$CPPFLAGS"
9933 ac_save_LIBS
="$LIBS"
9934 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9935 LIBS
="$LIBS $SANELIBS"
9936 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9937 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9938 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9939 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9940 echo $ECHO_N "(cached) $ECHO_C" >&6
9942 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9943 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9945 # Is the header compilable?
9946 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9947 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9948 cat >conftest.
$ac_ext <<_ACEOF
9951 cat confdefs.h
>>conftest.
$ac_ext
9952 cat >>conftest.
$ac_ext <<_ACEOF
9953 /* end confdefs.h. */
9954 $ac_includes_default
9955 #include <sane/sane.h>
9957 rm -f conftest.
$ac_objext
9958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9959 (eval $ac_compile) 2>conftest.er1
9961 grep -v '^ *+' conftest.er1
>conftest.err
9963 cat conftest.err
>&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); } &&
9966 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9971 (exit $ac_status); }; } &&
9972 { ac_try
='test -s conftest.$ac_objext'
9973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9977 (exit $ac_status); }; }; then
9978 ac_header_compiler
=yes
9980 echo "$as_me: failed program was:" >&5
9981 sed 's/^/| /' conftest.
$ac_ext >&5
9983 ac_header_compiler
=no
9985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9986 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9987 echo "${ECHO_T}$ac_header_compiler" >&6
9989 # Is the header present?
9990 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9991 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9992 cat >conftest.
$ac_ext <<_ACEOF
9995 cat confdefs.h
>>conftest.
$ac_ext
9996 cat >>conftest.
$ac_ext <<_ACEOF
9997 /* end confdefs.h. */
9998 #include <sane/sane.h>
10000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10003 grep -v '^ *+' conftest.er1
>conftest.err
10005 cat conftest.err
>&5
10006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } >/dev
/null
; then
10008 if test -s conftest.err
; then
10009 ac_cpp_err
=$ac_c_preproc_warn_flag
10010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10017 if test -z "$ac_cpp_err"; then
10018 ac_header_preproc
=yes
10020 echo "$as_me: failed program was:" >&5
10021 sed 's/^/| /' conftest.
$ac_ext >&5
10023 ac_header_preproc
=no
10025 rm -f conftest.err conftest.
$ac_ext
10026 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10027 echo "${ECHO_T}$ac_header_preproc" >&6
10029 # So? What about this header?
10030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10032 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10033 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10034 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10035 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10036 ac_header_preproc
=yes
10039 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10040 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10041 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10042 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10043 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10044 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10045 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10046 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10047 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10048 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10049 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10050 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10053 ## ------------------------------------ ##
10054 ## Report this to wine-devel@winehq.org ##
10055 ## ------------------------------------ ##
10058 sed "s/^/$as_me: WARNING: /" >&2
10061 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10062 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10063 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10064 echo $ECHO_N "(cached) $ECHO_C" >&6
10066 ac_cv_header_sane_sane_h
=$ac_header_preproc
10068 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10069 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10072 if test $ac_cv_header_sane_sane_h = yes; then
10073 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10074 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10075 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10076 echo $ECHO_N "(cached) $ECHO_C" >&6
10078 ac_check_lib_save_LIBS
=$LIBS
10079 LIBS
="-lsane $LIBS"
10080 cat >conftest.
$ac_ext <<_ACEOF
10083 cat confdefs.h
>>conftest.
$ac_ext
10084 cat >>conftest.
$ac_ext <<_ACEOF
10085 /* end confdefs.h. */
10087 /* Override any gcc2 internal prototype to avoid an error. */
10091 /* We use char because int might match the return type of a gcc2
10092 builtin and then its argument prototype would still apply. */
10102 rm -f conftest.
$ac_objext conftest
$ac_exeext
10103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10104 (eval $ac_link) 2>conftest.er1
10106 grep -v '^ *+' conftest.er1
>conftest.err
10108 cat conftest.err
>&5
10109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10110 (exit $ac_status); } &&
10111 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10113 (eval $ac_try) 2>&5
10115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10116 (exit $ac_status); }; } &&
10117 { ac_try
='test -s conftest$ac_exeext'
10118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10119 (eval $ac_try) 2>&5
10121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10122 (exit $ac_status); }; }; then
10123 ac_cv_lib_sane_sane_open
=yes
10125 echo "$as_me: failed program was:" >&5
10126 sed 's/^/| /' conftest.
$ac_ext >&5
10128 ac_cv_lib_sane_sane_open
=no
10130 rm -f conftest.err conftest.
$ac_objext \
10131 conftest
$ac_exeext conftest.
$ac_ext
10132 LIBS
=$ac_check_lib_save_LIBS
10134 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10135 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10136 if test $ac_cv_lib_sane_sane_open = yes; then
10138 cat >>confdefs.h
<<\_ACEOF
10139 #define HAVE_SANE 1
10153 LIBS
="$ac_save_LIBS"
10154 CPPFLAGS
="$ac_save_CPPFLAGS"
10160 for ac_header
in unicode
/ubidi.h
10162 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10163 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10164 echo "$as_me:$LINENO: checking for $ac_header" >&5
10165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10167 echo $ECHO_N "(cached) $ECHO_C" >&6
10169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10172 # Is the header compilable?
10173 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10174 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10175 cat >conftest.
$ac_ext <<_ACEOF
10178 cat confdefs.h
>>conftest.
$ac_ext
10179 cat >>conftest.
$ac_ext <<_ACEOF
10180 /* end confdefs.h. */
10181 $ac_includes_default
10182 #include <$ac_header>
10184 rm -f conftest.
$ac_objext
10185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10186 (eval $ac_compile) 2>conftest.er1
10188 grep -v '^ *+' conftest.er1
>conftest.err
10190 cat conftest.err
>&5
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); } &&
10193 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; } &&
10199 { ac_try
='test -s conftest.$ac_objext'
10200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10201 (eval $ac_try) 2>&5
10203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10204 (exit $ac_status); }; }; then
10205 ac_header_compiler
=yes
10207 echo "$as_me: failed program was:" >&5
10208 sed 's/^/| /' conftest.
$ac_ext >&5
10210 ac_header_compiler
=no
10212 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10213 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10214 echo "${ECHO_T}$ac_header_compiler" >&6
10216 # Is the header present?
10217 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10218 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10219 cat >conftest.
$ac_ext <<_ACEOF
10222 cat confdefs.h
>>conftest.
$ac_ext
10223 cat >>conftest.
$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10225 #include <$ac_header>
10227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10228 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10230 grep -v '^ *+' conftest.er1
>conftest.err
10232 cat conftest.err
>&5
10233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10234 (exit $ac_status); } >/dev
/null
; then
10235 if test -s conftest.err
; then
10236 ac_cpp_err
=$ac_c_preproc_warn_flag
10237 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10244 if test -z "$ac_cpp_err"; then
10245 ac_header_preproc
=yes
10247 echo "$as_me: failed program was:" >&5
10248 sed 's/^/| /' conftest.
$ac_ext >&5
10250 ac_header_preproc
=no
10252 rm -f conftest.err conftest.
$ac_ext
10253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10254 echo "${ECHO_T}$ac_header_preproc" >&6
10256 # So? What about this header?
10257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10259 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10261 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10262 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10263 ac_header_preproc
=yes
10266 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10267 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10268 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10269 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10270 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10271 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10272 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10273 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10275 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10276 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10277 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10280 ## ------------------------------------ ##
10281 ## Report this to wine-devel@winehq.org ##
10282 ## ------------------------------------ ##
10285 sed "s/^/$as_me: WARNING: /" >&2
10288 echo "$as_me:$LINENO: checking for $ac_header" >&5
10289 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10290 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 eval "$as_ac_Header=\$ac_header_preproc"
10295 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10296 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10299 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10300 cat >>confdefs.h
<<_ACEOF
10301 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10308 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10311 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
10312 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10313 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10314 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10315 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10316 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10317 cat >conftest.
$ac_ext <<_ACEOF
10320 cat confdefs.h
>>conftest.
$ac_ext
10321 cat >>conftest.
$ac_ext <<_ACEOF
10322 /* end confdefs.h. */
10323 #include <unicode/ubidi.h>
10332 rm -f conftest.
$ac_objext conftest
$ac_exeext
10333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10334 (eval $ac_link) 2>conftest.er1
10336 grep -v '^ *+' conftest.er1
>conftest.err
10338 cat conftest.err
>&5
10339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10340 (exit $ac_status); } &&
10341 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10343 (eval $ac_try) 2>&5
10345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); }; } &&
10347 { ac_try
='test -s conftest$ac_exeext'
10348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10349 (eval $ac_try) 2>&5
10351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10352 (exit $ac_status); }; }; then
10354 cat >>confdefs.h
<<\_ACEOF
10358 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10363 echo "$as_me: failed program was:" >&5
10364 sed 's/^/| /' conftest.
$ac_ext >&5
10366 echo "$as_me:$LINENO: result: no" >&5
10367 echo "${ECHO_T}no" >&6
10369 rm -f conftest.err conftest.
$ac_objext \
10370 conftest
$ac_exeext conftest.
$ac_ext
10374 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10375 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10376 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10377 echo $ECHO_N "(cached) $ECHO_C" >&6
10379 ac_check_lib_save_LIBS
=$LIBS
10380 LIBS
="-lfreetype $X_LIBS $LIBS"
10381 cat >conftest.
$ac_ext <<_ACEOF
10384 cat confdefs.h
>>conftest.
$ac_ext
10385 cat >>conftest.
$ac_ext <<_ACEOF
10386 /* end confdefs.h. */
10388 /* Override any gcc2 internal prototype to avoid an error. */
10392 /* We use char because int might match the return type of a gcc2
10393 builtin and then its argument prototype would still apply. */
10394 char FT_Init_FreeType ();
10398 FT_Init_FreeType ();
10403 rm -f conftest.
$ac_objext conftest
$ac_exeext
10404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10405 (eval $ac_link) 2>conftest.er1
10407 grep -v '^ *+' conftest.er1
>conftest.err
10409 cat conftest.err
>&5
10410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10411 (exit $ac_status); } &&
10412 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10414 (eval $ac_try) 2>&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); }; } &&
10418 { ac_try
='test -s conftest$ac_exeext'
10419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10420 (eval $ac_try) 2>&5
10422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10423 (exit $ac_status); }; }; then
10424 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10426 echo "$as_me: failed program was:" >&5
10427 sed 's/^/| /' conftest.
$ac_ext >&5
10429 ac_cv_lib_freetype_FT_Init_FreeType
=no
10431 rm -f conftest.err conftest.
$ac_objext \
10432 conftest
$ac_exeext conftest.
$ac_ext
10433 LIBS
=$ac_check_lib_save_LIBS
10435 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10436 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10437 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10443 if test "$ft_lib" = "no"
10446 wine_cv_msg_freetype
=no
10448 # Extract the first word of "freetype-config", so it can be a program name with args.
10449 set dummy freetype-config
; ac_word
=$2
10450 echo "$as_me:$LINENO: checking for $ac_word" >&5
10451 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10452 if test "${ac_cv_prog_ft_devel+set}" = set; then
10453 echo $ECHO_N "(cached) $ECHO_C" >&6
10455 if test -n "$ft_devel"; then
10456 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10459 for as_dir
in $PATH
10462 test -z "$as_dir" && as_dir
=.
10463 for ac_exec_ext
in '' $ac_executable_extensions; do
10464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10465 ac_cv_prog_ft_devel
="freetype-config"
10466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10472 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10475 ft_devel
=$ac_cv_prog_ft_devel
10476 if test -n "$ft_devel"; then
10477 echo "$as_me:$LINENO: result: $ft_devel" >&5
10478 echo "${ECHO_T}$ft_devel" >&6
10480 echo "$as_me:$LINENO: result: no" >&5
10481 echo "${ECHO_T}no" >&6
10484 if test "$ft_devel" = "no"
10486 # Extract the first word of "freetype2-config", so it can be a program name with args.
10487 set dummy freetype2-config
; ac_word
=$2
10488 echo "$as_me:$LINENO: checking for $ac_word" >&5
10489 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10490 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10491 echo $ECHO_N "(cached) $ECHO_C" >&6
10493 if test -n "$ft_devel2"; then
10494 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10496 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10497 for as_dir
in $PATH
10500 test -z "$as_dir" && as_dir
=.
10501 for ac_exec_ext
in '' $ac_executable_extensions; do
10502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10503 ac_cv_prog_ft_devel2
="freetype2-config"
10504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10510 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10513 ft_devel2
=$ac_cv_prog_ft_devel2
10514 if test -n "$ft_devel2"; then
10515 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10516 echo "${ECHO_T}$ft_devel2" >&6
10518 echo "$as_me:$LINENO: result: no" >&5
10519 echo "${ECHO_T}no" >&6
10522 if test "$ft_devel2" = "freetype2-config"
10524 ft_devel
=$ft_devel2
10527 if test "$ft_devel" = "no"
10530 wine_cv_msg_freetype
=yes
10532 FREETYPEINCL
=`$ft_devel --cflags`
10533 ac_save_CPPFLAGS
="$CPPFLAGS"
10534 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10544 for ac_header
in ft2build.h \
10545 freetype
/freetype.h \
10546 freetype
/ftglyph.h \
10547 freetype
/tttables.h \
10548 freetype
/ftnames.h \
10549 freetype
/ftsnames.h \
10550 freetype
/ttnameid.h \
10551 freetype
/ftoutln.h \
10552 freetype
/internal
/sfnt.h
10554 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10555 echo "$as_me:$LINENO: checking for $ac_header" >&5
10556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10558 echo $ECHO_N "(cached) $ECHO_C" >&6
10560 cat >conftest.
$ac_ext <<_ACEOF
10563 cat confdefs.h
>>conftest.
$ac_ext
10564 cat >>conftest.
$ac_ext <<_ACEOF
10565 /* end confdefs.h. */
10566 #if HAVE_FT2BUILD_H
10567 #include <ft2build.h>
10570 #include <$ac_header>
10572 rm -f conftest.
$ac_objext
10573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10574 (eval $ac_compile) 2>conftest.er1
10576 grep -v '^ *+' conftest.er1
>conftest.err
10578 cat conftest.err
>&5
10579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10580 (exit $ac_status); } &&
10581 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10583 (eval $ac_try) 2>&5
10585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10586 (exit $ac_status); }; } &&
10587 { ac_try
='test -s conftest.$ac_objext'
10588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10589 (eval $ac_try) 2>&5
10591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); }; }; then
10593 eval "$as_ac_Header=yes"
10595 echo "$as_me: failed program was:" >&5
10596 sed 's/^/| /' conftest.
$ac_ext >&5
10598 eval "$as_ac_Header=no"
10600 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10603 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10604 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10605 cat >>confdefs.h
<<_ACEOF
10606 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10613 cat >conftest.
$ac_ext <<_ACEOF
10616 cat confdefs.h
>>conftest.
$ac_ext
10617 cat >>conftest.
$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10619 #include <ft2build.h>
10620 #include <freetype/fttrigon.h>
10622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10623 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10625 grep -v '^ *+' conftest.er1
>conftest.err
10627 cat conftest.err
>&5
10628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10629 (exit $ac_status); } >/dev
/null
; then
10630 if test -s conftest.err
; then
10631 ac_cpp_err
=$ac_c_preproc_warn_flag
10632 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10639 if test -z "$ac_cpp_err"; then
10641 cat >>confdefs.h
<<\_ACEOF
10642 #define HAVE_FREETYPE_FTTRIGON_H 1
10645 wine_cv_fttrigon
=yes
10647 echo "$as_me: failed program was:" >&5
10648 sed 's/^/| /' conftest.
$ac_ext >&5
10650 wine_cv_fttrigon
=no
10652 rm -f conftest.err conftest.
$ac_ext
10653 CPPFLAGS
="$ac_save_CPPFLAGS"
10654 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10657 cat >>confdefs.h
<<\_ACEOF
10658 #define HAVE_FREETYPE 1
10661 wine_cv_msg_freetype
=no
10664 wine_cv_msg_freetype
=yes
10670 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10671 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10672 if test "${ac_cv_c_ppdev+set}" = set; then
10673 echo $ECHO_N "(cached) $ECHO_C" >&6
10675 cat >conftest.
$ac_ext <<_ACEOF
10678 cat confdefs.h
>>conftest.
$ac_ext
10679 cat >>conftest.
$ac_ext <<_ACEOF
10680 /* end confdefs.h. */
10681 #include <linux/ppdev.h>
10685 ioctl (1,PPCLAIM,0)
10690 rm -f conftest.
$ac_objext
10691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10692 (eval $ac_compile) 2>conftest.er1
10694 grep -v '^ *+' conftest.er1
>conftest.err
10696 cat conftest.err
>&5
10697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10698 (exit $ac_status); } &&
10699 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10701 (eval $ac_try) 2>&5
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); }; } &&
10705 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
10711 ac_cv_c_ppdev
="yes"
10713 echo "$as_me: failed program was:" >&5
10714 sed 's/^/| /' conftest.
$ac_ext >&5
10718 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10721 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10722 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10723 if test "$ac_cv_c_ppdev" = "yes"
10726 cat >>confdefs.h
<<\_ACEOF
10727 #define HAVE_PPDEV 1
10732 echo "$as_me:$LINENO: checking for va_copy" >&5
10733 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10734 if test "${ac_cv_c_va_copy+set}" = set; then
10735 echo $ECHO_N "(cached) $ECHO_C" >&6
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 <stdarg.h>
10754 rm -f conftest.
$ac_objext conftest
$ac_exeext
10755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10756 (eval $ac_link) 2>conftest.er1
10758 grep -v '^ *+' conftest.er1
>conftest.err
10760 cat conftest.err
>&5
10761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10762 (exit $ac_status); } &&
10763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10765 (eval $ac_try) 2>&5
10767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10768 (exit $ac_status); }; } &&
10769 { ac_try
='test -s conftest$ac_exeext'
10770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10771 (eval $ac_try) 2>&5
10773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10774 (exit $ac_status); }; }; then
10775 ac_cv_c_va_copy
="yes"
10777 echo "$as_me: failed program was:" >&5
10778 sed 's/^/| /' conftest.
$ac_ext >&5
10780 ac_cv_c_va_copy
="no"
10782 rm -f conftest.err conftest.
$ac_objext \
10783 conftest
$ac_exeext conftest.
$ac_ext
10786 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10787 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10788 if test "$ac_cv_c_va_copy" = "yes"
10791 cat >>confdefs.h
<<\_ACEOF
10792 #define HAVE_VA_COPY 1
10796 echo "$as_me:$LINENO: checking for __va_copy" >&5
10797 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10798 if test "${ac_cv_c___va_copy+set}" = set; then
10799 echo $ECHO_N "(cached) $ECHO_C" >&6
10801 cat >conftest.
$ac_ext <<_ACEOF
10804 cat confdefs.h
>>conftest.
$ac_ext
10805 cat >>conftest.
$ac_ext <<_ACEOF
10806 /* end confdefs.h. */
10807 #include <stdarg.h>
10812 __va_copy(ap1,ap2);
10818 rm -f conftest.
$ac_objext conftest
$ac_exeext
10819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10820 (eval $ac_link) 2>conftest.er1
10822 grep -v '^ *+' conftest.er1
>conftest.err
10824 cat conftest.err
>&5
10825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10826 (exit $ac_status); } &&
10827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10829 (eval $ac_try) 2>&5
10831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10832 (exit $ac_status); }; } &&
10833 { ac_try
='test -s conftest$ac_exeext'
10834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10835 (eval $ac_try) 2>&5
10837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10838 (exit $ac_status); }; }; then
10839 ac_cv_c___va_copy
="yes"
10841 echo "$as_me: failed program was:" >&5
10842 sed 's/^/| /' conftest.
$ac_ext >&5
10844 ac_cv_c___va_copy
="no"
10846 rm -f conftest.err conftest.
$ac_objext \
10847 conftest
$ac_exeext conftest.
$ac_ext
10850 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10851 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10852 if test "$ac_cv_c___va_copy" = "yes"
10855 cat >>confdefs.h
<<\_ACEOF
10856 #define HAVE___VA_COPY 1
10861 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10862 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10863 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10864 echo $ECHO_N "(cached) $ECHO_C" >&6
10866 cat >conftest.
$ac_ext <<_ACEOF
10869 cat confdefs.h
>>conftest.
$ac_ext
10870 cat >>conftest.
$ac_ext <<_ACEOF
10871 /* end confdefs.h. */
10872 #include <setjmp.h>
10877 sigsetjmp( buf, 1 );
10878 siglongjmp( buf, 1 );
10883 rm -f conftest.
$ac_objext conftest
$ac_exeext
10884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10885 (eval $ac_link) 2>conftest.er1
10887 grep -v '^ *+' conftest.er1
>conftest.err
10889 cat conftest.err
>&5
10890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10891 (exit $ac_status); } &&
10892 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10894 (eval $ac_try) 2>&5
10896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10897 (exit $ac_status); }; } &&
10898 { ac_try
='test -s conftest$ac_exeext'
10899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10900 (eval $ac_try) 2>&5
10902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10903 (exit $ac_status); }; }; then
10904 ac_cv_c_sigsetjmp
="yes"
10906 echo "$as_me: failed program was:" >&5
10907 sed 's/^/| /' conftest.
$ac_ext >&5
10909 ac_cv_c_sigsetjmp
="no"
10911 rm -f conftest.err conftest.
$ac_objext \
10912 conftest
$ac_exeext conftest.
$ac_ext
10915 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10916 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10917 if test "$ac_cv_c_sigsetjmp" = "yes"
10920 cat >>confdefs.h
<<\_ACEOF
10921 #define HAVE_SIGSETJMP 1
10926 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10927 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10928 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10929 echo $ECHO_N "(cached) $ECHO_C" >&6
10931 cat >conftest.
$ac_ext <<_ACEOF
10934 cat confdefs.h
>>conftest.
$ac_ext
10935 cat >>conftest.
$ac_ext <<_ACEOF
10936 /* end confdefs.h. */
10937 #define _GNU_SOURCE
10938 #include <pthread.h>
10943 if ((pthread_rwlock_t *) 0)
10945 if (sizeof (pthread_rwlock_t))
10951 rm -f conftest.
$ac_objext
10952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10953 (eval $ac_compile) 2>conftest.er1
10955 grep -v '^ *+' conftest.er1
>conftest.err
10957 cat conftest.err
>&5
10958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10959 (exit $ac_status); } &&
10960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10962 (eval $ac_try) 2>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); }; } &&
10966 { ac_try
='test -s conftest.$ac_objext'
10967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10968 (eval $ac_try) 2>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); }; }; then
10972 ac_cv_type_pthread_rwlock_t
=yes
10974 echo "$as_me: failed program was:" >&5
10975 sed 's/^/| /' conftest.
$ac_ext >&5
10977 ac_cv_type_pthread_rwlock_t
=no
10979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10981 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10982 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10983 if test $ac_cv_type_pthread_rwlock_t = yes; then
10985 cat >>confdefs.h
<<_ACEOF
10986 #define HAVE_PTHREAD_RWLOCK_T 1
10991 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10992 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10993 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10994 echo $ECHO_N "(cached) $ECHO_C" >&6
10996 cat >conftest.
$ac_ext <<_ACEOF
10999 cat confdefs.h
>>conftest.
$ac_ext
11000 cat >>conftest.
$ac_ext <<_ACEOF
11001 /* end confdefs.h. */
11002 #define _GNU_SOURCE
11003 #include <pthread.h>
11008 if ((pthread_rwlockattr_t *) 0)
11010 if (sizeof (pthread_rwlockattr_t))
11016 rm -f conftest.
$ac_objext
11017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11018 (eval $ac_compile) 2>conftest.er1
11020 grep -v '^ *+' conftest.er1
>conftest.err
11022 cat conftest.err
>&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11027 (eval $ac_try) 2>&5
11029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11030 (exit $ac_status); }; } &&
11031 { ac_try
='test -s conftest.$ac_objext'
11032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11033 (eval $ac_try) 2>&5
11035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11036 (exit $ac_status); }; }; then
11037 ac_cv_type_pthread_rwlockattr_t
=yes
11039 echo "$as_me: failed program was:" >&5
11040 sed 's/^/| /' conftest.
$ac_ext >&5
11042 ac_cv_type_pthread_rwlockattr_t
=no
11044 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11046 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11047 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11048 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11050 cat >>confdefs.h
<<_ACEOF
11051 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11058 ac_save_LIBS
="$LIBS"
11059 LIBS
="$LIBS $LIBPTHREAD"
11061 for ac_func
in pthread_getattr_np
11063 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11064 echo "$as_me:$LINENO: checking for $ac_func" >&5
11065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11066 if eval "test \"\${$as_ac_var+set}\" = set"; then
11067 echo $ECHO_N "(cached) $ECHO_C" >&6
11069 cat >conftest.
$ac_ext <<_ACEOF
11072 cat confdefs.h
>>conftest.
$ac_ext
11073 cat >>conftest.
$ac_ext <<_ACEOF
11074 /* end confdefs.h. */
11075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11077 #define $ac_func innocuous_$ac_func
11079 /* System header to define __stub macros and hopefully few prototypes,
11080 which can conflict with char $ac_func (); below.
11081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11082 <limits.h> exists even on freestanding compilers. */
11085 # include <limits.h>
11087 # include <assert.h>
11092 /* Override any gcc2 internal prototype to avoid an error. */
11097 /* We use char because int might match the return type of a gcc2
11098 builtin and then its argument prototype would still apply. */
11100 /* The GNU C library defines this for functions which it implements
11101 to always fail with ENOSYS. Some functions are actually named
11102 something starting with __ and the normal name is an alias. */
11103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11106 char (*f) () = $ac_func;
11115 return f != $ac_func;
11120 rm -f conftest.
$ac_objext conftest
$ac_exeext
11121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11122 (eval $ac_link) 2>conftest.er1
11124 grep -v '^ *+' conftest.er1
>conftest.err
11126 cat conftest.err
>&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 (exit $ac_status); } &&
11129 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11131 (eval $ac_try) 2>&5
11133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11134 (exit $ac_status); }; } &&
11135 { ac_try
='test -s conftest$ac_exeext'
11136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11137 (eval $ac_try) 2>&5
11139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11140 (exit $ac_status); }; }; then
11141 eval "$as_ac_var=yes"
11143 echo "$as_me: failed program was:" >&5
11144 sed 's/^/| /' conftest.
$ac_ext >&5
11146 eval "$as_ac_var=no"
11148 rm -f conftest.err conftest.
$ac_objext \
11149 conftest
$ac_exeext conftest.
$ac_ext
11151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11152 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11153 if test `eval echo '${'$as_ac_var'}'` = yes; then
11154 cat >>confdefs.h
<<_ACEOF
11155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11161 LIBS
="$ac_save_LIBS"
11166 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
11168 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11169 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11170 echo "$as_me:$LINENO: checking for $ac_header" >&5
11171 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11172 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11176 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11178 # Is the header compilable?
11179 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11180 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11181 cat >conftest.
$ac_ext <<_ACEOF
11184 cat confdefs.h
>>conftest.
$ac_ext
11185 cat >>conftest.
$ac_ext <<_ACEOF
11186 /* end confdefs.h. */
11187 $ac_includes_default
11188 #include <$ac_header>
11190 rm -f conftest.
$ac_objext
11191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11192 (eval $ac_compile) 2>conftest.er1
11194 grep -v '^ *+' conftest.er1
>conftest.err
11196 cat conftest.err
>&5
11197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11198 (exit $ac_status); } &&
11199 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11201 (eval $ac_try) 2>&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); }; } &&
11205 { ac_try
='test -s conftest.$ac_objext'
11206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11207 (eval $ac_try) 2>&5
11209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11210 (exit $ac_status); }; }; then
11211 ac_header_compiler
=yes
11213 echo "$as_me: failed program was:" >&5
11214 sed 's/^/| /' conftest.
$ac_ext >&5
11216 ac_header_compiler
=no
11218 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11220 echo "${ECHO_T}$ac_header_compiler" >&6
11222 # Is the header present?
11223 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11225 cat >conftest.
$ac_ext <<_ACEOF
11228 cat confdefs.h
>>conftest.
$ac_ext
11229 cat >>conftest.
$ac_ext <<_ACEOF
11230 /* end confdefs.h. */
11231 #include <$ac_header>
11233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11234 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11236 grep -v '^ *+' conftest.er1
>conftest.err
11238 cat conftest.err
>&5
11239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11240 (exit $ac_status); } >/dev
/null
; then
11241 if test -s conftest.err
; then
11242 ac_cpp_err
=$ac_c_preproc_warn_flag
11243 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11250 if test -z "$ac_cpp_err"; then
11251 ac_header_preproc
=yes
11253 echo "$as_me: failed program was:" >&5
11254 sed 's/^/| /' conftest.
$ac_ext >&5
11256 ac_header_preproc
=no
11258 rm -f conftest.err conftest.
$ac_ext
11259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11260 echo "${ECHO_T}$ac_header_preproc" >&6
11262 # So? What about this header?
11263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11265 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11269 ac_header_preproc
=yes
11272 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11274 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11275 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11276 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11278 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11279 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11282 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11286 ## ------------------------------------ ##
11287 ## Report this to wine-devel@winehq.org ##
11288 ## ------------------------------------ ##
11291 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
11301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11306 cat >>confdefs.h
<<_ACEOF
11307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11315 echo "$as_me:$LINENO: checking for Open Sound System" >&5
11316 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
11317 if test "${ac_cv_c_opensoundsystem+set}" = set; then
11318 echo $ECHO_N "(cached) $ECHO_C" >&6
11320 cat >conftest.
$ac_ext <<_ACEOF
11323 cat confdefs.h
>>conftest.
$ac_ext
11324 cat >>conftest.
$ac_ext <<_ACEOF
11325 /* end confdefs.h. */
11327 #if defined(HAVE_SYS_SOUNDCARD_H)
11328 #include <sys/soundcard.h>
11329 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11330 #include <machine/soundcard.h>
11331 #elif defined(HAVE_SOUNDCARD_H)
11332 #include <soundcard.h>
11340 /* check for one of the Open Sound System specific SNDCTL_ defines */
11341 #if !defined(SNDCTL_DSP_STEREO)
11342 #error No open sound system
11349 rm -f conftest.
$ac_objext
11350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11351 (eval $ac_compile) 2>conftest.er1
11353 grep -v '^ *+' conftest.er1
>conftest.err
11355 cat conftest.err
>&5
11356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11357 (exit $ac_status); } &&
11358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11360 (eval $ac_try) 2>&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); }; } &&
11364 { ac_try
='test -s conftest.$ac_objext'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; }; then
11370 ac_cv_c_opensoundsystem
="yes"
11372 echo "$as_me: failed program was:" >&5
11373 sed 's/^/| /' conftest.
$ac_ext >&5
11375 ac_cv_c_opensoundsystem
="no"
11377 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11379 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11380 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11382 if test "$ac_cv_c_opensoundsystem" = "yes"
11385 cat >>confdefs.h
<<\_ACEOF
11391 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11392 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11393 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11394 echo $ECHO_N "(cached) $ECHO_C" >&6
11396 cat >conftest.
$ac_ext <<_ACEOF
11399 cat confdefs.h
>>conftest.
$ac_ext
11400 cat >>conftest.
$ac_ext <<_ACEOF
11401 /* end confdefs.h. */
11403 #if defined(HAVE_SYS_SOUNDCARD_H)
11404 #include <sys/soundcard.h>
11405 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11406 #include <machine/soundcard.h>
11407 #elif defined(HAVE_SOUNDCARD_H)
11408 #include <soundcard.h>
11416 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11417 #if !defined(SNDCTL_SEQ_SYNC)
11418 #error No open sound system MIDI interface
11425 rm -f conftest.
$ac_objext
11426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11427 (eval $ac_compile) 2>conftest.er1
11429 grep -v '^ *+' conftest.er1
>conftest.err
11431 cat conftest.err
>&5
11432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11433 (exit $ac_status); } &&
11434 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11436 (eval $ac_try) 2>&5
11438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11439 (exit $ac_status); }; } &&
11440 { ac_try
='test -s conftest.$ac_objext'
11441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11442 (eval $ac_try) 2>&5
11444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11445 (exit $ac_status); }; }; then
11446 ac_cv_c_opensoundsystem_midi
="yes"
11448 echo "$as_me: failed program was:" >&5
11449 sed 's/^/| /' conftest.
$ac_ext >&5
11451 ac_cv_c_opensoundsystem_midi
="no"
11453 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11455 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11456 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11458 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11461 cat >>confdefs.h
<<\_ACEOF
11462 #define HAVE_OSS_MIDI 1
11467 # Extract the first word of "artsc-config", so it can be a program name with args.
11468 set dummy artsc-config
; ac_word
=$2
11469 echo "$as_me:$LINENO: checking for $ac_word" >&5
11470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11471 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11472 echo $ECHO_N "(cached) $ECHO_C" >&6
11474 case $ARTSCCONFIG in
11476 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11479 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11480 for as_dir
in $PATH
11483 test -z "$as_dir" && as_dir
=.
11484 for ac_exec_ext
in '' $ac_executable_extensions; do
11485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11486 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11496 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11498 if test -n "$ARTSCCONFIG"; then
11499 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11500 echo "${ECHO_T}$ARTSCCONFIG" >&6
11502 echo "$as_me:$LINENO: result: no" >&5
11503 echo "${ECHO_T}no" >&6
11506 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11509 for i
in `$ARTSCCONFIG --cflags`
11512 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11515 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11516 save_CFLAGS
="$CFLAGS"
11517 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11518 cat >conftest.
$ac_ext <<_ACEOF
11521 cat confdefs.h
>>conftest.
$ac_ext
11522 cat >>conftest.
$ac_ext <<_ACEOF
11523 /* end confdefs.h. */
11528 arts_stream_t stream;
11533 rm -f conftest.
$ac_objext
11534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11535 (eval $ac_compile) 2>conftest.er1
11537 grep -v '^ *+' conftest.er1
>conftest.err
11539 cat conftest.err
>&5
11540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11541 (exit $ac_status); } &&
11542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11544 (eval $ac_try) 2>&5
11546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547 (exit $ac_status); }; } &&
11548 { ac_try
='test -s conftest.$ac_objext'
11549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11550 (eval $ac_try) 2>&5
11552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11553 (exit $ac_status); }; }; then
11554 ARTSLIBS
=$ARTSC_LIBS
11556 ARTSINCL
=$ARTSC_CFLAGS
11559 cat >>confdefs.h
<<\_ACEOF
11560 #define HAVE_ARTS 1
11564 echo "$as_me: failed program was:" >&5
11565 sed 's/^/| /' conftest.
$ac_ext >&5
11568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11569 CFLAGS
="$save_CFLAGS"
11576 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11578 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11580 echo "$as_me:$LINENO: checking for $ac_header" >&5
11581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11583 echo $ECHO_N "(cached) $ECHO_C" >&6
11585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11588 # Is the header compilable?
11589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11591 cat >conftest.
$ac_ext <<_ACEOF
11594 cat confdefs.h
>>conftest.
$ac_ext
11595 cat >>conftest.
$ac_ext <<_ACEOF
11596 /* end confdefs.h. */
11597 $ac_includes_default
11598 #include <$ac_header>
11600 rm -f conftest.
$ac_objext
11601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11602 (eval $ac_compile) 2>conftest.er1
11604 grep -v '^ *+' conftest.er1
>conftest.err
11606 cat conftest.err
>&5
11607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11608 (exit $ac_status); } &&
11609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11611 (eval $ac_try) 2>&5
11613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11614 (exit $ac_status); }; } &&
11615 { ac_try
='test -s conftest.$ac_objext'
11616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11617 (eval $ac_try) 2>&5
11619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11620 (exit $ac_status); }; }; then
11621 ac_header_compiler
=yes
11623 echo "$as_me: failed program was:" >&5
11624 sed 's/^/| /' conftest.
$ac_ext >&5
11626 ac_header_compiler
=no
11628 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11629 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11630 echo "${ECHO_T}$ac_header_compiler" >&6
11632 # Is the header present?
11633 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11634 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11635 cat >conftest.
$ac_ext <<_ACEOF
11638 cat confdefs.h
>>conftest.
$ac_ext
11639 cat >>conftest.
$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11641 #include <$ac_header>
11643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11646 grep -v '^ *+' conftest.er1
>conftest.err
11648 cat conftest.err
>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } >/dev
/null
; then
11651 if test -s conftest.err
; then
11652 ac_cpp_err
=$ac_c_preproc_warn_flag
11653 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11660 if test -z "$ac_cpp_err"; then
11661 ac_header_preproc
=yes
11663 echo "$as_me: failed program was:" >&5
11664 sed 's/^/| /' conftest.
$ac_ext >&5
11666 ac_header_preproc
=no
11668 rm -f conftest.err conftest.
$ac_ext
11669 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11670 echo "${ECHO_T}$ac_header_preproc" >&6
11672 # So? What about this header?
11673 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11675 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11676 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11677 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11678 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11679 ac_header_preproc
=yes
11682 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11683 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11684 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11685 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11686 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11687 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11688 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11689 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11691 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11692 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11693 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11696 ## ------------------------------------ ##
11697 ## Report this to wine-devel@winehq.org ##
11698 ## ------------------------------------ ##
11701 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
11711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11712 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11715 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11716 cat >>confdefs.h
<<_ACEOF
11717 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11724 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11726 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11727 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11728 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11729 echo $ECHO_N "(cached) $ECHO_C" >&6
11731 ac_check_lib_save_LIBS
=$LIBS
11732 LIBS
="-lasound $LIBS"
11733 cat >conftest.
$ac_ext <<_ACEOF
11736 cat confdefs.h
>>conftest.
$ac_ext
11737 cat >>conftest.
$ac_ext <<_ACEOF
11738 /* end confdefs.h. */
11740 /* Override any gcc2 internal prototype to avoid an error. */
11744 /* We use char because int might match the return type of a gcc2
11745 builtin and then its argument prototype would still apply. */
11746 char snd_pcm_open ();
11755 rm -f conftest.
$ac_objext conftest
$ac_exeext
11756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11757 (eval $ac_link) 2>conftest.er1
11759 grep -v '^ *+' conftest.er1
>conftest.err
11761 cat conftest.err
>&5
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); } &&
11764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11766 (eval $ac_try) 2>&5
11768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); }; } &&
11770 { ac_try
='test -s conftest$ac_exeext'
11771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11772 (eval $ac_try) 2>&5
11774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11775 (exit $ac_status); }; }; then
11776 ac_cv_lib_asound_snd_pcm_open
=yes
11778 echo "$as_me: failed program was:" >&5
11779 sed 's/^/| /' conftest.
$ac_ext >&5
11781 ac_cv_lib_asound_snd_pcm_open
=no
11783 rm -f conftest.err conftest.
$ac_objext \
11784 conftest
$ac_exeext conftest.
$ac_ext
11785 LIBS
=$ac_check_lib_save_LIBS
11787 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11788 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11789 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11791 cat >>confdefs.h
<<\_ACEOF
11792 #define HAVE_ALSA 1
11795 ALSALIBS
="-lasound"
11804 for ac_header
in libaudioio.h
11806 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11807 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11808 echo "$as_me:$LINENO: checking for $ac_header" >&5
11809 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11810 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11811 echo $ECHO_N "(cached) $ECHO_C" >&6
11813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11816 # Is the header compilable?
11817 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11818 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11819 cat >conftest.
$ac_ext <<_ACEOF
11822 cat confdefs.h
>>conftest.
$ac_ext
11823 cat >>conftest.
$ac_ext <<_ACEOF
11824 /* end confdefs.h. */
11825 $ac_includes_default
11826 #include <$ac_header>
11828 rm -f conftest.
$ac_objext
11829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11830 (eval $ac_compile) 2>conftest.er1
11832 grep -v '^ *+' conftest.er1
>conftest.err
11834 cat conftest.err
>&5
11835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11836 (exit $ac_status); } &&
11837 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11839 (eval $ac_try) 2>&5
11841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11842 (exit $ac_status); }; } &&
11843 { ac_try
='test -s conftest.$ac_objext'
11844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11845 (eval $ac_try) 2>&5
11847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11848 (exit $ac_status); }; }; then
11849 ac_header_compiler
=yes
11851 echo "$as_me: failed program was:" >&5
11852 sed 's/^/| /' conftest.
$ac_ext >&5
11854 ac_header_compiler
=no
11856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11857 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11858 echo "${ECHO_T}$ac_header_compiler" >&6
11860 # Is the header present?
11861 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11863 cat >conftest.
$ac_ext <<_ACEOF
11866 cat confdefs.h
>>conftest.
$ac_ext
11867 cat >>conftest.
$ac_ext <<_ACEOF
11868 /* end confdefs.h. */
11869 #include <$ac_header>
11871 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11872 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11874 grep -v '^ *+' conftest.er1
>conftest.err
11876 cat conftest.err
>&5
11877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11878 (exit $ac_status); } >/dev
/null
; then
11879 if test -s conftest.err
; then
11880 ac_cpp_err
=$ac_c_preproc_warn_flag
11881 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11888 if test -z "$ac_cpp_err"; then
11889 ac_header_preproc
=yes
11891 echo "$as_me: failed program was:" >&5
11892 sed 's/^/| /' conftest.
$ac_ext >&5
11894 ac_header_preproc
=no
11896 rm -f conftest.err conftest.
$ac_ext
11897 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11898 echo "${ECHO_T}$ac_header_preproc" >&6
11900 # So? What about this header?
11901 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11903 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11904 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11905 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11906 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11907 ac_header_preproc
=yes
11910 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11911 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11912 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11913 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11914 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11915 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11916 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11917 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11918 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11919 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11920 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11921 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11924 ## ------------------------------------ ##
11925 ## Report this to wine-devel@winehq.org ##
11926 ## ------------------------------------ ##
11929 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
11939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11944 cat >>confdefs.h
<<_ACEOF
11945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11947 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11948 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11949 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11952 ac_check_lib_save_LIBS
=$LIBS
11953 LIBS
="-laudioio $LIBS"
11954 cat >conftest.
$ac_ext <<_ACEOF
11957 cat confdefs.h
>>conftest.
$ac_ext
11958 cat >>conftest.
$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11961 /* Override any gcc2 internal prototype to avoid an error. */
11965 /* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11967 char AudioIOGetVersion ();
11971 AudioIOGetVersion ();
11976 rm -f conftest.
$ac_objext conftest
$ac_exeext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11978 (eval $ac_link) 2>conftest.er1
11980 grep -v '^ *+' conftest.er1
>conftest.err
11982 cat conftest.err
>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); } &&
11985 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11987 (eval $ac_try) 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; } &&
11991 { ac_try
='test -s conftest$ac_exeext'
11992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11993 (eval $ac_try) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); }; }; then
11997 ac_cv_lib_audioio_AudioIOGetVersion
=yes
11999 echo "$as_me: failed program was:" >&5
12000 sed 's/^/| /' conftest.
$ac_ext >&5
12002 ac_cv_lib_audioio_AudioIOGetVersion
=no
12004 rm -f conftest.err conftest.
$ac_objext \
12005 conftest
$ac_exeext conftest.
$ac_ext
12006 LIBS
=$ac_check_lib_save_LIBS
12008 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12009 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12010 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12011 AUDIOIOLIBS
="-laudioio"
12013 cat >>confdefs.h
<<\_ACEOF
12014 #define HAVE_LIBAUDIOIO 1
12026 for ac_header
in capi20.h
12028 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12030 echo "$as_me:$LINENO: checking for $ac_header" >&5
12031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12033 echo $ECHO_N "(cached) $ECHO_C" >&6
12035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12038 # Is the header compilable?
12039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12041 cat >conftest.
$ac_ext <<_ACEOF
12044 cat confdefs.h
>>conftest.
$ac_ext
12045 cat >>conftest.
$ac_ext <<_ACEOF
12046 /* end confdefs.h. */
12047 $ac_includes_default
12048 #include <$ac_header>
12050 rm -f conftest.
$ac_objext
12051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12052 (eval $ac_compile) 2>conftest.er1
12054 grep -v '^ *+' conftest.er1
>conftest.err
12056 cat conftest.err
>&5
12057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12058 (exit $ac_status); } &&
12059 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12061 (eval $ac_try) 2>&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); }; } &&
12065 { ac_try
='test -s conftest.$ac_objext'
12066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12067 (eval $ac_try) 2>&5
12069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12070 (exit $ac_status); }; }; then
12071 ac_header_compiler
=yes
12073 echo "$as_me: failed program was:" >&5
12074 sed 's/^/| /' conftest.
$ac_ext >&5
12076 ac_header_compiler
=no
12078 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12079 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12080 echo "${ECHO_T}$ac_header_compiler" >&6
12082 # Is the header present?
12083 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12084 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12085 cat >conftest.
$ac_ext <<_ACEOF
12088 cat confdefs.h
>>conftest.
$ac_ext
12089 cat >>conftest.
$ac_ext <<_ACEOF
12090 /* end confdefs.h. */
12091 #include <$ac_header>
12093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12094 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12096 grep -v '^ *+' conftest.er1
>conftest.err
12098 cat conftest.err
>&5
12099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100 (exit $ac_status); } >/dev
/null
; then
12101 if test -s conftest.err
; then
12102 ac_cpp_err
=$ac_c_preproc_warn_flag
12103 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12110 if test -z "$ac_cpp_err"; then
12111 ac_header_preproc
=yes
12113 echo "$as_me: failed program was:" >&5
12114 sed 's/^/| /' conftest.
$ac_ext >&5
12116 ac_header_preproc
=no
12118 rm -f conftest.err conftest.
$ac_ext
12119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12120 echo "${ECHO_T}$ac_header_preproc" >&6
12122 # So? What about this header?
12123 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12125 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12127 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12128 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12129 ac_header_preproc
=yes
12132 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12133 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12134 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12135 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12136 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12137 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12138 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12139 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12140 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12141 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12142 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12143 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12146 ## ------------------------------------ ##
12147 ## Report this to wine-devel@winehq.org ##
12148 ## ------------------------------------ ##
12151 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
12161 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12162 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12165 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12166 cat >>confdefs.h
<<_ACEOF
12167 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12171 for ac_header
in linux
/capi.h
12173 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
12174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12175 echo "$as_me:$LINENO: checking for $ac_header" >&5
12176 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
12177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
12178 echo $ECHO_N "(cached) $ECHO_C" >&6
12180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12183 # Is the header compilable?
12184 echo "$as_me:$LINENO: checking $ac_header usability" >&5
12185 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
12186 cat >conftest.
$ac_ext <<_ACEOF
12189 cat confdefs.h
>>conftest.
$ac_ext
12190 cat >>conftest.
$ac_ext <<_ACEOF
12191 /* end confdefs.h. */
12192 $ac_includes_default
12193 #include <$ac_header>
12195 rm -f conftest.
$ac_objext
12196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12197 (eval $ac_compile) 2>conftest.er1
12199 grep -v '^ *+' conftest.er1
>conftest.err
12201 cat conftest.err
>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206 (eval $ac_try) 2>&5
12208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12209 (exit $ac_status); }; } &&
12210 { ac_try
='test -s conftest.$ac_objext'
12211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12212 (eval $ac_try) 2>&5
12214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); }; }; then
12216 ac_header_compiler
=yes
12218 echo "$as_me: failed program was:" >&5
12219 sed 's/^/| /' conftest.
$ac_ext >&5
12221 ac_header_compiler
=no
12223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12224 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
12225 echo "${ECHO_T}$ac_header_compiler" >&6
12227 # Is the header present?
12228 echo "$as_me:$LINENO: checking $ac_header presence" >&5
12229 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
12230 cat >conftest.
$ac_ext <<_ACEOF
12233 cat confdefs.h
>>conftest.
$ac_ext
12234 cat >>conftest.
$ac_ext <<_ACEOF
12235 /* end confdefs.h. */
12236 #include <$ac_header>
12238 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
12239 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
12241 grep -v '^ *+' conftest.er1
>conftest.err
12243 cat conftest.err
>&5
12244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12245 (exit $ac_status); } >/dev
/null
; then
12246 if test -s conftest.err
; then
12247 ac_cpp_err
=$ac_c_preproc_warn_flag
12248 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
12255 if test -z "$ac_cpp_err"; then
12256 ac_header_preproc
=yes
12258 echo "$as_me: failed program was:" >&5
12259 sed 's/^/| /' conftest.
$ac_ext >&5
12261 ac_header_preproc
=no
12263 rm -f conftest.err conftest.
$ac_ext
12264 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
12265 echo "${ECHO_T}$ac_header_preproc" >&6
12267 # So? What about this header?
12268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
12270 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
12271 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
12272 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
12273 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
12274 ac_header_preproc
=yes
12277 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
12278 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
12279 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
12280 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
12281 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
12282 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
12283 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
12284 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
12285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
12286 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
12287 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
12288 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
12291 ## ------------------------------------ ##
12292 ## Report this to wine-devel@winehq.org ##
12293 ## ------------------------------------ ##
12296 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
12306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
12307 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
12310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12311 cat >>confdefs.h
<<_ACEOF
12312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12315 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12316 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12317 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12318 echo $ECHO_N "(cached) $ECHO_C" >&6
12320 ac_check_lib_save_LIBS
=$LIBS
12321 LIBS
="-lcapi20 $LIBS"
12322 cat >conftest.
$ac_ext <<_ACEOF
12325 cat confdefs.h
>>conftest.
$ac_ext
12326 cat >>conftest.
$ac_ext <<_ACEOF
12327 /* end confdefs.h. */
12329 /* Override any gcc2 internal prototype to avoid an error. */
12333 /* We use char because int might match the return type of a gcc2
12334 builtin and then its argument prototype would still apply. */
12335 char capi20_register ();
12339 capi20_register ();
12344 rm -f conftest.
$ac_objext conftest
$ac_exeext
12345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12346 (eval $ac_link) 2>conftest.er1
12348 grep -v '^ *+' conftest.er1
>conftest.err
12350 cat conftest.err
>&5
12351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12352 (exit $ac_status); } &&
12353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12355 (eval $ac_try) 2>&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); }; } &&
12359 { ac_try
='test -s conftest$ac_exeext'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; }; then
12365 ac_cv_lib_capi20_capi20_register
=yes
12367 echo "$as_me: failed program was:" >&5
12368 sed 's/^/| /' conftest.
$ac_ext >&5
12370 ac_cv_lib_capi20_capi20_register
=no
12372 rm -f conftest.err conftest.
$ac_objext \
12373 conftest
$ac_exeext conftest.
$ac_ext
12374 LIBS
=$ac_check_lib_save_LIBS
12376 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12377 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12378 if test $ac_cv_lib_capi20_capi20_register = yes; then
12381 cat >>confdefs.h
<<\_ACEOF
12382 #define HAVE_CAPI4LINUX 1
12385 CAPI4LINUXLIBS
="-lcapi20"
12402 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12403 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12404 if test "${ac_cv_mmap64_works+set}" = set; then
12405 echo $ECHO_N "(cached) $ECHO_C" >&6
12407 if test "$cross_compiling" = yes; then
12408 ac_cv_mmap64_works
="no"
12410 cat >conftest.
$ac_ext <<_ACEOF
12413 cat confdefs.h
>>conftest.
$ac_ext
12414 cat >>conftest.
$ac_ext <<_ACEOF
12415 /* end confdefs.h. */
12417 #define _FILE_OFFSET_BITS 64
12419 #include <unistd.h>
12421 #include <sys/mman.h>
12424 int main(int argc,char **argv) {
12425 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12426 if (fd == -1) exit(1);
12428 unlink("conftest.map");
12430 write(fd,"test",4);
12432 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12438 fprintf(stderr,"success!\n");
12444 rm -f conftest
$ac_exeext
12445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12446 (eval $ac_link) 2>&5
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12451 (eval $ac_try) 2>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); }; }; then
12455 ac_cv_mmap64_works
="yes"
12457 echo "$as_me: program exited with status $ac_status" >&5
12458 echo "$as_me: failed program was:" >&5
12459 sed 's/^/| /' conftest.
$ac_ext >&5
12461 ( exit $ac_status )
12462 ac_cv_mmap64_works
="no"
12464 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12467 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12468 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12470 if test "$ac_cv_mmap64_works" = "yes"
12473 cat >>confdefs.h
<<\_ACEOF
12474 #define _FILE_OFFSET_BITS 64
12482 if test "x${GCC}" = "xyes"
12484 EXTRACFLAGS
="-Wall -pipe"
12486 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12487 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12488 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12491 if test "$cross_compiling" = yes; then
12492 ac_cv_c_gcc_strength_bug
="yes"
12494 cat >conftest.
$ac_ext <<_ACEOF
12497 cat confdefs.h
>>conftest.
$ac_ext
12498 cat >>conftest.
$ac_ext <<_ACEOF
12499 /* end confdefs.h. */
12501 int L[4] = {0,1,2,3};
12503 static int Array[3];
12504 unsigned int B = 3;
12506 for(i=0; i<B; i++) Array[i] = i - 3;
12507 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12510 exit( Array[1] != -2 || L[2] != 3);
12513 rm -f conftest
$ac_exeext
12514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12515 (eval $ac_link) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12520 (eval $ac_try) 2>&5
12522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12523 (exit $ac_status); }; }; then
12524 ac_cv_c_gcc_strength_bug
="no"
12526 echo "$as_me: program exited with status $ac_status" >&5
12527 echo "$as_me: failed program was:" >&5
12528 sed 's/^/| /' conftest.
$ac_ext >&5
12530 ( exit $ac_status )
12531 ac_cv_c_gcc_strength_bug
="yes"
12533 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12536 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12537 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12538 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12540 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12543 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12544 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12545 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12546 echo $ECHO_N "(cached) $ECHO_C" >&6
12548 ac_wine_try_cflags_saved
=$CFLAGS
12549 CFLAGS
="$CFLAGS -fshort-wchar"
12550 cat >conftest.
$ac_ext <<_ACEOF
12553 cat confdefs.h
>>conftest.
$ac_ext
12554 cat >>conftest.
$ac_ext <<_ACEOF
12555 /* end confdefs.h. */
12565 rm -f conftest.
$ac_objext conftest
$ac_exeext
12566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12567 (eval $ac_link) 2>conftest.er1
12569 grep -v '^ *+' conftest.er1
>conftest.err
12571 cat conftest.err
>&5
12572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12573 (exit $ac_status); } &&
12574 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12576 (eval $ac_try) 2>&5
12578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12579 (exit $ac_status); }; } &&
12580 { ac_try
='test -s conftest$ac_exeext'
12581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12582 (eval $ac_try) 2>&5
12584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12585 (exit $ac_status); }; }; then
12586 ac_cv_c_gcc_fshort_wchar
="yes"
12588 echo "$as_me: failed program was:" >&5
12589 sed 's/^/| /' conftest.
$ac_ext >&5
12591 ac_cv_c_gcc_fshort_wchar
="no"
12593 rm -f conftest.err conftest.
$ac_objext \
12594 conftest
$ac_exeext conftest.
$ac_ext
12595 CFLAGS
=$ac_wine_try_cflags_saved
12597 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12598 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12599 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12602 cat >>confdefs.h
<<\_ACEOF
12603 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12608 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12609 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12610 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12611 echo $ECHO_N "(cached) $ECHO_C" >&6
12613 ac_wine_try_cflags_saved
=$CFLAGS
12614 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12615 cat >conftest.
$ac_ext <<_ACEOF
12618 cat confdefs.h
>>conftest.
$ac_ext
12619 cat >>conftest.
$ac_ext <<_ACEOF
12620 /* end confdefs.h. */
12630 rm -f conftest.
$ac_objext conftest
$ac_exeext
12631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12632 (eval $ac_link) 2>conftest.er1
12634 grep -v '^ *+' conftest.er1
>conftest.err
12636 cat conftest.err
>&5
12637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12638 (exit $ac_status); } &&
12639 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12641 (eval $ac_try) 2>&5
12643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12644 (exit $ac_status); }; } &&
12645 { ac_try
='test -s conftest$ac_exeext'
12646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12647 (eval $ac_try) 2>&5
12649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12650 (exit $ac_status); }; }; then
12651 ac_cv_c_gcc_stack_boundary
="yes"
12653 echo "$as_me: failed program was:" >&5
12654 sed 's/^/| /' conftest.
$ac_ext >&5
12656 ac_cv_c_gcc_stack_boundary
="no"
12658 rm -f conftest.err conftest.
$ac_objext \
12659 conftest
$ac_exeext conftest.
$ac_ext
12660 CFLAGS
=$ac_wine_try_cflags_saved
12662 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12663 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12664 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12666 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12669 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12670 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12671 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12672 echo $ECHO_N "(cached) $ECHO_C" >&6
12674 ac_wine_try_cflags_saved
=$CFLAGS
12675 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12676 cat >conftest.
$ac_ext <<_ACEOF
12679 cat confdefs.h
>>conftest.
$ac_ext
12680 cat >>conftest.
$ac_ext <<_ACEOF
12681 /* end confdefs.h. */
12691 rm -f conftest.
$ac_objext conftest
$ac_exeext
12692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12693 (eval $ac_link) 2>conftest.er1
12695 grep -v '^ *+' conftest.er1
>conftest.err
12697 cat conftest.err
>&5
12698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12699 (exit $ac_status); } &&
12700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12702 (eval $ac_try) 2>&5
12704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12705 (exit $ac_status); }; } &&
12706 { ac_try
='test -s conftest$ac_exeext'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; }; then
12712 ac_cv_c_gcc_no_strict_aliasing
="yes"
12714 echo "$as_me: failed program was:" >&5
12715 sed 's/^/| /' conftest.
$ac_ext >&5
12717 ac_cv_c_gcc_no_strict_aliasing
="no"
12719 rm -f conftest.err conftest.
$ac_objext \
12720 conftest
$ac_exeext conftest.
$ac_ext
12721 CFLAGS
=$ac_wine_try_cflags_saved
12723 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12724 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12725 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12727 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12730 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12731 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12732 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12733 echo $ECHO_N "(cached) $ECHO_C" >&6
12735 ac_wine_try_cflags_saved
=$CFLAGS
12736 CFLAGS
="$CFLAGS -gstabs+"
12737 cat >conftest.
$ac_ext <<_ACEOF
12740 cat confdefs.h
>>conftest.
$ac_ext
12741 cat >>conftest.
$ac_ext <<_ACEOF
12742 /* end confdefs.h. */
12752 rm -f conftest.
$ac_objext conftest
$ac_exeext
12753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12754 (eval $ac_link) 2>conftest.er1
12756 grep -v '^ *+' conftest.er1
>conftest.err
12758 cat conftest.err
>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); } &&
12761 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12763 (eval $ac_try) 2>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); }; } &&
12767 { ac_try
='test -s conftest$ac_exeext'
12768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12769 (eval $ac_try) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); }; }; then
12773 ac_cv_c_gcc_gstabs
="yes"
12775 echo "$as_me: failed program was:" >&5
12776 sed 's/^/| /' conftest.
$ac_ext >&5
12778 ac_cv_c_gcc_gstabs
="no"
12780 rm -f conftest.err conftest.
$ac_objext \
12781 conftest
$ac_exeext conftest.
$ac_ext
12782 CFLAGS
=$ac_wine_try_cflags_saved
12784 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12785 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12786 if test "$ac_cv_c_gcc_gstabs" = "yes"
12788 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12791 saved_CFLAGS
="$CFLAGS"
12792 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12793 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12794 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12795 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12796 echo $ECHO_N "(cached) $ECHO_C" >&6
12798 cat >conftest.
$ac_ext <<_ACEOF
12801 cat confdefs.h
>>conftest.
$ac_ext
12802 cat >>conftest.
$ac_ext <<_ACEOF
12803 /* end confdefs.h. */
12804 #include <string.h>
12813 rm -f conftest.
$ac_objext
12814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12815 (eval $ac_compile) 2>conftest.er1
12817 grep -v '^ *+' conftest.er1
>conftest.err
12819 cat conftest.err
>&5
12820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12821 (exit $ac_status); } &&
12822 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12824 (eval $ac_try) 2>&5
12826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12827 (exit $ac_status); }; } &&
12828 { ac_try
='test -s conftest.$ac_objext'
12829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12830 (eval $ac_try) 2>&5
12832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12833 (exit $ac_status); }; }; then
12834 ac_cv_c_string_h_warnings
=no
12836 echo "$as_me: failed program was:" >&5
12837 sed 's/^/| /' conftest.
$ac_ext >&5
12839 ac_cv_c_string_h_warnings
=yes
12841 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12843 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12844 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12845 CFLAGS
="$saved_CFLAGS"
12846 if test "$ac_cv_c_string_h_warnings" = "no"
12848 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12853 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12854 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12855 if test "${ac_cv_asm_func_def+set}" = set; then
12856 echo $ECHO_N "(cached) $ECHO_C" >&6
12858 cat >conftest.
$ac_ext <<_ACEOF
12861 cat confdefs.h
>>conftest.
$ac_ext
12862 cat >>conftest.
$ac_ext <<_ACEOF
12863 /* end confdefs.h. */
12864 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"); }
12874 rm -f conftest.
$ac_objext conftest
$ac_exeext
12875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12876 (eval $ac_link) 2>conftest.er1
12878 grep -v '^ *+' conftest.er1
>conftest.err
12880 cat conftest.err
>&5
12881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12882 (exit $ac_status); } &&
12883 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12885 (eval $ac_try) 2>&5
12887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12888 (exit $ac_status); }; } &&
12889 { ac_try
='test -s conftest$ac_exeext'
12890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12891 (eval $ac_try) 2>&5
12893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12894 (exit $ac_status); }; }; then
12895 ac_cv_asm_func_def
=".def"
12897 echo "$as_me: failed program was:" >&5
12898 sed 's/^/| /' conftest.
$ac_ext >&5
12900 cat >conftest.
$ac_ext <<_ACEOF
12903 cat confdefs.h
>>conftest.
$ac_ext
12904 cat >>conftest.
$ac_ext <<_ACEOF
12905 /* end confdefs.h. */
12906 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12916 rm -f conftest.
$ac_objext conftest
$ac_exeext
12917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12918 (eval $ac_link) 2>conftest.er1
12920 grep -v '^ *+' conftest.er1
>conftest.err
12922 cat conftest.err
>&5
12923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12924 (exit $ac_status); } &&
12925 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12927 (eval $ac_try) 2>&5
12929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12930 (exit $ac_status); }; } &&
12931 { ac_try
='test -s conftest$ac_exeext'
12932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12933 (eval $ac_try) 2>&5
12935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12936 (exit $ac_status); }; }; then
12937 ac_cv_asm_func_def
=".type @function"
12939 echo "$as_me: failed program was:" >&5
12940 sed 's/^/| /' conftest.
$ac_ext >&5
12942 cat >conftest.
$ac_ext <<_ACEOF
12945 cat confdefs.h
>>conftest.
$ac_ext
12946 cat >>conftest.
$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12948 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12958 rm -f conftest.
$ac_objext conftest
$ac_exeext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12960 (eval $ac_link) 2>conftest.er1
12962 grep -v '^ *+' conftest.er1
>conftest.err
12964 cat conftest.err
>&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); } &&
12967 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try
='test -s conftest$ac_exeext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 ac_cv_asm_func_def
=".type 2"
12981 echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.
$ac_ext >&5
12984 ac_cv_asm_func_def
="unknown"
12986 rm -f conftest.err conftest.
$ac_objext \
12987 conftest
$ac_exeext conftest.
$ac_ext
12989 rm -f conftest.err conftest.
$ac_objext \
12990 conftest
$ac_exeext conftest.
$ac_ext
12992 rm -f conftest.err conftest.
$ac_objext \
12993 conftest
$ac_exeext conftest.
$ac_ext
12995 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12996 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13000 case "$ac_cv_asm_func_def" in
13002 cat >>confdefs.h
<<\_ACEOF
13003 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13007 cat >>confdefs.h
<<\_ACEOF
13008 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13012 cat >>confdefs.h
<<\_ACEOF
13013 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13017 cat >>confdefs.h
<<\_ACEOF
13018 #define __ASM_FUNC(name) ""
13024 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13025 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13026 if test "${ac_cv_c_extern_prefix+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 cat >conftest.
$ac_ext <<_ACEOF
13032 cat confdefs.h
>>conftest.
$ac_ext
13033 cat >>conftest.
$ac_ext <<_ACEOF
13034 /* end confdefs.h. */
13035 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13036 extern int ac_test;
13040 if (ac_test) return 1
13045 rm -f conftest.
$ac_objext conftest
$ac_exeext
13046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13047 (eval $ac_link) 2>conftest.er1
13049 grep -v '^ *+' conftest.er1
>conftest.err
13051 cat conftest.err
>&5
13052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13053 (exit $ac_status); } &&
13054 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13056 (eval $ac_try) 2>&5
13058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13059 (exit $ac_status); }; } &&
13060 { ac_try
='test -s conftest$ac_exeext'
13061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13062 (eval $ac_try) 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; }; then
13066 ac_cv_c_extern_prefix
="yes"
13068 echo "$as_me: failed program was:" >&5
13069 sed 's/^/| /' conftest.
$ac_ext >&5
13071 ac_cv_c_extern_prefix
="no"
13073 rm -f conftest.err conftest.
$ac_objext \
13074 conftest
$ac_exeext conftest.
$ac_ext
13076 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13077 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13081 if test "$ac_cv_c_extern_prefix" = "yes"
13083 cat >>confdefs.h
<<\_ACEOF
13084 #define __ASM_NAME(name) "_" name
13088 cat >>confdefs.h
<<\_ACEOF
13089 #define __ASM_NAME(name) name
13095 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
13096 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
13097 if test "${ac_cv_c_asm_string+set}" = set; then
13098 echo $ECHO_N "(cached) $ECHO_C" >&6
13100 cat >conftest.
$ac_ext <<_ACEOF
13103 cat confdefs.h
>>conftest.
$ac_ext
13104 cat >>conftest.
$ac_ext <<_ACEOF
13105 /* end confdefs.h. */
13106 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
13116 rm -f conftest.
$ac_objext conftest
$ac_exeext
13117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13118 (eval $ac_link) 2>conftest.er1
13120 grep -v '^ *+' conftest.er1
>conftest.err
13122 cat conftest.err
>&5
13123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13124 (exit $ac_status); } &&
13125 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13127 (eval $ac_try) 2>&5
13129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13130 (exit $ac_status); }; } &&
13131 { ac_try
='test -s conftest$ac_exeext'
13132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13133 (eval $ac_try) 2>&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); }; }; then
13137 ac_cv_c_asm_string
=".string"
13139 echo "$as_me: failed program was:" >&5
13140 sed 's/^/| /' conftest.
$ac_ext >&5
13142 cat >conftest.
$ac_ext <<_ACEOF
13145 cat confdefs.h
>>conftest.
$ac_ext
13146 cat >>conftest.
$ac_ext <<_ACEOF
13147 /* end confdefs.h. */
13148 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
13158 rm -f conftest.
$ac_objext conftest
$ac_exeext
13159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13160 (eval $ac_link) 2>conftest.er1
13162 grep -v '^ *+' conftest.er1
>conftest.err
13164 cat conftest.err
>&5
13165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13166 (exit $ac_status); } &&
13167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13169 (eval $ac_try) 2>&5
13171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13172 (exit $ac_status); }; } &&
13173 { ac_try
='test -s conftest$ac_exeext'
13174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13175 (eval $ac_try) 2>&5
13177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13178 (exit $ac_status); }; }; then
13179 ac_cv_c_asm_string
=".asciz"
13181 echo "$as_me: failed program was:" >&5
13182 sed 's/^/| /' conftest.
$ac_ext >&5
13184 cat >conftest.
$ac_ext <<_ACEOF
13187 cat confdefs.h
>>conftest.
$ac_ext
13188 cat >>conftest.
$ac_ext <<_ACEOF
13189 /* end confdefs.h. */
13190 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
13200 rm -f conftest.
$ac_objext conftest
$ac_exeext
13201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13202 (eval $ac_link) 2>conftest.er1
13204 grep -v '^ *+' conftest.er1
>conftest.err
13206 cat conftest.err
>&5
13207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } &&
13209 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13211 (eval $ac_try) 2>&5
13213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13214 (exit $ac_status); }; } &&
13215 { ac_try
='test -s conftest$ac_exeext'
13216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13217 (eval $ac_try) 2>&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); }; }; then
13221 ac_cv_c_asm_string
=".ascii"
13223 echo "$as_me: failed program was:" >&5
13224 sed 's/^/| /' conftest.
$ac_ext >&5
13226 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
13227 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
13228 { (exit 1); exit 1; }; }
13230 rm -f conftest.err conftest.
$ac_objext \
13231 conftest
$ac_exeext conftest.
$ac_ext
13233 rm -f conftest.err conftest.
$ac_objext \
13234 conftest
$ac_exeext conftest.
$ac_ext
13236 rm -f conftest.err conftest.
$ac_objext \
13237 conftest
$ac_exeext conftest.
$ac_ext
13239 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
13240 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
13243 cat >>confdefs.h
<<_ACEOF
13244 #define __ASM_STRING "$ac_cv_c_asm_string"
13249 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
13250 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
13251 if test "${ac_cv_c_asm_short+set}" = set; then
13252 echo $ECHO_N "(cached) $ECHO_C" >&6
13254 cat >conftest.
$ac_ext <<_ACEOF
13257 cat confdefs.h
>>conftest.
$ac_ext
13258 cat >>conftest.
$ac_ext <<_ACEOF
13259 /* end confdefs.h. */
13260 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
13270 rm -f conftest.
$ac_objext conftest
$ac_exeext
13271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13272 (eval $ac_link) 2>conftest.er1
13274 grep -v '^ *+' conftest.er1
>conftest.err
13276 cat conftest.err
>&5
13277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13278 (exit $ac_status); } &&
13279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13281 (eval $ac_try) 2>&5
13283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13284 (exit $ac_status); }; } &&
13285 { ac_try
='test -s conftest$ac_exeext'
13286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13287 (eval $ac_try) 2>&5
13289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13290 (exit $ac_status); }; }; then
13291 ac_cv_c_asm_short
=".short"
13293 echo "$as_me: failed program was:" >&5
13294 sed 's/^/| /' conftest.
$ac_ext >&5
13296 cat >conftest.
$ac_ext <<_ACEOF
13299 cat confdefs.h
>>conftest.
$ac_ext
13300 cat >>conftest.
$ac_ext <<_ACEOF
13301 /* end confdefs.h. */
13302 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
13312 rm -f conftest.
$ac_objext conftest
$ac_exeext
13313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13314 (eval $ac_link) 2>conftest.er1
13316 grep -v '^ *+' conftest.er1
>conftest.err
13318 cat conftest.err
>&5
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); } &&
13321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13323 (eval $ac_try) 2>&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); }; } &&
13327 { ac_try
='test -s conftest$ac_exeext'
13328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13329 (eval $ac_try) 2>&5
13331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13332 (exit $ac_status); }; }; then
13333 ac_cv_c_asm_short
=".half"
13335 echo "$as_me: failed program was:" >&5
13336 sed 's/^/| /' conftest.
$ac_ext >&5
13338 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
13339 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
13340 { (exit 1); exit 1; }; }
13342 rm -f conftest.err conftest.
$ac_objext \
13343 conftest
$ac_exeext conftest.
$ac_ext
13345 rm -f conftest.err conftest.
$ac_objext \
13346 conftest
$ac_exeext conftest.
$ac_ext
13348 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
13349 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
13352 cat >>confdefs.h
<<_ACEOF
13353 #define __ASM_SHORT "$ac_cv_c_asm_short"
13360 DLLFLAGS
="-D_REENTRANT"
13375 if test -n "$ac_tool_prefix"; then
13376 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13377 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13378 echo "$as_me:$LINENO: checking for $ac_word" >&5
13379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13380 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13381 echo $ECHO_N "(cached) $ECHO_C" >&6
13383 if test -n "$DLLTOOL"; then
13384 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13386 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13387 for as_dir
in $PATH
13390 test -z "$as_dir" && as_dir
=.
13391 for ac_exec_ext
in '' $ac_executable_extensions; do
13392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13393 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13402 DLLTOOL
=$ac_cv_prog_DLLTOOL
13403 if test -n "$DLLTOOL"; then
13404 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13405 echo "${ECHO_T}$DLLTOOL" >&6
13407 echo "$as_me:$LINENO: result: no" >&5
13408 echo "${ECHO_T}no" >&6
13412 if test -z "$ac_cv_prog_DLLTOOL"; then
13413 ac_ct_DLLTOOL
=$DLLTOOL
13414 # Extract the first word of "dlltool", so it can be a program name with args.
13415 set dummy dlltool
; ac_word
=$2
13416 echo "$as_me:$LINENO: checking for $ac_word" >&5
13417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13418 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13419 echo $ECHO_N "(cached) $ECHO_C" >&6
13421 if test -n "$ac_ct_DLLTOOL"; then
13422 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13424 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13425 for as_dir
in $PATH
13428 test -z "$as_dir" && as_dir
=.
13429 for ac_exec_ext
in '' $ac_executable_extensions; do
13430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13431 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13438 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13441 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13442 if test -n "$ac_ct_DLLTOOL"; then
13443 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13444 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13446 echo "$as_me:$LINENO: result: no" >&5
13447 echo "${ECHO_T}no" >&6
13450 DLLTOOL
=$ac_ct_DLLTOOL
13452 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13455 if test -n "$ac_tool_prefix"; then
13456 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13457 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13458 echo "$as_me:$LINENO: checking for $ac_word" >&5
13459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13460 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13461 echo $ECHO_N "(cached) $ECHO_C" >&6
13463 if test -n "$DLLWRAP"; then
13464 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13466 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13467 for as_dir
in $PATH
13470 test -z "$as_dir" && as_dir
=.
13471 for ac_exec_ext
in '' $ac_executable_extensions; do
13472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13473 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13482 DLLWRAP
=$ac_cv_prog_DLLWRAP
13483 if test -n "$DLLWRAP"; then
13484 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13485 echo "${ECHO_T}$DLLWRAP" >&6
13487 echo "$as_me:$LINENO: result: no" >&5
13488 echo "${ECHO_T}no" >&6
13492 if test -z "$ac_cv_prog_DLLWRAP"; then
13493 ac_ct_DLLWRAP
=$DLLWRAP
13494 # Extract the first word of "dllwrap", so it can be a program name with args.
13495 set dummy dllwrap
; ac_word
=$2
13496 echo "$as_me:$LINENO: checking for $ac_word" >&5
13497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13498 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13499 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 if test -n "$ac_ct_DLLWRAP"; then
13502 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13505 for as_dir
in $PATH
13508 test -z "$as_dir" && as_dir
=.
13509 for ac_exec_ext
in '' $ac_executable_extensions; do
13510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13511 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13518 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13521 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13522 if test -n "$ac_ct_DLLWRAP"; then
13523 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13524 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13526 echo "$as_me:$LINENO: result: no" >&5
13527 echo "${ECHO_T}no" >&6
13530 DLLWRAP
=$ac_ct_DLLWRAP
13532 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13535 if test "$DLLWRAP" = "false"; then
13544 for ac_header
in dlfcn.h
13546 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13547 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13548 echo "$as_me:$LINENO: checking for $ac_header" >&5
13549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13551 echo $ECHO_N "(cached) $ECHO_C" >&6
13553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13554 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13556 # Is the header compilable?
13557 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13559 cat >conftest.
$ac_ext <<_ACEOF
13562 cat confdefs.h
>>conftest.
$ac_ext
13563 cat >>conftest.
$ac_ext <<_ACEOF
13564 /* end confdefs.h. */
13565 $ac_includes_default
13566 #include <$ac_header>
13568 rm -f conftest.
$ac_objext
13569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13570 (eval $ac_compile) 2>conftest.er1
13572 grep -v '^ *+' conftest.er1
>conftest.err
13574 cat conftest.err
>&5
13575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13576 (exit $ac_status); } &&
13577 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13579 (eval $ac_try) 2>&5
13581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13582 (exit $ac_status); }; } &&
13583 { ac_try
='test -s conftest.$ac_objext'
13584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13585 (eval $ac_try) 2>&5
13587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13588 (exit $ac_status); }; }; then
13589 ac_header_compiler
=yes
13591 echo "$as_me: failed program was:" >&5
13592 sed 's/^/| /' conftest.
$ac_ext >&5
13594 ac_header_compiler
=no
13596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13598 echo "${ECHO_T}$ac_header_compiler" >&6
13600 # Is the header present?
13601 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13602 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13603 cat >conftest.
$ac_ext <<_ACEOF
13606 cat confdefs.h
>>conftest.
$ac_ext
13607 cat >>conftest.
$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13609 #include <$ac_header>
13611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13612 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13614 grep -v '^ *+' conftest.er1
>conftest.err
13616 cat conftest.err
>&5
13617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13618 (exit $ac_status); } >/dev
/null
; then
13619 if test -s conftest.err
; then
13620 ac_cpp_err
=$ac_c_preproc_warn_flag
13621 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13628 if test -z "$ac_cpp_err"; then
13629 ac_header_preproc
=yes
13631 echo "$as_me: failed program was:" >&5
13632 sed 's/^/| /' conftest.
$ac_ext >&5
13634 ac_header_preproc
=no
13636 rm -f conftest.err conftest.
$ac_ext
13637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13638 echo "${ECHO_T}$ac_header_preproc" >&6
13640 # So? What about this header?
13641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13643 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13644 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13645 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13646 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13647 ac_header_preproc
=yes
13650 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13651 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13652 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13653 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13654 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13655 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13656 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13657 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13659 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13660 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13661 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13664 ## ------------------------------------ ##
13665 ## Report this to wine-devel@winehq.org ##
13666 ## ------------------------------------ ##
13669 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
13679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13680 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13684 cat >>confdefs.h
<<_ACEOF
13685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13688 for ac_func
in dlopen
13690 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13691 echo "$as_me:$LINENO: checking for $ac_func" >&5
13692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13693 if eval "test \"\${$as_ac_var+set}\" = set"; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13696 cat >conftest.
$ac_ext <<_ACEOF
13699 cat confdefs.h
>>conftest.
$ac_ext
13700 cat >>conftest.
$ac_ext <<_ACEOF
13701 /* end confdefs.h. */
13702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13704 #define $ac_func innocuous_$ac_func
13706 /* System header to define __stub macros and hopefully few prototypes,
13707 which can conflict with char $ac_func (); below.
13708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13709 <limits.h> exists even on freestanding compilers. */
13712 # include <limits.h>
13714 # include <assert.h>
13719 /* Override any gcc2 internal prototype to avoid an error. */
13724 /* We use char because int might match the return type of a gcc2
13725 builtin and then its argument prototype would still apply. */
13727 /* The GNU C library defines this for functions which it implements
13728 to always fail with ENOSYS. Some functions are actually named
13729 something starting with __ and the normal name is an alias. */
13730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13733 char (*f) () = $ac_func;
13742 return f != $ac_func;
13747 rm -f conftest.
$ac_objext conftest
$ac_exeext
13748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13749 (eval $ac_link) 2>conftest.er1
13751 grep -v '^ *+' conftest.er1
>conftest.err
13753 cat conftest.err
>&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 (exit $ac_status); } &&
13756 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13758 (eval $ac_try) 2>&5
13760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761 (exit $ac_status); }; } &&
13762 { ac_try
='test -s conftest$ac_exeext'
13763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764 (eval $ac_try) 2>&5
13766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13767 (exit $ac_status); }; }; then
13768 eval "$as_ac_var=yes"
13770 echo "$as_me: failed program was:" >&5
13771 sed 's/^/| /' conftest.
$ac_ext >&5
13773 eval "$as_ac_var=no"
13775 rm -f conftest.err conftest.
$ac_objext \
13776 conftest
$ac_exeext conftest.
$ac_ext
13778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13780 if test `eval echo '${'$as_ac_var'}'` = yes; then
13781 cat >>confdefs.h
<<_ACEOF
13782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13786 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13787 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13788 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13789 echo $ECHO_N "(cached) $ECHO_C" >&6
13791 ac_check_lib_save_LIBS
=$LIBS
13793 cat >conftest.
$ac_ext <<_ACEOF
13796 cat confdefs.h
>>conftest.
$ac_ext
13797 cat >>conftest.
$ac_ext <<_ACEOF
13798 /* end confdefs.h. */
13800 /* Override any gcc2 internal prototype to avoid an error. */
13804 /* We use char because int might match the return type of a gcc2
13805 builtin and then its argument prototype would still apply. */
13815 rm -f conftest.
$ac_objext conftest
$ac_exeext
13816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13817 (eval $ac_link) 2>conftest.er1
13819 grep -v '^ *+' conftest.er1
>conftest.err
13821 cat conftest.err
>&5
13822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13823 (exit $ac_status); } &&
13824 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13826 (eval $ac_try) 2>&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); }; } &&
13830 { ac_try
='test -s conftest$ac_exeext'
13831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13832 (eval $ac_try) 2>&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); }; }; then
13836 ac_cv_lib_dl_dlopen
=yes
13838 echo "$as_me: failed program was:" >&5
13839 sed 's/^/| /' conftest.
$ac_ext >&5
13841 ac_cv_lib_dl_dlopen
=no
13843 rm -f conftest.err conftest.
$ac_objext \
13844 conftest
$ac_exeext conftest.
$ac_ext
13845 LIBS
=$ac_check_lib_save_LIBS
13847 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13848 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13849 if test $ac_cv_lib_dl_dlopen = yes; then
13851 cat >>confdefs.h
<<\_ACEOF
13852 #define HAVE_DLOPEN 1
13870 if test "$LIBEXT" = "so"
13872 DLLFLAGS
="$DLLFLAGS -fPIC"
13874 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13875 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13876 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13877 echo $ECHO_N "(cached) $ECHO_C" >&6
13879 ac_wine_try_cflags_saved
=$CFLAGS
13880 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13881 cat >conftest.
$ac_ext <<_ACEOF
13884 cat confdefs.h
>>conftest.
$ac_ext
13885 cat >>conftest.
$ac_ext <<_ACEOF
13886 /* end confdefs.h. */
13896 rm -f conftest.
$ac_objext conftest
$ac_exeext
13897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13898 (eval $ac_link) 2>conftest.er1
13900 grep -v '^ *+' conftest.er1
>conftest.err
13902 cat conftest.err
>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); } &&
13905 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13907 (eval $ac_try) 2>&5
13909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13910 (exit $ac_status); }; } &&
13911 { ac_try
='test -s conftest$ac_exeext'
13912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13913 (eval $ac_try) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; }; then
13917 ac_cv_c_dll_gnuelf
="yes"
13919 echo "$as_me: failed program was:" >&5
13920 sed 's/^/| /' conftest.
$ac_ext >&5
13922 ac_cv_c_dll_gnuelf
="no"
13924 rm -f conftest.err conftest.
$ac_objext \
13925 conftest
$ac_exeext conftest.
$ac_ext
13926 CFLAGS
=$ac_wine_try_cflags_saved
13928 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13929 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13930 if test "$ac_cv_c_dll_gnuelf" = "yes"
13932 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13933 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13934 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13935 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13936 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13937 echo $ECHO_N "(cached) $ECHO_C" >&6
13939 ac_wine_try_cflags_saved
=$CFLAGS
13940 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13941 cat >conftest.
$ac_ext <<_ACEOF
13944 cat confdefs.h
>>conftest.
$ac_ext
13945 cat >>conftest.
$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13956 rm -f conftest.
$ac_objext conftest
$ac_exeext
13957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13958 (eval $ac_link) 2>conftest.er1
13960 grep -v '^ *+' conftest.er1
>conftest.err
13962 cat conftest.err
>&5
13963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13964 (exit $ac_status); } &&
13965 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13967 (eval $ac_try) 2>&5
13969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13970 (exit $ac_status); }; } &&
13971 { ac_try
='test -s conftest$ac_exeext'
13972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13973 (eval $ac_try) 2>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); }; }; then
13977 ac_cv_c_dll_zdefs
="yes"
13979 echo "$as_me: failed program was:" >&5
13980 sed 's/^/| /' conftest.
$ac_ext >&5
13982 ac_cv_c_dll_zdefs
="no"
13984 rm -f conftest.err conftest.
$ac_objext \
13985 conftest
$ac_exeext conftest.
$ac_ext
13986 CFLAGS
=$ac_wine_try_cflags_saved
13988 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13989 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13990 if test "$ac_cv_c_dll_zdefs" = "yes"
13992 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13995 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13996 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13997 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13998 echo $ECHO_N "(cached) $ECHO_C" >&6
14000 ac_wine_try_cflags_saved
=$CFLAGS
14001 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
14002 cat >conftest.
$ac_ext <<_ACEOF
14005 cat confdefs.h
>>conftest.
$ac_ext
14006 cat >>conftest.
$ac_ext <<_ACEOF
14007 /* end confdefs.h. */
14017 rm -f conftest.
$ac_objext conftest
$ac_exeext
14018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14019 (eval $ac_link) 2>conftest.er1
14021 grep -v '^ *+' conftest.er1
>conftest.err
14023 cat conftest.err
>&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); } &&
14026 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14028 (eval $ac_try) 2>&5
14030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14031 (exit $ac_status); }; } &&
14032 { ac_try
='test -s conftest$ac_exeext'
14033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14034 (eval $ac_try) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }; }; then
14038 ac_cv_c_dll_init_fini
="yes"
14040 echo "$as_me: failed program was:" >&5
14041 sed 's/^/| /' conftest.
$ac_ext >&5
14043 ac_cv_c_dll_init_fini
="no"
14045 rm -f conftest.err conftest.
$ac_objext \
14046 conftest
$ac_exeext conftest.
$ac_ext
14047 CFLAGS
=$ac_wine_try_cflags_saved
14049 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
14050 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
14051 if test "$ac_cv_c_dll_init_fini" = "yes"
14053 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
14056 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
14057 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
14058 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
14059 echo $ECHO_N "(cached) $ECHO_C" >&6
14061 echo '{ global: *; };' >conftest.map
14062 ac_wine_try_cflags_saved
=$CFLAGS
14063 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
14064 cat >conftest.
$ac_ext <<_ACEOF
14067 cat confdefs.h
>>conftest.
$ac_ext
14068 cat >>conftest.
$ac_ext <<_ACEOF
14069 /* end confdefs.h. */
14079 rm -f conftest.
$ac_objext conftest
$ac_exeext
14080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14081 (eval $ac_link) 2>conftest.er1
14083 grep -v '^ *+' conftest.er1
>conftest.err
14085 cat conftest.err
>&5
14086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14087 (exit $ac_status); } &&
14088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; } &&
14094 { ac_try
='test -s conftest$ac_exeext'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; }; then
14100 ac_cv_c_ld_version_scripts
="yes"
14102 echo "$as_me: failed program was:" >&5
14103 sed 's/^/| /' conftest.
$ac_ext >&5
14105 ac_cv_c_ld_version_scripts
="no"
14107 rm -f conftest.err conftest.
$ac_objext \
14108 conftest
$ac_exeext conftest.
$ac_ext
14109 CFLAGS
=$ac_wine_try_cflags_saved
14112 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
14113 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
14114 if test "$ac_cv_c_ld_version_scripts" = "yes"
14116 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
14119 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
14120 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
14121 if test "${ac_cv_c_export_dynamic+set}" = set; then
14122 echo $ECHO_N "(cached) $ECHO_C" >&6
14124 ac_wine_try_cflags_saved
=$CFLAGS
14125 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
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_export_dynamic
="yes"
14164 echo "$as_me: failed program was:" >&5
14165 sed 's/^/| /' conftest.
$ac_ext >&5
14167 ac_cv_c_export_dynamic
="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_export_dynamic" >&5
14174 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
14175 if test "$ac_cv_c_export_dynamic" = "yes"
14177 LDEXECFLAGS
="-Wl,--export-dynamic"
14183 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x00110000" >&5
14184 echo $ECHO_N "checking whether we can relocate the executable to 0x00110000... $ECHO_C" >&6
14185 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 saved_CFLAGS
="$CFLAGS"
14189 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x00110400"
14190 if test "$cross_compiling" = yes; then
14191 ac_cv_ld_reloc_exec
="no"
14193 cat >conftest.
$ac_ext <<_ACEOF
14196 cat confdefs.h
>>conftest.
$ac_ext
14197 cat >>conftest.
$ac_ext <<_ACEOF
14198 /* end confdefs.h. */
14199 #include <unistd.h>
14200 int main() { return (sbrk(32*1024*1024) == (void *)-1); }
14202 rm -f conftest
$ac_exeext
14203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14204 (eval $ac_link) 2>&5
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14209 (eval $ac_try) 2>&5
14211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14212 (exit $ac_status); }; }; then
14213 ac_cv_ld_reloc_exec
="yes"
14215 echo "$as_me: program exited with status $ac_status" >&5
14216 echo "$as_me: failed program was:" >&5
14217 sed 's/^/| /' conftest.
$ac_ext >&5
14219 ( exit $ac_status )
14220 ac_cv_ld_reloc_exec
="no"
14222 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14224 CFLAGS
="$saved_CFLAGS"
14226 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14227 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14228 if test "$ac_cv_ld_reloc_exec" = "yes"
14230 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x00110400"
14236 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14237 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14238 if test "${ac_cv_c_dll_unixware+set}" = set; then
14239 echo $ECHO_N "(cached) $ECHO_C" >&6
14241 ac_wine_try_cflags_saved
=$CFLAGS
14242 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14243 cat >conftest.
$ac_ext <<_ACEOF
14246 cat confdefs.h
>>conftest.
$ac_ext
14247 cat >>conftest.
$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14258 rm -f conftest.
$ac_objext conftest
$ac_exeext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14260 (eval $ac_link) 2>conftest.er1
14262 grep -v '^ *+' conftest.er1
>conftest.err
14264 cat conftest.err
>&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try
='test -s conftest$ac_exeext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 ac_cv_c_dll_unixware
="yes"
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.
$ac_ext >&5
14284 ac_cv_c_dll_unixware
="no"
14286 rm -f conftest.err conftest.
$ac_objext \
14287 conftest
$ac_exeext conftest.
$ac_ext
14288 CFLAGS
=$ac_wine_try_cflags_saved
14290 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14291 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14292 if test "$ac_cv_c_dll_unixware" = "yes"
14294 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14295 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
14298 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14299 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14300 if test "${ac_cv_c_dll_macho+set}" = set; then
14301 echo $ECHO_N "(cached) $ECHO_C" >&6
14303 ac_wine_try_cflags_saved
=$CFLAGS
14304 CFLAGS
="$CFLAGS -bundle"
14305 cat >conftest.
$ac_ext <<_ACEOF
14308 cat confdefs.h
>>conftest.
$ac_ext
14309 cat >>conftest.
$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14320 rm -f conftest.
$ac_objext conftest
$ac_exeext
14321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14322 (eval $ac_link) 2>conftest.er1
14324 grep -v '^ *+' conftest.er1
>conftest.err
14326 cat conftest.err
>&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14331 (eval $ac_try) 2>&5
14333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14334 (exit $ac_status); }; } &&
14335 { ac_try
='test -s conftest$ac_exeext'
14336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14337 (eval $ac_try) 2>&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); }; }; then
14341 ac_cv_c_dll_macho
="yes"
14343 echo "$as_me: failed program was:" >&5
14344 sed 's/^/| /' conftest.
$ac_ext >&5
14346 ac_cv_c_dll_macho
="no"
14348 rm -f conftest.err conftest.
$ac_objext \
14349 conftest
$ac_exeext conftest.
$ac_ext
14350 CFLAGS
=$ac_wine_try_cflags_saved
14352 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14353 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14354 if test "$ac_cv_c_dll_macho" = "yes"
14357 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14358 LDSHARED
="\$(CC) -dynamiclib"
14359 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14367 if test "$cross_compiling" = "no"
14369 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14371 # Extract the first word of "$ac_prog", so it can be a program name with args.
14372 set dummy
$ac_prog; ac_word
=$2
14373 echo "$as_me:$LINENO: checking for $ac_word" >&5
14374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14375 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14376 echo $ECHO_N "(cached) $ECHO_C" >&6
14378 if test -n "$CROSSCC"; then
14379 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14382 for as_dir
in $PATH
14385 test -z "$as_dir" && as_dir
=.
14386 for ac_exec_ext
in '' $ac_executable_extensions; do
14387 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14388 ac_cv_prog_CROSSCC
="$ac_prog"
14389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14397 CROSSCC
=$ac_cv_prog_CROSSCC
14398 if test -n "$CROSSCC"; then
14399 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14400 echo "${ECHO_T}$CROSSCC" >&6
14402 echo "$as_me:$LINENO: result: no" >&5
14403 echo "${ECHO_T}no" >&6
14406 test -n "$CROSSCC" && break
14408 test -n "$CROSSCC" || CROSSCC
="false"
14410 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14412 # Extract the first word of "$ac_prog", so it can be a program name with args.
14413 set dummy
$ac_prog; ac_word
=$2
14414 echo "$as_me:$LINENO: checking for $ac_word" >&5
14415 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14416 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14419 if test -n "$DLLTOOL"; then
14420 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14422 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14423 for as_dir
in $PATH
14426 test -z "$as_dir" && as_dir
=.
14427 for ac_exec_ext
in '' $ac_executable_extensions; do
14428 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14429 ac_cv_prog_DLLTOOL
="$ac_prog"
14430 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14438 DLLTOOL
=$ac_cv_prog_DLLTOOL
14439 if test -n "$DLLTOOL"; then
14440 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14441 echo "${ECHO_T}$DLLTOOL" >&6
14443 echo "$as_me:$LINENO: result: no" >&5
14444 echo "${ECHO_T}no" >&6
14447 test -n "$DLLTOOL" && break
14449 test -n "$DLLTOOL" || DLLTOOL
="false"
14451 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14453 # Extract the first word of "$ac_prog", so it can be a program name with args.
14454 set dummy
$ac_prog; ac_word
=$2
14455 echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14457 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 if test -n "$CROSSWINDRES"; then
14461 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14464 for as_dir
in $PATH
14467 test -z "$as_dir" && as_dir
=.
14468 for ac_exec_ext
in '' $ac_executable_extensions; do
14469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14470 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14479 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14480 if test -n "$CROSSWINDRES"; then
14481 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14482 echo "${ECHO_T}$CROSSWINDRES" >&6
14484 echo "$as_me:$LINENO: result: no" >&5
14485 echo "${ECHO_T}no" >&6
14488 test -n "$CROSSWINDRES" && break
14490 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14492 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14497 if test "$LIBEXT" = "a"; then
14498 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14499 It is currently not possible to build Wine without shared library
14500 (.so) support to allow transparent switch between .so and .dll files.
14501 If you are using Linux, you will need a newer binutils.
14503 echo "$as_me: error: could not find a way to build shared libraries.
14504 It is currently not possible to build Wine without shared library
14505 (.so) support to allow transparent switch between .so and .dll files.
14506 If you are using Linux, you will need a newer binutils.
14508 { (exit 1); exit 1; }; }
14513 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14516 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14519 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14531 WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14533 MAIN_BINARY
="wine-glibc"
14537 WINE_BINARIES
="wine-kthread"
14539 MAIN_BINARY
="wine-kthread"
14545 if test "$LIBEXT" = "so"
14547 # Extract the first word of "ldd", so it can be a program name with args.
14548 set dummy ldd
; ac_word
=$2
14549 echo "$as_me:$LINENO: checking for $ac_word" >&5
14550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14551 if test "${ac_cv_path_LDD+set}" = set; then
14552 echo $ECHO_N "(cached) $ECHO_C" >&6
14556 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14559 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14560 as_dummy
="/sbin:/usr/sbin:$PATH"
14561 for as_dir
in $as_dummy
14564 test -z "$as_dir" && as_dir
=.
14565 for ac_exec_ext
in '' $ac_executable_extensions; do
14566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14567 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14574 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14578 LDD
=$ac_cv_path_LDD
14580 if test -n "$LDD"; then
14581 echo "$as_me:$LINENO: result: $LDD" >&5
14582 echo "${ECHO_T}$LDD" >&6
14584 echo "$as_me:$LINENO: result: no" >&5
14585 echo "${ECHO_T}no" >&6
14589 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14590 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14591 if test "${ac_cv_lib_soname_X11+set}" = set; then
14592 echo $ECHO_N "(cached) $ECHO_C" >&6
14594 ac_get_soname_save_LIBS
=$LIBS
14595 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14596 cat >conftest.
$ac_ext <<_ACEOF
14599 cat confdefs.h
>>conftest.
$ac_ext
14600 cat >>conftest.
$ac_ext <<_ACEOF
14601 /* end confdefs.h. */
14603 /* Override any gcc2 internal prototype to avoid an error. */
14607 /* We use char because int might match the return type of a gcc2
14608 builtin and then its argument prototype would still apply. */
14609 char XCreateWindow ();
14618 rm -f conftest.
$ac_objext conftest
$ac_exeext
14619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14620 (eval $ac_link) 2>conftest.er1
14622 grep -v '^ *+' conftest.er1
>conftest.err
14624 cat conftest.err
>&5
14625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14626 (exit $ac_status); } &&
14627 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14629 (eval $ac_try) 2>&5
14631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14632 (exit $ac_status); }; } &&
14633 { ac_try
='test -s conftest$ac_exeext'
14634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635 (eval $ac_try) 2>&5
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; }; then
14639 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.so | sed 's/^.*\(libX11\.so[^ ]*\).*$/\1/'`
14640 if test "x$ac_cv_lib_soname_X11" = "x"
14642 ac_cv_lib_soname_X11
="libX11.so"
14645 echo "$as_me: failed program was:" >&5
14646 sed 's/^/| /' conftest.
$ac_ext >&5
14648 ac_cv_lib_soname_X11
="libX11.so"
14650 rm -f conftest.err conftest.
$ac_objext \
14651 conftest
$ac_exeext conftest.
$ac_ext
14652 LIBS
=$ac_get_soname_save_LIBS
14654 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14655 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14656 if test "x$ac_cv_lib_soname_X11" != xNONE
14658 cat >>confdefs.h
<<_ACEOF
14659 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14663 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14664 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14665 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14666 echo $ECHO_N "(cached) $ECHO_C" >&6
14668 ac_get_soname_save_LIBS
=$LIBS
14669 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14670 cat >conftest.
$ac_ext <<_ACEOF
14673 cat confdefs.h
>>conftest.
$ac_ext
14674 cat >>conftest.
$ac_ext <<_ACEOF
14675 /* end confdefs.h. */
14677 /* Override any gcc2 internal prototype to avoid an error. */
14681 /* We use char because int might match the return type of a gcc2
14682 builtin and then its argument prototype would still apply. */
14683 char XextCreateExtension ();
14687 XextCreateExtension ();
14692 rm -f conftest.
$ac_objext conftest
$ac_exeext
14693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14694 (eval $ac_link) 2>conftest.er1
14696 grep -v '^ *+' conftest.er1
>conftest.err
14698 cat conftest.err
>&5
14699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14700 (exit $ac_status); } &&
14701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14703 (eval $ac_try) 2>&5
14705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14706 (exit $ac_status); }; } &&
14707 { ac_try
='test -s conftest$ac_exeext'
14708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14709 (eval $ac_try) 2>&5
14711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14712 (exit $ac_status); }; }; then
14713 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed 's/^.*\(libXext\.so[^ ]*\).*$/\1/'`
14714 if test "x$ac_cv_lib_soname_Xext" = "x"
14716 ac_cv_lib_soname_Xext
="libXext.so"
14719 echo "$as_me: failed program was:" >&5
14720 sed 's/^/| /' conftest.
$ac_ext >&5
14722 ac_cv_lib_soname_Xext
="libXext.so"
14724 rm -f conftest.err conftest.
$ac_objext \
14725 conftest
$ac_exeext conftest.
$ac_ext
14726 LIBS
=$ac_get_soname_save_LIBS
14728 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14729 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14730 if test "x$ac_cv_lib_soname_Xext" != xNONE
14732 cat >>confdefs.h
<<_ACEOF
14733 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14737 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14738 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14739 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14742 ac_get_soname_save_LIBS
=$LIBS
14743 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14744 cat >conftest.
$ac_ext <<_ACEOF
14747 cat confdefs.h
>>conftest.
$ac_ext
14748 cat >>conftest.
$ac_ext <<_ACEOF
14749 /* end confdefs.h. */
14751 /* Override any gcc2 internal prototype to avoid an error. */
14755 /* We use char because int might match the return type of a gcc2
14756 builtin and then its argument prototype would still apply. */
14757 char XOpenDevice ();
14766 rm -f conftest.
$ac_objext conftest
$ac_exeext
14767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14768 (eval $ac_link) 2>conftest.er1
14770 grep -v '^ *+' conftest.er1
>conftest.err
14772 cat conftest.err
>&5
14773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14774 (exit $ac_status); } &&
14775 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14777 (eval $ac_try) 2>&5
14779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14780 (exit $ac_status); }; } &&
14781 { ac_try
='test -s conftest$ac_exeext'
14782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14783 (eval $ac_try) 2>&5
14785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14786 (exit $ac_status); }; }; then
14787 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.so | sed 's/^.*\(libXi\.so[^ ]*\).*$/\1/'`
14788 if test "x$ac_cv_lib_soname_Xi" = "x"
14790 ac_cv_lib_soname_Xi
="libXi.so"
14793 echo "$as_me: failed program was:" >&5
14794 sed 's/^/| /' conftest.
$ac_ext >&5
14796 ac_cv_lib_soname_Xi
="libXi.so"
14798 rm -f conftest.err conftest.
$ac_objext \
14799 conftest
$ac_exeext conftest.
$ac_ext
14800 LIBS
=$ac_get_soname_save_LIBS
14802 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14803 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14804 if test "x$ac_cv_lib_soname_Xi" != xNONE
14806 cat >>confdefs.h
<<_ACEOF
14807 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14811 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14812 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14813 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14814 echo $ECHO_N "(cached) $ECHO_C" >&6
14816 ac_get_soname_save_LIBS
=$LIBS
14817 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14818 cat >conftest.
$ac_ext <<_ACEOF
14821 cat confdefs.h
>>conftest.
$ac_ext
14822 cat >>conftest.
$ac_ext <<_ACEOF
14823 /* end confdefs.h. */
14825 /* Override any gcc2 internal prototype to avoid an error. */
14829 /* We use char because int might match the return type of a gcc2
14830 builtin and then its argument prototype would still apply. */
14831 char XRenderQueryExtension ();
14835 XRenderQueryExtension ();
14840 rm -f conftest.
$ac_objext conftest
$ac_exeext
14841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14842 (eval $ac_link) 2>conftest.er1
14844 grep -v '^ *+' conftest.er1
>conftest.err
14846 cat conftest.err
>&5
14847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14848 (exit $ac_status); } &&
14849 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14851 (eval $ac_try) 2>&5
14853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14854 (exit $ac_status); }; } &&
14855 { ac_try
='test -s conftest$ac_exeext'
14856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14857 (eval $ac_try) 2>&5
14859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14860 (exit $ac_status); }; }; then
14861 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.so | sed 's/^.*\(libXrender\.so[^ ]*\).*$/\1/'`
14862 if test "x$ac_cv_lib_soname_Xrender" = "x"
14864 ac_cv_lib_soname_Xrender
="libXrender.so"
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.
$ac_ext >&5
14870 ac_cv_lib_soname_Xrender
="libXrender.so"
14872 rm -f conftest.err conftest.
$ac_objext \
14873 conftest
$ac_exeext conftest.
$ac_ext
14874 LIBS
=$ac_get_soname_save_LIBS
14876 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14877 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14878 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14880 cat >>confdefs.h
<<_ACEOF
14881 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14885 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14886 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14887 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14888 echo $ECHO_N "(cached) $ECHO_C" >&6
14890 ac_get_soname_save_LIBS
=$LIBS
14891 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14892 cat >conftest.
$ac_ext <<_ACEOF
14895 cat confdefs.h
>>conftest.
$ac_ext
14896 cat >>conftest.
$ac_ext <<_ACEOF
14897 /* end confdefs.h. */
14899 /* Override any gcc2 internal prototype to avoid an error. */
14903 /* We use char because int might match the return type of a gcc2
14904 builtin and then its argument prototype would still apply. */
14905 char XRRQueryExtension ();
14909 XRRQueryExtension ();
14914 rm -f conftest.
$ac_objext conftest
$ac_exeext
14915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14916 (eval $ac_link) 2>conftest.er1
14918 grep -v '^ *+' conftest.er1
>conftest.err
14920 cat conftest.err
>&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); } &&
14923 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; } &&
14929 { ac_try
='test -s conftest$ac_exeext'
14930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14931 (eval $ac_try) 2>&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); }; }; then
14935 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed 's/^.*\(libXrandr\.so[^ ]*\).*$/\1/'`
14936 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14938 ac_cv_lib_soname_Xrandr
="libXrandr.so"
14941 echo "$as_me: failed program was:" >&5
14942 sed 's/^/| /' conftest.
$ac_ext >&5
14944 ac_cv_lib_soname_Xrandr
="libXrandr.so"
14946 rm -f conftest.err conftest.
$ac_objext \
14947 conftest
$ac_exeext conftest.
$ac_ext
14948 LIBS
=$ac_get_soname_save_LIBS
14950 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14951 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14952 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14954 cat >>confdefs.h
<<_ACEOF
14955 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14959 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14960 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14961 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14962 echo $ECHO_N "(cached) $ECHO_C" >&6
14964 ac_get_soname_save_LIBS
=$LIBS
14965 LIBS
="-lfreetype $X_LIBS $LIBS"
14966 cat >conftest.
$ac_ext <<_ACEOF
14969 cat confdefs.h
>>conftest.
$ac_ext
14970 cat >>conftest.
$ac_ext <<_ACEOF
14971 /* end confdefs.h. */
14973 /* Override any gcc2 internal prototype to avoid an error. */
14977 /* We use char because int might match the return type of a gcc2
14978 builtin and then its argument prototype would still apply. */
14979 char FT_Init_FreeType ();
14983 FT_Init_FreeType ();
14988 rm -f conftest.
$ac_objext conftest
$ac_exeext
14989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14990 (eval $ac_link) 2>conftest.er1
14992 grep -v '^ *+' conftest.er1
>conftest.err
14994 cat conftest.err
>&5
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); } &&
14997 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; } &&
15003 { ac_try
='test -s conftest$ac_exeext'
15004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15005 (eval $ac_try) 2>&5
15007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15008 (exit $ac_status); }; }; then
15009 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.so | sed 's/^.*\(libfreetype\.so[^ ]*\).*$/\1/'`
15010 if test "x$ac_cv_lib_soname_freetype" = "x"
15012 ac_cv_lib_soname_freetype
="libfreetype.so"
15015 echo "$as_me: failed program was:" >&5
15016 sed 's/^/| /' conftest.
$ac_ext >&5
15018 ac_cv_lib_soname_freetype
="libfreetype.so"
15020 rm -f conftest.err conftest.
$ac_objext \
15021 conftest
$ac_exeext conftest.
$ac_ext
15022 LIBS
=$ac_get_soname_save_LIBS
15024 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
15025 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
15026 if test "x$ac_cv_lib_soname_freetype" != xNONE
15028 cat >>confdefs.h
<<_ACEOF
15029 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
15033 echo "$as_me:$LINENO: checking for -lGL soname" >&5
15034 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
15035 if test "${ac_cv_lib_soname_GL+set}" = set; then
15036 echo $ECHO_N "(cached) $ECHO_C" >&6
15038 ac_get_soname_save_LIBS
=$LIBS
15039 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
15040 cat >conftest.
$ac_ext <<_ACEOF
15043 cat confdefs.h
>>conftest.
$ac_ext
15044 cat >>conftest.
$ac_ext <<_ACEOF
15045 /* end confdefs.h. */
15047 /* Override any gcc2 internal prototype to avoid an error. */
15051 /* We use char because int might match the return type of a gcc2
15052 builtin and then its argument prototype would still apply. */
15053 char glXQueryExtension ();
15057 glXQueryExtension ();
15062 rm -f conftest.
$ac_objext conftest
$ac_exeext
15063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15064 (eval $ac_link) 2>conftest.er1
15066 grep -v '^ *+' conftest.er1
>conftest.err
15068 cat conftest.err
>&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } &&
15071 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15073 (eval $ac_try) 2>&5
15075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15076 (exit $ac_status); }; } &&
15077 { ac_try
='test -s conftest$ac_exeext'
15078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15079 (eval $ac_try) 2>&5
15081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15082 (exit $ac_status); }; }; then
15083 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed 's/^.*\(libGL\.so[^ ]*\).*$/\1/'`
15084 if test "x$ac_cv_lib_soname_GL" = "x"
15086 ac_cv_lib_soname_GL
="libGL.so"
15089 echo "$as_me: failed program was:" >&5
15090 sed 's/^/| /' conftest.
$ac_ext >&5
15092 ac_cv_lib_soname_GL
="libGL.so"
15094 rm -f conftest.err conftest.
$ac_objext \
15095 conftest
$ac_exeext conftest.
$ac_ext
15096 LIBS
=$ac_get_soname_save_LIBS
15098 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15099 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15100 if test "x$ac_cv_lib_soname_GL" != xNONE
15102 cat >>confdefs.h
<<_ACEOF
15103 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15107 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15108 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15109 if test "${ac_cv_lib_soname_cups+set}" = set; then
15110 echo $ECHO_N "(cached) $ECHO_C" >&6
15112 ac_get_soname_save_LIBS
=$LIBS
15113 LIBS
="-lcups $LIBS"
15114 cat >conftest.
$ac_ext <<_ACEOF
15117 cat confdefs.h
>>conftest.
$ac_ext
15118 cat >>conftest.
$ac_ext <<_ACEOF
15119 /* end confdefs.h. */
15121 /* Override any gcc2 internal prototype to avoid an error. */
15125 /* We use char because int might match the return type of a gcc2
15126 builtin and then its argument prototype would still apply. */
15127 char cupsGetDefault ();
15136 rm -f conftest.
$ac_objext conftest
$ac_exeext
15137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15138 (eval $ac_link) 2>conftest.er1
15140 grep -v '^ *+' conftest.er1
>conftest.err
15142 cat conftest.err
>&5
15143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15144 (exit $ac_status); } &&
15145 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15147 (eval $ac_try) 2>&5
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; } &&
15151 { ac_try
='test -s conftest$ac_exeext'
15152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15153 (eval $ac_try) 2>&5
15155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15156 (exit $ac_status); }; }; then
15157 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.so | sed 's/^.*\(libcups\.so[^ ]*\).*$/\1/'`
15158 if test "x$ac_cv_lib_soname_cups" = "x"
15160 ac_cv_lib_soname_cups
="libcups.so"
15163 echo "$as_me: failed program was:" >&5
15164 sed 's/^/| /' conftest.
$ac_ext >&5
15166 ac_cv_lib_soname_cups
="libcups.so"
15168 rm -f conftest.err conftest.
$ac_objext \
15169 conftest
$ac_exeext conftest.
$ac_ext
15170 LIBS
=$ac_get_soname_save_LIBS
15172 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15173 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15174 if test "x$ac_cv_lib_soname_cups" != xNONE
15176 cat >>confdefs.h
<<_ACEOF
15177 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15181 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15182 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15183 if test "${ac_cv_lib_soname_jack+set}" = set; then
15184 echo $ECHO_N "(cached) $ECHO_C" >&6
15186 ac_get_soname_save_LIBS
=$LIBS
15187 LIBS
="-ljack $LIBS"
15188 cat >conftest.
$ac_ext <<_ACEOF
15191 cat confdefs.h
>>conftest.
$ac_ext
15192 cat >>conftest.
$ac_ext <<_ACEOF
15193 /* end confdefs.h. */
15195 /* Override any gcc2 internal prototype to avoid an error. */
15199 /* We use char because int might match the return type of a gcc2
15200 builtin and then its argument prototype would still apply. */
15201 char jack_client_new ();
15205 jack_client_new ();
15210 rm -f conftest.
$ac_objext conftest
$ac_exeext
15211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15212 (eval $ac_link) 2>conftest.er1
15214 grep -v '^ *+' conftest.er1
>conftest.err
15216 cat conftest.err
>&5
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); } &&
15219 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15221 (eval $ac_try) 2>&5
15223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15224 (exit $ac_status); }; } &&
15225 { ac_try
='test -s conftest$ac_exeext'
15226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15227 (eval $ac_try) 2>&5
15229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15230 (exit $ac_status); }; }; then
15231 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed 's/^.*\(libjack\.so[^ ]*\).*$/\1/'`
15232 if test "x$ac_cv_lib_soname_jack" = "x"
15234 ac_cv_lib_soname_jack
="libjack.so"
15237 echo "$as_me: failed program was:" >&5
15238 sed 's/^/| /' conftest.
$ac_ext >&5
15240 ac_cv_lib_soname_jack
="libjack.so"
15242 rm -f conftest.err conftest.
$ac_objext \
15243 conftest
$ac_exeext conftest.
$ac_ext
15244 LIBS
=$ac_get_soname_save_LIBS
15246 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15247 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15248 if test "x$ac_cv_lib_soname_jack" != xNONE
15250 cat >>confdefs.h
<<_ACEOF
15251 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15255 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15256 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15257 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15258 echo $ECHO_N "(cached) $ECHO_C" >&6
15260 ac_get_soname_save_LIBS
=$LIBS
15261 LIBS
="-lfontconfig $LIBS"
15262 cat >conftest.
$ac_ext <<_ACEOF
15265 cat confdefs.h
>>conftest.
$ac_ext
15266 cat >>conftest.
$ac_ext <<_ACEOF
15267 /* end confdefs.h. */
15269 /* Override any gcc2 internal prototype to avoid an error. */
15273 /* We use char because int might match the return type of a gcc2
15274 builtin and then its argument prototype would still apply. */
15284 rm -f conftest.
$ac_objext conftest
$ac_exeext
15285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15286 (eval $ac_link) 2>conftest.er1
15288 grep -v '^ *+' conftest.er1
>conftest.err
15290 cat conftest.err
>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } &&
15293 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15295 (eval $ac_try) 2>&5
15297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15298 (exit $ac_status); }; } &&
15299 { ac_try
='test -s conftest$ac_exeext'
15300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15301 (eval $ac_try) 2>&5
15303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15304 (exit $ac_status); }; }; then
15305 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.so | sed 's/^.*\(libfontconfig\.so[^ ]*\).*$/\1/'`
15306 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15308 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15311 echo "$as_me: failed program was:" >&5
15312 sed 's/^/| /' conftest.
$ac_ext >&5
15314 ac_cv_lib_soname_fontconfig
="libfontconfig.so"
15316 rm -f conftest.err conftest.
$ac_objext \
15317 conftest
$ac_exeext conftest.
$ac_ext
15318 LIBS
=$ac_get_soname_save_LIBS
15320 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15321 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15322 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15324 cat >>confdefs.h
<<_ACEOF
15325 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15329 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15330 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15331 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15332 echo $ECHO_N "(cached) $ECHO_C" >&6
15334 ac_get_soname_save_LIBS
=$LIBS
15336 cat >conftest.
$ac_ext <<_ACEOF
15339 cat confdefs.h
>>conftest.
$ac_ext
15340 cat >>conftest.
$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15343 /* Override any gcc2 internal prototype to avoid an error. */
15347 /* We use char because int might match the return type of a gcc2
15348 builtin and then its argument prototype would still apply. */
15349 char SSL_library_init ();
15353 SSL_library_init ();
15358 rm -f conftest.
$ac_objext conftest
$ac_exeext
15359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15360 (eval $ac_link) 2>conftest.er1
15362 grep -v '^ *+' conftest.er1
>conftest.err
15364 cat conftest.err
>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15369 (eval $ac_try) 2>&5
15371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15372 (exit $ac_status); }; } &&
15373 { ac_try
='test -s conftest$ac_exeext'
15374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15375 (eval $ac_try) 2>&5
15377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15378 (exit $ac_status); }; }; then
15379 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed 's/^.*\(libssl\.so[^ ]*\).*$/\1/'`
15380 if test "x$ac_cv_lib_soname_ssl" = "x"
15382 ac_cv_lib_soname_ssl
="libssl.so"
15385 echo "$as_me: failed program was:" >&5
15386 sed 's/^/| /' conftest.
$ac_ext >&5
15388 ac_cv_lib_soname_ssl
="libssl.so"
15390 rm -f conftest.err conftest.
$ac_objext \
15391 conftest
$ac_exeext conftest.
$ac_ext
15392 LIBS
=$ac_get_soname_save_LIBS
15394 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15395 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15396 if test "x$ac_cv_lib_soname_ssl" != xNONE
15398 cat >>confdefs.h
<<_ACEOF
15399 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15403 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15404 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15405 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15406 echo $ECHO_N "(cached) $ECHO_C" >&6
15408 ac_get_soname_save_LIBS
=$LIBS
15409 LIBS
="-lcrypto $LIBS"
15410 cat >conftest.
$ac_ext <<_ACEOF
15413 cat confdefs.h
>>conftest.
$ac_ext
15414 cat >>conftest.
$ac_ext <<_ACEOF
15415 /* end confdefs.h. */
15417 /* Override any gcc2 internal prototype to avoid an error. */
15421 /* We use char because int might match the return type of a gcc2
15422 builtin and then its argument prototype would still apply. */
15423 char BIO_new_socket ();
15432 rm -f conftest.
$ac_objext conftest
$ac_exeext
15433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15434 (eval $ac_link) 2>conftest.er1
15436 grep -v '^ *+' conftest.er1
>conftest.err
15438 cat conftest.err
>&5
15439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15440 (exit $ac_status); } &&
15441 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15443 (eval $ac_try) 2>&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); }; } &&
15447 { ac_try
='test -s conftest$ac_exeext'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; }; then
15453 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.so | sed 's/^.*\(libcrypto\.so[^ ]*\).*$/\1/'`
15454 if test "x$ac_cv_lib_soname_crypto" = "x"
15456 ac_cv_lib_soname_crypto
="libcrypto.so"
15459 echo "$as_me: failed program was:" >&5
15460 sed 's/^/| /' conftest.
$ac_ext >&5
15462 ac_cv_lib_soname_crypto
="libcrypto.so"
15464 rm -f conftest.err conftest.
$ac_objext \
15465 conftest
$ac_exeext conftest.
$ac_ext
15466 LIBS
=$ac_get_soname_save_LIBS
15468 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15469 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15470 if test "x$ac_cv_lib_soname_crypto" != xNONE
15472 cat >>confdefs.h
<<_ACEOF
15473 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15477 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15478 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15479 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15480 echo $ECHO_N "(cached) $ECHO_C" >&6
15482 ac_get_soname_save_LIBS
=$LIBS
15483 LIBS
="-lncurses $LIBS"
15484 cat >conftest.
$ac_ext <<_ACEOF
15487 cat confdefs.h
>>conftest.
$ac_ext
15488 cat >>conftest.
$ac_ext <<_ACEOF
15489 /* end confdefs.h. */
15491 /* Override any gcc2 internal prototype to avoid an error. */
15495 /* We use char because int might match the return type of a gcc2
15496 builtin and then its argument prototype would still apply. */
15506 rm -f conftest.
$ac_objext conftest
$ac_exeext
15507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15508 (eval $ac_link) 2>conftest.er1
15510 grep -v '^ *+' conftest.er1
>conftest.err
15512 cat conftest.err
>&5
15513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15514 (exit $ac_status); } &&
15515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15517 (eval $ac_try) 2>&5
15519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15520 (exit $ac_status); }; } &&
15521 { ac_try
='test -s conftest$ac_exeext'
15522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15523 (eval $ac_try) 2>&5
15525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15526 (exit $ac_status); }; }; then
15527 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed 's/^.*\(libncurses\.so[^ ]*\).*$/\1/'`
15528 if test "x$ac_cv_lib_soname_ncurses" = "x"
15530 ac_cv_lib_soname_ncurses
="libncurses.so"
15533 echo "$as_me: failed program was:" >&5
15534 sed 's/^/| /' conftest.
$ac_ext >&5
15536 ac_cv_lib_soname_ncurses
="libncurses.so"
15538 rm -f conftest.err conftest.
$ac_objext \
15539 conftest
$ac_exeext conftest.
$ac_ext
15540 LIBS
=$ac_get_soname_save_LIBS
15542 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15543 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15544 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15546 cat >>confdefs.h
<<_ACEOF
15547 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15551 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15552 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15553 if test "${ac_cv_lib_soname_curses+set}" = set; then
15554 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 ac_get_soname_save_LIBS
=$LIBS
15557 LIBS
="-lcurses $LIBS"
15558 cat >conftest.
$ac_ext <<_ACEOF
15561 cat confdefs.h
>>conftest.
$ac_ext
15562 cat >>conftest.
$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15565 /* Override any gcc2 internal prototype to avoid an error. */
15569 /* We use char because int might match the return type of a gcc2
15570 builtin and then its argument prototype would still apply. */
15580 rm -f conftest.
$ac_objext conftest
$ac_exeext
15581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15582 (eval $ac_link) 2>conftest.er1
15584 grep -v '^ *+' conftest.er1
>conftest.err
15586 cat conftest.err
>&5
15587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15588 (exit $ac_status); } &&
15589 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15591 (eval $ac_try) 2>&5
15593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15594 (exit $ac_status); }; } &&
15595 { ac_try
='test -s conftest$ac_exeext'
15596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15597 (eval $ac_try) 2>&5
15599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15600 (exit $ac_status); }; }; then
15601 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.so | sed 's/^.*\(libcurses\.so[^ ]*\).*$/\1/'`
15602 if test "x$ac_cv_lib_soname_curses" = "x"
15604 ac_cv_lib_soname_curses
="libcurses.so"
15607 echo "$as_me: failed program was:" >&5
15608 sed 's/^/| /' conftest.
$ac_ext >&5
15610 ac_cv_lib_soname_curses
="libcurses.so"
15612 rm -f conftest.err conftest.
$ac_objext \
15613 conftest
$ac_exeext conftest.
$ac_ext
15614 LIBS
=$ac_get_soname_save_LIBS
15616 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15617 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15618 if test "x$ac_cv_lib_soname_curses" != xNONE
15620 cat >>confdefs.h
<<_ACEOF
15621 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15628 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15629 # for constant arguments. Useless!
15630 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15631 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15632 if test "${ac_cv_working_alloca_h+set}" = set; then
15633 echo $ECHO_N "(cached) $ECHO_C" >&6
15635 cat >conftest.
$ac_ext <<_ACEOF
15638 cat confdefs.h
>>conftest.
$ac_ext
15639 cat >>conftest.
$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641 #include <alloca.h>
15645 char *p = (char *) alloca (2 * sizeof (int));
15650 rm -f conftest.
$ac_objext conftest
$ac_exeext
15651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15652 (eval $ac_link) 2>conftest.er1
15654 grep -v '^ *+' conftest.er1
>conftest.err
15656 cat conftest.err
>&5
15657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15658 (exit $ac_status); } &&
15659 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15661 (eval $ac_try) 2>&5
15663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15664 (exit $ac_status); }; } &&
15665 { ac_try
='test -s conftest$ac_exeext'
15666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15667 (eval $ac_try) 2>&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); }; }; then
15671 ac_cv_working_alloca_h
=yes
15673 echo "$as_me: failed program was:" >&5
15674 sed 's/^/| /' conftest.
$ac_ext >&5
15676 ac_cv_working_alloca_h
=no
15678 rm -f conftest.err conftest.
$ac_objext \
15679 conftest
$ac_exeext conftest.
$ac_ext
15681 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15682 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15683 if test $ac_cv_working_alloca_h = yes; then
15685 cat >>confdefs.h
<<\_ACEOF
15686 #define HAVE_ALLOCA_H 1
15691 echo "$as_me:$LINENO: checking for alloca" >&5
15692 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15693 if test "${ac_cv_func_alloca_works+set}" = set; then
15694 echo $ECHO_N "(cached) $ECHO_C" >&6
15696 cat >conftest.
$ac_ext <<_ACEOF
15699 cat confdefs.h
>>conftest.
$ac_ext
15700 cat >>conftest.
$ac_ext <<_ACEOF
15701 /* end confdefs.h. */
15703 # define alloca __builtin_alloca
15706 # include <malloc.h>
15707 # define alloca _alloca
15710 # include <alloca.h>
15715 # ifndef alloca /* predefined by HP cc +Olibcalls */
15726 char *p = (char *) alloca (1);
15731 rm -f conftest.
$ac_objext conftest
$ac_exeext
15732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15733 (eval $ac_link) 2>conftest.er1
15735 grep -v '^ *+' conftest.er1
>conftest.err
15737 cat conftest.err
>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; } &&
15746 { ac_try
='test -s conftest$ac_exeext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15752 ac_cv_func_alloca_works
=yes
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.
$ac_ext >&5
15757 ac_cv_func_alloca_works
=no
15759 rm -f conftest.err conftest.
$ac_objext \
15760 conftest
$ac_exeext conftest.
$ac_ext
15762 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15763 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15765 if test $ac_cv_func_alloca_works = yes; then
15767 cat >>confdefs.h
<<\_ACEOF
15768 #define HAVE_ALLOCA 1
15772 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15773 # that cause trouble. Some versions do not even contain alloca or
15774 # contain a buggy version. If you still want to use their alloca,
15775 # use ar to extract alloca.o from them instead of compiling alloca.c.
15777 ALLOCA
=alloca.
$ac_objext
15779 cat >>confdefs.h
<<\_ACEOF
15784 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15785 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15786 if test "${ac_cv_os_cray+set}" = set; then
15787 echo $ECHO_N "(cached) $ECHO_C" >&6
15789 cat >conftest.
$ac_ext <<_ACEOF
15792 cat confdefs.h
>>conftest.
$ac_ext
15793 cat >>conftest.
$ac_ext <<_ACEOF
15794 /* end confdefs.h. */
15795 #if defined(CRAY) && ! defined(CRAY2)
15802 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15803 $EGREP "webecray" >/dev
/null
2>&1; then
15811 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15812 echo "${ECHO_T}$ac_cv_os_cray" >&6
15813 if test $ac_cv_os_cray = yes; then
15814 for ac_func
in _getb67 GETB67 getb67
; do
15815 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15816 echo "$as_me:$LINENO: checking for $ac_func" >&5
15817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15818 if eval "test \"\${$as_ac_var+set}\" = set"; then
15819 echo $ECHO_N "(cached) $ECHO_C" >&6
15821 cat >conftest.
$ac_ext <<_ACEOF
15824 cat confdefs.h
>>conftest.
$ac_ext
15825 cat >>conftest.
$ac_ext <<_ACEOF
15826 /* end confdefs.h. */
15827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15829 #define $ac_func innocuous_$ac_func
15831 /* System header to define __stub macros and hopefully few prototypes,
15832 which can conflict with char $ac_func (); below.
15833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15834 <limits.h> exists even on freestanding compilers. */
15837 # include <limits.h>
15839 # include <assert.h>
15844 /* Override any gcc2 internal prototype to avoid an error. */
15849 /* We use char because int might match the return type of a gcc2
15850 builtin and then its argument prototype would still apply. */
15852 /* The GNU C library defines this for functions which it implements
15853 to always fail with ENOSYS. Some functions are actually named
15854 something starting with __ and the normal name is an alias. */
15855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15858 char (*f) () = $ac_func;
15867 return f != $ac_func;
15872 rm -f conftest.
$ac_objext conftest
$ac_exeext
15873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15874 (eval $ac_link) 2>conftest.er1
15876 grep -v '^ *+' conftest.er1
>conftest.err
15878 cat conftest.err
>&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } &&
15881 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15883 (eval $ac_try) 2>&5
15885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15886 (exit $ac_status); }; } &&
15887 { ac_try
='test -s conftest$ac_exeext'
15888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15889 (eval $ac_try) 2>&5
15891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15892 (exit $ac_status); }; }; then
15893 eval "$as_ac_var=yes"
15895 echo "$as_me: failed program was:" >&5
15896 sed 's/^/| /' conftest.
$ac_ext >&5
15898 eval "$as_ac_var=no"
15900 rm -f conftest.err conftest.
$ac_objext \
15901 conftest
$ac_exeext conftest.
$ac_ext
15903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15904 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15905 if test `eval echo '${'$as_ac_var'}'` = yes; then
15907 cat >>confdefs.h
<<_ACEOF
15908 #define CRAY_STACKSEG_END $ac_func
15917 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
15918 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
15919 if test "${ac_cv_c_stack_direction+set}" = set; then
15920 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 if test "$cross_compiling" = yes; then
15923 ac_cv_c_stack_direction
=0
15925 cat >conftest.
$ac_ext <<_ACEOF
15928 cat confdefs.h
>>conftest.
$ac_ext
15929 cat >>conftest.
$ac_ext <<_ACEOF
15930 /* end confdefs.h. */
15932 find_stack_direction ()
15934 static char *addr = 0;
15939 return find_stack_direction ();
15942 return (&dummy > addr) ? 1 : -1;
15948 exit (find_stack_direction () < 0);
15951 rm -f conftest
$ac_exeext
15952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15953 (eval $ac_link) 2>&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15958 (eval $ac_try) 2>&5
15960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15961 (exit $ac_status); }; }; then
15962 ac_cv_c_stack_direction
=1
15964 echo "$as_me: program exited with status $ac_status" >&5
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.
$ac_ext >&5
15968 ( exit $ac_status )
15969 ac_cv_c_stack_direction
=-1
15971 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
15974 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
15975 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
15977 cat >>confdefs.h
<<_ACEOF
15978 #define STACK_DIRECTION $ac_cv_c_stack_direction
16101 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16102 echo "$as_me:$LINENO: checking for $ac_func" >&5
16103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16104 if eval "test \"\${$as_ac_var+set}\" = set"; then
16105 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 cat >conftest.
$ac_ext <<_ACEOF
16110 cat confdefs.h
>>conftest.
$ac_ext
16111 cat >>conftest.
$ac_ext <<_ACEOF
16112 /* end confdefs.h. */
16113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16115 #define $ac_func innocuous_$ac_func
16117 /* System header to define __stub macros and hopefully few prototypes,
16118 which can conflict with char $ac_func (); below.
16119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16120 <limits.h> exists even on freestanding compilers. */
16123 # include <limits.h>
16125 # include <assert.h>
16130 /* Override any gcc2 internal prototype to avoid an error. */
16135 /* We use char because int might match the return type of a gcc2
16136 builtin and then its argument prototype would still apply. */
16138 /* The GNU C library defines this for functions which it implements
16139 to always fail with ENOSYS. Some functions are actually named
16140 something starting with __ and the normal name is an alias. */
16141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16144 char (*f) () = $ac_func;
16153 return f != $ac_func;
16158 rm -f conftest.
$ac_objext conftest
$ac_exeext
16159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16160 (eval $ac_link) 2>conftest.er1
16162 grep -v '^ *+' conftest.er1
>conftest.err
16164 cat conftest.err
>&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16169 (eval $ac_try) 2>&5
16171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16172 (exit $ac_status); }; } &&
16173 { ac_try
='test -s conftest$ac_exeext'
16174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16175 (eval $ac_try) 2>&5
16177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16178 (exit $ac_status); }; }; then
16179 eval "$as_ac_var=yes"
16181 echo "$as_me: failed program was:" >&5
16182 sed 's/^/| /' conftest.
$ac_ext >&5
16184 eval "$as_ac_var=no"
16186 rm -f conftest.err conftest.
$ac_objext \
16187 conftest
$ac_exeext conftest.
$ac_ext
16189 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16190 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16191 if test `eval echo '${'$as_ac_var'}'` = yes; then
16192 cat >>confdefs.h
<<_ACEOF
16193 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16292 fontconfig
/fontconfig.h \
16312 netinet
/in_systm.h \
16314 netinet
/tcp_fsm.h \
16324 scsi
/scsi_ioctl.h \
16369 valgrind
/memcheck.h
16372 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16374 echo "$as_me:$LINENO: checking for $ac_header" >&5
16375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16377 echo $ECHO_N "(cached) $ECHO_C" >&6
16379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16382 # Is the header compilable?
16383 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16384 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16385 cat >conftest.
$ac_ext <<_ACEOF
16388 cat confdefs.h
>>conftest.
$ac_ext
16389 cat >>conftest.
$ac_ext <<_ACEOF
16390 /* end confdefs.h. */
16391 $ac_includes_default
16392 #include <$ac_header>
16394 rm -f conftest.
$ac_objext
16395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16396 (eval $ac_compile) 2>conftest.er1
16398 grep -v '^ *+' conftest.er1
>conftest.err
16400 cat conftest.err
>&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); } &&
16403 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16405 (eval $ac_try) 2>&5
16407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16408 (exit $ac_status); }; } &&
16409 { ac_try
='test -s conftest.$ac_objext'
16410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16411 (eval $ac_try) 2>&5
16413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16414 (exit $ac_status); }; }; then
16415 ac_header_compiler
=yes
16417 echo "$as_me: failed program was:" >&5
16418 sed 's/^/| /' conftest.
$ac_ext >&5
16420 ac_header_compiler
=no
16422 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16424 echo "${ECHO_T}$ac_header_compiler" >&6
16426 # Is the header present?
16427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16428 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
16437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16438 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16440 grep -v '^ *+' conftest.er1
>conftest.err
16442 cat conftest.err
>&5
16443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16444 (exit $ac_status); } >/dev
/null
; then
16445 if test -s conftest.err
; then
16446 ac_cpp_err
=$ac_c_preproc_warn_flag
16447 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16454 if test -z "$ac_cpp_err"; then
16455 ac_header_preproc
=yes
16457 echo "$as_me: failed program was:" >&5
16458 sed 's/^/| /' conftest.
$ac_ext >&5
16460 ac_header_preproc
=no
16462 rm -f conftest.err conftest.
$ac_ext
16463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16464 echo "${ECHO_T}$ac_header_preproc" >&6
16466 # So? What about this header?
16467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16473 ac_header_preproc
=yes
16476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16490 ## ------------------------------------ ##
16491 ## Report this to wine-devel@winehq.org ##
16492 ## ------------------------------------ ##
16495 sed "s/^/$as_me: WARNING: /" >&2
16498 echo "$as_me:$LINENO: checking for $ac_header" >&5
16499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16501 echo $ECHO_N "(cached) $ECHO_C" >&6
16503 eval "$as_ac_Header=\$ac_header_preproc"
16505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16510 cat >>confdefs.h
<<_ACEOF
16511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16518 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16519 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16520 if test "${ac_cv_header_stat_broken+set}" = set; then
16521 echo $ECHO_N "(cached) $ECHO_C" >&6
16523 cat >conftest.
$ac_ext <<_ACEOF
16526 cat confdefs.h
>>conftest.
$ac_ext
16527 cat >>conftest.
$ac_ext <<_ACEOF
16528 /* end confdefs.h. */
16529 #include <sys/types.h>
16530 #include <sys/stat.h>
16532 #if defined(S_ISBLK) && defined(S_IFDIR)
16533 # if S_ISBLK (S_IFDIR)
16538 #if defined(S_ISBLK) && defined(S_IFCHR)
16539 # if S_ISBLK (S_IFCHR)
16544 #if defined(S_ISLNK) && defined(S_IFREG)
16545 # if S_ISLNK (S_IFREG)
16550 #if defined(S_ISSOCK) && defined(S_IFREG)
16551 # if S_ISSOCK (S_IFREG)
16557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16558 $EGREP "You lose" >/dev
/null
2>&1; then
16559 ac_cv_header_stat_broken
=yes
16561 ac_cv_header_stat_broken
=no
16566 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16567 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16568 if test $ac_cv_header_stat_broken = yes; then
16570 cat >>confdefs.h
<<\_ACEOF
16571 #define STAT_MACROS_BROKEN 1
16580 for ac_header
in sys
/mount.h sys
/user.h
16582 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16583 echo "$as_me:$LINENO: checking for $ac_header" >&5
16584 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16585 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16586 echo $ECHO_N "(cached) $ECHO_C" >&6
16588 cat >conftest.
$ac_ext <<_ACEOF
16591 cat confdefs.h
>>conftest.
$ac_ext
16592 cat >>conftest.
$ac_ext <<_ACEOF
16593 /* end confdefs.h. */
16594 #include <sys/types.h>
16595 #if HAVE_SYS_PARAM_H
16596 # include <sys/param.h>
16599 #include <$ac_header>
16601 rm -f conftest.
$ac_objext
16602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16603 (eval $ac_compile) 2>conftest.er1
16605 grep -v '^ *+' conftest.er1
>conftest.err
16607 cat conftest.err
>&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } &&
16610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; } &&
16616 { ac_try
='test -s conftest.$ac_objext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 eval "$as_ac_Header=yes"
16624 echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.
$ac_ext >&5
16627 eval "$as_ac_Header=no"
16629 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16632 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16634 cat >>confdefs.h
<<_ACEOF
16635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16648 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16650 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16651 echo "$as_me:$LINENO: checking for $ac_header" >&5
16652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16654 echo $ECHO_N "(cached) $ECHO_C" >&6
16656 cat >conftest.
$ac_ext <<_ACEOF
16659 cat confdefs.h
>>conftest.
$ac_ext
16660 cat >>conftest.
$ac_ext <<_ACEOF
16661 /* end confdefs.h. */
16662 #include <sys/types.h>
16663 #if HAVE_SYS_SOCKET_H
16664 # include <sys/socket.h>
16667 #include <$ac_header>
16669 rm -f conftest.
$ac_objext
16670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16671 (eval $ac_compile) 2>conftest.er1
16673 grep -v '^ *+' conftest.er1
>conftest.err
16675 cat conftest.err
>&5
16676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16677 (exit $ac_status); } &&
16678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16680 (eval $ac_try) 2>&5
16682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16683 (exit $ac_status); }; } &&
16684 { ac_try
='test -s conftest.$ac_objext'
16685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16686 (eval $ac_try) 2>&5
16688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16689 (exit $ac_status); }; }; then
16690 eval "$as_ac_Header=yes"
16692 echo "$as_me: failed program was:" >&5
16693 sed 's/^/| /' conftest.
$ac_ext >&5
16695 eval "$as_ac_Header=no"
16697 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16702 cat >>confdefs.h
<<_ACEOF
16703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16712 for ac_header
in resolv.h
16714 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16715 echo "$as_me:$LINENO: checking for $ac_header" >&5
16716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16718 echo $ECHO_N "(cached) $ECHO_C" >&6
16720 cat >conftest.
$ac_ext <<_ACEOF
16723 cat confdefs.h
>>conftest.
$ac_ext
16724 cat >>conftest.
$ac_ext <<_ACEOF
16725 /* end confdefs.h. */
16726 #include <sys/types.h>
16727 #if HAVE_SYS_SOCKET_H
16728 # include <sys/socket.h>
16730 #if HAVE_NETINET_IN_H
16731 # include <netinet/in.h>
16733 #if HAVE_ARPA_NAMESER_H
16734 # include <arpa/nameser.h>
16737 #include <$ac_header>
16739 rm -f conftest.
$ac_objext
16740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16741 (eval $ac_compile) 2>conftest.er1
16743 grep -v '^ *+' conftest.er1
>conftest.err
16745 cat conftest.err
>&5
16746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16747 (exit $ac_status); } &&
16748 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16750 (eval $ac_try) 2>&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); }; } &&
16754 { ac_try
='test -s conftest.$ac_objext'
16755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16756 (eval $ac_try) 2>&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; }; then
16760 eval "$as_ac_Header=yes"
16762 echo "$as_me: failed program was:" >&5
16763 sed 's/^/| /' conftest.
$ac_ext >&5
16765 eval "$as_ac_Header=no"
16767 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16772 cat >>confdefs.h
<<_ACEOF
16773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16782 for ac_header
in netinet
/ip.h
16784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16785 echo "$as_me:$LINENO: checking for $ac_header" >&5
16786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16788 echo $ECHO_N "(cached) $ECHO_C" >&6
16790 cat >conftest.
$ac_ext <<_ACEOF
16793 cat confdefs.h
>>conftest.
$ac_ext
16794 cat >>conftest.
$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796 #include <sys/types.h>
16797 #if HAVE_SYS_SOCKET_H
16798 # include <sys/socket.h>
16800 #if HAVE_NETINET_IN_SYSTM_H
16801 # include <netinet/in_systm.h>
16804 #include <$ac_header>
16806 rm -f conftest.
$ac_objext
16807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16808 (eval $ac_compile) 2>conftest.er1
16810 grep -v '^ *+' conftest.er1
>conftest.err
16812 cat conftest.err
>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } &&
16815 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16817 (eval $ac_try) 2>&5
16819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16820 (exit $ac_status); }; } &&
16821 { ac_try
='test -s conftest.$ac_objext'
16822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16823 (eval $ac_try) 2>&5
16825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16826 (exit $ac_status); }; }; then
16827 eval "$as_ac_Header=yes"
16829 echo "$as_me: failed program was:" >&5
16830 sed 's/^/| /' conftest.
$ac_ext >&5
16832 eval "$as_ac_Header=no"
16834 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16837 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16839 cat >>confdefs.h
<<_ACEOF
16840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16849 for ac_header
in ucontext.h
16851 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16852 echo "$as_me:$LINENO: checking for $ac_header" >&5
16853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16855 echo $ECHO_N "(cached) $ECHO_C" >&6
16857 cat >conftest.
$ac_ext <<_ACEOF
16860 cat confdefs.h
>>conftest.
$ac_ext
16861 cat >>conftest.
$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16863 #include <signal.h>
16865 #include <$ac_header>
16867 rm -f conftest.
$ac_objext
16868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16869 (eval $ac_compile) 2>conftest.er1
16871 grep -v '^ *+' conftest.er1
>conftest.err
16873 cat conftest.err
>&5
16874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16875 (exit $ac_status); } &&
16876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16878 (eval $ac_try) 2>&5
16880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16881 (exit $ac_status); }; } &&
16882 { ac_try
='test -s conftest.$ac_objext'
16883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16884 (eval $ac_try) 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); }; }; then
16888 eval "$as_ac_Header=yes"
16890 echo "$as_me: failed program was:" >&5
16891 sed 's/^/| /' conftest.
$ac_ext >&5
16893 eval "$as_ac_Header=no"
16895 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16899 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16900 cat >>confdefs.h
<<_ACEOF
16901 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16910 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
16911 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
16912 if test "${ac_cv_c_ipx_gnu+set}" = set; then
16913 echo $ECHO_N "(cached) $ECHO_C" >&6
16915 cat >conftest.
$ac_ext <<_ACEOF
16918 cat confdefs.h
>>conftest.
$ac_ext
16919 cat >>conftest.
$ac_ext <<_ACEOF
16920 /* end confdefs.h. */
16921 #include <sys/types.h>
16922 #ifdef HAVE_SYS_SOCKET_H
16923 # include <sys/socket.h>
16925 #include <netipx/ipx.h>
16929 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
16934 rm -f conftest.
$ac_objext
16935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16936 (eval $ac_compile) 2>conftest.er1
16938 grep -v '^ *+' conftest.er1
>conftest.err
16940 cat conftest.err
>&5
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); } &&
16943 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; } &&
16949 { ac_try
='test -s conftest.$ac_objext'
16950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16951 (eval $ac_try) 2>&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); }; }; then
16955 ac_cv_c_ipx_gnu
="yes"
16957 echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.
$ac_ext >&5
16960 ac_cv_c_ipx_gnu
="no"
16962 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16965 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
16966 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
16967 if test "$ac_cv_c_ipx_gnu" = "yes"
16970 cat >>confdefs.h
<<\_ACEOF
16971 #define HAVE_IPX_GNU 1
16976 if test "$ac_cv_c_ipx_gnu" = "no"
16978 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
16979 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
16980 if test "${ac_cv_c_ipx_linux+set}" = set; then
16981 echo $ECHO_N "(cached) $ECHO_C" >&6
16983 cat >conftest.
$ac_ext <<_ACEOF
16986 cat confdefs.h
>>conftest.
$ac_ext
16987 cat >>conftest.
$ac_ext <<_ACEOF
16988 /* end confdefs.h. */
16989 #include <sys/types.h>
16990 #ifdef HAVE_SYS_SOCKET_H
16991 # include <sys/socket.h>
16993 #include <asm/types.h>
16994 #include <linux/ipx.h>
16998 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17003 rm -f conftest.
$ac_objext
17004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17005 (eval $ac_compile) 2>conftest.er1
17007 grep -v '^ *+' conftest.er1
>conftest.err
17009 cat conftest.err
>&5
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); } &&
17012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; } &&
17018 { ac_try
='test -s conftest.$ac_objext'
17019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17020 (eval $ac_try) 2>&5
17022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17023 (exit $ac_status); }; }; then
17024 ac_cv_c_ipx_linux
="yes"
17026 echo "$as_me: failed program was:" >&5
17027 sed 's/^/| /' conftest.
$ac_ext >&5
17029 ac_cv_c_ipx_linux
="no"
17031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17034 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17035 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17036 if test "$ac_cv_c_ipx_linux" = "yes"
17039 cat >>confdefs.h
<<\_ACEOF
17040 #define HAVE_IPX_LINUX 1
17047 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17048 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17049 if test "${ac_cv_c_const+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 cat >conftest.
$ac_ext <<_ACEOF
17055 cat confdefs.h
>>conftest.
$ac_ext
17056 cat >>conftest.
$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17062 /* FIXME: Include the comments suggested by Paul. */
17063 #ifndef __cplusplus
17064 /* Ultrix mips cc rejects this. */
17065 typedef int charset[2];
17067 /* SunOS 4.1.1 cc rejects this. */
17068 char const *const *ccp;
17070 /* NEC SVR4.0.2 mips cc rejects this. */
17071 struct point {int x, y;};
17072 static struct point const zero = {0,0};
17073 /* AIX XL C 1.02.0.0 rejects this.
17074 It does not let you subtract one const X* pointer from another in
17075 an arm of an if-expression whose if-part is not a constant
17077 const char *g = "string";
17078 ccp = &g + (g ? g-g : 0);
17079 /* HPUX 7.0 cc rejects these. */
17082 ccp = (char const *const *) p;
17083 { /* SCO 3.2v4 cc rejects this. */
17085 char const *s = 0 ? (char *) 0 : (char const *) 0;
17089 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17090 int x[] = {25, 17};
17091 const int *foo = &x[0];
17094 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17095 typedef const int *iptr;
17099 { /* AIX XL C 1.02.0.0 rejects this saying
17100 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17101 struct s { int j; const int *ap[3]; };
17102 struct s *b; b->j = 5;
17104 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17105 const int foo = 10;
17113 rm -f conftest.
$ac_objext
17114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17115 (eval $ac_compile) 2>conftest.er1
17117 grep -v '^ *+' conftest.er1
>conftest.err
17119 cat conftest.err
>&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } &&
17122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; } &&
17128 { ac_try
='test -s conftest.$ac_objext'
17129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17130 (eval $ac_try) 2>&5
17132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17133 (exit $ac_status); }; }; then
17136 echo "$as_me: failed program was:" >&5
17137 sed 's/^/| /' conftest.
$ac_ext >&5
17141 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17143 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17144 echo "${ECHO_T}$ac_cv_c_const" >&6
17145 if test $ac_cv_c_const = no
; then
17147 cat >>confdefs.h
<<\_ACEOF
17153 echo "$as_me:$LINENO: checking for inline" >&5
17154 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17155 if test "${ac_cv_c_inline+set}" = set; then
17156 echo $ECHO_N "(cached) $ECHO_C" >&6
17159 for ac_kw
in inline __inline__ __inline
; do
17160 cat >conftest.
$ac_ext <<_ACEOF
17163 cat confdefs.h
>>conftest.
$ac_ext
17164 cat >>conftest.
$ac_ext <<_ACEOF
17165 /* end confdefs.h. */
17166 #ifndef __cplusplus
17168 static $ac_kw foo_t static_foo () {return 0; }
17169 $ac_kw foo_t foo () {return 0; }
17173 rm -f conftest.
$ac_objext
17174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17175 (eval $ac_compile) 2>conftest.er1
17177 grep -v '^ *+' conftest.er1
>conftest.err
17179 cat conftest.err
>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } &&
17182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; } &&
17188 { ac_try
='test -s conftest.$ac_objext'
17189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17190 (eval $ac_try) 2>&5
17192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17193 (exit $ac_status); }; }; then
17194 ac_cv_c_inline
=$ac_kw; break
17196 echo "$as_me: failed program was:" >&5
17197 sed 's/^/| /' conftest.
$ac_ext >&5
17200 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17204 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17205 echo "${ECHO_T}$ac_cv_c_inline" >&6
17208 case $ac_cv_c_inline in
17211 case $ac_cv_c_inline in
17213 *) ac_val
=$ac_cv_c_inline;;
17215 cat >>confdefs.h
<<_ACEOF
17216 #ifndef __cplusplus
17217 #define inline $ac_val
17223 echo "$as_me:$LINENO: checking for mode_t" >&5
17224 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17225 if test "${ac_cv_type_mode_t+set}" = set; then
17226 echo $ECHO_N "(cached) $ECHO_C" >&6
17228 cat >conftest.
$ac_ext <<_ACEOF
17231 cat confdefs.h
>>conftest.
$ac_ext
17232 cat >>conftest.
$ac_ext <<_ACEOF
17233 /* end confdefs.h. */
17234 $ac_includes_default
17240 if (sizeof (mode_t))
17246 rm -f conftest.
$ac_objext
17247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17248 (eval $ac_compile) 2>conftest.er1
17250 grep -v '^ *+' conftest.er1
>conftest.err
17252 cat conftest.err
>&5
17253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17254 (exit $ac_status); } &&
17255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17257 (eval $ac_try) 2>&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); }; } &&
17261 { ac_try
='test -s conftest.$ac_objext'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; }; then
17267 ac_cv_type_mode_t
=yes
17269 echo "$as_me: failed program was:" >&5
17270 sed 's/^/| /' conftest.
$ac_ext >&5
17272 ac_cv_type_mode_t
=no
17274 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17276 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17277 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17278 if test $ac_cv_type_mode_t = yes; then
17280 cat >>confdefs.h
<<_ACEOF
17281 #define HAVE_MODE_T 1
17286 echo "$as_me:$LINENO: checking for off_t" >&5
17287 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17288 if test "${ac_cv_type_off_t+set}" = set; then
17289 echo $ECHO_N "(cached) $ECHO_C" >&6
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 $ac_includes_default
17303 if (sizeof (off_t))
17309 rm -f conftest.
$ac_objext
17310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17311 (eval $ac_compile) 2>conftest.er1
17313 grep -v '^ *+' conftest.er1
>conftest.err
17315 cat conftest.err
>&5
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); } &&
17318 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; } &&
17324 { ac_try
='test -s conftest.$ac_objext'
17325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17326 (eval $ac_try) 2>&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); }; }; then
17330 ac_cv_type_off_t
=yes
17332 echo "$as_me: failed program was:" >&5
17333 sed 's/^/| /' conftest.
$ac_ext >&5
17335 ac_cv_type_off_t
=no
17337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17339 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17340 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17341 if test $ac_cv_type_off_t = yes; then
17343 cat >>confdefs.h
<<_ACEOF
17344 #define HAVE_OFF_T 1
17349 echo "$as_me:$LINENO: checking for pid_t" >&5
17350 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17351 if test "${ac_cv_type_pid_t+set}" = set; then
17352 echo $ECHO_N "(cached) $ECHO_C" >&6
17354 cat >conftest.
$ac_ext <<_ACEOF
17357 cat confdefs.h
>>conftest.
$ac_ext
17358 cat >>conftest.
$ac_ext <<_ACEOF
17359 /* end confdefs.h. */
17360 $ac_includes_default
17366 if (sizeof (pid_t))
17372 rm -f conftest.
$ac_objext
17373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17374 (eval $ac_compile) 2>conftest.er1
17376 grep -v '^ *+' conftest.er1
>conftest.err
17378 cat conftest.err
>&5
17379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17380 (exit $ac_status); } &&
17381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17383 (eval $ac_try) 2>&5
17385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17386 (exit $ac_status); }; } &&
17387 { ac_try
='test -s conftest.$ac_objext'
17388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17389 (eval $ac_try) 2>&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); }; }; then
17393 ac_cv_type_pid_t
=yes
17395 echo "$as_me: failed program was:" >&5
17396 sed 's/^/| /' conftest.
$ac_ext >&5
17398 ac_cv_type_pid_t
=no
17400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17402 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17403 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17404 if test $ac_cv_type_pid_t = yes; then
17406 cat >>confdefs.h
<<_ACEOF
17407 #define HAVE_PID_T 1
17412 echo "$as_me:$LINENO: checking for size_t" >&5
17413 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17414 if test "${ac_cv_type_size_t+set}" = set; then
17415 echo $ECHO_N "(cached) $ECHO_C" >&6
17417 cat >conftest.
$ac_ext <<_ACEOF
17420 cat confdefs.h
>>conftest.
$ac_ext
17421 cat >>conftest.
$ac_ext <<_ACEOF
17422 /* end confdefs.h. */
17423 $ac_includes_default
17429 if (sizeof (size_t))
17435 rm -f conftest.
$ac_objext
17436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17437 (eval $ac_compile) 2>conftest.er1
17439 grep -v '^ *+' conftest.er1
>conftest.err
17441 cat conftest.err
>&5
17442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17443 (exit $ac_status); } &&
17444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17446 (eval $ac_try) 2>&5
17448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17449 (exit $ac_status); }; } &&
17450 { ac_try
='test -s conftest.$ac_objext'
17451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17452 (eval $ac_try) 2>&5
17454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17455 (exit $ac_status); }; }; then
17456 ac_cv_type_size_t
=yes
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.
$ac_ext >&5
17461 ac_cv_type_size_t
=no
17463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17465 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17466 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17467 if test $ac_cv_type_size_t = yes; then
17469 cat >>confdefs.h
<<_ACEOF
17470 #define HAVE_SIZE_T 1
17475 echo "$as_me:$LINENO: checking for ssize_t" >&5
17476 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17477 if test "${ac_cv_type_ssize_t+set}" = set; then
17478 echo $ECHO_N "(cached) $ECHO_C" >&6
17480 cat >conftest.
$ac_ext <<_ACEOF
17483 cat confdefs.h
>>conftest.
$ac_ext
17484 cat >>conftest.
$ac_ext <<_ACEOF
17485 /* end confdefs.h. */
17486 $ac_includes_default
17492 if (sizeof (ssize_t))
17498 rm -f conftest.
$ac_objext
17499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17500 (eval $ac_compile) 2>conftest.er1
17502 grep -v '^ *+' conftest.er1
>conftest.err
17504 cat conftest.err
>&5
17505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17506 (exit $ac_status); } &&
17507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17509 (eval $ac_try) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); }; } &&
17513 { ac_try
='test -s conftest.$ac_objext'
17514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17515 (eval $ac_try) 2>&5
17517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17518 (exit $ac_status); }; }; then
17519 ac_cv_type_ssize_t
=yes
17521 echo "$as_me: failed program was:" >&5
17522 sed 's/^/| /' conftest.
$ac_ext >&5
17524 ac_cv_type_ssize_t
=no
17526 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17528 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17529 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17530 if test $ac_cv_type_ssize_t = yes; then
17532 cat >>confdefs.h
<<_ACEOF
17533 #define HAVE_SSIZE_T 1
17538 echo "$as_me:$LINENO: checking for long long" >&5
17539 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17540 if test "${ac_cv_type_long_long+set}" = set; then
17541 echo $ECHO_N "(cached) $ECHO_C" >&6
17543 cat >conftest.
$ac_ext <<_ACEOF
17546 cat confdefs.h
>>conftest.
$ac_ext
17547 cat >>conftest.
$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 $ac_includes_default
17553 if ((long long *) 0)
17555 if (sizeof (long long))
17561 rm -f conftest.
$ac_objext
17562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17563 (eval $ac_compile) 2>conftest.er1
17565 grep -v '^ *+' conftest.er1
>conftest.err
17567 cat conftest.err
>&5
17568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17569 (exit $ac_status); } &&
17570 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17572 (eval $ac_try) 2>&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); }; } &&
17576 { ac_try
='test -s conftest.$ac_objext'
17577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17578 (eval $ac_try) 2>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); }; }; then
17582 ac_cv_type_long_long
=yes
17584 echo "$as_me: failed program was:" >&5
17585 sed 's/^/| /' conftest.
$ac_ext >&5
17587 ac_cv_type_long_long
=no
17589 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17591 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17592 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17593 if test $ac_cv_type_long_long = yes; then
17595 cat >>confdefs.h
<<_ACEOF
17596 #define HAVE_LONG_LONG 1
17601 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17602 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17603 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17606 cat >conftest.
$ac_ext <<_ACEOF
17609 cat confdefs.h
>>conftest.
$ac_ext
17610 cat >>conftest.
$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17616 if ((fsblkcnt_t *) 0)
17618 if (sizeof (fsblkcnt_t))
17624 rm -f conftest.
$ac_objext
17625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17626 (eval $ac_compile) 2>conftest.er1
17628 grep -v '^ *+' conftest.er1
>conftest.err
17630 cat conftest.err
>&5
17631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17632 (exit $ac_status); } &&
17633 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17635 (eval $ac_try) 2>&5
17637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17638 (exit $ac_status); }; } &&
17639 { ac_try
='test -s conftest.$ac_objext'
17640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17641 (eval $ac_try) 2>&5
17643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17644 (exit $ac_status); }; }; then
17645 ac_cv_type_fsblkcnt_t
=yes
17647 echo "$as_me: failed program was:" >&5
17648 sed 's/^/| /' conftest.
$ac_ext >&5
17650 ac_cv_type_fsblkcnt_t
=no
17652 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17654 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17655 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17656 if test $ac_cv_type_fsblkcnt_t = yes; then
17658 cat >>confdefs.h
<<_ACEOF
17659 #define HAVE_FSBLKCNT_T 1
17664 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17665 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17666 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17667 echo $ECHO_N "(cached) $ECHO_C" >&6
17669 cat >conftest.
$ac_ext <<_ACEOF
17672 cat confdefs.h
>>conftest.
$ac_ext
17673 cat >>conftest.
$ac_ext <<_ACEOF
17674 /* end confdefs.h. */
17675 $ac_includes_default
17679 if ((fsfilcnt_t *) 0)
17681 if (sizeof (fsfilcnt_t))
17687 rm -f conftest.
$ac_objext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17689 (eval $ac_compile) 2>conftest.er1
17691 grep -v '^ *+' conftest.er1
>conftest.err
17693 cat conftest.err
>&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try
='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 ac_cv_type_fsfilcnt_t
=yes
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.
$ac_ext >&5
17713 ac_cv_type_fsfilcnt_t
=no
17715 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17717 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17718 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17719 if test $ac_cv_type_fsfilcnt_t = yes; then
17721 cat >>confdefs.h
<<_ACEOF
17722 #define HAVE_FSFILCNT_T 1
17729 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17730 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17731 if test "${wine_cv_linux_input_h+set}" = set; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 cat >conftest.
$ac_ext <<_ACEOF
17737 cat confdefs.h
>>conftest.
$ac_ext
17738 cat >>conftest.
$ac_ext <<_ACEOF
17739 /* end confdefs.h. */
17741 #include <linux/input.h>
17747 int foo = EVIOCGBIT(EV_ABS,42);
17748 int bar = BTN_PINKIE;
17755 rm -f conftest.
$ac_objext
17756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17757 (eval $ac_compile) 2>conftest.er1
17759 grep -v '^ *+' conftest.er1
>conftest.err
17761 cat conftest.err
>&5
17762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17763 (exit $ac_status); } &&
17764 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17766 (eval $ac_try) 2>&5
17768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17769 (exit $ac_status); }; } &&
17770 { ac_try
='test -s conftest.$ac_objext'
17771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17772 (eval $ac_try) 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; }; then
17776 wine_cv_linux_input_h
=yes
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 wine_cv_linux_input_h
=no
17783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17786 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17787 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17788 if test "$wine_cv_linux_input_h" = "yes"
17791 cat >>confdefs.h
<<\_ACEOF
17792 #define HAVE_CORRECT_LINUXINPUT_H 1
17798 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17799 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17800 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17801 echo $ECHO_N "(cached) $ECHO_C" >&6
17803 cat >conftest.
$ac_ext <<_ACEOF
17806 cat confdefs.h
>>conftest.
$ac_ext
17807 cat >>conftest.
$ac_ext <<_ACEOF
17808 /* end confdefs.h. */
17818 struct hostent *result;
17825 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17826 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17832 rm -f conftest.
$ac_objext conftest
$ac_exeext
17833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17834 (eval $ac_link) 2>conftest.er1
17836 grep -v '^ *+' conftest.er1
>conftest.err
17838 cat conftest.err
>&5
17839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } &&
17841 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17843 (eval $ac_try) 2>&5
17845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17846 (exit $ac_status); }; } &&
17847 { ac_try
='test -s conftest$ac_exeext'
17848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17849 (eval $ac_try) 2>&5
17851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17852 (exit $ac_status); }; }; then
17853 wine_cv_linux_gethostbyname_r_6
=yes
17855 echo "$as_me: failed program was:" >&5
17856 sed 's/^/| /' conftest.
$ac_ext >&5
17858 wine_cv_linux_gethostbyname_r_6
=no
17861 rm -f conftest.err conftest.
$ac_objext \
17862 conftest
$ac_exeext conftest.
$ac_ext
17865 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17866 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17867 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17870 cat >>confdefs.h
<<\_ACEOF
17871 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17876 if test "$ac_cv_header_linux_joystick_h" = "yes"
17878 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17879 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17880 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17881 echo $ECHO_N "(cached) $ECHO_C" >&6
17883 cat >conftest.
$ac_ext <<_ACEOF
17886 cat confdefs.h
>>conftest.
$ac_ext
17887 cat >>conftest.
$ac_ext <<_ACEOF
17888 /* end confdefs.h. */
17890 #include <sys/ioctl.h>
17891 #include <linux/joystick.h>
17893 struct js_event blub;
17894 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17895 #error "no 2.2 header"
17906 rm -f conftest.
$ac_objext
17907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17908 (eval $ac_compile) 2>conftest.er1
17910 grep -v '^ *+' conftest.er1
>conftest.err
17912 cat conftest.err
>&5
17913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17914 (exit $ac_status); } &&
17915 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17917 (eval $ac_try) 2>&5
17919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17920 (exit $ac_status); }; } &&
17921 { ac_try
='test -s conftest.$ac_objext'
17922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17923 (eval $ac_try) 2>&5
17925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17926 (exit $ac_status); }; }; then
17927 wine_cv_linux_joystick_22_api
=yes
17929 echo "$as_me: failed program was:" >&5
17930 sed 's/^/| /' conftest.
$ac_ext >&5
17932 wine_cv_linux_joystick_22_api
=no
17934 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17937 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17938 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17939 if test "$wine_cv_linux_joystick_22_api" = "yes"
17942 cat >>confdefs.h
<<\_ACEOF
17943 #define HAVE_LINUX_22_JOYSTICK_API 1
17950 if test "$ac_cv_header_sys_vfs_h" = "yes"
17952 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
17953 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
17954 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
17955 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 cat >conftest.
$ac_ext <<_ACEOF
17960 cat confdefs.h
>>conftest.
$ac_ext
17961 cat >>conftest.
$ac_ext <<_ACEOF
17962 /* end confdefs.h. */
17964 #include <sys/types.h>
17965 #ifdef HAVE_SYS_PARAM_H
17966 # include <sys/param.h>
17968 #include <sys/vfs.h>
17974 struct statfs stfs;
17976 memset(&stfs,0,sizeof(stfs));
17982 rm -f conftest.
$ac_objext
17983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17984 (eval $ac_compile) 2>conftest.er1
17986 grep -v '^ *+' conftest.er1
>conftest.err
17988 cat conftest.err
>&5
17989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17990 (exit $ac_status); } &&
17991 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17993 (eval $ac_try) 2>&5
17995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17996 (exit $ac_status); }; } &&
17997 { ac_try
='test -s conftest.$ac_objext'
17998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17999 (eval $ac_try) 2>&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); }; }; then
18003 wine_cv_sys_vfs_has_statfs
=yes
18005 echo "$as_me: failed program was:" >&5
18006 sed 's/^/| /' conftest.
$ac_ext >&5
18008 wine_cv_sys_vfs_has_statfs
=no
18011 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18014 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18015 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18016 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18019 cat >>confdefs.h
<<\_ACEOF
18020 #define STATFS_DEFINED_BY_SYS_VFS 1
18026 if test "$ac_cv_header_sys_statfs_h" = "yes"
18028 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18029 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18030 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18031 echo $ECHO_N "(cached) $ECHO_C" >&6
18033 cat >conftest.
$ac_ext <<_ACEOF
18036 cat confdefs.h
>>conftest.
$ac_ext
18037 cat >>conftest.
$ac_ext <<_ACEOF
18038 /* end confdefs.h. */
18040 #include <sys/types.h>
18041 #ifdef HAVE_SYS_PARAM_H
18042 # include <sys/param.h>
18044 #include <sys/statfs.h>
18050 struct statfs stfs;
18056 rm -f conftest.
$ac_objext
18057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18058 (eval $ac_compile) 2>conftest.er1
18060 grep -v '^ *+' conftest.er1
>conftest.err
18062 cat conftest.err
>&5
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); } &&
18065 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18067 (eval $ac_try) 2>&5
18069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18070 (exit $ac_status); }; } &&
18071 { ac_try
='test -s conftest.$ac_objext'
18072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18073 (eval $ac_try) 2>&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); }; }; then
18077 wine_cv_sys_statfs_has_statfs
=yes
18079 echo "$as_me: failed program was:" >&5
18080 sed 's/^/| /' conftest.
$ac_ext >&5
18082 wine_cv_sys_statfs_has_statfs
=no
18085 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18088 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18089 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18090 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18093 cat >>confdefs.h
<<\_ACEOF
18094 #define STATFS_DEFINED_BY_SYS_STATFS 1
18100 if test "$ac_cv_header_sys_mount_h" = "yes"
18102 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18103 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18104 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18105 echo $ECHO_N "(cached) $ECHO_C" >&6
18107 cat >conftest.
$ac_ext <<_ACEOF
18110 cat confdefs.h
>>conftest.
$ac_ext
18111 cat >>conftest.
$ac_ext <<_ACEOF
18112 /* end confdefs.h. */
18114 #include <sys/types.h>
18115 #ifdef HAVE_SYS_PARAM_H
18116 # include <sys/param.h>
18118 #include <sys/mount.h>
18124 struct statfs stfs;
18130 rm -f conftest.
$ac_objext
18131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18132 (eval $ac_compile) 2>conftest.er1
18134 grep -v '^ *+' conftest.er1
>conftest.err
18136 cat conftest.err
>&5
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); } &&
18139 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18141 (eval $ac_try) 2>&5
18143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18144 (exit $ac_status); }; } &&
18145 { ac_try
='test -s conftest.$ac_objext'
18146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18147 (eval $ac_try) 2>&5
18149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18150 (exit $ac_status); }; }; then
18151 wine_cv_sys_mount_has_statfs
=yes
18153 echo "$as_me: failed program was:" >&5
18154 sed 's/^/| /' conftest.
$ac_ext >&5
18156 wine_cv_sys_mount_has_statfs
=no
18159 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18162 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18163 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18164 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18167 cat >>confdefs.h
<<\_ACEOF
18168 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18175 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18176 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18177 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18178 echo $ECHO_N "(cached) $ECHO_C" >&6
18180 cat >conftest.
$ac_ext <<_ACEOF
18183 cat confdefs.h
>>conftest.
$ac_ext
18184 cat >>conftest.
$ac_ext <<_ACEOF
18185 /* end confdefs.h. */
18186 #include <sys/types.h>
18187 #ifdef HAVE_SYS_PARAM_H
18188 # include <sys/param.h>
18190 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18191 # include <sys/mount.h>
18193 # ifdef STATFS_DEFINED_BY_SYS_VFS
18194 # include <sys/vfs.h>
18196 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18197 # include <sys/statfs.h>
18205 static struct statfs ac_aggr;
18206 if (ac_aggr.f_bfree)
18212 rm -f conftest.
$ac_objext
18213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18214 (eval $ac_compile) 2>conftest.er1
18216 grep -v '^ *+' conftest.er1
>conftest.err
18218 cat conftest.err
>&5
18219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18220 (exit $ac_status); } &&
18221 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18223 (eval $ac_try) 2>&5
18225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18226 (exit $ac_status); }; } &&
18227 { ac_try
='test -s conftest.$ac_objext'
18228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18229 (eval $ac_try) 2>&5
18231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18232 (exit $ac_status); }; }; then
18233 ac_cv_member_struct_statfs_f_bfree
=yes
18235 echo "$as_me: failed program was:" >&5
18236 sed 's/^/| /' conftest.
$ac_ext >&5
18238 cat >conftest.
$ac_ext <<_ACEOF
18241 cat confdefs.h
>>conftest.
$ac_ext
18242 cat >>conftest.
$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18244 #include <sys/types.h>
18245 #ifdef HAVE_SYS_PARAM_H
18246 # include <sys/param.h>
18248 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18249 # include <sys/mount.h>
18251 # ifdef STATFS_DEFINED_BY_SYS_VFS
18252 # include <sys/vfs.h>
18254 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18255 # include <sys/statfs.h>
18263 static struct statfs ac_aggr;
18264 if (sizeof ac_aggr.f_bfree)
18270 rm -f conftest.
$ac_objext
18271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18272 (eval $ac_compile) 2>conftest.er1
18274 grep -v '^ *+' conftest.er1
>conftest.err
18276 cat conftest.err
>&5
18277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18278 (exit $ac_status); } &&
18279 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18281 (eval $ac_try) 2>&5
18283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18284 (exit $ac_status); }; } &&
18285 { ac_try
='test -s conftest.$ac_objext'
18286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18287 (eval $ac_try) 2>&5
18289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18290 (exit $ac_status); }; }; then
18291 ac_cv_member_struct_statfs_f_bfree
=yes
18293 echo "$as_me: failed program was:" >&5
18294 sed 's/^/| /' conftest.
$ac_ext >&5
18296 ac_cv_member_struct_statfs_f_bfree
=no
18298 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18300 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18302 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18303 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18304 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18306 cat >>confdefs.h
<<_ACEOF
18307 #define HAVE_STRUCT_STATFS_F_BFREE 1
18312 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18313 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18314 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18315 echo $ECHO_N "(cached) $ECHO_C" >&6
18317 cat >conftest.
$ac_ext <<_ACEOF
18320 cat confdefs.h
>>conftest.
$ac_ext
18321 cat >>conftest.
$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 #include <sys/types.h>
18324 #ifdef HAVE_SYS_PARAM_H
18325 # include <sys/param.h>
18327 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18328 # include <sys/mount.h>
18330 # ifdef STATFS_DEFINED_BY_SYS_VFS
18331 # include <sys/vfs.h>
18333 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18334 # include <sys/statfs.h>
18342 static struct statfs ac_aggr;
18343 if (ac_aggr.f_bavail)
18349 rm -f conftest.
$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18353 grep -v '^ *+' conftest.er1
>conftest.err
18355 cat conftest.err
>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try
='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_cv_member_struct_statfs_f_bavail
=yes
18372 echo "$as_me: failed program was:" >&5
18373 sed 's/^/| /' conftest.
$ac_ext >&5
18375 cat >conftest.
$ac_ext <<_ACEOF
18378 cat confdefs.h
>>conftest.
$ac_ext
18379 cat >>conftest.
$ac_ext <<_ACEOF
18380 /* end confdefs.h. */
18381 #include <sys/types.h>
18382 #ifdef HAVE_SYS_PARAM_H
18383 # include <sys/param.h>
18385 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18386 # include <sys/mount.h>
18388 # ifdef STATFS_DEFINED_BY_SYS_VFS
18389 # include <sys/vfs.h>
18391 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18392 # include <sys/statfs.h>
18400 static struct statfs ac_aggr;
18401 if (sizeof ac_aggr.f_bavail)
18407 rm -f conftest.
$ac_objext
18408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18409 (eval $ac_compile) 2>conftest.er1
18411 grep -v '^ *+' conftest.er1
>conftest.err
18413 cat conftest.err
>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); } &&
18416 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18418 (eval $ac_try) 2>&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); }; } &&
18422 { ac_try
='test -s conftest.$ac_objext'
18423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18424 (eval $ac_try) 2>&5
18426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18427 (exit $ac_status); }; }; then
18428 ac_cv_member_struct_statfs_f_bavail
=yes
18430 echo "$as_me: failed program was:" >&5
18431 sed 's/^/| /' conftest.
$ac_ext >&5
18433 ac_cv_member_struct_statfs_f_bavail
=no
18435 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18437 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18439 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18440 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18441 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18443 cat >>confdefs.h
<<_ACEOF
18444 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18449 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18450 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18451 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18452 echo $ECHO_N "(cached) $ECHO_C" >&6
18454 cat >conftest.
$ac_ext <<_ACEOF
18457 cat confdefs.h
>>conftest.
$ac_ext
18458 cat >>conftest.
$ac_ext <<_ACEOF
18459 /* end confdefs.h. */
18460 #include <sys/types.h>
18461 #ifdef HAVE_SYS_PARAM_H
18462 # include <sys/param.h>
18464 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18465 # include <sys/mount.h>
18467 # ifdef STATFS_DEFINED_BY_SYS_VFS
18468 # include <sys/vfs.h>
18470 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18471 # include <sys/statfs.h>
18479 static struct statfs ac_aggr;
18480 if (ac_aggr.f_frsize)
18486 rm -f conftest.
$ac_objext
18487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18488 (eval $ac_compile) 2>conftest.er1
18490 grep -v '^ *+' conftest.er1
>conftest.err
18492 cat conftest.err
>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); } &&
18495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18497 (eval $ac_try) 2>&5
18499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18500 (exit $ac_status); }; } &&
18501 { ac_try
='test -s conftest.$ac_objext'
18502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18503 (eval $ac_try) 2>&5
18505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18506 (exit $ac_status); }; }; then
18507 ac_cv_member_struct_statfs_f_frsize
=yes
18509 echo "$as_me: failed program was:" >&5
18510 sed 's/^/| /' conftest.
$ac_ext >&5
18512 cat >conftest.
$ac_ext <<_ACEOF
18515 cat confdefs.h
>>conftest.
$ac_ext
18516 cat >>conftest.
$ac_ext <<_ACEOF
18517 /* end confdefs.h. */
18518 #include <sys/types.h>
18519 #ifdef HAVE_SYS_PARAM_H
18520 # include <sys/param.h>
18522 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18523 # include <sys/mount.h>
18525 # ifdef STATFS_DEFINED_BY_SYS_VFS
18526 # include <sys/vfs.h>
18528 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18529 # include <sys/statfs.h>
18537 static struct statfs ac_aggr;
18538 if (sizeof ac_aggr.f_frsize)
18544 rm -f conftest.
$ac_objext
18545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18546 (eval $ac_compile) 2>conftest.er1
18548 grep -v '^ *+' conftest.er1
>conftest.err
18550 cat conftest.err
>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); } &&
18553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555 (eval $ac_try) 2>&5
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; } &&
18559 { ac_try
='test -s conftest.$ac_objext'
18560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18561 (eval $ac_try) 2>&5
18563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18564 (exit $ac_status); }; }; then
18565 ac_cv_member_struct_statfs_f_frsize
=yes
18567 echo "$as_me: failed program was:" >&5
18568 sed 's/^/| /' conftest.
$ac_ext >&5
18570 ac_cv_member_struct_statfs_f_frsize
=no
18572 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18576 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18577 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18578 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18580 cat >>confdefs.h
<<_ACEOF
18581 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18586 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18587 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18588 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18589 echo $ECHO_N "(cached) $ECHO_C" >&6
18591 cat >conftest.
$ac_ext <<_ACEOF
18594 cat confdefs.h
>>conftest.
$ac_ext
18595 cat >>conftest.
$ac_ext <<_ACEOF
18596 /* end confdefs.h. */
18597 #include <sys/types.h>
18598 #ifdef HAVE_SYS_PARAM_H
18599 # include <sys/param.h>
18601 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18602 # include <sys/mount.h>
18604 # ifdef STATFS_DEFINED_BY_SYS_VFS
18605 # include <sys/vfs.h>
18607 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18608 # include <sys/statfs.h>
18616 static struct statfs ac_aggr;
18617 if (ac_aggr.f_ffree)
18623 rm -f conftest.
$ac_objext
18624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18625 (eval $ac_compile) 2>conftest.er1
18627 grep -v '^ *+' conftest.er1
>conftest.err
18629 cat conftest.err
>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); } &&
18632 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18634 (eval $ac_try) 2>&5
18636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18637 (exit $ac_status); }; } &&
18638 { ac_try
='test -s conftest.$ac_objext'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; }; then
18644 ac_cv_member_struct_statfs_f_ffree
=yes
18646 echo "$as_me: failed program was:" >&5
18647 sed 's/^/| /' conftest.
$ac_ext >&5
18649 cat >conftest.
$ac_ext <<_ACEOF
18652 cat confdefs.h
>>conftest.
$ac_ext
18653 cat >>conftest.
$ac_ext <<_ACEOF
18654 /* end confdefs.h. */
18655 #include <sys/types.h>
18656 #ifdef HAVE_SYS_PARAM_H
18657 # include <sys/param.h>
18659 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18660 # include <sys/mount.h>
18662 # ifdef STATFS_DEFINED_BY_SYS_VFS
18663 # include <sys/vfs.h>
18665 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18666 # include <sys/statfs.h>
18674 static struct statfs ac_aggr;
18675 if (sizeof ac_aggr.f_ffree)
18681 rm -f conftest.
$ac_objext
18682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18683 (eval $ac_compile) 2>conftest.er1
18685 grep -v '^ *+' conftest.er1
>conftest.err
18687 cat conftest.err
>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); } &&
18690 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18692 (eval $ac_try) 2>&5
18694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18695 (exit $ac_status); }; } &&
18696 { ac_try
='test -s conftest.$ac_objext'
18697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18698 (eval $ac_try) 2>&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); }; }; then
18702 ac_cv_member_struct_statfs_f_ffree
=yes
18704 echo "$as_me: failed program was:" >&5
18705 sed 's/^/| /' conftest.
$ac_ext >&5
18707 ac_cv_member_struct_statfs_f_ffree
=no
18709 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18713 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18714 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18715 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18717 cat >>confdefs.h
<<_ACEOF
18718 #define HAVE_STRUCT_STATFS_F_FFREE 1
18723 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18724 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18725 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18726 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 cat >conftest.
$ac_ext <<_ACEOF
18731 cat confdefs.h
>>conftest.
$ac_ext
18732 cat >>conftest.
$ac_ext <<_ACEOF
18733 /* end confdefs.h. */
18734 #include <sys/types.h>
18735 #ifdef HAVE_SYS_PARAM_H
18736 # include <sys/param.h>
18738 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18739 # include <sys/mount.h>
18741 # ifdef STATFS_DEFINED_BY_SYS_VFS
18742 # include <sys/vfs.h>
18744 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18745 # include <sys/statfs.h>
18753 static struct statfs ac_aggr;
18754 if (ac_aggr.f_favail)
18760 rm -f conftest.
$ac_objext
18761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18762 (eval $ac_compile) 2>conftest.er1
18764 grep -v '^ *+' conftest.er1
>conftest.err
18766 cat conftest.err
>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); } &&
18769 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; } &&
18775 { ac_try
='test -s conftest.$ac_objext'
18776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18777 (eval $ac_try) 2>&5
18779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18780 (exit $ac_status); }; }; then
18781 ac_cv_member_struct_statfs_f_favail
=yes
18783 echo "$as_me: failed program was:" >&5
18784 sed 's/^/| /' conftest.
$ac_ext >&5
18786 cat >conftest.
$ac_ext <<_ACEOF
18789 cat confdefs.h
>>conftest.
$ac_ext
18790 cat >>conftest.
$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 #include <sys/types.h>
18793 #ifdef HAVE_SYS_PARAM_H
18794 # include <sys/param.h>
18796 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18797 # include <sys/mount.h>
18799 # ifdef STATFS_DEFINED_BY_SYS_VFS
18800 # include <sys/vfs.h>
18802 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18803 # include <sys/statfs.h>
18811 static struct statfs ac_aggr;
18812 if (sizeof ac_aggr.f_favail)
18818 rm -f conftest.
$ac_objext
18819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18820 (eval $ac_compile) 2>conftest.er1
18822 grep -v '^ *+' conftest.er1
>conftest.err
18824 cat conftest.err
>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); } &&
18827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18829 (eval $ac_try) 2>&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); }; } &&
18833 { ac_try
='test -s conftest.$ac_objext'
18834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18835 (eval $ac_try) 2>&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); }; }; then
18839 ac_cv_member_struct_statfs_f_favail
=yes
18841 echo "$as_me: failed program was:" >&5
18842 sed 's/^/| /' conftest.
$ac_ext >&5
18844 ac_cv_member_struct_statfs_f_favail
=no
18846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18848 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18850 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18851 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18852 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18854 cat >>confdefs.h
<<_ACEOF
18855 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18860 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18861 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18862 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18863 echo $ECHO_N "(cached) $ECHO_C" >&6
18865 cat >conftest.
$ac_ext <<_ACEOF
18868 cat confdefs.h
>>conftest.
$ac_ext
18869 cat >>conftest.
$ac_ext <<_ACEOF
18870 /* end confdefs.h. */
18871 #include <sys/types.h>
18872 #ifdef HAVE_SYS_PARAM_H
18873 # include <sys/param.h>
18875 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18876 # include <sys/mount.h>
18878 # ifdef STATFS_DEFINED_BY_SYS_VFS
18879 # include <sys/vfs.h>
18881 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18882 # include <sys/statfs.h>
18890 static struct statfs ac_aggr;
18891 if (ac_aggr.f_namelen)
18897 rm -f conftest.
$ac_objext
18898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18899 (eval $ac_compile) 2>conftest.er1
18901 grep -v '^ *+' conftest.er1
>conftest.err
18903 cat conftest.err
>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); } &&
18906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; } &&
18912 { ac_try
='test -s conftest.$ac_objext'
18913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18914 (eval $ac_try) 2>&5
18916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18917 (exit $ac_status); }; }; then
18918 ac_cv_member_struct_statfs_f_namelen
=yes
18920 echo "$as_me: failed program was:" >&5
18921 sed 's/^/| /' conftest.
$ac_ext >&5
18923 cat >conftest.
$ac_ext <<_ACEOF
18926 cat confdefs.h
>>conftest.
$ac_ext
18927 cat >>conftest.
$ac_ext <<_ACEOF
18928 /* end confdefs.h. */
18929 #include <sys/types.h>
18930 #ifdef HAVE_SYS_PARAM_H
18931 # include <sys/param.h>
18933 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18934 # include <sys/mount.h>
18936 # ifdef STATFS_DEFINED_BY_SYS_VFS
18937 # include <sys/vfs.h>
18939 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18940 # include <sys/statfs.h>
18948 static struct statfs ac_aggr;
18949 if (sizeof ac_aggr.f_namelen)
18955 rm -f conftest.
$ac_objext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18957 (eval $ac_compile) 2>conftest.er1
18959 grep -v '^ *+' conftest.er1
>conftest.err
18961 cat conftest.err
>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; } &&
18970 { ac_try
='test -s conftest.$ac_objext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18976 ac_cv_member_struct_statfs_f_namelen
=yes
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.
$ac_ext >&5
18981 ac_cv_member_struct_statfs_f_namelen
=no
18983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18985 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18987 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18988 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18989 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18991 cat >>confdefs.h
<<_ACEOF
18992 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18999 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19000 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19001 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19004 cat >conftest.
$ac_ext <<_ACEOF
19007 cat confdefs.h
>>conftest.
$ac_ext
19008 cat >>conftest.
$ac_ext <<_ACEOF
19009 /* end confdefs.h. */
19010 #ifdef HAVE_SYS_STATVFS_H
19011 #include <sys/statvfs.h>
19017 static struct statvfs ac_aggr;
19018 if (ac_aggr.f_blocks)
19024 rm -f conftest.
$ac_objext
19025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19026 (eval $ac_compile) 2>conftest.er1
19028 grep -v '^ *+' conftest.er1
>conftest.err
19030 cat conftest.err
>&5
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); } &&
19033 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19035 (eval $ac_try) 2>&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); }; } &&
19039 { ac_try
='test -s conftest.$ac_objext'
19040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19041 (eval $ac_try) 2>&5
19043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19044 (exit $ac_status); }; }; then
19045 ac_cv_member_struct_statvfs_f_blocks
=yes
19047 echo "$as_me: failed program was:" >&5
19048 sed 's/^/| /' conftest.
$ac_ext >&5
19050 cat >conftest.
$ac_ext <<_ACEOF
19053 cat confdefs.h
>>conftest.
$ac_ext
19054 cat >>conftest.
$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19056 #ifdef HAVE_SYS_STATVFS_H
19057 #include <sys/statvfs.h>
19063 static struct statvfs ac_aggr;
19064 if (sizeof ac_aggr.f_blocks)
19070 rm -f conftest.
$ac_objext
19071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19072 (eval $ac_compile) 2>conftest.er1
19074 grep -v '^ *+' conftest.er1
>conftest.err
19076 cat conftest.err
>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } &&
19079 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; } &&
19085 { ac_try
='test -s conftest.$ac_objext'
19086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19087 (eval $ac_try) 2>&5
19089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19090 (exit $ac_status); }; }; then
19091 ac_cv_member_struct_statvfs_f_blocks
=yes
19093 echo "$as_me: failed program was:" >&5
19094 sed 's/^/| /' conftest.
$ac_ext >&5
19096 ac_cv_member_struct_statvfs_f_blocks
=no
19098 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19100 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19102 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19103 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19104 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19106 cat >>confdefs.h
<<_ACEOF
19107 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19114 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19115 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19116 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19117 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 cat >conftest.
$ac_ext <<_ACEOF
19122 cat confdefs.h
>>conftest.
$ac_ext
19123 cat >>conftest.
$ac_ext <<_ACEOF
19124 /* end confdefs.h. */
19125 #include <sys/types.h>
19126 #ifdef HAVE_SYS_SOCKET_H
19127 # include <sys/socket.h>
19129 #ifdef HAVE_SYS_UN_H
19130 # include <sys/un.h>
19136 static struct msghdr ac_aggr;
19137 if (ac_aggr.msg_accrights)
19143 rm -f conftest.
$ac_objext
19144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19145 (eval $ac_compile) 2>conftest.er1
19147 grep -v '^ *+' conftest.er1
>conftest.err
19149 cat conftest.err
>&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } &&
19152 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try
='test -s conftest.$ac_objext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19164 ac_cv_member_struct_msghdr_msg_accrights
=yes
19166 echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.
$ac_ext >&5
19169 cat >conftest.
$ac_ext <<_ACEOF
19172 cat confdefs.h
>>conftest.
$ac_ext
19173 cat >>conftest.
$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 #include <sys/types.h>
19176 #ifdef HAVE_SYS_SOCKET_H
19177 # include <sys/socket.h>
19179 #ifdef HAVE_SYS_UN_H
19180 # include <sys/un.h>
19186 static struct msghdr ac_aggr;
19187 if (sizeof ac_aggr.msg_accrights)
19193 rm -f conftest.
$ac_objext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19195 (eval $ac_compile) 2>conftest.er1
19197 grep -v '^ *+' conftest.er1
>conftest.err
19199 cat conftest.err
>&5
19200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19201 (exit $ac_status); } &&
19202 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19208 { ac_try
='test -s conftest.$ac_objext'
19209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19210 (eval $ac_try) 2>&5
19212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19213 (exit $ac_status); }; }; then
19214 ac_cv_member_struct_msghdr_msg_accrights
=yes
19216 echo "$as_me: failed program was:" >&5
19217 sed 's/^/| /' conftest.
$ac_ext >&5
19219 ac_cv_member_struct_msghdr_msg_accrights
=no
19221 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19225 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19226 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19227 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19229 cat >>confdefs.h
<<_ACEOF
19230 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19235 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19236 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19237 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19238 echo $ECHO_N "(cached) $ECHO_C" >&6
19240 cat >conftest.
$ac_ext <<_ACEOF
19243 cat confdefs.h
>>conftest.
$ac_ext
19244 cat >>conftest.
$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 #include <sys/types.h>
19247 #ifdef HAVE_SYS_SOCKET_H
19248 # include <sys/socket.h>
19250 #ifdef HAVE_SYS_UN_H
19251 # include <sys/un.h>
19257 static struct sockaddr ac_aggr;
19258 if (ac_aggr.sa_len)
19264 rm -f conftest.
$ac_objext
19265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19266 (eval $ac_compile) 2>conftest.er1
19268 grep -v '^ *+' conftest.er1
>conftest.err
19270 cat conftest.err
>&5
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); } &&
19273 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; } &&
19279 { ac_try
='test -s conftest.$ac_objext'
19280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19281 (eval $ac_try) 2>&5
19283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19284 (exit $ac_status); }; }; then
19285 ac_cv_member_struct_sockaddr_sa_len
=yes
19287 echo "$as_me: failed program was:" >&5
19288 sed 's/^/| /' conftest.
$ac_ext >&5
19290 cat >conftest.
$ac_ext <<_ACEOF
19293 cat confdefs.h
>>conftest.
$ac_ext
19294 cat >>conftest.
$ac_ext <<_ACEOF
19295 /* end confdefs.h. */
19296 #include <sys/types.h>
19297 #ifdef HAVE_SYS_SOCKET_H
19298 # include <sys/socket.h>
19300 #ifdef HAVE_SYS_UN_H
19301 # include <sys/un.h>
19307 static struct sockaddr ac_aggr;
19308 if (sizeof ac_aggr.sa_len)
19314 rm -f conftest.
$ac_objext
19315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19316 (eval $ac_compile) 2>conftest.er1
19318 grep -v '^ *+' conftest.er1
>conftest.err
19320 cat conftest.err
>&5
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); } &&
19323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19329 { ac_try
='test -s conftest.$ac_objext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 ac_cv_member_struct_sockaddr_sa_len
=yes
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.
$ac_ext >&5
19340 ac_cv_member_struct_sockaddr_sa_len
=no
19342 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19344 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19346 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19347 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19348 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19350 cat >>confdefs.h
<<_ACEOF
19351 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19356 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19357 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19358 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19361 cat >conftest.
$ac_ext <<_ACEOF
19364 cat confdefs.h
>>conftest.
$ac_ext
19365 cat >>conftest.
$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19367 #include <sys/types.h>
19368 #ifdef HAVE_SYS_SOCKET_H
19369 # include <sys/socket.h>
19371 #ifdef HAVE_SYS_UN_H
19372 # include <sys/un.h>
19378 static struct sockaddr_un ac_aggr;
19379 if (ac_aggr.sun_len)
19385 rm -f conftest.
$ac_objext
19386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19387 (eval $ac_compile) 2>conftest.er1
19389 grep -v '^ *+' conftest.er1
>conftest.err
19391 cat conftest.err
>&5
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); } &&
19394 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19396 (eval $ac_try) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); }; } &&
19400 { ac_try
='test -s conftest.$ac_objext'
19401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19402 (eval $ac_try) 2>&5
19404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19405 (exit $ac_status); }; }; then
19406 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.
$ac_ext >&5
19411 cat >conftest.
$ac_ext <<_ACEOF
19414 cat confdefs.h
>>conftest.
$ac_ext
19415 cat >>conftest.
$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 #include <sys/types.h>
19418 #ifdef HAVE_SYS_SOCKET_H
19419 # include <sys/socket.h>
19421 #ifdef HAVE_SYS_UN_H
19422 # include <sys/un.h>
19428 static struct sockaddr_un ac_aggr;
19429 if (sizeof ac_aggr.sun_len)
19435 rm -f conftest.
$ac_objext
19436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19437 (eval $ac_compile) 2>conftest.er1
19439 grep -v '^ *+' conftest.er1
>conftest.err
19441 cat conftest.err
>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } &&
19444 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
19450 { ac_try
='test -s conftest.$ac_objext'
19451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19452 (eval $ac_try) 2>&5
19454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19455 (exit $ac_status); }; }; then
19456 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19458 echo "$as_me: failed program was:" >&5
19459 sed 's/^/| /' conftest.
$ac_ext >&5
19461 ac_cv_member_struct_sockaddr_un_sun_len
=no
19463 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19467 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19468 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19469 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19471 cat >>confdefs.h
<<_ACEOF
19472 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19479 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19480 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19481 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19482 echo $ECHO_N "(cached) $ECHO_C" >&6
19484 cat >conftest.
$ac_ext <<_ACEOF
19487 cat confdefs.h
>>conftest.
$ac_ext
19488 cat >>conftest.
$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <signal.h>
19495 static siginfo_t ac_aggr;
19502 rm -f conftest.
$ac_objext
19503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19504 (eval $ac_compile) 2>conftest.er1
19506 grep -v '^ *+' conftest.er1
>conftest.err
19508 cat conftest.err
>&5
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); } &&
19511 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; } &&
19517 { ac_try
='test -s conftest.$ac_objext'
19518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19519 (eval $ac_try) 2>&5
19521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19522 (exit $ac_status); }; }; then
19523 ac_cv_member_siginfo_t_si_fd
=yes
19525 echo "$as_me: failed program was:" >&5
19526 sed 's/^/| /' conftest.
$ac_ext >&5
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;
19540 if (sizeof ac_aggr.si_fd)
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 ac_cv_member_siginfo_t_si_fd
=no
19574 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19576 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19579 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19580 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19582 cat >>confdefs.h
<<_ACEOF
19583 #define HAVE_SIGINFO_T_SI_FD 1
19590 echo "$as_me:$LINENO: checking for struct option.name" >&5
19591 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19592 if test "${ac_cv_member_struct_option_name+set}" = set; then
19593 echo $ECHO_N "(cached) $ECHO_C" >&6
19595 cat >conftest.
$ac_ext <<_ACEOF
19598 cat confdefs.h
>>conftest.
$ac_ext
19599 cat >>conftest.
$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 #ifdef HAVE_GETOPT_H
19602 #include <getopt.h>
19608 static struct option ac_aggr;
19615 rm -f conftest.
$ac_objext
19616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19617 (eval $ac_compile) 2>conftest.er1
19619 grep -v '^ *+' conftest.er1
>conftest.err
19621 cat conftest.err
>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); } &&
19624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19626 (eval $ac_try) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); }; } &&
19630 { ac_try
='test -s conftest.$ac_objext'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; }; then
19636 ac_cv_member_struct_option_name
=yes
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.
$ac_ext >&5
19641 cat >conftest.
$ac_ext <<_ACEOF
19644 cat confdefs.h
>>conftest.
$ac_ext
19645 cat >>conftest.
$ac_ext <<_ACEOF
19646 /* end confdefs.h. */
19647 #ifdef HAVE_GETOPT_H
19648 #include <getopt.h>
19654 static struct option ac_aggr;
19655 if (sizeof ac_aggr.name)
19661 rm -f conftest.
$ac_objext
19662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19663 (eval $ac_compile) 2>conftest.er1
19665 grep -v '^ *+' conftest.er1
>conftest.err
19667 cat conftest.err
>&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } &&
19670 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19672 (eval $ac_try) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); }; } &&
19676 { ac_try
='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_cv_member_struct_option_name
=yes
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.
$ac_ext >&5
19687 ac_cv_member_struct_option_name
=no
19689 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19691 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19693 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19694 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19695 if test $ac_cv_member_struct_option_name = yes; then
19697 cat >>confdefs.h
<<_ACEOF
19698 #define HAVE_STRUCT_OPTION_NAME 1
19705 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19706 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19707 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19708 echo $ECHO_N "(cached) $ECHO_C" >&6
19710 cat >conftest.
$ac_ext <<_ACEOF
19713 cat confdefs.h
>>conftest.
$ac_ext
19714 cat >>conftest.
$ac_ext <<_ACEOF
19715 /* end confdefs.h. */
19716 $ac_includes_default
19720 static struct stat ac_aggr;
19721 if (ac_aggr.st_blocks)
19727 rm -f conftest.
$ac_objext
19728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19729 (eval $ac_compile) 2>conftest.er1
19731 grep -v '^ *+' conftest.er1
>conftest.err
19733 cat conftest.err
>&5
19734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19735 (exit $ac_status); } &&
19736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19738 (eval $ac_try) 2>&5
19740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19741 (exit $ac_status); }; } &&
19742 { ac_try
='test -s conftest.$ac_objext'
19743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19744 (eval $ac_try) 2>&5
19746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19747 (exit $ac_status); }; }; then
19748 ac_cv_member_struct_stat_st_blocks
=yes
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.
$ac_ext >&5
19753 cat >conftest.
$ac_ext <<_ACEOF
19756 cat confdefs.h
>>conftest.
$ac_ext
19757 cat >>conftest.
$ac_ext <<_ACEOF
19758 /* end confdefs.h. */
19759 $ac_includes_default
19763 static struct stat ac_aggr;
19764 if (sizeof ac_aggr.st_blocks)
19770 rm -f conftest.
$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>conftest.er1
19774 grep -v '^ *+' conftest.er1
>conftest.err
19776 cat conftest.err
>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; } &&
19785 { ac_try
='test -s conftest.$ac_objext'
19786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19787 (eval $ac_try) 2>&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); }; }; then
19791 ac_cv_member_struct_stat_st_blocks
=yes
19793 echo "$as_me: failed program was:" >&5
19794 sed 's/^/| /' conftest.
$ac_ext >&5
19796 ac_cv_member_struct_stat_st_blocks
=no
19798 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19800 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19802 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19803 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19804 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19806 cat >>confdefs.h
<<_ACEOF
19807 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19816 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19817 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19818 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19821 cat >conftest.
$ac_ext <<_ACEOF
19824 cat confdefs.h
>>conftest.
$ac_ext
19825 cat >>conftest.
$ac_ext <<_ACEOF
19826 /* end confdefs.h. */
19831 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19832 $EGREP "yes" >/dev
/null
2>&1; then
19833 ac_cv_cpp_def___i386__
=yes
19835 ac_cv_cpp_def___i386__
=no
19840 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19841 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19842 if test $ac_cv_cpp_def___i386__ = yes; then
19843 CFLAGS
="$CFLAGS -D__i386__"
19844 LINTFLAGS
="$LINTFLAGS -D__i386__"
19847 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19848 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19849 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19850 echo $ECHO_N "(cached) $ECHO_C" >&6
19852 cat >conftest.
$ac_ext <<_ACEOF
19855 cat confdefs.h
>>conftest.
$ac_ext
19856 cat >>conftest.
$ac_ext <<_ACEOF
19857 /* end confdefs.h. */
19862 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19863 $EGREP "yes" >/dev
/null
2>&1; then
19864 ac_cv_cpp_def___ALPHA__
=yes
19866 ac_cv_cpp_def___ALPHA__
=no
19871 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19872 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19873 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19874 CFLAGS
="$CFLAGS -D__ALPHA__"
19875 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
19878 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19879 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19880 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19881 echo $ECHO_N "(cached) $ECHO_C" >&6
19883 cat >conftest.
$ac_ext <<_ACEOF
19886 cat confdefs.h
>>conftest.
$ac_ext
19887 cat >>conftest.
$ac_ext <<_ACEOF
19888 /* end confdefs.h. */
19893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19894 $EGREP "yes" >/dev
/null
2>&1; then
19895 ac_cv_cpp_def___sparc__
=yes
19897 ac_cv_cpp_def___sparc__
=no
19902 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
19903 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
19904 if test $ac_cv_cpp_def___sparc__ = yes; then
19905 CFLAGS
="$CFLAGS -D__sparc__"
19906 LINTFLAGS
="$LINTFLAGS -D__sparc__"
19909 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
19910 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
19911 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
19912 echo $ECHO_N "(cached) $ECHO_C" >&6
19914 cat >conftest.
$ac_ext <<_ACEOF
19917 cat confdefs.h
>>conftest.
$ac_ext
19918 cat >>conftest.
$ac_ext <<_ACEOF
19919 /* end confdefs.h. */
19920 #ifndef __powerpc__
19924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19925 $EGREP "yes" >/dev
/null
2>&1; then
19926 ac_cv_cpp_def___powerpc__
=yes
19928 ac_cv_cpp_def___powerpc__
=no
19933 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
19934 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
19935 if test $ac_cv_cpp_def___powerpc__ = yes; then
19936 CFLAGS
="$CFLAGS -D__powerpc__"
19937 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
19942 case $host_vendor in
19943 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
19944 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
19945 if test "${ac_cv_cpp_def___sun__+set}" = set; then
19946 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 cat >conftest.
$ac_ext <<_ACEOF
19951 cat confdefs.h
>>conftest.
$ac_ext
19952 cat >>conftest.
$ac_ext <<_ACEOF
19953 /* end confdefs.h. */
19958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19959 $EGREP "yes" >/dev
/null
2>&1; then
19960 ac_cv_cpp_def___sun__
=yes
19962 ac_cv_cpp_def___sun__
=no
19967 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
19968 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
19969 if test $ac_cv_cpp_def___sun__ = yes; then
19970 CFLAGS
="$CFLAGS -D__sun__"
19971 LINTFLAGS
="$LINTFLAGS -D__sun__"
19980 ac_config_commands
="$ac_config_commands controls"
19982 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
19984 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
19986 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
19988 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
19990 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
19992 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
19994 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
19996 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
19998 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20000 ac_config_commands
="$ac_config_commands dlls/user/dde"
20002 ac_config_commands
="$ac_config_commands dlls/user/resources"
20004 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20006 ac_config_commands
="$ac_config_commands files"
20008 ac_config_commands
="$ac_config_commands include/wine"
20010 ac_config_commands
="$ac_config_commands misc"
20012 ac_config_commands
="$ac_config_commands objects"
20014 ac_config_commands
="$ac_config_commands programs/regedit/tests"
20016 ac_config_commands
="$ac_config_commands windows"
20019 MAKE_RULES
=Make.rules
20022 MAKE_DLL_RULES
=dlls
/Makedll.rules
20025 MAKE_TEST_RULES
=dlls
/Maketest.rules
20028 MAKE_LIB_RULES
=libs
/Makelib.rules
20031 MAKE_PROG_RULES
=programs
/Makeprog.rules
20034 ac_config_files
="$ac_config_files Make.rules dlls/Makedll.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/amstream/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3dim/Makefile dlls/d3dx8/Makefile dlls/dbghelp/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/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msdmo/Makefile dlls/mshtml/Makefile dlls/msi/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/odbc32/Makefile dlls/ole32/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/Makefile dlls/opengl32/Makefile dlls/psapi/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/secur32/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/sti/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/winmm/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/midimap/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wow32/Makefile dlls/wsock32/Makefile dlls/x11drv/Makefile documentation/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20037 cat >confcache
<<\_ACEOF
20038 # This file is a shell script that caches the results of configure
20039 # tests run on this system so they can be shared between configure
20040 # scripts and configure runs, see configure's option --config-cache.
20041 # It is not useful on other systems. If it contains results you don't
20042 # want to keep, you may remove or edit it.
20044 # config.status only pays attention to the cache file if you give it
20045 # the --recheck option to rerun configure.
20047 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20048 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20049 # following values.
20053 # The following way of writing the cache mishandles newlines in values,
20054 # but we know of no workaround that is simple, portable, and efficient.
20055 # So, don't put newlines in cache variables' values.
20056 # Ultrix sh set writes to stderr and can't be redirected directly,
20057 # and sets the high bit in the cache file unless we assign to the vars.
20060 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20062 # `set' does not quote correctly, so add quotes (double-quote
20063 # substitution turns \\\\ into \\, and sed turns \\ into \).
20066 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20069 # `set' quotes correctly as required by POSIX, so do not add quotes.
20071 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20078 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20080 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20082 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20083 if test -w $cache_file; then
20084 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20085 cat confcache
>$cache_file
20087 echo "not updating unwritable cache $cache_file"
20092 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20093 # Let make expand exec_prefix.
20094 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20096 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20097 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20098 # trailing colons and then remove the whole line if VPATH becomes empty
20099 # (actually we leave an empty line to preserve line numbers).
20100 if test "x$srcdir" = x.
; then
20101 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20102 s/:*\$(srcdir):*/:/;
20103 s/:*\${srcdir}:*/:/;
20105 s/^\([^=]*=[ ]*\):*/\1/;
20111 DEFS
=-DHAVE_CONFIG_H
20115 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20116 # 1. Remove the extension, and $U if already installed.
20117 ac_i
=`echo "$ac_i" |
20118 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20120 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20121 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20123 LIBOBJS
=$ac_libobjs
20125 LTLIBOBJS
=$ac_ltlibobjs
20129 : ${CONFIG_STATUS=./config.status}
20130 ac_clean_files_save
=$ac_clean_files
20131 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20132 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20133 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20134 cat >$CONFIG_STATUS <<_ACEOF
20136 # Generated by $as_me.
20137 # Run this file to recreate the current configuration.
20138 # Compiler output produced by configure, useful for debugging
20139 # configure, is in config.log if it exists.
20142 ac_cs_recheck=false
20144 SHELL=\${CONFIG_SHELL-$SHELL}
20147 cat >>$CONFIG_STATUS <<\_ACEOF
20148 ## --------------------- ##
20149 ## M4sh Initialization. ##
20150 ## --------------------- ##
20152 # Be Bourne compatible
20153 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20156 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20157 # is contrary to our usage. Disable this feature.
20158 alias -g '${1+"$@"}'='"$@"'
20159 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20162 DUALCASE
=1; export DUALCASE
# for MKS sh
20164 # Support unset when possible.
20165 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20172 # Work around bugs in pre-3.0 UWIN ksh.
20173 $as_unset ENV MAIL MAILPATH
20180 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20181 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20182 LC_TELEPHONE LC_TIME
20184 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20185 eval $as_var=C
; export $as_var
20191 # Required to use basename.
20192 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20198 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20199 as_basename
=basename
20205 # Name of the executable.
20206 as_me
=`$as_basename "$0" ||
20207 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20208 X"$0" : 'X\(//\)$' \| \
20209 X"$0" : 'X\(/\)$' \| \
20210 . : '\(.\)' 2>/dev/null ||
20212 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20213 /^X\/\(\/\/\)$/{ s//\1/; q; }
20214 /^X\/\(\/\).*/{ s//\1/; q; }
20218 # PATH needs CR, and LINENO needs CR and PATH.
20219 # Avoid depending upon Character Ranges.
20220 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20221 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20222 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20223 as_cr_digits
='0123456789'
20224 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20226 # The user is always right.
20227 if test "${PATH_SEPARATOR+set}" != set; then
20228 echo "#! /bin/sh" >conf$$.sh
20229 echo "exit 0" >>conf$$.sh
20231 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20240 as_lineno_1
=$LINENO
20241 as_lineno_2
=$LINENO
20242 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20243 test "x$as_lineno_1" != "x$as_lineno_2" &&
20244 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20245 # Find who we are. Look in the path if we contain no path at all
20248 *[\\/]* ) as_myself
=$0 ;;
20249 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20250 for as_dir
in $PATH
20253 test -z "$as_dir" && as_dir
=.
20254 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20259 # We did not find ourselves, most probably we were run as `sh COMMAND'
20260 # in which case we are not to be found in the path.
20261 if test "x$as_myself" = x
; then
20264 if test ! -f "$as_myself"; then
20265 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20266 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20267 { (exit 1); exit 1; }; }
20269 case $CONFIG_SHELL in
20271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20272 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20275 test -z "$as_dir" && as_dir
=.
20276 for as_base
in sh bash ksh sh5
; do
20279 if ("$as_dir/$as_base" -c '
20280 as_lineno_1=$LINENO
20281 as_lineno_2=$LINENO
20282 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20283 test "x$as_lineno_1" != "x$as_lineno_2" &&
20284 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20285 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20286 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20287 CONFIG_SHELL
=$as_dir/$as_base
20288 export CONFIG_SHELL
20289 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20297 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20298 # uniformly replaced by the line number. The first 'sed' inserts a
20299 # line-number line before each line; the second 'sed' does the real
20300 # work. The second script uses 'N' to pair each line-number line
20301 # with the numbered line, and appends trailing '-' during
20302 # substitution so that $LINENO is not a special case at line end.
20303 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20304 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20305 sed '=' <$as_myself |
20310 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20313 s,^['$as_cr_digits']*\n,,
20314 ' >$as_me.lineno
&&
20315 chmod +x
$as_me.lineno ||
20316 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20317 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20318 { (exit 1); exit 1; }; }
20320 # Don't try to exec as it changes $[0], causing all sort of problems
20321 # (the dirname of $[0] is not the place where we might find the
20322 # original and so on. Autoconf is especially sensible to this).
20324 # Exit status is that of the last command.
20329 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20330 *c
*,-n*) ECHO_N
= ECHO_C
='
20332 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20333 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20336 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20342 rm -f conf$$ conf$$.exe conf$$.
file
20344 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20345 # We could just check for DJGPP; but this test a) works b) is more generic
20346 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20347 if test -f conf$$.exe
; then
20348 # Don't use ln at all; we don't have any links
20353 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20358 rm -f conf$$ conf$$.exe conf$$.
file
20360 if mkdir
-p .
2>/dev
/null
; then
20363 test -d .
/-p && rmdir .
/-p
20367 as_executable_p
="test -f"
20369 # Sed expression to map a string onto a valid CPP name.
20370 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20372 # Sed expression to map a string onto a valid variable name.
20373 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20377 # We need space, tab and new line, in precisely that order.
20387 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20388 # report actual input values of CONFIG_FILES etc. instead of their
20389 # values after options handling. Logging --version etc. is OK.
20393 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20394 ## Running $as_me. ##
20399 This file was extended by Wine $as_me 20040408, which was
20400 generated by GNU Autoconf 2.59. Invocation command line was
20402 CONFIG_FILES = $CONFIG_FILES
20403 CONFIG_HEADERS = $CONFIG_HEADERS
20404 CONFIG_LINKS = $CONFIG_LINKS
20405 CONFIG_COMMANDS = $CONFIG_COMMANDS
20409 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20413 # Files that config.status was made for.
20414 if test -n "$ac_config_files"; then
20415 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20418 if test -n "$ac_config_headers"; then
20419 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20422 if test -n "$ac_config_links"; then
20423 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20426 if test -n "$ac_config_commands"; then
20427 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20430 cat >>$CONFIG_STATUS <<\_ACEOF
20433 \`$as_me' instantiates files from templates according to the
20434 current configuration.
20436 Usage: $0 [OPTIONS] [FILE]...
20438 -h, --help print this help, then exit
20439 -V, --version print version number, then exit
20440 -q, --quiet do not print progress messages
20441 -d, --debug don't remove temporary files
20442 --recheck update $as_me by reconfiguring in the same conditions
20443 --file=FILE[:TEMPLATE]
20444 instantiate the configuration file FILE
20445 --header=FILE[:TEMPLATE]
20446 instantiate the configuration header FILE
20448 Configuration files:
20451 Configuration headers:
20454 Configuration commands:
20457 Report bugs to <bug-autoconf@gnu.org>."
20460 cat >>$CONFIG_STATUS <<_ACEOF
20462 Wine config.status 20040408
20463 configured by $0, generated by GNU Autoconf 2.59,
20464 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20466 Copyright (C) 2003 Free Software Foundation, Inc.
20467 This config.status script is free software; the Free Software Foundation
20468 gives unlimited permission to copy, distribute and modify it."
20473 cat >>$CONFIG_STATUS <<\_ACEOF
20474 # If no file are specified by the user, then we need to provide default
20475 # value. By we need to know if files were specified by the user.
20481 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20482 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20490 *) # This is not an option, so the user has probably given explicit
20493 ac_need_defaults
=false
;;
20497 # Handling of the options.
20499 cat >>$CONFIG_STATUS <<\_ACEOF
20500 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20502 --version |
--vers* |
-V )
20503 echo "$ac_cs_version"; exit 0 ;;
20505 # Conflict between --help and --header
20506 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20507 Try \`$0 --help' for more information." >&5
20508 echo "$as_me: error: ambiguous option: $1
20509 Try \`$0 --help' for more information." >&2;}
20510 { (exit 1); exit 1; }; };;
20511 --help |
--hel |
-h )
20512 echo "$ac_cs_usage"; exit 0 ;;
20513 --debug |
--d* |
-d )
20515 --file |
--fil |
--fi |
--f )
20517 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20518 ac_need_defaults
=false
;;
20519 --header |
--heade |
--head |
--hea )
20521 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20522 ac_need_defaults
=false
;;
20523 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20524 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20527 # This is an error.
20528 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20529 Try \`$0 --help' for more information." >&5
20530 echo "$as_me: error: unrecognized option: $1
20531 Try \`$0 --help' for more information." >&2;}
20532 { (exit 1); exit 1; }; } ;;
20534 *) ac_config_targets
="$ac_config_targets $1" ;;
20540 ac_configure_extra_args
=
20542 if $ac_cs_silent; then
20544 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20548 cat >>$CONFIG_STATUS <<_ACEOF
20549 if \$ac_cs_recheck; then
20550 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20551 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20560 cat >>$CONFIG_STATUS <<\_ACEOF
20561 for ac_config_target
in $ac_config_targets
20563 case "$ac_config_target" in
20564 # Handling of arguments.
20565 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20566 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20567 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20568 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20569 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20570 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20571 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20572 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20573 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20574 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20575 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20576 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20577 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20578 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20579 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20580 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20581 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20582 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20583 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20584 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20585 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20586 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20587 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20588 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20589 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20590 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20591 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20592 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20593 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20594 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20595 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20596 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20597 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20598 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20599 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20600 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20601 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20602 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20603 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20604 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20605 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20606 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20607 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20608 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20609 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20610 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20611 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20612 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20613 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20614 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20615 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20616 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20617 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20618 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20619 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20620 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20621 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20622 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20623 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20624 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20625 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20626 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20627 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20628 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20629 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20630 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20631 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20632 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20633 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20634 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20635 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20636 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20637 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20638 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20639 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20640 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20641 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20642 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20643 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20644 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20645 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20646 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20647 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20648 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20649 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20650 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20651 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20652 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20653 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20654 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20655 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20656 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20657 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20658 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20659 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20660 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20661 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20662 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20663 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20664 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20665 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20666 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20667 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20668 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20669 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20670 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20671 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20672 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20673 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20674 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20675 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20676 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20677 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20678 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20679 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20680 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20681 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20682 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20683 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20684 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20685 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20686 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20687 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20688 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20689 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20690 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20691 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20692 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20693 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20694 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20695 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20696 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20697 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20698 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20699 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20700 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20701 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20702 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20703 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20704 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20705 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20706 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20707 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20708 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20709 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20710 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20711 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20712 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20713 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20714 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20715 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20716 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20717 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20718 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20719 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20720 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20721 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20722 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20723 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20724 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20725 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20726 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20727 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20728 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20729 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20730 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20731 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20732 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20733 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20734 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20735 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20736 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20737 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20738 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20739 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20740 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20741 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20742 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20743 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20744 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20745 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20746 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20747 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20748 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20749 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20750 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20751 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20752 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20753 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20754 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20755 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20756 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20757 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20758 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20759 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20760 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20761 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20762 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20763 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20764 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20765 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20766 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20767 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20768 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20769 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20770 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20771 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20772 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20773 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20774 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20775 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20776 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20777 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20778 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20779 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20780 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20781 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20782 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20783 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20784 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20785 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20786 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20787 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20788 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20789 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20790 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20791 "controls" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS controls" ;;
20792 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20793 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20794 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20795 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20796 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20797 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20798 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20799 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20800 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20801 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20802 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20803 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20804 "files" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS files" ;;
20805 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20806 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20807 "objects" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS objects" ;;
20808 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20809 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20810 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20811 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20812 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20813 { (exit 1); exit 1; }; };;
20817 # If the user did not use the arguments to specify the items to instantiate,
20818 # then the envvar interface is used. Set only those that are not.
20819 # We use the long form for the default assignment because of an extremely
20820 # bizarre bug on SunOS 4.1.3.
20821 if $ac_need_defaults; then
20822 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20823 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20824 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20827 # Have a temporary directory for convenience. Make it in the build tree
20828 # simply because there is no reason to put it here, and in addition,
20829 # creating and moving files from /tmp can sometimes cause problems.
20830 # Create a temporary directory, and hook for its removal unless debugging.
20833 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20834 trap '{ (exit 1); exit 1; }' 1 2 13 15
20837 # Create a (secure) tmp directory for tmp files.
20840 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20841 test -n "$tmp" && test -d "$tmp"
20844 tmp
=.
/confstat$$
-$RANDOM
20845 (umask 077 && mkdir
$tmp)
20848 echo "$me: cannot create a temporary directory in ." >&2
20849 { (exit 1); exit 1; }
20854 cat >>$CONFIG_STATUS <<_ACEOF
20857 # CONFIG_FILES section.
20860 # No need to generate the scripts if there are no CONFIG_FILES.
20861 # This happens for instance when ./config.status config.h
20862 if test -n "\$CONFIG_FILES"; then
20863 # Protect against being on the right side of a sed subst in config.status.
20864 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20865 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20866 s,@SHELL@,$SHELL,;t t
20867 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20868 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20869 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
20870 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
20871 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
20872 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
20873 s,@exec_prefix@,$exec_prefix,;t t
20874 s,@prefix@,$prefix,;t t
20875 s,@program_transform_name@,$program_transform_name,;t t
20876 s,@bindir@,$bindir,;t t
20877 s,@sbindir@,$sbindir,;t t
20878 s,@libexecdir@,$libexecdir,;t t
20879 s,@datadir@,$datadir,;t t
20880 s,@sysconfdir@,$sysconfdir,;t t
20881 s,@sharedstatedir@,$sharedstatedir,;t t
20882 s,@localstatedir@,$localstatedir,;t t
20883 s,@libdir@,$libdir,;t t
20884 s,@includedir@,$includedir,;t t
20885 s,@oldincludedir@,$oldincludedir,;t t
20886 s,@infodir@,$infodir,;t t
20887 s,@mandir@,$mandir,;t t
20888 s,@build_alias@,$build_alias,;t t
20889 s,@host_alias@,$host_alias,;t t
20890 s,@target_alias@,$target_alias,;t t
20891 s,@DEFS@,$DEFS,;t t
20892 s,@ECHO_C@,$ECHO_C,;t t
20893 s,@ECHO_N@,$ECHO_N,;t t
20894 s,@ECHO_T@,$ECHO_T,;t t
20895 s,@LIBS@,$LIBS,;t t
20896 s,@WIN16_FILES@,$WIN16_FILES,;t t
20897 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
20898 s,@build@,$build,;t t
20899 s,@build_cpu@,$build_cpu,;t t
20900 s,@build_vendor@,$build_vendor,;t t
20901 s,@build_os@,$build_os,;t t
20902 s,@host@,$host,;t t
20903 s,@host_cpu@,$host_cpu,;t t
20904 s,@host_vendor@,$host_vendor,;t t
20905 s,@host_os@,$host_os,;t t
20906 s,@SET_MAKE@,$SET_MAKE,;t t
20908 s,@CFLAGS@,$CFLAGS,;t t
20909 s,@LDFLAGS@,$LDFLAGS,;t t
20910 s,@CPPFLAGS@,$CPPFLAGS,;t t
20911 s,@ac_ct_CC@,$ac_ct_CC,;t t
20912 s,@EXEEXT@,$EXEEXT,;t t
20913 s,@OBJEXT@,$OBJEXT,;t t
20915 s,@CXXFLAGS@,$CXXFLAGS,;t t
20916 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
20917 s,@CPPBIN@,$CPPBIN,;t t
20918 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
20919 s,@TOOLSDIR@,$TOOLSDIR,;t t
20921 s,@X_CFLAGS@,$X_CFLAGS,;t t
20922 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
20923 s,@X_LIBS@,$X_LIBS,;t t
20924 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
20926 s,@LEXLIB@,$LEXLIB,;t t
20927 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
20928 s,@XLEX@,$XLEX,;t t
20929 s,@BISON@,$BISON,;t t
20931 s,@ac_ct_AS@,$ac_ct_AS,;t t
20933 s,@ac_ct_LD@,$ac_ct_LD,;t t
20935 s,@ac_ct_AR@,$ac_ct_AR,;t t
20936 s,@RANLIB@,$RANLIB,;t t
20937 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
20938 s,@STRIP@,$STRIP,;t t
20939 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
20940 s,@WINDRES@,$WINDRES,;t t
20941 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
20942 s,@LN_S@,$LN_S,;t t
20944 s,@LDCONFIG@,$LDCONFIG,;t t
20945 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
20946 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
20947 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
20948 s,@LINT@,$LINT,;t t
20949 s,@LINTFLAGS@,$LINTFLAGS,;t t
20950 s,@DB2HTML@,$DB2HTML,;t t
20951 s,@DB2PDF@,$DB2PDF,;t t
20952 s,@DB2PS@,$DB2PS,;t t
20953 s,@DB2TXT@,$DB2TXT,;t t
20954 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
20955 s,@JPEGLIB@,$JPEGLIB,;t t
20956 s,@EGREP@,$EGREP,;t t
20957 s,@GIFLIB@,$GIFLIB,;t t
20958 s,@XLIB@,$XLIB,;t t
20959 s,@XFILES@,$XFILES,;t t
20960 s,@OPENGLFILES@,$OPENGLFILES,;t t
20961 s,@GLU32FILES@,$GLU32FILES,;t t
20962 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
20963 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
20964 s,@GLUT32FILES@,$GLUT32FILES,;t t
20965 s,@NASLIBS@,$NASLIBS,;t t
20966 s,@CURSESLIBS@,$CURSESLIBS,;t t
20967 s,@sane_devel@,$sane_devel,;t t
20968 s,@SANELIBS@,$SANELIBS,;t t
20969 s,@SANEINCL@,$SANEINCL,;t t
20970 s,@ICULIBS@,$ICULIBS,;t t
20971 s,@ft_devel@,$ft_devel,;t t
20972 s,@ft_devel2@,$ft_devel2,;t t
20973 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
20974 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
20975 s,@ARTSLIBS@,$ARTSLIBS,;t t
20976 s,@ARTSINCL@,$ARTSINCL,;t t
20977 s,@ALSALIBS@,$ALSALIBS,;t t
20978 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
20979 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
20980 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
20981 s,@DLLEXT@,$DLLEXT,;t t
20982 s,@DLLFLAGS@,$DLLFLAGS,;t t
20983 s,@DLLIBS@,$DLLIBS,;t t
20984 s,@LDSHARED@,$LDSHARED,;t t
20985 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
20986 s,@LIBEXT@,$LIBEXT,;t t
20987 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
20988 s,@DLLTOOL@,$DLLTOOL,;t t
20989 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
20990 s,@DLLWRAP@,$DLLWRAP,;t t
20991 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
20992 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
20993 s,@CROSSTEST@,$CROSSTEST,;t t
20994 s,@CROSSCC@,$CROSSCC,;t t
20995 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
20996 s,@LDPATH@,$LDPATH,;t t
20997 s,@CRTLIBS@,$CRTLIBS,;t t
20998 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
20999 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21001 s,@ALLOCA@,$ALLOCA,;t t
21002 s,@LIBOBJS@,$LIBOBJS,;t t
21003 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21004 /@MAKE_RULES@/r $MAKE_RULES
21005 s,@MAKE_RULES@,,;t t
21006 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21007 s,@MAKE_DLL_RULES@,,;t t
21008 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21009 s,@MAKE_TEST_RULES@,,;t t
21010 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21011 s,@MAKE_LIB_RULES@,,;t t
21012 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21013 s,@MAKE_PROG_RULES@,,;t t
21018 cat >>$CONFIG_STATUS <<\_ACEOF
21019 # Split the substitutions into bite-sized pieces for seds with
21020 # small command number limits, like on Digital OSF/1 and HP-UX.
21021 ac_max_sed_lines
=48
21022 ac_sed_frag
=1 # Number of current file.
21023 ac_beg
=1 # First line for current file.
21024 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21027 while $ac_more_lines; do
21028 if test $ac_beg -gt 1; then
21029 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21031 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21033 if test ! -s $tmp/subs.frag
; then
21034 ac_more_lines
=false
21036 # The purpose of the label and of the branching condition is to
21037 # speed up the sed processing (if there are no `@' at all, there
21038 # is no need to browse any of the substitutions).
21039 # These are the two extra sed commands mentioned above.
21041 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21042 if test -z "$ac_sed_cmds"; then
21043 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21045 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21047 ac_sed_frag
=`expr $ac_sed_frag + 1`
21049 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21052 if test -z "$ac_sed_cmds"; then
21055 fi # test -n "$CONFIG_FILES"
21058 cat >>$CONFIG_STATUS <<\_ACEOF
21059 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21060 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21062 - |
*:- |
*:-:* ) # input from stdin
21064 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21065 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21066 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21067 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21068 * ) ac_file_in
=$ac_file.
in ;;
21071 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21072 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21073 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21074 X"$ac_file" : 'X\(//\)[^/]' \| \
21075 X"$ac_file" : 'X\(//\)$' \| \
21076 X"$ac_file" : 'X\(/\)' \| \
21077 . : '\(.\)' 2>/dev/null ||
21079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21080 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21081 /^X\(\/\/\)$/{ s//\1/; q; }
21082 /^X\(\/\).*/{ s//\1/; q; }
21084 { if $as_mkdir_p; then
21089 while test ! -d "$as_dir"; do
21090 as_dirs
="$as_dir $as_dirs"
21091 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21092 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21093 X"$as_dir" : 'X\(//\)[^/]' \| \
21094 X"$as_dir" : 'X\(//\)$' \| \
21095 X"$as_dir" : 'X\(/\)' \| \
21096 . : '\(.\)' 2>/dev/null ||
21098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21099 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21100 /^X\(\/\/\)$/{ s//\1/; q; }
21101 /^X\(\/\).*/{ s//\1/; q; }
21104 test ! -n "$as_dirs" || mkdir
$as_dirs
21105 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21106 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21107 { (exit 1); exit 1; }; }; }
21111 if test "$ac_dir" != .
; then
21112 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21113 # A "../" for each directory in $ac_dir_suffix.
21114 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21116 ac_dir_suffix
= ac_top_builddir
=
21120 .
) # No --srcdir option. We are building in place.
21122 if test -z "$ac_top_builddir"; then
21125 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21127 [\\/]* | ?
:[\\/]* ) # Absolute path.
21128 ac_srcdir
=$srcdir$ac_dir_suffix;
21129 ac_top_srcdir
=$srcdir ;;
21130 *) # Relative path.
21131 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21132 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21135 # Do not use `cd foo && pwd` to compute absolute paths, because
21136 # the directories may not exist.
21138 .
) ac_abs_builddir
="$ac_dir";;
21141 .
) ac_abs_builddir
=`pwd`;;
21142 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21143 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21146 case $ac_abs_builddir in
21147 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21149 case ${ac_top_builddir}.
in
21150 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21151 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21152 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21155 case $ac_abs_builddir in
21156 .
) ac_abs_srcdir
=$ac_srcdir;;
21159 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21160 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21161 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21164 case $ac_abs_builddir in
21165 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21167 case $ac_top_srcdir in
21168 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21169 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21170 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21176 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21177 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21180 # Let's still pretend it is `configure' which instantiates (i.e., don't
21181 # use $as_me), people would be surprised to read:
21182 # /* config.h. Generated by config.status. */
21183 if test x
"$ac_file" = x-
; then
21186 configure_input
="$ac_file. "
21188 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21189 sed 's,.*/,,'` by configure."
21191 # First look for the input files in the build tree, otherwise in the
21193 ac_file_inputs
=`IFS=:
21194 for f in $ac_file_in; do
21196 -) echo $tmp/stdin ;;
21198 # Absolute (can't be DOS-style, as IFS=:)
21199 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21200 echo "$as_me: error: cannot find input file: $f" >&2;}
21201 { (exit 1); exit 1; }; }
21204 if test -f "$f"; then
21207 elif test -f "$srcdir/$f"; then
21212 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21213 echo "$as_me: error: cannot find input file: $f" >&2;}
21214 { (exit 1); exit 1; }; }
21217 done` ||
{ (exit 1); exit 1; }
21219 if test x
"$ac_file" != x-
; then
21220 { echo "$as_me:$LINENO: creating $ac_file" >&5
21221 echo "$as_me: creating $ac_file" >&6;}
21225 cat >>$CONFIG_STATUS <<_ACEOF
21229 cat >>$CONFIG_STATUS <<\_ACEOF
21231 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21232 s
,@configure_input@
,$configure_input,;t t
21233 s
,@srcdir@
,$ac_srcdir,;t t
21234 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21235 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21236 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21237 s
,@builddir@
,$ac_builddir,;t t
21238 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21239 s
,@top_builddir@
,$ac_top_builddir,;t t
21240 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21241 s
,@INSTALL@
,$ac_INSTALL,;t t
21242 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21244 if test x"$ac_file" != x-; then
21245 mv $tmp/out $ac_file
21253 cat >>$CONFIG_STATUS <<\_ACEOF
21256 # CONFIG_HEADER section.
21259 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21260 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21262 # ac_d sets the value in "#define NAME VALUE" lines.
21263 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21264 ac_dB
='[ ].*$,\1#\2'
21267 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21268 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21269 ac_uB
='$,\1#\2define\3'
21273 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21274 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21276 - |
*:- |
*:-:* ) # input from stdin
21278 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21279 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21280 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21281 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21282 * ) ac_file_in
=$ac_file.
in ;;
21285 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21286 echo "$as_me: creating $ac_file" >&6;}
21288 # First look for the input files in the build tree, otherwise in the
21290 ac_file_inputs
=`IFS=:
21291 for f in $ac_file_in; do
21293 -) echo $tmp/stdin ;;
21295 # Absolute (can't be DOS-style, as IFS=:)
21296 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21297 echo "$as_me: error: cannot find input file: $f" >&2;}
21298 { (exit 1); exit 1; }; }
21299 # Do quote $f, to prevent DOS paths from being IFS'd.
21302 if test -f "$f"; then
21305 elif test -f "$srcdir/$f"; then
21310 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21311 echo "$as_me: error: cannot find input file: $f" >&2;}
21312 { (exit 1); exit 1; }; }
21315 done` ||
{ (exit 1); exit 1; }
21316 # Remove the trailing spaces.
21317 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21321 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21322 # `conftest.undefs', that substitutes the proper values into
21323 # config.h.in to produce config.h. The first handles `#define'
21324 # templates, and the second `#undef' templates.
21325 # And first: Protect against being on the right side of a sed subst in
21326 # config.status. Protect against being in an unquoted here document
21327 # in config.status.
21328 rm -f conftest.defines conftest.undefs
21329 # Using a here document instead of a string reduces the quoting nightmare.
21330 # Putting comments in sed scripts is not portable.
21332 # `end' is used to avoid that the second main sed command (meant for
21333 # 0-ary CPP macros) applies to n-ary macro definitions.
21334 # See the Autoconf documentation for `clear'.
21335 cat >confdef2sed.
sed <<\_ACEOF
21340 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21342 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21345 # If some macros were called several times there might be several times
21346 # the same #defines, which is useless. Nevertheless, we may not want to
21347 # sort them, since we want the *last* AC-DEFINE to be honored.
21348 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21349 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21350 rm -f confdef2sed.sed
21352 # This sed command replaces #undef with comments. This is necessary, for
21353 # example, in the case of _POSIX_SOURCE, which is predefined and required
21354 # on some systems where configure will not decide to define it.
21355 cat >>conftest.undefs <<\_ACEOF
21356 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21359 # Break up conftest.defines because some shells have a limit on the size
21360 # of here documents, and old seds have small limits too (100 cmds).
21361 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21362 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21363 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21364 echo ' :' >>$CONFIG_STATUS
21365 rm -f conftest.tail
21366 while grep . conftest.defines >/dev/null
21368 # Write a limited-size here document to $tmp/defines.sed.
21369 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21370 # Speed up: don't consider the non `#define' lines.
21371 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21372 # Work around the forget-to-reset-the-flag bug.
21373 echo 't clr' >>$CONFIG_STATUS
21374 echo ': clr' >>$CONFIG_STATUS
21375 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21377 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21379 mv $tmp/out $tmp/in
21381 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21382 rm -f conftest.defines
21383 mv conftest.
tail conftest.defines
21385 rm -f conftest.defines
21386 echo ' fi # grep' >>$CONFIG_STATUS
21387 echo >>$CONFIG_STATUS
21389 # Break up conftest.undefs because some shells have a limit on the size
21390 # of here documents, and old seds have small limits too (100 cmds).
21391 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21392 rm -f conftest.
tail
21393 while grep . conftest.undefs
>/dev
/null
21395 # Write a limited-size here document to $tmp/undefs.sed.
21396 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21397 # Speed up: don't consider the non
`#undef'
21398 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21399 # Work around the forget-to-reset-the-flag bug.
21400 echo 't clr' >>$CONFIG_STATUS
21401 echo ': clr' >>$CONFIG_STATUS
21402 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21404 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21406 mv $tmp/out $tmp/in
21408 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21409 rm -f conftest.undefs
21410 mv conftest.tail conftest.undefs
21412 rm -f conftest.undefs
21414 cat >>$CONFIG_STATUS <<\_ACEOF
21415 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21416 # use $as_me), people would be surprised to read:
21417 # /* config.h. Generated by config.status. */
21418 if test x
"$ac_file" = x-
; then
21419 echo "/* Generated by configure. */" >$tmp/config.h
21421 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21423 cat $tmp/in >>$tmp/config.h
21425 if test x
"$ac_file" != x-
; then
21426 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21427 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21428 echo "$as_me: $ac_file is unchanged" >&6;}
21430 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21431 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21432 X"$ac_file" : 'X\(//\)[^/]' \| \
21433 X"$ac_file" : 'X\(//\)$' \| \
21434 X"$ac_file" : 'X\(/\)' \| \
21435 . : '\(.\)' 2>/dev/null ||
21437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21439 /^X\(\/\/\)$/{ s//\1/; q; }
21440 /^X\(\/\).*/{ s//\1/; q; }
21442 { if $as_mkdir_p; then
21447 while test ! -d "$as_dir"; do
21448 as_dirs
="$as_dir $as_dirs"
21449 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21451 X"$as_dir" : 'X\(//\)[^/]' \| \
21452 X"$as_dir" : 'X\(//\)$' \| \
21453 X"$as_dir" : 'X\(/\)' \| \
21454 . : '\(.\)' 2>/dev/null ||
21456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21458 /^X\(\/\/\)$/{ s//\1/; q; }
21459 /^X\(\/\).*/{ s//\1/; q; }
21462 test ! -n "$as_dirs" || mkdir
$as_dirs
21463 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21464 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21465 { (exit 1); exit 1; }; }; }
21468 mv $tmp/config.h
$ac_file
21472 rm -f $tmp/config.h
21476 cat >>$CONFIG_STATUS <<\_ACEOF
21479 # CONFIG_COMMANDS section.
21481 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21482 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21483 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21484 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21485 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21486 X"$ac_dest" : 'X\(//\)[^/]' \| \
21487 X"$ac_dest" : 'X\(//\)$' \| \
21488 X"$ac_dest" : '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; }
21496 { if $as_mkdir_p; then
21501 while test ! -d "$as_dir"; do
21502 as_dirs
="$as_dir $as_dirs"
21503 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21504 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21505 X"$as_dir" : 'X\(//\)[^/]' \| \
21506 X"$as_dir" : 'X\(//\)$' \| \
21507 X"$as_dir" : 'X\(/\)' \| \
21508 . : '\(.\)' 2>/dev/null ||
21510 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21511 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21512 /^X\(\/\/\)$/{ s//\1/; q; }
21513 /^X\(\/\).*/{ s//\1/; q; }
21516 test ! -n "$as_dirs" || mkdir
$as_dirs
21517 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21518 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21519 { (exit 1); exit 1; }; }; }
21523 if test "$ac_dir" != .
; then
21524 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21525 # A "../" for each directory in $ac_dir_suffix.
21526 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21528 ac_dir_suffix
= ac_top_builddir
=
21532 .
) # No --srcdir option. We are building in place.
21534 if test -z "$ac_top_builddir"; then
21537 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21539 [\\/]* | ?
:[\\/]* ) # Absolute path.
21540 ac_srcdir
=$srcdir$ac_dir_suffix;
21541 ac_top_srcdir
=$srcdir ;;
21542 *) # Relative path.
21543 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21544 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21547 # Do not use `cd foo && pwd` to compute absolute paths, because
21548 # the directories may not exist.
21550 .
) ac_abs_builddir
="$ac_dir";;
21553 .
) ac_abs_builddir
=`pwd`;;
21554 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21555 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21558 case $ac_abs_builddir in
21559 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21561 case ${ac_top_builddir}.
in
21562 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21563 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21564 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21567 case $ac_abs_builddir in
21568 .
) ac_abs_srcdir
=$ac_srcdir;;
21571 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21572 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21573 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21576 case $ac_abs_builddir in
21577 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21579 case $ac_top_srcdir in
21580 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21581 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21582 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21587 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21588 echo "$as_me: executing $ac_dest commands" >&6;}
21590 controls
) test -d "controls" ||
({ echo "$as_me:$LINENO: creating controls" >&5
21591 echo "$as_me: creating controls" >&6;} && mkdir
"controls") ;;
21592 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21593 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21594 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21595 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21596 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21597 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21598 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21599 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21600 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21601 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21602 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21603 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21604 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21605 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21606 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21607 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21608 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21609 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21610 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21611 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21612 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21613 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21614 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21615 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21616 files
) test -d "files" ||
({ echo "$as_me:$LINENO: creating files" >&5
21617 echo "$as_me: creating files" >&6;} && mkdir
"files") ;;
21618 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21619 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21620 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21621 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21622 objects
) test -d "objects" ||
({ echo "$as_me:$LINENO: creating objects" >&5
21623 echo "$as_me: creating objects" >&6;} && mkdir
"objects") ;;
21624 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21625 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21626 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21627 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21632 cat >>$CONFIG_STATUS <<\_ACEOF
21634 { (exit 0); exit 0; }
21636 chmod +x
$CONFIG_STATUS
21637 ac_clean_files
=$ac_clean_files_save
21640 # configure is writing to config.log, and then calls config.status.
21641 # config.status does its own redirection, appending to config.log.
21642 # Unfortunately, on DOS this fails, as config.log is still kept open
21643 # by configure, so config.status won't be able to write to it; its
21644 # output is simply discarded. So we exec the FD to /dev/null,
21645 # effectively closing config.log, so it can be properly (re)opened and
21646 # appended to by config.status. When coming back to configure, we
21647 # need to make the FD available again.
21648 if test "$no_create" != yes; then
21650 ac_config_status_args
=
21651 test "$silent" = yes &&
21652 ac_config_status_args
="$ac_config_status_args --quiet"
21654 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21656 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21657 # would make configure fail if this is the last instruction.
21658 $ac_cs_success ||
{ (exit 1); exit 1; }
21662 if test "$have_x" = "no"
21665 echo "*** Warning: X development files not found. Wine will be built without"
21666 echo "*** X support, which currently does not work, and would probably not be"
21667 echo "*** what you want anyway. You will need to install devel packages of"
21668 echo "*** Xlib/Xfree86 at the very least."
21671 if test "$wine_cv_opengl_version_OK" = "no"
21674 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21675 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21678 if test "$wine_cv_msg_freetype" = "yes"
21681 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21682 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21683 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21684 echo "*** enable Wine to use TrueType fonts."
21688 echo "Configure finished. Do 'make depend && make' to compile Wine."