2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20040914.
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
='20040914'
273 PACKAGE_STRING
='Wine 20040914'
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 EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS DB2HTML DB2PDF DB2PS DB2TXT FONTFORGE LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS ft_devel ft_devel2 FREETYPELIBS FREETYPEINCL FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ALSALIBS AUDIOIOLIBS CAPI4LINUXLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS 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 20040914 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 20040914:";;
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
866 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
877 Some influential environment variables:
878 CC C compiler command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
881 nonstandard directory <lib dir>
882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
883 headers in a nonstandard directory <include dir>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
888 Use these variables to override the choices made by `configure' or to
help
889 it to
find libraries and programs with nonstandard names
/locations.
891 Report bugs to
<wine-devel@winehq.org
>.
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
898 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
899 test -d $ac_dir ||
continue
902 if test "$ac_dir" != .
; then
903 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
907 ac_dir_suffix
= ac_top_builddir
=
911 .
) # No --srcdir option. We are building in place.
913 if test -z "$ac_top_builddir"; then
916 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
918 [\\/]* | ?
:[\\/]* ) # Absolute path.
919 ac_srcdir
=$srcdir$ac_dir_suffix;
920 ac_top_srcdir
=$srcdir ;;
922 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
929 .
) ac_abs_builddir
="$ac_dir";;
932 .
) ac_abs_builddir
=`pwd`;;
933 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
934 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
937 case $ac_abs_builddir in
938 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
940 case ${ac_top_builddir}.
in
941 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
942 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
943 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
946 case $ac_abs_builddir in
947 .
) ac_abs_srcdir
=$ac_srcdir;;
950 .
) ac_abs_srcdir
=$ac_abs_builddir;;
951 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
952 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
955 case $ac_abs_builddir in
956 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
960 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu
; then
969 $SHELL $ac_srcdir/configure.gnu
--help=recursive
970 elif test -f $ac_srcdir/configure
; then
972 $SHELL $ac_srcdir/configure
--help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.
in; then
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
987 Wine configure
20040914
988 generated by GNU Autoconf
2.59
990 Copyright
(C
) 2003 Free Software Foundation
, Inc.
991 This configure
script is free software
; the Free Software Foundation
992 gives unlimited permission to copy
, distribute and modify it.
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20040914, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1036 test -z "$as_dir" && as_dir
=.
1037 echo "PATH: $as_dir"
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1061 ac_must_keep_next
=false
1067 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1068 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1069 |
-silent |
--silent |
--silen |
--sile |
--sil)
1071 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1075 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true
; then
1079 ac_must_keep_next
=false
# Got value, back to normal.
1082 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1083 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1084 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1085 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1090 -* ) ac_must_keep_next
=true
;;
1093 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1100 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1101 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1119 # The following way of writing the cache mishandles newlines in values,
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -n "$ac_subst_files"; then
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1164 if test -s confdefs.h; then
1171 sed "/^$/d" confdefs.h | sort
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1182 for ac_signal
in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest
* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h
<<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1199 cat >>confdefs.h
<<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204 cat >>confdefs.h
<<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1209 cat >>confdefs.h
<<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1214 cat >>confdefs.h
<<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE
; then
1223 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1225 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file
in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1244 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1245 *) . .
/$cache_file;;
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1254 # Check that the precious variables saved in the cache have kept the same
1256 ac_cache_corrupted
=false
1257 for ac_var
in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1260 eval ac_new_set
=\
$ac_env_${ac_var}_set
1261 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val
="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted
=: ;;
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted
=: ;;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted
=:
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1287 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg
=$ac_var=$ac_new_val ;;
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1306 ac_cpp
='$CPP $CPPFLAGS'
1307 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1338 ac_config_headers
="$ac_config_headers include/config.h"
1341 for ac_dir
in tools
$srcdir/tools
; do
1342 if test -f $ac_dir/install-sh
; then
1344 ac_install_sh
="$ac_aux_dir/install-sh -c"
1346 elif test -f $ac_dir/install.sh
; then
1348 ac_install_sh
="$ac_aux_dir/install.sh -c"
1350 elif test -f $ac_dir/shtool
; then
1352 ac_install_sh
="$ac_aux_dir/shtool install -c"
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval
="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval
="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval
="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval
="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval
="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval
="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval
="$with_wine_tools"
1407 WIN16_FILES
="\$(WIN16_FILES)"
1409 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1411 if test "x$enable_win16" = "xno"
1416 if test "x$enable_debug" = "xno"
1419 cat >>confdefs.h
<<\_ACEOF
1420 #define NO_DEBUG_MSGS 1
1424 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1427 cat >>confdefs.h
<<\_ACEOF
1428 #define NO_TRACE_MSGS 1
1434 # Make sure we can run config.sub.
1435 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1436 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1437 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1438 { (exit 1); exit 1; }; }
1440 echo "$as_me:$LINENO: checking build system type" >&5
1441 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1442 if test "${ac_cv_build+set}" = set; then
1443 echo $ECHO_N "(cached) $ECHO_C" >&6
1445 ac_cv_build_alias
=$build_alias
1446 test -z "$ac_cv_build_alias" &&
1447 ac_cv_build_alias
=`$ac_config_guess`
1448 test -z "$ac_cv_build_alias" &&
1449 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1450 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1451 { (exit 1); exit 1; }; }
1452 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1453 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1454 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1455 { (exit 1); exit 1; }; }
1458 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1459 echo "${ECHO_T}$ac_cv_build" >&6
1461 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1462 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1463 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1466 echo "$as_me:$LINENO: checking host system type" >&5
1467 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1468 if test "${ac_cv_host+set}" = set; then
1469 echo $ECHO_N "(cached) $ECHO_C" >&6
1471 ac_cv_host_alias
=$host_alias
1472 test -z "$ac_cv_host_alias" &&
1473 ac_cv_host_alias
=$ac_cv_build_alias
1474 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1475 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1476 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1477 { (exit 1); exit 1; }; }
1480 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1481 echo "${ECHO_T}$ac_cv_host" >&6
1483 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1484 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1485 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1490 if test "x$enable_win64" != "xyes"
1492 test -n "$CC" || CC
="gcc -m32"
1493 test -n "$LD" || LD
="ld -m elf_i386"
1494 test -n "$AS" || AS
="as --32"
1499 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1500 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1501 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1502 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 cat >conftest.
make <<\_ACEOF
1507 @
echo 'ac_maketemp="$(MAKE)"'
1509 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1510 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1511 if test -n "$ac_maketemp"; then
1512 eval ac_cv_prog_make_
${ac_make}_set
=yes
1514 eval ac_cv_prog_make_
${ac_make}_set
=no
1518 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1519 echo "$as_me:$LINENO: result: yes" >&5
1520 echo "${ECHO_T}yes" >&6
1523 echo "$as_me:$LINENO: result: no" >&5
1524 echo "${ECHO_T}no" >&6
1525 SET_MAKE
="MAKE=${MAKE-make}"
1529 ac_cpp
='$CPP $CPPFLAGS'
1530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1533 if test -n "$ac_tool_prefix"; then
1534 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1535 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1536 echo "$as_me:$LINENO: checking for $ac_word" >&5
1537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1538 if test "${ac_cv_prog_CC+set}" = set; then
1539 echo $ECHO_N "(cached) $ECHO_C" >&6
1541 if test -n "$CC"; then
1542 ac_cv_prog_CC
="$CC" # Let the user override the test.
1544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1548 test -z "$as_dir" && as_dir
=.
1549 for ac_exec_ext
in '' $ac_executable_extensions; do
1550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1551 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1561 if test -n "$CC"; then
1562 echo "$as_me:$LINENO: result: $CC" >&5
1563 echo "${ECHO_T}$CC" >&6
1565 echo "$as_me:$LINENO: result: no" >&5
1566 echo "${ECHO_T}no" >&6
1570 if test -z "$ac_cv_prog_CC"; then
1572 # Extract the first word of "gcc", so it can be a program name with args.
1573 set dummy gcc
; ac_word
=$2
1574 echo "$as_me:$LINENO: checking for $ac_word" >&5
1575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1576 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1577 echo $ECHO_N "(cached) $ECHO_C" >&6
1579 if test -n "$ac_ct_CC"; then
1580 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1586 test -z "$as_dir" && as_dir
=.
1587 for ac_exec_ext
in '' $ac_executable_extensions; do
1588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1589 ac_cv_prog_ac_ct_CC
="gcc"
1590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1598 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1599 if test -n "$ac_ct_CC"; then
1600 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1601 echo "${ECHO_T}$ac_ct_CC" >&6
1603 echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1612 if test -z "$CC"; then
1613 if test -n "$ac_tool_prefix"; then
1614 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1615 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1616 echo "$as_me:$LINENO: checking for $ac_word" >&5
1617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1618 if test "${ac_cv_prog_CC+set}" = set; then
1619 echo $ECHO_N "(cached) $ECHO_C" >&6
1621 if test -n "$CC"; then
1622 ac_cv_prog_CC
="$CC" # Let the user override the test.
1624 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1628 test -z "$as_dir" && as_dir
=.
1629 for ac_exec_ext
in '' $ac_executable_extensions; do
1630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1631 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1641 if test -n "$CC"; then
1642 echo "$as_me:$LINENO: result: $CC" >&5
1643 echo "${ECHO_T}$CC" >&6
1645 echo "$as_me:$LINENO: result: no" >&5
1646 echo "${ECHO_T}no" >&6
1650 if test -z "$ac_cv_prog_CC"; then
1652 # Extract the first word of "cc", so it can be a program name with args.
1653 set dummy cc
; ac_word
=$2
1654 echo "$as_me:$LINENO: checking for $ac_word" >&5
1655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1656 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1657 echo $ECHO_N "(cached) $ECHO_C" >&6
1659 if test -n "$ac_ct_CC"; then
1660 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1662 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1666 test -z "$as_dir" && as_dir
=.
1667 for ac_exec_ext
in '' $ac_executable_extensions; do
1668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1669 ac_cv_prog_ac_ct_CC
="cc"
1670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1678 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1679 if test -n "$ac_ct_CC"; then
1680 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1681 echo "${ECHO_T}$ac_ct_CC" >&6
1683 echo "$as_me:$LINENO: result: no" >&5
1684 echo "${ECHO_T}no" >&6
1693 if test -z "$CC"; then
1694 # Extract the first word of "cc", so it can be a program name with args.
1695 set dummy cc
; ac_word
=$2
1696 echo "$as_me:$LINENO: checking for $ac_word" >&5
1697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1698 if test "${ac_cv_prog_CC+set}" = set; then
1699 echo $ECHO_N "(cached) $ECHO_C" >&6
1701 if test -n "$CC"; then
1702 ac_cv_prog_CC
="$CC" # Let the user override the test.
1705 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir
=.
1710 for ac_exec_ext
in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1713 ac_prog_rejected
=yes
1717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 if test $ac_prog_rejected = yes; then
1724 # We found a bogon in the path, so make sure we never use it.
1725 set dummy
$ac_cv_prog_CC
1727 if test $# != 0; then
1728 # We chose a different compiler from the bogus one.
1729 # However, it has the same basename, so the bogon will be chosen
1730 # first if we set CC to just the basename; use the full file name.
1732 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1738 if test -n "$CC"; then
1739 echo "$as_me:$LINENO: result: $CC" >&5
1740 echo "${ECHO_T}$CC" >&6
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1747 if test -z "$CC"; then
1748 if test -n "$ac_tool_prefix"; then
1751 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1752 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1753 echo "$as_me:$LINENO: checking for $ac_word" >&5
1754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1755 if test "${ac_cv_prog_CC+set}" = set; then
1756 echo $ECHO_N "(cached) $ECHO_C" >&6
1758 if test -n "$CC"; then
1759 ac_cv_prog_CC
="$CC" # Let the user override the test.
1761 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1765 test -z "$as_dir" && as_dir
=.
1766 for ac_exec_ext
in '' $ac_executable_extensions; do
1767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1768 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1778 if test -n "$CC"; then
1779 echo "$as_me:$LINENO: result: $CC" >&5
1780 echo "${ECHO_T}$CC" >&6
1782 echo "$as_me:$LINENO: result: no" >&5
1783 echo "${ECHO_T}no" >&6
1786 test -n "$CC" && break
1789 if test -z "$CC"; then
1793 # Extract the first word of "$ac_prog", so it can be a program name with args.
1794 set dummy
$ac_prog; ac_word
=$2
1795 echo "$as_me:$LINENO: checking for $ac_word" >&5
1796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1798 echo $ECHO_N "(cached) $ECHO_C" >&6
1800 if test -n "$ac_ct_CC"; then
1801 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1807 test -z "$as_dir" && as_dir
=.
1808 for ac_exec_ext
in '' $ac_executable_extensions; do
1809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1810 ac_cv_prog_ac_ct_CC
="$ac_prog"
1811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1820 if test -n "$ac_ct_CC"; then
1821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1822 echo "${ECHO_T}$ac_ct_CC" >&6
1824 echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1828 test -n "$ac_ct_CC" && break
1837 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1838 See \`config.log' for more details." >&5
1839 echo "$as_me: error: no acceptable C compiler found in \$PATH
1840 See \`config.log' for more details." >&2;}
1841 { (exit 1); exit 1; }; }
1843 # Provide some information about the compiler.
1844 echo "$as_me:$LINENO:" \
1845 "checking for C compiler version" >&5
1846 ac_compiler
=`set X $ac_compile; echo $2`
1847 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1848 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1853 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1858 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }
1863 cat >conftest.
$ac_ext <<_ACEOF
1866 cat confdefs.h
>>conftest.
$ac_ext
1867 cat >>conftest.
$ac_ext <<_ACEOF
1868 /* end confdefs.h. */
1878 ac_clean_files_save
=$ac_clean_files
1879 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1880 # Try to create an executable without -o first, disregard a.out.
1881 # It will help us diagnose broken compilers, and finding out an intuition
1883 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1884 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1885 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1886 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1887 (eval $ac_link_default) 2>&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; then
1891 # Find the output, starting from the most likely. This scheme is
1892 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1895 # Be careful to initialize this variable, since it used to be cached.
1896 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1898 # b.out is created by i960 compilers.
1899 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1901 test -f "$ac_file" ||
continue
1903 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1906 # This is the source file.
1909 # We found the default executable, but exeext='' is most
1913 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1914 # FIXME: I believe we export ac_cv_exeext for Libtool,
1915 # but it would be cool to find out if it's true. Does anybody
1916 # maintain Libtool? --akim.
1924 echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.
$ac_ext >&5
1927 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1928 See \`config.log' for more details." >&5
1929 echo "$as_me: error: C compiler cannot create executables
1930 See \`config.log' for more details." >&2;}
1931 { (exit 77); exit 77; }; }
1934 ac_exeext
=$ac_cv_exeext
1935 echo "$as_me:$LINENO: result: $ac_file" >&5
1936 echo "${ECHO_T}$ac_file" >&6
1938 # Check the compiler produces executables we can run. If not, either
1939 # the compiler is broken, or we cross compile.
1940 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1941 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1942 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1943 # If not cross compiling, check that we can run a simple program.
1944 if test "$cross_compiling" != yes; then
1945 if { ac_try
='./$ac_file'
1946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); }; }; then
1953 if test "$cross_compiling" = maybe
; then
1956 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1957 If you meant to cross compile, use \`--host'.
1958 See \`config.log' for more details." >&5
1959 echo "$as_me: error: cannot run C compiled programs.
1960 If you meant to cross compile, use \`--host'.
1961 See \`config.log' for more details." >&2;}
1962 { (exit 1); exit 1; }; }
1966 echo "$as_me:$LINENO: result: yes" >&5
1967 echo "${ECHO_T}yes" >&6
1969 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1970 ac_clean_files
=$ac_clean_files_save
1971 # Check the compiler produces executables we can run. If not, either
1972 # the compiler is broken, or we cross compile.
1973 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1974 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1975 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1976 echo "${ECHO_T}$cross_compiling" >&6
1978 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1979 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1981 (eval $ac_link) 2>&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }; then
1985 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1986 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1987 # work properly (i.e., refer to `conftest.exe'), while it won't with
1989 for ac_file
in conftest.exe conftest conftest.
*; do
1990 test -f "$ac_file" ||
continue
1992 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1993 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2000 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2001 See \`config.log' for more details." >&5
2002 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2003 See \`config.log' for more details." >&2;}
2004 { (exit 1); exit 1; }; }
2007 rm -f conftest
$ac_cv_exeext
2008 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2009 echo "${ECHO_T}$ac_cv_exeext" >&6
2011 rm -f conftest.
$ac_ext
2012 EXEEXT
=$ac_cv_exeext
2014 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2015 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2016 if test "${ac_cv_objext+set}" = set; then
2017 echo $ECHO_N "(cached) $ECHO_C" >&6
2019 cat >conftest.
$ac_ext <<_ACEOF
2022 cat confdefs.h
>>conftest.
$ac_ext
2023 cat >>conftest.
$ac_ext <<_ACEOF
2024 /* end confdefs.h. */
2034 rm -f conftest.o conftest.obj
2035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2036 (eval $ac_compile) 2>&5
2038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2039 (exit $ac_status); }; then
2040 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2042 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2043 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2048 echo "$as_me: failed program was:" >&5
2049 sed 's/^/| /' conftest.
$ac_ext >&5
2051 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2052 See \`config.log' for more details." >&5
2053 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2054 See \`config.log' for more details." >&2;}
2055 { (exit 1); exit 1; }; }
2058 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2060 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2061 echo "${ECHO_T}$ac_cv_objext" >&6
2062 OBJEXT
=$ac_cv_objext
2064 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2065 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2066 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2067 echo $ECHO_N "(cached) $ECHO_C" >&6
2069 cat >conftest.
$ac_ext <<_ACEOF
2072 cat confdefs.h
>>conftest.
$ac_ext
2073 cat >>conftest.
$ac_ext <<_ACEOF
2074 /* end confdefs.h. */
2087 rm -f conftest.
$ac_objext
2088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2089 (eval $ac_compile) 2>conftest.er1
2091 grep -v '^ *+' conftest.er1
>conftest.err
2093 cat conftest.err
>&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); } &&
2096 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; } &&
2102 { ac_try
='test -s conftest.$ac_objext'
2103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; }; then
2110 echo "$as_me: failed program was:" >&5
2111 sed 's/^/| /' conftest.
$ac_ext >&5
2115 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2116 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2119 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2120 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2121 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2122 ac_test_CFLAGS
=${CFLAGS+set}
2123 ac_save_CFLAGS
=$CFLAGS
2125 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2126 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2127 if test "${ac_cv_prog_cc_g+set}" = set; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 cat >conftest.
$ac_ext <<_ACEOF
2133 cat confdefs.h
>>conftest.
$ac_ext
2134 cat >>conftest.
$ac_ext <<_ACEOF
2135 /* end confdefs.h. */
2145 rm -f conftest.
$ac_objext
2146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2147 (eval $ac_compile) 2>conftest.er1
2149 grep -v '^ *+' conftest.er1
>conftest.err
2151 cat conftest.err
>&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); } &&
2154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159 (exit $ac_status); }; } &&
2160 { ac_try
='test -s conftest.$ac_objext'
2161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2165 (exit $ac_status); }; }; then
2168 echo "$as_me: failed program was:" >&5
2169 sed 's/^/| /' conftest.
$ac_ext >&5
2173 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2175 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2176 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2177 if test "$ac_test_CFLAGS" = set; then
2178 CFLAGS
=$ac_save_CFLAGS
2179 elif test $ac_cv_prog_cc_g = yes; then
2180 if test "$GCC" = yes; then
2186 if test "$GCC" = yes; then
2192 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2193 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2194 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2195 echo $ECHO_N "(cached) $ECHO_C" >&6
2197 ac_cv_prog_cc_stdc
=no
2199 cat >conftest.
$ac_ext <<_ACEOF
2202 cat confdefs.h
>>conftest.
$ac_ext
2203 cat >>conftest.
$ac_ext <<_ACEOF
2204 /* end confdefs.h. */
2207 #include <sys/types.h>
2208 #include <sys/stat.h>
2209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2210 struct buf { int x; };
2211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2212 static char *e (p, i)
2218 static char *f (char * (*g) (char **, int), char **p, ...)
2223 s = g (p, va_arg (v,int));
2228 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2229 function prototypes and stuff, but not '\xHH' hex character constants.
2230 These don't provoke an error unfortunately, instead are silently treated
2231 as 'x'. The following induces an error, until -std1 is added to get
2232 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2233 array size at least. It's necessary to write '\x00'==0 to get something
2234 that's true only with -std1. */
2235 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2237 int test (int i, double x);
2238 struct s1 {int (*f) (int a);};
2239 struct s2 {int (*f) (double a);};
2240 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2246 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2251 # Don't try gcc -ansi; that turns off useful extensions and
2252 # breaks some systems' header files.
2253 # AIX -qlanglvl=ansi
2254 # Ultrix and OSF/1 -std1
2255 # HP-UX 10.20 and later -Ae
2256 # HP-UX older versions -Aa -D_HPUX_SOURCE
2257 # SVR4 -Xc -D__EXTENSIONS__
2258 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2260 CC
="$ac_save_CC $ac_arg"
2261 rm -f conftest.
$ac_objext
2262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2263 (eval $ac_compile) 2>conftest.er1
2265 grep -v '^ *+' conftest.er1
>conftest.err
2267 cat conftest.err
>&5
2268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2269 (exit $ac_status); } &&
2270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); }; } &&
2276 { ac_try
='test -s conftest.$ac_objext'
2277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); }; }; then
2282 ac_cv_prog_cc_stdc
=$ac_arg
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.
$ac_ext >&5
2289 rm -f conftest.err conftest.
$ac_objext
2291 rm -f conftest.
$ac_ext conftest.
$ac_objext
2296 case "x$ac_cv_prog_cc_stdc" in
2298 echo "$as_me:$LINENO: result: none needed" >&5
2299 echo "${ECHO_T}none needed" >&6 ;;
2301 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2302 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2303 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2306 # Some people use a C++ compiler to compile C. Since we use `exit',
2307 # in C++ we need to declare it. In case someone uses the same compiler
2308 # for both compiling C and C++ we need to have the C++ compiler decide
2309 # the declaration of exit, since it's the most demanding environment.
2310 cat >conftest.
$ac_ext <<_ACEOF
2315 rm -f conftest.
$ac_objext
2316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2317 (eval $ac_compile) 2>conftest.er1
2319 grep -v '^ *+' conftest.er1
>conftest.err
2321 cat conftest.err
>&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); } &&
2324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; } &&
2330 { ac_try
='test -s conftest.$ac_objext'
2331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2335 (exit $ac_status); }; }; then
2336 for ac_declaration
in \
2338 'extern "C" void std::exit (int) throw (); using std::exit;' \
2339 'extern "C" void std::exit (int); using std::exit;' \
2340 'extern "C" void exit (int) throw ();' \
2341 'extern "C" void exit (int);' \
2344 cat >conftest.
$ac_ext <<_ACEOF
2347 cat confdefs.h
>>conftest.
$ac_ext
2348 cat >>conftest.
$ac_ext <<_ACEOF
2349 /* end confdefs.h. */
2360 rm -f conftest.
$ac_objext
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>conftest.er1
2364 grep -v '^ *+' conftest.er1
>conftest.err
2366 cat conftest.err
>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); } &&
2369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; } &&
2375 { ac_try
='test -s conftest.$ac_objext'
2376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; }; then
2383 echo "$as_me: failed program was:" >&5
2384 sed 's/^/| /' conftest.
$ac_ext >&5
2388 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2389 cat >conftest.
$ac_ext <<_ACEOF
2392 cat confdefs.h
>>conftest.
$ac_ext
2393 cat >>conftest.
$ac_ext <<_ACEOF
2394 /* end confdefs.h. */
2404 rm -f conftest.
$ac_objext
2405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2406 (eval $ac_compile) 2>conftest.er1
2408 grep -v '^ *+' conftest.er1
>conftest.err
2410 cat conftest.err
>&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); } &&
2413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); }; } &&
2419 { ac_try
='test -s conftest.$ac_objext'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; }; then
2427 echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.
$ac_ext >&5
2431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2434 if test -n "$ac_declaration"; then
2435 echo '#ifdef __cplusplus' >>confdefs.h
2436 echo $ac_declaration >>confdefs.h
2437 echo '#endif' >>confdefs.h
2441 echo "$as_me: failed program was:" >&5
2442 sed 's/^/| /' conftest.
$ac_ext >&5
2445 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2447 ac_cpp
='$CPP $CPPFLAGS'
2448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2453 ac_cpp
='$CXXCPP $CPPFLAGS'
2454 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2455 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2456 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2457 if test -n "$ac_tool_prefix"; then
2458 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2460 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2461 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2462 echo "$as_me:$LINENO: checking for $ac_word" >&5
2463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2464 if test "${ac_cv_prog_CXX+set}" = set; then
2465 echo $ECHO_N "(cached) $ECHO_C" >&6
2467 if test -n "$CXX"; then
2468 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2474 test -z "$as_dir" && as_dir
=.
2475 for ac_exec_ext
in '' $ac_executable_extensions; do
2476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2477 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2487 if test -n "$CXX"; then
2488 echo "$as_me:$LINENO: result: $CXX" >&5
2489 echo "${ECHO_T}$CXX" >&6
2491 echo "$as_me:$LINENO: result: no" >&5
2492 echo "${ECHO_T}no" >&6
2495 test -n "$CXX" && break
2498 if test -z "$CXX"; then
2500 for ac_prog
in $CCC g
++ c
++ gpp aCC CC cxx cc
++ cl FCC KCC RCC xlC_r xlC
2502 # Extract the first word of "$ac_prog", so it can be a program name with args.
2503 set dummy
$ac_prog; ac_word
=$2
2504 echo "$as_me:$LINENO: checking for $ac_word" >&5
2505 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2506 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 if test -n "$ac_ct_CXX"; then
2510 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2512 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir
=.
2517 for ac_exec_ext
in '' $ac_executable_extensions; do
2518 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2519 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2520 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2529 if test -n "$ac_ct_CXX"; then
2530 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2531 echo "${ECHO_T}$ac_ct_CXX" >&6
2533 echo "$as_me:$LINENO: result: no" >&5
2534 echo "${ECHO_T}no" >&6
2537 test -n "$ac_ct_CXX" && break
2539 test -n "$ac_ct_CXX" || ac_ct_CXX
="g++"
2545 # Provide some information about the compiler.
2546 echo "$as_me:$LINENO:" \
2547 "checking for C++ compiler version" >&5
2548 ac_compiler
=`set X $ac_compile; echo $2`
2549 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2550 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2555 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2559 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2560 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }
2565 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2566 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2567 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 cat >conftest.
$ac_ext <<_ACEOF
2573 cat confdefs.h
>>conftest.
$ac_ext
2574 cat >>conftest.
$ac_ext <<_ACEOF
2575 /* end confdefs.h. */
2588 rm -f conftest.
$ac_objext
2589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2590 (eval $ac_compile) 2>conftest.er1
2592 grep -v '^ *+' conftest.er1
>conftest.err
2594 cat conftest.err
>&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); } &&
2597 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; } &&
2603 { ac_try
='test -s conftest.$ac_objext'
2604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); }; }; then
2611 echo "$as_me: failed program was:" >&5
2612 sed 's/^/| /' conftest.
$ac_ext >&5
2616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2617 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
2620 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2621 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2622 GXX
=`test $ac_compiler_gnu = yes && echo yes`
2623 ac_test_CXXFLAGS
=${CXXFLAGS+set}
2624 ac_save_CXXFLAGS
=$CXXFLAGS
2626 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2627 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2628 if test "${ac_cv_prog_cxx_g+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 cat >conftest.
$ac_ext <<_ACEOF
2634 cat confdefs.h
>>conftest.
$ac_ext
2635 cat >>conftest.
$ac_ext <<_ACEOF
2636 /* end confdefs.h. */
2646 rm -f conftest.
$ac_objext
2647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648 (eval $ac_compile) 2>conftest.er1
2650 grep -v '^ *+' conftest.er1
>conftest.err
2652 cat conftest.err
>&5
2653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654 (exit $ac_status); } &&
2655 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2660 (exit $ac_status); }; } &&
2661 { ac_try
='test -s conftest.$ac_objext'
2662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2666 (exit $ac_status); }; }; then
2667 ac_cv_prog_cxx_g
=yes
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.
$ac_ext >&5
2674 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2676 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2677 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2678 if test "$ac_test_CXXFLAGS" = set; then
2679 CXXFLAGS
=$ac_save_CXXFLAGS
2680 elif test $ac_cv_prog_cxx_g = yes; then
2681 if test "$GXX" = yes; then
2687 if test "$GXX" = yes; then
2693 for ac_declaration
in \
2695 'extern "C" void std::exit (int) throw (); using std::exit;' \
2696 'extern "C" void std::exit (int); using std::exit;' \
2697 'extern "C" void exit (int) throw ();' \
2698 'extern "C" void exit (int);' \
2701 cat >conftest.
$ac_ext <<_ACEOF
2704 cat confdefs.h
>>conftest.
$ac_ext
2705 cat >>conftest.
$ac_ext <<_ACEOF
2706 /* end confdefs.h. */
2717 rm -f conftest.
$ac_objext
2718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2719 (eval $ac_compile) 2>conftest.er1
2721 grep -v '^ *+' conftest.er1
>conftest.err
2723 cat conftest.err
>&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); } &&
2726 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); }; } &&
2732 { ac_try
='test -s conftest.$ac_objext'
2733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2737 (exit $ac_status); }; }; then
2740 echo "$as_me: failed program was:" >&5
2741 sed 's/^/| /' conftest.
$ac_ext >&5
2745 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2746 cat >conftest.
$ac_ext <<_ACEOF
2749 cat confdefs.h
>>conftest.
$ac_ext
2750 cat >>conftest.
$ac_ext <<_ACEOF
2751 /* end confdefs.h. */
2761 rm -f conftest.
$ac_objext
2762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2763 (eval $ac_compile) 2>conftest.er1
2765 grep -v '^ *+' conftest.er1
>conftest.err
2767 cat conftest.err
>&5
2768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2769 (exit $ac_status); } &&
2770 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2775 (exit $ac_status); }; } &&
2776 { ac_try
='test -s conftest.$ac_objext'
2777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2781 (exit $ac_status); }; }; then
2784 echo "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.
$ac_ext >&5
2788 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2791 if test -n "$ac_declaration"; then
2792 echo '#ifdef __cplusplus' >>confdefs.h
2793 echo $ac_declaration >>confdefs.h
2794 echo '#endif' >>confdefs.h
2798 ac_cpp
='$CPP $CPPFLAGS'
2799 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2800 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2801 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2803 if test -n "$ac_tool_prefix"; then
2804 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2805 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
2806 echo "$as_me:$LINENO: checking for $ac_word" >&5
2807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2808 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2809 echo $ECHO_N "(cached) $ECHO_C" >&6
2811 if test -n "$CPPBIN"; then
2812 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
2814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir
=.
2819 for ac_exec_ext
in '' $ac_executable_extensions; do
2820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
2822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2830 CPPBIN
=$ac_cv_prog_CPPBIN
2831 if test -n "$CPPBIN"; then
2832 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2833 echo "${ECHO_T}$CPPBIN" >&6
2835 echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6
2840 if test -z "$ac_cv_prog_CPPBIN"; then
2841 ac_ct_CPPBIN
=$CPPBIN
2842 # Extract the first word of "cpp", so it can be a program name with args.
2843 set dummy cpp
; ac_word
=$2
2844 echo "$as_me:$LINENO: checking for $ac_word" >&5
2845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2846 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2847 echo $ECHO_N "(cached) $ECHO_C" >&6
2849 if test -n "$ac_ct_CPPBIN"; then
2850 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
2852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2856 test -z "$as_dir" && as_dir
=.
2857 for ac_exec_ext
in '' $ac_executable_extensions; do
2858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2859 ac_cv_prog_ac_ct_CPPBIN
="cpp"
2860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN
="cpp"
2869 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
2870 if test -n "$ac_ct_CPPBIN"; then
2871 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2872 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2874 echo "$as_me:$LINENO: result: no" >&5
2875 echo "${ECHO_T}no" >&6
2878 CPPBIN
=$ac_ct_CPPBIN
2880 CPPBIN
="$ac_cv_prog_CPPBIN"
2884 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2885 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2886 if test "${wine_cv_toolsdir+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 if test -z "$with_wine_tools"; then
2890 if test "$cross_compiling" = "yes"; then
2891 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2892 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2893 { (exit 1); exit 1; }; }
2895 wine_cv_toolsdir
="\$(TOPOBJDIR)"
2897 elif test -d "$with_wine_tools/tools/winebuild"; then
2898 case $with_wine_tools in
2899 /*) wine_cv_toolsdir
="$with_wine_tools" ;;
2900 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$with_wine_tools" ;;
2903 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2904 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2905 { (exit 1); exit 1; }; }
2908 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2909 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2910 TOOLSDIR
=$wine_cv_toolsdir
2915 ac_cpp
='$CPP $CPPFLAGS'
2916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2919 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2920 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2921 # On Suns, sometimes $CPP names a directory.
2922 if test -n "$CPP" && test -d "$CPP"; then
2925 if test -z "$CPP"; then
2926 if test "${ac_cv_prog_CPP+set}" = set; then
2927 echo $ECHO_N "(cached) $ECHO_C" >&6
2929 # Double quotes because CPP needs to be expanded
2930 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2933 for ac_c_preproc_warn_flag
in '' yes
2935 # Use a header file that comes with gcc, so configuring glibc
2936 # with a fresh cross-compiler works.
2937 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2938 # <limits.h> exists even on freestanding compilers.
2939 # On the NeXT, cc -E runs the code through the compiler's parser,
2940 # not just through cpp. "Syntax error" is here to catch this case.
2941 cat >conftest.
$ac_ext <<_ACEOF
2944 cat confdefs.h
>>conftest.
$ac_ext
2945 cat >>conftest.
$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2948 # include <limits.h>
2950 # include <assert.h>
2954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2955 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2957 grep -v '^ *+' conftest.er1
>conftest.err
2959 cat conftest.err
>&5
2960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2961 (exit $ac_status); } >/dev
/null
; then
2962 if test -s conftest.err
; then
2963 ac_cpp_err
=$ac_c_preproc_warn_flag
2964 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2971 if test -z "$ac_cpp_err"; then
2974 echo "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.
$ac_ext >&5
2977 # Broken: fails on valid input.
2980 rm -f conftest.err conftest.
$ac_ext
2982 # OK, works on sane cases. Now check whether non-existent headers
2983 # can be detected and how.
2984 cat >conftest.
$ac_ext <<_ACEOF
2987 cat confdefs.h
>>conftest.
$ac_ext
2988 cat >>conftest.
$ac_ext <<_ACEOF
2989 /* end confdefs.h. */
2990 #include <ac_nonexistent.h>
2992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2993 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2995 grep -v '^ *+' conftest.er1
>conftest.err
2997 cat conftest.err
>&5
2998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2999 (exit $ac_status); } >/dev
/null
; then
3000 if test -s conftest.err
; then
3001 ac_cpp_err
=$ac_c_preproc_warn_flag
3002 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3009 if test -z "$ac_cpp_err"; then
3010 # Broken: success on invalid input.
3013 echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.
$ac_ext >&5
3016 # Passes both tests.
3020 rm -f conftest.err conftest.
$ac_ext
3023 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3024 rm -f conftest.err conftest.
$ac_ext
3025 if $ac_preproc_ok; then
3037 echo "$as_me:$LINENO: result: $CPP" >&5
3038 echo "${ECHO_T}$CPP" >&6
3040 for ac_c_preproc_warn_flag
in '' yes
3042 # Use a header file that comes with gcc, so configuring glibc
3043 # with a fresh cross-compiler works.
3044 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3045 # <limits.h> exists even on freestanding compilers.
3046 # On the NeXT, cc -E runs the code through the compiler's parser,
3047 # not just through cpp. "Syntax error" is here to catch this case.
3048 cat >conftest.
$ac_ext <<_ACEOF
3051 cat confdefs.h
>>conftest.
$ac_ext
3052 cat >>conftest.
$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3055 # include <limits.h>
3057 # include <assert.h>
3061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3062 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3064 grep -v '^ *+' conftest.er1
>conftest.err
3066 cat conftest.err
>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } >/dev
/null
; then
3069 if test -s conftest.err
; then
3070 ac_cpp_err
=$ac_c_preproc_warn_flag
3071 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3078 if test -z "$ac_cpp_err"; then
3081 echo "$as_me: failed program was:" >&5
3082 sed 's/^/| /' conftest.
$ac_ext >&5
3084 # Broken: fails on valid input.
3087 rm -f conftest.err conftest.
$ac_ext
3089 # OK, works on sane cases. Now check whether non-existent headers
3090 # can be detected and how.
3091 cat >conftest.
$ac_ext <<_ACEOF
3094 cat confdefs.h
>>conftest.
$ac_ext
3095 cat >>conftest.
$ac_ext <<_ACEOF
3096 /* end confdefs.h. */
3097 #include <ac_nonexistent.h>
3099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3100 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3102 grep -v '^ *+' conftest.er1
>conftest.err
3104 cat conftest.err
>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } >/dev
/null
; then
3107 if test -s conftest.err
; then
3108 ac_cpp_err
=$ac_c_preproc_warn_flag
3109 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3116 if test -z "$ac_cpp_err"; then
3117 # Broken: success on invalid input.
3120 echo "$as_me: failed program was:" >&5
3121 sed 's/^/| /' conftest.
$ac_ext >&5
3123 # Passes both tests.
3127 rm -f conftest.err conftest.
$ac_ext
3130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3131 rm -f conftest.err conftest.
$ac_ext
3132 if $ac_preproc_ok; then
3135 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3136 See \`config.log' for more details." >&5
3137 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3138 See \`config.log' for more details." >&2;}
3139 { (exit 1); exit 1; }; }
3143 ac_cpp
='$CPP $CPPFLAGS'
3144 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3145 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3146 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3150 if test "x$ac_path_x_has_been_run" != xyes
; then
3151 echo "$as_me:$LINENO: checking for X" >&5
3152 echo $ECHO_N "checking for X... $ECHO_C" >&6
3154 ac_path_x_has_been_run
=yes
3156 # Check whether --with-x or --without-x was given.
3157 if test "${with_x+set}" = set; then
3161 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3162 if test "x$with_x" = xno
; then
3163 # The user explicitly disabled X.
3166 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
3167 # Both variables are already set.
3170 if test "${ac_cv_have_x+set}" = set; then
3171 echo $ECHO_N "(cached) $ECHO_C" >&6
3173 # One or both of the vars are not set, and there is no cached value.
3174 ac_x_includes
=no ac_x_libraries
=no
3176 if mkdir conftest.dir
; then
3178 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3179 cat >Imakefile
<<'_ACEOF'
3181 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3183 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
3184 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3185 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3186 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3187 for ac_extension
in a so sl
; do
3188 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
3189 test -f $ac_im_libdir/libX11.
$ac_extension; then
3190 ac_im_usrlibdir
=$ac_im_libdir; break
3193 # Screen out bogus values from the imake configuration. They are
3194 # bogus both because they are the default anyway, and because
3195 # using them would break gcc on systems where it needs fixed includes.
3196 case $ac_im_incroot in
3198 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
3200 case $ac_im_usrlibdir in
3202 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
3209 # Standard set of common directories for X headers.
3210 # Check X11 before X11Rn because it is often a symlink to the current release.
3222 /usr/local/X11/include
3223 /usr/local/X11R6/include
3224 /usr/local/X11R5/include
3225 /usr/local/X11R4/include
3227 /usr/local/include/X11
3228 /usr/local/include/X11R6
3229 /usr/local/include/X11R5
3230 /usr/local/include/X11R4
3234 /usr/XFree86/include/X11
3238 /usr/unsupported/include
3240 /usr/local/x11r5/include
3241 /usr/lpp/Xamples/include
3243 /usr/openwin/include
3244 /usr/openwin/share/include'
3246 if test "$ac_x_includes" = no
; then
3247 # Guess where to find include files, by looking for a specified header file.
3248 # First, try using that file with no special directory specified.
3249 cat >conftest.
$ac_ext <<_ACEOF
3252 cat confdefs.h
>>conftest.
$ac_ext
3253 cat >>conftest.
$ac_ext <<_ACEOF
3254 /* end confdefs.h. */
3255 #include <X11/Intrinsic.h>
3257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3260 grep -v '^ *+' conftest.er1
>conftest.err
3262 cat conftest.err
>&5
3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3264 (exit $ac_status); } >/dev
/null
; then
3265 if test -s conftest.err
; then
3266 ac_cpp_err
=$ac_c_preproc_warn_flag
3267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3274 if test -z "$ac_cpp_err"; then
3275 # We can compile using X headers with no special include directory.
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.
$ac_ext >&5
3281 for ac_dir
in $ac_x_header_dirs; do
3282 if test -r "$ac_dir/X11/Intrinsic.h"; then
3283 ac_x_includes
=$ac_dir
3288 rm -f conftest.err conftest.
$ac_ext
3289 fi # $ac_x_includes = no
3291 if test "$ac_x_libraries" = no
; then
3292 # Check for the libraries.
3293 # See if we find them without any special options.
3294 # Don't add to $LIBS permanently.
3297 cat >conftest.
$ac_ext <<_ACEOF
3300 cat confdefs.h
>>conftest.
$ac_ext
3301 cat >>conftest.
$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3303 #include <X11/Intrinsic.h>
3312 rm -f conftest.
$ac_objext conftest
$ac_exeext
3313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3314 (eval $ac_link) 2>conftest.er1
3316 grep -v '^ *+' conftest.er1
>conftest.err
3318 cat conftest.err
>&5
3319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3320 (exit $ac_status); } &&
3321 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3326 (exit $ac_status); }; } &&
3327 { ac_try
='test -s conftest$ac_exeext'
3328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3332 (exit $ac_status); }; }; then
3334 # We can link X programs with no special library path.
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3341 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3343 # Don't even attempt the hair of trying to link an X program!
3344 for ac_extension
in a so sl
; do
3345 if test -r $ac_dir/libXt.
$ac_extension; then
3346 ac_x_libraries
=$ac_dir
3352 rm -f conftest.err conftest.
$ac_objext \
3353 conftest
$ac_exeext conftest.
$ac_ext
3354 fi # $ac_x_libraries = no
3356 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
3357 # Didn't find X anywhere. Cache the known absence of X.
3358 ac_cv_have_x
="have_x=no"
3360 # Record where we found X for the cache.
3361 ac_cv_have_x
="have_x=yes \
3362 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3367 eval "$ac_cv_have_x"
3370 if test "$have_x" != yes; then
3371 echo "$as_me:$LINENO: result: $have_x" >&5
3372 echo "${ECHO_T}$have_x" >&6
3375 # If each of the values was on the command line, it overrides each guess.
3376 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
3377 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
3378 # Update the cache value to reflect the command line values.
3379 ac_cv_have_x
="have_x=yes \
3380 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3381 # It might be that x_includes is empty (headers are found in the
3382 # standard search path. Then output the corresponding message
3383 ac_out_x_includes
=$x_includes
3384 test "x$x_includes" = x
&& ac_out_x_includes
="in standard search path"
3385 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3386 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3390 if test "$no_x" = yes; then
3391 # Not all programs may use this symbol, but it does not hurt to define it.
3393 cat >>confdefs.h
<<\_ACEOF
3394 #define X_DISPLAY_MISSING 1
3397 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
3399 if test -n "$x_includes"; then
3400 X_CFLAGS
="$X_CFLAGS -I$x_includes"
3403 # It would also be nice to do this for all -L options, not just this one.
3404 if test -n "$x_libraries"; then
3405 X_LIBS
="$X_LIBS -L$x_libraries"
3406 # For Solaris; some versions of Sun CC require a space after -R and
3407 # others require no space. Words are not sufficient . . . .
3408 case `(uname -sr) 2>/dev/null` in
3410 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3411 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3412 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
3413 cat >conftest.
$ac_ext <<_ACEOF
3416 cat confdefs.h
>>conftest.
$ac_ext
3417 cat >>conftest.
$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3428 rm -f conftest.
$ac_objext conftest
$ac_exeext
3429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3430 (eval $ac_link) 2>conftest.er1
3432 grep -v '^ *+' conftest.er1
>conftest.err
3434 cat conftest.err
>&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); } &&
3437 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; } &&
3443 { ac_try
='test -s conftest$ac_exeext'
3444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3448 (exit $ac_status); }; }; then
3451 echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.
$ac_ext >&5
3456 rm -f conftest.err conftest.
$ac_objext \
3457 conftest
$ac_exeext conftest.
$ac_ext
3458 if test $ac_R_nospace = yes; then
3459 echo "$as_me:$LINENO: result: no" >&5
3460 echo "${ECHO_T}no" >&6
3461 X_LIBS
="$X_LIBS -R$x_libraries"
3463 LIBS
="$ac_xsave_LIBS -R $x_libraries"
3464 cat >conftest.
$ac_ext <<_ACEOF
3467 cat confdefs.h
>>conftest.
$ac_ext
3468 cat >>conftest.
$ac_ext <<_ACEOF
3469 /* end confdefs.h. */
3479 rm -f conftest.
$ac_objext conftest
$ac_exeext
3480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3481 (eval $ac_link) 2>conftest.er1
3483 grep -v '^ *+' conftest.er1
>conftest.err
3485 cat conftest.err
>&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); } &&
3488 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; } &&
3494 { ac_try
='test -s conftest$ac_exeext'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; }; then
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.
$ac_ext >&5
3507 rm -f conftest.err conftest.
$ac_objext \
3508 conftest
$ac_exeext conftest.
$ac_ext
3509 if test $ac_R_space = yes; then
3510 echo "$as_me:$LINENO: result: yes" >&5
3511 echo "${ECHO_T}yes" >&6
3512 X_LIBS
="$X_LIBS -R $x_libraries"
3514 echo "$as_me:$LINENO: result: neither works" >&5
3515 echo "${ECHO_T}neither works" >&6
3522 # Check for system-dependent libraries X programs must link with.
3523 # Do this before checking for the system-independent R6 libraries
3524 # (-lICE), since we may need -lsocket or whatever for X linking.
3526 if test "$ISC" = yes; then
3527 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
3529 # Martyn Johnson says this is needed for Ultrix, if the X
3530 # libraries were built with DECnet support. And Karl Berry says
3531 # the Alpha needs dnet_stub (dnet does not exist).
3532 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
3533 cat >conftest.
$ac_ext <<_ACEOF
3536 cat confdefs.h
>>conftest.
$ac_ext
3537 cat >>conftest.
$ac_ext <<_ACEOF
3538 /* end confdefs.h. */
3540 /* Override any gcc2 internal prototype to avoid an error. */
3544 /* We use char because int might match the return type of a gcc2
3545 builtin and then its argument prototype would still apply. */
3546 char XOpenDisplay ();
3555 rm -f conftest.
$ac_objext conftest
$ac_exeext
3556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3557 (eval $ac_link) 2>conftest.er1
3559 grep -v '^ *+' conftest.er1
>conftest.err
3561 cat conftest.err
>&5
3562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3563 (exit $ac_status); } &&
3564 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; } &&
3570 { ac_try
='test -s conftest$ac_exeext'
3571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3575 (exit $ac_status); }; }; then
3578 echo "$as_me: failed program was:" >&5
3579 sed 's/^/| /' conftest.
$ac_ext >&5
3581 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3582 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3583 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3584 echo $ECHO_N "(cached) $ECHO_C" >&6
3586 ac_check_lib_save_LIBS
=$LIBS
3588 cat >conftest.
$ac_ext <<_ACEOF
3591 cat confdefs.h
>>conftest.
$ac_ext
3592 cat >>conftest.
$ac_ext <<_ACEOF
3593 /* end confdefs.h. */
3595 /* Override any gcc2 internal prototype to avoid an error. */
3599 /* We use char because int might match the return type of a gcc2
3600 builtin and then its argument prototype would still apply. */
3610 rm -f conftest.
$ac_objext conftest
$ac_exeext
3611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3612 (eval $ac_link) 2>conftest.er1
3614 grep -v '^ *+' conftest.er1
>conftest.err
3616 cat conftest.err
>&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
3619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); }; } &&
3625 { ac_try
='test -s conftest$ac_exeext'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; }; then
3631 ac_cv_lib_dnet_dnet_ntoa
=yes
3633 echo "$as_me: failed program was:" >&5
3634 sed 's/^/| /' conftest.
$ac_ext >&5
3636 ac_cv_lib_dnet_dnet_ntoa
=no
3638 rm -f conftest.err conftest.
$ac_objext \
3639 conftest
$ac_exeext conftest.
$ac_ext
3640 LIBS
=$ac_check_lib_save_LIBS
3642 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3643 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3644 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3645 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
3648 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
3649 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3650 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3651 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3652 echo $ECHO_N "(cached) $ECHO_C" >&6
3654 ac_check_lib_save_LIBS
=$LIBS
3655 LIBS
="-ldnet_stub $LIBS"
3656 cat >conftest.
$ac_ext <<_ACEOF
3659 cat confdefs.h
>>conftest.
$ac_ext
3660 cat >>conftest.
$ac_ext <<_ACEOF
3661 /* end confdefs.h. */
3663 /* Override any gcc2 internal prototype to avoid an error. */
3667 /* We use char because int might match the return type of a gcc2
3668 builtin and then its argument prototype would still apply. */
3678 rm -f conftest.
$ac_objext conftest
$ac_exeext
3679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3680 (eval $ac_link) 2>conftest.er1
3682 grep -v '^ *+' conftest.er1
>conftest.err
3684 cat conftest.err
>&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } &&
3687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }; } &&
3693 { ac_try
='test -s conftest$ac_exeext'
3694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3698 (exit $ac_status); }; }; then
3699 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3701 echo "$as_me: failed program was:" >&5
3702 sed 's/^/| /' conftest.
$ac_ext >&5
3704 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3706 rm -f conftest.err conftest.
$ac_objext \
3707 conftest
$ac_exeext conftest.
$ac_ext
3708 LIBS
=$ac_check_lib_save_LIBS
3710 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3711 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3712 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3713 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3718 rm -f conftest.err conftest.
$ac_objext \
3719 conftest
$ac_exeext conftest.
$ac_ext
3720 LIBS
="$ac_xsave_LIBS"
3722 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3723 # to get the SysV transport functions.
3724 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3726 # The nsl library prevents programs from opening the X display
3727 # on Irix 5.2, according to T.E. Dickey.
3728 # The functions gethostbyname, getservbyname, and inet_addr are
3729 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3730 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3731 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3732 if test "${ac_cv_func_gethostbyname+set}" = set; then
3733 echo $ECHO_N "(cached) $ECHO_C" >&6
3735 cat >conftest.
$ac_ext <<_ACEOF
3738 cat confdefs.h
>>conftest.
$ac_ext
3739 cat >>conftest.
$ac_ext <<_ACEOF
3740 /* end confdefs.h. */
3741 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3743 #define gethostbyname innocuous_gethostbyname
3745 /* System header to define __stub macros and hopefully few prototypes,
3746 which can conflict with char gethostbyname (); below.
3747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3748 <limits.h> exists even on freestanding compilers. */
3751 # include <limits.h>
3753 # include <assert.h>
3756 #undef gethostbyname
3758 /* Override any gcc2 internal prototype to avoid an error. */
3763 /* We use char because int might match the return type of a gcc2
3764 builtin and then its argument prototype would still apply. */
3765 char gethostbyname ();
3766 /* The GNU C library defines this for functions which it implements
3767 to always fail with ENOSYS. Some functions are actually named
3768 something starting with __ and the normal name is an alias. */
3769 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3772 char (*f) () = gethostbyname;
3781 return f != gethostbyname;
3786 rm -f conftest.
$ac_objext conftest
$ac_exeext
3787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3788 (eval $ac_link) 2>conftest.er1
3790 grep -v '^ *+' conftest.er1
>conftest.err
3792 cat conftest.err
>&5
3793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3794 (exit $ac_status); } &&
3795 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3800 (exit $ac_status); }; } &&
3801 { ac_try
='test -s conftest$ac_exeext'
3802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3806 (exit $ac_status); }; }; then
3807 ac_cv_func_gethostbyname
=yes
3809 echo "$as_me: failed program was:" >&5
3810 sed 's/^/| /' conftest.
$ac_ext >&5
3812 ac_cv_func_gethostbyname
=no
3814 rm -f conftest.err conftest.
$ac_objext \
3815 conftest
$ac_exeext conftest.
$ac_ext
3817 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3818 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3820 if test $ac_cv_func_gethostbyname = no
; then
3821 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3822 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3823 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3824 echo $ECHO_N "(cached) $ECHO_C" >&6
3826 ac_check_lib_save_LIBS
=$LIBS
3828 cat >conftest.
$ac_ext <<_ACEOF
3831 cat confdefs.h
>>conftest.
$ac_ext
3832 cat >>conftest.
$ac_ext <<_ACEOF
3833 /* end confdefs.h. */
3835 /* Override any gcc2 internal prototype to avoid an error. */
3839 /* We use char because int might match the return type of a gcc2
3840 builtin and then its argument prototype would still apply. */
3841 char gethostbyname ();
3850 rm -f conftest.
$ac_objext conftest
$ac_exeext
3851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3852 (eval $ac_link) 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3864 (exit $ac_status); }; } &&
3865 { ac_try
='test -s conftest$ac_exeext'
3866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); }; }; then
3871 ac_cv_lib_nsl_gethostbyname
=yes
3873 echo "$as_me: failed program was:" >&5
3874 sed 's/^/| /' conftest.
$ac_ext >&5
3876 ac_cv_lib_nsl_gethostbyname
=no
3878 rm -f conftest.err conftest.
$ac_objext \
3879 conftest
$ac_exeext conftest.
$ac_ext
3880 LIBS
=$ac_check_lib_save_LIBS
3882 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3883 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3884 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3885 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3888 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3889 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3890 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3891 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3892 echo $ECHO_N "(cached) $ECHO_C" >&6
3894 ac_check_lib_save_LIBS
=$LIBS
3896 cat >conftest.
$ac_ext <<_ACEOF
3899 cat confdefs.h
>>conftest.
$ac_ext
3900 cat >>conftest.
$ac_ext <<_ACEOF
3901 /* end confdefs.h. */
3903 /* Override any gcc2 internal prototype to avoid an error. */
3907 /* We use char because int might match the return type of a gcc2
3908 builtin and then its argument prototype would still apply. */
3909 char gethostbyname ();
3918 rm -f conftest.
$ac_objext conftest
$ac_exeext
3919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3920 (eval $ac_link) 2>conftest.er1
3922 grep -v '^ *+' conftest.er1
>conftest.err
3924 cat conftest.err
>&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); } &&
3927 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; } &&
3933 { ac_try
='test -s conftest$ac_exeext'
3934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3938 (exit $ac_status); }; }; then
3939 ac_cv_lib_bsd_gethostbyname
=yes
3941 echo "$as_me: failed program was:" >&5
3942 sed 's/^/| /' conftest.
$ac_ext >&5
3944 ac_cv_lib_bsd_gethostbyname
=no
3946 rm -f conftest.err conftest.
$ac_objext \
3947 conftest
$ac_exeext conftest.
$ac_ext
3948 LIBS
=$ac_check_lib_save_LIBS
3950 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3951 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3952 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3953 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3959 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3960 # socket/setsockopt and other routines are undefined under SCO ODT
3961 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3962 # on later versions), says Simon Leinen: it contains gethostby*
3963 # variants that don't use the name server (or something). -lsocket
3964 # must be given before -lnsl if both are needed. We assume that
3965 # if connect needs -lnsl, so does gethostbyname.
3966 echo "$as_me:$LINENO: checking for connect" >&5
3967 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3968 if test "${ac_cv_func_connect+set}" = set; then
3969 echo $ECHO_N "(cached) $ECHO_C" >&6
3971 cat >conftest.
$ac_ext <<_ACEOF
3974 cat confdefs.h
>>conftest.
$ac_ext
3975 cat >>conftest.
$ac_ext <<_ACEOF
3976 /* end confdefs.h. */
3977 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3979 #define connect innocuous_connect
3981 /* System header to define __stub macros and hopefully few prototypes,
3982 which can conflict with char connect (); below.
3983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3984 <limits.h> exists even on freestanding compilers. */
3987 # include <limits.h>
3989 # include <assert.h>
3994 /* Override any gcc2 internal prototype to avoid an error. */
3999 /* We use char because int might match the return type of a gcc2
4000 builtin and then its argument prototype would still apply. */
4002 /* The GNU C library defines this for functions which it implements
4003 to always fail with ENOSYS. Some functions are actually named
4004 something starting with __ and the normal name is an alias. */
4005 #if defined (__stub_connect) || defined (__stub___connect)
4008 char (*f) () = connect;
4017 return f != connect;
4022 rm -f conftest.
$ac_objext conftest
$ac_exeext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4024 (eval $ac_link) 2>conftest.er1
4026 grep -v '^ *+' conftest.er1
>conftest.err
4028 cat conftest.err
>&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }; } &&
4037 { ac_try
='test -s conftest$ac_exeext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4043 ac_cv_func_connect
=yes
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.
$ac_ext >&5
4048 ac_cv_func_connect
=no
4050 rm -f conftest.err conftest.
$ac_objext \
4051 conftest
$ac_exeext conftest.
$ac_ext
4053 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4054 echo "${ECHO_T}$ac_cv_func_connect" >&6
4056 if test $ac_cv_func_connect = no
; then
4057 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4058 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4059 if test "${ac_cv_lib_socket_connect+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 ac_check_lib_save_LIBS
=$LIBS
4063 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4064 cat >conftest.
$ac_ext <<_ACEOF
4067 cat confdefs.h
>>conftest.
$ac_ext
4068 cat >>conftest.
$ac_ext <<_ACEOF
4069 /* end confdefs.h. */
4071 /* Override any gcc2 internal prototype to avoid an error. */
4075 /* We use char because int might match the return type of a gcc2
4076 builtin and then its argument prototype would still apply. */
4086 rm -f conftest.
$ac_objext conftest
$ac_exeext
4087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4088 (eval $ac_link) 2>conftest.er1
4090 grep -v '^ *+' conftest.er1
>conftest.err
4092 cat conftest.err
>&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } &&
4095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; } &&
4101 { ac_try
='test -s conftest$ac_exeext'
4102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4106 (exit $ac_status); }; }; then
4107 ac_cv_lib_socket_connect
=yes
4109 echo "$as_me: failed program was:" >&5
4110 sed 's/^/| /' conftest.
$ac_ext >&5
4112 ac_cv_lib_socket_connect
=no
4114 rm -f conftest.err conftest.
$ac_objext \
4115 conftest
$ac_exeext conftest.
$ac_ext
4116 LIBS
=$ac_check_lib_save_LIBS
4118 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4119 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4120 if test $ac_cv_lib_socket_connect = yes; then
4121 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
4126 # Guillermo Gomez says -lposix is necessary on A/UX.
4127 echo "$as_me:$LINENO: checking for remove" >&5
4128 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4129 if test "${ac_cv_func_remove+set}" = set; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 cat >conftest.
$ac_ext <<_ACEOF
4135 cat confdefs.h
>>conftest.
$ac_ext
4136 cat >>conftest.
$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4138 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4140 #define remove innocuous_remove
4142 /* System header to define __stub macros and hopefully few prototypes,
4143 which can conflict with char remove (); below.
4144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4145 <limits.h> exists even on freestanding compilers. */
4148 # include <limits.h>
4150 # include <assert.h>
4155 /* Override any gcc2 internal prototype to avoid an error. */
4160 /* We use char because int might match the return type of a gcc2
4161 builtin and then its argument prototype would still apply. */
4163 /* The GNU C library defines this for functions which it implements
4164 to always fail with ENOSYS. Some functions are actually named
4165 something starting with __ and the normal name is an alias. */
4166 #if defined (__stub_remove) || defined (__stub___remove)
4169 char (*f) () = remove;
4183 rm -f conftest.
$ac_objext conftest
$ac_exeext
4184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4185 (eval $ac_link) 2>conftest.er1
4187 grep -v '^ *+' conftest.er1
>conftest.err
4189 cat conftest.err
>&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); } &&
4192 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; } &&
4198 { ac_try
='test -s conftest$ac_exeext'
4199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4203 (exit $ac_status); }; }; then
4204 ac_cv_func_remove
=yes
4206 echo "$as_me: failed program was:" >&5
4207 sed 's/^/| /' conftest.
$ac_ext >&5
4209 ac_cv_func_remove
=no
4211 rm -f conftest.err conftest.
$ac_objext \
4212 conftest
$ac_exeext conftest.
$ac_ext
4214 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4215 echo "${ECHO_T}$ac_cv_func_remove" >&6
4217 if test $ac_cv_func_remove = no
; then
4218 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4219 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4220 if test "${ac_cv_lib_posix_remove+set}" = set; then
4221 echo $ECHO_N "(cached) $ECHO_C" >&6
4223 ac_check_lib_save_LIBS
=$LIBS
4224 LIBS
="-lposix $LIBS"
4225 cat >conftest.
$ac_ext <<_ACEOF
4228 cat confdefs.h
>>conftest.
$ac_ext
4229 cat >>conftest.
$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4232 /* Override any gcc2 internal prototype to avoid an error. */
4236 /* We use char because int might match the return type of a gcc2
4237 builtin and then its argument prototype would still apply. */
4247 rm -f conftest.
$ac_objext conftest
$ac_exeext
4248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4249 (eval $ac_link) 2>conftest.er1
4251 grep -v '^ *+' conftest.er1
>conftest.err
4253 cat conftest.err
>&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } &&
4256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; } &&
4262 { ac_try
='test -s conftest$ac_exeext'
4263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); }; }; then
4268 ac_cv_lib_posix_remove
=yes
4270 echo "$as_me: failed program was:" >&5
4271 sed 's/^/| /' conftest.
$ac_ext >&5
4273 ac_cv_lib_posix_remove
=no
4275 rm -f conftest.err conftest.
$ac_objext \
4276 conftest
$ac_exeext conftest.
$ac_ext
4277 LIBS
=$ac_check_lib_save_LIBS
4279 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4280 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4281 if test $ac_cv_lib_posix_remove = yes; then
4282 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
4287 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4288 echo "$as_me:$LINENO: checking for shmat" >&5
4289 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4290 if test "${ac_cv_func_shmat+set}" = set; then
4291 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 cat >conftest.
$ac_ext <<_ACEOF
4296 cat confdefs.h
>>conftest.
$ac_ext
4297 cat >>conftest.
$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4299 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4301 #define shmat innocuous_shmat
4303 /* System header to define __stub macros and hopefully few prototypes,
4304 which can conflict with char shmat (); below.
4305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4306 <limits.h> exists even on freestanding compilers. */
4309 # include <limits.h>
4311 # include <assert.h>
4316 /* Override any gcc2 internal prototype to avoid an error. */
4321 /* We use char because int might match the return type of a gcc2
4322 builtin and then its argument prototype would still apply. */
4324 /* The GNU C library defines this for functions which it implements
4325 to always fail with ENOSYS. Some functions are actually named
4326 something starting with __ and the normal name is an alias. */
4327 #if defined (__stub_shmat) || defined (__stub___shmat)
4330 char (*f) () = shmat;
4344 rm -f conftest.
$ac_objext conftest
$ac_exeext
4345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4346 (eval $ac_link) 2>conftest.er1
4348 grep -v '^ *+' conftest.er1
>conftest.err
4350 cat conftest.err
>&5
4351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352 (exit $ac_status); } &&
4353 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); }; } &&
4359 { ac_try
='test -s conftest$ac_exeext'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; }; then
4365 ac_cv_func_shmat
=yes
4367 echo "$as_me: failed program was:" >&5
4368 sed 's/^/| /' conftest.
$ac_ext >&5
4372 rm -f conftest.err conftest.
$ac_objext \
4373 conftest
$ac_exeext conftest.
$ac_ext
4375 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4376 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4378 if test $ac_cv_func_shmat = no
; then
4379 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4380 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4381 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4384 ac_check_lib_save_LIBS
=$LIBS
4386 cat >conftest.
$ac_ext <<_ACEOF
4389 cat confdefs.h
>>conftest.
$ac_ext
4390 cat >>conftest.
$ac_ext <<_ACEOF
4391 /* end confdefs.h. */
4393 /* Override any gcc2 internal prototype to avoid an error. */
4397 /* We use char because int might match the return type of a gcc2
4398 builtin and then its argument prototype would still apply. */
4408 rm -f conftest.
$ac_objext conftest
$ac_exeext
4409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4410 (eval $ac_link) 2>conftest.er1
4412 grep -v '^ *+' conftest.er1
>conftest.err
4414 cat conftest.err
>&5
4415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4416 (exit $ac_status); } &&
4417 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; } &&
4423 { ac_try
='test -s conftest$ac_exeext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 ac_cv_lib_ipc_shmat
=yes
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.
$ac_ext >&5
4434 ac_cv_lib_ipc_shmat
=no
4436 rm -f conftest.err conftest.
$ac_objext \
4437 conftest
$ac_exeext conftest.
$ac_ext
4438 LIBS
=$ac_check_lib_save_LIBS
4440 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4441 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4442 if test $ac_cv_lib_ipc_shmat = yes; then
4443 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
4449 # Check for libraries that X11R6 Xt/Xaw programs need.
4450 ac_save_LDFLAGS
=$LDFLAGS
4451 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
4452 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4453 # check for ICE first), but we must link in the order -lSM -lICE or
4454 # we get undefined symbols. So assume we have SM if we have ICE.
4455 # These have to be linked with before -lX11, unlike the other
4456 # libraries we check for below, so use a different variable.
4457 # John Interrante, Karl Berry
4458 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4459 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4460 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4463 ac_check_lib_save_LIBS
=$LIBS
4464 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
4465 cat >conftest.
$ac_ext <<_ACEOF
4468 cat confdefs.h
>>conftest.
$ac_ext
4469 cat >>conftest.
$ac_ext <<_ACEOF
4470 /* end confdefs.h. */
4472 /* Override any gcc2 internal prototype to avoid an error. */
4476 /* We use char because int might match the return type of a gcc2
4477 builtin and then its argument prototype would still apply. */
4478 char IceConnectionNumber ();
4482 IceConnectionNumber ();
4487 rm -f conftest.
$ac_objext conftest
$ac_exeext
4488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4489 (eval $ac_link) 2>conftest.er1
4491 grep -v '^ *+' conftest.er1
>conftest.err
4493 cat conftest.err
>&5
4494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4495 (exit $ac_status); } &&
4496 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4501 (exit $ac_status); }; } &&
4502 { ac_try
='test -s conftest$ac_exeext'
4503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4507 (exit $ac_status); }; }; then
4508 ac_cv_lib_ICE_IceConnectionNumber
=yes
4510 echo "$as_me: failed program was:" >&5
4511 sed 's/^/| /' conftest.
$ac_ext >&5
4513 ac_cv_lib_ICE_IceConnectionNumber
=no
4515 rm -f conftest.err conftest.
$ac_objext \
4516 conftest
$ac_exeext conftest.
$ac_ext
4517 LIBS
=$ac_check_lib_save_LIBS
4519 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4520 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4521 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4522 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
4525 LDFLAGS
=$ac_save_LDFLAGS
4529 for ac_prog
in flex
lex
4531 # Extract the first word of "$ac_prog", so it can be a program name with args.
4532 set dummy
$ac_prog; ac_word
=$2
4533 echo "$as_me:$LINENO: checking for $ac_word" >&5
4534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4535 if test "${ac_cv_prog_LEX+set}" = set; then
4536 echo $ECHO_N "(cached) $ECHO_C" >&6
4538 if test -n "$LEX"; then
4539 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4545 test -z "$as_dir" && as_dir
=.
4546 for ac_exec_ext
in '' $ac_executable_extensions; do
4547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4548 ac_cv_prog_LEX
="$ac_prog"
4549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4558 if test -n "$LEX"; then
4559 echo "$as_me:$LINENO: result: $LEX" >&5
4560 echo "${ECHO_T}$LEX" >&6
4562 echo "$as_me:$LINENO: result: no" >&5
4563 echo "${ECHO_T}no" >&6
4566 test -n "$LEX" && break
4568 test -n "$LEX" || LEX
=":"
4570 if test -z "$LEXLIB"
4572 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4573 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4574 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4575 echo $ECHO_N "(cached) $ECHO_C" >&6
4577 ac_check_lib_save_LIBS
=$LIBS
4579 cat >conftest.
$ac_ext <<_ACEOF
4582 cat confdefs.h
>>conftest.
$ac_ext
4583 cat >>conftest.
$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4586 /* Override any gcc2 internal prototype to avoid an error. */
4590 /* We use char because int might match the return type of a gcc2
4591 builtin and then its argument prototype would still apply. */
4601 rm -f conftest.
$ac_objext conftest
$ac_exeext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4603 (eval $ac_link) 2>conftest.er1
4605 grep -v '^ *+' conftest.er1
>conftest.err
4607 cat conftest.err
>&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } &&
4610 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); }; } &&
4616 { ac_try
='test -s conftest$ac_exeext'
4617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); }; }; then
4622 ac_cv_lib_fl_yywrap
=yes
4624 echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.
$ac_ext >&5
4627 ac_cv_lib_fl_yywrap
=no
4629 rm -f conftest.err conftest.
$ac_objext \
4630 conftest
$ac_exeext conftest.
$ac_ext
4631 LIBS
=$ac_check_lib_save_LIBS
4633 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4634 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4635 if test $ac_cv_lib_fl_yywrap = yes; then
4638 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4639 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4640 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4641 echo $ECHO_N "(cached) $ECHO_C" >&6
4643 ac_check_lib_save_LIBS
=$LIBS
4645 cat >conftest.
$ac_ext <<_ACEOF
4648 cat confdefs.h
>>conftest.
$ac_ext
4649 cat >>conftest.
$ac_ext <<_ACEOF
4650 /* end confdefs.h. */
4652 /* Override any gcc2 internal prototype to avoid an error. */
4656 /* We use char because int might match the return type of a gcc2
4657 builtin and then its argument prototype would still apply. */
4667 rm -f conftest.
$ac_objext conftest
$ac_exeext
4668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4669 (eval $ac_link) 2>conftest.er1
4671 grep -v '^ *+' conftest.er1
>conftest.err
4673 cat conftest.err
>&5
4674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4675 (exit $ac_status); } &&
4676 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); }; } &&
4682 { ac_try
='test -s conftest$ac_exeext'
4683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); }; }; then
4688 ac_cv_lib_l_yywrap
=yes
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.
$ac_ext >&5
4693 ac_cv_lib_l_yywrap
=no
4695 rm -f conftest.err conftest.
$ac_objext \
4696 conftest
$ac_exeext conftest.
$ac_ext
4697 LIBS
=$ac_check_lib_save_LIBS
4699 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4700 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4701 if test $ac_cv_lib_l_yywrap = yes; then
4709 if test "x$LEX" != "x:"; then
4710 echo "$as_me:$LINENO: checking lex output file root" >&5
4711 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4712 if test "${ac_cv_prog_lex_root+set}" = set; then
4713 echo $ECHO_N "(cached) $ECHO_C" >&6
4715 # The minimal lex program is just a single line: %%. But some broken lexes
4716 # (Solaris, I think it was) want two %% lines, so accommodate them.
4717 cat >conftest.l
<<_ACEOF
4721 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4722 (eval $LEX conftest.l
) 2>&5
4724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4725 (exit $ac_status); }
4726 if test -f lex.yy.c
; then
4727 ac_cv_prog_lex_root
=lex.yy
4728 elif test -f lexyy.c
; then
4729 ac_cv_prog_lex_root
=lexyy
4731 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4732 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4733 { (exit 1); exit 1; }; }
4736 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4737 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4739 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4741 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4742 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4743 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 # POSIX says lex can declare yytext either as a pointer or an array; the
4747 # default is implementation-dependent. Figure out which it is, since
4748 # not all implementations provide the %pointer and %array declarations.
4749 ac_cv_prog_lex_yytext_pointer
=no
4750 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4752 LIBS
="$LIBS $LEXLIB"
4753 cat >conftest.
$ac_ext <<_ACEOF
4754 `cat $LEX_OUTPUT_ROOT.c`
4756 rm -f conftest.
$ac_objext conftest
$ac_exeext
4757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4758 (eval $ac_link) 2>conftest.er1
4760 grep -v '^ *+' conftest.er1
>conftest.err
4762 cat conftest.err
>&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); } &&
4765 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770 (exit $ac_status); }; } &&
4771 { ac_try
='test -s conftest$ac_exeext'
4772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776 (exit $ac_status); }; }; then
4777 ac_cv_prog_lex_yytext_pointer
=yes
4779 echo "$as_me: failed program was:" >&5
4780 sed 's/^/| /' conftest.
$ac_ext >&5
4783 rm -f conftest.err conftest.
$ac_objext \
4784 conftest
$ac_exeext conftest.
$ac_ext
4786 rm -f "${LEX_OUTPUT_ROOT}.c"
4789 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4790 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4791 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4793 cat >>confdefs.h
<<\_ACEOF
4794 #define YYTEXT_POINTER 1
4801 for ac_prog
in $LEX flex
lex
4803 # Extract the first word of "$ac_prog", so it can be a program name with args.
4804 set dummy
$ac_prog; ac_word
=$2
4805 echo "$as_me:$LINENO: checking for $ac_word" >&5
4806 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4807 if test "${ac_cv_prog_XLEX+set}" = set; then
4808 echo $ECHO_N "(cached) $ECHO_C" >&6
4810 if test -n "$XLEX"; then
4811 ac_cv_prog_XLEX
="$XLEX" # Let the user override the test.
4813 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4817 test -z "$as_dir" && as_dir
=.
4818 for ac_exec_ext
in '' $ac_executable_extensions; do
4819 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4820 ac_cv_prog_XLEX
="$ac_prog"
4821 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4829 XLEX
=$ac_cv_prog_XLEX
4830 if test -n "$XLEX"; then
4831 echo "$as_me:$LINENO: result: $XLEX" >&5
4832 echo "${ECHO_T}$XLEX" >&6
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4838 test -n "$XLEX" && break
4840 test -n "$XLEX" || XLEX
="none"
4842 if test "$XLEX" = "none"
4844 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4845 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4846 { (exit 1); exit 1; }; }
4849 for ac_prog
in bison
4851 # Extract the first word of "$ac_prog", so it can be a program name with args.
4852 set dummy
$ac_prog; ac_word
=$2
4853 echo "$as_me:$LINENO: checking for $ac_word" >&5
4854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4855 if test "${ac_cv_prog_BISON+set}" = set; then
4856 echo $ECHO_N "(cached) $ECHO_C" >&6
4858 if test -n "$BISON"; then
4859 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4861 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4865 test -z "$as_dir" && as_dir
=.
4866 for ac_exec_ext
in '' $ac_executable_extensions; do
4867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4868 ac_cv_prog_BISON
="$ac_prog"
4869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4877 BISON
=$ac_cv_prog_BISON
4878 if test -n "$BISON"; then
4879 echo "$as_me:$LINENO: result: $BISON" >&5
4880 echo "${ECHO_T}$BISON" >&6
4882 echo "$as_me:$LINENO: result: no" >&5
4883 echo "${ECHO_T}no" >&6
4886 test -n "$BISON" && break
4888 test -n "$BISON" || BISON
="none"
4890 if test "$BISON" = "none"
4892 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4893 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4894 { (exit 1); exit 1; }; }
4897 if test -n "$ac_tool_prefix"; then
4898 for ac_prog
in gas as
4900 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4901 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4902 echo "$as_me:$LINENO: checking for $ac_word" >&5
4903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4904 if test "${ac_cv_prog_AS+set}" = set; then
4905 echo $ECHO_N "(cached) $ECHO_C" >&6
4907 if test -n "$AS"; then
4908 ac_cv_prog_AS
="$AS" # Let the user override the test.
4910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4914 test -z "$as_dir" && as_dir
=.
4915 for ac_exec_ext
in '' $ac_executable_extensions; do
4916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4917 ac_cv_prog_AS
="$ac_tool_prefix$ac_prog"
4918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4927 if test -n "$AS"; then
4928 echo "$as_me:$LINENO: result: $AS" >&5
4929 echo "${ECHO_T}$AS" >&6
4931 echo "$as_me:$LINENO: result: no" >&5
4932 echo "${ECHO_T}no" >&6
4935 test -n "$AS" && break
4938 if test -z "$AS"; then
4940 for ac_prog
in gas as
4942 # Extract the first word of "$ac_prog", so it can be a program name with args.
4943 set dummy
$ac_prog; ac_word
=$2
4944 echo "$as_me:$LINENO: checking for $ac_word" >&5
4945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4946 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4947 echo $ECHO_N "(cached) $ECHO_C" >&6
4949 if test -n "$ac_ct_AS"; then
4950 ac_cv_prog_ac_ct_AS
="$ac_ct_AS" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_ac_ct_AS
="$ac_prog"
4960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4968 ac_ct_AS
=$ac_cv_prog_ac_ct_AS
4969 if test -n "$ac_ct_AS"; then
4970 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4971 echo "${ECHO_T}$ac_ct_AS" >&6
4973 echo "$as_me:$LINENO: result: no" >&5
4974 echo "${ECHO_T}no" >&6
4977 test -n "$ac_ct_AS" && break
4979 test -n "$ac_ct_AS" || ac_ct_AS
="as"
4984 if test -n "$ac_tool_prefix"; then
4985 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4986 set dummy
${ac_tool_prefix}ld
; ac_word
=$2
4987 echo "$as_me:$LINENO: checking for $ac_word" >&5
4988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4989 if test "${ac_cv_prog_LD+set}" = set; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 if test -n "$LD"; then
4993 ac_cv_prog_LD
="$LD" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_LD
="${ac_tool_prefix}ld"
5003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 if test -n "$LD"; then
5013 echo "$as_me:$LINENO: result: $LD" >&5
5014 echo "${ECHO_T}$LD" >&6
5016 echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6
5021 if test -z "$ac_cv_prog_LD"; then
5023 # Extract the first word of "ld", so it can be a program name with args.
5024 set dummy ld
; ac_word
=$2
5025 echo "$as_me:$LINENO: checking for $ac_word" >&5
5026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5027 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5028 echo $ECHO_N "(cached) $ECHO_C" >&6
5030 if test -n "$ac_ct_LD"; then
5031 ac_cv_prog_ac_ct_LD
="$ac_ct_LD" # Let the user override the test.
5033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5037 test -z "$as_dir" && as_dir
=.
5038 for ac_exec_ext
in '' $ac_executable_extensions; do
5039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5040 ac_cv_prog_ac_ct_LD
="ld"
5041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD
="ld"
5050 ac_ct_LD
=$ac_cv_prog_ac_ct_LD
5051 if test -n "$ac_ct_LD"; then
5052 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5053 echo "${ECHO_T}$ac_ct_LD" >&6
5055 echo "$as_me:$LINENO: result: no" >&5
5056 echo "${ECHO_T}no" >&6
5064 if test -n "$ac_tool_prefix"; then
5065 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5066 set dummy
${ac_tool_prefix}ar; ac_word
=$2
5067 echo "$as_me:$LINENO: checking for $ac_word" >&5
5068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5069 if test "${ac_cv_prog_AR+set}" = set; then
5070 echo $ECHO_N "(cached) $ECHO_C" >&6
5072 if test -n "$AR"; then
5073 ac_cv_prog_AR
="$AR" # Let the user override the test.
5075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5079 test -z "$as_dir" && as_dir
=.
5080 for ac_exec_ext
in '' $ac_executable_extensions; do
5081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5082 ac_cv_prog_AR
="${ac_tool_prefix}ar"
5083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5092 if test -n "$AR"; then
5093 echo "$as_me:$LINENO: result: $AR" >&5
5094 echo "${ECHO_T}$AR" >&6
5096 echo "$as_me:$LINENO: result: no" >&5
5097 echo "${ECHO_T}no" >&6
5101 if test -z "$ac_cv_prog_AR"; then
5103 # Extract the first word of "ar", so it can be a program name with args.
5104 set dummy
ar; ac_word
=$2
5105 echo "$as_me:$LINENO: checking for $ac_word" >&5
5106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5107 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5108 echo $ECHO_N "(cached) $ECHO_C" >&6
5110 if test -n "$ac_ct_AR"; then
5111 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
5113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5117 test -z "$as_dir" && as_dir
=.
5118 for ac_exec_ext
in '' $ac_executable_extensions; do
5119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5120 ac_cv_prog_ac_ct_AR
="ar"
5121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR
="ar"
5130 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
5131 if test -n "$ac_ct_AR"; then
5132 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5133 echo "${ECHO_T}$ac_ct_AR" >&6
5135 echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6
5144 if test -n "$ac_tool_prefix"; then
5145 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5146 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
5147 echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5149 if test "${ac_cv_prog_RANLIB+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 if test -n "$RANLIB"; then
5153 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir
=.
5160 for ac_exec_ext
in '' $ac_executable_extensions; do
5161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
5163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5171 RANLIB
=$ac_cv_prog_RANLIB
5172 if test -n "$RANLIB"; then
5173 echo "$as_me:$LINENO: result: $RANLIB" >&5
5174 echo "${ECHO_T}$RANLIB" >&6
5176 echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6
5181 if test -z "$ac_cv_prog_RANLIB"; then
5182 ac_ct_RANLIB
=$RANLIB
5183 # Extract the first word of "ranlib", so it can be a program name with args.
5184 set dummy ranlib
; ac_word
=$2
5185 echo "$as_me:$LINENO: checking for $ac_word" >&5
5186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5187 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 if test -n "$ac_ct_RANLIB"; then
5191 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
5193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5197 test -z "$as_dir" && as_dir
=.
5198 for ac_exec_ext
in '' $ac_executable_extensions; do
5199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5200 ac_cv_prog_ac_ct_RANLIB
="ranlib"
5201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
5210 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
5211 if test -n "$ac_ct_RANLIB"; then
5212 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5213 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5215 echo "$as_me:$LINENO: result: no" >&5
5216 echo "${ECHO_T}no" >&6
5219 RANLIB
=$ac_ct_RANLIB
5221 RANLIB
="$ac_cv_prog_RANLIB"
5224 if test -n "$ac_tool_prefix"; then
5225 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5226 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
5227 echo "$as_me:$LINENO: checking for $ac_word" >&5
5228 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5229 if test "${ac_cv_prog_STRIP+set}" = set; then
5230 echo $ECHO_N "(cached) $ECHO_C" >&6
5232 if test -n "$STRIP"; then
5233 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5235 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5239 test -z "$as_dir" && as_dir
=.
5240 for ac_exec_ext
in '' $ac_executable_extensions; do
5241 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5242 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
5243 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 STRIP
=$ac_cv_prog_STRIP
5252 if test -n "$STRIP"; then
5253 echo "$as_me:$LINENO: result: $STRIP" >&5
5254 echo "${ECHO_T}$STRIP" >&6
5256 echo "$as_me:$LINENO: result: no" >&5
5257 echo "${ECHO_T}no" >&6
5261 if test -z "$ac_cv_prog_STRIP"; then
5263 # Extract the first word of "strip", so it can be a program name with args.
5264 set dummy strip
; ac_word
=$2
5265 echo "$as_me:$LINENO: checking for $ac_word" >&5
5266 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5267 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5268 echo $ECHO_N "(cached) $ECHO_C" >&6
5270 if test -n "$ac_ct_STRIP"; then
5271 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
5273 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5277 test -z "$as_dir" && as_dir
=.
5278 for ac_exec_ext
in '' $ac_executable_extensions; do
5279 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_ac_ct_STRIP
="strip"
5281 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
="strip"
5290 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
5291 if test -n "$ac_ct_STRIP"; then
5292 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5293 echo "${ECHO_T}$ac_ct_STRIP" >&6
5295 echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6
5301 STRIP
="$ac_cv_prog_STRIP"
5304 if test -n "$ac_tool_prefix"; then
5305 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5306 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
5307 echo "$as_me:$LINENO: checking for $ac_word" >&5
5308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5309 if test "${ac_cv_prog_WINDRES+set}" = set; then
5310 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 if test -n "$WINDRES"; then
5313 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
5315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5319 test -z "$as_dir" && as_dir
=.
5320 for ac_exec_ext
in '' $ac_executable_extensions; do
5321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5322 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
5323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5331 WINDRES
=$ac_cv_prog_WINDRES
5332 if test -n "$WINDRES"; then
5333 echo "$as_me:$LINENO: result: $WINDRES" >&5
5334 echo "${ECHO_T}$WINDRES" >&6
5336 echo "$as_me:$LINENO: result: no" >&5
5337 echo "${ECHO_T}no" >&6
5341 if test -z "$ac_cv_prog_WINDRES"; then
5342 ac_ct_WINDRES
=$WINDRES
5343 # Extract the first word of "windres", so it can be a program name with args.
5344 set dummy windres
; ac_word
=$2
5345 echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5347 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5348 echo $ECHO_N "(cached) $ECHO_C" >&6
5350 if test -n "$ac_ct_WINDRES"; then
5351 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5357 test -z "$as_dir" && as_dir
=.
5358 for ac_exec_ext
in '' $ac_executable_extensions; do
5359 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5360 ac_cv_prog_ac_ct_WINDRES
="windres"
5361 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES
="false"
5370 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5371 if test -n "$ac_ct_WINDRES"; then
5372 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5373 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5375 echo "$as_me:$LINENO: result: no" >&5
5376 echo "${ECHO_T}no" >&6
5379 WINDRES
=$ac_ct_WINDRES
5381 WINDRES
="$ac_cv_prog_WINDRES"
5384 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5385 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5387 if test "$LN_S" = "ln -s"; then
5388 echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6
5391 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5392 echo "${ECHO_T}no, using $LN_S" >&6
5395 echo "$as_me:$LINENO: checking whether ln works" >&5
5396 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5397 rm -f conf$$ conf$$.
file
5399 if ln conf$$.
file conf$$
2>/dev
/null
; then
5402 echo "$as_me:$LINENO: result: yes" >&5
5403 echo "${ECHO_T}yes" >&6
5407 echo "$as_me:$LINENO: result: no, using $LN" >&5
5408 echo "${ECHO_T}no, using $LN" >&6
5410 rm -f conf$$ conf$$.
file
5411 echo "$as_me:$LINENO: checking for egrep" >&5
5412 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5413 if test "${ac_cv_prog_egrep+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
5417 then ac_cv_prog_egrep
='grep -E'
5418 else ac_cv_prog_egrep
='egrep'
5421 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5422 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5423 EGREP
=$ac_cv_prog_egrep
5426 # Extract the first word of "ldconfig", so it can be a program name with args.
5427 set dummy ldconfig
; ac_word
=$2
5428 echo "$as_me:$LINENO: checking for $ac_word" >&5
5429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5430 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5435 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
5438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5439 for as_dir
in /sbin
/usr
/sbin
$PATH
5442 test -z "$as_dir" && as_dir
=.
5443 for ac_exec_ext
in '' $ac_executable_extensions; do
5444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5445 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
5446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
5456 LDCONFIG
=$ac_cv_path_LDCONFIG
5458 if test -n "$LDCONFIG"; then
5459 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5460 echo "${ECHO_T}$LDCONFIG" >&6
5462 echo "$as_me:$LINENO: result: no" >&5
5463 echo "${ECHO_T}no" >&6
5466 # Find a good install program. We prefer a C program (faster),
5467 # so one script is as good as another. But avoid the broken or
5468 # incompatible versions:
5469 # SysV /etc/install, /usr/sbin/install
5470 # SunOS /usr/etc/install
5471 # IRIX /sbin/install
5473 # AmigaOS /C/install, which installs bootblocks on floppy discs
5474 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5475 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5476 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5477 # OS/2's system install, which has a completely different semantic
5478 # ./install, which can be erroneously created by make from ./install.sh.
5479 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5480 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5481 if test -z "$INSTALL"; then
5482 if test "${ac_cv_path_install+set}" = set; then
5483 echo $ECHO_N "(cached) $ECHO_C" >&6
5485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir
=.
5490 # Account for people who put trailing slashes in PATH elements.
5492 .
/ | .
// |
/cC
/* | \
5493 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
5494 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
5497 # OSF1 and SCO ODT 3.0 have their own names for install.
5498 # Don't use installbsd from OSF since it installs stuff as root
5500 for ac_prog
in ginstall scoinst
install; do
5501 for ac_exec_ext
in '' $ac_executable_extensions; do
5502 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5503 if test $ac_prog = install &&
5504 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5505 # AIX install. It has an incompatible calling convention.
5507 elif test $ac_prog = install &&
5508 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
5509 # program-specific install script used by HP pwplus--don't use.
5512 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
5524 if test "${ac_cv_path_install+set}" = set; then
5525 INSTALL
=$ac_cv_path_install
5527 # As a last resort, use the slow shell script. We don't cache a
5528 # path for INSTALL within a source directory, because that will
5529 # break other packages using the cache if that directory is
5530 # removed, or if the path is relative.
5531 INSTALL
=$ac_install_sh
5534 echo "$as_me:$LINENO: result: $INSTALL" >&5
5535 echo "${ECHO_T}$INSTALL" >&6
5537 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5538 # It thinks the first close brace ends the variable substitution.
5539 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5541 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
5543 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5546 [\\/$
]* | ?
:[\\/]* ) ;;
5547 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
5550 for ac_prog
in lclint lint
5552 # Extract the first word of "$ac_prog", so it can be a program name with args.
5553 set dummy
$ac_prog; ac_word
=$2
5554 echo "$as_me:$LINENO: checking for $ac_word" >&5
5555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5556 if test "${ac_cv_prog_LINT+set}" = set; then
5557 echo $ECHO_N "(cached) $ECHO_C" >&6
5559 if test -n "$LINT"; then
5560 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
5562 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5566 test -z "$as_dir" && as_dir
=.
5567 for ac_exec_ext
in '' $ac_executable_extensions; do
5568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5569 ac_cv_prog_LINT
="$ac_prog"
5570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5578 LINT
=$ac_cv_prog_LINT
5579 if test -n "$LINT"; then
5580 echo "$as_me:$LINENO: result: $LINT" >&5
5581 echo "${ECHO_T}$LINT" >&6
5583 echo "$as_me:$LINENO: result: no" >&5
5584 echo "${ECHO_T}no" >&6
5587 test -n "$LINT" && break
5590 if test "$LINT" = "lint"
5592 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5597 for ac_prog
in docbook2html db2html
5599 # Extract the first word of "$ac_prog", so it can be a program name with args.
5600 set dummy
$ac_prog; ac_word
=$2
5601 echo "$as_me:$LINENO: checking for $ac_word" >&5
5602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5603 if test "${ac_cv_prog_DB2HTML+set}" = set; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5606 if test -n "$DB2HTML"; then
5607 ac_cv_prog_DB2HTML
="$DB2HTML" # Let the user override the test.
5609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5613 test -z "$as_dir" && as_dir
=.
5614 for ac_exec_ext
in '' $ac_executable_extensions; do
5615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5616 ac_cv_prog_DB2HTML
="$ac_prog"
5617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 DB2HTML
=$ac_cv_prog_DB2HTML
5626 if test -n "$DB2HTML"; then
5627 echo "$as_me:$LINENO: result: $DB2HTML" >&5
5628 echo "${ECHO_T}$DB2HTML" >&6
5630 echo "$as_me:$LINENO: result: no" >&5
5631 echo "${ECHO_T}no" >&6
5634 test -n "$DB2HTML" && break
5636 test -n "$DB2HTML" || DB2HTML
="false"
5638 for ac_prog
in docbook2pdf db2pdf
5640 # Extract the first word of "$ac_prog", so it can be a program name with args.
5641 set dummy
$ac_prog; ac_word
=$2
5642 echo "$as_me:$LINENO: checking for $ac_word" >&5
5643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5644 if test "${ac_cv_prog_DB2PDF+set}" = set; then
5645 echo $ECHO_N "(cached) $ECHO_C" >&6
5647 if test -n "$DB2PDF"; then
5648 ac_cv_prog_DB2PDF
="$DB2PDF" # Let the user override the test.
5650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5654 test -z "$as_dir" && as_dir
=.
5655 for ac_exec_ext
in '' $ac_executable_extensions; do
5656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5657 ac_cv_prog_DB2PDF
="$ac_prog"
5658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5666 DB2PDF
=$ac_cv_prog_DB2PDF
5667 if test -n "$DB2PDF"; then
5668 echo "$as_me:$LINENO: result: $DB2PDF" >&5
5669 echo "${ECHO_T}$DB2PDF" >&6
5671 echo "$as_me:$LINENO: result: no" >&5
5672 echo "${ECHO_T}no" >&6
5675 test -n "$DB2PDF" && break
5677 test -n "$DB2PDF" || DB2PDF
="false"
5679 for ac_prog
in docbook2ps db2ps
5681 # Extract the first word of "$ac_prog", so it can be a program name with args.
5682 set dummy
$ac_prog; ac_word
=$2
5683 echo "$as_me:$LINENO: checking for $ac_word" >&5
5684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5685 if test "${ac_cv_prog_DB2PS+set}" = set; then
5686 echo $ECHO_N "(cached) $ECHO_C" >&6
5688 if test -n "$DB2PS"; then
5689 ac_cv_prog_DB2PS
="$DB2PS" # Let the user override the test.
5691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5695 test -z "$as_dir" && as_dir
=.
5696 for ac_exec_ext
in '' $ac_executable_extensions; do
5697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_DB2PS
="$ac_prog"
5699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 DB2PS
=$ac_cv_prog_DB2PS
5708 if test -n "$DB2PS"; then
5709 echo "$as_me:$LINENO: result: $DB2PS" >&5
5710 echo "${ECHO_T}$DB2PS" >&6
5712 echo "$as_me:$LINENO: result: no" >&5
5713 echo "${ECHO_T}no" >&6
5716 test -n "$DB2PS" && break
5718 test -n "$DB2PS" || DB2PS
="false"
5720 for ac_prog
in docbook2txt db2txt
5722 # Extract the first word of "$ac_prog", so it can be a program name with args.
5723 set dummy
$ac_prog; ac_word
=$2
5724 echo "$as_me:$LINENO: checking for $ac_word" >&5
5725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5726 if test "${ac_cv_prog_DB2TXT+set}" = set; then
5727 echo $ECHO_N "(cached) $ECHO_C" >&6
5729 if test -n "$DB2TXT"; then
5730 ac_cv_prog_DB2TXT
="$DB2TXT" # Let the user override the test.
5732 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5736 test -z "$as_dir" && as_dir
=.
5737 for ac_exec_ext
in '' $ac_executable_extensions; do
5738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5739 ac_cv_prog_DB2TXT
="$ac_prog"
5740 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5748 DB2TXT
=$ac_cv_prog_DB2TXT
5749 if test -n "$DB2TXT"; then
5750 echo "$as_me:$LINENO: result: $DB2TXT" >&5
5751 echo "${ECHO_T}$DB2TXT" >&6
5753 echo "$as_me:$LINENO: result: no" >&5
5754 echo "${ECHO_T}no" >&6
5757 test -n "$DB2TXT" && break
5759 test -n "$DB2TXT" || DB2TXT
="false"
5761 for ac_prog
in fontforge
5763 # Extract the first word of "$ac_prog", so it can be a program name with args.
5764 set dummy
$ac_prog; ac_word
=$2
5765 echo "$as_me:$LINENO: checking for $ac_word" >&5
5766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5767 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5768 echo $ECHO_N "(cached) $ECHO_C" >&6
5770 if test -n "$FONTFORGE"; then
5771 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
5773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5777 test -z "$as_dir" && as_dir
=.
5778 for ac_exec_ext
in '' $ac_executable_extensions; do
5779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5780 ac_cv_prog_FONTFORGE
="$ac_prog"
5781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5789 FONTFORGE
=$ac_cv_prog_FONTFORGE
5790 if test -n "$FONTFORGE"; then
5791 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5792 echo "${ECHO_T}$FONTFORGE" >&6
5794 echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6
5798 test -n "$FONTFORGE" && break
5800 test -n "$FONTFORGE" || FONTFORGE
="false"
5805 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5806 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5807 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5808 echo $ECHO_N "(cached) $ECHO_C" >&6
5810 ac_check_lib_save_LIBS
=$LIBS
5812 cat >conftest.
$ac_ext <<_ACEOF
5815 cat confdefs.h
>>conftest.
$ac_ext
5816 cat >>conftest.
$ac_ext <<_ACEOF
5817 /* end confdefs.h. */
5819 /* Override any gcc2 internal prototype to avoid an error. */
5823 /* We use char because int might match the return type of a gcc2
5824 builtin and then its argument prototype would still apply. */
5825 char i386_set_ldt ();
5834 rm -f conftest.
$ac_objext conftest
$ac_exeext
5835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5836 (eval $ac_link) 2>conftest.er1
5838 grep -v '^ *+' conftest.er1
>conftest.err
5840 cat conftest.err
>&5
5841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5842 (exit $ac_status); } &&
5843 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5848 (exit $ac_status); }; } &&
5849 { ac_try
='test -s conftest$ac_exeext'
5850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5854 (exit $ac_status); }; }; then
5855 ac_cv_lib_i386_i386_set_ldt
=yes
5857 echo "$as_me: failed program was:" >&5
5858 sed 's/^/| /' conftest.
$ac_ext >&5
5860 ac_cv_lib_i386_i386_set_ldt
=no
5862 rm -f conftest.err conftest.
$ac_objext \
5863 conftest
$ac_exeext conftest.
$ac_ext
5864 LIBS
=$ac_check_lib_save_LIBS
5866 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5867 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5868 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5869 cat >>confdefs.h
<<_ACEOF
5870 #define HAVE_LIBI386 1
5878 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5879 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5880 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 ac_check_lib_save_LIBS
=$LIBS
5884 LIBS
="-lossaudio $LIBS"
5885 cat >conftest.
$ac_ext <<_ACEOF
5888 cat confdefs.h
>>conftest.
$ac_ext
5889 cat >>conftest.
$ac_ext <<_ACEOF
5890 /* end confdefs.h. */
5892 /* Override any gcc2 internal prototype to avoid an error. */
5896 /* We use char because int might match the return type of a gcc2
5897 builtin and then its argument prototype would still apply. */
5907 rm -f conftest.
$ac_objext conftest
$ac_exeext
5908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5909 (eval $ac_link) 2>conftest.er1
5911 grep -v '^ *+' conftest.er1
>conftest.err
5913 cat conftest.err
>&5
5914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5915 (exit $ac_status); } &&
5916 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5921 (exit $ac_status); }; } &&
5922 { ac_try
='test -s conftest$ac_exeext'
5923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5927 (exit $ac_status); }; }; then
5928 ac_cv_lib_ossaudio__oss_ioctl
=yes
5930 echo "$as_me: failed program was:" >&5
5931 sed 's/^/| /' conftest.
$ac_ext >&5
5933 ac_cv_lib_ossaudio__oss_ioctl
=no
5935 rm -f conftest.err conftest.
$ac_objext \
5936 conftest
$ac_exeext conftest.
$ac_ext
5937 LIBS
=$ac_check_lib_save_LIBS
5939 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5940 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5941 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5942 cat >>confdefs.h
<<_ACEOF
5943 #define HAVE_LIBOSSAUDIO 1
5946 LIBS
="-lossaudio $LIBS"
5951 for ac_func
in iswalnum
5953 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5954 echo "$as_me:$LINENO: checking for $ac_func" >&5
5955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5956 if eval "test \"\${$as_ac_var+set}\" = set"; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 cat >conftest.
$ac_ext <<_ACEOF
5962 cat confdefs.h
>>conftest.
$ac_ext
5963 cat >>conftest.
$ac_ext <<_ACEOF
5964 /* end confdefs.h. */
5965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5967 #define $ac_func innocuous_$ac_func
5969 /* System header to define __stub macros and hopefully few prototypes,
5970 which can conflict with char $ac_func (); below.
5971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5972 <limits.h> exists even on freestanding compilers. */
5975 # include <limits.h>
5977 # include <assert.h>
5982 /* Override any gcc2 internal prototype to avoid an error. */
5987 /* We use char because int might match the return type of a gcc2
5988 builtin and then its argument prototype would still apply. */
5990 /* The GNU C library defines this for functions which it implements
5991 to always fail with ENOSYS. Some functions are actually named
5992 something starting with __ and the normal name is an alias. */
5993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5996 char (*f) () = $ac_func;
6005 return f != $ac_func;
6010 rm -f conftest.
$ac_objext conftest
$ac_exeext
6011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6012 (eval $ac_link) 2>conftest.er1
6014 grep -v '^ *+' conftest.er1
>conftest.err
6016 cat conftest.err
>&5
6017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6018 (exit $ac_status); } &&
6019 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); }; } &&
6025 { ac_try
='test -s conftest$ac_exeext'
6026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6030 (exit $ac_status); }; }; then
6031 eval "$as_ac_var=yes"
6033 echo "$as_me: failed program was:" >&5
6034 sed 's/^/| /' conftest.
$ac_ext >&5
6036 eval "$as_ac_var=no"
6038 rm -f conftest.err conftest.
$ac_objext \
6039 conftest
$ac_exeext conftest.
$ac_ext
6041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6043 if test `eval echo '${'$as_ac_var'}'` = yes; then
6044 cat >>confdefs.h
<<_ACEOF
6045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6050 echo "$as_me:$LINENO: checking for iswalnum in -lw" >&5
6051 echo $ECHO_N "checking for iswalnum in -lw... $ECHO_C" >&6
6052 if test "${ac_cv_lib_w_iswalnum+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 ac_check_lib_save_LIBS
=$LIBS
6057 cat >conftest.
$ac_ext <<_ACEOF
6060 cat confdefs.h
>>conftest.
$ac_ext
6061 cat >>conftest.
$ac_ext <<_ACEOF
6062 /* end confdefs.h. */
6064 /* Override any gcc2 internal prototype to avoid an error. */
6068 /* We use char because int might match the return type of a gcc2
6069 builtin and then its argument prototype would still apply. */
6079 rm -f conftest.
$ac_objext conftest
$ac_exeext
6080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6081 (eval $ac_link) 2>conftest.er1
6083 grep -v '^ *+' conftest.er1
>conftest.err
6085 cat conftest.err
>&5
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); } &&
6088 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6093 (exit $ac_status); }; } &&
6094 { ac_try
='test -s conftest$ac_exeext'
6095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); }; }; then
6100 ac_cv_lib_w_iswalnum
=yes
6102 echo "$as_me: failed program was:" >&5
6103 sed 's/^/| /' conftest.
$ac_ext >&5
6105 ac_cv_lib_w_iswalnum
=no
6107 rm -f conftest.err conftest.
$ac_objext \
6108 conftest
$ac_exeext conftest.
$ac_ext
6109 LIBS
=$ac_check_lib_save_LIBS
6111 echo "$as_me:$LINENO: result: $ac_cv_lib_w_iswalnum" >&5
6112 echo "${ECHO_T}$ac_cv_lib_w_iswalnum" >&6
6113 if test $ac_cv_lib_w_iswalnum = yes; then
6114 cat >>confdefs.h
<<_ACEOF
6126 for ac_func
in gethostbyname
6128 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6129 echo "$as_me:$LINENO: checking for $ac_func" >&5
6130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6131 if eval "test \"\${$as_ac_var+set}\" = set"; then
6132 echo $ECHO_N "(cached) $ECHO_C" >&6
6134 cat >conftest.
$ac_ext <<_ACEOF
6137 cat confdefs.h
>>conftest.
$ac_ext
6138 cat >>conftest.
$ac_ext <<_ACEOF
6139 /* end confdefs.h. */
6140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6142 #define $ac_func innocuous_$ac_func
6144 /* System header to define __stub macros and hopefully few prototypes,
6145 which can conflict with char $ac_func (); below.
6146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6147 <limits.h> exists even on freestanding compilers. */
6150 # include <limits.h>
6152 # include <assert.h>
6157 /* Override any gcc2 internal prototype to avoid an error. */
6162 /* We use char because int might match the return type of a gcc2
6163 builtin and then its argument prototype would still apply. */
6165 /* The GNU C library defines this for functions which it implements
6166 to always fail with ENOSYS. Some functions are actually named
6167 something starting with __ and the normal name is an alias. */
6168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6171 char (*f) () = $ac_func;
6180 return f != $ac_func;
6185 rm -f conftest.
$ac_objext conftest
$ac_exeext
6186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6187 (eval $ac_link) 2>conftest.er1
6189 grep -v '^ *+' conftest.er1
>conftest.err
6191 cat conftest.err
>&5
6192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6193 (exit $ac_status); } &&
6194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6199 (exit $ac_status); }; } &&
6200 { ac_try
='test -s conftest$ac_exeext'
6201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6205 (exit $ac_status); }; }; then
6206 eval "$as_ac_var=yes"
6208 echo "$as_me: failed program was:" >&5
6209 sed 's/^/| /' conftest.
$ac_ext >&5
6211 eval "$as_ac_var=no"
6213 rm -f conftest.err conftest.
$ac_objext \
6214 conftest
$ac_exeext conftest.
$ac_ext
6216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6218 if test `eval echo '${'$as_ac_var'}'` = yes; then
6219 cat >>confdefs.h
<<_ACEOF
6220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6225 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6226 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6227 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 ac_check_lib_save_LIBS
=$LIBS
6232 cat >conftest.
$ac_ext <<_ACEOF
6235 cat confdefs.h
>>conftest.
$ac_ext
6236 cat >>conftest.
$ac_ext <<_ACEOF
6237 /* end confdefs.h. */
6239 /* Override any gcc2 internal prototype to avoid an error. */
6243 /* We use char because int might match the return type of a gcc2
6244 builtin and then its argument prototype would still apply. */
6245 char gethostbyname ();
6254 rm -f conftest.
$ac_objext conftest
$ac_exeext
6255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6256 (eval $ac_link) 2>conftest.er1
6258 grep -v '^ *+' conftest.er1
>conftest.err
6260 cat conftest.err
>&5
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); } &&
6263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6268 (exit $ac_status); }; } &&
6269 { ac_try
='test -s conftest$ac_exeext'
6270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6274 (exit $ac_status); }; }; then
6275 ac_cv_lib_nsl_gethostbyname
=yes
6277 echo "$as_me: failed program was:" >&5
6278 sed 's/^/| /' conftest.
$ac_ext >&5
6280 ac_cv_lib_nsl_gethostbyname
=no
6282 rm -f conftest.err conftest.
$ac_objext \
6283 conftest
$ac_exeext conftest.
$ac_ext
6284 LIBS
=$ac_check_lib_save_LIBS
6286 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6287 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6288 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6289 cat >>confdefs.h
<<_ACEOF
6290 #define HAVE_LIBNSL 1
6301 for ac_func
in connect
6303 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6304 echo "$as_me:$LINENO: checking for $ac_func" >&5
6305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6306 if eval "test \"\${$as_ac_var+set}\" = set"; then
6307 echo $ECHO_N "(cached) $ECHO_C" >&6
6309 cat >conftest.
$ac_ext <<_ACEOF
6312 cat confdefs.h
>>conftest.
$ac_ext
6313 cat >>conftest.
$ac_ext <<_ACEOF
6314 /* end confdefs.h. */
6315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6317 #define $ac_func innocuous_$ac_func
6319 /* System header to define __stub macros and hopefully few prototypes,
6320 which can conflict with char $ac_func (); below.
6321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6322 <limits.h> exists even on freestanding compilers. */
6325 # include <limits.h>
6327 # include <assert.h>
6332 /* Override any gcc2 internal prototype to avoid an error. */
6337 /* We use char because int might match the return type of a gcc2
6338 builtin and then its argument prototype would still apply. */
6340 /* The GNU C library defines this for functions which it implements
6341 to always fail with ENOSYS. Some functions are actually named
6342 something starting with __ and the normal name is an alias. */
6343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6346 char (*f) () = $ac_func;
6355 return f != $ac_func;
6360 rm -f conftest.
$ac_objext conftest
$ac_exeext
6361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6362 (eval $ac_link) 2>conftest.er1
6364 grep -v '^ *+' conftest.er1
>conftest.err
6366 cat conftest.err
>&5
6367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6368 (exit $ac_status); } &&
6369 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374 (exit $ac_status); }; } &&
6375 { ac_try
='test -s conftest$ac_exeext'
6376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); }; }; then
6381 eval "$as_ac_var=yes"
6383 echo "$as_me: failed program was:" >&5
6384 sed 's/^/| /' conftest.
$ac_ext >&5
6386 eval "$as_ac_var=no"
6388 rm -f conftest.err conftest.
$ac_objext \
6389 conftest
$ac_exeext conftest.
$ac_ext
6391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6393 if test `eval echo '${'$as_ac_var'}'` = yes; then
6394 cat >>confdefs.h
<<_ACEOF
6395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6400 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6401 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6402 if test "${ac_cv_lib_socket_connect+set}" = set; then
6403 echo $ECHO_N "(cached) $ECHO_C" >&6
6405 ac_check_lib_save_LIBS
=$LIBS
6406 LIBS
="-lsocket $LIBS"
6407 cat >conftest.
$ac_ext <<_ACEOF
6410 cat confdefs.h
>>conftest.
$ac_ext
6411 cat >>conftest.
$ac_ext <<_ACEOF
6412 /* end confdefs.h. */
6414 /* Override any gcc2 internal prototype to avoid an error. */
6418 /* We use char because int might match the return type of a gcc2
6419 builtin and then its argument prototype would still apply. */
6429 rm -f conftest.
$ac_objext conftest
$ac_exeext
6430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6431 (eval $ac_link) 2>conftest.er1
6433 grep -v '^ *+' conftest.er1
>conftest.err
6435 cat conftest.err
>&5
6436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437 (exit $ac_status); } &&
6438 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); }; } &&
6444 { ac_try
='test -s conftest$ac_exeext'
6445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449 (exit $ac_status); }; }; then
6450 ac_cv_lib_socket_connect
=yes
6452 echo "$as_me: failed program was:" >&5
6453 sed 's/^/| /' conftest.
$ac_ext >&5
6455 ac_cv_lib_socket_connect
=no
6457 rm -f conftest.err conftest.
$ac_objext \
6458 conftest
$ac_exeext conftest.
$ac_ext
6459 LIBS
=$ac_check_lib_save_LIBS
6461 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6462 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6463 if test $ac_cv_lib_socket_connect = yes; then
6464 cat >>confdefs.h
<<_ACEOF
6465 #define HAVE_LIBSOCKET 1
6468 LIBS
="-lsocket $LIBS"
6476 for ac_func
in inet_aton
6478 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6479 echo "$as_me:$LINENO: checking for $ac_func" >&5
6480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6481 if eval "test \"\${$as_ac_var+set}\" = set"; then
6482 echo $ECHO_N "(cached) $ECHO_C" >&6
6484 cat >conftest.
$ac_ext <<_ACEOF
6487 cat confdefs.h
>>conftest.
$ac_ext
6488 cat >>conftest.
$ac_ext <<_ACEOF
6489 /* end confdefs.h. */
6490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6492 #define $ac_func innocuous_$ac_func
6494 /* System header to define __stub macros and hopefully few prototypes,
6495 which can conflict with char $ac_func (); below.
6496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6497 <limits.h> exists even on freestanding compilers. */
6500 # include <limits.h>
6502 # include <assert.h>
6507 /* Override any gcc2 internal prototype to avoid an error. */
6512 /* We use char because int might match the return type of a gcc2
6513 builtin and then its argument prototype would still apply. */
6515 /* The GNU C library defines this for functions which it implements
6516 to always fail with ENOSYS. Some functions are actually named
6517 something starting with __ and the normal name is an alias. */
6518 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6521 char (*f) () = $ac_func;
6530 return f != $ac_func;
6535 rm -f conftest.
$ac_objext conftest
$ac_exeext
6536 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6537 (eval $ac_link) 2>conftest.er1
6539 grep -v '^ *+' conftest.er1
>conftest.err
6541 cat conftest.err
>&5
6542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6543 (exit $ac_status); } &&
6544 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6549 (exit $ac_status); }; } &&
6550 { ac_try
='test -s conftest$ac_exeext'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; }; then
6556 eval "$as_ac_var=yes"
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.
$ac_ext >&5
6561 eval "$as_ac_var=no"
6563 rm -f conftest.err conftest.
$ac_objext \
6564 conftest
$ac_exeext conftest.
$ac_ext
6566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6568 if test `eval echo '${'$as_ac_var'}'` = yes; then
6569 cat >>confdefs.h
<<_ACEOF
6570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6575 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6576 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6577 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6578 echo $ECHO_N "(cached) $ECHO_C" >&6
6580 ac_check_lib_save_LIBS
=$LIBS
6581 LIBS
="-lresolv $LIBS"
6582 cat >conftest.
$ac_ext <<_ACEOF
6585 cat confdefs.h
>>conftest.
$ac_ext
6586 cat >>conftest.
$ac_ext <<_ACEOF
6587 /* end confdefs.h. */
6589 /* Override any gcc2 internal prototype to avoid an error. */
6593 /* We use char because int might match the return type of a gcc2
6594 builtin and then its argument prototype would still apply. */
6604 rm -f conftest.
$ac_objext conftest
$ac_exeext
6605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6606 (eval $ac_link) 2>conftest.er1
6608 grep -v '^ *+' conftest.er1
>conftest.err
6610 cat conftest.err
>&5
6611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6612 (exit $ac_status); } &&
6613 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6618 (exit $ac_status); }; } &&
6619 { ac_try
='test -s conftest$ac_exeext'
6620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6624 (exit $ac_status); }; }; then
6625 ac_cv_lib_resolv_inet_aton
=yes
6627 echo "$as_me: failed program was:" >&5
6628 sed 's/^/| /' conftest.
$ac_ext >&5
6630 ac_cv_lib_resolv_inet_aton
=no
6632 rm -f conftest.err conftest.
$ac_objext \
6633 conftest
$ac_exeext conftest.
$ac_ext
6634 LIBS
=$ac_check_lib_save_LIBS
6636 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6637 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6638 if test $ac_cv_lib_resolv_inet_aton = yes; then
6639 cat >>confdefs.h
<<_ACEOF
6640 #define HAVE_LIBRESOLV 1
6643 LIBS
="-lresolv $LIBS"
6651 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6652 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6653 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6654 echo $ECHO_N "(cached) $ECHO_C" >&6
6656 ac_check_lib_save_LIBS
=$LIBS
6658 cat >conftest.
$ac_ext <<_ACEOF
6661 cat confdefs.h
>>conftest.
$ac_ext
6662 cat >>conftest.
$ac_ext <<_ACEOF
6663 /* end confdefs.h. */
6665 /* Override any gcc2 internal prototype to avoid an error. */
6669 /* We use char because int might match the return type of a gcc2
6670 builtin and then its argument prototype would still apply. */
6671 char _xpg4_setrunelocale ();
6675 _xpg4_setrunelocale ();
6680 rm -f conftest.
$ac_objext conftest
$ac_exeext
6681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6682 (eval $ac_link) 2>conftest.er1
6684 grep -v '^ *+' conftest.er1
>conftest.err
6686 cat conftest.err
>&5
6687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6688 (exit $ac_status); } &&
6689 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6694 (exit $ac_status); }; } &&
6695 { ac_try
='test -s conftest$ac_exeext'
6696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6700 (exit $ac_status); }; }; then
6701 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
6703 echo "$as_me: failed program was:" >&5
6704 sed 's/^/| /' conftest.
$ac_ext >&5
6706 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
6708 rm -f conftest.err conftest.
$ac_objext \
6709 conftest
$ac_exeext conftest.
$ac_ext
6710 LIBS
=$ac_check_lib_save_LIBS
6712 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6713 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6714 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6715 cat >>confdefs.h
<<_ACEOF
6716 #define HAVE_LIBXPG4 1
6724 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6725 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6726 if test "${ac_cv_lib_poll_poll+set}" = set; then
6727 echo $ECHO_N "(cached) $ECHO_C" >&6
6729 ac_check_lib_save_LIBS
=$LIBS
6731 cat >conftest.
$ac_ext <<_ACEOF
6734 cat confdefs.h
>>conftest.
$ac_ext
6735 cat >>conftest.
$ac_ext <<_ACEOF
6736 /* end confdefs.h. */
6738 /* Override any gcc2 internal prototype to avoid an error. */
6742 /* We use char because int might match the return type of a gcc2
6743 builtin and then its argument prototype would still apply. */
6753 rm -f conftest.
$ac_objext conftest
$ac_exeext
6754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6755 (eval $ac_link) 2>conftest.er1
6757 grep -v '^ *+' conftest.er1
>conftest.err
6759 cat conftest.err
>&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); } &&
6762 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6767 (exit $ac_status); }; } &&
6768 { ac_try
='test -s conftest$ac_exeext'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; }; then
6774 ac_cv_lib_poll_poll
=yes
6776 echo "$as_me: failed program was:" >&5
6777 sed 's/^/| /' conftest.
$ac_ext >&5
6779 ac_cv_lib_poll_poll
=no
6781 rm -f conftest.err conftest.
$ac_objext \
6782 conftest
$ac_exeext conftest.
$ac_ext
6783 LIBS
=$ac_check_lib_save_LIBS
6785 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6786 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6787 if test $ac_cv_lib_poll_poll = yes; then
6788 cat >>confdefs.h
<<_ACEOF
6789 #define HAVE_LIBPOLL 1
6797 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6798 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6799 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6802 ac_check_lib_save_LIBS
=$LIBS
6803 LIBS
="-lresolv $LIBS"
6804 cat >conftest.
$ac_ext <<_ACEOF
6807 cat confdefs.h
>>conftest.
$ac_ext
6808 cat >>conftest.
$ac_ext <<_ACEOF
6809 /* end confdefs.h. */
6811 /* Override any gcc2 internal prototype to avoid an error. */
6815 /* We use char because int might match the return type of a gcc2
6816 builtin and then its argument prototype would still apply. */
6826 rm -f conftest.
$ac_objext conftest
$ac_exeext
6827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6828 (eval $ac_link) 2>conftest.er1
6830 grep -v '^ *+' conftest.er1
>conftest.err
6832 cat conftest.err
>&5
6833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6834 (exit $ac_status); } &&
6835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6840 (exit $ac_status); }; } &&
6841 { ac_try
='test -s conftest$ac_exeext'
6842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6846 (exit $ac_status); }; }; then
6847 ac_cv_lib_resolv_res_9_init
=yes
6849 echo "$as_me: failed program was:" >&5
6850 sed 's/^/| /' conftest.
$ac_ext >&5
6852 ac_cv_lib_resolv_res_9_init
=no
6854 rm -f conftest.err conftest.
$ac_objext \
6855 conftest
$ac_exeext conftest.
$ac_ext
6856 LIBS
=$ac_check_lib_save_LIBS
6858 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6859 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6860 if test $ac_cv_lib_resolv_res_9_init = yes; then
6861 cat >>confdefs.h
<<_ACEOF
6862 #define HAVE_LIBRESOLV 1
6865 LIBS
="-lresolv $LIBS"
6869 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6870 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6871 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6872 echo $ECHO_N "(cached) $ECHO_C" >&6
6874 ac_check_lib_save_LIBS
=$LIBS
6875 LIBS
="-lpthread $LIBS"
6876 cat >conftest.
$ac_ext <<_ACEOF
6879 cat confdefs.h
>>conftest.
$ac_ext
6880 cat >>conftest.
$ac_ext <<_ACEOF
6881 /* end confdefs.h. */
6883 /* Override any gcc2 internal prototype to avoid an error. */
6887 /* We use char because int might match the return type of a gcc2
6888 builtin and then its argument prototype would still apply. */
6889 char pthread_create ();
6898 rm -f conftest.
$ac_objext conftest
$ac_exeext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6900 (eval $ac_link) 2>conftest.er1
6902 grep -v '^ *+' conftest.er1
>conftest.err
6904 cat conftest.err
>&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } &&
6907 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; } &&
6913 { ac_try
='test -s conftest$ac_exeext'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; }; then
6919 ac_cv_lib_pthread_pthread_create
=yes
6921 echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.
$ac_ext >&5
6924 ac_cv_lib_pthread_pthread_create
=no
6926 rm -f conftest.err conftest.
$ac_objext \
6927 conftest
$ac_exeext conftest.
$ac_ext
6928 LIBS
=$ac_check_lib_save_LIBS
6930 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6931 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6932 if test $ac_cv_lib_pthread_pthread_create = yes; then
6933 LIBPTHREAD
="-lpthread"
6947 if test "$have_x" = "yes"
6950 ac_save_CPPFLAGS
="$CPPFLAGS"
6951 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
6953 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6954 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6955 if test "${ac_cv_header_stdc+set}" = set; then
6956 echo $ECHO_N "(cached) $ECHO_C" >&6
6958 cat >conftest.
$ac_ext <<_ACEOF
6961 cat confdefs.h
>>conftest.
$ac_ext
6962 cat >>conftest.
$ac_ext <<_ACEOF
6963 /* end confdefs.h. */
6977 rm -f conftest.
$ac_objext
6978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6979 (eval $ac_compile) 2>conftest.er1
6981 grep -v '^ *+' conftest.er1
>conftest.err
6983 cat conftest.err
>&5
6984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6985 (exit $ac_status); } &&
6986 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6991 (exit $ac_status); }; } &&
6992 { ac_try
='test -s conftest.$ac_objext'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; }; then
6998 ac_cv_header_stdc
=yes
7000 echo "$as_me: failed program was:" >&5
7001 sed 's/^/| /' conftest.
$ac_ext >&5
7003 ac_cv_header_stdc
=no
7005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7007 if test $ac_cv_header_stdc = yes; then
7008 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7009 cat >conftest.
$ac_ext <<_ACEOF
7012 cat confdefs.h
>>conftest.
$ac_ext
7013 cat >>conftest.
$ac_ext <<_ACEOF
7014 /* end confdefs.h. */
7018 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7019 $EGREP "memchr" >/dev
/null
2>&1; then
7022 ac_cv_header_stdc
=no
7028 if test $ac_cv_header_stdc = yes; then
7029 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7030 cat >conftest.
$ac_ext <<_ACEOF
7033 cat confdefs.h
>>conftest.
$ac_ext
7034 cat >>conftest.
$ac_ext <<_ACEOF
7035 /* end confdefs.h. */
7039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7040 $EGREP "free" >/dev
/null
2>&1; then
7043 ac_cv_header_stdc
=no
7049 if test $ac_cv_header_stdc = yes; then
7050 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7051 if test "$cross_compiling" = yes; then
7054 cat >conftest.
$ac_ext <<_ACEOF
7057 cat confdefs.h
>>conftest.
$ac_ext
7058 cat >>conftest.
$ac_ext <<_ACEOF
7059 /* end confdefs.h. */
7061 #if ((' ' & 0x0FF) == 0x020)
7062 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7063 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7065 # define ISLOWER(c) \
7066 (('a' <= (c) && (c) <= 'i') \
7067 || ('j' <= (c) && (c) <= 'r') \
7068 || ('s' <= (c) && (c) <= 'z'))
7069 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7072 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7077 for (i = 0; i < 256; i++)
7078 if (XOR (islower (i), ISLOWER (i))
7079 || toupper (i) != TOUPPER (i))
7084 rm -f conftest
$ac_exeext
7085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7086 (eval $ac_link) 2>&5
7088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7089 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7094 (exit $ac_status); }; }; then
7097 echo "$as_me: program exited with status $ac_status" >&5
7098 echo "$as_me: failed program was:" >&5
7099 sed 's/^/| /' conftest.
$ac_ext >&5
7102 ac_cv_header_stdc
=no
7104 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7108 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7109 echo "${ECHO_T}$ac_cv_header_stdc" >&6
7110 if test $ac_cv_header_stdc = yes; then
7112 cat >>confdefs.h
<<\_ACEOF
7113 #define STDC_HEADERS 1
7118 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7128 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7129 inttypes.h stdint.h unistd.h
7131 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7132 echo "$as_me:$LINENO: checking for $ac_header" >&5
7133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7135 echo $ECHO_N "(cached) $ECHO_C" >&6
7137 cat >conftest.
$ac_ext <<_ACEOF
7140 cat confdefs.h
>>conftest.
$ac_ext
7141 cat >>conftest.
$ac_ext <<_ACEOF
7142 /* end confdefs.h. */
7143 $ac_includes_default
7145 #include <$ac_header>
7147 rm -f conftest.
$ac_objext
7148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7149 (eval $ac_compile) 2>conftest.er1
7151 grep -v '^ *+' conftest.er1
>conftest.err
7153 cat conftest.err
>&5
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); } &&
7156 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; } &&
7162 { ac_try
='test -s conftest.$ac_objext'
7163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); }; }; then
7168 eval "$as_ac_Header=yes"
7170 echo "$as_me: failed program was:" >&5
7171 sed 's/^/| /' conftest.
$ac_ext >&5
7173 eval "$as_ac_Header=no"
7175 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7180 cat >>confdefs.h
<<_ACEOF
7181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7190 for ac_header
in X11
/Xlib.h
7192 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7193 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7194 echo "$as_me:$LINENO: checking for $ac_header" >&5
7195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7197 echo $ECHO_N "(cached) $ECHO_C" >&6
7199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7200 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7202 # Is the header compilable?
7203 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7204 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7205 cat >conftest.
$ac_ext <<_ACEOF
7208 cat confdefs.h
>>conftest.
$ac_ext
7209 cat >>conftest.
$ac_ext <<_ACEOF
7210 /* end confdefs.h. */
7211 $ac_includes_default
7212 #include <$ac_header>
7214 rm -f conftest.
$ac_objext
7215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7216 (eval $ac_compile) 2>conftest.er1
7218 grep -v '^ *+' conftest.er1
>conftest.err
7220 cat conftest.err
>&5
7221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7222 (exit $ac_status); } &&
7223 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); }; } &&
7229 { ac_try
='test -s conftest.$ac_objext'
7230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); }; }; then
7235 ac_header_compiler
=yes
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.
$ac_ext >&5
7240 ac_header_compiler
=no
7242 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7243 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7244 echo "${ECHO_T}$ac_header_compiler" >&6
7246 # Is the header present?
7247 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7248 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7249 cat >conftest.
$ac_ext <<_ACEOF
7252 cat confdefs.h
>>conftest.
$ac_ext
7253 cat >>conftest.
$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <$ac_header>
7257 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7258 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7260 grep -v '^ *+' conftest.er1
>conftest.err
7262 cat conftest.err
>&5
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); } >/dev
/null
; then
7265 if test -s conftest.err
; then
7266 ac_cpp_err
=$ac_c_preproc_warn_flag
7267 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7274 if test -z "$ac_cpp_err"; then
7275 ac_header_preproc
=yes
7277 echo "$as_me: failed program was:" >&5
7278 sed 's/^/| /' conftest.
$ac_ext >&5
7280 ac_header_preproc
=no
7282 rm -f conftest.err conftest.
$ac_ext
7283 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7284 echo "${ECHO_T}$ac_header_preproc" >&6
7286 # So? What about this header?
7287 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7289 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7290 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7291 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7292 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7293 ac_header_preproc
=yes
7296 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7297 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7298 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7299 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7300 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7301 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7302 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7303 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7305 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7306 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7307 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7310 ## ------------------------------------ ##
7311 ## Report this to wine-devel@winehq.org ##
7312 ## ------------------------------------ ##
7315 sed "s/^/$as_me: WARNING: /" >&2
7318 echo "$as_me:$LINENO: checking for $ac_header" >&5
7319 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7320 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7321 echo $ECHO_N "(cached) $ECHO_C" >&6
7323 eval "$as_ac_Header=\$ac_header_preproc"
7325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7326 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7330 cat >>confdefs.h
<<_ACEOF
7331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 for ac_header
in X11
/XKBlib.h \
7346 X11
/extensions
/shape.h \
7347 X11
/extensions
/XInput.h \
7348 X11
/extensions
/XShm.h \
7349 X11
/extensions
/Xrandr.h \
7350 X11
/extensions
/Xrender.h \
7351 X11
/extensions
/Xvlib.h \
7352 X11
/extensions
/xf86dga.h \
7353 X11
/extensions
/xf86vmode.h
7355 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7356 echo "$as_me:$LINENO: checking for $ac_header" >&5
7357 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7359 echo $ECHO_N "(cached) $ECHO_C" >&6
7361 cat >conftest.
$ac_ext <<_ACEOF
7364 cat confdefs.h
>>conftest.
$ac_ext
7365 cat >>conftest.
$ac_ext <<_ACEOF
7366 /* end confdefs.h. */
7367 #include <X11/Xlib.h>
7368 #ifdef HAVE_X11_XUTIL_H
7369 # include <X11/Xutil.h>
7372 #include <$ac_header>
7374 rm -f conftest.
$ac_objext
7375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7376 (eval $ac_compile) 2>conftest.er1
7378 grep -v '^ *+' conftest.er1
>conftest.err
7380 cat conftest.err
>&5
7381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7382 (exit $ac_status); } &&
7383 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7388 (exit $ac_status); }; } &&
7389 { ac_try
='test -s conftest.$ac_objext'
7390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7394 (exit $ac_status); }; }; then
7395 eval "$as_ac_Header=yes"
7397 echo "$as_me: failed program was:" >&5
7398 sed 's/^/| /' conftest.
$ac_ext >&5
7400 eval "$as_ac_Header=no"
7402 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7405 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7406 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7407 cat >>confdefs.h
<<_ACEOF
7408 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7416 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7418 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7419 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7420 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 ac_check_lib_save_LIBS
=$LIBS
7424 LIBS
="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7425 cat >conftest.
$ac_ext <<_ACEOF
7428 cat confdefs.h
>>conftest.
$ac_ext
7429 cat >>conftest.
$ac_ext <<_ACEOF
7430 /* end confdefs.h. */
7432 /* Override any gcc2 internal prototype to avoid an error. */
7436 /* We use char because int might match the return type of a gcc2
7437 builtin and then its argument prototype would still apply. */
7438 char XkbQueryExtension ();
7442 XkbQueryExtension ();
7447 rm -f conftest.
$ac_objext conftest
$ac_exeext
7448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7449 (eval $ac_link) 2>conftest.er1
7451 grep -v '^ *+' conftest.er1
>conftest.err
7453 cat conftest.err
>&5
7454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7455 (exit $ac_status); } &&
7456 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7461 (exit $ac_status); }; } &&
7462 { ac_try
='test -s conftest$ac_exeext'
7463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7467 (exit $ac_status); }; }; then
7468 ac_cv_lib_X11_XkbQueryExtension
=yes
7470 echo "$as_me: failed program was:" >&5
7471 sed 's/^/| /' conftest.
$ac_ext >&5
7473 ac_cv_lib_X11_XkbQueryExtension
=no
7475 rm -f conftest.err conftest.
$ac_objext \
7476 conftest
$ac_exeext conftest.
$ac_ext
7477 LIBS
=$ac_check_lib_save_LIBS
7479 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7480 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7481 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7483 cat >>confdefs.h
<<\_ACEOF
7491 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7493 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7494 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7495 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7496 echo $ECHO_N "(cached) $ECHO_C" >&6
7498 ac_check_lib_save_LIBS
=$LIBS
7499 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7500 cat >conftest.
$ac_ext <<_ACEOF
7503 cat confdefs.h
>>conftest.
$ac_ext
7504 cat >>conftest.
$ac_ext <<_ACEOF
7505 /* end confdefs.h. */
7507 /* Override any gcc2 internal prototype to avoid an error. */
7511 /* We use char because int might match the return type of a gcc2
7512 builtin and then its argument prototype would still apply. */
7513 char XShmQueryExtension ();
7517 XShmQueryExtension ();
7522 rm -f conftest.
$ac_objext conftest
$ac_exeext
7523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7524 (eval $ac_link) 2>conftest.er1
7526 grep -v '^ *+' conftest.er1
>conftest.err
7528 cat conftest.err
>&5
7529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7530 (exit $ac_status); } &&
7531 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7536 (exit $ac_status); }; } &&
7537 { ac_try
='test -s conftest$ac_exeext'
7538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7542 (exit $ac_status); }; }; then
7543 ac_cv_lib_Xext_XShmQueryExtension
=yes
7545 echo "$as_me: failed program was:" >&5
7546 sed 's/^/| /' conftest.
$ac_ext >&5
7548 ac_cv_lib_Xext_XShmQueryExtension
=no
7550 rm -f conftest.err conftest.
$ac_objext \
7551 conftest
$ac_exeext conftest.
$ac_ext
7552 LIBS
=$ac_check_lib_save_LIBS
7554 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7555 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7556 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7558 cat >>confdefs.h
<<\_ACEOF
7559 #define HAVE_LIBXXSHM 1
7566 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7568 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7569 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7570 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7571 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 ac_check_lib_save_LIBS
=$LIBS
7574 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7575 cat >conftest.
$ac_ext <<_ACEOF
7578 cat confdefs.h
>>conftest.
$ac_ext
7579 cat >>conftest.
$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7582 /* Override any gcc2 internal prototype to avoid an error. */
7586 /* We use char because int might match the return type of a gcc2
7587 builtin and then its argument prototype would still apply. */
7588 char XShapeQueryExtension ();
7592 XShapeQueryExtension ();
7597 rm -f conftest.
$ac_objext conftest
$ac_exeext
7598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7599 (eval $ac_link) 2>conftest.er1
7601 grep -v '^ *+' conftest.er1
>conftest.err
7603 cat conftest.err
>&5
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); } &&
7606 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; } &&
7612 { ac_try
='test -s conftest$ac_exeext'
7613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7617 (exit $ac_status); }; }; then
7618 ac_cv_lib_Xext_XShapeQueryExtension
=yes
7620 echo "$as_me: failed program was:" >&5
7621 sed 's/^/| /' conftest.
$ac_ext >&5
7623 ac_cv_lib_Xext_XShapeQueryExtension
=no
7625 rm -f conftest.err conftest.
$ac_objext \
7626 conftest
$ac_exeext conftest.
$ac_ext
7627 LIBS
=$ac_check_lib_save_LIBS
7629 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7630 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7631 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7633 cat >>confdefs.h
<<\_ACEOF
7634 #define HAVE_LIBXSHAPE 1
7641 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7643 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7644 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7645 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7646 echo $ECHO_N "(cached) $ECHO_C" >&6
7648 ac_check_lib_save_LIBS
=$LIBS
7649 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7650 cat >conftest.
$ac_ext <<_ACEOF
7653 cat confdefs.h
>>conftest.
$ac_ext
7654 cat >>conftest.
$ac_ext <<_ACEOF
7655 /* end confdefs.h. */
7657 /* Override any gcc2 internal prototype to avoid an error. */
7661 /* We use char because int might match the return type of a gcc2
7662 builtin and then its argument prototype would still apply. */
7663 char XDGAQueryExtension ();
7667 XDGAQueryExtension ();
7672 rm -f conftest.
$ac_objext conftest
$ac_exeext
7673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7674 (eval $ac_link) 2>conftest.er1
7676 grep -v '^ *+' conftest.er1
>conftest.err
7678 cat conftest.err
>&5
7679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7680 (exit $ac_status); } &&
7681 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7686 (exit $ac_status); }; } &&
7687 { ac_try
='test -s conftest$ac_exeext'
7688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7692 (exit $ac_status); }; }; then
7693 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=yes
7695 echo "$as_me: failed program was:" >&5
7696 sed 's/^/| /' conftest.
$ac_ext >&5
7698 ac_cv_lib_Xxf86dga_XDGAQueryExtension
=no
7700 rm -f conftest.err conftest.
$ac_objext \
7701 conftest
$ac_exeext conftest.
$ac_ext
7702 LIBS
=$ac_check_lib_save_LIBS
7704 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7705 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7706 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7708 cat >>confdefs.h
<<\_ACEOF
7709 #define HAVE_LIBXXF86DGA2 1
7712 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7715 echo "$as_me:$LINENO: checking for XF86DGAQueryExtension in -lXxf86dga" >&5
7716 echo $ECHO_N "checking for XF86DGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7717 if test "${ac_cv_lib_Xxf86dga_XF86DGAQueryExtension+set}" = set; then
7718 echo $ECHO_N "(cached) $ECHO_C" >&6
7720 ac_check_lib_save_LIBS
=$LIBS
7721 LIBS
="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS
7723 cat >conftest.
$ac_ext <<_ACEOF
7726 cat confdefs.h
>>conftest.
$ac_ext
7727 cat >>conftest.
$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7730 /* Override any gcc2 internal prototype to avoid an error. */
7734 /* We use char because int might match the return type of a gcc2
7735 builtin and then its argument prototype would still apply. */
7736 char XF86DGAQueryExtension ();
7740 XF86DGAQueryExtension ();
7745 rm -f conftest.
$ac_objext conftest
$ac_exeext
7746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7747 (eval $ac_link) 2>conftest.er1
7749 grep -v '^ *+' conftest.er1
>conftest.err
7751 cat conftest.err
>&5
7752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7753 (exit $ac_status); } &&
7754 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7759 (exit $ac_status); }; } &&
7760 { ac_try
='test -s conftest$ac_exeext'
7761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7765 (exit $ac_status); }; }; then
7766 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=yes
7768 echo "$as_me: failed program was:" >&5
7769 sed 's/^/| /' conftest.
$ac_ext >&5
7771 ac_cv_lib_Xxf86dga_XF86DGAQueryExtension
=no
7773 rm -f conftest.err conftest.
$ac_objext \
7774 conftest
$ac_exeext conftest.
$ac_ext
7775 LIBS
=$ac_check_lib_save_LIBS
7777 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&5
7778 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XF86DGAQueryExtension" >&6
7779 if test $ac_cv_lib_Xxf86dga_XF86DGAQueryExtension = yes; then
7781 cat >>confdefs.h
<<\_ACEOF
7782 #define HAVE_LIBXXF86DGA 1
7785 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86dga"
7794 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7796 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7797 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7798 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7799 echo $ECHO_N "(cached) $ECHO_C" >&6
7801 ac_check_lib_save_LIBS
=$LIBS
7802 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7803 cat >conftest.
$ac_ext <<_ACEOF
7806 cat confdefs.h
>>conftest.
$ac_ext
7807 cat >>conftest.
$ac_ext <<_ACEOF
7808 /* end confdefs.h. */
7810 /* Override any gcc2 internal prototype to avoid an error. */
7814 /* We use char because int might match the return type of a gcc2
7815 builtin and then its argument prototype would still apply. */
7816 char XF86VidModeQueryExtension ();
7820 XF86VidModeQueryExtension ();
7825 rm -f conftest.
$ac_objext conftest
$ac_exeext
7826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7827 (eval $ac_link) 2>conftest.er1
7829 grep -v '^ *+' conftest.er1
>conftest.err
7831 cat conftest.err
>&5
7832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7833 (exit $ac_status); } &&
7834 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7839 (exit $ac_status); }; } &&
7840 { ac_try
='test -s conftest$ac_exeext'
7841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7845 (exit $ac_status); }; }; then
7846 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=yes
7848 echo "$as_me: failed program was:" >&5
7849 sed 's/^/| /' conftest.
$ac_ext >&5
7851 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension
=no
7853 rm -f conftest.err conftest.
$ac_objext \
7854 conftest
$ac_exeext conftest.
$ac_ext
7855 LIBS
=$ac_check_lib_save_LIBS
7857 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7858 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7859 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7861 cat >>confdefs.h
<<\_ACEOF
7862 #define HAVE_LIBXXF86VM 1
7865 X_PRE_LIBS
="$X_PRE_LIBS -lXxf86vm"
7871 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7873 cat >conftest.
$ac_ext <<_ACEOF
7876 cat confdefs.h
>>conftest.
$ac_ext
7877 cat >>conftest.
$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7879 #include <X11/Xlib.h>
7880 #include <X11/extensions/Xrandr.h>
7884 static typeof(XRRSetScreenConfigAndRate) * func;
7889 rm -f conftest.
$ac_objext
7890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7891 (eval $ac_compile) 2>conftest.er1
7893 grep -v '^ *+' conftest.er1
>conftest.err
7895 cat conftest.err
>&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } &&
7898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); }; } &&
7904 { ac_try
='test -s conftest.$ac_objext'
7905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); }; }; then
7911 cat >>confdefs.h
<<\_ACEOF
7912 #define HAVE_LIBXRANDR 1
7916 echo "$as_me: failed program was:" >&5
7917 sed 's/^/| /' conftest.
$ac_ext >&5
7920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7923 if test "$ac_cv_header_X11_extensions_Xvlib_h" = "yes"
7925 echo "$as_me:$LINENO: checking for XvShmCreateImage in -lXv" >&5
7926 echo $ECHO_N "checking for XvShmCreateImage in -lXv... $ECHO_C" >&6
7927 if test "${ac_cv_lib_Xv_XvShmCreateImage+set}" = set; then
7928 echo $ECHO_N "(cached) $ECHO_C" >&6
7930 ac_check_lib_save_LIBS
=$LIBS
7931 LIBS
="-lXv $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7932 cat >conftest.
$ac_ext <<_ACEOF
7935 cat confdefs.h
>>conftest.
$ac_ext
7936 cat >>conftest.
$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7939 /* Override any gcc2 internal prototype to avoid an error. */
7943 /* We use char because int might match the return type of a gcc2
7944 builtin and then its argument prototype would still apply. */
7945 char XvShmCreateImage ();
7949 XvShmCreateImage ();
7954 rm -f conftest.
$ac_objext conftest
$ac_exeext
7955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7956 (eval $ac_link) 2>conftest.er1
7958 grep -v '^ *+' conftest.er1
>conftest.err
7960 cat conftest.err
>&5
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); } &&
7963 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7968 (exit $ac_status); }; } &&
7969 { ac_try
='test -s conftest$ac_exeext'
7970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7974 (exit $ac_status); }; }; then
7975 ac_cv_lib_Xv_XvShmCreateImage
=yes
7977 echo "$as_me: failed program was:" >&5
7978 sed 's/^/| /' conftest.
$ac_ext >&5
7980 ac_cv_lib_Xv_XvShmCreateImage
=no
7982 rm -f conftest.err conftest.
$ac_objext \
7983 conftest
$ac_exeext conftest.
$ac_ext
7984 LIBS
=$ac_check_lib_save_LIBS
7986 echo "$as_me:$LINENO: result: $ac_cv_lib_Xv_XvShmCreateImage" >&5
7987 echo "${ECHO_T}$ac_cv_lib_Xv_XvShmCreateImage" >&6
7988 if test $ac_cv_lib_Xv_XvShmCreateImage = yes; then
7990 cat >>confdefs.h
<<\_ACEOF
7991 #define HAVE_XVIDEO 1
7994 X_PRE_LIBS
="$X_PRE_LIBS -lXv"
8005 if test "x$with_opengl" != "xno"
8007 if test -f /usr
/X11R
6/lib
/libGL.a
-a ! -f /usr
/X11R
6/lib
/libGL.so
8009 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8010 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8011 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8012 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8013 { (exit 1); exit 1; }; }
8018 for ac_header
in GL
/gl.h GL
/glx.h
8020 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8022 echo "$as_me:$LINENO: checking for $ac_header" >&5
8023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8025 echo $ECHO_N "(cached) $ECHO_C" >&6
8027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8030 # Is the header compilable?
8031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8033 cat >conftest.
$ac_ext <<_ACEOF
8036 cat confdefs.h
>>conftest.
$ac_ext
8037 cat >>conftest.
$ac_ext <<_ACEOF
8038 /* end confdefs.h. */
8039 $ac_includes_default
8040 #include <$ac_header>
8042 rm -f conftest.
$ac_objext
8043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8044 (eval $ac_compile) 2>conftest.er1
8046 grep -v '^ *+' conftest.er1
>conftest.err
8048 cat conftest.err
>&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); } &&
8051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8056 (exit $ac_status); }; } &&
8057 { ac_try
='test -s conftest.$ac_objext'
8058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); }; }; then
8063 ac_header_compiler
=yes
8065 echo "$as_me: failed program was:" >&5
8066 sed 's/^/| /' conftest.
$ac_ext >&5
8068 ac_header_compiler
=no
8070 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8072 echo "${ECHO_T}$ac_header_compiler" >&6
8074 # Is the header present?
8075 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8077 cat >conftest.
$ac_ext <<_ACEOF
8080 cat confdefs.h
>>conftest.
$ac_ext
8081 cat >>conftest.
$ac_ext <<_ACEOF
8082 /* end confdefs.h. */
8083 #include <$ac_header>
8085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8086 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8088 grep -v '^ *+' conftest.er1
>conftest.err
8090 cat conftest.err
>&5
8091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8092 (exit $ac_status); } >/dev
/null
; then
8093 if test -s conftest.err
; then
8094 ac_cpp_err
=$ac_c_preproc_warn_flag
8095 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8102 if test -z "$ac_cpp_err"; then
8103 ac_header_preproc
=yes
8105 echo "$as_me: failed program was:" >&5
8106 sed 's/^/| /' conftest.
$ac_ext >&5
8108 ac_header_preproc
=no
8110 rm -f conftest.err conftest.
$ac_ext
8111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8112 echo "${ECHO_T}$ac_header_preproc" >&6
8114 # So? What about this header?
8115 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8121 ac_header_preproc
=yes
8124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8138 ## ------------------------------------ ##
8139 ## Report this to wine-devel@winehq.org ##
8140 ## ------------------------------------ ##
8143 sed "s/^/$as_me: WARNING: /" >&2
8146 echo "$as_me:$LINENO: checking for $ac_header" >&5
8147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8149 echo $ECHO_N "(cached) $ECHO_C" >&6
8151 eval "$as_ac_Header=\$ac_header_preproc"
8153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8158 cat >>confdefs.h
<<_ACEOF
8159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8166 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8169 for ac_header
in GL
/glext.h
8171 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8172 echo "$as_me:$LINENO: checking for $ac_header" >&5
8173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8175 echo $ECHO_N "(cached) $ECHO_C" >&6
8177 cat >conftest.
$ac_ext <<_ACEOF
8180 cat confdefs.h
>>conftest.
$ac_ext
8181 cat >>conftest.
$ac_ext <<_ACEOF
8182 /* end confdefs.h. */
8185 #include <$ac_header>
8187 rm -f conftest.
$ac_objext
8188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8189 (eval $ac_compile) 2>conftest.er1
8191 grep -v '^ *+' conftest.er1
>conftest.err
8193 cat conftest.err
>&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); } &&
8196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8201 (exit $ac_status); }; } &&
8202 { ac_try
='test -s conftest.$ac_objext'
8203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); }; }; then
8208 eval "$as_ac_Header=yes"
8210 echo "$as_me: failed program was:" >&5
8211 sed 's/^/| /' conftest.
$ac_ext >&5
8213 eval "$as_ac_Header=no"
8215 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8220 cat >>confdefs.h
<<_ACEOF
8221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8228 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8229 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8230 if test "${wine_cv_opengl_version_OK+set}" = set; then
8231 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 cat >conftest.
$ac_ext <<_ACEOF
8236 cat confdefs.h
>>conftest.
$ac_ext
8237 cat >>conftest.
$ac_ext <<_ACEOF
8238 /* end confdefs.h. */
8243 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8248 rm -f conftest.
$ac_objext
8249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8250 (eval $ac_compile) 2>conftest.er1
8252 grep -v '^ *+' conftest.er1
>conftest.err
8254 cat conftest.err
>&5
8255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8256 (exit $ac_status); } &&
8257 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8262 (exit $ac_status); }; } &&
8263 { ac_try
='test -s conftest.$ac_objext'
8264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8268 (exit $ac_status); }; }; then
8269 wine_cv_opengl_version_OK
="yes"
8271 echo "$as_me: failed program was:" >&5
8272 sed 's/^/| /' conftest.
$ac_ext >&5
8274 wine_cv_opengl_version_OK
="no"
8277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8280 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8281 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8283 if test "$wine_cv_opengl_version_OK" = "yes"
8285 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8286 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8287 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 ac_check_lib_save_LIBS
=$LIBS
8291 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8292 cat >conftest.
$ac_ext <<_ACEOF
8295 cat confdefs.h
>>conftest.
$ac_ext
8296 cat >>conftest.
$ac_ext <<_ACEOF
8297 /* end confdefs.h. */
8299 /* Override any gcc2 internal prototype to avoid an error. */
8303 /* We use char because int might match the return type of a gcc2
8304 builtin and then its argument prototype would still apply. */
8305 char glXCreateContext ();
8309 glXCreateContext ();
8314 rm -f conftest.
$ac_objext conftest
$ac_exeext
8315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8316 (eval $ac_link) 2>conftest.er1
8318 grep -v '^ *+' conftest.er1
>conftest.err
8320 cat conftest.err
>&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } &&
8323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8328 (exit $ac_status); }; } &&
8329 { ac_try
='test -s conftest$ac_exeext'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; }; then
8335 ac_cv_lib_GL_glXCreateContext
=yes
8337 echo "$as_me: failed program was:" >&5
8338 sed 's/^/| /' conftest.
$ac_ext >&5
8340 ac_cv_lib_GL_glXCreateContext
=no
8342 rm -f conftest.err conftest.
$ac_objext \
8343 conftest
$ac_exeext conftest.
$ac_ext
8344 LIBS
=$ac_check_lib_save_LIBS
8346 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8347 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8348 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8354 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8356 OPENGLFILES
='$(OPENGLFILES)'
8358 cat >>confdefs.h
<<\_ACEOF
8359 #define HAVE_OPENGL 1
8363 echo "$as_me:$LINENO: checking for glXGetProcAddressARB in -lGL" >&5
8364 echo $ECHO_N "checking for glXGetProcAddressARB in -lGL... $ECHO_C" >&6
8365 if test "${ac_cv_lib_GL_glXGetProcAddressARB+set}" = set; then
8366 echo $ECHO_N "(cached) $ECHO_C" >&6
8368 ac_check_lib_save_LIBS
=$LIBS
8369 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8370 cat >conftest.
$ac_ext <<_ACEOF
8373 cat confdefs.h
>>conftest.
$ac_ext
8374 cat >>conftest.
$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8377 /* Override any gcc2 internal prototype to avoid an error. */
8381 /* We use char because int might match the return type of a gcc2
8382 builtin and then its argument prototype would still apply. */
8383 char glXGetProcAddressARB ();
8387 glXGetProcAddressARB ();
8392 rm -f conftest.
$ac_objext conftest
$ac_exeext
8393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8394 (eval $ac_link) 2>conftest.er1
8396 grep -v '^ *+' conftest.er1
>conftest.err
8398 cat conftest.err
>&5
8399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8400 (exit $ac_status); } &&
8401 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406 (exit $ac_status); }; } &&
8407 { ac_try
='test -s conftest$ac_exeext'
8408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8412 (exit $ac_status); }; }; then
8413 ac_cv_lib_GL_glXGetProcAddressARB
=yes
8415 echo "$as_me: failed program was:" >&5
8416 sed 's/^/| /' conftest.
$ac_ext >&5
8418 ac_cv_lib_GL_glXGetProcAddressARB
=no
8420 rm -f conftest.err conftest.
$ac_objext \
8421 conftest
$ac_exeext conftest.
$ac_ext
8422 LIBS
=$ac_check_lib_save_LIBS
8424 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXGetProcAddressARB" >&5
8425 echo "${ECHO_T}$ac_cv_lib_GL_glXGetProcAddressARB" >&6
8426 if test $ac_cv_lib_GL_glXGetProcAddressARB = yes; then
8428 cat >>confdefs.h
<<\_ACEOF
8429 #define HAVE_GLX_GETPROCADDRESS 1
8435 if test "$ac_cv_lib_GL_glXGetProcAddressARB" = "yes"
8437 echo "$as_me:$LINENO: checking for OpenGL extension functions prototypes" >&5
8438 echo $ECHO_N "checking for OpenGL extension functions prototypes... $ECHO_C" >&6
8439 if test "${wine_cv_extension_prototypes+set}" = set; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6
8442 cat >conftest.
$ac_ext <<_ACEOF
8445 cat confdefs.h
>>conftest.
$ac_ext
8446 cat >>conftest.
$ac_ext <<_ACEOF
8447 /* end confdefs.h. */
8449 #ifdef HAVE_GL_GLEXT_H
8450 # include <GL/glext.h>
8456 PFNGLCOLORTABLEEXTPROC test_proc;
8461 rm -f conftest.
$ac_objext
8462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8463 (eval $ac_compile) 2>conftest.er1
8465 grep -v '^ *+' conftest.er1
>conftest.err
8467 cat conftest.err
>&5
8468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469 (exit $ac_status); } &&
8470 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 (exit $ac_status); }; } &&
8476 { ac_try
='test -s conftest.$ac_objext'
8477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); }; }; then
8482 wine_cv_extension_prototypes
="yes"
8484 echo "$as_me: failed program was:" >&5
8485 sed 's/^/| /' conftest.
$ac_ext >&5
8487 wine_cv_extension_prototypes
="no"
8490 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8493 echo "$as_me:$LINENO: result: $wine_cv_extension_prototypes" >&5
8494 echo "${ECHO_T}$wine_cv_extension_prototypes" >&6
8495 if test "$wine_cv_extension_prototypes" = "yes"
8498 cat >>confdefs.h
<<\_ACEOF
8499 #define HAVE_GLEXT_PROTOTYPES 1
8506 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8507 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8508 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8509 echo $ECHO_N "(cached) $ECHO_C" >&6
8511 ac_check_lib_save_LIBS
=$LIBS
8512 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8514 cat >conftest.
$ac_ext <<_ACEOF
8517 cat confdefs.h
>>conftest.
$ac_ext
8518 cat >>conftest.
$ac_ext <<_ACEOF
8519 /* end confdefs.h. */
8521 /* Override any gcc2 internal prototype to avoid an error. */
8525 /* We use char because int might match the return type of a gcc2
8526 builtin and then its argument prototype would still apply. */
8536 rm -f conftest.
$ac_objext conftest
$ac_exeext
8537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8538 (eval $ac_link) 2>conftest.er1
8540 grep -v '^ *+' conftest.er1
>conftest.err
8542 cat conftest.err
>&5
8543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8544 (exit $ac_status); } &&
8545 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8550 (exit $ac_status); }; } &&
8551 { ac_try
='test -s conftest$ac_exeext'
8552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8556 (exit $ac_status); }; }; then
8557 ac_cv_lib_GLU_gluLookAt
=yes
8559 echo "$as_me: failed program was:" >&5
8560 sed 's/^/| /' conftest.
$ac_ext >&5
8562 ac_cv_lib_GLU_gluLookAt
=no
8564 rm -f conftest.err conftest.
$ac_objext \
8565 conftest
$ac_exeext conftest.
$ac_ext
8566 LIBS
=$ac_check_lib_save_LIBS
8568 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8569 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8570 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8571 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
8572 GLU32FILES
='$(GLU32FILES)'
8578 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8579 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8580 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8583 ac_check_lib_save_LIBS
=$LIBS
8584 LIBS
="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8585 cat >conftest.
$ac_ext <<_ACEOF
8588 cat confdefs.h
>>conftest.
$ac_ext
8589 cat >>conftest.
$ac_ext <<_ACEOF
8590 /* end confdefs.h. */
8592 /* Override any gcc2 internal prototype to avoid an error. */
8596 /* We use char because int might match the return type of a gcc2
8597 builtin and then its argument prototype would still apply. */
8598 char glutMainLoop ();
8607 rm -f conftest.
$ac_objext conftest
$ac_exeext
8608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8609 (eval $ac_link) 2>conftest.er1
8611 grep -v '^ *+' conftest.er1
>conftest.err
8613 cat conftest.err
>&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } &&
8616 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8621 (exit $ac_status); }; } &&
8622 { ac_try
='test -s conftest$ac_exeext'
8623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8627 (exit $ac_status); }; }; then
8628 ac_cv_lib_glut_glutMainLoop
=yes
8630 echo "$as_me: failed program was:" >&5
8631 sed 's/^/| /' conftest.
$ac_ext >&5
8633 ac_cv_lib_glut_glutMainLoop
=no
8635 rm -f conftest.err conftest.
$ac_objext \
8636 conftest
$ac_exeext conftest.
$ac_ext
8637 LIBS
=$ac_check_lib_save_LIBS
8639 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8640 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8641 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8642 GLUT_LIBS
="-lglut -lXmu -lXi"
8644 GLUT32FILES
='$(GLUT32FILES)'
8654 for ac_header
in audio
/audiolib.h
8656 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8658 echo "$as_me:$LINENO: checking for $ac_header" >&5
8659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8661 echo $ECHO_N "(cached) $ECHO_C" >&6
8663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8666 # Is the header compilable?
8667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8669 cat >conftest.
$ac_ext <<_ACEOF
8672 cat confdefs.h
>>conftest.
$ac_ext
8673 cat >>conftest.
$ac_ext <<_ACEOF
8674 /* end confdefs.h. */
8675 $ac_includes_default
8676 #include <$ac_header>
8678 rm -f conftest.
$ac_objext
8679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8680 (eval $ac_compile) 2>conftest.er1
8682 grep -v '^ *+' conftest.er1
>conftest.err
8684 cat conftest.err
>&5
8685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8686 (exit $ac_status); } &&
8687 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); }; } &&
8693 { ac_try
='test -s conftest.$ac_objext'
8694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8698 (exit $ac_status); }; }; then
8699 ac_header_compiler
=yes
8701 echo "$as_me: failed program was:" >&5
8702 sed 's/^/| /' conftest.
$ac_ext >&5
8704 ac_header_compiler
=no
8706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8707 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8708 echo "${ECHO_T}$ac_header_compiler" >&6
8710 # Is the header present?
8711 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8712 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8713 cat >conftest.
$ac_ext <<_ACEOF
8716 cat confdefs.h
>>conftest.
$ac_ext
8717 cat >>conftest.
$ac_ext <<_ACEOF
8718 /* end confdefs.h. */
8719 #include <$ac_header>
8721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8722 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8724 grep -v '^ *+' conftest.er1
>conftest.err
8726 cat conftest.err
>&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } >/dev
/null
; then
8729 if test -s conftest.err
; then
8730 ac_cpp_err
=$ac_c_preproc_warn_flag
8731 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8738 if test -z "$ac_cpp_err"; then
8739 ac_header_preproc
=yes
8741 echo "$as_me: failed program was:" >&5
8742 sed 's/^/| /' conftest.
$ac_ext >&5
8744 ac_header_preproc
=no
8746 rm -f conftest.err conftest.
$ac_ext
8747 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8748 echo "${ECHO_T}$ac_header_preproc" >&6
8750 # So? What about this header?
8751 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8753 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8754 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8756 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8757 ac_header_preproc
=yes
8760 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8761 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8762 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8763 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8764 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8765 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8766 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8767 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8768 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8769 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8770 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8771 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8774 ## ------------------------------------ ##
8775 ## Report this to wine-devel@winehq.org ##
8776 ## ------------------------------------ ##
8779 sed "s/^/$as_me: WARNING: /" >&2
8782 echo "$as_me:$LINENO: checking for $ac_header" >&5
8783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8787 eval "$as_ac_Header=\$ac_header_preproc"
8789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8790 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8793 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8794 cat >>confdefs.h
<<_ACEOF
8795 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8798 for ac_header
in audio
/soundlib.h
8800 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8801 echo "$as_me:$LINENO: checking for $ac_header" >&5
8802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8804 echo $ECHO_N "(cached) $ECHO_C" >&6
8806 cat >conftest.
$ac_ext <<_ACEOF
8809 cat confdefs.h
>>conftest.
$ac_ext
8810 cat >>conftest.
$ac_ext <<_ACEOF
8811 /* end confdefs.h. */
8812 #include <audio/audiolib.h>
8814 #include <$ac_header>
8816 rm -f conftest.
$ac_objext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8818 (eval $ac_compile) 2>conftest.er1
8820 grep -v '^ *+' conftest.er1
>conftest.err
8822 cat conftest.err
>&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; } &&
8831 { ac_try
='test -s conftest.$ac_objext'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; }; then
8837 eval "$as_ac_Header=yes"
8839 echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.
$ac_ext >&5
8842 eval "$as_ac_Header=no"
8844 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8848 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8849 cat >>confdefs.h
<<_ACEOF
8850 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8857 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8858 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8859 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8860 echo $ECHO_N "(cached) $ECHO_C" >&6
8862 ac_check_lib_save_LIBS
=$LIBS
8863 LIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8864 cat >conftest.
$ac_ext <<_ACEOF
8867 cat confdefs.h
>>conftest.
$ac_ext
8868 cat >>conftest.
$ac_ext <<_ACEOF
8869 /* end confdefs.h. */
8871 /* Override any gcc2 internal prototype to avoid an error. */
8875 /* We use char because int might match the return type of a gcc2
8876 builtin and then its argument prototype would still apply. */
8877 char AuCreateFlow ();
8886 rm -f conftest.
$ac_objext conftest
$ac_exeext
8887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8888 (eval $ac_link) 2>conftest.er1
8890 grep -v '^ *+' conftest.er1
>conftest.err
8892 cat conftest.err
>&5
8893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894 (exit $ac_status); } &&
8895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8900 (exit $ac_status); }; } &&
8901 { ac_try
='test -s conftest$ac_exeext'
8902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8906 (exit $ac_status); }; }; then
8907 ac_cv_lib_audio_AuCreateFlow
=yes
8909 echo "$as_me: failed program was:" >&5
8910 sed 's/^/| /' conftest.
$ac_ext >&5
8912 ac_cv_lib_audio_AuCreateFlow
=no
8914 rm -f conftest.err conftest.
$ac_objext \
8915 conftest
$ac_exeext conftest.
$ac_ext
8916 LIBS
=$ac_check_lib_save_LIBS
8918 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8919 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8920 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8922 cat >>confdefs.h
<<\_ACEOF
8926 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8934 CPPFLAGS
="$ac_save_CPPFLAGS"
8943 if test "x$with_curses" != "xno"
8946 for ac_header
in ncurses.h
8948 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8950 echo "$as_me:$LINENO: checking for $ac_header" >&5
8951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8953 echo $ECHO_N "(cached) $ECHO_C" >&6
8955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8958 # Is the header compilable?
8959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8961 cat >conftest.
$ac_ext <<_ACEOF
8964 cat confdefs.h
>>conftest.
$ac_ext
8965 cat >>conftest.
$ac_ext <<_ACEOF
8966 /* end confdefs.h. */
8967 $ac_includes_default
8968 #include <$ac_header>
8970 rm -f conftest.
$ac_objext
8971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8972 (eval $ac_compile) 2>conftest.er1
8974 grep -v '^ *+' conftest.er1
>conftest.err
8976 cat conftest.err
>&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 (exit $ac_status); } &&
8979 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); }; } &&
8985 { ac_try
='test -s conftest.$ac_objext'
8986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8990 (exit $ac_status); }; }; then
8991 ac_header_compiler
=yes
8993 echo "$as_me: failed program was:" >&5
8994 sed 's/^/| /' conftest.
$ac_ext >&5
8996 ac_header_compiler
=no
8998 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8999 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9000 echo "${ECHO_T}$ac_header_compiler" >&6
9002 # Is the header present?
9003 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9004 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9005 cat >conftest.
$ac_ext <<_ACEOF
9008 cat confdefs.h
>>conftest.
$ac_ext
9009 cat >>conftest.
$ac_ext <<_ACEOF
9010 /* end confdefs.h. */
9011 #include <$ac_header>
9013 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9014 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9016 grep -v '^ *+' conftest.er1
>conftest.err
9018 cat conftest.err
>&5
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); } >/dev
/null
; then
9021 if test -s conftest.err
; then
9022 ac_cpp_err
=$ac_c_preproc_warn_flag
9023 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9030 if test -z "$ac_cpp_err"; then
9031 ac_header_preproc
=yes
9033 echo "$as_me: failed program was:" >&5
9034 sed 's/^/| /' conftest.
$ac_ext >&5
9036 ac_header_preproc
=no
9038 rm -f conftest.err conftest.
$ac_ext
9039 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9040 echo "${ECHO_T}$ac_header_preproc" >&6
9042 # So? What about this header?
9043 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9045 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9046 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9047 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9048 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9049 ac_header_preproc
=yes
9052 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9053 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9054 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9055 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9056 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9057 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9058 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9059 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9061 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9062 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9063 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9066 ## ------------------------------------ ##
9067 ## Report this to wine-devel@winehq.org ##
9068 ## ------------------------------------ ##
9071 sed "s/^/$as_me: WARNING: /" >&2
9074 echo "$as_me:$LINENO: checking for $ac_header" >&5
9075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9077 echo $ECHO_N "(cached) $ECHO_C" >&6
9079 eval "$as_ac_Header=\$ac_header_preproc"
9081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9085 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9086 cat >>confdefs.h
<<_ACEOF
9087 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9089 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9090 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9091 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9092 echo $ECHO_N "(cached) $ECHO_C" >&6
9094 ac_check_lib_save_LIBS
=$LIBS
9095 LIBS
="-lncurses $LIBS"
9096 cat >conftest.
$ac_ext <<_ACEOF
9099 cat confdefs.h
>>conftest.
$ac_ext
9100 cat >>conftest.
$ac_ext <<_ACEOF
9101 /* end confdefs.h. */
9103 /* Override any gcc2 internal prototype to avoid an error. */
9107 /* We use char because int might match the return type of a gcc2
9108 builtin and then its argument prototype would still apply. */
9118 rm -f conftest.
$ac_objext conftest
$ac_exeext
9119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9120 (eval $ac_link) 2>conftest.er1
9122 grep -v '^ *+' conftest.er1
>conftest.err
9124 cat conftest.err
>&5
9125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9126 (exit $ac_status); } &&
9127 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9132 (exit $ac_status); }; } &&
9133 { ac_try
='test -s conftest$ac_exeext'
9134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9138 (exit $ac_status); }; }; then
9139 ac_cv_lib_ncurses_waddch
=yes
9141 echo "$as_me: failed program was:" >&5
9142 sed 's/^/| /' conftest.
$ac_ext >&5
9144 ac_cv_lib_ncurses_waddch
=no
9146 rm -f conftest.err conftest.
$ac_objext \
9147 conftest
$ac_exeext conftest.
$ac_ext
9148 LIBS
=$ac_check_lib_save_LIBS
9150 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9151 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9152 if test $ac_cv_lib_ncurses_waddch = yes; then
9154 cat >>confdefs.h
<<\_ACEOF
9155 #define HAVE_LIBNCURSES 1
9158 CURSESLIBS
="-lncurses"
9161 for ac_header
in curses.h
9163 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9165 echo "$as_me:$LINENO: checking for $ac_header" >&5
9166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9168 echo $ECHO_N "(cached) $ECHO_C" >&6
9170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9173 # Is the header compilable?
9174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9176 cat >conftest.
$ac_ext <<_ACEOF
9179 cat confdefs.h
>>conftest.
$ac_ext
9180 cat >>conftest.
$ac_ext <<_ACEOF
9181 /* end confdefs.h. */
9182 $ac_includes_default
9183 #include <$ac_header>
9185 rm -f conftest.
$ac_objext
9186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9187 (eval $ac_compile) 2>conftest.er1
9189 grep -v '^ *+' conftest.er1
>conftest.err
9191 cat conftest.err
>&5
9192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9193 (exit $ac_status); } &&
9194 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9199 (exit $ac_status); }; } &&
9200 { ac_try
='test -s conftest.$ac_objext'
9201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9205 (exit $ac_status); }; }; then
9206 ac_header_compiler
=yes
9208 echo "$as_me: failed program was:" >&5
9209 sed 's/^/| /' conftest.
$ac_ext >&5
9211 ac_header_compiler
=no
9213 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9215 echo "${ECHO_T}$ac_header_compiler" >&6
9217 # Is the header present?
9218 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9219 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9220 cat >conftest.
$ac_ext <<_ACEOF
9223 cat confdefs.h
>>conftest.
$ac_ext
9224 cat >>conftest.
$ac_ext <<_ACEOF
9225 /* end confdefs.h. */
9226 #include <$ac_header>
9228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9229 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9231 grep -v '^ *+' conftest.er1
>conftest.err
9233 cat conftest.err
>&5
9234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9235 (exit $ac_status); } >/dev
/null
; then
9236 if test -s conftest.err
; then
9237 ac_cpp_err
=$ac_c_preproc_warn_flag
9238 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9245 if test -z "$ac_cpp_err"; then
9246 ac_header_preproc
=yes
9248 echo "$as_me: failed program was:" >&5
9249 sed 's/^/| /' conftest.
$ac_ext >&5
9251 ac_header_preproc
=no
9253 rm -f conftest.err conftest.
$ac_ext
9254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9255 echo "${ECHO_T}$ac_header_preproc" >&6
9257 # So? What about this header?
9258 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9260 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9261 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9263 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9264 ac_header_preproc
=yes
9267 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9268 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9269 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9270 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9271 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9272 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9273 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9274 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9275 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9276 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9277 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9278 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9281 ## ------------------------------------ ##
9282 ## Report this to wine-devel@winehq.org ##
9283 ## ------------------------------------ ##
9286 sed "s/^/$as_me: WARNING: /" >&2
9289 echo "$as_me:$LINENO: checking for $ac_header" >&5
9290 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9291 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9292 echo $ECHO_N "(cached) $ECHO_C" >&6
9294 eval "$as_ac_Header=\$ac_header_preproc"
9296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9297 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9300 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9301 cat >>confdefs.h
<<_ACEOF
9302 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9304 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9305 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9306 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9307 echo $ECHO_N "(cached) $ECHO_C" >&6
9309 ac_check_lib_save_LIBS
=$LIBS
9310 LIBS
="-lcurses $LIBS"
9311 cat >conftest.
$ac_ext <<_ACEOF
9314 cat confdefs.h
>>conftest.
$ac_ext
9315 cat >>conftest.
$ac_ext <<_ACEOF
9316 /* end confdefs.h. */
9318 /* Override any gcc2 internal prototype to avoid an error. */
9322 /* We use char because int might match the return type of a gcc2
9323 builtin and then its argument prototype would still apply. */
9333 rm -f conftest.
$ac_objext conftest
$ac_exeext
9334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9335 (eval $ac_link) 2>conftest.er1
9337 grep -v '^ *+' conftest.er1
>conftest.err
9339 cat conftest.err
>&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 (exit $ac_status); } &&
9342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9347 (exit $ac_status); }; } &&
9348 { ac_try
='test -s conftest$ac_exeext'
9349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9353 (exit $ac_status); }; }; then
9354 ac_cv_lib_curses_waddch
=yes
9356 echo "$as_me: failed program was:" >&5
9357 sed 's/^/| /' conftest.
$ac_ext >&5
9359 ac_cv_lib_curses_waddch
=no
9361 rm -f conftest.err conftest.
$ac_objext \
9362 conftest
$ac_exeext conftest.
$ac_ext
9363 LIBS
=$ac_check_lib_save_LIBS
9365 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9366 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9367 if test $ac_cv_lib_curses_waddch = yes; then
9369 cat >>confdefs.h
<<\_ACEOF
9370 #define HAVE_LIBCURSES 1
9373 CURSESLIBS
="-lcurses"
9387 LIBS
="$CURSESLIBS $LIBS"
9390 for ac_func
in getbkgd resizeterm
9392 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9393 echo "$as_me:$LINENO: checking for $ac_func" >&5
9394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9395 if eval "test \"\${$as_ac_var+set}\" = set"; then
9396 echo $ECHO_N "(cached) $ECHO_C" >&6
9398 cat >conftest.
$ac_ext <<_ACEOF
9401 cat confdefs.h
>>conftest.
$ac_ext
9402 cat >>conftest.
$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9406 #define $ac_func innocuous_$ac_func
9408 /* System header to define __stub macros and hopefully few prototypes,
9409 which can conflict with char $ac_func (); below.
9410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9411 <limits.h> exists even on freestanding compilers. */
9414 # include <limits.h>
9416 # include <assert.h>
9421 /* Override any gcc2 internal prototype to avoid an error. */
9426 /* We use char because int might match the return type of a gcc2
9427 builtin and then its argument prototype would still apply. */
9429 /* The GNU C library defines this for functions which it implements
9430 to always fail with ENOSYS. Some functions are actually named
9431 something starting with __ and the normal name is an alias. */
9432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9435 char (*f) () = $ac_func;
9444 return f != $ac_func;
9449 rm -f conftest.
$ac_objext conftest
$ac_exeext
9450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9451 (eval $ac_link) 2>conftest.er1
9453 grep -v '^ *+' conftest.er1
>conftest.err
9455 cat conftest.err
>&5
9456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9457 (exit $ac_status); } &&
9458 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9463 (exit $ac_status); }; } &&
9464 { ac_try
='test -s conftest$ac_exeext'
9465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); }; }; then
9470 eval "$as_ac_var=yes"
9472 echo "$as_me: failed program was:" >&5
9473 sed 's/^/| /' conftest.
$ac_ext >&5
9475 eval "$as_ac_var=no"
9477 rm -f conftest.err conftest.
$ac_objext \
9478 conftest
$ac_exeext conftest.
$ac_ext
9480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9482 if test `eval echo '${'$as_ac_var'}'` = yes; then
9483 cat >>confdefs.h
<<_ACEOF
9484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9494 # Extract the first word of "sane-config", so it can be a program name with args.
9495 set dummy sane-config
; ac_word
=$2
9496 echo "$as_me:$LINENO: checking for $ac_word" >&5
9497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9498 if test "${ac_cv_prog_sane_devel+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 if test -n "$sane_devel"; then
9502 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9508 test -z "$as_dir" && as_dir
=.
9509 for ac_exec_ext
in '' $ac_executable_extensions; do
9510 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9511 ac_cv_prog_sane_devel
="sane-config"
9512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9518 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9521 sane_devel
=$ac_cv_prog_sane_devel
9522 if test -n "$sane_devel"; then
9523 echo "$as_me:$LINENO: result: $sane_devel" >&5
9524 echo "${ECHO_T}$sane_devel" >&6
9526 echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6
9530 if test "$sane_devel" = "no"
9535 SANELIBS
="`$sane_devel --libs`"
9536 SANEINCL
="`$sane_devel --cflags`"
9537 ac_save_CPPFLAGS
="$CPPFLAGS"
9538 ac_save_LIBS
="$LIBS"
9539 CPPFLAGS
="$CPPFLAGS $SANEINCL"
9540 LIBS
="$LIBS $SANELIBS"
9541 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9542 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9543 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9544 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9545 echo $ECHO_N "(cached) $ECHO_C" >&6
9547 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9548 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9550 # Is the header compilable?
9551 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9552 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9553 cat >conftest.
$ac_ext <<_ACEOF
9556 cat confdefs.h
>>conftest.
$ac_ext
9557 cat >>conftest.
$ac_ext <<_ACEOF
9558 /* end confdefs.h. */
9559 $ac_includes_default
9560 #include <sane/sane.h>
9562 rm -f conftest.
$ac_objext
9563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9564 (eval $ac_compile) 2>conftest.er1
9566 grep -v '^ *+' conftest.er1
>conftest.err
9568 cat conftest.err
>&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); } &&
9571 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 (exit $ac_status); }; } &&
9577 { ac_try
='test -s conftest.$ac_objext'
9578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9582 (exit $ac_status); }; }; then
9583 ac_header_compiler
=yes
9585 echo "$as_me: failed program was:" >&5
9586 sed 's/^/| /' conftest.
$ac_ext >&5
9588 ac_header_compiler
=no
9590 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9591 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9592 echo "${ECHO_T}$ac_header_compiler" >&6
9594 # Is the header present?
9595 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9596 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9597 cat >conftest.
$ac_ext <<_ACEOF
9600 cat confdefs.h
>>conftest.
$ac_ext
9601 cat >>conftest.
$ac_ext <<_ACEOF
9602 /* end confdefs.h. */
9603 #include <sane/sane.h>
9605 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9606 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9608 grep -v '^ *+' conftest.er1
>conftest.err
9610 cat conftest.err
>&5
9611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9612 (exit $ac_status); } >/dev
/null
; then
9613 if test -s conftest.err
; then
9614 ac_cpp_err
=$ac_c_preproc_warn_flag
9615 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9622 if test -z "$ac_cpp_err"; then
9623 ac_header_preproc
=yes
9625 echo "$as_me: failed program was:" >&5
9626 sed 's/^/| /' conftest.
$ac_ext >&5
9628 ac_header_preproc
=no
9630 rm -f conftest.err conftest.
$ac_ext
9631 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9632 echo "${ECHO_T}$ac_header_preproc" >&6
9634 # So? What about this header?
9635 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9637 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9638 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9639 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9640 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9641 ac_header_preproc
=yes
9644 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9645 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9646 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9647 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9648 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9649 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9650 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9651 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9652 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9653 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9654 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9655 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9658 ## ------------------------------------ ##
9659 ## Report this to wine-devel@winehq.org ##
9660 ## ------------------------------------ ##
9663 sed "s/^/$as_me: WARNING: /" >&2
9666 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9667 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9668 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9669 echo $ECHO_N "(cached) $ECHO_C" >&6
9671 ac_cv_header_sane_sane_h
=$ac_header_preproc
9673 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9674 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9677 if test $ac_cv_header_sane_sane_h = yes; then
9678 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9679 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9680 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9681 echo $ECHO_N "(cached) $ECHO_C" >&6
9683 ac_check_lib_save_LIBS
=$LIBS
9685 cat >conftest.
$ac_ext <<_ACEOF
9688 cat confdefs.h
>>conftest.
$ac_ext
9689 cat >>conftest.
$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9692 /* Override any gcc2 internal prototype to avoid an error. */
9696 /* We use char because int might match the return type of a gcc2
9697 builtin and then its argument prototype would still apply. */
9707 rm -f conftest.
$ac_objext conftest
$ac_exeext
9708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9709 (eval $ac_link) 2>conftest.er1
9711 grep -v '^ *+' conftest.er1
>conftest.err
9713 cat conftest.err
>&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); } &&
9716 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9721 (exit $ac_status); }; } &&
9722 { ac_try
='test -s conftest$ac_exeext'
9723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9727 (exit $ac_status); }; }; then
9728 ac_cv_lib_sane_sane_open
=yes
9730 echo "$as_me: failed program was:" >&5
9731 sed 's/^/| /' conftest.
$ac_ext >&5
9733 ac_cv_lib_sane_sane_open
=no
9735 rm -f conftest.err conftest.
$ac_objext \
9736 conftest
$ac_exeext conftest.
$ac_ext
9737 LIBS
=$ac_check_lib_save_LIBS
9739 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9740 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9741 if test $ac_cv_lib_sane_sane_open = yes; then
9743 cat >>confdefs.h
<<\_ACEOF
9758 LIBS
="$ac_save_LIBS"
9759 CPPFLAGS
="$ac_save_CPPFLAGS"
9765 for ac_header
in unicode
/ubidi.h
9767 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9769 echo "$as_me:$LINENO: checking for $ac_header" >&5
9770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9772 echo $ECHO_N "(cached) $ECHO_C" >&6
9774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9777 # Is the header compilable?
9778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9780 cat >conftest.
$ac_ext <<_ACEOF
9783 cat confdefs.h
>>conftest.
$ac_ext
9784 cat >>conftest.
$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9786 $ac_includes_default
9787 #include <$ac_header>
9789 rm -f conftest.
$ac_objext
9790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9791 (eval $ac_compile) 2>conftest.er1
9793 grep -v '^ *+' conftest.er1
>conftest.err
9795 cat conftest.err
>&5
9796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9797 (exit $ac_status); } &&
9798 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9803 (exit $ac_status); }; } &&
9804 { ac_try
='test -s conftest.$ac_objext'
9805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9809 (exit $ac_status); }; }; then
9810 ac_header_compiler
=yes
9812 echo "$as_me: failed program was:" >&5
9813 sed 's/^/| /' conftest.
$ac_ext >&5
9815 ac_header_compiler
=no
9817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9818 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9819 echo "${ECHO_T}$ac_header_compiler" >&6
9821 # Is the header present?
9822 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9823 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9824 cat >conftest.
$ac_ext <<_ACEOF
9827 cat confdefs.h
>>conftest.
$ac_ext
9828 cat >>conftest.
$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9830 #include <$ac_header>
9832 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9833 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9835 grep -v '^ *+' conftest.er1
>conftest.err
9837 cat conftest.err
>&5
9838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9839 (exit $ac_status); } >/dev
/null
; then
9840 if test -s conftest.err
; then
9841 ac_cpp_err
=$ac_c_preproc_warn_flag
9842 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9849 if test -z "$ac_cpp_err"; then
9850 ac_header_preproc
=yes
9852 echo "$as_me: failed program was:" >&5
9853 sed 's/^/| /' conftest.
$ac_ext >&5
9855 ac_header_preproc
=no
9857 rm -f conftest.err conftest.
$ac_ext
9858 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9859 echo "${ECHO_T}$ac_header_preproc" >&6
9861 # So? What about this header?
9862 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9864 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9865 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9866 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9867 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9868 ac_header_preproc
=yes
9871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9875 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9876 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9877 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9878 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9881 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9882 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9885 ## ------------------------------------ ##
9886 ## Report this to wine-devel@winehq.org ##
9887 ## ------------------------------------ ##
9890 sed "s/^/$as_me: WARNING: /" >&2
9893 echo "$as_me:$LINENO: checking for $ac_header" >&5
9894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9896 echo $ECHO_N "(cached) $ECHO_C" >&6
9898 eval "$as_ac_Header=\$ac_header_preproc"
9900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9904 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9905 cat >>confdefs.h
<<_ACEOF
9906 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9913 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9916 ICU_LIB_DIR
="${ICU_LIB_DIR-/usr/lib}"
9917 ICUUC_LIB
="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9918 ICUDATA_LIB
="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9919 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9920 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9921 LIBS
="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9922 cat >conftest.
$ac_ext <<_ACEOF
9925 cat confdefs.h
>>conftest.
$ac_ext
9926 cat >>conftest.
$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9928 #include <unicode/ubidi.h>
9937 rm -f conftest.
$ac_objext conftest
$ac_exeext
9938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9939 (eval $ac_link) 2>conftest.er1
9941 grep -v '^ *+' conftest.er1
>conftest.err
9943 cat conftest.err
>&5
9944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9945 (exit $ac_status); } &&
9946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9951 (exit $ac_status); }; } &&
9952 { ac_try
='test -s conftest$ac_exeext'
9953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); }; }; then
9959 cat >>confdefs.h
<<\_ACEOF
9963 ICULIBS
="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9965 echo "$as_me:$LINENO: result: yes" >&5
9966 echo "${ECHO_T}yes" >&6
9968 echo "$as_me: failed program was:" >&5
9969 sed 's/^/| /' conftest.
$ac_ext >&5
9971 echo "$as_me:$LINENO: result: no" >&5
9972 echo "${ECHO_T}no" >&6
9974 rm -f conftest.err conftest.
$ac_objext \
9975 conftest
$ac_exeext conftest.
$ac_ext
9979 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9980 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9981 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9982 echo $ECHO_N "(cached) $ECHO_C" >&6
9984 ac_check_lib_save_LIBS
=$LIBS
9985 LIBS
="-lfreetype $X_LIBS $LIBS"
9986 cat >conftest.
$ac_ext <<_ACEOF
9989 cat confdefs.h
>>conftest.
$ac_ext
9990 cat >>conftest.
$ac_ext <<_ACEOF
9991 /* end confdefs.h. */
9993 /* Override any gcc2 internal prototype to avoid an error. */
9997 /* We use char because int might match the return type of a gcc2
9998 builtin and then its argument prototype would still apply. */
9999 char FT_Init_FreeType ();
10003 FT_Init_FreeType ();
10008 rm -f conftest.
$ac_objext conftest
$ac_exeext
10009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10010 (eval $ac_link) 2>conftest.er1
10012 grep -v '^ *+' conftest.er1
>conftest.err
10014 cat conftest.err
>&5
10015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10016 (exit $ac_status); } &&
10017 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10019 (eval $ac_try) 2>&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); }; } &&
10023 { ac_try
='test -s conftest$ac_exeext'
10024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10025 (eval $ac_try) 2>&5
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); }; }; then
10029 ac_cv_lib_freetype_FT_Init_FreeType
=yes
10031 echo "$as_me: failed program was:" >&5
10032 sed 's/^/| /' conftest.
$ac_ext >&5
10034 ac_cv_lib_freetype_FT_Init_FreeType
=no
10036 rm -f conftest.err conftest.
$ac_objext \
10037 conftest
$ac_exeext conftest.
$ac_ext
10038 LIBS
=$ac_check_lib_save_LIBS
10040 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
10041 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
10042 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
10048 if test "$ft_lib" = "no"
10052 wine_cv_msg_freetype
=no
10054 # Extract the first word of "freetype-config", so it can be a program name with args.
10055 set dummy freetype-config
; ac_word
=$2
10056 echo "$as_me:$LINENO: checking for $ac_word" >&5
10057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10058 if test "${ac_cv_prog_ft_devel+set}" = set; then
10059 echo $ECHO_N "(cached) $ECHO_C" >&6
10061 if test -n "$ft_devel"; then
10062 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10064 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10065 for as_dir
in $PATH
10068 test -z "$as_dir" && as_dir
=.
10069 for ac_exec_ext
in '' $ac_executable_extensions; do
10070 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10071 ac_cv_prog_ft_devel
="freetype-config"
10072 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
10081 ft_devel
=$ac_cv_prog_ft_devel
10082 if test -n "$ft_devel"; then
10083 echo "$as_me:$LINENO: result: $ft_devel" >&5
10084 echo "${ECHO_T}$ft_devel" >&6
10086 echo "$as_me:$LINENO: result: no" >&5
10087 echo "${ECHO_T}no" >&6
10090 if test "$ft_devel" = "no"
10092 # Extract the first word of "freetype2-config", so it can be a program name with args.
10093 set dummy freetype2-config
; ac_word
=$2
10094 echo "$as_me:$LINENO: checking for $ac_word" >&5
10095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10096 if test "${ac_cv_prog_ft_devel2+set}" = set; then
10097 echo $ECHO_N "(cached) $ECHO_C" >&6
10099 if test -n "$ft_devel2"; then
10100 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
10102 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10103 for as_dir
in $PATH
10106 test -z "$as_dir" && as_dir
=.
10107 for ac_exec_ext
in '' $ac_executable_extensions; do
10108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10109 ac_cv_prog_ft_devel2
="freetype2-config"
10110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10116 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
10119 ft_devel2
=$ac_cv_prog_ft_devel2
10120 if test -n "$ft_devel2"; then
10121 echo "$as_me:$LINENO: result: $ft_devel2" >&5
10122 echo "${ECHO_T}$ft_devel2" >&6
10124 echo "$as_me:$LINENO: result: no" >&5
10125 echo "${ECHO_T}no" >&6
10128 if test "$ft_devel2" = "freetype2-config"
10130 ft_devel
=$ft_devel2
10133 if test "$ft_devel" = "no"
10137 wine_cv_msg_freetype
=yes
10139 FREETYPELIBS
=`$ft_devel --libs`
10140 FREETYPEINCL
=`$ft_devel --cflags`
10141 ac_save_CPPFLAGS
="$CPPFLAGS"
10142 CPPFLAGS
="$FREETYPEINCL $CPPFLAGS"
10153 for ac_header
in ft2build.h \
10154 freetype
/freetype.h \
10155 freetype
/ftglyph.h \
10156 freetype
/tttables.h \
10157 freetype
/ftnames.h \
10158 freetype
/ftsnames.h \
10159 freetype
/ttnameid.h \
10160 freetype
/ftoutln.h \
10161 freetype
/ftwinfnt.h \
10162 freetype
/internal
/sfnt.h
10164 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10165 echo "$as_me:$LINENO: checking for $ac_header" >&5
10166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10168 echo $ECHO_N "(cached) $ECHO_C" >&6
10170 cat >conftest.
$ac_ext <<_ACEOF
10173 cat confdefs.h
>>conftest.
$ac_ext
10174 cat >>conftest.
$ac_ext <<_ACEOF
10175 /* end confdefs.h. */
10176 #if HAVE_FT2BUILD_H
10177 #include <ft2build.h>
10180 #include <$ac_header>
10182 rm -f conftest.
$ac_objext
10183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10184 (eval $ac_compile) 2>conftest.er1
10186 grep -v '^ *+' conftest.er1
>conftest.err
10188 cat conftest.err
>&5
10189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10190 (exit $ac_status); } &&
10191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10193 (eval $ac_try) 2>&5
10195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10196 (exit $ac_status); }; } &&
10197 { ac_try
='test -s conftest.$ac_objext'
10198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10199 (eval $ac_try) 2>&5
10201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10202 (exit $ac_status); }; }; then
10203 eval "$as_ac_Header=yes"
10205 echo "$as_me: failed program was:" >&5
10206 sed 's/^/| /' conftest.
$ac_ext >&5
10208 eval "$as_ac_Header=no"
10210 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10213 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10214 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10215 cat >>confdefs.h
<<_ACEOF
10216 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10223 cat >conftest.
$ac_ext <<_ACEOF
10226 cat confdefs.h
>>conftest.
$ac_ext
10227 cat >>conftest.
$ac_ext <<_ACEOF
10228 /* end confdefs.h. */
10229 #include <ft2build.h>
10230 #include <freetype/fttrigon.h>
10232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10233 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10235 grep -v '^ *+' conftest.er1
>conftest.err
10237 cat conftest.err
>&5
10238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10239 (exit $ac_status); } >/dev
/null
; then
10240 if test -s conftest.err
; then
10241 ac_cpp_err
=$ac_c_preproc_warn_flag
10242 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10249 if test -z "$ac_cpp_err"; then
10251 cat >>confdefs.h
<<\_ACEOF
10252 #define HAVE_FREETYPE_FTTRIGON_H 1
10255 wine_cv_fttrigon
=yes
10257 echo "$as_me: failed program was:" >&5
10258 sed 's/^/| /' conftest.
$ac_ext >&5
10260 wine_cv_fttrigon
=no
10262 rm -f conftest.err conftest.
$ac_ext
10263 CPPFLAGS
="$ac_save_CPPFLAGS"
10264 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10267 cat >>confdefs.h
<<\_ACEOF
10268 #define HAVE_FREETYPE 1
10271 wine_cv_msg_freetype
=no
10275 wine_cv_msg_freetype
=yes
10282 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
10284 FONTSSUBDIRS
="fonts"
10288 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
10289 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
10290 if test "${ac_cv_c_ppdev+set}" = set; then
10291 echo $ECHO_N "(cached) $ECHO_C" >&6
10293 cat >conftest.
$ac_ext <<_ACEOF
10296 cat confdefs.h
>>conftest.
$ac_ext
10297 cat >>conftest.
$ac_ext <<_ACEOF
10298 /* end confdefs.h. */
10299 #include <linux/ppdev.h>
10303 ioctl (1,PPCLAIM,0)
10308 rm -f conftest.
$ac_objext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10310 (eval $ac_compile) 2>conftest.er1
10312 grep -v '^ *+' conftest.er1
>conftest.err
10314 cat conftest.err
>&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10319 (eval $ac_try) 2>&5
10321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10322 (exit $ac_status); }; } &&
10323 { ac_try
='test -s conftest.$ac_objext'
10324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325 (eval $ac_try) 2>&5
10327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328 (exit $ac_status); }; }; then
10329 ac_cv_c_ppdev
="yes"
10331 echo "$as_me: failed program was:" >&5
10332 sed 's/^/| /' conftest.
$ac_ext >&5
10336 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10339 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
10340 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
10341 if test "$ac_cv_c_ppdev" = "yes"
10344 cat >>confdefs.h
<<\_ACEOF
10345 #define HAVE_PPDEV 1
10350 echo "$as_me:$LINENO: checking for va_copy" >&5
10351 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
10352 if test "${ac_cv_c_va_copy+set}" = set; then
10353 echo $ECHO_N "(cached) $ECHO_C" >&6
10355 cat >conftest.
$ac_ext <<_ACEOF
10358 cat confdefs.h
>>conftest.
$ac_ext
10359 cat >>conftest.
$ac_ext <<_ACEOF
10360 /* end confdefs.h. */
10361 #include <stdarg.h>
10372 rm -f conftest.
$ac_objext conftest
$ac_exeext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10374 (eval $ac_link) 2>conftest.er1
10376 grep -v '^ *+' conftest.er1
>conftest.err
10378 cat conftest.err
>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } &&
10381 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10383 (eval $ac_try) 2>&5
10385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10386 (exit $ac_status); }; } &&
10387 { ac_try
='test -s conftest$ac_exeext'
10388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10389 (eval $ac_try) 2>&5
10391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10392 (exit $ac_status); }; }; then
10393 ac_cv_c_va_copy
="yes"
10395 echo "$as_me: failed program was:" >&5
10396 sed 's/^/| /' conftest.
$ac_ext >&5
10398 ac_cv_c_va_copy
="no"
10400 rm -f conftest.err conftest.
$ac_objext \
10401 conftest
$ac_exeext conftest.
$ac_ext
10404 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
10405 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
10406 if test "$ac_cv_c_va_copy" = "yes"
10409 cat >>confdefs.h
<<\_ACEOF
10410 #define HAVE_VA_COPY 1
10414 echo "$as_me:$LINENO: checking for __va_copy" >&5
10415 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
10416 if test "${ac_cv_c___va_copy+set}" = set; then
10417 echo $ECHO_N "(cached) $ECHO_C" >&6
10419 cat >conftest.
$ac_ext <<_ACEOF
10422 cat confdefs.h
>>conftest.
$ac_ext
10423 cat >>conftest.
$ac_ext <<_ACEOF
10424 /* end confdefs.h. */
10425 #include <stdarg.h>
10430 __va_copy(ap1,ap2);
10436 rm -f conftest.
$ac_objext conftest
$ac_exeext
10437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10438 (eval $ac_link) 2>conftest.er1
10440 grep -v '^ *+' conftest.er1
>conftest.err
10442 cat conftest.err
>&5
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); } &&
10445 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10447 (eval $ac_try) 2>&5
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); }; } &&
10451 { ac_try
='test -s conftest$ac_exeext'
10452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10453 (eval $ac_try) 2>&5
10455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10456 (exit $ac_status); }; }; then
10457 ac_cv_c___va_copy
="yes"
10459 echo "$as_me: failed program was:" >&5
10460 sed 's/^/| /' conftest.
$ac_ext >&5
10462 ac_cv_c___va_copy
="no"
10464 rm -f conftest.err conftest.
$ac_objext \
10465 conftest
$ac_exeext conftest.
$ac_ext
10468 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
10469 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
10470 if test "$ac_cv_c___va_copy" = "yes"
10473 cat >>confdefs.h
<<\_ACEOF
10474 #define HAVE___VA_COPY 1
10479 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
10480 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
10481 if test "${ac_cv_c_sigsetjmp+set}" = set; then
10482 echo $ECHO_N "(cached) $ECHO_C" >&6
10484 cat >conftest.
$ac_ext <<_ACEOF
10487 cat confdefs.h
>>conftest.
$ac_ext
10488 cat >>conftest.
$ac_ext <<_ACEOF
10489 /* end confdefs.h. */
10490 #include <setjmp.h>
10495 sigsetjmp( buf, 1 );
10496 siglongjmp( buf, 1 );
10501 rm -f conftest.
$ac_objext conftest
$ac_exeext
10502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10503 (eval $ac_link) 2>conftest.er1
10505 grep -v '^ *+' conftest.er1
>conftest.err
10507 cat conftest.err
>&5
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); } &&
10510 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10512 (eval $ac_try) 2>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); }; } &&
10516 { ac_try
='test -s conftest$ac_exeext'
10517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10518 (eval $ac_try) 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; }; then
10522 ac_cv_c_sigsetjmp
="yes"
10524 echo "$as_me: failed program was:" >&5
10525 sed 's/^/| /' conftest.
$ac_ext >&5
10527 ac_cv_c_sigsetjmp
="no"
10529 rm -f conftest.err conftest.
$ac_objext \
10530 conftest
$ac_exeext conftest.
$ac_ext
10533 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10534 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10535 if test "$ac_cv_c_sigsetjmp" = "yes"
10538 cat >>confdefs.h
<<\_ACEOF
10539 #define HAVE_SIGSETJMP 1
10544 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10545 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10546 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10547 echo $ECHO_N "(cached) $ECHO_C" >&6
10549 cat >conftest.
$ac_ext <<_ACEOF
10552 cat confdefs.h
>>conftest.
$ac_ext
10553 cat >>conftest.
$ac_ext <<_ACEOF
10554 /* end confdefs.h. */
10555 #define _GNU_SOURCE
10556 #include <pthread.h>
10561 if ((pthread_rwlock_t *) 0)
10563 if (sizeof (pthread_rwlock_t))
10569 rm -f conftest.
$ac_objext
10570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10571 (eval $ac_compile) 2>conftest.er1
10573 grep -v '^ *+' conftest.er1
>conftest.err
10575 cat conftest.err
>&5
10576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10577 (exit $ac_status); } &&
10578 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10580 (eval $ac_try) 2>&5
10582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10583 (exit $ac_status); }; } &&
10584 { ac_try
='test -s conftest.$ac_objext'
10585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10586 (eval $ac_try) 2>&5
10588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10589 (exit $ac_status); }; }; then
10590 ac_cv_type_pthread_rwlock_t
=yes
10592 echo "$as_me: failed program was:" >&5
10593 sed 's/^/| /' conftest.
$ac_ext >&5
10595 ac_cv_type_pthread_rwlock_t
=no
10597 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10599 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10600 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10601 if test $ac_cv_type_pthread_rwlock_t = yes; then
10603 cat >>confdefs.h
<<_ACEOF
10604 #define HAVE_PTHREAD_RWLOCK_T 1
10609 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10610 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10611 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10612 echo $ECHO_N "(cached) $ECHO_C" >&6
10614 cat >conftest.
$ac_ext <<_ACEOF
10617 cat confdefs.h
>>conftest.
$ac_ext
10618 cat >>conftest.
$ac_ext <<_ACEOF
10619 /* end confdefs.h. */
10620 #define _GNU_SOURCE
10621 #include <pthread.h>
10626 if ((pthread_rwlockattr_t *) 0)
10628 if (sizeof (pthread_rwlockattr_t))
10634 rm -f conftest.
$ac_objext
10635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10636 (eval $ac_compile) 2>conftest.er1
10638 grep -v '^ *+' conftest.er1
>conftest.err
10640 cat conftest.err
>&5
10641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } &&
10643 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10645 (eval $ac_try) 2>&5
10647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10648 (exit $ac_status); }; } &&
10649 { ac_try
='test -s conftest.$ac_objext'
10650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10651 (eval $ac_try) 2>&5
10653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10654 (exit $ac_status); }; }; then
10655 ac_cv_type_pthread_rwlockattr_t
=yes
10657 echo "$as_me: failed program was:" >&5
10658 sed 's/^/| /' conftest.
$ac_ext >&5
10660 ac_cv_type_pthread_rwlockattr_t
=no
10662 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10664 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10665 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10666 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10668 cat >>confdefs.h
<<_ACEOF
10669 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10676 ac_save_LIBS
="$LIBS"
10677 LIBS
="$LIBS $LIBPTHREAD"
10682 pthread_getattr_np \
10683 pthread_get_stackaddr_np \
10684 pthread_get_stacksize_np \
10687 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10688 echo "$as_me:$LINENO: checking for $ac_func" >&5
10689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10690 if eval "test \"\${$as_ac_var+set}\" = set"; then
10691 echo $ECHO_N "(cached) $ECHO_C" >&6
10693 cat >conftest.
$ac_ext <<_ACEOF
10696 cat confdefs.h
>>conftest.
$ac_ext
10697 cat >>conftest.
$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10701 #define $ac_func innocuous_$ac_func
10703 /* System header to define __stub macros and hopefully few prototypes,
10704 which can conflict with char $ac_func (); below.
10705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10706 <limits.h> exists even on freestanding compilers. */
10709 # include <limits.h>
10711 # include <assert.h>
10716 /* Override any gcc2 internal prototype to avoid an error. */
10721 /* We use char because int might match the return type of a gcc2
10722 builtin and then its argument prototype would still apply. */
10724 /* The GNU C library defines this for functions which it implements
10725 to always fail with ENOSYS. Some functions are actually named
10726 something starting with __ and the normal name is an alias. */
10727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10730 char (*f) () = $ac_func;
10739 return f != $ac_func;
10744 rm -f conftest.
$ac_objext conftest
$ac_exeext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10746 (eval $ac_link) 2>conftest.er1
10748 grep -v '^ *+' conftest.er1
>conftest.err
10750 cat conftest.err
>&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10755 (eval $ac_try) 2>&5
10757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10758 (exit $ac_status); }; } &&
10759 { ac_try
='test -s conftest$ac_exeext'
10760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10761 (eval $ac_try) 2>&5
10763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10764 (exit $ac_status); }; }; then
10765 eval "$as_ac_var=yes"
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.
$ac_ext >&5
10770 eval "$as_ac_var=no"
10772 rm -f conftest.err conftest.
$ac_objext \
10773 conftest
$ac_exeext conftest.
$ac_ext
10775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10777 if test `eval echo '${'$as_ac_var'}'` = yes; then
10778 cat >>confdefs.h
<<_ACEOF
10779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10785 LIBS
="$ac_save_LIBS"
10790 for ac_header
in sys
/soundcard.h machine
/soundcard.h soundcard.h
10792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10794 echo "$as_me:$LINENO: checking for $ac_header" >&5
10795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10800 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10802 # Is the header compilable?
10803 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10805 cat >conftest.
$ac_ext <<_ACEOF
10808 cat confdefs.h
>>conftest.
$ac_ext
10809 cat >>conftest.
$ac_ext <<_ACEOF
10810 /* end confdefs.h. */
10811 $ac_includes_default
10812 #include <$ac_header>
10814 rm -f conftest.
$ac_objext
10815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10816 (eval $ac_compile) 2>conftest.er1
10818 grep -v '^ *+' conftest.er1
>conftest.err
10820 cat conftest.err
>&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } &&
10823 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10825 (eval $ac_try) 2>&5
10827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10828 (exit $ac_status); }; } &&
10829 { ac_try
='test -s conftest.$ac_objext'
10830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10831 (eval $ac_try) 2>&5
10833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10834 (exit $ac_status); }; }; then
10835 ac_header_compiler
=yes
10837 echo "$as_me: failed program was:" >&5
10838 sed 's/^/| /' conftest.
$ac_ext >&5
10840 ac_header_compiler
=no
10842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10843 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10844 echo "${ECHO_T}$ac_header_compiler" >&6
10846 # Is the header present?
10847 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10848 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10849 cat >conftest.
$ac_ext <<_ACEOF
10852 cat confdefs.h
>>conftest.
$ac_ext
10853 cat >>conftest.
$ac_ext <<_ACEOF
10854 /* end confdefs.h. */
10855 #include <$ac_header>
10857 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10858 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10860 grep -v '^ *+' conftest.er1
>conftest.err
10862 cat conftest.err
>&5
10863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10864 (exit $ac_status); } >/dev
/null
; then
10865 if test -s conftest.err
; then
10866 ac_cpp_err
=$ac_c_preproc_warn_flag
10867 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10874 if test -z "$ac_cpp_err"; then
10875 ac_header_preproc
=yes
10877 echo "$as_me: failed program was:" >&5
10878 sed 's/^/| /' conftest.
$ac_ext >&5
10880 ac_header_preproc
=no
10882 rm -f conftest.err conftest.
$ac_ext
10883 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10884 echo "${ECHO_T}$ac_header_preproc" >&6
10886 # So? What about this header?
10887 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10889 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10890 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10892 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10893 ac_header_preproc
=yes
10896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10900 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10901 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10902 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10903 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10904 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10905 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10906 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10907 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10910 ## ------------------------------------ ##
10911 ## Report this to wine-devel@winehq.org ##
10912 ## ------------------------------------ ##
10915 sed "s/^/$as_me: WARNING: /" >&2
10918 echo "$as_me:$LINENO: checking for $ac_header" >&5
10919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10921 echo $ECHO_N "(cached) $ECHO_C" >&6
10923 eval "$as_ac_Header=\$ac_header_preproc"
10925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10926 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10929 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10930 cat >>confdefs.h
<<_ACEOF
10931 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10939 echo "$as_me:$LINENO: checking for Open Sound System" >&5
10940 echo $ECHO_N "checking for Open Sound System... $ECHO_C" >&6
10941 if test "${ac_cv_c_opensoundsystem+set}" = set; then
10942 echo $ECHO_N "(cached) $ECHO_C" >&6
10944 cat >conftest.
$ac_ext <<_ACEOF
10947 cat confdefs.h
>>conftest.
$ac_ext
10948 cat >>conftest.
$ac_ext <<_ACEOF
10949 /* end confdefs.h. */
10951 #if defined(HAVE_SYS_SOUNDCARD_H)
10952 #include <sys/soundcard.h>
10953 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
10954 #include <machine/soundcard.h>
10955 #elif defined(HAVE_SOUNDCARD_H)
10956 #include <soundcard.h>
10964 /* check for one of the Open Sound System specific SNDCTL_ defines */
10965 #if !defined(SNDCTL_DSP_STEREO)
10966 #error No open sound system
10973 rm -f conftest.
$ac_objext
10974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10975 (eval $ac_compile) 2>conftest.er1
10977 grep -v '^ *+' conftest.er1
>conftest.err
10979 cat conftest.err
>&5
10980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); } &&
10982 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10984 (eval $ac_try) 2>&5
10986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10987 (exit $ac_status); }; } &&
10988 { ac_try
='test -s conftest.$ac_objext'
10989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10990 (eval $ac_try) 2>&5
10992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10993 (exit $ac_status); }; }; then
10994 ac_cv_c_opensoundsystem
="yes"
10996 echo "$as_me: failed program was:" >&5
10997 sed 's/^/| /' conftest.
$ac_ext >&5
10999 ac_cv_c_opensoundsystem
="no"
11001 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11003 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem" >&5
11004 echo "${ECHO_T}$ac_cv_c_opensoundsystem" >&6
11006 if test "$ac_cv_c_opensoundsystem" = "yes"
11009 cat >>confdefs.h
<<\_ACEOF
11015 echo "$as_me:$LINENO: checking for Open Sound System/MIDI interface" >&5
11016 echo $ECHO_N "checking for Open Sound System/MIDI interface... $ECHO_C" >&6
11017 if test "${ac_cv_c_opensoundsystem_midi+set}" = set; then
11018 echo $ECHO_N "(cached) $ECHO_C" >&6
11020 cat >conftest.
$ac_ext <<_ACEOF
11023 cat confdefs.h
>>conftest.
$ac_ext
11024 cat >>conftest.
$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11027 #if defined(HAVE_SYS_SOUNDCARD_H)
11028 #include <sys/soundcard.h>
11029 #elif defined(HAVE_MACHINE_SOUNDCARD_H)
11030 #include <machine/soundcard.h>
11031 #elif defined(HAVE_SOUNDCARD_H)
11032 #include <soundcard.h>
11040 /* check for one of the Open Sound System specific SNDCTL_SEQ defines */
11041 #if !defined(SNDCTL_SEQ_SYNC)
11042 #error No open sound system MIDI interface
11049 rm -f conftest.
$ac_objext
11050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11051 (eval $ac_compile) 2>conftest.er1
11053 grep -v '^ *+' conftest.er1
>conftest.err
11055 cat conftest.err
>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); } &&
11058 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11060 (eval $ac_try) 2>&5
11062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11063 (exit $ac_status); }; } &&
11064 { ac_try
='test -s conftest.$ac_objext'
11065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11066 (eval $ac_try) 2>&5
11068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11069 (exit $ac_status); }; }; then
11070 ac_cv_c_opensoundsystem_midi
="yes"
11072 echo "$as_me: failed program was:" >&5
11073 sed 's/^/| /' conftest.
$ac_ext >&5
11075 ac_cv_c_opensoundsystem_midi
="no"
11077 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11079 echo "$as_me:$LINENO: result: $ac_cv_c_opensoundsystem_midi" >&5
11080 echo "${ECHO_T}$ac_cv_c_opensoundsystem_midi" >&6
11082 if test "$ac_cv_c_opensoundsystem_midi" = "yes"
11085 cat >>confdefs.h
<<\_ACEOF
11086 #define HAVE_OSS_MIDI 1
11091 # Extract the first word of "artsc-config", so it can be a program name with args.
11092 set dummy artsc-config
; ac_word
=$2
11093 echo "$as_me:$LINENO: checking for $ac_word" >&5
11094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11095 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11096 echo $ECHO_N "(cached) $ECHO_C" >&6
11098 case $ARTSCCONFIG in
11100 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
11103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11104 for as_dir
in $PATH
11107 test -z "$as_dir" && as_dir
=.
11108 for ac_exec_ext
in '' $ac_executable_extensions; do
11109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11110 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
11111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11120 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
11122 if test -n "$ARTSCCONFIG"; then
11123 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11124 echo "${ECHO_T}$ARTSCCONFIG" >&6
11126 echo "$as_me:$LINENO: result: no" >&5
11127 echo "${ECHO_T}no" >&6
11130 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
11133 for i
in `$ARTSCCONFIG --cflags`
11136 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
11139 ARTSC_LIBS
=`$ARTSCCONFIG --libs`
11140 save_CFLAGS
="$CFLAGS"
11141 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
11142 cat >conftest.
$ac_ext <<_ACEOF
11145 cat confdefs.h
>>conftest.
$ac_ext
11146 cat >>conftest.
$ac_ext <<_ACEOF
11147 /* end confdefs.h. */
11152 arts_stream_t stream;
11157 rm -f conftest.
$ac_objext
11158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11159 (eval $ac_compile) 2>conftest.er1
11161 grep -v '^ *+' conftest.er1
>conftest.err
11163 cat conftest.err
>&5
11164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11165 (exit $ac_status); } &&
11166 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11168 (eval $ac_try) 2>&5
11170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11171 (exit $ac_status); }; } &&
11172 { ac_try
='test -s conftest.$ac_objext'
11173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11174 (eval $ac_try) 2>&5
11176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11177 (exit $ac_status); }; }; then
11178 ARTSLIBS
=$ARTSC_LIBS
11180 ARTSINCL
=$ARTSC_CFLAGS
11183 cat >>confdefs.h
<<\_ACEOF
11184 #define HAVE_ARTS 1
11188 echo "$as_me: failed program was:" >&5
11189 sed 's/^/| /' conftest.
$ac_ext >&5
11192 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11193 CFLAGS
="$save_CFLAGS"
11200 for ac_header
in alsa
/asoundlib.h sys
/asoundlib.h
11202 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11204 echo "$as_me:$LINENO: checking for $ac_header" >&5
11205 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11206 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11207 echo $ECHO_N "(cached) $ECHO_C" >&6
11209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11212 # Is the header compilable?
11213 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11214 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11215 cat >conftest.
$ac_ext <<_ACEOF
11218 cat confdefs.h
>>conftest.
$ac_ext
11219 cat >>conftest.
$ac_ext <<_ACEOF
11220 /* end confdefs.h. */
11221 $ac_includes_default
11222 #include <$ac_header>
11224 rm -f conftest.
$ac_objext
11225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11226 (eval $ac_compile) 2>conftest.er1
11228 grep -v '^ *+' conftest.er1
>conftest.err
11230 cat conftest.err
>&5
11231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11232 (exit $ac_status); } &&
11233 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11235 (eval $ac_try) 2>&5
11237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11238 (exit $ac_status); }; } &&
11239 { ac_try
='test -s conftest.$ac_objext'
11240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11241 (eval $ac_try) 2>&5
11243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11244 (exit $ac_status); }; }; then
11245 ac_header_compiler
=yes
11247 echo "$as_me: failed program was:" >&5
11248 sed 's/^/| /' conftest.
$ac_ext >&5
11250 ac_header_compiler
=no
11252 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11254 echo "${ECHO_T}$ac_header_compiler" >&6
11256 # Is the header present?
11257 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11258 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11259 cat >conftest.
$ac_ext <<_ACEOF
11262 cat confdefs.h
>>conftest.
$ac_ext
11263 cat >>conftest.
$ac_ext <<_ACEOF
11264 /* end confdefs.h. */
11265 #include <$ac_header>
11267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11268 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11270 grep -v '^ *+' conftest.er1
>conftest.err
11272 cat conftest.err
>&5
11273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11274 (exit $ac_status); } >/dev
/null
; then
11275 if test -s conftest.err
; then
11276 ac_cpp_err
=$ac_c_preproc_warn_flag
11277 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11284 if test -z "$ac_cpp_err"; then
11285 ac_header_preproc
=yes
11287 echo "$as_me: failed program was:" >&5
11288 sed 's/^/| /' conftest.
$ac_ext >&5
11290 ac_header_preproc
=no
11292 rm -f conftest.err conftest.
$ac_ext
11293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11294 echo "${ECHO_T}$ac_header_preproc" >&6
11296 # So? What about this header?
11297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11299 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11300 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11301 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11302 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11303 ac_header_preproc
=yes
11306 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11307 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11308 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11309 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11310 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11311 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11312 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11313 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11314 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11315 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11316 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11317 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11320 ## ------------------------------------ ##
11321 ## Report this to wine-devel@winehq.org ##
11322 ## ------------------------------------ ##
11325 sed "s/^/$as_me: WARNING: /" >&2
11328 echo "$as_me:$LINENO: checking for $ac_header" >&5
11329 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11330 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11331 echo $ECHO_N "(cached) $ECHO_C" >&6
11333 eval "$as_ac_Header=\$ac_header_preproc"
11335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11340 cat >>confdefs.h
<<_ACEOF
11341 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11348 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11350 echo "$as_me:$LINENO: checking for snd_pcm_open in -lasound" >&5
11351 echo $ECHO_N "checking for snd_pcm_open in -lasound... $ECHO_C" >&6
11352 if test "${ac_cv_lib_asound_snd_pcm_open+set}" = set; then
11353 echo $ECHO_N "(cached) $ECHO_C" >&6
11355 ac_check_lib_save_LIBS
=$LIBS
11356 LIBS
="-lasound $LIBS"
11357 cat >conftest.
$ac_ext <<_ACEOF
11360 cat confdefs.h
>>conftest.
$ac_ext
11361 cat >>conftest.
$ac_ext <<_ACEOF
11362 /* end confdefs.h. */
11364 /* Override any gcc2 internal prototype to avoid an error. */
11368 /* We use char because int might match the return type of a gcc2
11369 builtin and then its argument prototype would still apply. */
11370 char snd_pcm_open ();
11379 rm -f conftest.
$ac_objext conftest
$ac_exeext
11380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11381 (eval $ac_link) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1
>conftest.err
11385 cat conftest.err
>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; } &&
11394 { ac_try
='test -s conftest$ac_exeext'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; }; then
11400 ac_cv_lib_asound_snd_pcm_open
=yes
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.
$ac_ext >&5
11405 ac_cv_lib_asound_snd_pcm_open
=no
11407 rm -f conftest.err conftest.
$ac_objext \
11408 conftest
$ac_exeext conftest.
$ac_ext
11409 LIBS
=$ac_check_lib_save_LIBS
11411 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_open" >&5
11412 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_open" >&6
11413 if test $ac_cv_lib_asound_snd_pcm_open = yes; then
11415 cat >>confdefs.h
<<\_ACEOF
11416 #define HAVE_ALSA 1
11419 ALSALIBS
="-lasound"
11428 for ac_header
in libaudioio.h
11430 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11431 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11432 echo "$as_me:$LINENO: checking for $ac_header" >&5
11433 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11434 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11435 echo $ECHO_N "(cached) $ECHO_C" >&6
11437 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11438 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11440 # Is the header compilable?
11441 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11442 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11443 cat >conftest.
$ac_ext <<_ACEOF
11446 cat confdefs.h
>>conftest.
$ac_ext
11447 cat >>conftest.
$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449 $ac_includes_default
11450 #include <$ac_header>
11452 rm -f conftest.
$ac_objext
11453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11454 (eval $ac_compile) 2>conftest.er1
11456 grep -v '^ *+' conftest.er1
>conftest.err
11458 cat conftest.err
>&5
11459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11460 (exit $ac_status); } &&
11461 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11463 (eval $ac_try) 2>&5
11465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11466 (exit $ac_status); }; } &&
11467 { ac_try
='test -s conftest.$ac_objext'
11468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11469 (eval $ac_try) 2>&5
11471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11472 (exit $ac_status); }; }; then
11473 ac_header_compiler
=yes
11475 echo "$as_me: failed program was:" >&5
11476 sed 's/^/| /' conftest.
$ac_ext >&5
11478 ac_header_compiler
=no
11480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11481 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11482 echo "${ECHO_T}$ac_header_compiler" >&6
11484 # Is the header present?
11485 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11486 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11487 cat >conftest.
$ac_ext <<_ACEOF
11490 cat confdefs.h
>>conftest.
$ac_ext
11491 cat >>conftest.
$ac_ext <<_ACEOF
11492 /* end confdefs.h. */
11493 #include <$ac_header>
11495 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11496 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11498 grep -v '^ *+' conftest.er1
>conftest.err
11500 cat conftest.err
>&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); } >/dev
/null
; then
11503 if test -s conftest.err
; then
11504 ac_cpp_err
=$ac_c_preproc_warn_flag
11505 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11512 if test -z "$ac_cpp_err"; then
11513 ac_header_preproc
=yes
11515 echo "$as_me: failed program was:" >&5
11516 sed 's/^/| /' conftest.
$ac_ext >&5
11518 ac_header_preproc
=no
11520 rm -f conftest.err conftest.
$ac_ext
11521 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11522 echo "${ECHO_T}$ac_header_preproc" >&6
11524 # So? What about this header?
11525 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11527 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11528 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11529 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11530 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11531 ac_header_preproc
=yes
11534 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11535 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11536 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11537 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11538 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11539 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11540 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11541 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11542 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11543 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11544 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11545 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11548 ## ------------------------------------ ##
11549 ## Report this to wine-devel@winehq.org ##
11550 ## ------------------------------------ ##
11553 sed "s/^/$as_me: WARNING: /" >&2
11556 echo "$as_me:$LINENO: checking for $ac_header" >&5
11557 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11558 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11559 echo $ECHO_N "(cached) $ECHO_C" >&6
11561 eval "$as_ac_Header=\$ac_header_preproc"
11563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11567 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11568 cat >>confdefs.h
<<_ACEOF
11569 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11571 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
11572 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
11573 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 ac_check_lib_save_LIBS
=$LIBS
11577 LIBS
="-laudioio $LIBS"
11578 cat >conftest.
$ac_ext <<_ACEOF
11581 cat confdefs.h
>>conftest.
$ac_ext
11582 cat >>conftest.
$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11585 /* Override any gcc2 internal prototype to avoid an error. */
11589 /* We use char because int might match the return type of a gcc2
11590 builtin and then its argument prototype would still apply. */
11591 char AudioIOGetVersion ();
11595 AudioIOGetVersion ();
11600 rm -f conftest.
$ac_objext conftest
$ac_exeext
11601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11602 (eval $ac_link) 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_exeext'
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_cv_lib_audioio_AudioIOGetVersion
=yes
11623 echo "$as_me: failed program was:" >&5
11624 sed 's/^/| /' conftest.
$ac_ext >&5
11626 ac_cv_lib_audioio_AudioIOGetVersion
=no
11628 rm -f conftest.err conftest.
$ac_objext \
11629 conftest
$ac_exeext conftest.
$ac_ext
11630 LIBS
=$ac_check_lib_save_LIBS
11632 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
11633 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
11634 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
11635 AUDIOIOLIBS
="-laudioio"
11637 cat >>confdefs.h
<<\_ACEOF
11638 #define HAVE_LIBAUDIOIO 1
11650 for ac_header
in capi20.h
11652 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11654 echo "$as_me:$LINENO: checking for $ac_header" >&5
11655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11657 echo $ECHO_N "(cached) $ECHO_C" >&6
11659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11660 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11662 # Is the header compilable?
11663 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11664 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11665 cat >conftest.
$ac_ext <<_ACEOF
11668 cat confdefs.h
>>conftest.
$ac_ext
11669 cat >>conftest.
$ac_ext <<_ACEOF
11670 /* end confdefs.h. */
11671 $ac_includes_default
11672 #include <$ac_header>
11674 rm -f conftest.
$ac_objext
11675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11676 (eval $ac_compile) 2>conftest.er1
11678 grep -v '^ *+' conftest.er1
>conftest.err
11680 cat conftest.err
>&5
11681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11682 (exit $ac_status); } &&
11683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11685 (eval $ac_try) 2>&5
11687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11688 (exit $ac_status); }; } &&
11689 { ac_try
='test -s conftest.$ac_objext'
11690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11691 (eval $ac_try) 2>&5
11693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11694 (exit $ac_status); }; }; then
11695 ac_header_compiler
=yes
11697 echo "$as_me: failed program was:" >&5
11698 sed 's/^/| /' conftest.
$ac_ext >&5
11700 ac_header_compiler
=no
11702 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11703 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11704 echo "${ECHO_T}$ac_header_compiler" >&6
11706 # Is the header present?
11707 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11708 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11709 cat >conftest.
$ac_ext <<_ACEOF
11712 cat confdefs.h
>>conftest.
$ac_ext
11713 cat >>conftest.
$ac_ext <<_ACEOF
11714 /* end confdefs.h. */
11715 #include <$ac_header>
11717 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11718 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11720 grep -v '^ *+' conftest.er1
>conftest.err
11722 cat conftest.err
>&5
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); } >/dev
/null
; then
11725 if test -s conftest.err
; then
11726 ac_cpp_err
=$ac_c_preproc_warn_flag
11727 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11734 if test -z "$ac_cpp_err"; then
11735 ac_header_preproc
=yes
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.
$ac_ext >&5
11740 ac_header_preproc
=no
11742 rm -f conftest.err conftest.
$ac_ext
11743 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11744 echo "${ECHO_T}$ac_header_preproc" >&6
11746 # So? What about this header?
11747 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11749 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11750 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11752 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11753 ac_header_preproc
=yes
11756 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11757 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11758 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11759 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11760 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11761 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11762 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11763 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11765 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11766 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11767 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11770 ## ------------------------------------ ##
11771 ## Report this to wine-devel@winehq.org ##
11772 ## ------------------------------------ ##
11775 sed "s/^/$as_me: WARNING: /" >&2
11778 echo "$as_me:$LINENO: checking for $ac_header" >&5
11779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 eval "$as_ac_Header=\$ac_header_preproc"
11785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11789 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11790 cat >>confdefs.h
<<_ACEOF
11791 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11795 for ac_header
in linux
/capi.h
11797 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11799 echo "$as_me:$LINENO: checking for $ac_header" >&5
11800 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11802 echo $ECHO_N "(cached) $ECHO_C" >&6
11804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11807 # Is the header compilable?
11808 echo "$as_me:$LINENO: checking $ac_header usability" >&5
11809 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11810 cat >conftest.
$ac_ext <<_ACEOF
11813 cat confdefs.h
>>conftest.
$ac_ext
11814 cat >>conftest.
$ac_ext <<_ACEOF
11815 /* end confdefs.h. */
11816 $ac_includes_default
11817 #include <$ac_header>
11819 rm -f conftest.
$ac_objext
11820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11821 (eval $ac_compile) 2>conftest.er1
11823 grep -v '^ *+' conftest.er1
>conftest.err
11825 cat conftest.err
>&5
11826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11827 (exit $ac_status); } &&
11828 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830 (eval $ac_try) 2>&5
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }; } &&
11834 { ac_try
='test -s conftest.$ac_objext'
11835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836 (eval $ac_try) 2>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); }; }; then
11840 ac_header_compiler
=yes
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.
$ac_ext >&5
11845 ac_header_compiler
=no
11847 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11848 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11849 echo "${ECHO_T}$ac_header_compiler" >&6
11851 # Is the header present?
11852 echo "$as_me:$LINENO: checking $ac_header presence" >&5
11853 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11854 cat >conftest.
$ac_ext <<_ACEOF
11857 cat confdefs.h
>>conftest.
$ac_ext
11858 cat >>conftest.
$ac_ext <<_ACEOF
11859 /* end confdefs.h. */
11860 #include <$ac_header>
11862 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11863 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
11865 grep -v '^ *+' conftest.er1
>conftest.err
11867 cat conftest.err
>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); } >/dev
/null
; then
11870 if test -s conftest.err
; then
11871 ac_cpp_err
=$ac_c_preproc_warn_flag
11872 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11879 if test -z "$ac_cpp_err"; then
11880 ac_header_preproc
=yes
11882 echo "$as_me: failed program was:" >&5
11883 sed 's/^/| /' conftest.
$ac_ext >&5
11885 ac_header_preproc
=no
11887 rm -f conftest.err conftest.
$ac_ext
11888 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11889 echo "${ECHO_T}$ac_header_preproc" >&6
11891 # So? What about this header?
11892 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11894 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11895 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11896 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11897 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11898 ac_header_preproc
=yes
11901 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11902 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11903 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11904 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11905 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11906 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11907 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11908 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11909 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11910 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11911 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11912 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11915 ## ------------------------------------ ##
11916 ## Report this to wine-devel@winehq.org ##
11917 ## ------------------------------------ ##
11920 sed "s/^/$as_me: WARNING: /" >&2
11923 echo "$as_me:$LINENO: checking for $ac_header" >&5
11924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11928 eval "$as_ac_Header=\$ac_header_preproc"
11930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11931 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11934 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11935 cat >>confdefs.h
<<_ACEOF
11936 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11939 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
11940 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
11941 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
11942 echo $ECHO_N "(cached) $ECHO_C" >&6
11944 ac_check_lib_save_LIBS
=$LIBS
11945 LIBS
="-lcapi20 $LIBS"
11946 cat >conftest.
$ac_ext <<_ACEOF
11949 cat confdefs.h
>>conftest.
$ac_ext
11950 cat >>conftest.
$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11953 /* Override any gcc2 internal prototype to avoid an error. */
11957 /* We use char because int might match the return type of a gcc2
11958 builtin and then its argument prototype would still apply. */
11959 char capi20_register ();
11963 capi20_register ();
11968 rm -f conftest.
$ac_objext conftest
$ac_exeext
11969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11970 (eval $ac_link) 2>conftest.er1
11972 grep -v '^ *+' conftest.er1
>conftest.err
11974 cat conftest.err
>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } &&
11977 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; } &&
11983 { ac_try
='test -s conftest$ac_exeext'
11984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11985 (eval $ac_try) 2>&5
11987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11988 (exit $ac_status); }; }; then
11989 ac_cv_lib_capi20_capi20_register
=yes
11991 echo "$as_me: failed program was:" >&5
11992 sed 's/^/| /' conftest.
$ac_ext >&5
11994 ac_cv_lib_capi20_capi20_register
=no
11996 rm -f conftest.err conftest.
$ac_objext \
11997 conftest
$ac_exeext conftest.
$ac_ext
11998 LIBS
=$ac_check_lib_save_LIBS
12000 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12001 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12002 if test $ac_cv_lib_capi20_capi20_register = yes; then
12005 cat >>confdefs.h
<<\_ACEOF
12006 #define HAVE_CAPI4LINUX 1
12009 CAPI4LINUXLIBS
="-lcapi20"
12026 echo "$as_me:$LINENO: checking whether mmap64 works defined as mmap" >&5
12027 echo $ECHO_N "checking whether mmap64 works defined as mmap... $ECHO_C" >&6
12028 if test "${ac_cv_mmap64_works+set}" = set; then
12029 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 if test "$cross_compiling" = yes; then
12032 ac_cv_mmap64_works
="no"
12034 cat >conftest.
$ac_ext <<_ACEOF
12037 cat confdefs.h
>>conftest.
$ac_ext
12038 cat >>conftest.
$ac_ext <<_ACEOF
12039 /* end confdefs.h. */
12041 #define _FILE_OFFSET_BITS 64
12043 #include <unistd.h>
12045 #include <sys/mman.h>
12048 int main(int argc,char **argv) {
12049 int fd = open("conftest.map",O_CREAT|O_RDWR,0600);
12050 if (fd == -1) exit(1);
12052 unlink("conftest.map");
12054 write(fd,"test",4);
12056 if ((-1 == mmap(0,4,PROT_READ|PROT_WRITE,MAP_SHARED,fd,0)) &&
12062 fprintf(stderr,"success!\n");
12068 rm -f conftest
$ac_exeext
12069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12070 (eval $ac_link) 2>&5
12072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12073 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 ac_cv_mmap64_works
="yes"
12081 echo "$as_me: program exited with status $ac_status" >&5
12082 echo "$as_me: failed program was:" >&5
12083 sed 's/^/| /' conftest.
$ac_ext >&5
12085 ( exit $ac_status )
12086 ac_cv_mmap64_works
="no"
12088 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12091 echo "$as_me:$LINENO: result: $ac_cv_mmap64_works" >&5
12092 echo "${ECHO_T}$ac_cv_mmap64_works" >&6
12094 if test "$ac_cv_mmap64_works" = "yes"
12097 cat >>confdefs.h
<<\_ACEOF
12098 #define _FILE_OFFSET_BITS 64
12106 if test "x${GCC}" = "xyes"
12108 EXTRACFLAGS
="-Wall -pipe"
12110 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12111 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12112 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12113 echo $ECHO_N "(cached) $ECHO_C" >&6
12115 if test "$cross_compiling" = yes; then
12116 ac_cv_c_gcc_strength_bug
="yes"
12118 cat >conftest.
$ac_ext <<_ACEOF
12121 cat confdefs.h
>>conftest.
$ac_ext
12122 cat >>conftest.
$ac_ext <<_ACEOF
12123 /* end confdefs.h. */
12125 int L[4] = {0,1,2,3};
12127 static int Array[3];
12128 unsigned int B = 3;
12130 for(i=0; i<B; i++) Array[i] = i - 3;
12131 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12134 exit( Array[1] != -2 || L[2] != 3);
12137 rm -f conftest
$ac_exeext
12138 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12139 (eval $ac_link) 2>&5
12141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12142 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; }; then
12148 ac_cv_c_gcc_strength_bug
="no"
12150 echo "$as_me: program exited with status $ac_status" >&5
12151 echo "$as_me: failed program was:" >&5
12152 sed 's/^/| /' conftest.
$ac_ext >&5
12154 ( exit $ac_status )
12155 ac_cv_c_gcc_strength_bug
="yes"
12157 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12160 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12161 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12162 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12164 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12167 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12168 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12169 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12170 echo $ECHO_N "(cached) $ECHO_C" >&6
12172 ac_wine_try_cflags_saved
=$CFLAGS
12173 CFLAGS
="$CFLAGS -fshort-wchar"
12174 cat >conftest.
$ac_ext <<_ACEOF
12177 cat confdefs.h
>>conftest.
$ac_ext
12178 cat >>conftest.
$ac_ext <<_ACEOF
12179 /* end confdefs.h. */
12189 rm -f conftest.
$ac_objext conftest
$ac_exeext
12190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12191 (eval $ac_link) 2>conftest.er1
12193 grep -v '^ *+' conftest.er1
>conftest.err
12195 cat conftest.err
>&5
12196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12197 (exit $ac_status); } &&
12198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12200 (eval $ac_try) 2>&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); }; } &&
12204 { ac_try
='test -s conftest$ac_exeext'
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); }; }; then
12210 ac_cv_c_gcc_fshort_wchar
="yes"
12212 echo "$as_me: failed program was:" >&5
12213 sed 's/^/| /' conftest.
$ac_ext >&5
12215 ac_cv_c_gcc_fshort_wchar
="no"
12217 rm -f conftest.err conftest.
$ac_objext \
12218 conftest
$ac_exeext conftest.
$ac_ext
12219 CFLAGS
=$ac_wine_try_cflags_saved
12221 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12222 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12223 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12226 cat >>confdefs.h
<<\_ACEOF
12227 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12232 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
12233 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
12234 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12237 ac_wine_try_cflags_saved
=$CFLAGS
12238 CFLAGS
="$CFLAGS -mpreferred-stack-boundary=2"
12239 cat >conftest.
$ac_ext <<_ACEOF
12242 cat confdefs.h
>>conftest.
$ac_ext
12243 cat >>conftest.
$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12254 rm -f conftest.
$ac_objext conftest
$ac_exeext
12255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12256 (eval $ac_link) 2>conftest.er1
12258 grep -v '^ *+' conftest.er1
>conftest.err
12260 cat conftest.err
>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } &&
12263 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12265 (eval $ac_try) 2>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); }; } &&
12269 { ac_try
='test -s conftest$ac_exeext'
12270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12271 (eval $ac_try) 2>&5
12273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12274 (exit $ac_status); }; }; then
12275 ac_cv_c_gcc_stack_boundary
="yes"
12277 echo "$as_me: failed program was:" >&5
12278 sed 's/^/| /' conftest.
$ac_ext >&5
12280 ac_cv_c_gcc_stack_boundary
="no"
12282 rm -f conftest.err conftest.
$ac_objext \
12283 conftest
$ac_exeext conftest.
$ac_ext
12284 CFLAGS
=$ac_wine_try_cflags_saved
12286 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
12287 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
12288 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
12290 EXTRACFLAGS
="$EXTRACFLAGS -mpreferred-stack-boundary=2"
12293 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12294 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12295 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12296 echo $ECHO_N "(cached) $ECHO_C" >&6
12298 ac_wine_try_cflags_saved
=$CFLAGS
12299 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12300 cat >conftest.
$ac_ext <<_ACEOF
12303 cat confdefs.h
>>conftest.
$ac_ext
12304 cat >>conftest.
$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12315 rm -f conftest.
$ac_objext conftest
$ac_exeext
12316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12317 (eval $ac_link) 2>conftest.er1
12319 grep -v '^ *+' conftest.er1
>conftest.err
12321 cat conftest.err
>&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; } &&
12330 { ac_try
='test -s conftest$ac_exeext'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; }; then
12336 ac_cv_c_gcc_no_strict_aliasing
="yes"
12338 echo "$as_me: failed program was:" >&5
12339 sed 's/^/| /' conftest.
$ac_ext >&5
12341 ac_cv_c_gcc_no_strict_aliasing
="no"
12343 rm -f conftest.err conftest.
$ac_objext \
12344 conftest
$ac_exeext conftest.
$ac_ext
12345 CFLAGS
=$ac_wine_try_cflags_saved
12347 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12348 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12349 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12351 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12354 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12355 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12356 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12357 echo $ECHO_N "(cached) $ECHO_C" >&6
12359 ac_wine_try_cflags_saved
=$CFLAGS
12360 CFLAGS
="$CFLAGS -gstabs+"
12361 cat >conftest.
$ac_ext <<_ACEOF
12364 cat confdefs.h
>>conftest.
$ac_ext
12365 cat >>conftest.
$ac_ext <<_ACEOF
12366 /* end confdefs.h. */
12376 rm -f conftest.
$ac_objext conftest
$ac_exeext
12377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12378 (eval $ac_link) 2>conftest.er1
12380 grep -v '^ *+' conftest.er1
>conftest.err
12382 cat conftest.err
>&5
12383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12384 (exit $ac_status); } &&
12385 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12387 (eval $ac_try) 2>&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); }; } &&
12391 { ac_try
='test -s conftest$ac_exeext'
12392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12393 (eval $ac_try) 2>&5
12395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12396 (exit $ac_status); }; }; then
12397 ac_cv_c_gcc_gstabs
="yes"
12399 echo "$as_me: failed program was:" >&5
12400 sed 's/^/| /' conftest.
$ac_ext >&5
12402 ac_cv_c_gcc_gstabs
="no"
12404 rm -f conftest.err conftest.
$ac_objext \
12405 conftest
$ac_exeext conftest.
$ac_ext
12406 CFLAGS
=$ac_wine_try_cflags_saved
12408 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12409 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12410 if test "$ac_cv_c_gcc_gstabs" = "yes"
12412 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12415 saved_CFLAGS
="$CFLAGS"
12416 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12417 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12418 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12419 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12420 echo $ECHO_N "(cached) $ECHO_C" >&6
12422 cat >conftest.
$ac_ext <<_ACEOF
12425 cat confdefs.h
>>conftest.
$ac_ext
12426 cat >>conftest.
$ac_ext <<_ACEOF
12427 /* end confdefs.h. */
12428 #include <string.h>
12437 rm -f conftest.
$ac_objext
12438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12439 (eval $ac_compile) 2>conftest.er1
12441 grep -v '^ *+' conftest.er1
>conftest.err
12443 cat conftest.err
>&5
12444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12445 (exit $ac_status); } &&
12446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12448 (eval $ac_try) 2>&5
12450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12451 (exit $ac_status); }; } &&
12452 { ac_try
='test -s conftest.$ac_objext'
12453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12454 (eval $ac_try) 2>&5
12456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12457 (exit $ac_status); }; }; then
12458 ac_cv_c_string_h_warnings
=no
12460 echo "$as_me: failed program was:" >&5
12461 sed 's/^/| /' conftest.
$ac_ext >&5
12463 ac_cv_c_string_h_warnings
=yes
12465 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12467 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12468 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12469 CFLAGS
="$saved_CFLAGS"
12470 if test "$ac_cv_c_string_h_warnings" = "no"
12472 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12477 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12478 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12479 if test "${ac_cv_asm_func_def+set}" = set; then
12480 echo $ECHO_N "(cached) $ECHO_C" >&6
12482 cat >conftest.
$ac_ext <<_ACEOF
12485 cat confdefs.h
>>conftest.
$ac_ext
12486 cat >>conftest.
$ac_ext <<_ACEOF
12487 /* end confdefs.h. */
12488 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"); }
12498 rm -f conftest.
$ac_objext conftest
$ac_exeext
12499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12500 (eval $ac_link) 2>conftest.er1
12502 grep -v '^ *+' conftest.er1
>conftest.err
12504 cat conftest.err
>&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } &&
12507 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try
='test -s conftest$ac_exeext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_cv_asm_func_def
=".def"
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.
$ac_ext >&5
12524 cat >conftest.
$ac_ext <<_ACEOF
12527 cat confdefs.h
>>conftest.
$ac_ext
12528 cat >>conftest.
$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12530 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
12540 rm -f conftest.
$ac_objext conftest
$ac_exeext
12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12542 (eval $ac_link) 2>conftest.er1
12544 grep -v '^ *+' conftest.er1
>conftest.err
12546 cat conftest.err
>&5
12547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12548 (exit $ac_status); } &&
12549 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551 (eval $ac_try) 2>&5
12553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554 (exit $ac_status); }; } &&
12555 { ac_try
='test -s conftest$ac_exeext'
12556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557 (eval $ac_try) 2>&5
12559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560 (exit $ac_status); }; }; then
12561 ac_cv_asm_func_def
=".type @function"
12563 echo "$as_me: failed program was:" >&5
12564 sed 's/^/| /' conftest.
$ac_ext >&5
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12572 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
12582 rm -f conftest.
$ac_objext conftest
$ac_exeext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12584 (eval $ac_link) 2>conftest.er1
12586 grep -v '^ *+' conftest.er1
>conftest.err
12588 cat conftest.err
>&5
12589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12590 (exit $ac_status); } &&
12591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12593 (eval $ac_try) 2>&5
12595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12596 (exit $ac_status); }; } &&
12597 { ac_try
='test -s conftest$ac_exeext'
12598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12599 (eval $ac_try) 2>&5
12601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12602 (exit $ac_status); }; }; then
12603 ac_cv_asm_func_def
=".type 2"
12605 echo "$as_me: failed program was:" >&5
12606 sed 's/^/| /' conftest.
$ac_ext >&5
12608 ac_cv_asm_func_def
="unknown"
12610 rm -f conftest.err conftest.
$ac_objext \
12611 conftest
$ac_exeext conftest.
$ac_ext
12613 rm -f conftest.err conftest.
$ac_objext \
12614 conftest
$ac_exeext conftest.
$ac_ext
12616 rm -f conftest.err conftest.
$ac_objext \
12617 conftest
$ac_exeext conftest.
$ac_ext
12619 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
12620 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
12624 case "$ac_cv_asm_func_def" in
12626 cat >>confdefs.h
<<\_ACEOF
12627 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
12631 cat >>confdefs.h
<<\_ACEOF
12632 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
12636 cat >>confdefs.h
<<\_ACEOF
12637 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
12641 cat >>confdefs.h
<<\_ACEOF
12642 #define __ASM_FUNC(name) ""
12648 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
12649 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
12650 if test "${ac_cv_c_extern_prefix+set}" = set; then
12651 echo $ECHO_N "(cached) $ECHO_C" >&6
12653 cat >conftest.
$ac_ext <<_ACEOF
12656 cat confdefs.h
>>conftest.
$ac_ext
12657 cat >>conftest.
$ac_ext <<_ACEOF
12658 /* end confdefs.h. */
12659 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
12660 extern int ac_test;
12664 if (ac_test) return 1
12669 rm -f conftest.
$ac_objext conftest
$ac_exeext
12670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12671 (eval $ac_link) 2>conftest.er1
12673 grep -v '^ *+' conftest.er1
>conftest.err
12675 cat conftest.err
>&5
12676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12677 (exit $ac_status); } &&
12678 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12680 (eval $ac_try) 2>&5
12682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12683 (exit $ac_status); }; } &&
12684 { ac_try
='test -s conftest$ac_exeext'
12685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12686 (eval $ac_try) 2>&5
12688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12689 (exit $ac_status); }; }; then
12690 ac_cv_c_extern_prefix
="yes"
12692 echo "$as_me: failed program was:" >&5
12693 sed 's/^/| /' conftest.
$ac_ext >&5
12695 ac_cv_c_extern_prefix
="no"
12697 rm -f conftest.err conftest.
$ac_objext \
12698 conftest
$ac_exeext conftest.
$ac_ext
12700 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
12701 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
12705 if test "$ac_cv_c_extern_prefix" = "yes"
12707 cat >>confdefs.h
<<\_ACEOF
12708 #define __ASM_NAME(name) "_" name
12712 cat >>confdefs.h
<<\_ACEOF
12713 #define __ASM_NAME(name) name
12719 echo "$as_me:$LINENO: checking for assembler keyword for ASCII strings" >&5
12720 echo $ECHO_N "checking for assembler keyword for ASCII strings... $ECHO_C" >&6
12721 if test "${ac_cv_c_asm_string+set}" = set; then
12722 echo $ECHO_N "(cached) $ECHO_C" >&6
12724 cat >conftest.
$ac_ext <<_ACEOF
12727 cat confdefs.h
>>conftest.
$ac_ext
12728 cat >>conftest.
$ac_ext <<_ACEOF
12729 /* end confdefs.h. */
12730 void ac_asm(void) { asm(".data\\n\\t.string \\"test\\"\\n\\t.text"); }
12740 rm -f conftest.
$ac_objext conftest
$ac_exeext
12741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12742 (eval $ac_link) 2>conftest.er1
12744 grep -v '^ *+' conftest.er1
>conftest.err
12746 cat conftest.err
>&5
12747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12748 (exit $ac_status); } &&
12749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12751 (eval $ac_try) 2>&5
12753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12754 (exit $ac_status); }; } &&
12755 { ac_try
='test -s conftest$ac_exeext'
12756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12757 (eval $ac_try) 2>&5
12759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12760 (exit $ac_status); }; }; then
12761 ac_cv_c_asm_string
=".string"
12763 echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.
$ac_ext >&5
12766 cat >conftest.
$ac_ext <<_ACEOF
12769 cat confdefs.h
>>conftest.
$ac_ext
12770 cat >>conftest.
$ac_ext <<_ACEOF
12771 /* end confdefs.h. */
12772 void ac_asm(void) { asm(".data\\n\\t.asciz \\"test\\"\\n\\t.text"); }
12782 rm -f conftest.
$ac_objext conftest
$ac_exeext
12783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12784 (eval $ac_link) 2>conftest.er1
12786 grep -v '^ *+' conftest.er1
>conftest.err
12788 cat conftest.err
>&5
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); } &&
12791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12793 (eval $ac_try) 2>&5
12795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12796 (exit $ac_status); }; } &&
12797 { ac_try
='test -s conftest$ac_exeext'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; }; then
12803 ac_cv_c_asm_string
=".asciz"
12805 echo "$as_me: failed program was:" >&5
12806 sed 's/^/| /' conftest.
$ac_ext >&5
12808 cat >conftest.
$ac_ext <<_ACEOF
12811 cat confdefs.h
>>conftest.
$ac_ext
12812 cat >>conftest.
$ac_ext <<_ACEOF
12813 /* end confdefs.h. */
12814 void ac_asm(void) { asm(".data\\n\\t.ascii \\"test\\"\\n\\t.text"); }
12824 rm -f conftest.
$ac_objext conftest
$ac_exeext
12825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12826 (eval $ac_link) 2>conftest.er1
12828 grep -v '^ *+' conftest.er1
>conftest.err
12830 cat conftest.err
>&5
12831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12832 (exit $ac_status); } &&
12833 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12835 (eval $ac_try) 2>&5
12837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12838 (exit $ac_status); }; } &&
12839 { ac_try
='test -s conftest$ac_exeext'
12840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12841 (eval $ac_try) 2>&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); }; }; then
12845 ac_cv_c_asm_string
=".ascii"
12847 echo "$as_me: failed program was:" >&5
12848 sed 's/^/| /' conftest.
$ac_ext >&5
12850 { { echo "$as_me:$LINENO: error: could not discover how to produce C strings with assembler." >&5
12851 echo "$as_me: error: could not discover how to produce C strings with assembler." >&2;}
12852 { (exit 1); exit 1; }; }
12854 rm -f conftest.err conftest.
$ac_objext \
12855 conftest
$ac_exeext conftest.
$ac_ext
12857 rm -f conftest.err conftest.
$ac_objext \
12858 conftest
$ac_exeext conftest.
$ac_ext
12860 rm -f conftest.err conftest.
$ac_objext \
12861 conftest
$ac_exeext conftest.
$ac_ext
12863 echo "$as_me:$LINENO: result: $ac_cv_c_asm_string" >&5
12864 echo "${ECHO_T}$ac_cv_c_asm_string" >&6
12867 cat >>confdefs.h
<<_ACEOF
12868 #define __ASM_STRING "$ac_cv_c_asm_string"
12873 echo "$as_me:$LINENO: checking for assembler keyword for word values" >&5
12874 echo $ECHO_N "checking for assembler keyword for word values... $ECHO_C" >&6
12875 if test "${ac_cv_c_asm_short+set}" = set; then
12876 echo $ECHO_N "(cached) $ECHO_C" >&6
12878 cat >conftest.
$ac_ext <<_ACEOF
12881 cat confdefs.h
>>conftest.
$ac_ext
12882 cat >>conftest.
$ac_ext <<_ACEOF
12883 /* end confdefs.h. */
12884 void ac_asm(void) { asm(".data\\n\\t.short 1\\n\\t.text"); }
12894 rm -f conftest.
$ac_objext conftest
$ac_exeext
12895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12896 (eval $ac_link) 2>conftest.er1
12898 grep -v '^ *+' conftest.er1
>conftest.err
12900 cat conftest.err
>&5
12901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12902 (exit $ac_status); } &&
12903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12905 (eval $ac_try) 2>&5
12907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); }; } &&
12909 { ac_try
='test -s conftest$ac_exeext'
12910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12911 (eval $ac_try) 2>&5
12913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12914 (exit $ac_status); }; }; then
12915 ac_cv_c_asm_short
=".short"
12917 echo "$as_me: failed program was:" >&5
12918 sed 's/^/| /' conftest.
$ac_ext >&5
12920 cat >conftest.
$ac_ext <<_ACEOF
12923 cat confdefs.h
>>conftest.
$ac_ext
12924 cat >>conftest.
$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926 void ac_asm(void) { asm(".data\\n\\t.half 1\\n\\t.text"); }
12936 rm -f conftest.
$ac_objext conftest
$ac_exeext
12937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12938 (eval $ac_link) 2>conftest.er1
12940 grep -v '^ *+' conftest.er1
>conftest.err
12942 cat conftest.err
>&5
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); } &&
12945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12947 (eval $ac_try) 2>&5
12949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 (exit $ac_status); }; } &&
12951 { ac_try
='test -s conftest$ac_exeext'
12952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12953 (eval $ac_try) 2>&5
12955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12956 (exit $ac_status); }; }; then
12957 ac_cv_c_asm_short
=".half"
12959 echo "$as_me: failed program was:" >&5
12960 sed 's/^/| /' conftest.
$ac_ext >&5
12962 { { echo "$as_me:$LINENO: error: could not discover how to specify word values with assembler." >&5
12963 echo "$as_me: error: could not discover how to specify word values with assembler." >&2;}
12964 { (exit 1); exit 1; }; }
12966 rm -f conftest.err conftest.
$ac_objext \
12967 conftest
$ac_exeext conftest.
$ac_ext
12969 rm -f conftest.err conftest.
$ac_objext \
12970 conftest
$ac_exeext conftest.
$ac_ext
12972 echo "$as_me:$LINENO: result: $ac_cv_c_asm_short" >&5
12973 echo "${ECHO_T}$ac_cv_c_asm_short" >&6
12976 cat >>confdefs.h
<<_ACEOF
12977 #define __ASM_SHORT "$ac_cv_c_asm_short"
12982 echo "$as_me:$LINENO: checking for .size in assembler" >&5
12983 echo $ECHO_N "checking for .size in assembler... $ECHO_C" >&6
12984 if test "${ac_cv_c_asm_size+set}" = set; then
12985 echo $ECHO_N "(cached) $ECHO_C" >&6
12987 cat >conftest.
$ac_ext <<_ACEOF
12990 cat confdefs.h
>>conftest.
$ac_ext
12991 cat >>conftest.
$ac_ext <<_ACEOF
12992 /* end confdefs.h. */
12993 void ac_asm(void) { asm(".globl _ac_test\n.size _ac_test, . - _ac_test"); }
13003 rm -f conftest.
$ac_objext conftest
$ac_exeext
13004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13005 (eval $ac_link) 2>conftest.er1
13007 grep -v '^ *+' conftest.er1
>conftest.err
13009 cat conftest.err
>&5
13010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13011 (exit $ac_status); } &&
13012 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13014 (eval $ac_try) 2>&5
13016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13017 (exit $ac_status); }; } &&
13018 { ac_try
='test -s conftest$ac_exeext'
13019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13020 (eval $ac_try) 2>&5
13022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13023 (exit $ac_status); }; }; then
13024 ac_cv_c_asm_size
="yes"
13026 echo "$as_me: failed program was:" >&5
13027 sed 's/^/| /' conftest.
$ac_ext >&5
13029 ac_cv_c_asm_size
="no"
13031 rm -f conftest.err conftest.
$ac_objext \
13032 conftest
$ac_exeext conftest.
$ac_ext
13034 echo "$as_me:$LINENO: result: $ac_cv_c_asm_size" >&5
13035 echo "${ECHO_T}$ac_cv_c_asm_size" >&6
13037 if test "$ac_cv_c_asm_size" = "yes"
13040 cat >>confdefs.h
<<\_ACEOF
13041 #define HAVE_ASM_DOT_SIZE 1
13049 DLLFLAGS
="-D_REENTRANT"
13064 if test -n "$ac_tool_prefix"; then
13065 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13066 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
13067 echo "$as_me:$LINENO: checking for $ac_word" >&5
13068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13069 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13070 echo $ECHO_N "(cached) $ECHO_C" >&6
13072 if test -n "$DLLTOOL"; then
13073 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
13075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13076 for as_dir
in $PATH
13079 test -z "$as_dir" && as_dir
=.
13080 for ac_exec_ext
in '' $ac_executable_extensions; do
13081 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13082 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
13083 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13091 DLLTOOL
=$ac_cv_prog_DLLTOOL
13092 if test -n "$DLLTOOL"; then
13093 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13094 echo "${ECHO_T}$DLLTOOL" >&6
13096 echo "$as_me:$LINENO: result: no" >&5
13097 echo "${ECHO_T}no" >&6
13101 if test -z "$ac_cv_prog_DLLTOOL"; then
13102 ac_ct_DLLTOOL
=$DLLTOOL
13103 # Extract the first word of "dlltool", so it can be a program name with args.
13104 set dummy dlltool
; ac_word
=$2
13105 echo "$as_me:$LINENO: checking for $ac_word" >&5
13106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13107 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 if test -n "$ac_ct_DLLTOOL"; then
13111 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
13113 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13114 for as_dir
in $PATH
13117 test -z "$as_dir" && as_dir
=.
13118 for ac_exec_ext
in '' $ac_executable_extensions; do
13119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13120 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
13121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13127 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL
="false"
13130 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
13131 if test -n "$ac_ct_DLLTOOL"; then
13132 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13133 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13135 echo "$as_me:$LINENO: result: no" >&5
13136 echo "${ECHO_T}no" >&6
13139 DLLTOOL
=$ac_ct_DLLTOOL
13141 DLLTOOL
="$ac_cv_prog_DLLTOOL"
13144 if test -n "$ac_tool_prefix"; then
13145 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13146 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
13147 echo "$as_me:$LINENO: checking for $ac_word" >&5
13148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13149 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13150 echo $ECHO_N "(cached) $ECHO_C" >&6
13152 if test -n "$DLLWRAP"; then
13153 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
13155 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13156 for as_dir
in $PATH
13159 test -z "$as_dir" && as_dir
=.
13160 for ac_exec_ext
in '' $ac_executable_extensions; do
13161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13162 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
13163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13171 DLLWRAP
=$ac_cv_prog_DLLWRAP
13172 if test -n "$DLLWRAP"; then
13173 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13174 echo "${ECHO_T}$DLLWRAP" >&6
13176 echo "$as_me:$LINENO: result: no" >&5
13177 echo "${ECHO_T}no" >&6
13181 if test -z "$ac_cv_prog_DLLWRAP"; then
13182 ac_ct_DLLWRAP
=$DLLWRAP
13183 # Extract the first word of "dllwrap", so it can be a program name with args.
13184 set dummy dllwrap
; ac_word
=$2
13185 echo "$as_me:$LINENO: checking for $ac_word" >&5
13186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13187 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13188 echo $ECHO_N "(cached) $ECHO_C" >&6
13190 if test -n "$ac_ct_DLLWRAP"; then
13191 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
13193 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13194 for as_dir
in $PATH
13197 test -z "$as_dir" && as_dir
=.
13198 for ac_exec_ext
in '' $ac_executable_extensions; do
13199 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13200 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
13201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13207 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP
="false"
13210 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
13211 if test -n "$ac_ct_DLLWRAP"; then
13212 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13213 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13215 echo "$as_me:$LINENO: result: no" >&5
13216 echo "${ECHO_T}no" >&6
13219 DLLWRAP
=$ac_ct_DLLWRAP
13221 DLLWRAP
="$ac_cv_prog_DLLWRAP"
13224 if test "$DLLWRAP" = "false"; then
13235 for ac_header
in dlfcn.h
13237 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
13238 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13239 echo "$as_me:$LINENO: checking for $ac_header" >&5
13240 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13241 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13242 echo $ECHO_N "(cached) $ECHO_C" >&6
13244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13245 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13247 # Is the header compilable?
13248 echo "$as_me:$LINENO: checking $ac_header usability" >&5
13249 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
13250 cat >conftest.
$ac_ext <<_ACEOF
13253 cat confdefs.h
>>conftest.
$ac_ext
13254 cat >>conftest.
$ac_ext <<_ACEOF
13255 /* end confdefs.h. */
13256 $ac_includes_default
13257 #include <$ac_header>
13259 rm -f conftest.
$ac_objext
13260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13261 (eval $ac_compile) 2>conftest.er1
13263 grep -v '^ *+' conftest.er1
>conftest.err
13265 cat conftest.err
>&5
13266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13267 (exit $ac_status); } &&
13268 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13270 (eval $ac_try) 2>&5
13272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13273 (exit $ac_status); }; } &&
13274 { ac_try
='test -s conftest.$ac_objext'
13275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13276 (eval $ac_try) 2>&5
13278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13279 (exit $ac_status); }; }; then
13280 ac_header_compiler
=yes
13282 echo "$as_me: failed program was:" >&5
13283 sed 's/^/| /' conftest.
$ac_ext >&5
13285 ac_header_compiler
=no
13287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
13289 echo "${ECHO_T}$ac_header_compiler" >&6
13291 # Is the header present?
13292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
13293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
13294 cat >conftest.
$ac_ext <<_ACEOF
13297 cat confdefs.h
>>conftest.
$ac_ext
13298 cat >>conftest.
$ac_ext <<_ACEOF
13299 /* end confdefs.h. */
13300 #include <$ac_header>
13302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13303 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
13305 grep -v '^ *+' conftest.er1
>conftest.err
13307 cat conftest.err
>&5
13308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13309 (exit $ac_status); } >/dev
/null
; then
13310 if test -s conftest.err
; then
13311 ac_cpp_err
=$ac_c_preproc_warn_flag
13312 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
13319 if test -z "$ac_cpp_err"; then
13320 ac_header_preproc
=yes
13322 echo "$as_me: failed program was:" >&5
13323 sed 's/^/| /' conftest.
$ac_ext >&5
13325 ac_header_preproc
=no
13327 rm -f conftest.err conftest.
$ac_ext
13328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
13329 echo "${ECHO_T}$ac_header_preproc" >&6
13331 # So? What about this header?
13332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
13334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
13335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
13336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
13337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
13338 ac_header_preproc
=yes
13341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
13342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
13343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
13344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
13345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
13346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
13347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
13348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
13349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
13350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
13351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
13352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
13355 ## ------------------------------------ ##
13356 ## Report this to wine-devel@winehq.org ##
13357 ## ------------------------------------ ##
13360 sed "s/^/$as_me: WARNING: /" >&2
13363 echo "$as_me:$LINENO: checking for $ac_header" >&5
13364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
13365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13368 eval "$as_ac_Header=\$ac_header_preproc"
13370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
13371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
13374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
13375 cat >>confdefs.h
<<_ACEOF
13376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
13379 for ac_func
in dlopen
13381 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13382 echo "$as_me:$LINENO: checking for $ac_func" >&5
13383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13384 if eval "test \"\${$as_ac_var+set}\" = set"; then
13385 echo $ECHO_N "(cached) $ECHO_C" >&6
13387 cat >conftest.
$ac_ext <<_ACEOF
13390 cat confdefs.h
>>conftest.
$ac_ext
13391 cat >>conftest.
$ac_ext <<_ACEOF
13392 /* end confdefs.h. */
13393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13395 #define $ac_func innocuous_$ac_func
13397 /* System header to define __stub macros and hopefully few prototypes,
13398 which can conflict with char $ac_func (); below.
13399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13400 <limits.h> exists even on freestanding compilers. */
13403 # include <limits.h>
13405 # include <assert.h>
13410 /* Override any gcc2 internal prototype to avoid an error. */
13415 /* We use char because int might match the return type of a gcc2
13416 builtin and then its argument prototype would still apply. */
13418 /* The GNU C library defines this for functions which it implements
13419 to always fail with ENOSYS. Some functions are actually named
13420 something starting with __ and the normal name is an alias. */
13421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13424 char (*f) () = $ac_func;
13433 return f != $ac_func;
13438 rm -f conftest.
$ac_objext conftest
$ac_exeext
13439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13440 (eval $ac_link) 2>conftest.er1
13442 grep -v '^ *+' conftest.er1
>conftest.err
13444 cat conftest.err
>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); } &&
13447 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13449 (eval $ac_try) 2>&5
13451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13452 (exit $ac_status); }; } &&
13453 { ac_try
='test -s conftest$ac_exeext'
13454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13455 (eval $ac_try) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); }; }; then
13459 eval "$as_ac_var=yes"
13461 echo "$as_me: failed program was:" >&5
13462 sed 's/^/| /' conftest.
$ac_ext >&5
13464 eval "$as_ac_var=no"
13466 rm -f conftest.err conftest.
$ac_objext \
13467 conftest
$ac_exeext conftest.
$ac_ext
13469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13471 if test `eval echo '${'$as_ac_var'}'` = yes; then
13472 cat >>confdefs.h
<<_ACEOF
13473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13477 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13478 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13479 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13480 echo $ECHO_N "(cached) $ECHO_C" >&6
13482 ac_check_lib_save_LIBS
=$LIBS
13484 cat >conftest.
$ac_ext <<_ACEOF
13487 cat confdefs.h
>>conftest.
$ac_ext
13488 cat >>conftest.
$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13491 /* Override any gcc2 internal prototype to avoid an error. */
13495 /* We use char because int might match the return type of a gcc2
13496 builtin and then its argument prototype would still apply. */
13506 rm -f conftest.
$ac_objext conftest
$ac_exeext
13507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13508 (eval $ac_link) 2>conftest.er1
13510 grep -v '^ *+' conftest.er1
>conftest.err
13512 cat conftest.err
>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); } &&
13515 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; } &&
13521 { ac_try
='test -s conftest$ac_exeext'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; }; then
13527 ac_cv_lib_dl_dlopen
=yes
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.
$ac_ext >&5
13532 ac_cv_lib_dl_dlopen
=no
13534 rm -f conftest.err conftest.
$ac_objext \
13535 conftest
$ac_exeext conftest.
$ac_ext
13536 LIBS
=$ac_check_lib_save_LIBS
13538 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13539 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13540 if test $ac_cv_lib_dl_dlopen = yes; then
13542 cat >>confdefs.h
<<\_ACEOF
13543 #define HAVE_DLOPEN 1
13561 if test "$LIBEXT" = "so"
13563 DLLFLAGS
="$DLLFLAGS -fPIC"
13565 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13566 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13567 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13568 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 ac_wine_try_cflags_saved
=$CFLAGS
13571 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13572 cat >conftest.
$ac_ext <<_ACEOF
13575 rm -f conftest.
$ac_objext conftest
$ac_exeext
13576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13577 (eval $ac_link) 2>conftest.er1
13579 grep -v '^ *+' conftest.er1
>conftest.err
13581 cat conftest.err
>&5
13582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13583 (exit $ac_status); } &&
13584 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13586 (eval $ac_try) 2>&5
13588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13589 (exit $ac_status); }; } &&
13590 { ac_try
='test -s conftest$ac_exeext'
13591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13592 (eval $ac_try) 2>&5
13594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13595 (exit $ac_status); }; }; then
13596 ac_cv_c_dll_gnuelf
="yes"
13598 echo "$as_me: failed program was:" >&5
13599 sed 's/^/| /' conftest.
$ac_ext >&5
13601 ac_cv_c_dll_gnuelf
="no"
13603 rm -f conftest.err conftest.
$ac_objext \
13604 conftest
$ac_exeext conftest.
$ac_ext
13605 CFLAGS
=$ac_wine_try_cflags_saved
13607 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13608 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13609 if test "$ac_cv_c_dll_gnuelf" = "yes"
13611 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13612 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
13613 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13614 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13615 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13616 echo $ECHO_N "(cached) $ECHO_C" >&6
13618 ac_wine_try_cflags_saved
=$CFLAGS
13619 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13620 cat >conftest.
$ac_ext <<_ACEOF
13623 cat confdefs.h
>>conftest.
$ac_ext
13624 cat >>conftest.
$ac_ext <<_ACEOF
13625 /* end confdefs.h. */
13635 rm -f conftest.
$ac_objext conftest
$ac_exeext
13636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13637 (eval $ac_link) 2>conftest.er1
13639 grep -v '^ *+' conftest.er1
>conftest.err
13641 cat conftest.err
>&5
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); } &&
13644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; } &&
13650 { ac_try
='test -s conftest$ac_exeext'
13651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13652 (eval $ac_try) 2>&5
13654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13655 (exit $ac_status); }; }; then
13656 ac_cv_c_dll_zdefs
="yes"
13658 echo "$as_me: failed program was:" >&5
13659 sed 's/^/| /' conftest.
$ac_ext >&5
13661 ac_cv_c_dll_zdefs
="no"
13663 rm -f conftest.err conftest.
$ac_objext \
13664 conftest
$ac_exeext conftest.
$ac_ext
13665 CFLAGS
=$ac_wine_try_cflags_saved
13667 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13668 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13669 if test "$ac_cv_c_dll_zdefs" = "yes"
13671 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
13674 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13675 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13676 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13677 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 ac_wine_try_cflags_saved
=$CFLAGS
13680 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13681 cat >conftest.
$ac_ext <<_ACEOF
13684 cat confdefs.h
>>conftest.
$ac_ext
13685 cat >>conftest.
$ac_ext <<_ACEOF
13686 /* end confdefs.h. */
13696 rm -f conftest.
$ac_objext conftest
$ac_exeext
13697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13698 (eval $ac_link) 2>conftest.er1
13700 grep -v '^ *+' conftest.er1
>conftest.err
13702 cat conftest.err
>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } &&
13705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13707 (eval $ac_try) 2>&5
13709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13710 (exit $ac_status); }; } &&
13711 { ac_try
='test -s conftest$ac_exeext'
13712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13713 (eval $ac_try) 2>&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); }; }; then
13717 ac_cv_c_dll_init_fini
="yes"
13719 echo "$as_me: failed program was:" >&5
13720 sed 's/^/| /' conftest.
$ac_ext >&5
13722 ac_cv_c_dll_init_fini
="no"
13724 rm -f conftest.err conftest.
$ac_objext \
13725 conftest
$ac_exeext conftest.
$ac_ext
13726 CFLAGS
=$ac_wine_try_cflags_saved
13728 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13729 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13730 if test "$ac_cv_c_dll_init_fini" = "yes"
13732 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13735 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13736 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13737 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13738 echo $ECHO_N "(cached) $ECHO_C" >&6
13740 echo '{ global: *; };' >conftest.map
13741 ac_wine_try_cflags_saved
=$CFLAGS
13742 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13743 cat >conftest.
$ac_ext <<_ACEOF
13746 cat confdefs.h
>>conftest.
$ac_ext
13747 cat >>conftest.
$ac_ext <<_ACEOF
13748 /* end confdefs.h. */
13758 rm -f conftest.
$ac_objext conftest
$ac_exeext
13759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13760 (eval $ac_link) 2>conftest.er1
13762 grep -v '^ *+' conftest.er1
>conftest.err
13764 cat conftest.err
>&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } &&
13767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13769 (eval $ac_try) 2>&5
13771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13772 (exit $ac_status); }; } &&
13773 { ac_try
='test -s conftest$ac_exeext'
13774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13775 (eval $ac_try) 2>&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 (exit $ac_status); }; }; then
13779 ac_cv_c_ld_version_scripts
="yes"
13781 echo "$as_me: failed program was:" >&5
13782 sed 's/^/| /' conftest.
$ac_ext >&5
13784 ac_cv_c_ld_version_scripts
="no"
13786 rm -f conftest.err conftest.
$ac_objext \
13787 conftest
$ac_exeext conftest.
$ac_ext
13788 CFLAGS
=$ac_wine_try_cflags_saved
13791 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13792 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13793 if test "$ac_cv_c_ld_version_scripts" = "yes"
13795 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13798 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13799 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13800 if test "${ac_cv_c_export_dynamic+set}" = set; then
13801 echo $ECHO_N "(cached) $ECHO_C" >&6
13803 ac_wine_try_cflags_saved
=$CFLAGS
13804 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
13805 cat >conftest.
$ac_ext <<_ACEOF
13808 cat confdefs.h
>>conftest.
$ac_ext
13809 cat >>conftest.
$ac_ext <<_ACEOF
13810 /* end confdefs.h. */
13820 rm -f conftest.
$ac_objext conftest
$ac_exeext
13821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13822 (eval $ac_link) 2>conftest.er1
13824 grep -v '^ *+' conftest.er1
>conftest.err
13826 cat conftest.err
>&5
13827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13828 (exit $ac_status); } &&
13829 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13831 (eval $ac_try) 2>&5
13833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13834 (exit $ac_status); }; } &&
13835 { ac_try
='test -s conftest$ac_exeext'
13836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13837 (eval $ac_try) 2>&5
13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13840 (exit $ac_status); }; }; then
13841 ac_cv_c_export_dynamic
="yes"
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.
$ac_ext >&5
13846 ac_cv_c_export_dynamic
="no"
13848 rm -f conftest.err conftest.
$ac_objext \
13849 conftest
$ac_exeext conftest.
$ac_ext
13850 CFLAGS
=$ac_wine_try_cflags_saved
13852 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13853 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13854 if test "$ac_cv_c_export_dynamic" = "yes"
13856 LDEXECFLAGS
="-Wl,--export-dynamic"
13862 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x77f00000" >&5
13863 echo $ECHO_N "checking whether we can relocate the executable to 0x77f00000... $ECHO_C" >&6
13864 if test "${ac_cv_ld_reloc_exec+set}" = set; then
13865 echo $ECHO_N "(cached) $ECHO_C" >&6
13867 ac_wine_try_cflags_saved
=$CFLAGS
13868 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x77f00400"
13869 cat >conftest.
$ac_ext <<_ACEOF
13872 cat confdefs.h
>>conftest.
$ac_ext
13873 cat >>conftest.
$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13884 rm -f conftest.
$ac_objext conftest
$ac_exeext
13885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13886 (eval $ac_link) 2>conftest.er1
13888 grep -v '^ *+' conftest.er1
>conftest.err
13890 cat conftest.err
>&5
13891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13892 (exit $ac_status); } &&
13893 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13895 (eval $ac_try) 2>&5
13897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13898 (exit $ac_status); }; } &&
13899 { ac_try
='test -s conftest$ac_exeext'
13900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13901 (eval $ac_try) 2>&5
13903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13904 (exit $ac_status); }; }; then
13905 ac_cv_ld_reloc_exec
="yes"
13907 echo "$as_me: failed program was:" >&5
13908 sed 's/^/| /' conftest.
$ac_ext >&5
13910 ac_cv_ld_reloc_exec
="no"
13912 rm -f conftest.err conftest.
$ac_objext \
13913 conftest
$ac_exeext conftest.
$ac_ext
13914 CFLAGS
=$ac_wine_try_cflags_saved
13916 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
13917 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
13918 if test "$ac_cv_ld_reloc_exec" = "yes"
13920 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x77f00400"
13926 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
13927 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
13928 if test "${ac_cv_c_dll_unixware+set}" = set; then
13929 echo $ECHO_N "(cached) $ECHO_C" >&6
13931 ac_wine_try_cflags_saved
=$CFLAGS
13932 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
13933 cat >conftest.
$ac_ext <<_ACEOF
13936 rm -f conftest.
$ac_objext conftest
$ac_exeext
13937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13938 (eval $ac_link) 2>conftest.er1
13940 grep -v '^ *+' conftest.er1
>conftest.err
13942 cat conftest.err
>&5
13943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13944 (exit $ac_status); } &&
13945 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13947 (eval $ac_try) 2>&5
13949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13950 (exit $ac_status); }; } &&
13951 { ac_try
='test -s conftest$ac_exeext'
13952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13953 (eval $ac_try) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }; }; then
13957 ac_cv_c_dll_unixware
="yes"
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.
$ac_ext >&5
13962 ac_cv_c_dll_unixware
="no"
13964 rm -f conftest.err conftest.
$ac_objext \
13965 conftest
$ac_exeext conftest.
$ac_ext
13966 CFLAGS
=$ac_wine_try_cflags_saved
13968 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
13969 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
13970 if test "$ac_cv_c_dll_unixware" = "yes"
13972 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
13973 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
13976 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
13977 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
13978 if test "${ac_cv_c_dll_macho+set}" = set; then
13979 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 ac_wine_try_cflags_saved
=$CFLAGS
13982 CFLAGS
="$CFLAGS -bundle"
13983 cat >conftest.
$ac_ext <<_ACEOF
13986 rm -f conftest.
$ac_objext conftest
$ac_exeext
13987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13988 (eval $ac_link) 2>conftest.er1
13990 grep -v '^ *+' conftest.er1
>conftest.err
13992 cat conftest.err
>&5
13993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13994 (exit $ac_status); } &&
13995 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13997 (eval $ac_try) 2>&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 (exit $ac_status); }; } &&
14001 { ac_try
='test -s conftest$ac_exeext'
14002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14003 (eval $ac_try) 2>&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 (exit $ac_status); }; }; then
14007 ac_cv_c_dll_macho
="yes"
14009 echo "$as_me: failed program was:" >&5
14010 sed 's/^/| /' conftest.
$ac_ext >&5
14012 ac_cv_c_dll_macho
="no"
14014 rm -f conftest.err conftest.
$ac_objext \
14015 conftest
$ac_exeext conftest.
$ac_ext
14016 CFLAGS
=$ac_wine_try_cflags_saved
14018 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14019 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14020 if test "$ac_cv_c_dll_macho" = "yes"
14023 LDDLLFLAGS
="-bundle -flat_namespace -undefined suppress"
14024 LDSHARED
="\$(CC) -dynamiclib"
14025 CFLAGS
="$CFLAGS -ffixed-r13 -no-cpp-precomp"
14026 STRIP
="$STRIP -u -r"
14027 LDEXECFLAGS
="-seg1addr 0x120000"
14029 LDLIBWINEFLAGS
="-seg1addr 0x140000"
14031 COREFOUNDATIONLIB
="-framework CoreFoundation"
14033 IOKITLIB
="-framework IOKit"
14035 IOKITLIB
= "$IOKITLIB $COREFOUNDATIONLIB"
14037 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14038 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14039 if test "${ac_cv_c_dll_hpux+set}" = set; then
14040 echo $ECHO_N "(cached) $ECHO_C" >&6
14042 ac_wine_try_cflags_saved
=$CFLAGS
14043 CFLAGS
="$CFLAGS -shared"
14044 cat >conftest.
$ac_ext <<_ACEOF
14047 rm -f conftest.
$ac_objext conftest
$ac_exeext
14048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14049 (eval $ac_link) 2>conftest.er1
14051 grep -v '^ *+' conftest.er1
>conftest.err
14053 cat conftest.err
>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } &&
14056 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14058 (eval $ac_try) 2>&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); }; } &&
14062 { ac_try
='test -s conftest$ac_exeext'
14063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14064 (eval $ac_try) 2>&5
14066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14067 (exit $ac_status); }; }; then
14068 ac_cv_c_dll_hpux
="yes"
14070 echo "$as_me: failed program was:" >&5
14071 sed 's/^/| /' conftest.
$ac_ext >&5
14073 ac_cv_c_dll_hpux
="no"
14075 rm -f conftest.err conftest.
$ac_objext \
14076 conftest
$ac_exeext conftest.
$ac_ext
14077 CFLAGS
=$ac_wine_try_cflags_saved
14079 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14080 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14081 if test "$ac_cv_c_dll_hpux" = "yes"
14085 LDDLLFLAGS
="-shared -fPIC"
14086 LDSHARED
="\$(CC) -shared"
14095 if test "$cross_compiling" = "no"
14097 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14099 # Extract the first word of "$ac_prog", so it can be a program name with args.
14100 set dummy
$ac_prog; ac_word
=$2
14101 echo "$as_me:$LINENO: checking for $ac_word" >&5
14102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14103 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14104 echo $ECHO_N "(cached) $ECHO_C" >&6
14106 if test -n "$CROSSCC"; then
14107 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
14109 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14110 for as_dir
in $PATH
14113 test -z "$as_dir" && as_dir
=.
14114 for ac_exec_ext
in '' $ac_executable_extensions; do
14115 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14116 ac_cv_prog_CROSSCC
="$ac_prog"
14117 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14125 CROSSCC
=$ac_cv_prog_CROSSCC
14126 if test -n "$CROSSCC"; then
14127 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14128 echo "${ECHO_T}$CROSSCC" >&6
14130 echo "$as_me:$LINENO: result: no" >&5
14131 echo "${ECHO_T}no" >&6
14134 test -n "$CROSSCC" && break
14136 test -n "$CROSSCC" || CROSSCC
="false"
14138 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14140 # Extract the first word of "$ac_prog", so it can be a program name with args.
14141 set dummy
$ac_prog; ac_word
=$2
14142 echo "$as_me:$LINENO: checking for $ac_word" >&5
14143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14144 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14145 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 if test -n "$DLLTOOL"; then
14148 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
14150 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14151 for as_dir
in $PATH
14154 test -z "$as_dir" && as_dir
=.
14155 for ac_exec_ext
in '' $ac_executable_extensions; do
14156 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14157 ac_cv_prog_DLLTOOL
="$ac_prog"
14158 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14166 DLLTOOL
=$ac_cv_prog_DLLTOOL
14167 if test -n "$DLLTOOL"; then
14168 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14169 echo "${ECHO_T}$DLLTOOL" >&6
14171 echo "$as_me:$LINENO: result: no" >&5
14172 echo "${ECHO_T}no" >&6
14175 test -n "$DLLTOOL" && break
14177 test -n "$DLLTOOL" || DLLTOOL
="false"
14179 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14181 # Extract the first word of "$ac_prog", so it can be a program name with args.
14182 set dummy
$ac_prog; ac_word
=$2
14183 echo "$as_me:$LINENO: checking for $ac_word" >&5
14184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14185 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14186 echo $ECHO_N "(cached) $ECHO_C" >&6
14188 if test -n "$CROSSWINDRES"; then
14189 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
14191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14192 for as_dir
in $PATH
14195 test -z "$as_dir" && as_dir
=.
14196 for ac_exec_ext
in '' $ac_executable_extensions; do
14197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14198 ac_cv_prog_CROSSWINDRES
="$ac_prog"
14199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14207 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
14208 if test -n "$CROSSWINDRES"; then
14209 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14210 echo "${ECHO_T}$CROSSWINDRES" >&6
14212 echo "$as_me:$LINENO: result: no" >&5
14213 echo "${ECHO_T}no" >&6
14216 test -n "$CROSSWINDRES" && break
14218 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
14220 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
14225 if test "$LIBEXT" = "a"; then
14226 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14227 It is currently not possible to build Wine without shared library
14228 (.so) support to allow transparent switch between .so and .dll files.
14229 If you are using Linux, you will need a newer binutils.
14231 echo "$as_me: error: could not find a way to build shared libraries.
14232 It is currently not possible to build Wine without shared library
14233 (.so) support to allow transparent switch between .so and .dll files.
14234 If you are using Linux, you will need a newer binutils.
14236 { (exit 1); exit 1; }; }
14241 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14244 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14247 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14255 SOCKETLIBS
="-lws2_32"
14263 *i
[3456789]86*) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread wine-preloader"
14265 *) WINE_BINARIES
="wine-glibc wine-kthread wine-pthread"
14268 MAIN_BINARY
="wine-glibc"
14272 WINE_BINARIES
="wine-pthread"
14274 MAIN_BINARY
="wine-pthread"
14278 WINE_BINARIES
="wine-kthread"
14280 MAIN_BINARY
="wine-kthread"
14286 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14288 # Extract the first word of "ldd", so it can be a program name with args.
14289 set dummy ldd
; ac_word
=$2
14290 echo "$as_me:$LINENO: checking for $ac_word" >&5
14291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14292 if test "${ac_cv_path_LDD+set}" = set; then
14293 echo $ECHO_N "(cached) $ECHO_C" >&6
14297 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
14300 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14301 as_dummy
="/sbin:/usr/sbin:$PATH"
14302 for as_dir
in $as_dummy
14305 test -z "$as_dir" && as_dir
=.
14306 for ac_exec_ext
in '' $ac_executable_extensions; do
14307 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14308 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
14309 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14315 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
14319 LDD
=$ac_cv_path_LDD
14321 if test -n "$LDD"; then
14322 echo "$as_me:$LINENO: result: $LDD" >&5
14323 echo "${ECHO_T}$LDD" >&6
14325 echo "$as_me:$LINENO: result: no" >&5
14326 echo "${ECHO_T}no" >&6
14330 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14331 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14332 if test "${ac_cv_lib_soname_X11+set}" = set; then
14333 echo $ECHO_N "(cached) $ECHO_C" >&6
14335 ac_get_soname_save_LIBS
=$LIBS
14336 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14337 cat >conftest.
$ac_ext <<_ACEOF
14340 cat confdefs.h
>>conftest.
$ac_ext
14341 cat >>conftest.
$ac_ext <<_ACEOF
14342 /* end confdefs.h. */
14344 /* Override any gcc2 internal prototype to avoid an error. */
14348 /* We use char because int might match the return type of a gcc2
14349 builtin and then its argument prototype would still apply. */
14350 char XCreateWindow ();
14359 rm -f conftest.
$ac_objext conftest
$ac_exeext
14360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14361 (eval $ac_link) 2>conftest.er1
14363 grep -v '^ *+' conftest.er1
>conftest.err
14365 cat conftest.err
>&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } &&
14368 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; } &&
14374 { ac_try
='test -s conftest$ac_exeext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
14381 if test "x$ac_cv_lib_soname_X11" = "x"
14383 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14386 echo "$as_me: failed program was:" >&5
14387 sed 's/^/| /' conftest.
$ac_ext >&5
14389 ac_cv_lib_soname_X11
="libX11.$LIBEXT"
14391 rm -f conftest.err conftest.
$ac_objext \
14392 conftest
$ac_exeext conftest.
$ac_ext
14393 LIBS
=$ac_get_soname_save_LIBS
14395 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14396 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14397 if test "x$ac_cv_lib_soname_X11" != xNONE
14399 cat >>confdefs.h
<<_ACEOF
14400 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14404 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14405 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14406 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14407 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 ac_get_soname_save_LIBS
=$LIBS
14410 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14411 cat >conftest.
$ac_ext <<_ACEOF
14414 cat confdefs.h
>>conftest.
$ac_ext
14415 cat >>conftest.
$ac_ext <<_ACEOF
14416 /* end confdefs.h. */
14418 /* Override any gcc2 internal prototype to avoid an error. */
14422 /* We use char because int might match the return type of a gcc2
14423 builtin and then its argument prototype would still apply. */
14424 char XextCreateExtension ();
14428 XextCreateExtension ();
14433 rm -f conftest.
$ac_objext conftest
$ac_exeext
14434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14435 (eval $ac_link) 2>conftest.er1
14437 grep -v '^ *+' conftest.er1
>conftest.err
14439 cat conftest.err
>&5
14440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14441 (exit $ac_status); } &&
14442 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14444 (eval $ac_try) 2>&5
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; } &&
14448 { ac_try
='test -s conftest$ac_exeext'
14449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14450 (eval $ac_try) 2>&5
14452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14453 (exit $ac_status); }; }; then
14454 ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
14455 if test "x$ac_cv_lib_soname_Xext" = "x"
14457 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14460 echo "$as_me: failed program was:" >&5
14461 sed 's/^/| /' conftest.
$ac_ext >&5
14463 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
14465 rm -f conftest.err conftest.
$ac_objext \
14466 conftest
$ac_exeext conftest.
$ac_ext
14467 LIBS
=$ac_get_soname_save_LIBS
14469 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14470 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14471 if test "x$ac_cv_lib_soname_Xext" != xNONE
14473 cat >>confdefs.h
<<_ACEOF
14474 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14478 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14479 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14480 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14481 echo $ECHO_N "(cached) $ECHO_C" >&6
14483 ac_get_soname_save_LIBS
=$LIBS
14484 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14485 cat >conftest.
$ac_ext <<_ACEOF
14488 cat confdefs.h
>>conftest.
$ac_ext
14489 cat >>conftest.
$ac_ext <<_ACEOF
14490 /* end confdefs.h. */
14492 /* Override any gcc2 internal prototype to avoid an error. */
14496 /* We use char because int might match the return type of a gcc2
14497 builtin and then its argument prototype would still apply. */
14498 char XOpenDevice ();
14507 rm -f conftest.
$ac_objext conftest
$ac_exeext
14508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14509 (eval $ac_link) 2>conftest.er1
14511 grep -v '^ *+' conftest.er1
>conftest.err
14513 cat conftest.err
>&5
14514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14515 (exit $ac_status); } &&
14516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14518 (eval $ac_try) 2>&5
14520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14521 (exit $ac_status); }; } &&
14522 { ac_try
='test -s conftest$ac_exeext'
14523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14524 (eval $ac_try) 2>&5
14526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14527 (exit $ac_status); }; }; then
14528 ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
14529 if test "x$ac_cv_lib_soname_Xi" = "x"
14531 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14534 echo "$as_me: failed program was:" >&5
14535 sed 's/^/| /' conftest.
$ac_ext >&5
14537 ac_cv_lib_soname_Xi
="libXi.$LIBEXT"
14539 rm -f conftest.err conftest.
$ac_objext \
14540 conftest
$ac_exeext conftest.
$ac_ext
14541 LIBS
=$ac_get_soname_save_LIBS
14543 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14544 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14545 if test "x$ac_cv_lib_soname_Xi" != xNONE
14547 cat >>confdefs.h
<<_ACEOF
14548 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14552 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14553 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14554 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14555 echo $ECHO_N "(cached) $ECHO_C" >&6
14557 ac_get_soname_save_LIBS
=$LIBS
14558 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14559 cat >conftest.
$ac_ext <<_ACEOF
14562 cat confdefs.h
>>conftest.
$ac_ext
14563 cat >>conftest.
$ac_ext <<_ACEOF
14564 /* end confdefs.h. */
14566 /* Override any gcc2 internal prototype to avoid an error. */
14570 /* We use char because int might match the return type of a gcc2
14571 builtin and then its argument prototype would still apply. */
14572 char XRenderQueryExtension ();
14576 XRenderQueryExtension ();
14581 rm -f conftest.
$ac_objext conftest
$ac_exeext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14583 (eval $ac_link) 2>conftest.er1
14585 grep -v '^ *+' conftest.er1
>conftest.err
14587 cat conftest.err
>&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try
='test -s conftest$ac_exeext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
14603 if test "x$ac_cv_lib_soname_Xrender" = "x"
14605 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14608 echo "$as_me: failed program was:" >&5
14609 sed 's/^/| /' conftest.
$ac_ext >&5
14611 ac_cv_lib_soname_Xrender
="libXrender.$LIBEXT"
14613 rm -f conftest.err conftest.
$ac_objext \
14614 conftest
$ac_exeext conftest.
$ac_ext
14615 LIBS
=$ac_get_soname_save_LIBS
14617 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14618 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14619 if test "x$ac_cv_lib_soname_Xrender" != xNONE
14621 cat >>confdefs.h
<<_ACEOF
14622 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14626 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14627 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14628 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14631 ac_get_soname_save_LIBS
=$LIBS
14632 LIBS
="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14633 cat >conftest.
$ac_ext <<_ACEOF
14636 cat confdefs.h
>>conftest.
$ac_ext
14637 cat >>conftest.
$ac_ext <<_ACEOF
14638 /* end confdefs.h. */
14640 /* Override any gcc2 internal prototype to avoid an error. */
14644 /* We use char because int might match the return type of a gcc2
14645 builtin and then its argument prototype would still apply. */
14646 char XRRQueryExtension ();
14650 XRRQueryExtension ();
14655 rm -f conftest.
$ac_objext conftest
$ac_exeext
14656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14657 (eval $ac_link) 2>conftest.er1
14659 grep -v '^ *+' conftest.er1
>conftest.err
14661 cat conftest.err
>&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } &&
14664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; } &&
14670 { ac_try
='test -s conftest$ac_exeext'
14671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14672 (eval $ac_try) 2>&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); }; }; then
14676 ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
14677 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14679 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.
$ac_ext >&5
14685 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
14687 rm -f conftest.err conftest.
$ac_objext \
14688 conftest
$ac_exeext conftest.
$ac_ext
14689 LIBS
=$ac_get_soname_save_LIBS
14691 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14692 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14693 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
14695 cat >>confdefs.h
<<_ACEOF
14696 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14700 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14701 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14702 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14703 echo $ECHO_N "(cached) $ECHO_C" >&6
14705 ac_get_soname_save_LIBS
=$LIBS
14706 LIBS
="-lfreetype $X_LIBS $LIBS"
14707 cat >conftest.
$ac_ext <<_ACEOF
14710 cat confdefs.h
>>conftest.
$ac_ext
14711 cat >>conftest.
$ac_ext <<_ACEOF
14712 /* end confdefs.h. */
14714 /* Override any gcc2 internal prototype to avoid an error. */
14718 /* We use char because int might match the return type of a gcc2
14719 builtin and then its argument prototype would still apply. */
14720 char FT_Init_FreeType ();
14724 FT_Init_FreeType ();
14729 rm -f conftest.
$ac_objext conftest
$ac_exeext
14730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14731 (eval $ac_link) 2>conftest.er1
14733 grep -v '^ *+' conftest.er1
>conftest.err
14735 cat conftest.err
>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); } &&
14738 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; } &&
14744 { ac_try
='test -s conftest$ac_exeext'
14745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14746 (eval $ac_try) 2>&5
14748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14749 (exit $ac_status); }; }; then
14750 ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
14751 if test "x$ac_cv_lib_soname_freetype" = "x"
14753 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14756 echo "$as_me: failed program was:" >&5
14757 sed 's/^/| /' conftest.
$ac_ext >&5
14759 ac_cv_lib_soname_freetype
="libfreetype.$LIBEXT"
14761 rm -f conftest.err conftest.
$ac_objext \
14762 conftest
$ac_exeext conftest.
$ac_ext
14763 LIBS
=$ac_get_soname_save_LIBS
14765 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14766 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14767 if test "x$ac_cv_lib_soname_freetype" != xNONE
14769 cat >>confdefs.h
<<_ACEOF
14770 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14774 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14775 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14776 if test "${ac_cv_lib_soname_GL+set}" = set; then
14777 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 ac_get_soname_save_LIBS
=$LIBS
14780 LIBS
="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14781 cat >conftest.
$ac_ext <<_ACEOF
14784 cat confdefs.h
>>conftest.
$ac_ext
14785 cat >>conftest.
$ac_ext <<_ACEOF
14786 /* end confdefs.h. */
14788 /* Override any gcc2 internal prototype to avoid an error. */
14792 /* We use char because int might match the return type of a gcc2
14793 builtin and then its argument prototype would still apply. */
14794 char glXQueryExtension ();
14798 glXQueryExtension ();
14803 rm -f conftest.
$ac_objext conftest
$ac_exeext
14804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14805 (eval $ac_link) 2>conftest.er1
14807 grep -v '^ *+' conftest.er1
>conftest.err
14809 cat conftest.err
>&5
14810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14811 (exit $ac_status); } &&
14812 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14814 (eval $ac_try) 2>&5
14816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14817 (exit $ac_status); }; } &&
14818 { ac_try
='test -s conftest$ac_exeext'
14819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14820 (eval $ac_try) 2>&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); }; }; then
14824 ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
14825 if test "x$ac_cv_lib_soname_GL" = "x"
14827 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14830 echo "$as_me: failed program was:" >&5
14831 sed 's/^/| /' conftest.
$ac_ext >&5
14833 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
14835 rm -f conftest.err conftest.
$ac_objext \
14836 conftest
$ac_exeext conftest.
$ac_ext
14837 LIBS
=$ac_get_soname_save_LIBS
14839 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
14840 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
14841 if test "x$ac_cv_lib_soname_GL" != xNONE
14843 cat >>confdefs.h
<<_ACEOF
14844 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
14848 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
14849 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
14850 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
14851 echo $ECHO_N "(cached) $ECHO_C" >&6
14853 ac_get_soname_save_LIBS
=$LIBS
14854 LIBS
="-ltxc_dxtn $LIBS"
14855 cat >conftest.
$ac_ext <<_ACEOF
14858 cat confdefs.h
>>conftest.
$ac_ext
14859 cat >>conftest.
$ac_ext <<_ACEOF
14860 /* end confdefs.h. */
14862 /* Override any gcc2 internal prototype to avoid an error. */
14866 /* We use char because int might match the return type of a gcc2
14867 builtin and then its argument prototype would still apply. */
14868 char fetch_2d_texel_rgba_dxt1 ();
14872 fetch_2d_texel_rgba_dxt1 ();
14877 rm -f conftest.
$ac_objext conftest
$ac_exeext
14878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14879 (eval $ac_link) 2>conftest.er1
14881 grep -v '^ *+' conftest.er1
>conftest.err
14883 cat conftest.err
>&5
14884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14885 (exit $ac_status); } &&
14886 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14888 (eval $ac_try) 2>&5
14890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14891 (exit $ac_status); }; } &&
14892 { ac_try
='test -s conftest$ac_exeext'
14893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14894 (eval $ac_try) 2>&5
14896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14897 (exit $ac_status); }; }; then
14898 ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
14899 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
14901 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14904 echo "$as_me: failed program was:" >&5
14905 sed 's/^/| /' conftest.
$ac_ext >&5
14907 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
14909 rm -f conftest.err conftest.
$ac_objext \
14910 conftest
$ac_exeext conftest.
$ac_ext
14911 LIBS
=$ac_get_soname_save_LIBS
14913 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
14914 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
14915 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
14917 cat >>confdefs.h
<<_ACEOF
14918 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
14922 echo "$as_me:$LINENO: checking for -lcups soname" >&5
14923 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
14924 if test "${ac_cv_lib_soname_cups+set}" = set; then
14925 echo $ECHO_N "(cached) $ECHO_C" >&6
14927 ac_get_soname_save_LIBS
=$LIBS
14928 LIBS
="-lcups $LIBS"
14929 cat >conftest.
$ac_ext <<_ACEOF
14932 cat confdefs.h
>>conftest.
$ac_ext
14933 cat >>conftest.
$ac_ext <<_ACEOF
14934 /* end confdefs.h. */
14936 /* Override any gcc2 internal prototype to avoid an error. */
14940 /* We use char because int might match the return type of a gcc2
14941 builtin and then its argument prototype would still apply. */
14942 char cupsGetDefault ();
14951 rm -f conftest.
$ac_objext conftest
$ac_exeext
14952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14953 (eval $ac_link) 2>conftest.er1
14955 grep -v '^ *+' conftest.er1
>conftest.err
14957 cat conftest.err
>&5
14958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14959 (exit $ac_status); } &&
14960 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14962 (eval $ac_try) 2>&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); }; } &&
14966 { ac_try
='test -s conftest$ac_exeext'
14967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14968 (eval $ac_try) 2>&5
14970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14971 (exit $ac_status); }; }; then
14972 ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
14973 if test "x$ac_cv_lib_soname_cups" = "x"
14975 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14978 echo "$as_me: failed program was:" >&5
14979 sed 's/^/| /' conftest.
$ac_ext >&5
14981 ac_cv_lib_soname_cups
="libcups.$LIBEXT"
14983 rm -f conftest.err conftest.
$ac_objext \
14984 conftest
$ac_exeext conftest.
$ac_ext
14985 LIBS
=$ac_get_soname_save_LIBS
14987 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
14988 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
14989 if test "x$ac_cv_lib_soname_cups" != xNONE
14991 cat >>confdefs.h
<<_ACEOF
14992 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
14996 echo "$as_me:$LINENO: checking for -ljack soname" >&5
14997 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
14998 if test "${ac_cv_lib_soname_jack+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15001 ac_get_soname_save_LIBS
=$LIBS
15002 LIBS
="-ljack $LIBS"
15003 cat >conftest.
$ac_ext <<_ACEOF
15006 cat confdefs.h
>>conftest.
$ac_ext
15007 cat >>conftest.
$ac_ext <<_ACEOF
15008 /* end confdefs.h. */
15010 /* Override any gcc2 internal prototype to avoid an error. */
15014 /* We use char because int might match the return type of a gcc2
15015 builtin and then its argument prototype would still apply. */
15016 char jack_client_new ();
15020 jack_client_new ();
15025 rm -f conftest.
$ac_objext conftest
$ac_exeext
15026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15027 (eval $ac_link) 2>conftest.er1
15029 grep -v '^ *+' conftest.er1
>conftest.err
15031 cat conftest.err
>&5
15032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } &&
15034 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15036 (eval $ac_try) 2>&5
15038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15039 (exit $ac_status); }; } &&
15040 { ac_try
='test -s conftest$ac_exeext'
15041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15042 (eval $ac_try) 2>&5
15044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15045 (exit $ac_status); }; }; then
15046 ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
15047 if test "x$ac_cv_lib_soname_jack" = "x"
15049 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15052 echo "$as_me: failed program was:" >&5
15053 sed 's/^/| /' conftest.
$ac_ext >&5
15055 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
15057 rm -f conftest.err conftest.
$ac_objext \
15058 conftest
$ac_exeext conftest.
$ac_ext
15059 LIBS
=$ac_get_soname_save_LIBS
15061 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15062 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15063 if test "x$ac_cv_lib_soname_jack" != xNONE
15065 cat >>confdefs.h
<<_ACEOF
15066 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15070 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15071 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15072 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15073 echo $ECHO_N "(cached) $ECHO_C" >&6
15075 ac_get_soname_save_LIBS
=$LIBS
15076 LIBS
="-lfontconfig $LIBS"
15077 cat >conftest.
$ac_ext <<_ACEOF
15080 cat confdefs.h
>>conftest.
$ac_ext
15081 cat >>conftest.
$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15084 /* Override any gcc2 internal prototype to avoid an error. */
15088 /* We use char because int might match the return type of a gcc2
15089 builtin and then its argument prototype would still apply. */
15099 rm -f conftest.
$ac_objext conftest
$ac_exeext
15100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15101 (eval $ac_link) 2>conftest.er1
15103 grep -v '^ *+' conftest.er1
>conftest.err
15105 cat conftest.err
>&5
15106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15107 (exit $ac_status); } &&
15108 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15110 (eval $ac_try) 2>&5
15112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15113 (exit $ac_status); }; } &&
15114 { ac_try
='test -s conftest$ac_exeext'
15115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15116 (eval $ac_try) 2>&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); }; }; then
15120 ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
15121 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15123 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15126 echo "$as_me: failed program was:" >&5
15127 sed 's/^/| /' conftest.
$ac_ext >&5
15129 ac_cv_lib_soname_fontconfig
="libfontconfig.$LIBEXT"
15131 rm -f conftest.err conftest.
$ac_objext \
15132 conftest
$ac_exeext conftest.
$ac_ext
15133 LIBS
=$ac_get_soname_save_LIBS
15135 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15136 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15137 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
15139 cat >>confdefs.h
<<_ACEOF
15140 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15144 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15145 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15146 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15147 echo $ECHO_N "(cached) $ECHO_C" >&6
15149 ac_get_soname_save_LIBS
=$LIBS
15151 cat >conftest.
$ac_ext <<_ACEOF
15154 cat confdefs.h
>>conftest.
$ac_ext
15155 cat >>conftest.
$ac_ext <<_ACEOF
15156 /* end confdefs.h. */
15158 /* Override any gcc2 internal prototype to avoid an error. */
15162 /* We use char because int might match the return type of a gcc2
15163 builtin and then its argument prototype would still apply. */
15164 char SSL_library_init ();
15168 SSL_library_init ();
15173 rm -f conftest.
$ac_objext conftest
$ac_exeext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15175 (eval $ac_link) 2>conftest.er1
15177 grep -v '^ *+' conftest.er1
>conftest.err
15179 cat conftest.err
>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15184 (eval $ac_try) 2>&5
15186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15187 (exit $ac_status); }; } &&
15188 { ac_try
='test -s conftest$ac_exeext'
15189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15190 (eval $ac_try) 2>&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); }; }; then
15194 ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
15195 if test "x$ac_cv_lib_soname_ssl" = "x"
15197 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15200 echo "$as_me: failed program was:" >&5
15201 sed 's/^/| /' conftest.
$ac_ext >&5
15203 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
15205 rm -f conftest.err conftest.
$ac_objext \
15206 conftest
$ac_exeext conftest.
$ac_ext
15207 LIBS
=$ac_get_soname_save_LIBS
15209 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15210 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15211 if test "x$ac_cv_lib_soname_ssl" != xNONE
15213 cat >>confdefs.h
<<_ACEOF
15214 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15218 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15219 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15220 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15223 ac_get_soname_save_LIBS
=$LIBS
15224 LIBS
="-lcrypto $LIBS"
15225 cat >conftest.
$ac_ext <<_ACEOF
15228 cat confdefs.h
>>conftest.
$ac_ext
15229 cat >>conftest.
$ac_ext <<_ACEOF
15230 /* end confdefs.h. */
15232 /* Override any gcc2 internal prototype to avoid an error. */
15236 /* We use char because int might match the return type of a gcc2
15237 builtin and then its argument prototype would still apply. */
15238 char BIO_new_socket ();
15247 rm -f conftest.
$ac_objext conftest
$ac_exeext
15248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15249 (eval $ac_link) 2>conftest.er1
15251 grep -v '^ *+' conftest.er1
>conftest.err
15253 cat conftest.err
>&5
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } &&
15256 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; } &&
15262 { ac_try
='test -s conftest$ac_exeext'
15263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15264 (eval $ac_try) 2>&5
15266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15267 (exit $ac_status); }; }; then
15268 ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
15269 if test "x$ac_cv_lib_soname_crypto" = "x"
15271 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15274 echo "$as_me: failed program was:" >&5
15275 sed 's/^/| /' conftest.
$ac_ext >&5
15277 ac_cv_lib_soname_crypto
="libcrypto.$LIBEXT"
15279 rm -f conftest.err conftest.
$ac_objext \
15280 conftest
$ac_exeext conftest.
$ac_ext
15281 LIBS
=$ac_get_soname_save_LIBS
15283 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15284 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15285 if test "x$ac_cv_lib_soname_crypto" != xNONE
15287 cat >>confdefs.h
<<_ACEOF
15288 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15292 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15293 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15294 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15295 echo $ECHO_N "(cached) $ECHO_C" >&6
15297 ac_get_soname_save_LIBS
=$LIBS
15298 LIBS
="-lncurses $LIBS"
15299 cat >conftest.
$ac_ext <<_ACEOF
15302 cat confdefs.h
>>conftest.
$ac_ext
15303 cat >>conftest.
$ac_ext <<_ACEOF
15304 /* end confdefs.h. */
15306 /* Override any gcc2 internal prototype to avoid an error. */
15310 /* We use char because int might match the return type of a gcc2
15311 builtin and then its argument prototype would still apply. */
15321 rm -f conftest.
$ac_objext conftest
$ac_exeext
15322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15323 (eval $ac_link) 2>conftest.er1
15325 grep -v '^ *+' conftest.er1
>conftest.err
15327 cat conftest.err
>&5
15328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15329 (exit $ac_status); } &&
15330 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try
='test -s conftest$ac_exeext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15342 ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
15343 if test "x$ac_cv_lib_soname_ncurses" = "x"
15345 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15348 echo "$as_me: failed program was:" >&5
15349 sed 's/^/| /' conftest.
$ac_ext >&5
15351 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
15353 rm -f conftest.err conftest.
$ac_objext \
15354 conftest
$ac_exeext conftest.
$ac_ext
15355 LIBS
=$ac_get_soname_save_LIBS
15357 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15358 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15359 if test "x$ac_cv_lib_soname_ncurses" != xNONE
15361 cat >>confdefs.h
<<_ACEOF
15362 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15366 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15367 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15368 if test "${ac_cv_lib_soname_curses+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15371 ac_get_soname_save_LIBS
=$LIBS
15372 LIBS
="-lcurses $LIBS"
15373 cat >conftest.
$ac_ext <<_ACEOF
15376 cat confdefs.h
>>conftest.
$ac_ext
15377 cat >>conftest.
$ac_ext <<_ACEOF
15378 /* end confdefs.h. */
15380 /* Override any gcc2 internal prototype to avoid an error. */
15384 /* We use char because int might match the return type of a gcc2
15385 builtin and then its argument prototype would still apply. */
15395 rm -f conftest.
$ac_objext conftest
$ac_exeext
15396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15397 (eval $ac_link) 2>conftest.er1
15399 grep -v '^ *+' conftest.er1
>conftest.err
15401 cat conftest.err
>&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } &&
15404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15406 (eval $ac_try) 2>&5
15408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); }; } &&
15410 { ac_try
='test -s conftest$ac_exeext'
15411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15412 (eval $ac_try) 2>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; }; then
15416 ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
15417 if test "x$ac_cv_lib_soname_curses" = "x"
15419 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15422 echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.
$ac_ext >&5
15425 ac_cv_lib_soname_curses
="libcurses.$LIBEXT"
15427 rm -f conftest.err conftest.
$ac_objext \
15428 conftest
$ac_exeext conftest.
$ac_ext
15429 LIBS
=$ac_get_soname_save_LIBS
15431 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15432 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15433 if test "x$ac_cv_lib_soname_curses" != xNONE
15435 cat >>confdefs.h
<<_ACEOF
15436 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15440 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15441 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15442 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15443 echo $ECHO_N "(cached) $ECHO_C" >&6
15445 ac_get_soname_save_LIBS
=$LIBS
15446 LIBS
="-ljpeg $LIBS"
15447 cat >conftest.
$ac_ext <<_ACEOF
15450 cat confdefs.h
>>conftest.
$ac_ext
15451 cat >>conftest.
$ac_ext <<_ACEOF
15452 /* end confdefs.h. */
15454 /* Override any gcc2 internal prototype to avoid an error. */
15458 /* We use char because int might match the return type of a gcc2
15459 builtin and then its argument prototype would still apply. */
15460 char jpeg_start_decompress ();
15464 jpeg_start_decompress ();
15469 rm -f conftest.
$ac_objext conftest
$ac_exeext
15470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15471 (eval $ac_link) 2>conftest.er1
15473 grep -v '^ *+' conftest.er1
>conftest.err
15475 cat conftest.err
>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } &&
15478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15480 (eval $ac_try) 2>&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); }; } &&
15484 { ac_try
='test -s conftest$ac_exeext'
15485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15486 (eval $ac_try) 2>&5
15488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15489 (exit $ac_status); }; }; then
15490 ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
15491 if test "x$ac_cv_lib_soname_jpeg" = "x"
15493 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15496 echo "$as_me: failed program was:" >&5
15497 sed 's/^/| /' conftest.
$ac_ext >&5
15499 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
15501 rm -f conftest.err conftest.
$ac_objext \
15502 conftest
$ac_exeext conftest.
$ac_ext
15503 LIBS
=$ac_get_soname_save_LIBS
15505 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15506 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15507 if test "x$ac_cv_lib_soname_jpeg" != xNONE
15509 cat >>confdefs.h
<<_ACEOF
15510 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15514 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15515 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15516 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15517 echo $ECHO_N "(cached) $ECHO_C" >&6
15519 ac_get_soname_save_LIBS
=$LIBS
15520 LIBS
="-lungif $LIBS"
15521 cat >conftest.
$ac_ext <<_ACEOF
15524 cat confdefs.h
>>conftest.
$ac_ext
15525 cat >>conftest.
$ac_ext <<_ACEOF
15526 /* end confdefs.h. */
15528 /* Override any gcc2 internal prototype to avoid an error. */
15532 /* We use char because int might match the return type of a gcc2
15533 builtin and then its argument prototype would still apply. */
15543 rm -f conftest.
$ac_objext conftest
$ac_exeext
15544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15545 (eval $ac_link) 2>conftest.er1
15547 grep -v '^ *+' conftest.er1
>conftest.err
15549 cat conftest.err
>&5
15550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15551 (exit $ac_status); } &&
15552 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15554 (eval $ac_try) 2>&5
15556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15557 (exit $ac_status); }; } &&
15558 { ac_try
='test -s conftest$ac_exeext'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; }; then
15564 ac_cv_lib_soname_ungif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
15565 if test "x$ac_cv_lib_soname_ungif" = "x"
15567 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15570 echo "$as_me: failed program was:" >&5
15571 sed 's/^/| /' conftest.
$ac_ext >&5
15573 ac_cv_lib_soname_ungif
="libungif.$LIBEXT"
15575 rm -f conftest.err conftest.
$ac_objext \
15576 conftest
$ac_exeext conftest.
$ac_ext
15577 LIBS
=$ac_get_soname_save_LIBS
15579 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15580 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15581 if test "x$ac_cv_lib_soname_ungif" != xNONE
15583 cat >>confdefs.h
<<_ACEOF
15584 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15588 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15589 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15590 if test "${ac_cv_lib_soname_gif+set}" = set; then
15591 echo $ECHO_N "(cached) $ECHO_C" >&6
15593 ac_get_soname_save_LIBS
=$LIBS
15595 cat >conftest.
$ac_ext <<_ACEOF
15598 cat confdefs.h
>>conftest.
$ac_ext
15599 cat >>conftest.
$ac_ext <<_ACEOF
15600 /* end confdefs.h. */
15602 /* Override any gcc2 internal prototype to avoid an error. */
15606 /* We use char because int might match the return type of a gcc2
15607 builtin and then its argument prototype would still apply. */
15617 rm -f conftest.
$ac_objext conftest
$ac_exeext
15618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15619 (eval $ac_link) 2>conftest.er1
15621 grep -v '^ *+' conftest.er1
>conftest.err
15623 cat conftest.err
>&5
15624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15625 (exit $ac_status); } &&
15626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15628 (eval $ac_try) 2>&5
15630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15631 (exit $ac_status); }; } &&
15632 { ac_try
='test -s conftest$ac_exeext'
15633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15634 (eval $ac_try) 2>&5
15636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15637 (exit $ac_status); }; }; then
15638 ac_cv_lib_soname_gif
=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
15639 if test "x$ac_cv_lib_soname_gif" = "x"
15641 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15644 echo "$as_me: failed program was:" >&5
15645 sed 's/^/| /' conftest.
$ac_ext >&5
15647 ac_cv_lib_soname_gif
="libgif.$LIBEXT"
15649 rm -f conftest.err conftest.
$ac_objext \
15650 conftest
$ac_exeext conftest.
$ac_ext
15651 LIBS
=$ac_get_soname_save_LIBS
15653 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15654 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15655 if test "x$ac_cv_lib_soname_gif" != xNONE
15657 cat >>confdefs.h
<<_ACEOF
15658 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15662 echo "$as_me:$LINENO: checking for -llcms soname" >&5
15663 echo $ECHO_N "checking for -llcms soname... $ECHO_C" >&6
15664 if test "${ac_cv_lib_soname_lcms+set}" = set; then
15665 echo $ECHO_N "(cached) $ECHO_C" >&6
15667 ac_get_soname_save_LIBS
=$LIBS
15668 LIBS
="-llcms $LIBS"
15669 cat >conftest.
$ac_ext <<_ACEOF
15672 cat confdefs.h
>>conftest.
$ac_ext
15673 cat >>conftest.
$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15676 /* Override any gcc2 internal prototype to avoid an error. */
15680 /* We use char because int might match the return type of a gcc2
15681 builtin and then its argument prototype would still apply. */
15682 char cmsOpenProfileFromFile ();
15686 cmsOpenProfileFromFile ();
15691 rm -f conftest.
$ac_objext conftest
$ac_exeext
15692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15693 (eval $ac_link) 2>conftest.er1
15695 grep -v '^ *+' conftest.er1
>conftest.err
15697 cat conftest.err
>&5
15698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15699 (exit $ac_status); } &&
15700 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15702 (eval $ac_try) 2>&5
15704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15705 (exit $ac_status); }; } &&
15706 { ac_try
='test -s conftest$ac_exeext'
15707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15708 (eval $ac_try) 2>&5
15710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15711 (exit $ac_status); }; }; then
15712 ac_cv_lib_soname_lcms
=`$ac_cv_path_LDD conftest$ac_exeext | grep liblcms\\.$LIBEXT | sed "s/^.*\(liblcms\.$LIBEXT[^ ]*\).*$/\1/"`
15713 if test "x$ac_cv_lib_soname_lcms" = "x"
15715 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15718 echo "$as_me: failed program was:" >&5
15719 sed 's/^/| /' conftest.
$ac_ext >&5
15721 ac_cv_lib_soname_lcms
="liblcms.$LIBEXT"
15723 rm -f conftest.err conftest.
$ac_objext \
15724 conftest
$ac_exeext conftest.
$ac_ext
15725 LIBS
=$ac_get_soname_save_LIBS
15727 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_lcms" >&5
15728 echo "${ECHO_T}$ac_cv_lib_soname_lcms" >&6
15729 if test "x$ac_cv_lib_soname_lcms" != xNONE
15731 cat >>confdefs.h
<<_ACEOF
15732 #define SONAME_LIBLCMS "$ac_cv_lib_soname_lcms"
15739 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
15740 # for constant arguments. Useless!
15741 echo "$as_me:$LINENO: checking for working alloca.h" >&5
15742 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
15743 if test "${ac_cv_working_alloca_h+set}" = set; then
15744 echo $ECHO_N "(cached) $ECHO_C" >&6
15746 cat >conftest.
$ac_ext <<_ACEOF
15749 cat confdefs.h
>>conftest.
$ac_ext
15750 cat >>conftest.
$ac_ext <<_ACEOF
15751 /* end confdefs.h. */
15752 #include <alloca.h>
15756 char *p = (char *) alloca (2 * sizeof (int));
15761 rm -f conftest.
$ac_objext conftest
$ac_exeext
15762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15763 (eval $ac_link) 2>conftest.er1
15765 grep -v '^ *+' conftest.er1
>conftest.err
15767 cat conftest.err
>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; } &&
15776 { ac_try
='test -s conftest$ac_exeext'
15777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15778 (eval $ac_try) 2>&5
15780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15781 (exit $ac_status); }; }; then
15782 ac_cv_working_alloca_h
=yes
15784 echo "$as_me: failed program was:" >&5
15785 sed 's/^/| /' conftest.
$ac_ext >&5
15787 ac_cv_working_alloca_h
=no
15789 rm -f conftest.err conftest.
$ac_objext \
15790 conftest
$ac_exeext conftest.
$ac_ext
15792 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
15793 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
15794 if test $ac_cv_working_alloca_h = yes; then
15796 cat >>confdefs.h
<<\_ACEOF
15797 #define HAVE_ALLOCA_H 1
15802 echo "$as_me:$LINENO: checking for alloca" >&5
15803 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
15804 if test "${ac_cv_func_alloca_works+set}" = set; then
15805 echo $ECHO_N "(cached) $ECHO_C" >&6
15807 cat >conftest.
$ac_ext <<_ACEOF
15810 cat confdefs.h
>>conftest.
$ac_ext
15811 cat >>conftest.
$ac_ext <<_ACEOF
15812 /* end confdefs.h. */
15814 # define alloca __builtin_alloca
15817 # include <malloc.h>
15818 # define alloca _alloca
15821 # include <alloca.h>
15826 # ifndef alloca /* predefined by HP cc +Olibcalls */
15837 char *p = (char *) alloca (1);
15842 rm -f conftest.
$ac_objext conftest
$ac_exeext
15843 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15844 (eval $ac_link) 2>conftest.er1
15846 grep -v '^ *+' conftest.er1
>conftest.err
15848 cat conftest.err
>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); } &&
15851 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15853 (eval $ac_try) 2>&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); }; } &&
15857 { ac_try
='test -s conftest$ac_exeext'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; }; then
15863 ac_cv_func_alloca_works
=yes
15865 echo "$as_me: failed program was:" >&5
15866 sed 's/^/| /' conftest.
$ac_ext >&5
15868 ac_cv_func_alloca_works
=no
15870 rm -f conftest.err conftest.
$ac_objext \
15871 conftest
$ac_exeext conftest.
$ac_ext
15873 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
15874 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
15876 if test $ac_cv_func_alloca_works = yes; then
15878 cat >>confdefs.h
<<\_ACEOF
15879 #define HAVE_ALLOCA 1
15883 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
15884 # that cause trouble. Some versions do not even contain alloca or
15885 # contain a buggy version. If you still want to use their alloca,
15886 # use ar to extract alloca.o from them instead of compiling alloca.c.
15888 ALLOCA
=alloca.
$ac_objext
15890 cat >>confdefs.h
<<\_ACEOF
15895 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
15896 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
15897 if test "${ac_cv_os_cray+set}" = set; then
15898 echo $ECHO_N "(cached) $ECHO_C" >&6
15900 cat >conftest.
$ac_ext <<_ACEOF
15903 cat confdefs.h
>>conftest.
$ac_ext
15904 cat >>conftest.
$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15906 #if defined(CRAY) && ! defined(CRAY2)
15913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15914 $EGREP "webecray" >/dev
/null
2>&1; then
15922 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
15923 echo "${ECHO_T}$ac_cv_os_cray" >&6
15924 if test $ac_cv_os_cray = yes; then
15925 for ac_func
in _getb67 GETB67 getb67
; do
15926 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15927 echo "$as_me:$LINENO: checking for $ac_func" >&5
15928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15929 if eval "test \"\${$as_ac_var+set}\" = set"; then
15930 echo $ECHO_N "(cached) $ECHO_C" >&6
15932 cat >conftest.
$ac_ext <<_ACEOF
15935 cat confdefs.h
>>conftest.
$ac_ext
15936 cat >>conftest.
$ac_ext <<_ACEOF
15937 /* end confdefs.h. */
15938 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15940 #define $ac_func innocuous_$ac_func
15942 /* System header to define __stub macros and hopefully few prototypes,
15943 which can conflict with char $ac_func (); below.
15944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15945 <limits.h> exists even on freestanding compilers. */
15948 # include <limits.h>
15950 # include <assert.h>
15955 /* Override any gcc2 internal prototype to avoid an error. */
15960 /* We use char because int might match the return type of a gcc2
15961 builtin and then its argument prototype would still apply. */
15963 /* The GNU C library defines this for functions which it implements
15964 to always fail with ENOSYS. Some functions are actually named
15965 something starting with __ and the normal name is an alias. */
15966 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15969 char (*f) () = $ac_func;
15978 return f != $ac_func;
15983 rm -f conftest.
$ac_objext conftest
$ac_exeext
15984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15985 (eval $ac_link) 2>conftest.er1
15987 grep -v '^ *+' conftest.er1
>conftest.err
15989 cat conftest.err
>&5
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); } &&
15992 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; } &&
15998 { ac_try
='test -s conftest$ac_exeext'
15999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16000 (eval $ac_try) 2>&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); }; }; then
16004 eval "$as_ac_var=yes"
16006 echo "$as_me: failed program was:" >&5
16007 sed 's/^/| /' conftest.
$ac_ext >&5
16009 eval "$as_ac_var=no"
16011 rm -f conftest.err conftest.
$ac_objext \
16012 conftest
$ac_exeext conftest.
$ac_ext
16014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16016 if test `eval echo '${'$as_ac_var'}'` = yes; then
16018 cat >>confdefs.h
<<_ACEOF
16019 #define CRAY_STACKSEG_END $ac_func
16028 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
16029 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
16030 if test "${ac_cv_c_stack_direction+set}" = set; then
16031 echo $ECHO_N "(cached) $ECHO_C" >&6
16033 if test "$cross_compiling" = yes; then
16034 ac_cv_c_stack_direction
=0
16036 cat >conftest.
$ac_ext <<_ACEOF
16039 cat confdefs.h
>>conftest.
$ac_ext
16040 cat >>conftest.
$ac_ext <<_ACEOF
16041 /* end confdefs.h. */
16043 find_stack_direction ()
16045 static char *addr = 0;
16050 return find_stack_direction ();
16053 return (&dummy > addr) ? 1 : -1;
16059 exit (find_stack_direction () < 0);
16062 rm -f conftest
$ac_exeext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16064 (eval $ac_link) 2>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
16068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16069 (eval $ac_try) 2>&5
16071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16072 (exit $ac_status); }; }; then
16073 ac_cv_c_stack_direction
=1
16075 echo "$as_me: program exited with status $ac_status" >&5
16076 echo "$as_me: failed program was:" >&5
16077 sed 's/^/| /' conftest.
$ac_ext >&5
16079 ( exit $ac_status )
16080 ac_cv_c_stack_direction
=-1
16082 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
16085 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
16086 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
16088 cat >>confdefs.h
<<_ACEOF
16089 #define STACK_DIRECTION $ac_cv_c_stack_direction
16220 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16221 echo "$as_me:$LINENO: checking for $ac_func" >&5
16222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16223 if eval "test \"\${$as_ac_var+set}\" = set"; then
16224 echo $ECHO_N "(cached) $ECHO_C" >&6
16226 cat >conftest.
$ac_ext <<_ACEOF
16229 cat confdefs.h
>>conftest.
$ac_ext
16230 cat >>conftest.
$ac_ext <<_ACEOF
16231 /* end confdefs.h. */
16232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16234 #define $ac_func innocuous_$ac_func
16236 /* System header to define __stub macros and hopefully few prototypes,
16237 which can conflict with char $ac_func (); below.
16238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16239 <limits.h> exists even on freestanding compilers. */
16242 # include <limits.h>
16244 # include <assert.h>
16249 /* Override any gcc2 internal prototype to avoid an error. */
16254 /* We use char because int might match the return type of a gcc2
16255 builtin and then its argument prototype would still apply. */
16257 /* The GNU C library defines this for functions which it implements
16258 to always fail with ENOSYS. Some functions are actually named
16259 something starting with __ and the normal name is an alias. */
16260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16263 char (*f) () = $ac_func;
16272 return f != $ac_func;
16277 rm -f conftest.
$ac_objext conftest
$ac_exeext
16278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16279 (eval $ac_link) 2>conftest.er1
16281 grep -v '^ *+' conftest.er1
>conftest.err
16283 cat conftest.err
>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } &&
16286 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16288 (eval $ac_try) 2>&5
16290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16291 (exit $ac_status); }; } &&
16292 { ac_try
='test -s conftest$ac_exeext'
16293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16294 (eval $ac_try) 2>&5
16296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16297 (exit $ac_status); }; }; then
16298 eval "$as_ac_var=yes"
16300 echo "$as_me: failed program was:" >&5
16301 sed 's/^/| /' conftest.
$ac_ext >&5
16303 eval "$as_ac_var=no"
16305 rm -f conftest.err conftest.
$ac_objext \
16306 conftest
$ac_exeext conftest.
$ac_ext
16308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16310 if test `eval echo '${'$as_ac_var'}'` = yes; then
16311 cat >>confdefs.h
<<_ACEOF
16312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16417 fontconfig
/fontconfig.h \
16442 netinet
/in_systm.h \
16444 netinet
/tcp_fsm.h \
16454 scsi
/scsi_ioctl.h \
16500 valgrind
/memcheck.h
16503 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16505 echo "$as_me:$LINENO: checking for $ac_header" >&5
16506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16508 echo $ECHO_N "(cached) $ECHO_C" >&6
16510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16513 # Is the header compilable?
16514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16516 cat >conftest.
$ac_ext <<_ACEOF
16519 cat confdefs.h
>>conftest.
$ac_ext
16520 cat >>conftest.
$ac_ext <<_ACEOF
16521 /* end confdefs.h. */
16522 $ac_includes_default
16523 #include <$ac_header>
16525 rm -f conftest.
$ac_objext
16526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16527 (eval $ac_compile) 2>conftest.er1
16529 grep -v '^ *+' conftest.er1
>conftest.err
16531 cat conftest.err
>&5
16532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16533 (exit $ac_status); } &&
16534 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16536 (eval $ac_try) 2>&5
16538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16539 (exit $ac_status); }; } &&
16540 { ac_try
='test -s conftest.$ac_objext'
16541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16542 (eval $ac_try) 2>&5
16544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16545 (exit $ac_status); }; }; then
16546 ac_header_compiler
=yes
16548 echo "$as_me: failed program was:" >&5
16549 sed 's/^/| /' conftest.
$ac_ext >&5
16551 ac_header_compiler
=no
16553 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16554 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16555 echo "${ECHO_T}$ac_header_compiler" >&6
16557 # Is the header present?
16558 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16559 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16560 cat >conftest.
$ac_ext <<_ACEOF
16563 cat confdefs.h
>>conftest.
$ac_ext
16564 cat >>conftest.
$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 #include <$ac_header>
16568 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16569 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
16571 grep -v '^ *+' conftest.er1
>conftest.err
16573 cat conftest.err
>&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } >/dev
/null
; then
16576 if test -s conftest.err
; then
16577 ac_cpp_err
=$ac_c_preproc_warn_flag
16578 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
16585 if test -z "$ac_cpp_err"; then
16586 ac_header_preproc
=yes
16588 echo "$as_me: failed program was:" >&5
16589 sed 's/^/| /' conftest.
$ac_ext >&5
16591 ac_header_preproc
=no
16593 rm -f conftest.err conftest.
$ac_ext
16594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16595 echo "${ECHO_T}$ac_header_preproc" >&6
16597 # So? What about this header?
16598 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16603 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16604 ac_header_preproc
=yes
16607 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16608 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16609 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16610 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16611 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16612 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16613 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16614 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16616 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16617 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16618 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16621 ## ------------------------------------ ##
16622 ## Report this to wine-devel@winehq.org ##
16623 ## ------------------------------------ ##
16626 sed "s/^/$as_me: WARNING: /" >&2
16629 echo "$as_me:$LINENO: checking for $ac_header" >&5
16630 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16631 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16632 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 eval "$as_ac_Header=\$ac_header_preproc"
16636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16637 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16640 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16641 cat >>confdefs.h
<<_ACEOF
16642 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16649 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
16650 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
16651 if test "${ac_cv_header_stat_broken+set}" = set; then
16652 echo $ECHO_N "(cached) $ECHO_C" >&6
16654 cat >conftest.
$ac_ext <<_ACEOF
16657 cat confdefs.h
>>conftest.
$ac_ext
16658 cat >>conftest.
$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16660 #include <sys/types.h>
16661 #include <sys/stat.h>
16663 #if defined(S_ISBLK) && defined(S_IFDIR)
16664 # if S_ISBLK (S_IFDIR)
16669 #if defined(S_ISBLK) && defined(S_IFCHR)
16670 # if S_ISBLK (S_IFCHR)
16675 #if defined(S_ISLNK) && defined(S_IFREG)
16676 # if S_ISLNK (S_IFREG)
16681 #if defined(S_ISSOCK) && defined(S_IFREG)
16682 # if S_ISSOCK (S_IFREG)
16688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16689 $EGREP "You lose" >/dev
/null
2>&1; then
16690 ac_cv_header_stat_broken
=yes
16692 ac_cv_header_stat_broken
=no
16697 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
16698 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
16699 if test $ac_cv_header_stat_broken = yes; then
16701 cat >>confdefs.h
<<\_ACEOF
16702 #define STAT_MACROS_BROKEN 1
16711 for ac_header
in sys
/mount.h sys
/user.h
16713 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16714 echo "$as_me:$LINENO: checking for $ac_header" >&5
16715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16717 echo $ECHO_N "(cached) $ECHO_C" >&6
16719 cat >conftest.
$ac_ext <<_ACEOF
16722 cat confdefs.h
>>conftest.
$ac_ext
16723 cat >>conftest.
$ac_ext <<_ACEOF
16724 /* end confdefs.h. */
16725 #include <sys/types.h>
16726 #if HAVE_SYS_PARAM_H
16727 # include <sys/param.h>
16730 #include <$ac_header>
16732 rm -f conftest.
$ac_objext
16733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16734 (eval $ac_compile) 2>conftest.er1
16736 grep -v '^ *+' conftest.er1
>conftest.err
16738 cat conftest.err
>&5
16739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16740 (exit $ac_status); } &&
16741 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16743 (eval $ac_try) 2>&5
16745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16746 (exit $ac_status); }; } &&
16747 { ac_try
='test -s conftest.$ac_objext'
16748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16749 (eval $ac_try) 2>&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); }; }; then
16753 eval "$as_ac_Header=yes"
16755 echo "$as_me: failed program was:" >&5
16756 sed 's/^/| /' conftest.
$ac_ext >&5
16758 eval "$as_ac_Header=no"
16760 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16763 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16764 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16765 cat >>confdefs.h
<<_ACEOF
16766 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16779 for ac_header
in net
/if.h net
/if_arp.h net
/if_dl.h net
/if_types.h net
/route.h
16781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16782 echo "$as_me:$LINENO: checking for $ac_header" >&5
16783 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16785 echo $ECHO_N "(cached) $ECHO_C" >&6
16787 cat >conftest.
$ac_ext <<_ACEOF
16790 cat confdefs.h
>>conftest.
$ac_ext
16791 cat >>conftest.
$ac_ext <<_ACEOF
16792 /* end confdefs.h. */
16793 #include <sys/types.h>
16794 #if HAVE_SYS_SOCKET_H
16795 # include <sys/socket.h>
16798 #include <$ac_header>
16800 rm -f conftest.
$ac_objext
16801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16802 (eval $ac_compile) 2>conftest.er1
16804 grep -v '^ *+' conftest.er1
>conftest.err
16806 cat conftest.err
>&5
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); } &&
16809 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16811 (eval $ac_try) 2>&5
16813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); }; } &&
16815 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
16821 eval "$as_ac_Header=yes"
16823 echo "$as_me: failed program was:" >&5
16824 sed 's/^/| /' conftest.
$ac_ext >&5
16826 eval "$as_ac_Header=no"
16828 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16832 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16833 cat >>confdefs.h
<<_ACEOF
16834 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16843 for ac_header
in resolv.h
16845 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16846 echo "$as_me:$LINENO: checking for $ac_header" >&5
16847 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16848 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16849 echo $ECHO_N "(cached) $ECHO_C" >&6
16851 cat >conftest.
$ac_ext <<_ACEOF
16854 cat confdefs.h
>>conftest.
$ac_ext
16855 cat >>conftest.
$ac_ext <<_ACEOF
16856 /* end confdefs.h. */
16857 #include <sys/types.h>
16858 #if HAVE_SYS_SOCKET_H
16859 # include <sys/socket.h>
16861 #if HAVE_NETINET_IN_H
16862 # include <netinet/in.h>
16864 #if HAVE_ARPA_NAMESER_H
16865 # include <arpa/nameser.h>
16868 #include <$ac_header>
16870 rm -f conftest.
$ac_objext
16871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16872 (eval $ac_compile) 2>conftest.er1
16874 grep -v '^ *+' conftest.er1
>conftest.err
16876 cat conftest.err
>&5
16877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16878 (exit $ac_status); } &&
16879 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16881 (eval $ac_try) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); }; } &&
16885 { ac_try
='test -s conftest.$ac_objext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 eval "$as_ac_Header=yes"
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.
$ac_ext >&5
16896 eval "$as_ac_Header=no"
16898 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16901 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16903 cat >>confdefs.h
<<_ACEOF
16904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16913 for ac_header
in netinet
/ip.h
16915 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16916 echo "$as_me:$LINENO: checking for $ac_header" >&5
16917 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16918 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 cat >conftest.
$ac_ext <<_ACEOF
16924 cat confdefs.h
>>conftest.
$ac_ext
16925 cat >>conftest.
$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 #include <sys/types.h>
16928 #if HAVE_SYS_SOCKET_H
16929 # include <sys/socket.h>
16931 #if HAVE_NETINET_IN_SYSTM_H
16932 # include <netinet/in_systm.h>
16935 #include <$ac_header>
16937 rm -f conftest.
$ac_objext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16939 (eval $ac_compile) 2>conftest.er1
16941 grep -v '^ *+' conftest.er1
>conftest.err
16943 cat conftest.err
>&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try
='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 eval "$as_ac_Header=yes"
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.
$ac_ext >&5
16963 eval "$as_ac_Header=no"
16965 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
16967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16969 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16970 cat >>confdefs.h
<<_ACEOF
16971 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16980 for ac_header
in ucontext.h
16982 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16983 echo "$as_me:$LINENO: checking for $ac_header" >&5
16984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16985 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16986 echo $ECHO_N "(cached) $ECHO_C" >&6
16988 cat >conftest.
$ac_ext <<_ACEOF
16991 cat confdefs.h
>>conftest.
$ac_ext
16992 cat >>conftest.
$ac_ext <<_ACEOF
16993 /* end confdefs.h. */
16994 #include <signal.h>
16996 #include <$ac_header>
16998 rm -f conftest.
$ac_objext
16999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17000 (eval $ac_compile) 2>conftest.er1
17002 grep -v '^ *+' conftest.er1
>conftest.err
17004 cat conftest.err
>&5
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); } &&
17007 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17009 (eval $ac_try) 2>&5
17011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17012 (exit $ac_status); }; } &&
17013 { ac_try
='test -s conftest.$ac_objext'
17014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17015 (eval $ac_try) 2>&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); }; }; then
17019 eval "$as_ac_Header=yes"
17021 echo "$as_me: failed program was:" >&5
17022 sed 's/^/| /' conftest.
$ac_ext >&5
17024 eval "$as_ac_Header=no"
17026 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17029 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17030 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17031 cat >>confdefs.h
<<_ACEOF
17032 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17041 echo "$as_me:$LINENO: checking for GNU style IPX support" >&5
17042 echo $ECHO_N "checking for GNU style IPX support... $ECHO_C" >&6
17043 if test "${ac_cv_c_ipx_gnu+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17046 cat >conftest.
$ac_ext <<_ACEOF
17049 cat confdefs.h
>>conftest.
$ac_ext
17050 cat >>conftest.
$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052 #include <sys/types.h>
17053 #ifdef HAVE_SYS_SOCKET_H
17054 # include <sys/socket.h>
17056 #include <netipx/ipx.h>
17060 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17065 rm -f conftest.
$ac_objext
17066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17067 (eval $ac_compile) 2>conftest.er1
17069 grep -v '^ *+' conftest.er1
>conftest.err
17071 cat conftest.err
>&5
17072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17073 (exit $ac_status); } &&
17074 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17076 (eval $ac_try) 2>&5
17078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17079 (exit $ac_status); }; } &&
17080 { ac_try
='test -s conftest.$ac_objext'
17081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17082 (eval $ac_try) 2>&5
17084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17085 (exit $ac_status); }; }; then
17086 ac_cv_c_ipx_gnu
="yes"
17088 echo "$as_me: failed program was:" >&5
17089 sed 's/^/| /' conftest.
$ac_ext >&5
17091 ac_cv_c_ipx_gnu
="no"
17093 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17096 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_gnu" >&5
17097 echo "${ECHO_T}$ac_cv_c_ipx_gnu" >&6
17098 if test "$ac_cv_c_ipx_gnu" = "yes"
17101 cat >>confdefs.h
<<\_ACEOF
17102 #define HAVE_IPX_GNU 1
17107 if test "$ac_cv_c_ipx_gnu" = "no"
17109 echo "$as_me:$LINENO: checking for linux style IPX support" >&5
17110 echo $ECHO_N "checking for linux style IPX support... $ECHO_C" >&6
17111 if test "${ac_cv_c_ipx_linux+set}" = set; then
17112 echo $ECHO_N "(cached) $ECHO_C" >&6
17114 cat >conftest.
$ac_ext <<_ACEOF
17117 cat confdefs.h
>>conftest.
$ac_ext
17118 cat >>conftest.
$ac_ext <<_ACEOF
17119 /* end confdefs.h. */
17120 #include <sys/types.h>
17121 #ifdef HAVE_SYS_SOCKET_H
17122 # include <sys/socket.h>
17124 #include <asm/types.h>
17125 #include <linux/ipx.h>
17129 ((struct sockaddr_ipx *)0)->sipx_family == AF_IPX
17134 rm -f conftest.
$ac_objext
17135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17136 (eval $ac_compile) 2>conftest.er1
17138 grep -v '^ *+' conftest.er1
>conftest.err
17140 cat conftest.err
>&5
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); } &&
17143 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; } &&
17149 { ac_try
='test -s conftest.$ac_objext'
17150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17151 (eval $ac_try) 2>&5
17153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17154 (exit $ac_status); }; }; then
17155 ac_cv_c_ipx_linux
="yes"
17157 echo "$as_me: failed program was:" >&5
17158 sed 's/^/| /' conftest.
$ac_ext >&5
17160 ac_cv_c_ipx_linux
="no"
17162 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17165 echo "$as_me:$LINENO: result: $ac_cv_c_ipx_linux" >&5
17166 echo "${ECHO_T}$ac_cv_c_ipx_linux" >&6
17167 if test "$ac_cv_c_ipx_linux" = "yes"
17170 cat >>confdefs.h
<<\_ACEOF
17171 #define HAVE_IPX_LINUX 1
17178 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17179 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17180 if test "${ac_cv_c_const+set}" = set; then
17181 echo $ECHO_N "(cached) $ECHO_C" >&6
17183 cat >conftest.
$ac_ext <<_ACEOF
17186 cat confdefs.h
>>conftest.
$ac_ext
17187 cat >>conftest.
$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17193 /* FIXME: Include the comments suggested by Paul. */
17194 #ifndef __cplusplus
17195 /* Ultrix mips cc rejects this. */
17196 typedef int charset[2];
17198 /* SunOS 4.1.1 cc rejects this. */
17199 char const *const *ccp;
17201 /* NEC SVR4.0.2 mips cc rejects this. */
17202 struct point {int x, y;};
17203 static struct point const zero = {0,0};
17204 /* AIX XL C 1.02.0.0 rejects this.
17205 It does not let you subtract one const X* pointer from another in
17206 an arm of an if-expression whose if-part is not a constant
17208 const char *g = "string";
17209 ccp = &g + (g ? g-g : 0);
17210 /* HPUX 7.0 cc rejects these. */
17213 ccp = (char const *const *) p;
17214 { /* SCO 3.2v4 cc rejects this. */
17216 char const *s = 0 ? (char *) 0 : (char const *) 0;
17220 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17221 int x[] = {25, 17};
17222 const int *foo = &x[0];
17225 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17226 typedef const int *iptr;
17230 { /* AIX XL C 1.02.0.0 rejects this saying
17231 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17232 struct s { int j; const int *ap[3]; };
17233 struct s *b; b->j = 5;
17235 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17236 const int foo = 10;
17244 rm -f conftest.
$ac_objext
17245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17246 (eval $ac_compile) 2>conftest.er1
17248 grep -v '^ *+' conftest.er1
>conftest.err
17250 cat conftest.err
>&5
17251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17252 (exit $ac_status); } &&
17253 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17255 (eval $ac_try) 2>&5
17257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17258 (exit $ac_status); }; } &&
17259 { ac_try
='test -s conftest.$ac_objext'
17260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17261 (eval $ac_try) 2>&5
17263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17264 (exit $ac_status); }; }; then
17267 echo "$as_me: failed program was:" >&5
17268 sed 's/^/| /' conftest.
$ac_ext >&5
17272 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17274 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17275 echo "${ECHO_T}$ac_cv_c_const" >&6
17276 if test $ac_cv_c_const = no
; then
17278 cat >>confdefs.h
<<\_ACEOF
17284 echo "$as_me:$LINENO: checking for inline" >&5
17285 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17286 if test "${ac_cv_c_inline+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17290 for ac_kw
in inline __inline__ __inline
; do
17291 cat >conftest.
$ac_ext <<_ACEOF
17294 cat confdefs.h
>>conftest.
$ac_ext
17295 cat >>conftest.
$ac_ext <<_ACEOF
17296 /* end confdefs.h. */
17297 #ifndef __cplusplus
17299 static $ac_kw foo_t static_foo () {return 0; }
17300 $ac_kw foo_t foo () {return 0; }
17304 rm -f conftest.
$ac_objext
17305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17306 (eval $ac_compile) 2>conftest.er1
17308 grep -v '^ *+' conftest.er1
>conftest.err
17310 cat conftest.err
>&5
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); } &&
17313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; } &&
17319 { ac_try
='test -s conftest.$ac_objext'
17320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17321 (eval $ac_try) 2>&5
17323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17324 (exit $ac_status); }; }; then
17325 ac_cv_c_inline
=$ac_kw; break
17327 echo "$as_me: failed program was:" >&5
17328 sed 's/^/| /' conftest.
$ac_ext >&5
17331 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17335 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17336 echo "${ECHO_T}$ac_cv_c_inline" >&6
17339 case $ac_cv_c_inline in
17342 case $ac_cv_c_inline in
17344 *) ac_val
=$ac_cv_c_inline;;
17346 cat >>confdefs.h
<<_ACEOF
17347 #ifndef __cplusplus
17348 #define inline $ac_val
17354 echo "$as_me:$LINENO: checking for mode_t" >&5
17355 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
17356 if test "${ac_cv_type_mode_t+set}" = set; then
17357 echo $ECHO_N "(cached) $ECHO_C" >&6
17359 cat >conftest.
$ac_ext <<_ACEOF
17362 cat confdefs.h
>>conftest.
$ac_ext
17363 cat >>conftest.
$ac_ext <<_ACEOF
17364 /* end confdefs.h. */
17365 $ac_includes_default
17371 if (sizeof (mode_t))
17377 rm -f conftest.
$ac_objext
17378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17379 (eval $ac_compile) 2>conftest.er1
17381 grep -v '^ *+' conftest.er1
>conftest.err
17383 cat conftest.err
>&5
17384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17385 (exit $ac_status); } &&
17386 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17388 (eval $ac_try) 2>&5
17390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17391 (exit $ac_status); }; } &&
17392 { ac_try
='test -s conftest.$ac_objext'
17393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17394 (eval $ac_try) 2>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); }; }; then
17398 ac_cv_type_mode_t
=yes
17400 echo "$as_me: failed program was:" >&5
17401 sed 's/^/| /' conftest.
$ac_ext >&5
17403 ac_cv_type_mode_t
=no
17405 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17407 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
17408 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
17409 if test $ac_cv_type_mode_t = yes; then
17411 cat >>confdefs.h
<<_ACEOF
17412 #define HAVE_MODE_T 1
17417 echo "$as_me:$LINENO: checking for off_t" >&5
17418 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
17419 if test "${ac_cv_type_off_t+set}" = set; then
17420 echo $ECHO_N "(cached) $ECHO_C" >&6
17422 cat >conftest.
$ac_ext <<_ACEOF
17425 cat confdefs.h
>>conftest.
$ac_ext
17426 cat >>conftest.
$ac_ext <<_ACEOF
17427 /* end confdefs.h. */
17428 $ac_includes_default
17434 if (sizeof (off_t))
17440 rm -f conftest.
$ac_objext
17441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17442 (eval $ac_compile) 2>conftest.er1
17444 grep -v '^ *+' conftest.er1
>conftest.err
17446 cat conftest.err
>&5
17447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17448 (exit $ac_status); } &&
17449 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17451 (eval $ac_try) 2>&5
17453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17454 (exit $ac_status); }; } &&
17455 { ac_try
='test -s conftest.$ac_objext'
17456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17457 (eval $ac_try) 2>&5
17459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17460 (exit $ac_status); }; }; then
17461 ac_cv_type_off_t
=yes
17463 echo "$as_me: failed program was:" >&5
17464 sed 's/^/| /' conftest.
$ac_ext >&5
17466 ac_cv_type_off_t
=no
17468 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17470 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17471 echo "${ECHO_T}$ac_cv_type_off_t" >&6
17472 if test $ac_cv_type_off_t = yes; then
17474 cat >>confdefs.h
<<_ACEOF
17475 #define HAVE_OFF_T 1
17480 echo "$as_me:$LINENO: checking for pid_t" >&5
17481 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
17482 if test "${ac_cv_type_pid_t+set}" = set; then
17483 echo $ECHO_N "(cached) $ECHO_C" >&6
17485 cat >conftest.
$ac_ext <<_ACEOF
17488 cat confdefs.h
>>conftest.
$ac_ext
17489 cat >>conftest.
$ac_ext <<_ACEOF
17490 /* end confdefs.h. */
17491 $ac_includes_default
17497 if (sizeof (pid_t))
17503 rm -f conftest.
$ac_objext
17504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17505 (eval $ac_compile) 2>conftest.er1
17507 grep -v '^ *+' conftest.er1
>conftest.err
17509 cat conftest.err
>&5
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); } &&
17512 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; } &&
17518 { ac_try
='test -s conftest.$ac_objext'
17519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17520 (eval $ac_try) 2>&5
17522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17523 (exit $ac_status); }; }; then
17524 ac_cv_type_pid_t
=yes
17526 echo "$as_me: failed program was:" >&5
17527 sed 's/^/| /' conftest.
$ac_ext >&5
17529 ac_cv_type_pid_t
=no
17531 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17533 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17534 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
17535 if test $ac_cv_type_pid_t = yes; then
17537 cat >>confdefs.h
<<_ACEOF
17538 #define HAVE_PID_T 1
17543 echo "$as_me:$LINENO: checking for size_t" >&5
17544 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
17545 if test "${ac_cv_type_size_t+set}" = set; then
17546 echo $ECHO_N "(cached) $ECHO_C" >&6
17548 cat >conftest.
$ac_ext <<_ACEOF
17551 cat confdefs.h
>>conftest.
$ac_ext
17552 cat >>conftest.
$ac_ext <<_ACEOF
17553 /* end confdefs.h. */
17554 $ac_includes_default
17560 if (sizeof (size_t))
17566 rm -f conftest.
$ac_objext
17567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17568 (eval $ac_compile) 2>conftest.er1
17570 grep -v '^ *+' conftest.er1
>conftest.err
17572 cat conftest.err
>&5
17573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17574 (exit $ac_status); } &&
17575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17577 (eval $ac_try) 2>&5
17579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17580 (exit $ac_status); }; } &&
17581 { ac_try
='test -s conftest.$ac_objext'
17582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17583 (eval $ac_try) 2>&5
17585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17586 (exit $ac_status); }; }; then
17587 ac_cv_type_size_t
=yes
17589 echo "$as_me: failed program was:" >&5
17590 sed 's/^/| /' conftest.
$ac_ext >&5
17592 ac_cv_type_size_t
=no
17594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17596 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17597 echo "${ECHO_T}$ac_cv_type_size_t" >&6
17598 if test $ac_cv_type_size_t = yes; then
17600 cat >>confdefs.h
<<_ACEOF
17601 #define HAVE_SIZE_T 1
17606 echo "$as_me:$LINENO: checking for ssize_t" >&5
17607 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
17608 if test "${ac_cv_type_ssize_t+set}" = set; then
17609 echo $ECHO_N "(cached) $ECHO_C" >&6
17611 cat >conftest.
$ac_ext <<_ACEOF
17614 cat confdefs.h
>>conftest.
$ac_ext
17615 cat >>conftest.
$ac_ext <<_ACEOF
17616 /* end confdefs.h. */
17617 $ac_includes_default
17623 if (sizeof (ssize_t))
17629 rm -f conftest.
$ac_objext
17630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17631 (eval $ac_compile) 2>conftest.er1
17633 grep -v '^ *+' conftest.er1
>conftest.err
17635 cat conftest.err
>&5
17636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17637 (exit $ac_status); } &&
17638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17640 (eval $ac_try) 2>&5
17642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17643 (exit $ac_status); }; } &&
17644 { ac_try
='test -s conftest.$ac_objext'
17645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17646 (eval $ac_try) 2>&5
17648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17649 (exit $ac_status); }; }; then
17650 ac_cv_type_ssize_t
=yes
17652 echo "$as_me: failed program was:" >&5
17653 sed 's/^/| /' conftest.
$ac_ext >&5
17655 ac_cv_type_ssize_t
=no
17657 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17659 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17660 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
17661 if test $ac_cv_type_ssize_t = yes; then
17663 cat >>confdefs.h
<<_ACEOF
17664 #define HAVE_SSIZE_T 1
17669 echo "$as_me:$LINENO: checking for long long" >&5
17670 echo $ECHO_N "checking for long long... $ECHO_C" >&6
17671 if test "${ac_cv_type_long_long+set}" = set; then
17672 echo $ECHO_N "(cached) $ECHO_C" >&6
17674 cat >conftest.
$ac_ext <<_ACEOF
17677 cat confdefs.h
>>conftest.
$ac_ext
17678 cat >>conftest.
$ac_ext <<_ACEOF
17679 /* end confdefs.h. */
17680 $ac_includes_default
17684 if ((long long *) 0)
17686 if (sizeof (long long))
17692 rm -f conftest.
$ac_objext
17693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17694 (eval $ac_compile) 2>conftest.er1
17696 grep -v '^ *+' conftest.er1
>conftest.err
17698 cat conftest.err
>&5
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); } &&
17701 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; } &&
17707 { ac_try
='test -s conftest.$ac_objext'
17708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17709 (eval $ac_try) 2>&5
17711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17712 (exit $ac_status); }; }; then
17713 ac_cv_type_long_long
=yes
17715 echo "$as_me: failed program was:" >&5
17716 sed 's/^/| /' conftest.
$ac_ext >&5
17718 ac_cv_type_long_long
=no
17720 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17722 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
17723 echo "${ECHO_T}$ac_cv_type_long_long" >&6
17724 if test $ac_cv_type_long_long = yes; then
17726 cat >>confdefs.h
<<_ACEOF
17727 #define HAVE_LONG_LONG 1
17732 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
17733 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
17734 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
17735 echo $ECHO_N "(cached) $ECHO_C" >&6
17737 cat >conftest.
$ac_ext <<_ACEOF
17740 cat confdefs.h
>>conftest.
$ac_ext
17741 cat >>conftest.
$ac_ext <<_ACEOF
17742 /* end confdefs.h. */
17743 $ac_includes_default
17747 if ((fsblkcnt_t *) 0)
17749 if (sizeof (fsblkcnt_t))
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 ac_cv_type_fsblkcnt_t
=yes
17778 echo "$as_me: failed program was:" >&5
17779 sed 's/^/| /' conftest.
$ac_ext >&5
17781 ac_cv_type_fsblkcnt_t
=no
17783 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17785 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
17786 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
17787 if test $ac_cv_type_fsblkcnt_t = yes; then
17789 cat >>confdefs.h
<<_ACEOF
17790 #define HAVE_FSBLKCNT_T 1
17795 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
17796 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
17797 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
17798 echo $ECHO_N "(cached) $ECHO_C" >&6
17800 cat >conftest.
$ac_ext <<_ACEOF
17803 cat confdefs.h
>>conftest.
$ac_ext
17804 cat >>conftest.
$ac_ext <<_ACEOF
17805 /* end confdefs.h. */
17806 $ac_includes_default
17810 if ((fsfilcnt_t *) 0)
17812 if (sizeof (fsfilcnt_t))
17818 rm -f conftest.
$ac_objext
17819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17820 (eval $ac_compile) 2>conftest.er1
17822 grep -v '^ *+' conftest.er1
>conftest.err
17824 cat conftest.err
>&5
17825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17826 (exit $ac_status); } &&
17827 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17829 (eval $ac_try) 2>&5
17831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17832 (exit $ac_status); }; } &&
17833 { ac_try
='test -s conftest.$ac_objext'
17834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17835 (eval $ac_try) 2>&5
17837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17838 (exit $ac_status); }; }; then
17839 ac_cv_type_fsfilcnt_t
=yes
17841 echo "$as_me: failed program was:" >&5
17842 sed 's/^/| /' conftest.
$ac_ext >&5
17844 ac_cv_type_fsfilcnt_t
=no
17846 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17848 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
17849 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
17850 if test $ac_cv_type_fsfilcnt_t = yes; then
17852 cat >>confdefs.h
<<_ACEOF
17853 #define HAVE_FSFILCNT_T 1
17860 echo "$as_me:$LINENO: checking whether linux/input.h is for real" >&5
17861 echo $ECHO_N "checking whether linux/input.h is for real... $ECHO_C" >&6
17862 if test "${wine_cv_linux_input_h+set}" = set; then
17863 echo $ECHO_N "(cached) $ECHO_C" >&6
17865 cat >conftest.
$ac_ext <<_ACEOF
17868 cat confdefs.h
>>conftest.
$ac_ext
17869 cat >>conftest.
$ac_ext <<_ACEOF
17870 /* end confdefs.h. */
17872 #include <linux/input.h>
17878 int foo = EVIOCGBIT(EV_ABS,42);
17879 int bar = BTN_PINKIE;
17886 rm -f conftest.
$ac_objext
17887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17888 (eval $ac_compile) 2>conftest.er1
17890 grep -v '^ *+' conftest.er1
>conftest.err
17892 cat conftest.err
>&5
17893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17894 (exit $ac_status); } &&
17895 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17897 (eval $ac_try) 2>&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); }; } &&
17901 { ac_try
='test -s conftest.$ac_objext'
17902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17903 (eval $ac_try) 2>&5
17905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17906 (exit $ac_status); }; }; then
17907 wine_cv_linux_input_h
=yes
17909 echo "$as_me: failed program was:" >&5
17910 sed 's/^/| /' conftest.
$ac_ext >&5
17912 wine_cv_linux_input_h
=no
17914 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
17917 echo "$as_me:$LINENO: result: $wine_cv_linux_input_h" >&5
17918 echo "${ECHO_T}$wine_cv_linux_input_h" >&6
17919 if test "$wine_cv_linux_input_h" = "yes"
17922 cat >>confdefs.h
<<\_ACEOF
17923 #define HAVE_CORRECT_LINUXINPUT_H 1
17929 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17930 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17931 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17932 echo $ECHO_N "(cached) $ECHO_C" >&6
17934 cat >conftest.
$ac_ext <<_ACEOF
17937 cat confdefs.h
>>conftest.
$ac_ext
17938 cat >>conftest.
$ac_ext <<_ACEOF
17939 /* end confdefs.h. */
17949 struct hostent *result;
17956 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17957 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17963 rm -f conftest.
$ac_objext conftest
$ac_exeext
17964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17965 (eval $ac_link) 2>conftest.er1
17967 grep -v '^ *+' conftest.er1
>conftest.err
17969 cat conftest.err
>&5
17970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17971 (exit $ac_status); } &&
17972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17974 (eval $ac_try) 2>&5
17976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17977 (exit $ac_status); }; } &&
17978 { ac_try
='test -s conftest$ac_exeext'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; }; then
17984 wine_cv_linux_gethostbyname_r_6
=yes
17986 echo "$as_me: failed program was:" >&5
17987 sed 's/^/| /' conftest.
$ac_ext >&5
17989 wine_cv_linux_gethostbyname_r_6
=no
17992 rm -f conftest.err conftest.
$ac_objext \
17993 conftest
$ac_exeext conftest.
$ac_ext
17996 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17997 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17998 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18001 cat >>confdefs.h
<<\_ACEOF
18002 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
18007 if test "$ac_cv_header_linux_joystick_h" = "yes"
18009 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18010 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
18011 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
18012 echo $ECHO_N "(cached) $ECHO_C" >&6
18014 cat >conftest.
$ac_ext <<_ACEOF
18017 cat confdefs.h
>>conftest.
$ac_ext
18018 cat >>conftest.
$ac_ext <<_ACEOF
18019 /* end confdefs.h. */
18021 #include <sys/ioctl.h>
18022 #include <linux/joystick.h>
18024 struct js_event blub;
18025 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18026 #error "no 2.2 header"
18037 rm -f conftest.
$ac_objext
18038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18039 (eval $ac_compile) 2>conftest.er1
18041 grep -v '^ *+' conftest.er1
>conftest.err
18043 cat conftest.err
>&5
18044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18045 (exit $ac_status); } &&
18046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18048 (eval $ac_try) 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; } &&
18052 { ac_try
='test -s conftest.$ac_objext'
18053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18054 (eval $ac_try) 2>&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); }; }; then
18058 wine_cv_linux_joystick_22_api
=yes
18060 echo "$as_me: failed program was:" >&5
18061 sed 's/^/| /' conftest.
$ac_ext >&5
18063 wine_cv_linux_joystick_22_api
=no
18065 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18068 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
18069 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
18070 if test "$wine_cv_linux_joystick_22_api" = "yes"
18073 cat >>confdefs.h
<<\_ACEOF
18074 #define HAVE_LINUX_22_JOYSTICK_API 1
18081 if test "$ac_cv_header_sys_vfs_h" = "yes"
18083 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
18084 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
18085 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
18086 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 cat >conftest.
$ac_ext <<_ACEOF
18091 cat confdefs.h
>>conftest.
$ac_ext
18092 cat >>conftest.
$ac_ext <<_ACEOF
18093 /* end confdefs.h. */
18095 #include <sys/types.h>
18096 #ifdef HAVE_SYS_PARAM_H
18097 # include <sys/param.h>
18099 #include <sys/vfs.h>
18105 struct statfs stfs;
18107 memset(&stfs,0,sizeof(stfs));
18113 rm -f conftest.
$ac_objext
18114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18115 (eval $ac_compile) 2>conftest.er1
18117 grep -v '^ *+' conftest.er1
>conftest.err
18119 cat conftest.err
>&5
18120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18121 (exit $ac_status); } &&
18122 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18124 (eval $ac_try) 2>&5
18126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18127 (exit $ac_status); }; } &&
18128 { ac_try
='test -s conftest.$ac_objext'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; }; then
18134 wine_cv_sys_vfs_has_statfs
=yes
18136 echo "$as_me: failed program was:" >&5
18137 sed 's/^/| /' conftest.
$ac_ext >&5
18139 wine_cv_sys_vfs_has_statfs
=no
18142 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18145 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
18146 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
18147 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
18150 cat >>confdefs.h
<<\_ACEOF
18151 #define STATFS_DEFINED_BY_SYS_VFS 1
18157 if test "$ac_cv_header_sys_statfs_h" = "yes"
18159 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
18160 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
18161 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
18162 echo $ECHO_N "(cached) $ECHO_C" >&6
18164 cat >conftest.
$ac_ext <<_ACEOF
18167 cat confdefs.h
>>conftest.
$ac_ext
18168 cat >>conftest.
$ac_ext <<_ACEOF
18169 /* end confdefs.h. */
18171 #include <sys/types.h>
18172 #ifdef HAVE_SYS_PARAM_H
18173 # include <sys/param.h>
18175 #include <sys/statfs.h>
18181 struct statfs stfs;
18187 rm -f conftest.
$ac_objext
18188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18189 (eval $ac_compile) 2>conftest.er1
18191 grep -v '^ *+' conftest.er1
>conftest.err
18193 cat conftest.err
>&5
18194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18195 (exit $ac_status); } &&
18196 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18198 (eval $ac_try) 2>&5
18200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18201 (exit $ac_status); }; } &&
18202 { ac_try
='test -s conftest.$ac_objext'
18203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18204 (eval $ac_try) 2>&5
18206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18207 (exit $ac_status); }; }; then
18208 wine_cv_sys_statfs_has_statfs
=yes
18210 echo "$as_me: failed program was:" >&5
18211 sed 's/^/| /' conftest.
$ac_ext >&5
18213 wine_cv_sys_statfs_has_statfs
=no
18216 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18219 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
18220 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
18221 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
18224 cat >>confdefs.h
<<\_ACEOF
18225 #define STATFS_DEFINED_BY_SYS_STATFS 1
18231 if test "$ac_cv_header_sys_mount_h" = "yes"
18233 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
18234 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
18235 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
18236 echo $ECHO_N "(cached) $ECHO_C" >&6
18238 cat >conftest.
$ac_ext <<_ACEOF
18241 cat confdefs.h
>>conftest.
$ac_ext
18242 cat >>conftest.
$ac_ext <<_ACEOF
18243 /* end confdefs.h. */
18245 #include <sys/types.h>
18246 #ifdef HAVE_SYS_PARAM_H
18247 # include <sys/param.h>
18249 #include <sys/mount.h>
18255 struct statfs stfs;
18261 rm -f conftest.
$ac_objext
18262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18263 (eval $ac_compile) 2>conftest.er1
18265 grep -v '^ *+' conftest.er1
>conftest.err
18267 cat conftest.err
>&5
18268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18269 (exit $ac_status); } &&
18270 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18272 (eval $ac_try) 2>&5
18274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18275 (exit $ac_status); }; } &&
18276 { ac_try
='test -s conftest.$ac_objext'
18277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18278 (eval $ac_try) 2>&5
18280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18281 (exit $ac_status); }; }; then
18282 wine_cv_sys_mount_has_statfs
=yes
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.
$ac_ext >&5
18287 wine_cv_sys_mount_has_statfs
=no
18290 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18293 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
18294 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
18295 if test "$wine_cv_sys_mount_has_statfs" = "yes"
18298 cat >>confdefs.h
<<\_ACEOF
18299 #define STATFS_DEFINED_BY_SYS_MOUNT 1
18306 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
18307 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
18308 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
18309 echo $ECHO_N "(cached) $ECHO_C" >&6
18311 cat >conftest.
$ac_ext <<_ACEOF
18314 cat confdefs.h
>>conftest.
$ac_ext
18315 cat >>conftest.
$ac_ext <<_ACEOF
18316 /* end confdefs.h. */
18317 #include <sys/types.h>
18318 #ifdef HAVE_SYS_PARAM_H
18319 # include <sys/param.h>
18321 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18322 # include <sys/mount.h>
18324 # ifdef STATFS_DEFINED_BY_SYS_VFS
18325 # include <sys/vfs.h>
18327 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18328 # include <sys/statfs.h>
18336 static struct statfs ac_aggr;
18337 if (ac_aggr.f_bfree)
18343 rm -f conftest.
$ac_objext
18344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18345 (eval $ac_compile) 2>conftest.er1
18347 grep -v '^ *+' conftest.er1
>conftest.err
18349 cat conftest.err
>&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } &&
18352 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18354 (eval $ac_try) 2>&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); }; } &&
18358 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18364 ac_cv_member_struct_statfs_f_bfree
=yes
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.
$ac_ext >&5
18369 cat >conftest.
$ac_ext <<_ACEOF
18372 cat confdefs.h
>>conftest.
$ac_ext
18373 cat >>conftest.
$ac_ext <<_ACEOF
18374 /* end confdefs.h. */
18375 #include <sys/types.h>
18376 #ifdef HAVE_SYS_PARAM_H
18377 # include <sys/param.h>
18379 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18380 # include <sys/mount.h>
18382 # ifdef STATFS_DEFINED_BY_SYS_VFS
18383 # include <sys/vfs.h>
18385 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18386 # include <sys/statfs.h>
18394 static struct statfs ac_aggr;
18395 if (sizeof ac_aggr.f_bfree)
18401 rm -f conftest.
$ac_objext
18402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18403 (eval $ac_compile) 2>conftest.er1
18405 grep -v '^ *+' conftest.er1
>conftest.err
18407 cat conftest.err
>&5
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); } &&
18410 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18412 (eval $ac_try) 2>&5
18414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18415 (exit $ac_status); }; } &&
18416 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18422 ac_cv_member_struct_statfs_f_bfree
=yes
18424 echo "$as_me: failed program was:" >&5
18425 sed 's/^/| /' conftest.
$ac_ext >&5
18427 ac_cv_member_struct_statfs_f_bfree
=no
18429 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18431 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18433 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
18434 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
18435 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
18437 cat >>confdefs.h
<<_ACEOF
18438 #define HAVE_STRUCT_STATFS_F_BFREE 1
18443 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
18444 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
18445 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18448 cat >conftest.
$ac_ext <<_ACEOF
18451 cat confdefs.h
>>conftest.
$ac_ext
18452 cat >>conftest.
$ac_ext <<_ACEOF
18453 /* end confdefs.h. */
18454 #include <sys/types.h>
18455 #ifdef HAVE_SYS_PARAM_H
18456 # include <sys/param.h>
18458 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18459 # include <sys/mount.h>
18461 # ifdef STATFS_DEFINED_BY_SYS_VFS
18462 # include <sys/vfs.h>
18464 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18465 # include <sys/statfs.h>
18473 static struct statfs ac_aggr;
18474 if (ac_aggr.f_bavail)
18480 rm -f conftest.
$ac_objext
18481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18482 (eval $ac_compile) 2>conftest.er1
18484 grep -v '^ *+' conftest.er1
>conftest.err
18486 cat conftest.err
>&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } &&
18489 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; } &&
18495 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18501 ac_cv_member_struct_statfs_f_bavail
=yes
18503 echo "$as_me: failed program was:" >&5
18504 sed 's/^/| /' conftest.
$ac_ext >&5
18506 cat >conftest.
$ac_ext <<_ACEOF
18509 cat confdefs.h
>>conftest.
$ac_ext
18510 cat >>conftest.
$ac_ext <<_ACEOF
18511 /* end confdefs.h. */
18512 #include <sys/types.h>
18513 #ifdef HAVE_SYS_PARAM_H
18514 # include <sys/param.h>
18516 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18517 # include <sys/mount.h>
18519 # ifdef STATFS_DEFINED_BY_SYS_VFS
18520 # include <sys/vfs.h>
18522 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18523 # include <sys/statfs.h>
18531 static struct statfs ac_aggr;
18532 if (sizeof ac_aggr.f_bavail)
18538 rm -f conftest.
$ac_objext
18539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18540 (eval $ac_compile) 2>conftest.er1
18542 grep -v '^ *+' conftest.er1
>conftest.err
18544 cat conftest.err
>&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } &&
18547 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; } &&
18553 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18559 ac_cv_member_struct_statfs_f_bavail
=yes
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.
$ac_ext >&5
18564 ac_cv_member_struct_statfs_f_bavail
=no
18566 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18568 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18570 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
18571 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
18572 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
18574 cat >>confdefs.h
<<_ACEOF
18575 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18580 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
18581 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
18582 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
18583 echo $ECHO_N "(cached) $ECHO_C" >&6
18585 cat >conftest.
$ac_ext <<_ACEOF
18588 cat confdefs.h
>>conftest.
$ac_ext
18589 cat >>conftest.
$ac_ext <<_ACEOF
18590 /* end confdefs.h. */
18591 #include <sys/types.h>
18592 #ifdef HAVE_SYS_PARAM_H
18593 # include <sys/param.h>
18595 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18596 # include <sys/mount.h>
18598 # ifdef STATFS_DEFINED_BY_SYS_VFS
18599 # include <sys/vfs.h>
18601 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18602 # include <sys/statfs.h>
18610 static struct statfs ac_aggr;
18611 if (ac_aggr.f_frsize)
18617 rm -f conftest.
$ac_objext
18618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18619 (eval $ac_compile) 2>conftest.er1
18621 grep -v '^ *+' conftest.er1
>conftest.err
18623 cat conftest.err
>&5
18624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18625 (exit $ac_status); } &&
18626 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18628 (eval $ac_try) 2>&5
18630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18631 (exit $ac_status); }; } &&
18632 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18638 ac_cv_member_struct_statfs_f_frsize
=yes
18640 echo "$as_me: failed program was:" >&5
18641 sed 's/^/| /' conftest.
$ac_ext >&5
18643 cat >conftest.
$ac_ext <<_ACEOF
18646 cat confdefs.h
>>conftest.
$ac_ext
18647 cat >>conftest.
$ac_ext <<_ACEOF
18648 /* end confdefs.h. */
18649 #include <sys/types.h>
18650 #ifdef HAVE_SYS_PARAM_H
18651 # include <sys/param.h>
18653 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18654 # include <sys/mount.h>
18656 # ifdef STATFS_DEFINED_BY_SYS_VFS
18657 # include <sys/vfs.h>
18659 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18660 # include <sys/statfs.h>
18668 static struct statfs ac_aggr;
18669 if (sizeof ac_aggr.f_frsize)
18675 rm -f conftest.
$ac_objext
18676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18677 (eval $ac_compile) 2>conftest.er1
18679 grep -v '^ *+' conftest.er1
>conftest.err
18681 cat conftest.err
>&5
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); } &&
18684 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18686 (eval $ac_try) 2>&5
18688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18689 (exit $ac_status); }; } &&
18690 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18696 ac_cv_member_struct_statfs_f_frsize
=yes
18698 echo "$as_me: failed program was:" >&5
18699 sed 's/^/| /' conftest.
$ac_ext >&5
18701 ac_cv_member_struct_statfs_f_frsize
=no
18703 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18707 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
18708 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
18709 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
18711 cat >>confdefs.h
<<_ACEOF
18712 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18717 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
18718 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
18719 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
18720 echo $ECHO_N "(cached) $ECHO_C" >&6
18722 cat >conftest.
$ac_ext <<_ACEOF
18725 cat confdefs.h
>>conftest.
$ac_ext
18726 cat >>conftest.
$ac_ext <<_ACEOF
18727 /* end confdefs.h. */
18728 #include <sys/types.h>
18729 #ifdef HAVE_SYS_PARAM_H
18730 # include <sys/param.h>
18732 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18733 # include <sys/mount.h>
18735 # ifdef STATFS_DEFINED_BY_SYS_VFS
18736 # include <sys/vfs.h>
18738 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18739 # include <sys/statfs.h>
18747 static struct statfs ac_aggr;
18748 if (ac_aggr.f_ffree)
18754 rm -f conftest.
$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18758 grep -v '^ *+' conftest.er1
>conftest.err
18760 cat conftest.err
>&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18775 ac_cv_member_struct_statfs_f_ffree
=yes
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.
$ac_ext >&5
18780 cat >conftest.
$ac_ext <<_ACEOF
18783 cat confdefs.h
>>conftest.
$ac_ext
18784 cat >>conftest.
$ac_ext <<_ACEOF
18785 /* end confdefs.h. */
18786 #include <sys/types.h>
18787 #ifdef HAVE_SYS_PARAM_H
18788 # include <sys/param.h>
18790 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18791 # include <sys/mount.h>
18793 # ifdef STATFS_DEFINED_BY_SYS_VFS
18794 # include <sys/vfs.h>
18796 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18797 # include <sys/statfs.h>
18805 static struct statfs ac_aggr;
18806 if (sizeof ac_aggr.f_ffree)
18812 rm -f conftest.
$ac_objext
18813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18814 (eval $ac_compile) 2>conftest.er1
18816 grep -v '^ *+' conftest.er1
>conftest.err
18818 cat conftest.err
>&5
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); } &&
18821 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18823 (eval $ac_try) 2>&5
18825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18826 (exit $ac_status); }; } &&
18827 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18833 ac_cv_member_struct_statfs_f_ffree
=yes
18835 echo "$as_me: failed program was:" >&5
18836 sed 's/^/| /' conftest.
$ac_ext >&5
18838 ac_cv_member_struct_statfs_f_ffree
=no
18840 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18842 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18844 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
18845 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
18846 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
18848 cat >>confdefs.h
<<_ACEOF
18849 #define HAVE_STRUCT_STATFS_F_FFREE 1
18854 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
18855 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
18856 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
18857 echo $ECHO_N "(cached) $ECHO_C" >&6
18859 cat >conftest.
$ac_ext <<_ACEOF
18862 cat confdefs.h
>>conftest.
$ac_ext
18863 cat >>conftest.
$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865 #include <sys/types.h>
18866 #ifdef HAVE_SYS_PARAM_H
18867 # include <sys/param.h>
18869 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18870 # include <sys/mount.h>
18872 # ifdef STATFS_DEFINED_BY_SYS_VFS
18873 # include <sys/vfs.h>
18875 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18876 # include <sys/statfs.h>
18884 static struct statfs ac_aggr;
18885 if (ac_aggr.f_favail)
18891 rm -f conftest.
$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18895 grep -v '^ *+' conftest.er1
>conftest.err
18897 cat conftest.err
>&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18912 ac_cv_member_struct_statfs_f_favail
=yes
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.
$ac_ext >&5
18917 cat >conftest.
$ac_ext <<_ACEOF
18920 cat confdefs.h
>>conftest.
$ac_ext
18921 cat >>conftest.
$ac_ext <<_ACEOF
18922 /* end confdefs.h. */
18923 #include <sys/types.h>
18924 #ifdef HAVE_SYS_PARAM_H
18925 # include <sys/param.h>
18927 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
18928 # include <sys/mount.h>
18930 # ifdef STATFS_DEFINED_BY_SYS_VFS
18931 # include <sys/vfs.h>
18933 # ifdef STATFS_DEFINED_BY_SYS_STATFS
18934 # include <sys/statfs.h>
18942 static struct statfs ac_aggr;
18943 if (sizeof ac_aggr.f_favail)
18949 rm -f conftest.
$ac_objext
18950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18951 (eval $ac_compile) 2>conftest.er1
18953 grep -v '^ *+' conftest.er1
>conftest.err
18955 cat conftest.err
>&5
18956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18957 (exit $ac_status); } &&
18958 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18960 (eval $ac_try) 2>&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); }; } &&
18964 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
18970 ac_cv_member_struct_statfs_f_favail
=yes
18972 echo "$as_me: failed program was:" >&5
18973 sed 's/^/| /' conftest.
$ac_ext >&5
18975 ac_cv_member_struct_statfs_f_favail
=no
18977 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18979 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
18981 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18982 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18983 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18985 cat >>confdefs.h
<<_ACEOF
18986 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18991 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18992 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18993 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18994 echo $ECHO_N "(cached) $ECHO_C" >&6
18996 cat >conftest.
$ac_ext <<_ACEOF
18999 cat confdefs.h
>>conftest.
$ac_ext
19000 cat >>conftest.
$ac_ext <<_ACEOF
19001 /* end confdefs.h. */
19002 #include <sys/types.h>
19003 #ifdef HAVE_SYS_PARAM_H
19004 # include <sys/param.h>
19006 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19007 # include <sys/mount.h>
19009 # ifdef STATFS_DEFINED_BY_SYS_VFS
19010 # include <sys/vfs.h>
19012 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19013 # include <sys/statfs.h>
19021 static struct statfs ac_aggr;
19022 if (ac_aggr.f_namelen)
19028 rm -f conftest.
$ac_objext
19029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19030 (eval $ac_compile) 2>conftest.er1
19032 grep -v '^ *+' conftest.er1
>conftest.err
19034 cat conftest.err
>&5
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); } &&
19037 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19039 (eval $ac_try) 2>&5
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); }; } &&
19043 { ac_try
='test -s conftest.$ac_objext'
19044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19045 (eval $ac_try) 2>&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); }; }; then
19049 ac_cv_member_struct_statfs_f_namelen
=yes
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.
$ac_ext >&5
19054 cat >conftest.
$ac_ext <<_ACEOF
19057 cat confdefs.h
>>conftest.
$ac_ext
19058 cat >>conftest.
$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19060 #include <sys/types.h>
19061 #ifdef HAVE_SYS_PARAM_H
19062 # include <sys/param.h>
19064 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
19065 # include <sys/mount.h>
19067 # ifdef STATFS_DEFINED_BY_SYS_VFS
19068 # include <sys/vfs.h>
19070 # ifdef STATFS_DEFINED_BY_SYS_STATFS
19071 # include <sys/statfs.h>
19079 static struct statfs ac_aggr;
19080 if (sizeof ac_aggr.f_namelen)
19086 rm -f conftest.
$ac_objext
19087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19088 (eval $ac_compile) 2>conftest.er1
19090 grep -v '^ *+' conftest.er1
>conftest.err
19092 cat conftest.err
>&5
19093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19094 (exit $ac_status); } &&
19095 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19097 (eval $ac_try) 2>&5
19099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19100 (exit $ac_status); }; } &&
19101 { ac_try
='test -s conftest.$ac_objext'
19102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19103 (eval $ac_try) 2>&5
19105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19106 (exit $ac_status); }; }; then
19107 ac_cv_member_struct_statfs_f_namelen
=yes
19109 echo "$as_me: failed program was:" >&5
19110 sed 's/^/| /' conftest.
$ac_ext >&5
19112 ac_cv_member_struct_statfs_f_namelen
=no
19114 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19116 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19118 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
19119 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
19120 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
19122 cat >>confdefs.h
<<_ACEOF
19123 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
19130 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
19131 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
19132 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
19133 echo $ECHO_N "(cached) $ECHO_C" >&6
19135 cat >conftest.
$ac_ext <<_ACEOF
19138 cat confdefs.h
>>conftest.
$ac_ext
19139 cat >>conftest.
$ac_ext <<_ACEOF
19140 /* end confdefs.h. */
19141 #ifdef HAVE_SYS_STATVFS_H
19142 #include <sys/statvfs.h>
19148 static struct statvfs ac_aggr;
19149 if (ac_aggr.f_blocks)
19155 rm -f conftest.
$ac_objext
19156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19157 (eval $ac_compile) 2>conftest.er1
19159 grep -v '^ *+' conftest.er1
>conftest.err
19161 cat conftest.err
>&5
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); } &&
19164 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19166 (eval $ac_try) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); }; } &&
19170 { ac_try
='test -s conftest.$ac_objext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19176 ac_cv_member_struct_statvfs_f_blocks
=yes
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.
$ac_ext >&5
19181 cat >conftest.
$ac_ext <<_ACEOF
19184 cat confdefs.h
>>conftest.
$ac_ext
19185 cat >>conftest.
$ac_ext <<_ACEOF
19186 /* end confdefs.h. */
19187 #ifdef HAVE_SYS_STATVFS_H
19188 #include <sys/statvfs.h>
19194 static struct statvfs ac_aggr;
19195 if (sizeof ac_aggr.f_blocks)
19201 rm -f conftest.
$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19205 grep -v '^ *+' conftest.er1
>conftest.err
19207 cat conftest.err
>&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; } &&
19216 { ac_try
='test -s conftest.$ac_objext'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; }; then
19222 ac_cv_member_struct_statvfs_f_blocks
=yes
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.
$ac_ext >&5
19227 ac_cv_member_struct_statvfs_f_blocks
=no
19229 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19233 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
19234 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
19235 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
19237 cat >>confdefs.h
<<_ACEOF
19238 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
19245 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
19246 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
19247 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 cat >conftest.
$ac_ext <<_ACEOF
19253 cat confdefs.h
>>conftest.
$ac_ext
19254 cat >>conftest.
$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19256 #include <sys/types.h>
19257 #ifdef HAVE_SYS_SOCKET_H
19258 # include <sys/socket.h>
19260 #ifdef HAVE_SYS_UN_H
19261 # include <sys/un.h>
19267 static struct msghdr ac_aggr;
19268 if (ac_aggr.msg_accrights)
19274 rm -f conftest.
$ac_objext
19275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19276 (eval $ac_compile) 2>conftest.er1
19278 grep -v '^ *+' conftest.er1
>conftest.err
19280 cat conftest.err
>&5
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); } &&
19283 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19285 (eval $ac_try) 2>&5
19287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19288 (exit $ac_status); }; } &&
19289 { ac_try
='test -s conftest.$ac_objext'
19290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19291 (eval $ac_try) 2>&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); }; }; then
19295 ac_cv_member_struct_msghdr_msg_accrights
=yes
19297 echo "$as_me: failed program was:" >&5
19298 sed 's/^/| /' conftest.
$ac_ext >&5
19300 cat >conftest.
$ac_ext <<_ACEOF
19303 cat confdefs.h
>>conftest.
$ac_ext
19304 cat >>conftest.
$ac_ext <<_ACEOF
19305 /* end confdefs.h. */
19306 #include <sys/types.h>
19307 #ifdef HAVE_SYS_SOCKET_H
19308 # include <sys/socket.h>
19310 #ifdef HAVE_SYS_UN_H
19311 # include <sys/un.h>
19317 static struct msghdr ac_aggr;
19318 if (sizeof ac_aggr.msg_accrights)
19324 rm -f conftest.
$ac_objext
19325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19326 (eval $ac_compile) 2>conftest.er1
19328 grep -v '^ *+' conftest.er1
>conftest.err
19330 cat conftest.err
>&5
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); } &&
19333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; } &&
19339 { ac_try
='test -s conftest.$ac_objext'
19340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19341 (eval $ac_try) 2>&5
19343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19344 (exit $ac_status); }; }; then
19345 ac_cv_member_struct_msghdr_msg_accrights
=yes
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.
$ac_ext >&5
19350 ac_cv_member_struct_msghdr_msg_accrights
=no
19352 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19354 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19356 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
19357 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
19358 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
19360 cat >>confdefs.h
<<_ACEOF
19361 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
19366 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
19367 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
19368 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
19369 echo $ECHO_N "(cached) $ECHO_C" >&6
19371 cat >conftest.
$ac_ext <<_ACEOF
19374 cat confdefs.h
>>conftest.
$ac_ext
19375 cat >>conftest.
$ac_ext <<_ACEOF
19376 /* end confdefs.h. */
19377 #include <sys/types.h>
19378 #ifdef HAVE_SYS_SOCKET_H
19379 # include <sys/socket.h>
19381 #ifdef HAVE_SYS_UN_H
19382 # include <sys/un.h>
19388 static struct sockaddr ac_aggr;
19389 if (ac_aggr.sa_len)
19395 rm -f conftest.
$ac_objext
19396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19397 (eval $ac_compile) 2>conftest.er1
19399 grep -v '^ *+' conftest.er1
>conftest.err
19401 cat conftest.err
>&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } &&
19404 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19406 (eval $ac_try) 2>&5
19408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19409 (exit $ac_status); }; } &&
19410 { ac_try
='test -s conftest.$ac_objext'
19411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19412 (eval $ac_try) 2>&5
19414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19415 (exit $ac_status); }; }; then
19416 ac_cv_member_struct_sockaddr_sa_len
=yes
19418 echo "$as_me: failed program was:" >&5
19419 sed 's/^/| /' conftest.
$ac_ext >&5
19421 cat >conftest.
$ac_ext <<_ACEOF
19424 cat confdefs.h
>>conftest.
$ac_ext
19425 cat >>conftest.
$ac_ext <<_ACEOF
19426 /* end confdefs.h. */
19427 #include <sys/types.h>
19428 #ifdef HAVE_SYS_SOCKET_H
19429 # include <sys/socket.h>
19431 #ifdef HAVE_SYS_UN_H
19432 # include <sys/un.h>
19438 static struct sockaddr ac_aggr;
19439 if (sizeof ac_aggr.sa_len)
19445 rm -f conftest.
$ac_objext
19446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19447 (eval $ac_compile) 2>conftest.er1
19449 grep -v '^ *+' conftest.er1
>conftest.err
19451 cat conftest.err
>&5
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); } &&
19454 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19456 (eval $ac_try) 2>&5
19458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19459 (exit $ac_status); }; } &&
19460 { ac_try
='test -s conftest.$ac_objext'
19461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19462 (eval $ac_try) 2>&5
19464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19465 (exit $ac_status); }; }; then
19466 ac_cv_member_struct_sockaddr_sa_len
=yes
19468 echo "$as_me: failed program was:" >&5
19469 sed 's/^/| /' conftest.
$ac_ext >&5
19471 ac_cv_member_struct_sockaddr_sa_len
=no
19473 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19477 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
19478 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
19479 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
19481 cat >>confdefs.h
<<_ACEOF
19482 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
19487 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
19488 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
19489 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
19490 echo $ECHO_N "(cached) $ECHO_C" >&6
19492 cat >conftest.
$ac_ext <<_ACEOF
19495 cat confdefs.h
>>conftest.
$ac_ext
19496 cat >>conftest.
$ac_ext <<_ACEOF
19497 /* end confdefs.h. */
19498 #include <sys/types.h>
19499 #ifdef HAVE_SYS_SOCKET_H
19500 # include <sys/socket.h>
19502 #ifdef HAVE_SYS_UN_H
19503 # include <sys/un.h>
19509 static struct sockaddr_un ac_aggr;
19510 if (ac_aggr.sun_len)
19516 rm -f conftest.
$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>conftest.er1
19520 grep -v '^ *+' conftest.er1
>conftest.err
19522 cat conftest.err
>&5
19523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19524 (exit $ac_status); } &&
19525 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19527 (eval $ac_try) 2>&5
19529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19530 (exit $ac_status); }; } &&
19531 { ac_try
='test -s conftest.$ac_objext'
19532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19533 (eval $ac_try) 2>&5
19535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19536 (exit $ac_status); }; }; then
19537 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19539 echo "$as_me: failed program was:" >&5
19540 sed 's/^/| /' conftest.
$ac_ext >&5
19542 cat >conftest.
$ac_ext <<_ACEOF
19545 cat confdefs.h
>>conftest.
$ac_ext
19546 cat >>conftest.
$ac_ext <<_ACEOF
19547 /* end confdefs.h. */
19548 #include <sys/types.h>
19549 #ifdef HAVE_SYS_SOCKET_H
19550 # include <sys/socket.h>
19552 #ifdef HAVE_SYS_UN_H
19553 # include <sys/un.h>
19559 static struct sockaddr_un ac_aggr;
19560 if (sizeof ac_aggr.sun_len)
19566 rm -f conftest.
$ac_objext
19567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19568 (eval $ac_compile) 2>conftest.er1
19570 grep -v '^ *+' conftest.er1
>conftest.err
19572 cat conftest.err
>&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } &&
19575 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; } &&
19581 { ac_try
='test -s conftest.$ac_objext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 ac_cv_member_struct_sockaddr_un_sun_len
=yes
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.
$ac_ext >&5
19592 ac_cv_member_struct_sockaddr_un_sun_len
=no
19594 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19596 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19598 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
19599 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
19600 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
19602 cat >>confdefs.h
<<_ACEOF
19603 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
19610 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
19611 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
19612 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
19613 echo $ECHO_N "(cached) $ECHO_C" >&6
19615 cat >conftest.
$ac_ext <<_ACEOF
19618 cat confdefs.h
>>conftest.
$ac_ext
19619 cat >>conftest.
$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19621 #include <signal.h>
19626 static siginfo_t ac_aggr;
19633 rm -f conftest.
$ac_objext
19634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19635 (eval $ac_compile) 2>conftest.er1
19637 grep -v '^ *+' conftest.er1
>conftest.err
19639 cat conftest.err
>&5
19640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19641 (exit $ac_status); } &&
19642 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19644 (eval $ac_try) 2>&5
19646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19647 (exit $ac_status); }; } &&
19648 { ac_try
='test -s conftest.$ac_objext'
19649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19650 (eval $ac_try) 2>&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); }; }; then
19654 ac_cv_member_siginfo_t_si_fd
=yes
19656 echo "$as_me: failed program was:" >&5
19657 sed 's/^/| /' conftest.
$ac_ext >&5
19659 cat >conftest.
$ac_ext <<_ACEOF
19662 cat confdefs.h
>>conftest.
$ac_ext
19663 cat >>conftest.
$ac_ext <<_ACEOF
19664 /* end confdefs.h. */
19665 #include <signal.h>
19670 static siginfo_t ac_aggr;
19671 if (sizeof ac_aggr.si_fd)
19677 rm -f conftest.
$ac_objext
19678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19679 (eval $ac_compile) 2>conftest.er1
19681 grep -v '^ *+' conftest.er1
>conftest.err
19683 cat conftest.err
>&5
19684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19685 (exit $ac_status); } &&
19686 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19688 (eval $ac_try) 2>&5
19690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19691 (exit $ac_status); }; } &&
19692 { ac_try
='test -s conftest.$ac_objext'
19693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19694 (eval $ac_try) 2>&5
19696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19697 (exit $ac_status); }; }; then
19698 ac_cv_member_siginfo_t_si_fd
=yes
19700 echo "$as_me: failed program was:" >&5
19701 sed 's/^/| /' conftest.
$ac_ext >&5
19703 ac_cv_member_siginfo_t_si_fd
=no
19705 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19709 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19710 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19711 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19713 cat >>confdefs.h
<<_ACEOF
19714 #define HAVE_SIGINFO_T_SI_FD 1
19721 echo "$as_me:$LINENO: checking for struct option.name" >&5
19722 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19723 if test "${ac_cv_member_struct_option_name+set}" = set; then
19724 echo $ECHO_N "(cached) $ECHO_C" >&6
19726 cat >conftest.
$ac_ext <<_ACEOF
19729 cat confdefs.h
>>conftest.
$ac_ext
19730 cat >>conftest.
$ac_ext <<_ACEOF
19731 /* end confdefs.h. */
19732 #ifdef HAVE_GETOPT_H
19733 #include <getopt.h>
19739 static struct option ac_aggr;
19746 rm -f conftest.
$ac_objext
19747 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19748 (eval $ac_compile) 2>conftest.er1
19750 grep -v '^ *+' conftest.er1
>conftest.err
19752 cat conftest.err
>&5
19753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19754 (exit $ac_status); } &&
19755 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19757 (eval $ac_try) 2>&5
19759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19760 (exit $ac_status); }; } &&
19761 { ac_try
='test -s conftest.$ac_objext'
19762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19763 (eval $ac_try) 2>&5
19765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19766 (exit $ac_status); }; }; then
19767 ac_cv_member_struct_option_name
=yes
19769 echo "$as_me: failed program was:" >&5
19770 sed 's/^/| /' conftest.
$ac_ext >&5
19772 cat >conftest.
$ac_ext <<_ACEOF
19775 cat confdefs.h
>>conftest.
$ac_ext
19776 cat >>conftest.
$ac_ext <<_ACEOF
19777 /* end confdefs.h. */
19778 #ifdef HAVE_GETOPT_H
19779 #include <getopt.h>
19785 static struct option ac_aggr;
19786 if (sizeof ac_aggr.name)
19792 rm -f conftest.
$ac_objext
19793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19794 (eval $ac_compile) 2>conftest.er1
19796 grep -v '^ *+' conftest.er1
>conftest.err
19798 cat conftest.err
>&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } &&
19801 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19803 (eval $ac_try) 2>&5
19805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19806 (exit $ac_status); }; } &&
19807 { ac_try
='test -s conftest.$ac_objext'
19808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19809 (eval $ac_try) 2>&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); }; }; then
19813 ac_cv_member_struct_option_name
=yes
19815 echo "$as_me: failed program was:" >&5
19816 sed 's/^/| /' conftest.
$ac_ext >&5
19818 ac_cv_member_struct_option_name
=no
19820 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19822 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19824 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19825 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19826 if test $ac_cv_member_struct_option_name = yes; then
19828 cat >>confdefs.h
<<_ACEOF
19829 #define HAVE_STRUCT_OPTION_NAME 1
19836 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19837 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19838 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19839 echo $ECHO_N "(cached) $ECHO_C" >&6
19841 cat >conftest.
$ac_ext <<_ACEOF
19844 cat confdefs.h
>>conftest.
$ac_ext
19845 cat >>conftest.
$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19851 static struct stat ac_aggr;
19852 if (ac_aggr.st_blocks)
19858 rm -f conftest.
$ac_objext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19860 (eval $ac_compile) 2>conftest.er1
19862 grep -v '^ *+' conftest.er1
>conftest.err
19864 cat conftest.err
>&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; } &&
19873 { ac_try
='test -s conftest.$ac_objext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 ac_cv_member_struct_stat_st_blocks
=yes
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.
$ac_ext >&5
19884 cat >conftest.
$ac_ext <<_ACEOF
19887 cat confdefs.h
>>conftest.
$ac_ext
19888 cat >>conftest.
$ac_ext <<_ACEOF
19889 /* end confdefs.h. */
19890 $ac_includes_default
19894 static struct stat ac_aggr;
19895 if (sizeof ac_aggr.st_blocks)
19901 rm -f conftest.
$ac_objext
19902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19903 (eval $ac_compile) 2>conftest.er1
19905 grep -v '^ *+' conftest.er1
>conftest.err
19907 cat conftest.err
>&5
19908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19909 (exit $ac_status); } &&
19910 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19912 (eval $ac_try) 2>&5
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); }; } &&
19916 { ac_try
='test -s conftest.$ac_objext'
19917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19918 (eval $ac_try) 2>&5
19920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19921 (exit $ac_status); }; }; then
19922 ac_cv_member_struct_stat_st_blocks
=yes
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.
$ac_ext >&5
19927 ac_cv_member_struct_stat_st_blocks
=no
19929 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19931 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
19933 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19934 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19935 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19937 cat >>confdefs.h
<<_ACEOF
19938 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19947 *i
[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19948 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19949 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19950 echo $ECHO_N "(cached) $ECHO_C" >&6
19952 cat >conftest.
$ac_ext <<_ACEOF
19955 cat confdefs.h
>>conftest.
$ac_ext
19956 cat >>conftest.
$ac_ext <<_ACEOF
19957 /* end confdefs.h. */
19962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19963 $EGREP "yes" >/dev
/null
2>&1; then
19964 ac_cv_cpp_def___i386__
=yes
19966 ac_cv_cpp_def___i386__
=no
19971 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19972 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19973 if test $ac_cv_cpp_def___i386__ = yes; then
19974 CFLAGS
="$CFLAGS -D__i386__"
19975 LINTFLAGS
="$LINTFLAGS -D__i386__"
19978 *alpha
*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19979 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19980 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19981 echo $ECHO_N "(cached) $ECHO_C" >&6
19983 cat >conftest.
$ac_ext <<_ACEOF
19986 cat confdefs.h
>>conftest.
$ac_ext
19987 cat >>conftest.
$ac_ext <<_ACEOF
19988 /* end confdefs.h. */
19993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19994 $EGREP "yes" >/dev
/null
2>&1; then
19995 ac_cv_cpp_def___ALPHA__
=yes
19997 ac_cv_cpp_def___ALPHA__
=no
20002 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
20003 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
20004 if test $ac_cv_cpp_def___ALPHA__ = yes; then
20005 CFLAGS
="$CFLAGS -D__ALPHA__"
20006 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
20009 *sparc
*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
20010 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
20011 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
20012 echo $ECHO_N "(cached) $ECHO_C" >&6
20014 cat >conftest.
$ac_ext <<_ACEOF
20017 cat confdefs.h
>>conftest.
$ac_ext
20018 cat >>conftest.
$ac_ext <<_ACEOF
20019 /* end confdefs.h. */
20024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20025 $EGREP "yes" >/dev
/null
2>&1; then
20026 ac_cv_cpp_def___sparc__
=yes
20028 ac_cv_cpp_def___sparc__
=no
20033 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20034 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20035 if test $ac_cv_cpp_def___sparc__ = yes; then
20036 CFLAGS
="$CFLAGS -D__sparc__"
20037 LINTFLAGS
="$LINTFLAGS -D__sparc__"
20040 *powerpc
*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20041 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20042 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20043 echo $ECHO_N "(cached) $ECHO_C" >&6
20045 cat >conftest.
$ac_ext <<_ACEOF
20048 cat confdefs.h
>>conftest.
$ac_ext
20049 cat >>conftest.
$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 #ifndef __powerpc__
20055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20056 $EGREP "yes" >/dev
/null
2>&1; then
20057 ac_cv_cpp_def___powerpc__
=yes
20059 ac_cv_cpp_def___powerpc__
=no
20064 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20065 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20066 if test $ac_cv_cpp_def___powerpc__ = yes; then
20067 CFLAGS
="$CFLAGS -D__powerpc__"
20068 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
20073 case $host_vendor in
20074 *sun
*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20075 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20076 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20079 cat >conftest.
$ac_ext <<_ACEOF
20082 cat confdefs.h
>>conftest.
$ac_ext
20083 cat >>conftest.
$ac_ext <<_ACEOF
20084 /* end confdefs.h. */
20089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20090 $EGREP "yes" >/dev
/null
2>&1; then
20091 ac_cv_cpp_def___sun__
=yes
20093 ac_cv_cpp_def___sun__
=no
20098 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20099 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20100 if test $ac_cv_cpp_def___sun__ = yes; then
20101 CFLAGS
="$CFLAGS -D__sun__"
20102 LINTFLAGS
="$LINTFLAGS -D__sun__"
20111 ac_config_commands
="$ac_config_commands dlls/ddraw/d3ddevice"
20113 ac_config_commands
="$ac_config_commands dlls/ddraw/dclipper"
20115 ac_config_commands
="$ac_config_commands dlls/ddraw/ddraw"
20117 ac_config_commands
="$ac_config_commands dlls/ddraw/direct3d"
20119 ac_config_commands
="$ac_config_commands dlls/ddraw/dpalette"
20121 ac_config_commands
="$ac_config_commands dlls/ddraw/dsurface"
20123 ac_config_commands
="$ac_config_commands dlls/gdi/enhmfdrv"
20125 ac_config_commands
="$ac_config_commands dlls/gdi/mfdrv"
20127 ac_config_commands
="$ac_config_commands dlls/kernel/messages"
20129 ac_config_commands
="$ac_config_commands dlls/user/dde"
20131 ac_config_commands
="$ac_config_commands dlls/user/resources"
20133 ac_config_commands
="$ac_config_commands dlls/wineps/data"
20135 ac_config_commands
="$ac_config_commands include/wine"
20137 ac_config_commands
="$ac_config_commands misc"
20139 ac_config_commands
="$ac_config_commands programs/regedit/tests"
20141 ac_config_commands
="$ac_config_commands windows"
20144 MAKE_RULES
=Make.rules
20147 MAKE_DLL_RULES
=dlls
/Makedll.rules
20150 MAKE_TEST_RULES
=dlls
/Maketest.rules
20153 MAKE_LIB_RULES
=libs
/Makelib.rules
20156 MAKE_PROG_RULES
=programs
/Makeprog.rules
20159 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/advpack/Makefile dlls/amstream/Makefile dlls/atl/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/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/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/hhctrl.ocx/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/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lzexpand/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mlang/Makefile dlls/mlang/tests/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/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/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/msvcrtd/tests/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/ole32/tests/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/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/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/strmiids/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 fonts/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/msiexec/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"
20162 cat >confcache
<<\_ACEOF
20163 # This file is a shell script that caches the results of configure
20164 # tests run on this system so they can be shared between configure
20165 # scripts and configure runs, see configure's option --config-cache.
20166 # It is not useful on other systems. If it contains results you don't
20167 # want to keep, you may remove or edit it.
20169 # config.status only pays attention to the cache file if you give it
20170 # the --recheck option to rerun configure.
20172 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20173 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20174 # following values.
20178 # The following way of writing the cache mishandles newlines in values,
20179 # but we know of no workaround that is simple, portable, and efficient.
20180 # So, don't put newlines in cache variables' values.
20181 # Ultrix sh set writes to stderr and can't be redirected directly,
20182 # and sets the high bit in the cache file unless we assign to the vars.
20185 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20187 # `set' does not quote correctly, so add quotes (double-quote
20188 # substitution turns \\\\ into \\, and sed turns \\ into \).
20191 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20194 # `set' quotes correctly as required by POSIX, so do not add quotes.
20196 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20203 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20205 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20207 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
20208 if test -w $cache_file; then
20209 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20210 cat confcache
>$cache_file
20212 echo "not updating unwritable cache $cache_file"
20217 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
20218 # Let make expand exec_prefix.
20219 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
20221 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20222 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20223 # trailing colons and then remove the whole line if VPATH becomes empty
20224 # (actually we leave an empty line to preserve line numbers).
20225 if test "x$srcdir" = x.
; then
20226 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
20227 s/:*\$(srcdir):*/:/;
20228 s/:*\${srcdir}:*/:/;
20230 s/^\([^=]*=[ ]*\):*/\1/;
20236 DEFS
=-DHAVE_CONFIG_H
20240 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
20241 # 1. Remove the extension, and $U if already installed.
20242 ac_i
=`echo "$ac_i" |
20243 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20245 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
20246 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
20248 LIBOBJS
=$ac_libobjs
20250 LTLIBOBJS
=$ac_ltlibobjs
20254 : ${CONFIG_STATUS=./config.status}
20255 ac_clean_files_save
=$ac_clean_files
20256 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
20257 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20258 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20259 cat >$CONFIG_STATUS <<_ACEOF
20261 # Generated by $as_me.
20262 # Run this file to recreate the current configuration.
20263 # Compiler output produced by configure, useful for debugging
20264 # configure, is in config.log if it exists.
20267 ac_cs_recheck=false
20269 SHELL=\${CONFIG_SHELL-$SHELL}
20272 cat >>$CONFIG_STATUS <<\_ACEOF
20273 ## --------------------- ##
20274 ## M4sh Initialization. ##
20275 ## --------------------- ##
20277 # Be Bourne compatible
20278 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20281 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20282 # is contrary to our usage. Disable this feature.
20283 alias -g '${1+"$@"}'='"$@"'
20284 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
20287 DUALCASE
=1; export DUALCASE
# for MKS sh
20289 # Support unset when possible.
20290 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
20297 # Work around bugs in pre-3.0 UWIN ksh.
20298 $as_unset ENV MAIL MAILPATH
20305 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20306 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20307 LC_TELEPHONE LC_TIME
20309 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20310 eval $as_var=C
; export $as_var
20316 # Required to use basename.
20317 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20323 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
20324 as_basename
=basename
20330 # Name of the executable.
20331 as_me
=`$as_basename "$0" ||
20332 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20333 X"$0" : 'X\(//\)$' \| \
20334 X"$0" : 'X\(/\)$' \| \
20335 . : '\(.\)' 2>/dev/null ||
20337 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20338 /^X\/\(\/\/\)$/{ s//\1/; q; }
20339 /^X\/\(\/\).*/{ s//\1/; q; }
20343 # PATH needs CR, and LINENO needs CR and PATH.
20344 # Avoid depending upon Character Ranges.
20345 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
20346 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20347 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
20348 as_cr_digits
='0123456789'
20349 as_cr_alnum
=$as_cr_Letters$as_cr_digits
20351 # The user is always right.
20352 if test "${PATH_SEPARATOR+set}" != set; then
20353 echo "#! /bin/sh" >conf$$.sh
20354 echo "exit 0" >>conf$$.sh
20356 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
20365 as_lineno_1
=$LINENO
20366 as_lineno_2
=$LINENO
20367 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
20368 test "x$as_lineno_1" != "x$as_lineno_2" &&
20369 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
20370 # Find who we are. Look in the path if we contain no path at all
20373 *[\\/]* ) as_myself
=$0 ;;
20374 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20375 for as_dir
in $PATH
20378 test -z "$as_dir" && as_dir
=.
20379 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
20384 # We did not find ourselves, most probably we were run as `sh COMMAND'
20385 # in which case we are not to be found in the path.
20386 if test "x$as_myself" = x
; then
20389 if test ! -f "$as_myself"; then
20390 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20391 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20392 { (exit 1); exit 1; }; }
20394 case $CONFIG_SHELL in
20396 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
20397 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
20400 test -z "$as_dir" && as_dir
=.
20401 for as_base
in sh bash ksh sh5
; do
20404 if ("$as_dir/$as_base" -c '
20405 as_lineno_1=$LINENO
20406 as_lineno_2=$LINENO
20407 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20408 test "x$as_lineno_1" != "x$as_lineno_2" &&
20409 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
20410 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
20411 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
20412 CONFIG_SHELL
=$as_dir/$as_base
20413 export CONFIG_SHELL
20414 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20422 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20423 # uniformly replaced by the line number. The first 'sed' inserts a
20424 # line-number line before each line; the second 'sed' does the real
20425 # work. The second script uses 'N' to pair each line-number line
20426 # with the numbered line, and appends trailing '-' during
20427 # substitution so that $LINENO is not a special case at line end.
20428 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20429 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20430 sed '=' <$as_myself |
20435 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20438 s,^['$as_cr_digits']*\n,,
20439 ' >$as_me.lineno
&&
20440 chmod +x
$as_me.lineno ||
20441 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20442 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20443 { (exit 1); exit 1; }; }
20445 # Don't try to exec as it changes $[0], causing all sort of problems
20446 # (the dirname of $[0] is not the place where we might find the
20447 # original and so on. Autoconf is especially sensible to this).
20449 # Exit status is that of the last command.
20454 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20455 *c
*,-n*) ECHO_N
= ECHO_C
='
20457 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
20458 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
20461 if expr a
: '\(a\)' >/dev
/null
2>&1; then
20467 rm -f conf$$ conf$$.exe conf$$.
file
20469 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
20470 # We could just check for DJGPP; but this test a) works b) is more generic
20471 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20472 if test -f conf$$.exe
; then
20473 # Don't use ln at all; we don't have any links
20478 elif ln conf$$.
file conf$$
2>/dev
/null
; then
20483 rm -f conf$$ conf$$.exe conf$$.
file
20485 if mkdir
-p .
2>/dev
/null
; then
20488 test -d .
/-p && rmdir .
/-p
20492 as_executable_p
="test -f"
20494 # Sed expression to map a string onto a valid CPP name.
20495 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20497 # Sed expression to map a string onto a valid variable name.
20498 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20502 # We need space, tab and new line, in precisely that order.
20512 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20513 # report actual input values of CONFIG_FILES etc. instead of their
20514 # values after options handling. Logging --version etc. is OK.
20518 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20519 ## Running $as_me. ##
20524 This file was extended by Wine $as_me 20040914, which was
20525 generated by GNU Autoconf 2.59. Invocation command line was
20527 CONFIG_FILES = $CONFIG_FILES
20528 CONFIG_HEADERS = $CONFIG_HEADERS
20529 CONFIG_LINKS = $CONFIG_LINKS
20530 CONFIG_COMMANDS = $CONFIG_COMMANDS
20534 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20538 # Files that config.status was made for.
20539 if test -n "$ac_config_files"; then
20540 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20543 if test -n "$ac_config_headers"; then
20544 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20547 if test -n "$ac_config_links"; then
20548 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20551 if test -n "$ac_config_commands"; then
20552 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20555 cat >>$CONFIG_STATUS <<\_ACEOF
20558 \`$as_me' instantiates files from templates according to the
20559 current configuration.
20561 Usage: $0 [OPTIONS] [FILE]...
20563 -h, --help print this help, then exit
20564 -V, --version print version number, then exit
20565 -q, --quiet do not print progress messages
20566 -d, --debug don't remove temporary files
20567 --recheck update $as_me by reconfiguring in the same conditions
20568 --file=FILE[:TEMPLATE]
20569 instantiate the configuration file FILE
20570 --header=FILE[:TEMPLATE]
20571 instantiate the configuration header FILE
20573 Configuration files:
20576 Configuration headers:
20579 Configuration commands:
20582 Report bugs to <bug-autoconf@gnu.org>."
20585 cat >>$CONFIG_STATUS <<_ACEOF
20587 Wine config.status 20040914
20588 configured by $0, generated by GNU Autoconf 2.59,
20589 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20591 Copyright (C) 2003 Free Software Foundation, Inc.
20592 This config.status script is free software; the Free Software Foundation
20593 gives unlimited permission to copy, distribute and modify it."
20598 cat >>$CONFIG_STATUS <<\_ACEOF
20599 # If no file are specified by the user, then we need to provide default
20600 # value. By we need to know if files were specified by the user.
20606 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
20607 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
20615 *) # This is not an option, so the user has probably given explicit
20618 ac_need_defaults
=false
;;
20622 # Handling of the options.
20624 cat >>$CONFIG_STATUS <<\_ACEOF
20625 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
20627 --version |
--vers* |
-V )
20628 echo "$ac_cs_version"; exit 0 ;;
20630 # Conflict between --help and --header
20631 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20632 Try \`$0 --help' for more information." >&5
20633 echo "$as_me: error: ambiguous option: $1
20634 Try \`$0 --help' for more information." >&2;}
20635 { (exit 1); exit 1; }; };;
20636 --help |
--hel |
-h )
20637 echo "$ac_cs_usage"; exit 0 ;;
20638 --debug |
--d* |
-d )
20640 --file |
--fil |
--fi |
--f )
20642 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
20643 ac_need_defaults
=false
;;
20644 --header |
--heade |
--head |
--hea )
20646 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
20647 ac_need_defaults
=false
;;
20648 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
20649 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
20652 # This is an error.
20653 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20654 Try \`$0 --help' for more information." >&5
20655 echo "$as_me: error: unrecognized option: $1
20656 Try \`$0 --help' for more information." >&2;}
20657 { (exit 1); exit 1; }; } ;;
20659 *) ac_config_targets
="$ac_config_targets $1" ;;
20665 ac_configure_extra_args
=
20667 if $ac_cs_silent; then
20669 ac_configure_extra_args
="$ac_configure_extra_args --silent"
20673 cat >>$CONFIG_STATUS <<_ACEOF
20674 if \$ac_cs_recheck; then
20675 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20676 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20685 cat >>$CONFIG_STATUS <<\_ACEOF
20686 for ac_config_target
in $ac_config_targets
20688 case "$ac_config_target" in
20689 # Handling of arguments.
20690 "Make.rules" ) CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
20691 "dlls/Makedll.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
20692 "dlls/Maketest.rules" ) CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
20693 "libs/Makelib.rules" ) CONFIG_FILES
="$CONFIG_FILES libs/Makelib.rules" ;;
20694 "programs/Makeprog.rules" ) CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
20695 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
20696 "dlls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
20697 "dlls/advapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20698 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20699 "dlls/advpack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
20700 "dlls/amstream/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
20701 "dlls/atl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
20702 "dlls/avicap32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20703 "dlls/avifil32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20704 "dlls/cabinet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20705 "dlls/capi2032/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20706 "dlls/cards/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
20707 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20708 "dlls/comcat/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
20709 "dlls/comctl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20710 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20711 "dlls/commdlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/commdlg/Makefile" ;;
20712 "dlls/crtdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20713 "dlls/crypt32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20714 "dlls/ctl3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
20715 "dlls/d3d8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20716 "dlls/d3d9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20717 "dlls/d3dim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20718 "dlls/d3drm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20719 "dlls/d3dx8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20720 "dlls/d3dxof/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20721 "dlls/dbghelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20722 "dlls/dciman32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20723 "dlls/ddraw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20724 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20725 "dlls/devenum/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
20726 "dlls/dinput/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
20727 "dlls/dinput8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20728 "dlls/dmband/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
20729 "dlls/dmcompos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20730 "dlls/dmime/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
20731 "dlls/dmloader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20732 "dlls/dmscript/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20733 "dlls/dmstyle/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20734 "dlls/dmsynth/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20735 "dlls/dmusic/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20736 "dlls/dmusic32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20737 "dlls/dplay/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
20738 "dlls/dplayx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20739 "dlls/dpnet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20740 "dlls/dpnhpast/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20741 "dlls/dsound/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
20742 "dlls/dsound/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20743 "dlls/dswave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
20744 "dlls/dxdiagn/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20745 "dlls/dxerr8/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20746 "dlls/dxerr9/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20747 "dlls/dxguid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20748 "dlls/gdi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/Makefile" ;;
20749 "dlls/gdi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20750 "dlls/glu32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
20751 "dlls/glut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/glut32/Makefile" ;;
20752 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20753 "dlls/iccvid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20754 "dlls/icmp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
20755 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20756 "dlls/imagehlp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20757 "dlls/imm32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
20758 "dlls/iphlpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20759 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20760 "dlls/itss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
20761 "dlls/kernel/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/Makefile" ;;
20762 "dlls/kernel/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20763 "dlls/lzexpand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
20764 "dlls/mapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20765 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20766 "dlls/mlang/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
20767 "dlls/mlang/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20768 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20769 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20770 "dlls/mpr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
20771 "dlls/msacm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/Makefile" ;;
20772 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
20773 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
20774 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
20775 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
20776 "dlls/msacm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
20777 "dlls/mscms/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
20778 "dlls/mscms/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20779 "dlls/msdmo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20780 "dlls/mshtml/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20781 "dlls/msi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
20782 "dlls/msimg32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20783 "dlls/msisys/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msisys/Makefile" ;;
20784 "dlls/msnet32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20785 "dlls/msrle32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20786 "dlls/msvcrt/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20787 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20788 "dlls/msvcrt20/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20789 "dlls/msvcrt40/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20790 "dlls/msvcrtd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20791 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20792 "dlls/msvidc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20793 "dlls/msvideo/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/msvideo/Makefile" ;;
20794 "dlls/mswsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20795 "dlls/netapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20796 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20797 "dlls/newdev/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
20798 "dlls/ntdll/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20799 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20800 "dlls/odbc32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20801 "dlls/ole32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
20802 "dlls/ole32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20803 "dlls/oleacc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20804 "dlls/oleaut32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20805 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20806 "dlls/olecli/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olecli/Makefile" ;;
20807 "dlls/oledlg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20808 "dlls/olepro32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20809 "dlls/olesvr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/olesvr/Makefile" ;;
20810 "dlls/opengl32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20811 "dlls/psapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
20812 "dlls/psapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20813 "dlls/qcap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
20814 "dlls/quartz/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
20815 "dlls/quartz/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20816 "dlls/rasapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20817 "dlls/richedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/richedit/Makefile" ;;
20818 "dlls/rpcrt4/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20819 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20820 "dlls/rsabase/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20821 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20822 "dlls/secur32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
20823 "dlls/serialui/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
20824 "dlls/setupapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20825 "dlls/shdocvw/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20826 "dlls/shell32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
20827 "dlls/shell32/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20828 "dlls/shfolder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20829 "dlls/shlwapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20830 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20831 "dlls/snmpapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20832 "dlls/sti/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
20833 "dlls/strmiids/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20834 "dlls/tapi32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20835 "dlls/ttydrv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
20836 "dlls/twain/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/twain/Makefile" ;;
20837 "dlls/unicows/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
20838 "dlls/url/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
20839 "dlls/urlmon/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20840 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20841 "dlls/user/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/Makefile" ;;
20842 "dlls/user/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20843 "dlls/uuid/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
20844 "dlls/uxtheme/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20845 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20846 "dlls/vdmdbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20847 "dlls/version/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
20848 "dlls/version/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20849 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20850 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20851 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20852 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20853 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20854 "dlls/win32s/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/win32s/Makefile" ;;
20855 "dlls/winaspi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winaspi/Makefile" ;;
20856 "dlls/wined3d/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20857 "dlls/winedos/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
20858 "dlls/wineps/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wineps/Makefile" ;;
20859 "dlls/wininet/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
20860 "dlls/wininet/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20861 "dlls/winmm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
20862 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20863 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
20864 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
20865 "dlls/winmm/mcicda/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mcicda/Makefile" ;;
20866 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
20867 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
20868 "dlls/winmm/midimap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/midimap/Makefile" ;;
20869 "dlls/winmm/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20870 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
20871 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20872 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20873 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20874 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20875 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20876 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20877 "dlls/winnls/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winnls/Makefile" ;;
20878 "dlls/winsock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/Makefile" ;;
20879 "dlls/winsock/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
20880 "dlls/winspool/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/Makefile" ;;
20881 "dlls/winspool/tests/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20882 "dlls/wintab32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20883 "dlls/wintrust/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20884 "dlls/wow32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
20885 "dlls/wsock32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20886 "dlls/x11drv/Makefile" ) CONFIG_FILES
="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20887 "documentation/Makefile" ) CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
20888 "fonts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
20889 "include/Makefile" ) CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
20890 "libs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
20891 "libs/port/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
20892 "libs/unicode/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/unicode/Makefile" ;;
20893 "libs/wine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
20894 "libs/wpp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
20895 "loader/Makefile" ) CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
20896 "programs/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
20897 "programs/avitools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/avitools/Makefile" ;;
20898 "programs/clock/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
20899 "programs/cmdlgtst/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20900 "programs/control/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
20901 "programs/expand/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
20902 "programs/msiexec/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
20903 "programs/notepad/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
20904 "programs/progman/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
20905 "programs/regedit/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
20906 "programs/regsvr32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20907 "programs/rpcss/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
20908 "programs/rundll32/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
20909 "programs/start/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
20910 "programs/taskmgr/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20911 "programs/uninstaller/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20912 "programs/view/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
20913 "programs/wcmd/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wcmd/Makefile" ;;
20914 "programs/wineboot/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
20915 "programs/winebrowser/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20916 "programs/winecfg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
20917 "programs/wineconsole/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20918 "programs/winedbg/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
20919 "programs/winefile/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
20920 "programs/winemenubuilder/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20921 "programs/winemine/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
20922 "programs/winepath/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
20923 "programs/winetest/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
20924 "programs/winevdm/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
20925 "programs/winhelp/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
20926 "programs/winver/Makefile" ) CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
20927 "server/Makefile" ) CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
20928 "tools/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
20929 "tools/widl/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
20930 "tools/winapi/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winapi/Makefile" ;;
20931 "tools/winebuild/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
20932 "tools/winedump/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
20933 "tools/winegcc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
20934 "tools/wmc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
20935 "tools/wrc/Makefile" ) CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
20936 "dlls/ddraw/d3ddevice" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/d3ddevice" ;;
20937 "dlls/ddraw/dclipper" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dclipper" ;;
20938 "dlls/ddraw/ddraw" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/ddraw" ;;
20939 "dlls/ddraw/direct3d" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/direct3d" ;;
20940 "dlls/ddraw/dpalette" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dpalette" ;;
20941 "dlls/ddraw/dsurface" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/ddraw/dsurface" ;;
20942 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20943 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20944 "dlls/kernel/messages" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20945 "dlls/user/dde" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/dde" ;;
20946 "dlls/user/resources" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user/resources" ;;
20947 "dlls/wineps/data" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps/data" ;;
20948 "include/wine" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
20949 "misc" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS misc" ;;
20950 "programs/regedit/tests" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS programs/regedit/tests" ;;
20951 "windows" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS windows" ;;
20952 "include/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
20953 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20954 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20955 { (exit 1); exit 1; }; };;
20959 # If the user did not use the arguments to specify the items to instantiate,
20960 # then the envvar interface is used. Set only those that are not.
20961 # We use the long form for the default assignment because of an extremely
20962 # bizarre bug on SunOS 4.1.3.
20963 if $ac_need_defaults; then
20964 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
20965 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
20966 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
20969 # Have a temporary directory for convenience. Make it in the build tree
20970 # simply because there is no reason to put it here, and in addition,
20971 # creating and moving files from /tmp can sometimes cause problems.
20972 # Create a temporary directory, and hook for its removal unless debugging.
20975 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20976 trap '{ (exit 1); exit 1; }' 1 2 13 15
20979 # Create a (secure) tmp directory for tmp files.
20982 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20983 test -n "$tmp" && test -d "$tmp"
20986 tmp
=.
/confstat$$
-$RANDOM
20987 (umask 077 && mkdir
$tmp)
20990 echo "$me: cannot create a temporary directory in ." >&2
20991 { (exit 1); exit 1; }
20996 cat >>$CONFIG_STATUS <<_ACEOF
20999 # CONFIG_FILES section.
21002 # No need to generate the scripts if there are no CONFIG_FILES.
21003 # This happens for instance when ./config.status config.h
21004 if test -n "\$CONFIG_FILES"; then
21005 # Protect against being on the right side of a sed subst in config.status.
21006 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21007 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21008 s,@SHELL@,$SHELL,;t t
21009 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21010 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21011 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21012 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21013 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21014 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21015 s,@exec_prefix@,$exec_prefix,;t t
21016 s,@prefix@,$prefix,;t t
21017 s,@program_transform_name@,$program_transform_name,;t t
21018 s,@bindir@,$bindir,;t t
21019 s,@sbindir@,$sbindir,;t t
21020 s,@libexecdir@,$libexecdir,;t t
21021 s,@datadir@,$datadir,;t t
21022 s,@sysconfdir@,$sysconfdir,;t t
21023 s,@sharedstatedir@,$sharedstatedir,;t t
21024 s,@localstatedir@,$localstatedir,;t t
21025 s,@libdir@,$libdir,;t t
21026 s,@includedir@,$includedir,;t t
21027 s,@oldincludedir@,$oldincludedir,;t t
21028 s,@infodir@,$infodir,;t t
21029 s,@mandir@,$mandir,;t t
21030 s,@build_alias@,$build_alias,;t t
21031 s,@host_alias@,$host_alias,;t t
21032 s,@target_alias@,$target_alias,;t t
21033 s,@DEFS@,$DEFS,;t t
21034 s,@ECHO_C@,$ECHO_C,;t t
21035 s,@ECHO_N@,$ECHO_N,;t t
21036 s,@ECHO_T@,$ECHO_T,;t t
21037 s,@LIBS@,$LIBS,;t t
21038 s,@WIN16_FILES@,$WIN16_FILES,;t t
21039 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21040 s,@build@,$build,;t t
21041 s,@build_cpu@,$build_cpu,;t t
21042 s,@build_vendor@,$build_vendor,;t t
21043 s,@build_os@,$build_os,;t t
21044 s,@host@,$host,;t t
21045 s,@host_cpu@,$host_cpu,;t t
21046 s,@host_vendor@,$host_vendor,;t t
21047 s,@host_os@,$host_os,;t t
21048 s,@SET_MAKE@,$SET_MAKE,;t t
21050 s,@CFLAGS@,$CFLAGS,;t t
21051 s,@LDFLAGS@,$LDFLAGS,;t t
21052 s,@CPPFLAGS@,$CPPFLAGS,;t t
21053 s,@ac_ct_CC@,$ac_ct_CC,;t t
21054 s,@EXEEXT@,$EXEEXT,;t t
21055 s,@OBJEXT@,$OBJEXT,;t t
21057 s,@CXXFLAGS@,$CXXFLAGS,;t t
21058 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21059 s,@CPPBIN@,$CPPBIN,;t t
21060 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21061 s,@TOOLSDIR@,$TOOLSDIR,;t t
21063 s,@X_CFLAGS@,$X_CFLAGS,;t t
21064 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21065 s,@X_LIBS@,$X_LIBS,;t t
21066 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21068 s,@LEXLIB@,$LEXLIB,;t t
21069 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21070 s,@XLEX@,$XLEX,;t t
21071 s,@BISON@,$BISON,;t t
21073 s,@ac_ct_AS@,$ac_ct_AS,;t t
21075 s,@ac_ct_LD@,$ac_ct_LD,;t t
21077 s,@ac_ct_AR@,$ac_ct_AR,;t t
21078 s,@RANLIB@,$RANLIB,;t t
21079 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21080 s,@STRIP@,$STRIP,;t t
21081 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21082 s,@WINDRES@,$WINDRES,;t t
21083 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21084 s,@LN_S@,$LN_S,;t t
21086 s,@EGREP@,$EGREP,;t t
21087 s,@LDCONFIG@,$LDCONFIG,;t t
21088 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21089 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21090 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21091 s,@LINT@,$LINT,;t t
21092 s,@LINTFLAGS@,$LINTFLAGS,;t t
21093 s,@DB2HTML@,$DB2HTML,;t t
21094 s,@DB2PDF@,$DB2PDF,;t t
21095 s,@DB2PS@,$DB2PS,;t t
21096 s,@DB2TXT@,$DB2TXT,;t t
21097 s,@FONTFORGE@,$FONTFORGE,;t t
21098 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21099 s,@XLIB@,$XLIB,;t t
21100 s,@XFILES@,$XFILES,;t t
21101 s,@OPENGLFILES@,$OPENGLFILES,;t t
21102 s,@GLU32FILES@,$GLU32FILES,;t t
21103 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21104 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21105 s,@GLUT32FILES@,$GLUT32FILES,;t t
21106 s,@NASLIBS@,$NASLIBS,;t t
21107 s,@CURSESLIBS@,$CURSESLIBS,;t t
21108 s,@sane_devel@,$sane_devel,;t t
21109 s,@SANELIBS@,$SANELIBS,;t t
21110 s,@SANEINCL@,$SANEINCL,;t t
21111 s,@ICULIBS@,$ICULIBS,;t t
21112 s,@ft_devel@,$ft_devel,;t t
21113 s,@ft_devel2@,$ft_devel2,;t t
21114 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21115 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21116 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21117 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21118 s,@ARTSLIBS@,$ARTSLIBS,;t t
21119 s,@ARTSINCL@,$ARTSINCL,;t t
21120 s,@ALSALIBS@,$ALSALIBS,;t t
21121 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21122 s,@CAPI4LINUXLIBS@,$CAPI4LINUXLIBS,;t t
21123 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21124 s,@DLLEXT@,$DLLEXT,;t t
21125 s,@DLLFLAGS@,$DLLFLAGS,;t t
21126 s,@DLLIBS@,$DLLIBS,;t t
21127 s,@LDSHARED@,$LDSHARED,;t t
21128 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21129 s,@LIBEXT@,$LIBEXT,;t t
21130 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21131 s,@DLLTOOL@,$DLLTOOL,;t t
21132 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21133 s,@DLLWRAP@,$DLLWRAP,;t t
21134 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21135 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21136 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
21137 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21138 s,@IOKITLIB@,$IOKITLIB,;t t
21139 s,@CROSSTEST@,$CROSSTEST,;t t
21140 s,@CROSSCC@,$CROSSCC,;t t
21141 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21142 s,@LDPATH@,$LDPATH,;t t
21143 s,@CRTLIBS@,$CRTLIBS,;t t
21144 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21145 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
21146 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21148 s,@ALLOCA@,$ALLOCA,;t t
21149 s,@LIBOBJS@,$LIBOBJS,;t t
21150 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21151 /@MAKE_RULES@/r $MAKE_RULES
21152 s,@MAKE_RULES@,,;t t
21153 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21154 s,@MAKE_DLL_RULES@,,;t t
21155 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21156 s,@MAKE_TEST_RULES@,,;t t
21157 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21158 s,@MAKE_LIB_RULES@,,;t t
21159 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21160 s,@MAKE_PROG_RULES@,,;t t
21165 cat >>$CONFIG_STATUS <<\_ACEOF
21166 # Split the substitutions into bite-sized pieces for seds with
21167 # small command number limits, like on Digital OSF/1 and HP-UX.
21168 ac_max_sed_lines
=48
21169 ac_sed_frag
=1 # Number of current file.
21170 ac_beg
=1 # First line for current file.
21171 ac_end
=$ac_max_sed_lines # Line after last line for current file.
21174 while $ac_more_lines; do
21175 if test $ac_beg -gt 1; then
21176 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21178 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
21180 if test ! -s $tmp/subs.frag
; then
21181 ac_more_lines
=false
21183 # The purpose of the label and of the branching condition is to
21184 # speed up the sed processing (if there are no `@' at all, there
21185 # is no need to browse any of the substitutions).
21186 # These are the two extra sed commands mentioned above.
21188 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
21189 if test -z "$ac_sed_cmds"; then
21190 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
21192 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21194 ac_sed_frag
=`expr $ac_sed_frag + 1`
21196 ac_end
=`expr $ac_end + $ac_max_sed_lines`
21199 if test -z "$ac_sed_cmds"; then
21202 fi # test -n "$CONFIG_FILES"
21205 cat >>$CONFIG_STATUS <<\_ACEOF
21206 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
21207 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21209 - |
*:- |
*:-:* ) # input from stdin
21211 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21212 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21213 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21214 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21215 * ) ac_file_in
=$ac_file.
in ;;
21218 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21219 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21220 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21221 X"$ac_file" : 'X\(//\)[^/]' \| \
21222 X"$ac_file" : 'X\(//\)$' \| \
21223 X"$ac_file" : 'X\(/\)' \| \
21224 . : '\(.\)' 2>/dev/null ||
21226 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21227 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21228 /^X\(\/\/\)$/{ s//\1/; q; }
21229 /^X\(\/\).*/{ s//\1/; q; }
21231 { if $as_mkdir_p; then
21236 while test ! -d "$as_dir"; do
21237 as_dirs
="$as_dir $as_dirs"
21238 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21239 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21240 X"$as_dir" : 'X\(//\)[^/]' \| \
21241 X"$as_dir" : 'X\(//\)$' \| \
21242 X"$as_dir" : 'X\(/\)' \| \
21243 . : '\(.\)' 2>/dev/null ||
21245 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21246 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21247 /^X\(\/\/\)$/{ s//\1/; q; }
21248 /^X\(\/\).*/{ s//\1/; q; }
21251 test ! -n "$as_dirs" || mkdir
$as_dirs
21252 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21253 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21254 { (exit 1); exit 1; }; }; }
21258 if test "$ac_dir" != .
; then
21259 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21260 # A "../" for each directory in $ac_dir_suffix.
21261 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21263 ac_dir_suffix
= ac_top_builddir
=
21267 .
) # No --srcdir option. We are building in place.
21269 if test -z "$ac_top_builddir"; then
21272 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21274 [\\/]* | ?
:[\\/]* ) # Absolute path.
21275 ac_srcdir
=$srcdir$ac_dir_suffix;
21276 ac_top_srcdir
=$srcdir ;;
21277 *) # Relative path.
21278 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21279 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21282 # Do not use `cd foo && pwd` to compute absolute paths, because
21283 # the directories may not exist.
21285 .
) ac_abs_builddir
="$ac_dir";;
21288 .
) ac_abs_builddir
=`pwd`;;
21289 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21290 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21293 case $ac_abs_builddir in
21294 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21296 case ${ac_top_builddir}.
in
21297 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21298 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21299 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21302 case $ac_abs_builddir in
21303 .
) ac_abs_srcdir
=$ac_srcdir;;
21306 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21307 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21308 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21311 case $ac_abs_builddir in
21312 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21314 case $ac_top_srcdir in
21315 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21316 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21317 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21323 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
21324 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
21327 # Let's still pretend it is `configure' which instantiates (i.e., don't
21328 # use $as_me), people would be surprised to read:
21329 # /* config.h. Generated by config.status. */
21330 if test x
"$ac_file" = x-
; then
21333 configure_input
="$ac_file. "
21335 configure_input
=$configure_input"Generated from `echo $ac_file_in |
21336 sed 's,.*/,,'` by configure."
21338 # First look for the input files in the build tree, otherwise in the
21340 ac_file_inputs
=`IFS=:
21341 for f in $ac_file_in; do
21343 -) echo $tmp/stdin ;;
21345 # Absolute (can't be DOS-style, as IFS=:)
21346 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21347 echo "$as_me: error: cannot find input file: $f" >&2;}
21348 { (exit 1); exit 1; }; }
21351 if test -f "$f"; then
21354 elif test -f "$srcdir/$f"; then
21359 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21360 echo "$as_me: error: cannot find input file: $f" >&2;}
21361 { (exit 1); exit 1; }; }
21364 done` ||
{ (exit 1); exit 1; }
21366 if test x
"$ac_file" != x-
; then
21367 { echo "$as_me:$LINENO: creating $ac_file" >&5
21368 echo "$as_me: creating $ac_file" >&6;}
21372 cat >>$CONFIG_STATUS <<_ACEOF
21376 cat >>$CONFIG_STATUS <<\_ACEOF
21378 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
21379 s
,@configure_input@
,$configure_input,;t t
21380 s
,@srcdir@
,$ac_srcdir,;t t
21381 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
21382 s
,@top_srcdir@
,$ac_top_srcdir,;t t
21383 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
21384 s
,@builddir@
,$ac_builddir,;t t
21385 s
,@abs_builddir@
,$ac_abs_builddir,;t t
21386 s
,@top_builddir@
,$ac_top_builddir,;t t
21387 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
21388 s
,@INSTALL@
,$ac_INSTALL,;t t
21389 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21391 if test x"$ac_file" != x-; then
21392 mv $tmp/out $ac_file
21400 cat >>$CONFIG_STATUS <<\_ACEOF
21403 # CONFIG_HEADER section.
21406 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
21407 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21409 # ac_d sets the value in "#define NAME VALUE" lines.
21410 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21411 ac_dB
='[ ].*$,\1#\2'
21414 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21415 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21416 ac_uB
='$,\1#\2define\3'
21420 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
21421 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21423 - |
*:- |
*:-:* ) # input from stdin
21425 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21426 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21427 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21428 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
21429 * ) ac_file_in
=$ac_file.
in ;;
21432 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
21433 echo "$as_me: creating $ac_file" >&6;}
21435 # First look for the input files in the build tree, otherwise in the
21437 ac_file_inputs
=`IFS=:
21438 for f in $ac_file_in; do
21440 -) echo $tmp/stdin ;;
21442 # Absolute (can't be DOS-style, as IFS=:)
21443 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21444 echo "$as_me: error: cannot find input file: $f" >&2;}
21445 { (exit 1); exit 1; }; }
21446 # Do quote $f, to prevent DOS paths from being IFS'd.
21449 if test -f "$f"; then
21452 elif test -f "$srcdir/$f"; then
21457 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21458 echo "$as_me: error: cannot find input file: $f" >&2;}
21459 { (exit 1); exit 1; }; }
21462 done` ||
{ (exit 1); exit 1; }
21463 # Remove the trailing spaces.
21464 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21468 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21469 # `conftest.undefs', that substitutes the proper values into
21470 # config.h.in to produce config.h. The first handles `#define'
21471 # templates, and the second `#undef' templates.
21472 # And first: Protect against being on the right side of a sed subst in
21473 # config.status. Protect against being in an unquoted here document
21474 # in config.status.
21475 rm -f conftest.defines conftest.undefs
21476 # Using a here document instead of a string reduces the quoting nightmare.
21477 # Putting comments in sed scripts is not portable.
21479 # `end' is used to avoid that the second main sed command (meant for
21480 # 0-ary CPP macros) applies to n-ary macro definitions.
21481 # See the Autoconf documentation for `clear'.
21482 cat >confdef2sed.
sed <<\_ACEOF
21487 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21489 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21492 # If some macros were called several times there might be several times
21493 # the same #defines, which is useless. Nevertheless, we may not want to
21494 # sort them, since we want the *last* AC-DEFINE to be honored.
21495 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21496 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21497 rm -f confdef2sed.sed
21499 # This sed command replaces #undef with comments. This is necessary, for
21500 # example, in the case of _POSIX_SOURCE, which is predefined and required
21501 # on some systems where configure will not decide to define it.
21502 cat >>conftest.undefs <<\_ACEOF
21503 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21506 # Break up conftest.defines because some shells have a limit on the size
21507 # of here documents, and old seds have small limits too (100 cmds).
21508 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21509 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21510 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21511 echo ' :' >>$CONFIG_STATUS
21512 rm -f conftest.tail
21513 while grep . conftest.defines >/dev/null
21515 # Write a limited-size here document to $tmp/defines.sed.
21516 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21517 # Speed up: don't consider the non `#define' lines.
21518 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21519 # Work around the forget-to-reset-the-flag bug.
21520 echo 't clr' >>$CONFIG_STATUS
21521 echo ': clr' >>$CONFIG_STATUS
21522 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
21524 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21526 mv $tmp/out $tmp/in
21528 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
21529 rm -f conftest.defines
21530 mv conftest.
tail conftest.defines
21532 rm -f conftest.defines
21533 echo ' fi # grep' >>$CONFIG_STATUS
21534 echo >>$CONFIG_STATUS
21536 # Break up conftest.undefs because some shells have a limit on the size
21537 # of here documents, and old seds have small limits too (100 cmds).
21538 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21539 rm -f conftest.
tail
21540 while grep . conftest.undefs
>/dev
/null
21542 # Write a limited-size here document to $tmp/undefs.sed.
21543 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21544 # Speed up: don't consider the non
`#undef'
21545 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21546 # Work around the forget-to-reset-the-flag bug.
21547 echo 't clr' >>$CONFIG_STATUS
21548 echo ': clr' >>$CONFIG_STATUS
21549 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21551 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21553 mv $tmp/out $tmp/in
21555 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21556 rm -f conftest.undefs
21557 mv conftest.tail conftest.undefs
21559 rm -f conftest.undefs
21561 cat >>$CONFIG_STATUS <<\_ACEOF
21562 # Let's still pretend it is `configure
' which instantiates (i.e., don't
21563 # use $as_me), people would be surprised to read:
21564 # /* config.h. Generated by config.status. */
21565 if test x
"$ac_file" = x-
; then
21566 echo "/* Generated by configure. */" >$tmp/config.h
21568 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21570 cat $tmp/in >>$tmp/config.h
21572 if test x
"$ac_file" != x-
; then
21573 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
21574 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21575 echo "$as_me: $ac_file is unchanged" >&6;}
21577 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
21578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21579 X"$ac_file" : 'X\(//\)[^/]' \| \
21580 X"$ac_file" : 'X\(//\)$' \| \
21581 X"$ac_file" : 'X\(/\)' \| \
21582 . : '\(.\)' 2>/dev/null ||
21584 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21585 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21586 /^X\(\/\/\)$/{ s//\1/; q; }
21587 /^X\(\/\).*/{ s//\1/; q; }
21589 { if $as_mkdir_p; then
21594 while test ! -d "$as_dir"; do
21595 as_dirs
="$as_dir $as_dirs"
21596 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21598 X"$as_dir" : 'X\(//\)[^/]' \| \
21599 X"$as_dir" : 'X\(//\)$' \| \
21600 X"$as_dir" : 'X\(/\)' \| \
21601 . : '\(.\)' 2>/dev/null ||
21603 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21604 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21605 /^X\(\/\/\)$/{ s//\1/; q; }
21606 /^X\(\/\).*/{ s//\1/; q; }
21609 test ! -n "$as_dirs" || mkdir
$as_dirs
21610 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21611 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21612 { (exit 1); exit 1; }; }; }
21615 mv $tmp/config.h
$ac_file
21619 rm -f $tmp/config.h
21623 cat >>$CONFIG_STATUS <<\_ACEOF
21626 # CONFIG_COMMANDS section.
21628 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
21629 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
21630 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
21631 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
21632 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21633 X"$ac_dest" : 'X\(//\)[^/]' \| \
21634 X"$ac_dest" : 'X\(//\)$' \| \
21635 X"$ac_dest" : 'X\(/\)' \| \
21636 . : '\(.\)' 2>/dev/null ||
21638 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21639 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21640 /^X\(\/\/\)$/{ s//\1/; q; }
21641 /^X\(\/\).*/{ s//\1/; q; }
21643 { if $as_mkdir_p; then
21648 while test ! -d "$as_dir"; do
21649 as_dirs
="$as_dir $as_dirs"
21650 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
21651 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21652 X"$as_dir" : 'X\(//\)[^/]' \| \
21653 X"$as_dir" : 'X\(//\)$' \| \
21654 X"$as_dir" : 'X\(/\)' \| \
21655 . : '\(.\)' 2>/dev/null ||
21657 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21658 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21659 /^X\(\/\/\)$/{ s//\1/; q; }
21660 /^X\(\/\).*/{ s//\1/; q; }
21663 test ! -n "$as_dirs" || mkdir
$as_dirs
21664 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21665 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21666 { (exit 1); exit 1; }; }; }
21670 if test "$ac_dir" != .
; then
21671 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21672 # A "../" for each directory in $ac_dir_suffix.
21673 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21675 ac_dir_suffix
= ac_top_builddir
=
21679 .
) # No --srcdir option. We are building in place.
21681 if test -z "$ac_top_builddir"; then
21684 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
21686 [\\/]* | ?
:[\\/]* ) # Absolute path.
21687 ac_srcdir
=$srcdir$ac_dir_suffix;
21688 ac_top_srcdir
=$srcdir ;;
21689 *) # Relative path.
21690 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
21691 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
21694 # Do not use `cd foo && pwd` to compute absolute paths, because
21695 # the directories may not exist.
21697 .
) ac_abs_builddir
="$ac_dir";;
21700 .
) ac_abs_builddir
=`pwd`;;
21701 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
21702 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
21705 case $ac_abs_builddir in
21706 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21708 case ${ac_top_builddir}.
in
21709 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
21710 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
21711 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
21714 case $ac_abs_builddir in
21715 .
) ac_abs_srcdir
=$ac_srcdir;;
21718 .
) ac_abs_srcdir
=$ac_abs_builddir;;
21719 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
21720 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
21723 case $ac_abs_builddir in
21724 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
21726 case $ac_top_srcdir in
21727 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
21728 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
21729 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
21734 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21735 echo "$as_me: executing $ac_dest commands" >&6;}
21737 dlls
/ddraw
/d3ddevice
) test -d "dlls/ddraw/d3ddevice" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/d3ddevice" >&5
21738 echo "$as_me: creating dlls/ddraw/d3ddevice" >&6;} && mkdir
"dlls/ddraw/d3ddevice") ;;
21739 dlls
/ddraw
/dclipper
) test -d "dlls/ddraw/dclipper" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dclipper" >&5
21740 echo "$as_me: creating dlls/ddraw/dclipper" >&6;} && mkdir
"dlls/ddraw/dclipper") ;;
21741 dlls
/ddraw
/ddraw
) test -d "dlls/ddraw/ddraw" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/ddraw" >&5
21742 echo "$as_me: creating dlls/ddraw/ddraw" >&6;} && mkdir
"dlls/ddraw/ddraw") ;;
21743 dlls
/ddraw
/direct3d
) test -d "dlls/ddraw/direct3d" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/direct3d" >&5
21744 echo "$as_me: creating dlls/ddraw/direct3d" >&6;} && mkdir
"dlls/ddraw/direct3d") ;;
21745 dlls
/ddraw
/dpalette
) test -d "dlls/ddraw/dpalette" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dpalette" >&5
21746 echo "$as_me: creating dlls/ddraw/dpalette" >&6;} && mkdir
"dlls/ddraw/dpalette") ;;
21747 dlls
/ddraw
/dsurface
) test -d "dlls/ddraw/dsurface" ||
({ echo "$as_me:$LINENO: creating dlls/ddraw/dsurface" >&5
21748 echo "$as_me: creating dlls/ddraw/dsurface" >&6;} && mkdir
"dlls/ddraw/dsurface") ;;
21749 dlls
/gdi
/enhmfdrv
) test -d "dlls/gdi/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21750 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir
"dlls/gdi/enhmfdrv") ;;
21751 dlls
/gdi
/mfdrv
) test -d "dlls/gdi/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21752 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir
"dlls/gdi/mfdrv") ;;
21753 dlls
/kernel
/messages
) test -d "dlls/kernel/messages" ||
({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21754 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir
"dlls/kernel/messages") ;;
21755 dlls
/user
/dde
) test -d "dlls/user/dde" ||
({ echo "$as_me:$LINENO: creating dlls/user/dde" >&5
21756 echo "$as_me: creating dlls/user/dde" >&6;} && mkdir
"dlls/user/dde") ;;
21757 dlls
/user
/resources
) test -d "dlls/user/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21758 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir
"dlls/user/resources") ;;
21759 dlls
/wineps
/data
) test -d "dlls/wineps/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21760 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir
"dlls/wineps/data") ;;
21761 include
/wine
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
21762 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
21763 misc
) test -d "misc" ||
({ echo "$as_me:$LINENO: creating misc" >&5
21764 echo "$as_me: creating misc" >&6;} && mkdir
"misc") ;;
21765 programs
/regedit
/tests
) test -d "programs/regedit/tests" ||
({ echo "$as_me:$LINENO: creating programs/regedit/tests" >&5
21766 echo "$as_me: creating programs/regedit/tests" >&6;} && mkdir
"programs/regedit/tests") ;;
21767 windows
) test -d "windows" ||
({ echo "$as_me:$LINENO: creating windows" >&5
21768 echo "$as_me: creating windows" >&6;} && mkdir
"windows") ;;
21773 cat >>$CONFIG_STATUS <<\_ACEOF
21775 { (exit 0); exit 0; }
21777 chmod +x
$CONFIG_STATUS
21778 ac_clean_files
=$ac_clean_files_save
21781 # configure is writing to config.log, and then calls config.status.
21782 # config.status does its own redirection, appending to config.log.
21783 # Unfortunately, on DOS this fails, as config.log is still kept open
21784 # by configure, so config.status won't be able to write to it; its
21785 # output is simply discarded. So we exec the FD to /dev/null,
21786 # effectively closing config.log, so it can be properly (re)opened and
21787 # appended to by config.status. When coming back to configure, we
21788 # need to make the FD available again.
21789 if test "$no_create" != yes; then
21791 ac_config_status_args
=
21792 test "$silent" = yes &&
21793 ac_config_status_args
="$ac_config_status_args --quiet"
21795 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
21797 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21798 # would make configure fail if this is the last instruction.
21799 $ac_cs_success ||
{ (exit 1); exit 1; }
21803 if test "$have_x" = "no"
21806 echo "*** Warning: X development files not found. Wine will be built without"
21807 echo "*** X support, which currently does not work, and would probably not be"
21808 echo "*** what you want anyway. You will need to install devel packages of"
21809 echo "*** Xlib/Xfree86 at the very least."
21812 if test "$wine_cv_opengl_version_OK" = "no"
21815 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21816 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21819 if test "$wine_cv_msg_freetype" = "yes"
21822 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21823 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21824 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21825 echo "*** enable Wine to use TrueType fonts."
21829 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."